Add comments about non-Linux use of bits/mman-linux.h.
[glibc.git] / ChangeLog
blob9db957d06ee9c04aed3950b92ee745d8bcbd154a
1 2014-03-18  Roland McGrath  <roland@hack.frob.com>
3         * bits/mman-linux.h: Add comment about non-Linux use.
4         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
5         bits/mman-linux.h resting place.
7         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
8         * bits/mman-linux.h: ... here.
10 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12         * conform/conformtest.pl: Add standard definition when calling C
13         preprocessor on data files.
14         (checknamespace): Remove unused variable.
16 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19         minus_oflow, plus_uflow and minus_uflow in expected results.
20         * math/libm-test.inc (scalbn_test_data): Add more tests of
21         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
22         minus_uflow.
23         (scalbn_test): Use ALL_RM_TEST.
24         (scalbln_test_data): Add more tests of negative arguments.  Use
25         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
26         (scalbln_test): Use ALL_RM_TEST.
28 2014-03-18  Roland McGrath  <roland@hack.frob.com>
30         * scripts/abilist.awk: Ignore symbols marked with .hidden.
32 2014-03-18  Will Newton  <will.newton@linaro.org>
34         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
35         inaccurate comment.
37 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39         * Makerules [!subdir] (check-abi): Exit with error status if a
40         test failed.
42 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
44         * math/libm-test.inc (nearbyint_test_data): Include all tests used
45         for rint.  Include results for all rounding modes.
46         (nearbyint_test): Use ALL_RM_TEST.
47         (rint_test_data): Include all tests used for nearbyint.
49 2014-03-17  Will Newton  <will.newton@linaro.org>
51         * nptl/sysdeps/pthread/pthread.h: Revert previous
52         change.
54         * sysdeps/generic/ldsodefs.h: Revert previous
55         change.
57         * libio/genops.c: Revert previous change.
58         * libio/libioP.h: Likewise.
59         * stdio-common/vfprintf.c: Likewise.
61         * sysdeps/generic/math_private.h: Revert previous
62         change.
64         * sysdeps/generic/math_private.h: Check whether
65         HAVE_RM_CTX is defined with #ifdef rather
66         than #if.
68         * argp/argp-fmtstream.h: Check whether
69         __STRICT_ANSI__ is defined with #ifdef rather
70         than #if.
71         * argp/argp.h: Likewise.
73         * libio/genops.c: Check whether
74         _IO_JUMPS_OFFSET is defined with #ifdef rather
75         than #if.
76         * libio/libioP.h: Likewise.
77         * stdio-common/vfprintf.c: Likewise.
79         * sysdeps/generic/ldsodefs.h: Check whether
80         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
81         than #if.
83         * nptl/sysdeps/pthread/pthread.h: Check
84         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
85         its value.
87 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
89         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
90         setting O_APPEND.
91         * libio/tst-ftell-active-handler.c (do_append_test): Add a
92         test case.
94         [BZ #16680]
95         * libio/fileops.c (_IO_file_open): Seek to end of file but
96         don't cache the offset.
97         (get_file_offset): Remove function.
98         (do_ftell): Use cached offset when available.
99         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
100         don't cache the offset.
101         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
102         case.
103         (do_one_test): Call it.
104         (do_ftell_test): Fix up expected old offset for a+ mode.
105         * libio/wfileops.c (do_ftell_wide): Used cached offset when
106         available.
108         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
109         up test status with function return status.
110         (do_write_test): Likewise.
111         (do_append_test): Likewise.
113         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
114         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
115         Remove.
117 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
119         * math/gen-libm-test.pl (parse_args): Handle results specified for
120         each rounding mode separately.
121         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
122         tests and results from lrint_tonearest_test_data,
123         lrint_towardzero_test_data, lrint_downward_test_data and
124         lrint_upward_test_data.
125         (lrint_test): Use ALL_RM_TEST.
126         (lrint_tonearest_test_data): Remove.
127         (lrint_test_tonearest): Likewise.
128         (lrint_towardzero_test_data): Likewise.
129         (lrint_test_towardzero): Likewise.
130         (lrint_downward_test_data): Likewise.
131         (lrint_test_downward): Likewise.
132         (lrint_upward_test_data): Likewise.
133         (lrint_test_upward): Likewise.
134         (llrint_test_data): Merge in per-rounding-mode tests and results
135         from llrint_tonearest_test_data, llrint_towardzero_test_data,
136         llrint_downward_test_data and llrint_upward_test_data.
137         (llrint_test): Use ALL_RM_TEST.
138         (llrint_tonearest_test_data): Remove.
139         (llrint_test_tonearest): Likewise.
140         (llrint_towardzero_test_data): Likewise.
141         (llrint_test_towardzero): Likewise.
142         (llrint_downward_test_data): Likewise.
143         (llrint_test_downward): Likewise.
144         (llrint_upward_test_data): Likewise.
145         (llrint_test_upward): Likewise.
146         (rint_test_data): Merge in per-rounding-mode tests and results
147         from rint_tonearest_test_data, rint_towardzero_test_data,
148         rint_downward_test_data and rint_upward_test_data.  Add
149         per-rounding-mode results for tests not in those arrays.
150         (rint_test): Use ALL_RM_TEST.
151         (rint_tonearest_test_data): Remove.
152         (rint_test_tonearest): Likewise.
153         (rint_towardzero_test_data): Likewise.
154         (rint_test_towardzero): Likewise.
155         (rint_downward_test_data): Likewise.
156         (rint_test_downward): Likewise.
157         (rint_upward_test_data): Likewise.
158         (rint_test_upward): Likewise.
159         (main): Don't call removed functions.
161 2014-03-14  Roland McGrath  <roland@hack.frob.com>
163         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
164         "Compiled on ..." crapola.  It is anti-useful.
166 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
168         * scripts/evaluate-test.sh: Handle fourth argument to determine
169         whether test run should stop on failure.
170         * Makeconfig (stop-on-test-failure): New variable.
171         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
172         $(stop-on-test-failure).
173         * Makefile (tests): Give a summary of results from testing and
174         exit with failure status if they include an ERROR or FAIL.
175         (xtests): Likewise.
176         * manual/install.texi (Configuring and compiling): Mention
177         stop-on-test-failure=y.
178         * INSTALL: Regenerated.
180 2014-03-14  Roland McGrath  <roland@hack.frob.com>
182         * scripts/versionlist.awk: New file.
183         * Makerules [$(build-shared) = yes]
184         (postclean-generated): Add Versions.def, not Versions.def.v and
185         Versions.def.v.i.
186         ($(common-objpfx)Versions.def.v.i): Target removed.
187         ($(common-objpfx)Versions.def): New target.
188         ($(common-objpfx)Versions.all): Depend on that rather that
189         $(common-objpfx)Versions.def.v.
190         * Versions.def: File removed.
192         * Makeconfig (+gccwarn): Add -Wundef.
193         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
194         a dl-sysdep.h breaking its contract.
195         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
196         * include/stackinfo.h: New file.
197         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
198         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
199         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
200         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
201         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
202         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
203         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
204         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
205         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
206         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
207         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
208         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
209         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
210         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
211         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
213 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
215         [BZ #16707]
216         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
217         implementation.
218         * math/libm-test.inc (round_test_data): Add more tests.
220 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
222         [BZ #16706]
223         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
224         implementation.
225         * math/libm-test.inc (nearbyint_test_data): Add more tests.
227 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
229         [BZ #16701]
230         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
231         implementation.
232         * math/libm-test.inc (ceil_test_data): Add more tests.
234 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
236         * math/libm-test.inc (trunc_test_data): Add more tests related to
237         BZ#16414.
239 2014-03-14  Roland McGrath  <roland@hack.frob.com>
241         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
242         with #if rather than #ifdef.
243         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
245 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
247         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
248         first.  Disable AVX-512 GCC support if assembler doesn't support
249         it.
250         * sysdeps/x86_64/configure: Regenerated.
252 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
254         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
255         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
256         (__old_pthread_attr_setstack): Likewise.
257         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
258         [!_STACK_GROWS_DOWN]: Likewise.
260 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
262         * config.make.in (have-bash2): Delete.
263         * configure.ac (libc_cv_have_bash2): Delete.
264         * configure: Regenerate.
265         * elf/Makefile (common-ldd-rewrite): Rename to ...
266         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
267         (sh-ldd-rewrite): Delete.
268         (bash-ldd-rewrite): Delete.
269         (have-bash2): Delete checks.
270         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
272 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
274         * config.make.in (have-ksh): Delete.
275         (KSH): Delete.
276         * configure.ac (libc_cv_have_ksh): Delete.
277         * configure: Regenerate.
279 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
281         * elf/Makefile: Delete $(have-ksh) check.
282         ($(objpfx)sotruss): Change KSH to BASH.
283         * elf/sotruss.ksh: Rename to ...
284         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
285         function style to match POSIX.  Drop ksh vim mode setting.
287 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
289         * manual/time.texi (Specifying the Time Zone with TZ): Change
290         Tuesday to Thursday.
292 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
294         * debug/tst-longjmp_chk2.c: Update header comment.
295         (stackoverflow_handler): Add comment.  Call assert on pass value.
297 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
299         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
300         (HAVE_AVX512_ASM_SUPPORT): Likewise.
301         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
302         (La_x86_64_vector): Add zmm.
303         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
304         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
305         ($(objpfx)tst-audit10): New target.
306         ($(objpfx)tst-audit10.out): Likewise.
307         (tst-audit10-ENV): New.
308         (AVX512-CFLAGS): Likewise.
309         (CFLAGS-tst-audit10.c): Likewise.
310         (CFLAGS-tst-auditmod10a.c): Likewise.
311         (CFLAGS-tst-auditmod10b.c): Likewise.
312         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
313         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
314         * sysdeps/x86_64/configure: Regenerated.
315         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
316         AVX-512 zmm register support.
317         (_dl_x86_64_save_sse): Likewise.
318         (_dl_x86_64_restore_sse): Likewise.
319         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
320         size vector registers.
321         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
322         (ZMM_SIZE): Likewise.
323         * sysdeps/x86_64/tst-audit10.c: New file.
324         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
325         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
327 2014-03-13  Roland McGrath  <roland@hack.frob.com>
329         * configure.ac (HAVE_EHDR_START): New check.
330         * configure: Regenerated.
331         * config.h.in (HAVE_EHDR_START): New #undef.
332         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
333         assuming the lowest-addressed segment maps the start of the file.
335 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
337         * INSTALL: Regenerated.
339 2014-03-13  Will Newton  <will.newton@linaro.org>
341         * manual/setjmp.texi (System V contexts): Improve
342         clarity and grammar of documentation.
344 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
346         [BZ #16381]
347         * elf/Makefile (tests): Add tst-pie2.
348         (tests-pie): Add tst-pie2.
349         * elf/tst-pie2.c: New file.
350         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
351         for ET_EXEC.
352         * elf/rtld.c (map_doit): Load executable as lt_executable.
353         (dl_main): Likewise.
355 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
357         [BZ #16642]
358         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
359         (__ASSUME_PSELECT): Undefine.
361 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
363         [BZ #16689]
364         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
365         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
366         static build.
367         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
368         selector for static builds.
370 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
372         [BZ #16695]
373         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
374         key in the buffer.
376 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
378         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
379         selector for static builds.
381 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
383         * sysdeps/mips/math_private.h [__mips_hard_float]
384         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
385         libc_feresetround_mips_ctx.
386         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
387         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
388         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
390         [BZ #16677]
391         * math/s_nextafter.c (__nextafter): Do not return value from
392         overflowing computation.
393         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
394         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
395         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
396         Likewise.
397         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
398         Likewise.
399         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
400         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
402 2014-03-11  Roland McGrath  <roland@hack.frob.com>
404         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
405         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
406         Move sfi_sp use from the load-multiple (that no longer sets sp) to
407         the new mov targetting sp.
409 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
411         [BZ #16683]
412         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
413         Define it for static builds as well.
414         (NO_BZERO_IMPL): Likewise.
416 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
418         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
419         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
420         multiarch strspn for PPC64.
421         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
422         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
424         (__libc_ifunc_impl_list): Likewise.
425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
426         multiarch optimizations
427         * string/strspn.c (strspn): Using macro to redefine symbol name.
429 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
430             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
432         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
433         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
434         multiarch strncat for PPC64.
435         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
436         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
438         (__libc_ifunc_impl_list): Likewise.
439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
440         multiarch optimizations
442 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
444         [BZ #16639]
445         * nscd/nscd.service: Make service type forking.
447 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
449         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
450         sign in non default rounding modes.
451         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
453 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
455         * math/libm-test.inc (ALL_RM_TEST): New macro.
456         (ceil_test): Use ALL_RM_TEST.
457         (cimag_test): Likewise.
458         (conj_test): Likewise.
459         (copysign_test): Likewise.
460         (cproj_test): Likewise.
461         (creal_test): Likewise.
462         (fabs_test): Likewise.
463         (floor_test): Likewise.
464         (fmax_test): Likewise.
465         (fmin_test): Likewise.
466         (fmod_test): Likewise.
467         (fpclassify_test): Likewise.
468         (frexp_test): Likewise.
469         (ilogb_test): Likewise.
470         (isfinite_test): Likewise.
471         (finite_test): Likewise.
472         (isgreater_test): Likewise.
473         (isgreaterequal_test): Likewise.
474         (isinf_test): Likewise.
475         (isless_test): Likewise.
476         (islessequal_test): Likewise.
477         (islessgreater_test): Likewise.
478         (isnan_test): Likewise.
479         (isnormal_test): Likewise.
480         (issignaling_test): Likewise.
481         (isunordered_test): Likewise.
482         (logb_test): Likewise.
483         (logb_downward_test_data): Remove.
484         (logb_test_downward): Likewise.
485         (lround_test): Use ALL_RM_TEST.
486         (llround_test): Likewise.
487         (modf_test): Likewise.
488         (nexttoward_test): Likewise.
489         (remainder_test): Likewise.
490         (drem_test): Likewise.
491         (remainder_tonearest_test_data): Likewise.
492         (remainder_test_tonearest): Likewise.
493         (drem_test_tonearest): Likewise.
494         (remainder_towardzero_test_data): Likewise.
495         (remainder_test_towardzero): Likewise.
496         (drem_test_towardzero): Likewise.
497         (remainder_downward_test_data): Likewise.
498         (remainder_test_downward): Likewise.
499         (drem_test_downward): Likewise.
500         (remainder_upward_test_data): Likewise.
501         (remainder_test_upward): Likewise.
502         (drem_test_upward): Likewise.
503         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
504         (round_test): Use ALL_RM_TEST.
505         (signbit_test): Likewise.
506         (trunc_test): Likewise.
507         (significand_test): Likewise.
508         (main): Don't call removed functions.
510 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
512         [BZ #16674]
513         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
514         || __USE_XOPEN2K8].
515         (ILL_ILLOPN): Likewise.
516         (ILL_ILLADR): Likewise.
517         (ILL_ILLTRP): Likewise.
518         (ILL_PRVOPC): Likewise.
519         (ILL_PRVREG): Likewise.
520         (ILL_COPROC): Likewise.
521         (ILL_BADSTK): Likewise.
522         (FPE_INTDIV): Likewise.
523         (FPE_INTOVF): Likewise.
524         (FPE_FLTDIV): Likewise.
525         (FPE_FLTOVF): Likewise.
526         (FPE_FLTUND): Likewise.
527         (FPE_FLTRES): Likewise.
528         (FPE_FLTINV): Likewise.
529         (FPE_FLTSUB): Likewise.
530         (SEGV_MAPERR): Likewise.
531         (SEGV_ACCERR): Likewise.
532         (BUS_ADRALN): Likewise.
533         (BUS_ADRERR): Likewise.
534         (BUS_OBJERR): Likewise.
535         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
536         (TRAP_TRACE): Likewise.
537         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
538         __USE_XOPEN2K8].
539         (CLD_KILLED): Likewise.
540         (CLD_DUMPED): Likewise.
541         (CLD_TRAPPED): Likewise.
542         (CLD_STOPPED): Likewise.
543         (CLD_CONTINUED): Likewise.
544         (POLL_IN): Likewise.
545         (POLL_OUT): Likewise.
546         (POLL_MSG): Likewise.
547         (POLL_ERR): Likewise.
548         (POLL_PRI): Likewise.
549         (POLL_HUP): Likewise.
550         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
551         Likewise.
552         (ILL_ILLOPN): Likewise.
553         (ILL_ILLADR): Likewise.
554         (ILL_ILLTRP): Likewise.
555         (ILL_PRVOPC): Likewise.
556         (ILL_PRVREG): Likewise.
557         (ILL_COPROC): Likewise.
558         (ILL_BADSTK): Likewise.
559         (FPE_INTDIV): Likewise.
560         (FPE_INTOVF): Likewise.
561         (FPE_FLTDIV): Likewise.
562         (FPE_FLTOVF): Likewise.
563         (FPE_FLTUND): Likewise.
564         (FPE_FLTRES): Likewise.
565         (FPE_FLTINV): Likewise.
566         (FPE_FLTSUB): Likewise.
567         (SEGV_MAPERR): Likewise.
568         (SEGV_ACCERR): Likewise.
569         (BUS_ADRALN): Likewise.
570         (BUS_ADRERR): Likewise.
571         (BUS_OBJERR): Likewise.
572         (BUS_MCEERR_AR): Likewise.
573         (BUS_MCEERR_AO): Likewise.
574         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
575         (TRAP_TRACE): Likewise.
576         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
577         __USE_XOPEN2K8].
578         (CLD_KILLED): Likewise.
579         (CLD_DUMPED): Likewise.
580         (CLD_TRAPPED): Likewise.
581         (CLD_STOPPED): Likewise.
582         (CLD_CONTINUED): Likewise.
583         (POLL_IN): Likewise.
584         (POLL_OUT): Likewise.
585         (POLL_MSG): Likewise.
586         (POLL_ERR): Likewise.
587         (POLL_PRI): Likewise.
588         (POLL_HUP): Likewise.
589         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
590         (ILL_ILLOPN): Likewise.
591         (ILL_ILLADR): Likewise.
592         (ILL_ILLTRP): Likewise.
593         (ILL_PRVOPC): Likewise.
594         (ILL_PRVREG): Likewise.
595         (ILL_COPROC): Likewise.
596         (ILL_BADSTK): Likewise.
597         (FPE_INTDIV): Likewise.
598         (FPE_INTOVF): Likewise.
599         (FPE_FLTDIV): Likewise.
600         (FPE_FLTOVF): Likewise.
601         (FPE_FLTUND): Likewise.
602         (FPE_FLTRES): Likewise.
603         (FPE_FLTINV): Likewise.
604         (FPE_FLTSUB): Likewise.
605         (SEGV_MAPERR): Likewise.
606         (SEGV_ACCERR): Likewise.
607         (BUS_ADRALN): Likewise.
608         (BUS_ADRERR): Likewise.
609         (BUS_OBJERR): Likewise.
610         (BUS_MCEERR_AR): Likewise.
611         (BUS_MCEERR_AO): Likewise.
612         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
613         (TRAP_TRACE): Likewise.
614         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
615         __USE_XOPEN2K8].
616         (CLD_KILLED): Likewise.
617         (CLD_DUMPED): Likewise.
618         (CLD_TRAPPED): Likewise.
619         (CLD_STOPPED): Likewise.
620         (CLD_CONTINUED): Likewise.
621         (POLL_IN): Likewise.
622         (POLL_OUT): Likewise.
623         (POLL_MSG): Likewise.
624         (POLL_ERR): Likewise.
625         (POLL_PRI): Likewise.
626         (POLL_HUP): Likewise.
627         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
628         Likewise.
629         (ILL_ILLOPN): Likewise.
630         (ILL_ILLADR): Likewise.
631         (ILL_ILLTRP): Likewise.
632         (ILL_PRVOPC): Likewise.
633         (ILL_PRVREG): Likewise.
634         (ILL_COPROC): Likewise.
635         (ILL_BADSTK): Likewise.
636         (ILL_BADIADDR): Likewise.
637         (ILL_BREAK): Likewise.
638         (FPE_INTDIV): Likewise.
639         (FPE_INTOVF): Likewise.
640         (FPE_FLTDIV): Likewise.
641         (FPE_FLTOVF): Likewise.
642         (FPE_FLTUND): Likewise.
643         (FPE_FLTRES): Likewise.
644         (FPE_FLTINV): Likewise.
645         (FPE_FLTSUB): Likewise.
646         (FPE_DECOVF): Likewise.
647         (FPE_DECDIV): Likewise.
648         (FPE_DECERR): Likewise.
649         (FPE_INVASC): Likewise.
650         (FPE_INVDEC): Likewise.
651         (SEGV_MAPERR): Likewise.
652         (SEGV_ACCERR): Likewise.
653         (SEGV_PSTKOVF): Likewise.
654         (BUS_ADRALN): Likewise.
655         (BUS_ADRERR): Likewise.
656         (BUS_OBJERR): Likewise.
657         (BUS_MCEERR_AR): Likewise.
658         (BUS_MCEERR_AO): Likewise.
659         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
660         (TRAP_TRACE): Likewise.
661         (TRAP_BRANCH): Likewise.
662         (TRAP_HWBKPT): Likewise.
663         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
664         __USE_XOPEN2K8].
665         (CLD_KILLED): Likewise.
666         (CLD_DUMPED): Likewise.
667         (CLD_TRAPPED): Likewise.
668         (CLD_STOPPED): Likewise.
669         (CLD_CONTINUED): Likewise.
670         (POLL_IN): Likewise.
671         (POLL_OUT): Likewise.
672         (POLL_MSG): Likewise.
673         (POLL_ERR): Likewise.
674         (POLL_PRI): Likewise.
675         (POLL_HUP): Likewise.
676         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
677         (ILL_ILLOPN): Likewise.
678         (ILL_ILLADR): Likewise.
679         (ILL_ILLTRP): Likewise.
680         (ILL_PRVOPC): Likewise.
681         (ILL_PRVREG): Likewise.
682         (ILL_COPROC): Likewise.
683         (ILL_BADSTK): Likewise.
684         (FPE_INTDIV): Likewise.
685         (FPE_INTOVF): Likewise.
686         (FPE_FLTDIV): Likewise.
687         (FPE_FLTOVF): Likewise.
688         (FPE_FLTUND): Likewise.
689         (FPE_FLTRES): Likewise.
690         (FPE_FLTINV): Likewise.
691         (FPE_FLTSUB): Likewise.
692         (SEGV_MAPERR): Likewise.
693         (SEGV_ACCERR): Likewise.
694         (BUS_ADRALN): Likewise.
695         (BUS_ADRERR): Likewise.
696         (BUS_OBJERR): Likewise.
697         (BUS_MCEERR_AR): Likewise.
698         (BUS_MCEERR_AO): Likewise.
699         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
700         (TRAP_TRACE): Likewise.
701         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
702         __USE_XOPEN2K8].
703         (CLD_KILLED): Likewise.
704         (CLD_DUMPED): Likewise.
705         (CLD_TRAPPED): Likewise.
706         (CLD_STOPPED): Likewise.
707         (CLD_CONTINUED): Likewise.
708         (POLL_IN): Likewise.
709         (POLL_OUT): Likewise.
710         (POLL_MSG): Likewise.
711         (POLL_ERR): Likewise.
712         (POLL_PRI): Likewise.
713         (POLL_HUP): Likewise.
714         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
715         (ILL_ILLOPN): Likewise.
716         (ILL_ILLADR): Likewise.
717         (ILL_ILLTRP): Likewise.
718         (ILL_PRVOPC): Likewise.
719         (ILL_PRVREG): Likewise.
720         (ILL_COPROC): Likewise.
721         (ILL_BADSTK): Likewise.
722         (FPE_INTDIV): Likewise.
723         (FPE_INTOVF): Likewise.
724         (FPE_FLTDIV): Likewise.
725         (FPE_FLTOVF): Likewise.
726         (FPE_FLTUND): Likewise.
727         (FPE_FLTRES): Likewise.
728         (FPE_FLTINV): Likewise.
729         (FPE_FLTSUB): Likewise.
730         (SEGV_MAPERR): Likewise.
731         (SEGV_ACCERR): Likewise.
732         (BUS_ADRALN): Likewise.
733         (BUS_ADRERR): Likewise.
734         (BUS_OBJERR): Likewise.
735         (BUS_MCEERR_AR): Likewise.
736         (BUS_MCEERR_AO): Likewise.
737         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
738         (TRAP_TRACE): Likewise.
739         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
740         __USE_XOPEN2K8].
741         (CLD_KILLED): Likewise.
742         (CLD_DUMPED): Likewise.
743         (CLD_TRAPPED): Likewise.
744         (CLD_STOPPED): Likewise.
745         (CLD_CONTINUED): Likewise.
746         (POLL_IN): Likewise.
747         (POLL_OUT): Likewise.
748         (POLL_MSG): Likewise.
749         (POLL_ERR): Likewise.
750         (POLL_PRI): Likewise.
751         (POLL_HUP): Likewise.
752         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
753         (ILL_ILLOPN): Likewise.
754         (ILL_ILLADR): Likewise.
755         (ILL_ILLTRP): Likewise.
756         (ILL_PRVOPC): Likewise.
757         (ILL_PRVREG): Likewise.
758         (ILL_COPROC): Likewise.
759         (ILL_BADSTK): Likewise.
760         (FPE_INTDIV): Likewise.
761         (FPE_INTOVF): Likewise.
762         (FPE_FLTDIV): Likewise.
763         (FPE_FLTOVF): Likewise.
764         (FPE_FLTUND): Likewise.
765         (FPE_FLTRES): Likewise.
766         (FPE_FLTINV): Likewise.
767         (FPE_FLTSUB): Likewise.
768         (SEGV_MAPERR): Likewise.
769         (SEGV_ACCERR): Likewise.
770         (BUS_ADRALN): Likewise.
771         (BUS_ADRERR): Likewise.
772         (BUS_OBJERR): Likewise.
773         (BUS_MCEERR_AR): Likewise.
774         (BUS_MCEERR_AO): Likewise.
775         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
776         (TRAP_TRACE): Likewise.
777         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
778         __USE_XOPEN2K8].
779         (CLD_KILLED): Likewise.
780         (CLD_DUMPED): Likewise.
781         (CLD_TRAPPED): Likewise.
782         (CLD_STOPPED): Likewise.
783         (CLD_CONTINUED): Likewise.
784         (POLL_IN): Likewise.
785         (POLL_OUT): Likewise.
786         (POLL_MSG): Likewise.
787         (POLL_ERR): Likewise.
788         (POLL_PRI): Likewise.
789         (POLL_HUP): Likewise.
790         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
791         (ILL_ILLOPN): Likewise.
792         (ILL_ILLADR): Likewise.
793         (ILL_ILLTRP): Likewise.
794         (ILL_PRVOPC): Likewise.
795         (ILL_PRVREG): Likewise.
796         (ILL_COPROC): Likewise.
797         (ILL_BADSTK): Likewise.
798         (ILL_DBLFLT): Likewise.
799         (ILL_HARDWALL): Likewise.
800         (FPE_INTDIV): Likewise.
801         (FPE_INTOVF): Likewise.
802         (FPE_FLTDIV): Likewise.
803         (FPE_FLTOVF): Likewise.
804         (FPE_FLTUND): Likewise.
805         (FPE_FLTRES): Likewise.
806         (FPE_FLTINV): Likewise.
807         (FPE_FLTSUB): Likewise.
808         (SEGV_MAPERR): Likewise.
809         (SEGV_ACCERR): Likewise.
810         (BUS_ADRALN): Likewise.
811         (BUS_ADRERR): Likewise.
812         (BUS_OBJERR): Likewise.
813         (BUS_MCEERR_AR): Likewise.
814         (BUS_MCEERR_AO): Likewise.
815         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
816         (TRAP_TRACE): Likewise.
817         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
818         __USE_XOPEN2K8].
819         (CLD_KILLED): Likewise.
820         (CLD_DUMPED): Likewise.
821         (CLD_TRAPPED): Likewise.
822         (CLD_STOPPED): Likewise.
823         (CLD_CONTINUED): Likewise.
824         (POLL_IN): Likewise.
825         (POLL_OUT): Likewise.
826         (POLL_MSG): Likewise.
827         (POLL_ERR): Likewise.
828         (POLL_PRI): Likewise.
829         (POLL_HUP): Likewise.
830         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
831         (ILL_ILLOPN): Likewise.
832         (ILL_ILLADR): Likewise.
833         (ILL_ILLTRP): Likewise.
834         (ILL_PRVOPC): Likewise.
835         (ILL_PRVREG): Likewise.
836         (ILL_COPROC): Likewise.
837         (ILL_BADSTK): Likewise.
838         (FPE_INTDIV): Likewise.
839         (FPE_INTOVF): Likewise.
840         (FPE_FLTDIV): Likewise.
841         (FPE_FLTOVF): Likewise.
842         (FPE_FLTUND): Likewise.
843         (FPE_FLTRES): Likewise.
844         (FPE_FLTINV): Likewise.
845         (FPE_FLTSUB): Likewise.
846         (SEGV_MAPERR): Likewise.
847         (SEGV_ACCERR): Likewise.
848         (BUS_ADRALN): Likewise.
849         (BUS_ADRERR): Likewise.
850         (BUS_OBJERR): Likewise.
851         (BUS_MCEERR_AR): Likewise.
852         (BUS_MCEERR_AO): Likewise.
853         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
854         (TRAP_TRACE): Likewise.
855         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
856         __USE_XOPEN2K8].
857         (CLD_KILLED): Likewise.
858         (CLD_DUMPED): Likewise.
859         (CLD_TRAPPED): Likewise.
860         (CLD_STOPPED): Likewise.
861         (CLD_CONTINUED): Likewise.
862         (POLL_IN): Likewise.
863         (POLL_OUT): Likewise.
864         (POLL_MSG): Likewise.
865         (POLL_ERR): Likewise.
866         (POLL_PRI): Likewise.
867         (POLL_HUP): Likewise.
868         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
869         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
871         [BZ #16670]
872         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
873         before #include of <time.h>.
874         [!__USE_XOPEN2K] (__need_timespec): Likewise.
875         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
876         (test-xfail-UNIX98/sched.h/conform): Likewise.
878 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
880         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
881         error absence of trapping exception support.
882         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
884 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
886         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
887         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
888         * timezone/Makefile (testdata): Move definition above include of
889         Rules.
890         (test-zones): New variable.
891         (tests-special): Add zone files.
892         (build-testdata): Use $(evaluate-test).
894         * elf/Makefile (tests-special): Rename tests to end with .out.
895         ($(objpfx)noload-mem): Likewise.
896         ($(objpfx)tst-leaks1-mem): Likewise.
897         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
898         * iconv/Makefile (xtests-special): Change test-iconvconfig to
899         $(objpfx)test-iconvconfig.out.
900         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
901         set -e inside subshell and redirect output to file.
902         * iconvdata/Makefile (generated): Rename tests to end with .out.
903         Correct type.
904         (tests-special): Rename tests to end with .out.
905         ($(objpfx)mtrace-tst-loading): Likewise.
906         * intl/Makefile (generated): Likewise.
907         (tests-special): Likewise.
908         ($(objpfx)mtrace-tst-gettext): Likewise.
909         * misc/Makefile (generated): Likewise.
910         (tests-special): Likewise.
911         ($(objpfx)tst-error1-mem): Likewise.
912         * nptl/Makefile (tests-special): Likewise.
913         ($(objpfx)tst-stack3-mem): Likewise.
914         (generated): Likewise.
915         * posix/Makefile (generated): Likewise.
916         (tests-special): Likewise.
917         (xtests-special): Likewise.
918         ($(objpfx)tst-fnmatch-mem): Likewise.
919         ($(objpfx)bug-regex2-mem): Likewise.
920         ($(objpfx)bug-regex14-mem): Likewise.
921         ($(objpfx)bug-regex21-mem): Likewise.
922         ($(objpfx)bug-regex31-mem): Likewise.
923         ($(objpfx)tst-vfork3-mem): Likewise.
924         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
925         ($(objpfx)tst-pcre-mem): Likewise.
926         ($(objpfx)tst-boost-mem): Likewise.
927         ($(objpfx)bug-ga2-mem): Likewise.
928         ($(objpfx)bug-glob2-mem): Likewise.
929         * resolv/Makefile (generate): Likewise.
930         (tests-special): Likewise.
931         (xtests-special): Likewise.
932         (generated): Likewise.
933         ($(objpfx)mtrace-tst-leaks): Likewise.
934         ($(objpfx)mtrace-tst-leaks2): Likewise.
936         * scripts/merge-test-results.sh: New file.
937         * Makefile (tests-special-notdir): New variable.
938         (tests): Run merge-test-results.sh.
939         (xtests): Likewise.
940         * Rules (tests-special-notdir): New variable.
941         (xtests-special-notdir): Likewise.
942         (tests): Run merge-test-results.sh
943         (xtests): Likewise.
945         * Makeconfig (test-xfail-name): New variable.
946         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
947         compute variable name for expected failures.
948         * conform/Makefile (conformtest-headers-data): New variable.
949         (conformtest-standards): Likewise.
950         (conformtest-headers-ISO): Likewise.
951         (conformtest-headers-ISO99): Likewise.
952         (conformtest-headers-ISO11): Likewise.
953         (conformtest-headers-POSIX): Likewise.
954         (conformtest-headers-XPG3): Likewise.
955         (conformtest-headers-XPG4): Likewise.
956         (conformtest-headers-UNIX98): Likewise.
957         (conformtest-headers-XOPEN2K): Likewise.
958         (conformtest-headers-POSIX2008): Likewise.
959         (conformtest-headers-XOPEN2K8): Likewise.
960         (conformtest-header-list-base): Likewise.
961         (conformtest-header-list-tests): Likewise.
962         (conformtest-header-base): Likewise.
963         (conformtest-header-tests): Likewise.
964         (tests-special): Add $(conformtest-header-list-tests).  If
965         [$(fast-check) && !$(cross-compiling)], add
966         $(conformtest-header-tests) instead of
967         $(objpfx)run-conformtest.out.
968         (generated): Add $(conformtest-header-list-base).  If
969         [$(fast-check) && !$(cross-compiling)], add
970         $(conformtest-header-base).  Remove previous setting.
971         ($(conformtest-header-list-tests)): New target.
972         (test-xfail-run-conformtest): Remove variable.
973         ($(objpfx)run-conformtest.out): Remove target.
974         (test-xfail-ISO11/complex.h/conform): New variable.
975         (test-xfail-ISO11/stdalign.h/conform): Likewise.
976         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
977         (test-xfail-XPG3/varargs.h/conform): Likewise.
978         (test-xfail-XPG4/varargs.h/conform): Likewise.
979         (test-xfail-UNIX98/varargs.h/conform): Likewise.
980         (test-xfail-XPG4/ndbm.h/conform): Likewise.
981         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
982         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
983         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
984         (test-xfail-XPG3/fcntl.h/conform): Likewise.
985         (test-xfail-XPG3/ftw.h/conform): Likewise.
986         (test-xfail-XPG3/grp.h/conform): Likewise.
987         (test-xfail-XPG3/langinfo.h/conform): Likewise.
988         (test-xfail-XPG3/limits.h/conform): Likewise.
989         (test-xfail-XPG3/pwd.h/conform): Likewise.
990         (test-xfail-XPG3/search.h/conform): Likewise.
991         (test-xfail-XPG3/signal.h/conform): Likewise.
992         (test-xfail-XPG3/stdio.h/conform): Likewise.
993         (test-xfail-XPG3/stdlib.h/conform): Likewise.
994         (test-xfail-XPG3/string.h/conform): Likewise.
995         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
996         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
997         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
998         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
999         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1000         (test-xfail-XPG3/sys/types.h/conform): Likewise.
1001         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1002         (test-xfail-XPG3/termios.h/conform): Likewise.
1003         (test-xfail-XPG3/time.h/conform): Likewise.
1004         (test-xfail-XPG3/unistd.h/conform): Likewise.
1005         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1006         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1007         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1008         (test-xfail-XPG4/netdb.h/conform): Likewise.
1009         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1010         (test-xfail-XPG4/signal.h/conform): Likewise.
1011         (test-xfail-XPG4/stdio.h/conform): Likewise.
1012         (test-xfail-XPG4/stdlib.h/conform): Likewise.
1013         (test-xfail-XPG4/stropts.h/conform): Likewise.
1014         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1015         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1016         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1017         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1018         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1019         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1020         (test-xfail-XPG4/sys/time.h/conform): Likewise.
1021         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1022         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1023         (test-xfail-XPG4/termios.h/conform): Likewise.
1024         (test-xfail-XPG4/ucontext.h/conform): Likewise.
1025         (test-xfail-XPG4/unistd.h/conform): Likewise.
1026         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1027         (test-xfail-POSIX/sched.h/conform): Likewise.
1028         (test-xfail-POSIX/signal.h/conform): Likewise.
1029         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1030         (test-xfail-POSIX/tar.h/conform): Likewise.
1031         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1032         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1033         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1034         (test-xfail-UNIX98/netdb.h/conform): Likewise.
1035         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1036         (test-xfail-UNIX98/sched.h/conform): Likewise.
1037         (test-xfail-UNIX98/signal.h/conform): Likewise.
1038         (test-xfail-UNIX98/stdio.h/conform): Likewise.
1039         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1040         (test-xfail-UNIX98/stropts.h/conform): Likewise.
1041         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1042         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1043         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1044         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1045         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1046         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1047         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1048         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1049         (test-xfail-UNIX98/unistd.h/conform): Likewise.
1050         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1051         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1052         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1053         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1054         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1055         (test-xfail-XOPEN2K/math.h/conform): Likewise.
1056         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1057         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1058         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1059         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1060         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1061         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1062         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1063         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1064         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1065         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1066         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1067         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1068         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1069         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1070         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1071         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1072         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1073         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1074         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1075         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1076         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1077         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1078         (test-xfail-POSIX2008/signal.h/conform): Likewise.
1079         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1080         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1081         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1082         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1083         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1084         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1085         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1086         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1087         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1088         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1089         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1090         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1091         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1092         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1093         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1094         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1095         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1096         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1097         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1098         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1099         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1100         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1101         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1102         (conformtest-cc-flags): Likewise.
1103         ($(conformtest-header-tests): New target.
1104         * conform/check-header-lists.sh: New file.
1105         * conform/run-conformtest.sh: Remove.
1107         * conform/conformtest.pl: Allow ' and \ in values given for
1108         constants.
1109         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1110         inclusion.
1111         [POSIX] (sys/types.h): Likewise.
1112         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1113         inclusion.
1114         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1115         inclusion.
1116         * conform/data/signal.h-data (SIGIO): Remove expectation.
1117         [XPG3] (SIGBUS): Do not expect.
1118         [POSIX || XPG3] (SIGPOLL): Likewise.
1119         [POSIX || XPG3] (SIGPROF): Likewise.
1120         [POSIX || XPG3] (SIGSYS): Likewise.
1121         [XPG3] (SIGTRAP): Likewise.
1122         [POSIX || XPG3] (SIGURG): Likewise.
1123         [POSIX || XPG3] (SIGVTALRM): Likewise.
1124         [POSIX || XPG3] (SIGXCPU): Likewise.
1125         [POSIX || XPG3] (SIGXFSZ): Likewise.
1126         [POSIX] (SA_SIGINFO): Expect.
1127         [XPG3] (siginfo_t): Do not expect type or contents.
1128         [POSIX] (si_pid): Do not expect element.
1129         [POSIX] (si_uid): Likewise.
1130         [POSIX] (si_addr): Likewise.
1131         [POSIX] (si_status): Likewise.
1132         [POSIX] (si_band): Likewise.
1133         [XPG4] (si_value): Likewise.
1134         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1135         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1136         [POSIX || XPG3] (ILL_ILLADR): Likewise.
1137         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1138         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1139         [POSIX || XPG3] (ILL_PRVREG): Likewise.
1140         [POSIX || XPG3] (ILL_COPROC): Likewise.
1141         [POSIX || XPG3] (ILL_BADSTK): Likewise.
1142         [POSIX || XPG3] (FPE_INTDIV): Likewise.
1143         [POSIX || XPG3] (FPE_INTOVF): Likewise.
1144         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1145         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1146         [POSIX || XPG3] (FPE_FLTUND): Likewise.
1147         [POSIX || XPG3] (FPE_FLTRES): Likewise.
1148         [POSIX || XPG3] (FPE_FLTINV): Likewise.
1149         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1150         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1151         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1152         [POSIX || XPG3] (BUS_ADRALN): Likewise.
1153         [POSIX || XPG3] (BUS_ADRERR): Likewise.
1154         [POSIX || XPG3] (BUS_OBJERR): Likewise.
1155         [POSIX || XPG3] (CLD_EXITED): Likewise.
1156         [POSIX || XPG3] (CLD_KILLED): Likewise.
1157         [POSIX || XPG3] (CLD_DUMPED): Likewise.
1158         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1159         [POSIX || XPG3] (CLD_STOPPED): Likewise.
1160         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1161         [POSIX || XPG3] (POLL_IN): Likewise.
1162         [POSIX || XPG3] (POLL_OUT): Likewise.
1163         [POSIX || XPG3] (POLL_MSG): Likewise.
1164         [POSIX || XPG3] (POLL_ERR): Likewise.
1165         [POSIX || XPG3] (POLL_PRI): Likewise.
1166         [POSIX || XPG3] (POLL_HUP): Likewise.
1167         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1168         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1169         (SIG*): Do not allow.
1170         [XPG3] (si_*): Likewise.
1171         [XPG3] (SI_*): Likewise.
1172         [XPG3 || XPG4] (sigev_*): Likewise.
1173         [XPG3 || XPG4] (SIGEV_*): Likewise.
1174         [XPG3 || XPG4] (sival_*): Likewise.
1175         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1176         [POSIX || XPG3] (BUS_*): Likewise.
1177         [POSIX || XPG3] (CLD_*): Likewise.
1178         [POSIX || XPG3] (FPE_*): Likewise.
1179         [POSIX || XPG3] (ILL_*): Likewise.
1180         [POSIX || XPG3] (POLL_*): Likewise.
1181         [POSIX || XPG3] (SEGV_*): Likewise.
1182         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1183         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1184         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1185         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1186         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1187         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1188         Specify type and value.
1189         (TVERSLEN): Likewise.
1190         (REGTYPE): Likewise.
1191         (AREGTYPE): Likewise.
1192         (LNKTYPE): Likewise.
1193         (SYMTYPE): Likewise.
1194         (CHRTYPE): Likewise.
1195         (BLKTYPE): Likewise.
1196         (DIRTYPE): Likewise.
1197         (FIFOTYPE): Likewise.
1198         (CONTTYPE): Likewise.
1199         (TSUID): Likewise.
1200         (TSGID): Likewise.
1201         (TSVTX): Likewise.
1202         (TUREAD): Likewise.
1203         (TUWRITE): Likewise.
1204         (TUEXEC): Likewise.
1205         (TGREAD): Likewise.
1206         (TGWRITE): Likewise.
1207         (TGEXEC): Likewise.
1208         (TOREAD): Likewise.
1209         (TOWRITE): Likewise.
1210         (TOEXEC): Likewise.
1211         [POSIX] (TSVTX): Expect constant.
1213 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
1215         * Makefile (tests): Change dependencies to ....
1216         (tests-special): ... additions to this variable.
1217         (tests): Depend on $(tests-special).
1218         * Makerules (check-abi-list): New variable.
1219         (check-abi): Depend on $(check-abi-list).
1220         [$(subdir) = elf] (tests-special): Add
1221         $(objpfx)check-abi-libc.out.
1222         [$(build-shared) = yes && subdir] (tests-special): Add
1223         $(check-abi-list).
1224         [$(build-shared) = yes && subdir] (tests): Do not depend on
1225         check-abi.
1226         * Rules (tests): Depend on $(tests-special).
1227         (xtests): Depend on $(xtests-special).
1228         * catgets/Makefile (tests): Change dependencies to ....
1229         (tests-special): ... additions to this variable.
1230         * conform/Makefile (tests): Change dependencies to ....
1231         (tests-special): ... additions to this variable.
1232         * elf/Makefile (tests): Change dependencies to ....
1233         (tests-special): ... additions to this variable.
1234         * grp/Makefile (tests): Change dependencies to ....
1235         (tests-special): ... additions to this variable.
1236         * iconv/Makefile (xtests): Change dependencies to ....
1237         (xtests-special): ... additions to this variable.
1238         * iconvdata/Makefile (tests): Change dependencies to ....
1239         (tests-special): ... additions to this variable.
1240         * intl/Makefile (tests): Change dependencies to ....
1241         (tests-special): ... additions to this variable.  Also add
1242         $(objpfx)tst-gettext.out.
1243         * io/Makefile (tests): Change dependencies to ....
1244         (tests-special): ... additions to this variable.
1245         * libio/Makefile (tests): Change dependencies to ....
1246         (tests-special): ... additions to this variable.
1247         * malloc/Makefile (tests): Change dependencies to ....
1248         (tests-special): ... additions to this variable.
1249         * misc/Makefile (tests): Change dependencies to ....
1250         (tests-special): ... additions to this variable.
1251         * nptl/Makefile (tests): Change dependencies to ....
1252         (tests-special): ... additions to this variable.
1253         * nptl_db/Makefile (tests): Change dependencies to ....
1254         (tests-special): ... additions to this variable.
1255         * posix/Makefile (tests): Change dependencies to ....
1256         (tests-special): ... additions to this variable.
1257         (xtests): Change dependencies to ....
1258         (xtests-special): ... additions to this variable.
1259         * resolv/Makefile (tests): Change dependencies to ....
1260         (tests-special): ... additions to this variable.
1261         (xtests): Change dependencies to ....
1262         (xtests-special): ... additions to this variable.
1263         * stdio-common/Makefile (tests): Change dependencies to ....
1264         (tests-special): ... additions to this variable.
1265         (do-tst-unbputc): Remove target.
1266         (do-tst-printf): Likewise.
1267         * stdlib/Makefile (tests): Change dependencies to ....
1268         (tests-special): ... additions to this variable.
1269         * string/Makefile (tests): Change dependencies to ....
1270         (tests-special): ... additions to this variable.
1271         * sysdeps/x86/Makefile (tests): Change dependencies to ....
1272         (tests-special): ... additions to this variable.
1274         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1275         whole file.
1276         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1277         whole file.
1278         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1279         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1281         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1282         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1283         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1284         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1285         * conform/data/libgen.h-data [XPG3]: Likewise.
1286         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1287         * conform/data/ndbm.h-data [XPG3]: Likewise.
1288         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1289         * conform/data/netdb.h-data [XPG3]: Likewise.
1290         * conform/data/netinet/in.h-data [XPG3]: Likewise.
1291         * conform/data/poll.h-data [XPG3]: Likewise.
1292         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1293         * conform/data/strings.h-data [XPG3]: Likewise.
1294         * conform/data/stropts.h-data [XPG3]: Likewise.
1295         * conform/data/sys/mman.h-data [XPG3]: Likewise.
1296         * conform/data/sys/resource.h-data [XPG3]: Likewise.
1297         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1298         Likewise.
1299         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1300         * conform/data/sys/time.h-data [XPG3]: Likewise.
1301         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1302         * conform/data/sys/uio.h-data [XPG3]: Likewise.
1303         * conform/data/sys/un.h-data [XPG3]: Likewise.
1304         * conform/data/syslog.h-data [XPG3]: Likewise.
1305         * conform/data/ucontext.h-data [XPG3]: Likewise.
1306         * conform/data/utmpx.h-data [XPG3]: Likewise.
1307         * conform/data/varargs.h-data [UNIX98]: Enable file.
1309         * manual/Makefile (INSTALL_INFO): Remove variable setting.
1311         * math/libm-test.inc (struct test_f_f_data): Move expected results
1312         into structure for each rounding mode.
1313         (struct test_ff_f_data): Likewise.
1314         (struct test_ff_f_data_nexttoward): Likewise.
1315         (struct test_fi_f_data): Likewise.
1316         (struct test_fl_f_data): Likewise.
1317         (struct test_if_f_data): Likewise.
1318         (struct test_fff_f_data): Likewise.
1319         (struct test_c_f_data): Likewise.
1320         (struct test_f_f1_data): Likewise.
1321         (struct test_fF_f1_data): Likewise.
1322         (struct test_ffI_f1_data): Likewise.
1323         (struct test_c_c_data): Likewise.
1324         (struct test_cc_c_data): Likewise.
1325         (struct test_f_i_data): Likewise.
1326         (struct test_ff_i_data): Likewise.
1327         (struct test_f_l_data): Likewise.
1328         (struct test_f_L_data): Likewise.
1329         (struct test_fFF_11_data): Likewise.
1330         (RM_): New macro.
1331         (RM_FE_DOWNWARD): Likewise.
1332         (RM_FE_TONEAREST): Likewise.
1333         (RM_FE_TOWARDZERO): Likewise.
1334         (RM_FE_UPWARD): Likewise.
1335         (RUN_TEST_LOOP_f_f): Update references to expected results.
1336         (RUN_TEST_LOOP_2_f): Likewise.
1337         (RUN_TEST_LOOP_fff_f): Likewise.
1338         (RUN_TEST_LOOP_c_f): Likewise.
1339         (RUN_TEST_LOOP_f_f1): Likewise.
1340         (RUN_TEST_LOOP_fF_f1): Likewise.
1341         (RUN_TEST_LOOP_fI_f1): Likewise.
1342         (RUN_TEST_LOOP_ffI_f1): Likewise.
1343         (RUN_TEST_LOOP_c_c): Likewise.
1344         (RUN_TEST_LOOP_cc_c): Likewise.
1345         (RUN_TEST_LOOP_f_i): Likewise.
1346         (RUN_TEST_LOOP_f_i_tg): Likewise.
1347         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1348         (RUN_TEST_LOOP_f_b): Likewise.
1349         (RUN_TEST_LOOP_f_b_tg): Likewise.
1350         (RUN_TEST_LOOP_f_l): Likewise.
1351         (RUN_TEST_LOOP_f_L): Likewise.
1352         (RUN_TEST_LOOP_fFF_11): Likewise.
1353         * math/gen-libm-test.pl (parse_args): Output four copies of
1354         expected results for each test.
1356         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1357         (__ASSUME_UTIMES): Remove.
1358         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1359         (__ASSUME_UTIMES): Likewise.
1361         * math/gen-auto-libm-tests.c: Update comment on output format.
1362         (output_for_one_input_case): Generate before-rounding and
1363         after-rounding information as conditions on output flags not
1364         floating-point format.
1365         * math/auto-libm-test-out: Regenerated.
1366         * math/gen-libm-test.pl (cond_value): New function.
1367         (or_cond_value): Use cond_value.
1368         (generate_testfile): Handle conditional exceptions.
1370 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
1372         * math/libm-test.inc (max_valid_error): New variable.
1373         (init_max_error): Take new argument specifying whether function
1374         results are exactly determined.  Set max_valid_error and bound
1375         other variables for errors based on this argument.
1376         (set_max_error): Do not record results above max_valid_error.
1377         (check_float_internal): Only accept errors of up to 0.5ulps if
1378         also at most max_valid_error.
1379         (START): Take new argument EXACT and pass it to init_max_error.
1380         (acos_test): Update call to START.
1381         (acos_test_tonearest): Likewise.
1382         (acos_test_towardzero): Likewise.
1383         (acos_test_downward): Likewise.
1384         (acos_test_upward): Likewise.
1385         (acosh_test): Likewise.
1386         (asin_test): Likewise.
1387         (asin_test_tonearest): Likewise.
1388         (asin_test_towardzero): Likewise.
1389         (asin_test_downward): Likewise.
1390         (asin_test_upward): Likewise.
1391         (asinh_test): Likewise.
1392         (atan_test): Likewise.
1393         (atanh_test): Likewise.
1394         (atan2_test): Likewise.
1395         (cabs_test): Likewise.
1396         (cacos_test): Likewise.
1397         (cacosh_test): Likewise.
1398         (carg_test): Likewise.
1399         (casin_test): Likewise.
1400         (casinh_test): Likewise.
1401         (catan_test): Likewise.
1402         (catanh_test): Likewise.
1403         (cbrt_test): Likewise.
1404         (ccos_test): Likewise.
1405         (ccosh_test): Likewise.
1406         (ceil_test): Likewise.
1407         (cexp_test): Likewise.
1408         (cimag_test): Likewise.
1409         (clog_test): Likewise.
1410         (clog10_test): Likewise.
1411         (conj_test): Likewise.
1412         (copysign_test): Likewise.
1413         (cos_test): Likewise.
1414         (cos_test_tonearest): Likewise.
1415         (cos_test_towardzero): Likewise.
1416         (cos_test_downward): Likewise.
1417         (cos_test_upward): Likewise.
1418         (cosh_test): Likewise.
1419         (cosh_test_tonearest): Likewise.
1420         (cosh_test_towardzero): Likewise.
1421         (cosh_test_downward): Likewise.
1422         (cosh_test_upward): Likewise.
1423         (cpow_test): Likewise.
1424         (cproj_test): Likewise.
1425         (creal_test): Likewise.
1426         (csin_test): Likewise.
1427         (csinh_test): Likewise.
1428         (csqrt_test): Likewise.
1429         (ctan_test): Likewise.
1430         (ctan_test_tonearest): Likewise.
1431         (ctan_test_towardzero): Likewise.
1432         (ctan_test_downward): Likewise.
1433         (ctan_test_upward): Likewise.
1434         (ctanh_test): Likewise.
1435         (ctanh_test_tonearest): Likewise.
1436         (ctanh_test_towardzero): Likewise.
1437         (ctanh_test_downward): Likewise.
1438         (ctanh_test_upward): Likewise.
1439         (erf_test): Likewise.
1440         (erfc_test): Likewise.
1441         (exp_test): Likewise.
1442         (exp_test_tonearest): Likewise.
1443         (exp_test_towardzero): Likewise.
1444         (exp_test_downward): Likewise.
1445         (exp_test_upward): Likewise.
1446         (exp10_test): Likewise.
1447         (exp10_test_tonearest): Likewise.
1448         (exp10_test_towardzero): Likewise.
1449         (exp10_test_downward): Likewise.
1450         (exp10_test_upward): Likewise.
1451         (pow10_test): Likewise.
1452         (exp2_test): Likewise.
1453         (expm1_test): Likewise.
1454         (expm1_test_tonearest): Likewise.
1455         (expm1_test_towardzero): Likewise.
1456         (expm1_test_downward): Likewise.
1457         (expm1_test_upward): Likewise.
1458         (fabs_test): Likewise.
1459         (fdim_test): Likewise.
1460         (floor_test): Likewise.
1461         (fma_test): Likewise.
1462         (fma_test_towardzero): Likewise.
1463         (fma_test_downward): Likewise.
1464         (fma_test_upward): Likewise.
1465         (fmax_test): Likewise.
1466         (fmin_test): Likewise.
1467         (fmod_test): Likewise.
1468         (fpclassify_test): Likewise.
1469         (frexp_test): Likewise.
1470         (hypot_test): Likewise.
1471         (ilogb_test): Likewise.
1472         (isfinite_test): Likewise.
1473         (finite_test): Likewise.
1474         (isgreater_test): Likewise.
1475         (isgreaterequal_test): Likewise.
1476         (isinf_test): Likewise.
1477         (isless_test): Likewise.
1478         (islessequal_test): Likewise.
1479         (islessgreater_test): Likewise.
1480         (isnan_test): Likewise.
1481         (isnormal_test): Likewise.
1482         (issignaling_test): Likewise.
1483         (isunordered_test): Likewise.
1484         (j0_test): Likewise.
1485         (j1_test): Likewise.
1486         (jn_test): Likewise.
1487         (ldexp_test): Likewise.
1488         (lgamma_test): Likewise.
1489         (gamma_test): Likewise.
1490         (lrint_test): Likewise.
1491         (lrint_test_tonearest): Likewise.
1492         (lrint_test_towardzero): Likewise.
1493         (lrint_test_downward): Likewise.
1494         (lrint_test_upward): Likewise.
1495         (llrint_test): Likewise.
1496         (llrint_test_tonearest): Likewise.
1497         (llrint_test_towardzero): Likewise.
1498         (llrint_test_downward): Likewise.
1499         (llrint_test_upward): Likewise.
1500         (log_test): Likewise.
1501         (log10_test): Likewise.
1502         (log1p_test): Likewise.
1503         (log2_test): Likewise.
1504         (logb_test): Likewise.
1505         (logb_test_downward): Likewise.
1506         (lround_test): Likewise.
1507         (llround_test): Likewise.
1508         (modf_test): Likewise.
1509         (nearbyint_test): Likewise.
1510         (nextafter_test): Likewise.
1511         (nexttoward_test): Likewise.
1512         (pow_test): Likewise.
1513         (pow_test_tonearest): Likewise.
1514         (pow_test_towardzero): Likewise.
1515         (pow_test_downward): Likewise.
1516         (pow_test_upward): Likewise.
1517         (remainder_test): Likewise.
1518         (drem_test): Likewise.
1519         (remainder_test_tonearest): Likewise.
1520         (drem_test_tonearest): Likewise.
1521         (remainder_test_towardzero): Likewise.
1522         (drem_test_towardzero): Likewise.
1523         (remainder_test_downward): Likewise.
1524         (drem_test_downward): Likewise.
1525         (remainder_test_upward): Likewise.
1526         (drem_test_upward): Likewise.
1527         (remquo_test): Likewise.
1528         (rint_test): Likewise.
1529         (rint_test_tonearest): Likewise.
1530         (rint_test_towardzero): Likewise.
1531         (rint_test_downward): Likewise.
1532         (rint_test_upward): Likewise.
1533         (round_test): Likewise.
1534         (scalb_test): Likewise.
1535         (scalbn_test): Likewise.
1536         (scalbln_test): Likewise.
1537         (signbit_test): Likewise.
1538         (sin_test): Likewise.
1539         (sin_test_tonearest): Likewise.
1540         (sin_test_towardzero): Likewise.
1541         (sin_test_downward): Likewise.
1542         (sin_test_upward): Likewise.
1543         (sincos_test): Likewise.
1544         (sinh_test): Likewise.
1545         (sinh_test_tonearest): Likewise.
1546         (sinh_test_towardzero): Likewise.
1547         (sinh_test_downward): Likewise.
1548         (sinh_test_upward): Likewise.
1549         (sqrt_test): Likewise.
1550         (sqrt_test_tonearest): Likewise.
1551         (sqrt_test_towardzero): Likewise.
1552         (sqrt_test_downward): Likewise.
1553         (sqrt_test_upward): Likewise.
1554         (tan_test): Likewise.
1555         (tan_test_tonearest): Likewise.
1556         (tan_test_towardzero): Likewise.
1557         (tan_test_downward): Likewise.
1558         (tan_test_upward): Likewise.
1559         (tanh_test): Likewise.
1560         (tgamma_test): Likewise.
1561         (trunc_test): Likewise.
1562         (y0_test): Likewise.
1563         (y1_test): Likewise.
1564         (yn_test): Likewise.
1565         (significand_test): Likewise.
1567         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1568         individual tests in comment.
1569         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1570         (prev_max_error): New variable.
1571         (prev_real_max_error): Likewise.
1572         (prev_imag_max_error): Likewise.
1573         (compare_ulp_data): Don't refer to test names in comment.
1574         (find_test_ulps): Remove function.
1575         (find_function_ulps): Likewise.
1576         (find_complex_function_ulps): Likewise.
1577         (init_max_error): Take function name as argument.  Look up ulps
1578         for that function.
1579         (print_ulps): Remove function.
1580         (print_max_error): Use prev_max_error instead of calling
1581         find_function_ulps.
1582         (print_complex_max_error): Use prev_real_max_error and
1583         prev_imag_max_error instead of calling find_complex_function_ulps.
1584         (check_float_internal): Take max_ulp parameter instead of calling
1585         find_test_ulps.  Don't call print_ulps.
1586         (check_float): Update call to check_float_internal.
1587         (check_complex): Update calls to check_float_internal.
1588         (START): Pass argument to init_max_error.
1589         * math/gen-libm-test.pl (%results): Don't include "kind"
1590         information.
1591         (parse_ulps): Don't handle ulps of individual tests.
1592         (print_ulps_file): Likewise.
1593         (output_ulps): Likewise.
1594         * math/README.libm-test: Update.
1595         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1596         individual tests.
1597         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1598         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1599         * sysdeps/arm/libm-test-ulps: Likewise.
1600         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1601         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1602         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1603         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1604         * sysdeps/microblaze/libm-test-ulps: Likewise.
1605         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1606         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1607         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1608         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1609         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1610         * sysdeps/sh/libm-test-ulps: Likewise.
1611         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1612         * sysdeps/tile/libm-test-ulps: Likewise.
1613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1615 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
1617         * math/libm-test.inc (print_complex_max_error): Check separately
1618         whether real and imaginary errors are within allowed range and
1619         pass 0 to print_complex_function_ulps instead of value within
1620         allowed range.
1622 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1624         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1625         formatting.
1626         (get_handles_fopen): Likewise.
1627         (do_write_test): Likewise.
1629         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1631         * libio/fileops.c (do_ftell): Use cached offset when
1632         available.
1633         * libio/iofwide.c (do_ftell_wide): Likewise.
1634         * libio/iofdopen.c (_IO_new_fdopen): Don't use
1635         _IO_file_attach.
1636         * libio/wfileops.c (_IO_fwide): Don't cache offset.
1638         [BZ #16532]
1639         * libio/libioP.h (get_file_offset): New function.
1640         * libio/fileops.c (get_file_offset): Likewise.
1641         (do_ftell): Likewise.
1642         (_IO_new_file_seekoff): Split out ftell logic.
1643         * libio/wfileops.c (do_ftell_wide): Likewise.
1644         (_IO_wfile_seekoff): Split out ftell logic.
1645         * libio/tst-ftell-active-handler.c: New test case.
1646         * libio/Makefile (tests): Add it.
1648 2014-03-03  Roland McGrath  <roland@hack.frob.com>
1650         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1651         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1653 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1655         [BZ #16639]
1656         * nscd/connections.c (nscd_init): Call do_exit.
1657         (start_threads): Call do_exit and notify_parent.
1658         (begin_drop_privileges): Call do_exit.
1659         (finish_drop_privileges): Likewise.
1660         * nscd/selinux.c (preserve_capabilities): Likewise.
1661         (install_real_capabilities): Likewise.
1662         (nscd_selinux_enabled): Likewise.
1663         (avc_create_thread): Likewise.
1664         (avc_alloc_lock): Likewise.
1665         (nscd_avc_init): Likewise.
1666         * nscd/nscd.c (parent_fd): New static variable.
1667         (main): Create a pipe between parent and child processes.
1668         Skip closing parent_fd.
1669         (monitor_child): New function.
1670         (do_exit): Likewise.
1671         (notify_parent): Likewise.
1672         * nscd/nscd.h (notify_parent): Likewise.
1673         (do_exit): Likewise.
1675 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
1677         * malloc/malloc.c (__libc_calloc): Revert last change.
1679 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1683 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1685         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1687         implementation.
1688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1689         (__libc_ifunc_impl_list): Likewise.
1690         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1691         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1692         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1693         * string/strrchr.c: Define STRRCHR.
1695 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
1697         * benchtest/bench-strtok.c (simple_strtok): Delete.
1698         (strtok_string): Use as benchmark.
1699         * string/strtok (STRTOK): New macro.
1701 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
1703         * manual/threads.texi: Add header and standard comments to all
1704         functions.
1706         * elf/dl-lookup.c (check_match): New function.
1707         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1708         (do_lookup_x): Remove nested function check_match. Use non-nested
1709         function check_match.
1711 2014-02-28  Roland McGrath  <roland@hack.frob.com>
1713         * csu/Makefile (generated, before-compile): Use += rather than =.
1714         * catgets/Makefile (generated, generated-dirs): Likewise.
1715         * debug/Makefile (generated): Likewise.
1716         * dlfcn/Makefile (generated): Likewise.
1717         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1718         * iconvdata/Makefile (before-compile, generated): Likewise.
1719         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1720         * libio/Makefile (generated): Likewise.
1721         * malloc/Makefile (generated): Likewise.
1722         * manual/Makefile (generated, generated-dirs): Likewise.
1723         * misc/Makefile (generated): Likewise.
1724         * posix/Makefile (generated): Likewise.
1725         * resolv/Makefile (generated): Likewise.
1726         * sunrpc/Makefile (generated, generated-dirs): Likewise.
1727         * timezone/Makefile (generated, generated-dirs): Likewise.
1729         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1731 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1733         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1734         implementation.
1735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1736         POWER8 llround ifunc implementation.
1737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1738         POWER8 implementation.
1739         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1740         POWER8 llround implementation.
1742 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1744         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1745         implementation.
1746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1747         POWER8 llrint ifunc implementation.
1748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1749         POWER8 implementation.
1750         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1751         POWER8 llrint implementation.
1753 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1756         implementation.
1757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1758         POWER8 finite ifunc implementation.
1759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1760         POWER8 implementation.
1761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1762         Likewise.
1763         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1764         POWER8 finite implementation.
1765         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1767 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1769         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1770         implementation.
1771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1772         POWER8 isinf ifunc implementation.
1773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1774         POWER8 implementation.
1775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1776         Likewise.
1777         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1778         POWER8 isinf implementation.
1779         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1781 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1783         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1784         Add hwcap2 initialization.
1785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1786         implementation.
1787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1788         POWER8 isnan ifunc implementation.
1789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1790         POWER8 implementation.
1791         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1792         Likewise.
1793         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1794         POWER8 isnan implementation.
1795         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1797 2014-02-27  Joey Ye  <joey.ye@arm.com>
1799         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1800         (_FP_NANFRAC_Q): Set to zero.
1802 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1804         [BZ #16623]
1805         * math/auto-libm-test-in: New test inputs.
1806         * math/auto-libm-test-out: Regenerate.
1807         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1808         and DA.
1809         (__cos): Likewise.
1810         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1812 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
1814         * scripts/evaluate-test.sh: Take new argument indicating whether
1815         failure is expected.
1816         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1817         indicating whether failure is expected.
1818         * conform/Makefile (test-xfail-run-conformtest): New variable.
1819         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1820         level.
1821         * posix/Makefile (test-xfail-annexc): New variable.
1822         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1824 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
1826         * argp/Makefile: Include Makeconfig immediately after defining
1827         subdir.
1828         * assert/Makefile: Likewise.
1829         * benchtests/Makefile: Likewise.
1830         * catgets/Makefile: Likewise.
1831         * conform/Makefile: Likewise.
1832         * crypt/Makefile: Likewise.
1833         * csu/Makefile: Likewise.
1834         (all): Remove target.
1835         * ctype/Makefile: Include Makeconfig immediately after defining
1836         subdir.
1837         * debug/Makefile: Likewise.
1838         * dirent/Makefile: Likewise.
1839         * dlfcn/Makefile: Likewise.
1840         * gmon/Makefile: Likewise.
1841         * gnulib/Makefile: Likewise.
1842         * grp/Makefile: Likewise.
1843         * gshadow/Makefile: Likewise.
1844         * hesiod/Makefile: Likewise.
1845         * hurd/Makefile: Likewise.
1846         (all): Remove target.
1847         * iconvdata/Makefile: Include Makeconfig immediately after
1848         defining subdir.
1849         * inet/Makefile: Likewise.
1850         * intl/Makefile: Likewise.
1851         * io/Makefile: Likewise.
1852         * libio/Makefile: Likewise.
1853         (all): Remove target.
1854         * locale/Makefile: Include Makeconfig immediately after defining
1855         subdir.
1856         * login/Makefile: Likewise.
1857         * mach/Makefile: Likewise.
1858         (all): Remove target.
1859         * malloc/Makefile: Include Makeconfig immediately after defining
1860         subdir.
1861         (all): Remove target.
1862         * manual/Makefile: Include Makeconfig immediately after defining
1863         subdir.
1864         * math/Makefile: Likewise.
1865         * misc/Makefile: Likewise.
1866         * nis/Makefile: Likewise.
1867         * nss/Makefile: Likewise.
1868         * po/Makefile: Likewise.
1869         (all): Remove target.
1870         * posix/Makefile: Include Makeconfig immediately after defining
1871         subdir.
1872         * pwd/Makefile: Likewise.
1873         * resolv/Makefile: Likewise.
1874         * resource/Makefile: Likewise.
1875         * rt/Makefile: Likewise.
1876         * setjmp/Makefile: Likewise.
1877         * shadow/Makefile: Likewise.
1878         * signal/Makefile: Likewise.
1879         * socket/Makefile: Likewise.
1880         * soft-fp/Makefile: Likewise.
1881         * stdio-common/Makefile: Likewise.
1882         * stdlib/Makefile: Likewise.
1883         * streams/Makefile: Likewise.
1884         * string/Makefile: Likewise.
1885         * sunrpc/Makefile: Likewise.
1886         (all): Remove target.
1887         * sysvipc/Makefile: Include Makeconfig immediately after defining
1888         subdir.
1889         * termios/Makefile: Likewise.
1890         * time/Makefile: Likewise.
1891         * timezone/Makefile: Likewise.
1892         (all): Remove target.
1893         * wcsmbs/Makefile: Include Makeconfig immediately after defining
1894         subdir.
1895         * wctype/Makefile: Likewise.
1897 2014-02-26  Steve Ellcey  <sellcey@mips.com>
1899         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1900         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1901         (libc_feholdexcept_setround_mips): Ditto.
1902         (libc_feholdsetround): New.
1903         (libc_feholdsetroundf): New.
1904         (libc_feholdsetroundl): New.
1905         (libc_feupdateenv_test_mips): New.
1906         (libc_feupdateenv_test): New.
1907         (libc_feupdateenv_testf): New.
1908         (libc_feupdateenv_testl): New.
1909         (libc_feresetround): New.
1910         (libc_feresetroundf): New.
1911         (libc_feresetroundl): New.
1912         (libc_fetestexcept_mips): New.
1913         (libc_fetestexcept): New.
1914         (libc_fetestexceptf): New.
1915         (libc_fetestexceptl): New.
1916         (HAVE_RM_CTX): New.
1917         (libc_feholdexcept_setround_mips_ctx): New.
1918         (libc_feholdexcept_setround_ctx): New.
1919         (libc_feholdexcept_setroundf_ctx): New.
1920         (libc_feholdexcept_setroundl_ctx): New.
1921         (libc_fesetenv_mips_ctx): New.
1922         (libc_fesetenv_ctx): New.
1923         (libc_fesetenv_ctxf): New.
1924         (libc_fesetenv_ctxl): New.
1925         (libc_feupdateenv_mips_ctx): New.
1926         (libc_feupdateenv_ctx): New.
1927         (libc_feupdateenvf_ctx): New.
1928         (libc_feupdateenvl_ctx): New.
1929         (libc_feholdsetround_mips_ctx): New.
1930         (libc_feholdsetround_ctx): New.
1931         (libc_feholdsetroundf_ctx): New.
1932         (libc_feholdsetroundl_ctx): New.
1933         (libc_feresetround_mips_ctx): New.
1934         (libc_feresetround_ctx): New.
1935         (libc_feresetroundf_ctx): New.
1936         (libc_feresetroundl_ctx): New.
1938 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
1940         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1942         * manual/ipc.texi: New file.
1943         * manual/Makefile (chapters): Add ipc.
1944         * manual/job.texi: Add "Inter-Process Communication" to next.
1945         * manual/process.texi: Add "Inter-Process Communication" to prev.
1947 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1951 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
1953         * malloc/malloc.c (__libc_calloc): Simplify implementation.
1955         * manual/arith.texi: Fix spaces after sentences.
1956         * manual/charset.texi: Likewise.
1957         * manual/errno.texi: Likewise.
1958         * manual/install.texi: Likewise.
1959         * manual/llio.texi: Likewise.
1960         * manual/locale.texi: Likewise.
1961         * manual/maint.texi: Likewise.
1962         * manual/math.texi: Likewise.
1963         * manual/memory.texi: Likewise.
1964         * manual/message.texi: Likewise.
1965         * manual/probes.texi: Likewise.
1966         * manual/resource.texi: Likewise.
1967         * manual/signal.texi: Likewise.
1968         * manual/socket.texi: Likewise.
1969         * manual/stdio.texi: Likewise.
1970         * manual/string.texi: Likewise.
1971         * manual/time.texi: Likewise.
1972         * manual/users.texi: Likewise.
1974 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
1976         [BZ #16632]
1977         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1978         _DEFAULT_SOURCE is defined.
1980 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
1981             Carlos O'Donell  <carlos@redhat.com>
1983         [BZ #16613]
1984         * elf/dl-tls.c (_dl_count_modids): New function.
1985         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1986         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1987         audit library and increment generation counter.
1988         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1989         * elf/tst-audit9.c: New file.
1990         * elf/tst-auditmod9a.c: New file.
1991         * elf/tst-auditmod9b.c: New file.
1992         * elf/Makefile: Add rules to build and run tst-audit9.
1994 2014-02-25  Florian Weimer  <fweimer@redhat.com>
1996         [BZ #15347]
1997         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1999 2014-02-25  Will Newton  <will.newton@linaro.org>
2001         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2002         (__longjmp): Restore sp and lr before restoring callee
2003         saved registers.  Add longjmp and longjmp_target
2004         SystemTap probe point.
2005         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2006         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2007         Define to zero to match jmpbuf layout.
2008         * sysdeps/arm/setjmp.S: Include stap-probe.h.
2009         (__sigsetjmp): Save sp and lr before saving callee
2010         saved registers.  Add setjmp SystemTap probe point.
2012 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2014         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2016 2014-02-24  Andreas Schwab  <schwab@suse.de>
2018         [BZ #15804]
2019         * elf/pldd.c (wait_for_ptrace_stop): New function.
2020         (main): Call it after attaching.
2022 2014-02-22  Roland McGrath  <roland@hack.frob.com>
2024         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2025         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2026         Versions files is now verboten.
2027         * hurd/Versions (libc: GLIBC_2.0):
2028         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2029         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2030         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2031         * mach/Versions: Likewise.
2033         * csu/Versions: Remove unused %include.
2034         * resolv/Versions: Likewise.
2036 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
2038         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2039         ($(objpfx)check-local-headers.out): Likewise.
2040         ($(objpfx)begin-end-check.out): Likewise.
2041         * Makerules (check-abi-%.out): Likewise.
2042         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2043         ($(objpfx)test2.cat): Likewise.
2044         ($(objpfx)de/libc.cat): Likewise.
2045         ($(objpfx)test-gencat.out): Likewise.
2046         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2047         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2048         ($(objpfx)noload-mem): Likewise.
2049         ($(objpfx)tst-pathopt.out): Likewise.
2050         ($(objpfx)tst-rtld-load-self.out): Likewise.
2051         ($(objpfx)tst-array1-cmp.out): Likewise.
2052         ($(objpfx)tst-array1-static-cmp.out): Likewise.
2053         ($(objpfx)tst-array2-cmp.out): Likewise.
2054         ($(objpfx)tst-array3-cmp.out): Likewise.
2055         ($(objpfx)tst-array4-cmp.out): Likewise.
2056         ($(objpfx)tst-array5-cmp.out): Likewise.
2057         ($(objpfx)tst-array5-static-cmp.out): Likewise.
2058         ($(objpfx)check-textrel.out): Likewise.
2059         ($(objpfx)check-execstack.out): Likewise.
2060         ($(objpfx)check-localplt.out): Likewise.
2061         ($(objpfx)order2-cmp.out): Likewise.
2062         ($(objpfx)tst-leaks1-mem): Likewise.
2063         ($(objpfx)tst-leaks1-static-mem): Likewise.
2064         ($(objpfx)tst-initorder-cmp.out): Likewise.
2065         ($(objpfx)tst-initorder2-cmp.out): Likewise.
2066         ($(objpfx)tst-unused-dep.out): Likewise.
2067         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2068         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2069         * iconv/Makefile (test-iconvconfig): Likewise.
2070         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2071         ($(objpfx)iconv-test.out): Likewise.
2072         ($(objpfx)tst-tables.out): Likewise.
2073         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2074         ($(objpfx)tst-gettext.out): Likewise.
2075         ($(objpfx)tst-translit.out): Likewise.
2076         ($(objpfx)tst-gettext2.out): Likewise.
2077         ($(objpfx)tst-gettext4.out): Likewise.
2078         ($(objpfx)tst-gettext6.out): Likewise.
2079         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2080         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2081         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2082         ($(objpfx)tst-fopenloc-mem.out): Likewise.
2083         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2084         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2085         * posix/Makefile ($(objpfx)globtest.out): Likewise.
2086         ($(objpfx)wordexp-tst.out): Likewise.
2087         ($(objpfx)annexc.out): Likewise.
2088         ($(objpfx)tst-fnmatch-mem): Likewise.
2089         ($(objpfx)bug-regex2-mem): Likewise.
2090         ($(objpfx)bug-regex14-mem): Likewise.
2091         ($(objpfx)bug-regex21-mem): Likewise.
2092         ($(objpfx)bug-regex31-mem): Likewise.
2093         ($(objpfx)tst-vfork3-mem): Likewise.
2094         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2095         ($(objpfx)tst-pcre-mem): Likewise.
2096         ($(objpfx)tst-boost-mem): Likewise.
2097         ($(objpfx)tst-getconf.out): Likewise.
2098         ($(objpfx)bug-ga2-mem): Likewise.
2099         ($(objpfx)bug-glob2-mem): Likewise.
2100         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2101         ($(objpfx)mtrace-tst-leaks2): Likewise.
2102         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2103         ($(objpfx)tst-printf.out): Likewise.
2104         ($(objpfx)tst-setvbuf1.out): Likewise.
2105         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2106         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2107         ($(objpfx)tst-fmtmsg.out): Likewise.
2108         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2109         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2111         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2112         * bits/sigaction.h [__USE_MISC]: Likewise.
2113         * bits/waitstatus.h: Update #endif comments.
2114         * ctype/ctype.h: Likewise.
2115         * dirent/dirent.h: Likewise.
2116         [__USE_MISC]: Remove redundant conditionals.
2117         * grp/grp.h: Update #endif comments.
2118         [__USE_GNU]: Remove redundant conditionals.
2119         [__USE_MISC]: Likewise.
2120         * inet/netinet/in.h [__USE_GNU]: Likewise.
2121         * io/sys/stat.h [__USE_MISC]: Likewise.
2122         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2123         * libio/bits/stdio.h: Update #endif comments.
2124         [__USE_MISC]: Remove redundant conditionals.
2125         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2126         * libio/stdio.h: Update #endif comments.
2127         [__USE_MISC]: Remove redundant conditionals.
2128         * math/bits/math-finite.h [__USE_MISC]: Likewise.
2129         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2130         * math/math.h: Update #else and #endif comments.
2131         [__USE_MISC]: Remove redundant conditionals.
2132         * misc/sys/uio.h: Update #endif comments.
2133         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2134         * posix/glob.h [__USE_MISC]: Likewise.
2135         * posix/sys/types.h: Update #endif comments.
2136         [__USE_MISC]: Remove redundant conditionals.
2137         * posix/sys/wait.h: Update #endif comments.
2138         [__USE_MISC]: Remove redundant conditionals.
2139         * posix/unistd.h: Update #endif comments.
2140         [__USE_MISC]: Remove redundant conditionals.
2141         * pwd/pwd.h [__USE_GNU]: Likewise.
2142         [__USE_MISC]: Likewise.
2143         * resolv/netdb.h [__USE_GNU]: Likewise.
2144         * signal/signal.h: Update #endif comments.
2145         [__USE_MISC]: Remove redundant conditionals.
2146         * stdlib/stdlib.h: Update #else and #endif comments.
2147         [__USE_MISC]: Remove redundant conditionals.
2148         [__USE_GNU]: Likewise.
2149         * string/bits/string2.h [__USE_MISC]: Likewise.
2150         * string/string.h: Update #endif comments.
2151         [__USE_MISC]: Remove redundant conditionals.
2152         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2153         Likewise.
2154         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2155         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2156         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2157         Likewise.
2158         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2159         Likewise.
2160         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2161         comments.
2162         [__USE_MISC]: Remove redundant conditionals.
2163         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2164         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2165         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2166         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2167         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2168         Likewise.
2169         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2170         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2171         Likewise.
2172         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2173         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2174         Likewise.
2175         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2176         Likewise.
2177         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2178         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2179         Likewise.
2180         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2181         Likewise.
2182         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2183         * sysdeps/x86/bits/string.h: Update #endif comments.
2184         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2185         conditionals.
2186         * time/sys/time.h: Update #endif comments.
2187         * time/time.h: Likewise.
2188         [__USE_MISC]: Remove redundant conditionals.
2190 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
2192         [BZ #16600]
2193         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2195 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
2197         * Versions.def (librt): Add GLIBC_2.17.
2199 2014-02-21  Adam Conrad  <adconrad@0c3.net>
2201         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2202         synonym for _SYS_AUXV_H to allow direct inclusion.
2203         * sysdeps/sparc/bits/hwcap.h: Likewise.
2204         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2205         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2206         * sysdeps/sparc/sysdep.h: Likewise.
2208 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2210         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2212 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2214         * benchtests/bench-strrchr.c: Print length instead of position.
2216 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
2218         [BZ #16611]
2219         * sysdeps/unix/sysv/linux/kernel-features.h
2220         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2221         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2222         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2223         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2224         Likewise.
2225         [__i386__ || __powerpc__ || __sh__ || __sparc__]
2226         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2227         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2228         (__ASSUME_SENDMMSG): Define instead of using previous
2229         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2230         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2231         (__ASSUME_SENDMMSG_SYSCALL): Define.
2232         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2233         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2234         Likewise.
2235         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2236         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2237         Likewise.
2238         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2239         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2240         Likewise.
2241         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2242         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2243         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2244         [__ASSUME_SENDMMSG]: Change conditionals to
2245         [__ASSUME_SENDMMSG_SOCKETCALL].
2246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2247         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2248         Define.
2249         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2250         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2251         Likewise.
2252         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2253         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2254         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2255         [!__ASSUME_SENDMMSG]: Change conditional to
2256         [!__ASSUME_SENDMMSG_SOCKETCALL].
2257         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2258         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2259         Define.
2261         [BZ #16610]
2262         * sysdeps/unix/sysv/linux/kernel-features.h
2263         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2264         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2265         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2266         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2267         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2268         [__i386__ || __sparc__]
2269         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2270         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2271         (__ASSUME_RECVMMSG): Define instead of using previous
2272         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2273         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2274         (__ASSUME_RECVMMSG_SYSCALL): Define.
2275         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2276         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2277         Likewise.
2278         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2279         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2280         Likewise.
2281         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2282         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2283         Likewise.
2284         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2285         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2286         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2287         [__ASSUME_RECVMMSG]: Change condition to
2288         [__ASSUME_RECVMMSG_SOCKETCALL].
2289         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2290         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2291         Define.
2292         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2293         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2294         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2295         Likewise.
2296         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2297         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2298         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2299         [!__ASSUME_RECVMMSG]: Change condition to
2300         [!__ASSUME_RECVMMSG_SOCKETCALL].
2301         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2302         (__ASSUME_RECVMMSG_SYSCALL): Define.
2304         [BZ #16609]
2305         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2306         __powerpc__ || __s390__ || __sh__ || __sparc__]
2307         (__ASSUME_SOCKETCALL): Define.
2308         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2309         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2310         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2311         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2312         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2313         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2314         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2315         (__ASSUME_ACCEPT4): Define instead of using previous
2316         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2317         __powerpc__ || __sparc__ || __s390__)] condition.
2318         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2319         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2320         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2321         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2322         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2323         [!__ASSUME_ACCEPT4]: Change condition to
2324         [!__ASSUME_ACCEPT4_SOCKETCALL].
2325         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2326         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
2327         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2328         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2329         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2330         __ASSUME_ACCEPT4_SYSCALL.
2331         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2332         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2333         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2334         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2335         __ASSUME_ACCEPT4_SYSCALL.
2336         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2337         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2338         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2339         [__ASSUME_ACCEPT4]: Change condition to
2340         [__ASSUME_ACCEPT4_SOCKETCALL].
2341         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2342         (__ASSUME_SOCKETCALL): Define.
2343         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2344         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2345         (__ASSUME_SOCKETCALL): Define.
2346         (__ASSUME_ACCEPT4): Remove.
2347         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2348         Define.
2349         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2350         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2351         Likewise.
2352         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2353         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2355         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2356         macro.
2357         (HWCAP_ARM_LPAE): Likewise.
2358         (HWCAP_ARM_EVTSTRM): Likewise.
2359         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2360         Add vpfd32, lpae and evtstrm.
2361         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2362         Increase to 22.
2364 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
2366         * math/auto-libm-test-in: Add tests of clog10.
2367         * math/auto-libm-test-out: Regenerated.
2368         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2369         * sysdeps/i386/fpu/libm-test-ulps: Update.
2370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2372 2014-02-18  Andreas Schwab  <schwab@suse.de>
2374         [BZ #16574]
2375         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2376         Store non-zero if the second buffer was newly allocated.
2377         (send_dg): Likewise.
2378         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2379         to send_vc and send_dg.
2380         (res_nsend): Pass NULL for ansp2_malloced.
2381         * resolv/res_query.c (__libc_res_nquery): Add parameter
2382         answerp2_malloced and pass it down to __libc_res_nsend.
2383         (res_nquery): Pass additional NULL to __libc_res_nquery.
2384         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2385         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
2386         second answer buffer if answerp2_malloced was set.
2387         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2388         (__libc_res_nquerydomain): Add parameter
2389         answerp2_malloced and pass it down to __libc_res_nquery.
2390         (res_nquerydomain): Pass additional NULL to
2391         __libc_res_nquerydomain.
2392         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2393         additional NULL to __libc_res_nsend and __libc_res_nquery.
2394         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2395         additional NULL to __libc_res_nsearch.
2396         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
2397         parameter of __libc_res_nsearch to check for separately allocated
2398         second buffer.
2399         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2400         __libc_res_nquery.
2401         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2402         additional NULL to __libc_res_nquery.
2403         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2404         __libc_res_nsearch.
2405         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2406         * include/resolv.h: Update prototypes of __libc_res_nquery,
2407         __libc_res_nsearch, __libc_res_nsend.
2409 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
2411         * math/auto-libm-test-in: Add tests of fma.
2412         * math/auto-libm-test-out: Regenerated.
2413         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2414         (fma_towardzero_test_data): Likewise.
2415         (fma_downward_test_data): Likewise.
2416         (fma_upward_test_data): Likewise.
2417         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2418         mpc_mode.
2419         (rounding_modes): Add values for new field.
2420         (func_calc_method): Add value mpfr_fff_f.
2421         (func_calc_desc): Add mpfr_fff_f union field.
2422         (test_function): Add field exact_args.
2423         (FUNC): Add macro argument EXACT_ARGS.
2424         (FUNC_mpfr_f_f): Update call to FUNC.
2425         (FUNC_mpfr_f_f): Likewise.
2426         (FUNC_mpfr_ff_f): Likewise.
2427         (FUNC_mpfr_if_f): Likewise.
2428         (FUNC_mpc_c_f): Likewise.
2429         (FUNC_mpc_c_c): Likewise.
2430         (test_functions): Add fma.  Update calls to FUNC.
2431         (handle_input_arg): Add argument exact_args.
2432         (add_test): Update call to handle_input_arg.
2433         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
2434         (output_for_one_input_case): Update call to calc_generic_results.
2435         Recalculate exact zero results in each rounding mode.
2437         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2438         non-negative before setting low bit.
2439         * math/auto-libm-test-in: Mark one asin test possibly having
2440         spurious underflow.
2441         * math/auto-libm-test-out: Regenerated.
2442         * sysdeps/i386/fpu/libm-test-ulps: Update.
2443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2445 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
2447         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2448         * sysdeps/unix/sysv/linux/microblaze: Move directory from
2449         ports/sysdeps/unix/sysv/linux/microblaze.
2450         * README: Add missing listing for microblaze*-*-linux-gnu.
2452 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
2454         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2455         * sysdeps/unix/sysv/linux/ia64: Move directory from
2456         ports/sysdeps/unix/sysv/linux/ia64.
2457         * README: Update listing for ia64-*-linux-gnu.
2459 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
2460             Joseph Myers  <joseph@codesourcery.com>
2462         * Makeconfig (test-name): New variable.
2463         (evaluate-test): Likewise.
2464         * Makerules (do-test-clean): Remove .test-result files.
2465         (common-mostlyclean): Likewise.
2466         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2467         * scripts/evaluate-test.sh: New file.
2469 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
2471         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2472         separate $(objpfx)tst-fopenloc-cmp.out and
2473         $(objpfx)tst-fopenloc-mem.out targets.
2474         (tests): Update dependencies.
2475         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2476         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2477         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2478         (tst-rxspencer-no-utf8-ARGS): New variable.
2479         (tst-rxspencer-no-utf8-ENV): Likewise.
2480         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2481         instead of $(objpfx)tst-rxspencer-mem.
2482         ($(objpfx)tst-rxspencer-mem): Change target to
2483         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
2484         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2485         * posix/tst-rxspencer-no-utf8.c: New file.
2487         * elf/Makefile ($(objpfx)order.out): Remove rule.
2488         [$(run-built-tests) = yes] (tests): Depend on
2489         $(objpfx)order-cmp.out.
2490         ($(objpfx)order-cmp.out): New rule.
2491         [$(run-built-tests) = yes] (tests): Depend on
2492         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2493         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2494         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2495         $(objpfx)tst-array5-static-cmp.out.
2496         ($(objpfx)tst-array1.out): Remove rule.
2497         ($(objpfx)tst-array1-cmp.out): New rule.
2498         ($(objpfx)tst-array1-static.out): Remove rule.
2499         ($(objpfx)tst-array1-static-cmp.out): New rule.
2500         ($(objpfx)tst-array2.out): Remove rule.
2501         ($(objpfx)tst-array2-cmp.out): New rule.
2502         ($(objpfx)tst-array3.out): Remove rule.
2503         ($(objpfx)tst-array3-cmp.out): New rule.
2504         ($(objpfx)tst-array4.out): Remove rule.
2505         ($(objpfx)tst-array4-cmp.out): New rule.
2506         ($(objpfx)tst-array5.out): Remove rule.
2507         ($(objpfx)tst-array5-cmp.out): New rule.
2508         ($(objpfx)tst-array5-static.out): Remove rule.
2509         ($(objpfx)tst-array5-static-cmp.out): New rule.
2510         [$(run-built-tests) = yes] (tests): Depend on
2511         $(objpfx)order2-cmp.out.
2512         ($(objpfx)order2.out): Remove rule.
2513         ($(objpfx)order2-cmp.out): New rule.
2514         ($(objpfx)tst-initorder.out): Remove rule.
2515         [$(run-built-tests) = yes] (tests): Depend on
2516         $(objpfx)tst-initorder-cmp.out.
2517         ($(objpfx)tst-initorder-cmp.out): New rule.
2518         ($(objpfx)tst-initorder2.out): Remove rule.
2519         [$(run-built-tests) = yes] (tests): Depend on
2520         $(objpfx)tst-initorder2-cmp.out.
2521         ($(objpfx)tst-initorder2-cmp.out): New rule.
2522         [$(run-built-tests) = yes] (tests): Depend on
2523         $(objpfx)tst-unused-dep-cmp.out.
2524         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2525         ($(objpfx)tst-unused-dep-cmp.out): New rule.
2526         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2527         on $(objpfx)tst-setvbuf1-cmp.out.
2528         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2529         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2530         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2531         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2532         ($(objpfx)tst-svc.out): Remove rule.
2533         ($(objpfx)tst-svc-cmp.out): New rule.
2535 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
2537         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2538         * ctype/ctype.h [__USE_MISC]: Likewise.
2539         * dirent/dirent.h [__USE_MISC]: Likewise.
2540         * grp/grp.h [__USE_MISC]: Likewise.
2541         * io/fcntl.h [__USE_MISC]: Likewise.
2542         * io/sys/stat.h [__USE_MISC]: Likewise.
2543         * libio/stdio.h [__USE_MISC]: Likewise.
2544         * posix/unistd.h [__USE_MISC]: Likewise.
2545         * pwd/pwd.h [__USE_MISC]: Likewise.
2546         * stdlib.h [__USE_MISC]: Likewise.
2547         * string/bits/string2.h [__USE_MISC]: Likewise.
2548         * string/string.h [__USE_MISC]: Likewise.
2549         * time/time.h [__USE_MISC]: Likewise.
2551 2014-02-13  Andreas Schwab  <schwab@suse.de>
2553         [BZ #16574]
2554         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2555         second answer buffer if it was separately allocated.
2557 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2559         * sysdeps/mips/math-tests.h: Include <features.h>.
2560         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2561         (ROUNDING_TESTS_long_double): Do not define.
2562         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2563         (EXCEPTION_TESTS_long_double): Likewise.
2564         * sysdeps/mips/mips64/libm-test-ulps: Update.
2566         * include/features.h (__USE_BSD): Remove macro definitions.
2567         (__USE_SVID): Likewise.
2568         (_BSD_SOURCE): Likewise.
2569         (_SVID_SOURCE): Likewise.
2570         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2571         from definition of _DEFAULT_SOURCE.
2572         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2573         [_DEFAULT_SOURCE].
2574         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2575         * bits/mman.h [__USE_BSD]: Likewise.
2576         * bits/termios.h [__USE_BSD]: Likewise.
2577         * bits/waitstatus.h [__USE_BSD]: Likewise.
2578         * ctype/ctype.h [__USE_SVID]: Likewise.
2579         * dirent/dirent.h [__USE_BSD]: Likewise.
2580         * grp/grp.h [__USE_SVID]: Likewise.
2581         [__USE_BSD]: Likewise.
2582         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2583         * io/fcntl.h [__USE_BSD]: Likewise.
2584         * io/ftw.h [__USE_BSD]: Likewise.
2585         * io/sys/stat.h [__USE_BSD]: Likewise.
2586         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2587         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2588         * libio/stdio.h [__USE_SVID]: Likewise.
2589         [__USE_BSD]: Likewise.
2590         * math/math.h [__USE_SVID]: Likewise.
2591         [__USE_BSD]: Likewise.
2592         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2593         * misc/bits/syslog.h [__USE_BSD]: Likewise.
2594         * misc/search.h [__USE_SVID]: Likewise.
2595         * misc/sys/mman.h [__USE_BSD]: Likewise.
2596         * misc/sys/syslog.h [__USE_BSD]: Likewise.
2597         * misc/sys/uio.h [__USE_BSD]: Likewise.
2598         * posix/bits/unistd.h [__USE_BSD]: Likewise.
2599         * posix/glob.h [__USE_BSD]: Likewise.
2600         * posix/regex.h [__USE_BSD]: Likewise.
2601         * posix/sys/types.h [__USE_BSD]: Likewise.
2602         [__USE_SVID]: Likewise.
2603         * posix/sys/utsname.h [__USE_SVID]: Likewise.
2604         * posix/sys/wait.h [__USE_BSD]: Likewise.
2605         [__USE_SVID]: Likewise.
2606         * posix/unistd.h [__USE_BSD]: Likewise.
2607         [__USE_SVID]: Likewise.
2608         * pwd/pwd.h [__USE_SVID]: Likewise.
2609         * resolv/netdb.h [__USE_BSD]: Likewise.
2610         * setjmp/setjmp.h [__USE_BSD]: Likewise.
2611         * signal/signal.h [__USE_BSD]: Likewise.
2612         [__USE_SVID]: Likewise.
2613         * socket/sys/socket.h [__USE_BSD]: Likewise.
2614         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2615         * stdlib/stdlib.h [__USE_BSD]: Likewise.
2616         [__USE_SVID]: Likewise.
2617         * string/bits/string2.h [__USE_BSD]: Likewise.
2618         [__USE_SVID]: Likewise.
2619         * string/bits/string3.h [__USE_BSD]: Likewise.
2620         * string/endian.h [__USE_BSD]: Likewise.
2621         * string/string.h [__USE_SVID]: Likewise.
2622         [__USE_BSD]: Likewise.
2623         * string/strings.h [__USE_BSD]: Likewise.
2624         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2625         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2626         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2627         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2628         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2629         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2630         Likewise.
2631         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2632         Likewise.
2633         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2634         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2635         Likewise.
2636         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2637         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2638         Likewise.
2639         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2640         Likewise.
2641         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2642         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2643         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2644         Likewise.
2645         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2646         Likewise.
2647         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2648         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2649         * termios/termios.h [__USE_BSD]: Likewise.
2650         * time/sys/time.h [__USE_BSD]: Likewise.
2651         * time/time.h [__USE_BSD]: Likewise.
2652         [__USE_SVID]: Likewise.
2654         * Makefile (subdir_targets): Remove subdir_lint.out.
2656         * stdio-common/Makefile (do-tst-unbputc): Remove target.
2657         (do-tst-printf): Likewise.
2658         (tests): Depend directly on $(objpfx)tst-unbputc.out and
2659         $(objpfx)tst-printf.out.
2661         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2663         * Makerules (check-abi-%): Change target to
2664         $(objpfx)check-abi-%.out.
2665         (check-abi target): Update dependencies.
2666         (check-abi-pattern variable): Redirect output of diff to $@.
2667         (check-abi variable): Likewise.
2668         * elf/Makefile (check-abi): Update dependencies.
2670         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2671         unused.
2672         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2673         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2674         subnormal range.
2675         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2676         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2677         value has largest subnormal exponent.
2678         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2679         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2680         * sysdeps/aarch64/soft-fp/sfp-machine.h
2681         (_FP_TININESS_AFTER_ROUNDING): New macro.
2682         * sysdeps/alpha/soft-fp/sfp-machine.h
2683         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2684         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2685         Likewise.
2686         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2687         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2688         * sysdeps/mips/soft-fp/sfp-machine.h
2689         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2690         * sysdeps/powerpc/soft-fp/sfp-machine.h
2691         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2692         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2693         Likewise.
2694         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2695         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2696         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2697         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2698         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2699         Likewise.
2701 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
2703         [BZ #16545]
2704         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2705         model 1.
2707 2014-02-12  Richard Henderson  <rth@redhat.com>
2709         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2710         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2711         * sysdeps/unix/sysv/linux/alpha: Move directory from
2712         ports/sysdeps/unix/sysv/linux/alpha.
2713         * README: Update listing for alpha-*-linux-gnu.
2715 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
2717         * include/features.h: Update comment documenting feature test
2718         macros.
2719         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
2720         _DEFAULT_SOURCE.
2721         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2722         (_SVID_SOURCE): Likewise.
2723         (_DEFAULT_SOURCE): Update description of default features.
2724         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2725         with _GNU_SOURCE.
2726         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2727         (S_ISVTX): Likewise.
2728         * manual/math.texi (Mathematical Constants): Likewise.
2729         * manual/signal.texi (Interrupted Primitives): Likewise.
2730         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2731         * math/test-matherr.c (_SVID_SOURCE): Do not define.
2732         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2733         Don't refer to _SVID_SOURCE in warning text.
2735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2737         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2738         already defined.
2739         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2740         * sysdeps/mips/dl-lookup.c: Remove.
2741         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2743 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2745         [BZ #16447]
2746         * math/auto-libm-test-in: Add testcase for expl.
2747         * math/auto-libm-test-out: Regenerate.
2748         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2749         calculation of unsafe.
2750         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2752 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2754         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2755         * sysdeps/unix/sysv/linux/aarch64: Move directory from
2756         ports/sysdeps/unix/sysv/linux/aarch64.
2757         * README: Update listing for aarch64*-*-linux-gnu.
2759 2014-02-11  Will Newton  <will.newton@linaro.org>
2761         * manual/probes.texi (Mathematical Function Probes): Use
2762         "triggered" instead of "hit".
2764 2014-02-11  Will Newton  <will.newton@linaro.org>
2766         * manual/probes.texi (Internal Probes): Add documentation
2767         of setjmp, longjmp and longjmp_target probes.
2769 2014-02-11  Will Newton  <will.newton@linaro.org>
2771         * include/stap-probe.h: Add comment about probe argument
2772         format.
2774 2014-02-11  Will Newton  <will.newton@linaro.org>
2776         * malloc/mtrace.c (attribute_hidden): Remove unused macro
2777         definition.  (tr_where, tr_freehook, tr_mallochook,
2778         tr_reallochook, tr_memalignhook): Use ANSI protoype.
2780 2014-02-11  David S. Miller  <davem@davemloft.net>
2782         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2783         processing int_tests.
2785 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
2787         * sysdeps/mips: Move directory from ports/sysdeps/mips.
2788         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2789         * sysdeps/unix/sysv/linux/mips: Move directory from
2790         ports/sysdeps/unix/sysv/linux/mips.
2791         * README: Update listing for mips-*-linux-gnu and
2792         mips64-*-linux-gnu.
2794 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
2796         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2797         * sysdeps/unix/sysv/linux/m68k: Move directory from
2798         ports/sysdeps/unix/sysv/linux/m68k.
2799         * README: Update listing for m68k-*-linux-gnu.
2801 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
2803         * sysdeps/tile: Move directory from ports/sysdeps/tile.
2804         * sysdeps/unix/sysv/linux/generic: Move directory from
2805         ports/sysdeps/unix/sysv/linux/generic.
2806         * sysdeps/unix/sysv/linux/tile: Move directory from
2807         ports/sysdeps/unix/sysv/linux/tile.
2808         * README: Update listing for tile*-*-linux-gnu.
2810 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2812         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2813         * benchtests/bench-memmem.c (simple_memmem): Likewise.
2814         * catgets/open_catalog.c (__open_catalog): Likewise.
2815         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2816         * debug/confstr_chk.c: Likewise.
2817         * debug/fread_chk.c (__fread_chk): Likewise.
2818         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2819         * debug/getgroups_chk.c: Likewise.
2820         * debug/mbsnrtowcs_chk.c: Likewise.
2821         * debug/mbsrtowcs_chk.c: Likewise.
2822         * debug/mbstowcs_chk.c: Likewise.
2823         * debug/memcpy_chk.c: Likewise.
2824         * debug/memmove_chk.c: Likewise.
2825         * debug/mempcpy_chk.c: Likewise.
2826         * debug/memset_chk.c: Likewise.
2827         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2828         * debug/strcat_chk.c (__strcat_chk): Likewise.
2829         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2830         * debug/strncat_chk.c (__strncat_chk): Likewise.
2831         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2832         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2833         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2834         * debug/wcpncpy_chk.c: Likewise.
2835         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2836         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2837         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2838         * debug/wcsncpy_chk.c: Likewise.
2839         * debug/wcsnrtombs_chk.c: Likewise.
2840         * debug/wcsrtombs_chk.c: Likewise.
2841         * debug/wcstombs_chk.c: Likewise.
2842         * debug/wmemcpy_chk.c: Likewise.
2843         * debug/wmemmove_chk.c: Likewise.
2844         * debug/wmempcpy_chk.c: Likewise.
2845         * debug/wmemset_chk.c: Likewise.
2846         * dirent/scandirat.c (SCANDIRAT): Likewise.
2847         * dlfcn/dladdr1.c (dladdr1): Likewise.
2848         * dlfcn/dladdr.c (dladdr): Likewise.
2849         * dlfcn/dlclose.c (dlclose_doit): Likewise.
2850         * dlfcn/dlerror.c (__dlerror): Likewise.
2851         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2852         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2853         * dlfcn/dlopen.c (dlopen_doit): Likewise.
2854         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2855         * dlfcn/dlsym.c (dlsym_doit): Likewise.
2856         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2857         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2858         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2859         Likewise.
2860         * elf/dl-conflict.c: Likewise.
2861         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2862         * elf/dl-dst.h: Likewise.
2863         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2864         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2865         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2866         * elf/dl-init.c (call_init, _dl_init): Likewise.
2867         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2868         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2869         _dl_map_object_from_fd, open_verify, open_path,
2870         _dl_map_object): Likewise.
2871         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2872         Likewise.
2873         * elf/dl-minimal.c (__libc_memalign): Likewise.
2874         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2875         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2876         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2877         * elf/dl-sym.c (do_sym): Likewise.
2878         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2879         _dl_tls_get_addr_soft): Likewise.
2880         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2881         * elf/dl-writev.h (_dl_writev): Likewise.
2882         * elf/ldconfig.c (search_dir): Likewise.
2883         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2884         dl_main): Likewise.
2885         * elf/setup-vdso.h (setup_vdso): Likewise.
2886         * grp/compat-initgroups.c (compat_call): Likewise.
2887         * grp/fgetgrent.c (fgetgrent): Likewise.
2888         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2889         * grp/putgrent.c (putgrent): Likewise.
2890         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2891         Likewise.
2892         * hurd/hurdinit.c: Likewise.
2893         * iconvdata/8bit-gap.c (struct): Likewise.
2894         * iconvdata/ansi_x3.110.c : Likewise.
2895         * iconvdata/big5.c : Likewise.
2896         * iconvdata/big5hkscs.c : Likewise.
2897         * iconvdata/cp1255.c: Likewise.
2898         * iconvdata/cp1258.c : Likewise.
2899         * iconvdata/cp932.c : Likewise.
2900         * iconvdata/euc-cn.c: Likewise.
2901         * iconvdata/euc-jisx0213.c : Likewise.
2902         * iconvdata/euc-jp.c: Likewise.
2903         * iconvdata/euc-jp-ms.c : Likewise.
2904         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2905         * iconvdata/gb18030.c : Likewise.
2906         * iconvdata/gbbig5.c (const): Likewise.
2907         * iconvdata/gbgbk.c: Likewise.
2908         * iconvdata/gbk.c : Likewise.
2909         * iconvdata/ibm1364.c : Likewise.
2910         * iconvdata/ibm930.c : Likewise.
2911         * iconvdata/ibm932.c: Likewise.
2912         * iconvdata/ibm933.c : Likewise.
2913         * iconvdata/ibm935.c : Likewise.
2914         * iconvdata/ibm937.c : Likewise.
2915         * iconvdata/ibm939.c : Likewise.
2916         * iconvdata/ibm943.c: Likewise.
2917         * iconvdata/iso_11548-1.c: Likewise.
2918         * iconvdata/iso-2022-cn.c : Likewise.
2919         * iconvdata/iso-2022-cn-ext.c : Likewise.
2920         * iconvdata/iso-2022-jp-3.c: Likewise.
2921         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2922         * iconvdata/iso-2022-kr.c : Likewise.
2923         * iconvdata/iso646.c (gconv_end): Likewise.
2924         * iconvdata/iso_6937-2.c : Likewise.
2925         * iconvdata/iso_6937.c : Likewise.
2926         * iconvdata/iso8859-1.c: Likewise.
2927         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2928         * iconvdata/shift_jisx0213.c : Likewise.
2929         * iconvdata/sjis.c : Likewise.
2930         * iconvdata/t.61.c : Likewise.
2931         * iconvdata/tcvn5712-1.c : Likewise.
2932         * iconvdata/tscii.c: Likewise.
2933         * iconvdata/uhc.c : Likewise.
2934         * iconvdata/unicode.c (gconv_end): Likewise.
2935         * iconvdata/utf-16.c (gconv_end): Likewise.
2936         * iconvdata/utf-32.c (gconv_end): Likewise.
2937         * iconvdata/utf-7.c (base64): Likewise.
2938         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2939         * iconv/gconv_close.c (__gconv_close): Likewise.
2940         * iconv/gconv_open.c (__gconv_open): Likewise.
2941         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2942         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2943         internal_ucs4le_loop_single, ucs4le_internal_loop,
2944         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2945         * iconv/iconv.c (iconv): Likewise.
2946         * iconv/iconv_close.c: Likewise.
2947         * iconv/loop.c (SINGLE): Likewise.
2948         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2949         * include/atomic.h: Likewise.
2950         * inet/inet6_option.c (option_alloc): Likewise.
2951         * intl/bindtextdom.c (set_binding_values): Likewise.
2952         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2953         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2954         * intl/localealias.c (read_alias_file): Likewise.
2955         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2956         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2957         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2958         * libio/fmemopen.c (fmemopen): Likewise.
2959         * libio/iofgets.c (_IO_fgets): Likewise.
2960         * libio/iofgets_u.c (fgets_unlocked): Likewise.
2961         * libio/iofgetws.c (fgetws): Likewise.
2962         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2963         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2964         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2965         adjust_wide_data, _IO_wfile_seekoff): Likewise.
2966         * locale/findlocale.c (_nl_find_locale): Likewise.
2967         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2968         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2969         Likewise.
2970         * locale/setlocale.c (setlocale): Likewise.
2971         * login/programs/pt_chown.c (main): Likewise.
2972         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2973         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2974         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2975         mmap, mmap64, mremap, munmap): Likewise.
2976         * math/e_exp2l.c: Likewise.
2977         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2978         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2979         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2980         * math/s_catan.c (__catan): Likewise.
2981         * math/s_catanf.c (__catanf): Likewise.
2982         * math/s_catanh.c (__catanh): Likewise.
2983         * math/s_catanhf.c (__catanhf): Likewise.
2984         * math/s_catanhl.c (__catanhl): Likewise.
2985         * math/s_catanl.c (__catanl): Likewise.
2986         * math/s_ccosh.c (__ccosh): Likewise.
2987         * math/s_ccoshf.c (__ccoshf): Likewise.
2988         * math/s_ccoshl.c (__ccoshl): Likewise.
2989         * math/s_cexp.c (__cexp): Likewise.
2990         * math/s_cexpf.c (__cexpf): Likewise.
2991         * math/s_cexpl.c (__cexpl): Likewise.
2992         * math/s_clog10.c (__clog10): Likewise.
2993         * math/s_clog10f.c (__clog10f): Likewise.
2994         * math/s_clog10l.c (__clog10l): Likewise.
2995         * math/s_clog.c (__clog): Likewise.
2996         * math/s_clogf.c (__clogf): Likewise.
2997         * math/s_clogl.c (__clogl): Likewise.
2998         * math/s_csin.c (__csin): Likewise.
2999         * math/s_csinf.c (__csinf): Likewise.
3000         * math/s_csinh.c (__csinh): Likewise.
3001         * math/s_csinhf.c (__csinhf): Likewise.
3002         * math/s_csinhl.c (__csinhl): Likewise.
3003         * math/s_csinl.c (__csinl): Likewise.
3004         * math/s_csqrt.c (__csqrt): Likewise.
3005         * math/s_csqrtf.c (__csqrtf): Likewise.
3006         * math/s_csqrtl.c (__csqrtl): Likewise.
3007         * math/s_ctan.c (__ctan): Likewise.
3008         * math/s_ctanf.c (__ctanf): Likewise.
3009         * math/s_ctanh.c (__ctanh): Likewise.
3010         * math/s_ctanhf.c (__ctanhf): Likewise.
3011         * math/s_ctanhl.c (__ctanhl): Likewise.
3012         * math/s_ctanl.c (__ctanl): Likewise.
3013         * math/w_pow.c: Likewise.
3014         * math/w_powf.c: Likewise.
3015         * math/w_powl.c: Likewise.
3016         * math/w_scalb.c (sysv_scalb): Likewise.
3017         * math/w_scalbf.c (sysv_scalbf): Likewise.
3018         * math/w_scalbl.c (sysv_scalbl): Likewise.
3019         * misc/error.c (error_tail): Likewise.
3020         * misc/pselect.c (__pselect): Likewise.
3021         * nis/nis_callback.c (__nis_create_callback): Likewise.
3022         * nis/nis_call.c (__nisfind_server): Likewise.
3023         * nis/nis_creategroup.c (nis_creategroup): Likewise.
3024         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3025         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3026         * nis/nis_getservlist.c (nis_getservlist): Likewise.
3027         * nis/nis_lookup.c (nis_lookup): Likewise.
3028         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3029         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3030         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3031         * nis/nis_xdr.c (xdr_endpoint): Likewise.
3032         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3033         internal_getgrgid_r): Likewise.
3034         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3035         Likewise.
3036         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3037         internal_getpwuid_r): Likewise.
3038         * nis/nss_compat/compat-spwd.c (getspent_next_file,
3039         internal_getspnam_r): Likewise.
3040         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3041         _nss_nis_getaliasbyname_r): Likewise.
3042         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3043         _nss_nis_getntohost_r): Likewise.
3044         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3045         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3046         Likewise.
3047         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3048         internal_nis_gethostent_r, internal_gethostbyname2_r,
3049         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3050         _nss_nis_gethostbyname4_r): Likewise.
3051         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3052         initgroups_netid): Likewise.
3053         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3054         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3055         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3056         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3057         _nss_nis_getprotobynumber_r): Likewise.
3058         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3059         _nss_nis_getsecretkey): Likewise.
3060         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3061         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3062         Likewise.
3063         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3064         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3065         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3066         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3067         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3068         _nss_nis_getspnam_r): Likewise.
3069         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3070         Likewise.
3071         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3072         _nss_nisplus_getntohost_r): Likewise.
3073         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3074         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3075         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3076         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3077         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3078         Likewise.
3079         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3080         _nss_nisplus_getnetbyaddr_r): Likewise.
3081         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3082         _nss_nisplus_getprotobynumber_r): Likewise.
3083         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3084         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3085         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3086         Likewise.
3087         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3088         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3089         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3090         _nss_nisplus_getspnam_r): Likewise.
3091         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3092         * nscd/aicache.c (addhstaiX): Likewise.
3093         * nscd/cache.c (cache_search, prune_cache): Likewise.
3094         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3095         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3096         * nscd/grpcache.c (addgrbyX): Likewise.
3097         * nscd/hstcache.c (addhstbyX): Likewise.
3098         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3099         * nscd/mem.c (gc, mempool_alloc): Likewise.
3100         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3101         Likewise.
3102         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3103         Likewise.
3104         * nscd/nscd_getai.c (__nscd_getai): Likewise.
3105         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3106         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3107         Likewise.
3108         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3109         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3110         * nscd/nscd_helper.c (__readvall, open_socket,
3111         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3112         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3113         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3114         * nscd/pwdcache.c (addpwbyX): Likewise.
3115         * nscd/selinux.c (preserve_capabilities): Likewise.
3116         * nscd/servicescache.c (addservbyX): Likewise.
3117         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3118         * posix/fnmatch.c (fnmatch): Likewise.
3119         * posix/getopt.c (_getopt_internal_r): Likewise.
3120         * posix/glob.c (glob, glob_in_dir): Likewise.
3121         * posix/wordexp.c (exec_comm_child): Likewise.
3122         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3123         gaih_getanswer_slice): Likewise.
3124         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3125         * resolv/res_init.c: Likewise.
3126         * resolv/res_mkquery.c (res_nmkquery): Likewise.
3127         * resolv/res_query.c (__libc_res_nquery): Likewise.
3128         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3129         Likewise.
3130         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3131         * stdio-common/perror.c (perror): Likewise.
3132         * stdio-common/printf_fp.c (___printf_fp): Likewise.
3133         * stdio-common/tmpnam.c (tmpnam): Likewise.
3134         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3135         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3136         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3137         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3138         * stdlib/putenv.c (putenv): Likewise.
3139         * stdlib/setenv.c (__add_to_environ): Likewise.
3140         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3141         * stdlib/strtol_l.c (INTERNAL): Likewise.
3142         * string/memmem.c (memmem): Likewise.
3143         * string/strerror.c (strerror): Likewise.
3144         * string/strnlen.c (__strnlen): Likewise.
3145         * string/test-memmem.c (simple_memmem): Likewise.
3146         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3147         * sunrpc/pm_getport.c (__get_socket): Likewise.
3148         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3149         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3150         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3151         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3152         Likewise.
3153         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3154         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3155         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3156         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3157         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3158         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3159         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3160         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3161         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3162         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3163         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3164         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3165         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3166         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3167         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3168         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3169         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3170         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3171         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3172         Likewise.
3173         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3174         Likewise.
3175         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3176         Likewise.
3177         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3178         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3179         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3180         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3181         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3182         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3183         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3184         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3185         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3186         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3187         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3188         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3189         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3190         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3191         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3192         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3193         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3194         Likewise.
3195         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3196         Likewise.
3197         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3198         Likewise.
3199         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3200         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3201         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3202         Likewise.
3203         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3204         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3205         * sysdeps/posix/opendir.c (__opendirat): Likewise.
3206         * sysdeps/posix/sleep.c: Likewise.
3207         * sysdeps/posix/tempname.c: Likewise.
3208         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3209         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3210         Likewise.
3211         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3212         elf_machine_rela): Likewise.
3213         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3215         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3216         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3217         Likewise.
3218         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3219         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3220         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3221         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3222         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3223         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3224         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3225         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3226         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3227         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3228         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3229         elf_machine_lazy_rel): Likewise.
3230         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3231         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3232         elf_machine_lazy_rel): Likewise.
3233         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3234         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3235         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3236         * sysdeps/unix/grantpt.c (grantpt): Likewise.
3237         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3238         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3239         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3240         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3241         Likewise.
3242         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3243         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3244         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3245         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3246         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3247         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3248         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3249         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3250         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3251         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3252         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3253         Likewise.
3254         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3255         (__posix_fallocate64_l64): Likewise.
3256         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3257         (posix_fallocate): Likewise.
3258         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3259         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3260         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3261         getifaddrs_internal): Likewise.
3262         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3263         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3264         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3265         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3266         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3267         (__posix_fallocate64_l64): Likewise.
3268         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3269         Likewise.
3270         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3271         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3272         Likewise.
3273         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3274         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3275         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3276         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3278         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3279         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3280         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3281         Likewise.
3282         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3283         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3284         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3285         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3286         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3287         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3288         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3289         Likewise.
3290         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3291         (posix_fallocate): Likewise.
3292         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3293         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3294         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3295         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3296         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3297         Likewise.
3298         * time/asctime.c (asctime_internal): Likewise.
3299         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3300         * time/tzset.c (__tzset_parse_tz): Likewise.
3301         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3302         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3303         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3304         * wcsmbs/wcsmbsload.h: Likewise.
3306 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3308         [BZ #15894]
3309         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3311 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3313         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3314         arena_get2): Remove THREAD_STATS conditionals.
3315         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3316         __malloc_stats, int): Likewise.
3318 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3320         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3321         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
3323 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3325         * manual/setjmp.texi: Fix typos/grammar errors.
3327 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3329         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3330         Only return early when n is <= 0.  Delete unused return statement.
3332 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3334         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3335         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3336         * debug/tst-longjmp_chk3.c: New file.
3338 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3340         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3341         (test_main): Replace code with set_fortify_handler call.
3342         * debug/test-strcpy_chk.c: Likewise.
3343         * debug/tst-chk1.c: Likewise.
3344         * debug/tst-longjmp_chk.c: Likewise.
3345         * test-skeleton.c: Include fcntl.h & paths.h
3346         (set_fortify_handler): Define.
3348 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3350         * debug/tst-longjmp_chk.c: Add header comment and include
3351         ../test-skeleton.c.
3352         (do_test): Mark static.
3353         (TEST_FUNCTION): Define.
3355 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3357         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3358         (IP_PMTUDISC_INTERFACE): Likewise.
3359         (IP_MULTICAST_IF): Likewise.
3360         (IP_MULTICAST_TTL): Likewise.
3361         (IP_MULTICAST_LOOP): Likewise.
3362         (IP_ADD_MEMBERSHIP): Likewise.
3363         (IP_DROP_MEMBERSHIP): Likewise.
3364         (IP_UNBLOCK_SOURCE): Likewise.
3365         (IP_BLOCK_SOURCE): Likewise.
3366         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3367         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3368         (IP_MSFILTER): Likewise.
3369         (MCAST_JOIN_GROUP): Likewise.
3370         (MCAST_BLOCK_SOURCE): Likewise.
3371         (MCAST_UNBLOCK_SOURCE): Likewise.
3372         (MCAST_LEAVE_GROUP): Likewise.
3373         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3374         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3375         (MCAST_MSFILTER): Likewise.
3376         (IP_MULTICAST_ALL): Likewise.
3377         (IP_UNICAST_IF): Likewise.
3379 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3381         * timezone/Makefile: Delete $(have-ksh) check.
3382         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3383         * timezone/tzselect.ksh: Add +x mode bits.
3385 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3387         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3388         (ANON_INODE_FS_MAGIC): Likewise.
3389         (BDEVFS_MAGIC): Likewise.
3390         (BINFMTFS_MAGIC): Likewise.
3391         (BTRFS_TEST_MAGIC): Likewise.
3392         (CRAMFS_MAGIC_WEND): Likewise.
3393         (DEBUGFS_MAGIC): Likewise.
3394         (ECRYPTFS_SUPER_MAGIC): Likewise.
3395         (EXT3_SUPER_MAGIC): Likewise.
3396         (EXT4_SUPER_MAGIC): Likewise.
3397         (FUTEXFS_SUPER_MAGIC): Likewise.
3398         (HOSTFS_SUPER_MAGIC): Likewise.
3399         (HUGETLBFS_MAGIC): Likewise.
3400         (MINIX3_SUPER_MAGIC): Likewise.
3401         (MTD_INODE_FS_MAGIC): Likewise.
3402         (NILFS_SUPER_MAGIC): Likewise.
3403         (OPENPROM_SUPER_MAGIC): Likewise.
3404         (PIPEFS_MAGIC): Likewise.
3405         (PSTOREFS_MAGIC): Likewise.
3406         (QNX6_SUPER_MAGIC): Likewise.
3407         (RAMFS_MAGIC): Likewise.
3408         (REISERFS_SUPER_MAGIC_STRING): Likewise.
3409         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3410         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3411         (SECURITYFS_MAGIC): Likewise.
3412         (SELINUX_MAGIC): Likewise.
3413         (SMACK_MAGIC): Likewise.
3414         (SOCKFS_MAGIC): Likewise.
3415         (SQUASHFS_MAGIC): Likewise.
3416         (STACK_END_MAGIC): Likewise.
3417         (TMPFS_MAGIC): Likewise.
3418         (USBDEVICE_SUPER_MAGIC): Likewise.
3419         (V9FS_MAGIC): Likewise.
3420         (XENFS_SUPER_MAGIC): Likewise.
3421         (CRAMFS_MAGIC): Fix typo in comment.
3422         (EXT2_SUPER_MAGIC): Update comment.
3423         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3425 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
3427         * sysdeps/arm: Move directory from ports/sysdeps/arm.
3428         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3429         * sysdeps/unix/sysv/linux/arm: Move directory from
3430         ports/sysdeps/unix/sysv/linux/arm.
3431         * README: Update listing for arm-*-linux-gnueabi.
3433         * README: Remove mention of am33.
3435 2014-02-07  Roland McGrath  <roland@hack.frob.com>
3437         * bits/sigset.h (__sigemptyset): Use a statement expression rather
3438         than the comma operator, to avoid "rhs of comma has no effect"
3439         compiler warnings.
3440         (__sigfillset, __sigandset, __sigorset): Likewise.
3441         * include/signal.h (__sigemptyset): Likewise.
3442         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3444 2014-02-07  Allan McRae  <allan@archlinux.org>
3446         * version.h (RELEASE): Set to "development".
3447         (VERSION): Set to "2.19.90"
3448         * NEWS: Add 2.20 section.
3450 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
3452         [BZ #16529]
3453         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3455 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3457         * manual/contrib.texi: Update entry for Carlos O'Donell,
3458         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3460 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
3462         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3464         * sysdeps/unix/sysv/linux/kernel-features.h
3465         [__LINUX_KERNEL_VERSION >= 0x020621]
3466         (__ASSUME_PROC_PID_TASK_COMM): Define.
3468 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3470         [BZ #16398]
3471         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3472         conversion when destination buffer does not have enough space.
3473         * libio/tst-ftell-partial-wide.c: New test case.
3474         * libio/Makefile (tests): Add tst-ftell-partial-wide.
3476         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3477         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
3478         Leonard and Allan McRae.
3480 2014-02-04  David S. Miller  <davem@davemloft.net>
3482         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3483         32-bit.
3485 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3488         file
3489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3490         New file
3491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3492         file.
3493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3494         file.
3495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3496         New file.
3497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3498         file.
3499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3500         file.
3501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3502         New file.
3503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3504         New file.
3505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3506         New file.
3507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3508         New file.
3509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3510         New file.
3511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3512         New file.
3514 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3516         * nptl/shlib-versions: Change powerpc*le start to 2.17.
3517         * shlib-versions: Likewise.
3519 2014-02-04  Roland McGrath  <roland@hack.frob.com>
3520             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3522         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3523         (abilist-pattern): New variable, set to %-le.abilist.
3525         * Makerules (abilist-pattern): New variable.
3526         (vpath): Use $(abilist-pattern) in place of %.abilist.
3527         (check-abi-% pattern rule): Likewise.
3528         (check-abi, update-abi): Likewise.
3530 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3534 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3538 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
3540         * manual/startup.texi: Add next, previous, and top entries for
3541         the `Program Arguments' and `Environment Variables' nodes.
3543 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
3545         * manual/macros.texi: Add comments before MTASC-safety macros.
3547         * manual/users.texi: Document MTASC-safety properties.
3549         * manual/threads.texi (pthread_key_create, pthread_key_delete,
3550         pthread_getspecific, pthread_setspecific): Format with
3551         @deftypefun, and add @safety note.
3552         * manual/signal.texi: Move comments that analyze the above
3553         functions to their home place.
3555 2014-02-03  Allan McRae  <allan@archlinux.org>
3557         * po/sl.po: Update Slovenian translation from translation project.
3559 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
3561         * manual/time.texi (timegm): Add missing blank after @c.
3562         Reported by Joseph Myers <joseph@codesourcery.com>.
3564 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
3566         * manual/check-safety.sh: New.
3567         * manual/Makefile ($(objpfx)stamp-summary): Run it.
3569         * manual/terminal.texi: Document MTASC-safety properties.
3571         * manual/filesys.texi: Document MTASC-safety properties.
3573         * manual/errno.texi: Document MTASC-safety properties.
3575         * manual/intro.texi: Document safety identifiers and
3576         conditionals.
3578         * manual/string.texi (wcstok): Fix prototype.
3579         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3581         * manual/time.texi: Document MTASC-safety properties.
3583         * manual/string.texi: Document MTASC-safety properties.
3585         * manual/threads.texi: Document MTASC-safety properties.
3587         * manual/stdio.texi: Document MTASC-safety properties.
3589         * manual/syslog.texi: Document MTASC-safety properties.
3591         * manual/sysinfo.texi: Document MTASC-safety properties.
3593         * manual/startup.texi: Document MTASC-safety properties.
3595         * manual/socket.texi: Document MTASC-safety properties.
3597         * manual/signal.texi: Document MTASC-safety properties.
3599 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
3601         * manual/setjmp.texi: Document MTASC-safety properties.
3603         * manual/search.texi: Document MTASC-safety properties.
3605         * manual/resource.texi: Document MTASC-safety properties.
3607         * manual/process.texi: Document MTASC-safety properties.
3609         * manual/platform.texi: Document MTASC-safety properties.
3611         * manual/pipe.texi: Document MTASC-safety properties.
3613         * manual/pattern.texi: Document MTASC-safety properties.
3615         * manual/message.texi: Document MTASC-safety properties.
3617         [BZ #12751]
3618         * manual/memory.texi: Document MTASC-safety properties.
3620         * manual/math.texi: Document MTASC-safety properties.
3622         * manual/locale.texi: Document MTASC-safety properties.
3624         * manual/llio.texi: Document MTASC-safety properties.
3626         * manual/libdl.texi: New.
3628         * manual/lang.texi: Document MTASC-safety properties.
3630         * manual/job.texi: Document MTASC-safety properties.
3632         * manual/getopt.texi: Document MTASC-safety properties.
3634         * manual/ctype.texi: Document MTASC-safety properties.
3636 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
3638         [BZ #16046]
3639         * csu/libc-tls.c (static_map): Remove variable.
3640         (__libc_setup_tls): Use main executable's link map for TLS data.
3641         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3642         casing for LM_ID_BASE and GL(dl_nns).
3643         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3644         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
3645         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3646         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3647         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3648         member.
3649         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3650         l_phnum members.
3652 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
3654         * manual/debug.texi: Document MTASC-safety properties.
3656 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
3658         [BZ #16510]
3659         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3660         of __x86_64__ when disabling x87 inline functions.
3662 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
3664         * manual/charset.texi: Document MTASC-safety properties.
3666         * manual/crypt.texi: Document MTASC-safety properties.
3668         * manual/conf.texi: Document MTASC-safety properties.
3670         * manual/arith.texi: Document MTASC-safety properties.
3672         * manual/argp.texi: Document MTASC-safety properties.
3674         * manual/macros.texi: Introduce macros to document multi
3675         thread, asynchronous signal and asynchronous cancellation
3676         safety properties.
3677         * manual/intro.texi: Introduce the properties themselves.
3679 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3681         * sysdeps/sh/sh4/Makefile: New file.
3683 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
3685         * math/gen-libm-test.pl ($srcdir): New variable.
3686         ($auto_input): Use it.
3688 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3690         [BZ #16506]
3691         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3692         access beyond array bounds when parsing netgroups file.
3694         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3695         the old buffer before realloc.
3697 2014-01-27  Allan McRae  <allan@archlinux.org>
3699         * po/fr.po: Update French translation from translation project.
3701 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3703         * sysdeps/sh/libm-test-ulps: Regenerate.
3705 2014-01-24  David S. Miller  <davem@davemloft.net>
3707         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3709 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3711         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3712         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3714 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3716         [BZ #16474]
3717         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3718         string pointers after reallocation.
3720 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3722         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3723         __SH4A__ instead of __SH_FPU_ANY__.
3725 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3727         * sysdeps/sh/fpu_control.h: New file.
3728         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3729         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3730         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3731         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3732         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3733         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3734         * sysdeps/sh/sys/ucontext.h: Remove.
3735         * sysdeps/sh/sys: Remove directory.
3737 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3739         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3740         s390/sys/ucontext.h.
3741         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3742         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3744 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
3746         [BZ #15605]
3747         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3749 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3751         [BZ#16431]
3752         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3753         Adjust the vDSO correctly for internal calls.
3754         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3756 2014-01-20  Allan McRae  <allan@archlinux.org>
3758         * po/ca.po: Update Catalan translation from translation project.
3760 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
3762         * sysdeps/s390/sotruss-lib.c: New file.
3764 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3766         [BZ#16430]
3767         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
3768         (__GI___gettimeofday): Alias for a different internal symbol to avoid
3769         local calls issues by not having a PLT stub required for IFUNC calls.
3770         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3772 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
3774         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3775         * math/test-fpucw-static.c: Likewise.
3777 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3779         [BZ #16453]
3780         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3782 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3784         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3785         implementation for powerpc.
3787 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
3789         [BZ #14782]
3790         * sysdeps/posix/system.c (__libc_system): Do not enable
3791         asynchronous cancellation.
3793 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3795         [BZ #16427]
3796         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3797         handling only for numbers special also in the IEEE case.
3799 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3801         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3803 2014-01-11  Allan McRae  <allan@archlinux.org>
3805         * po/bg.po: Update Bulgarian translation from translation project.
3807         * po/de.po: Update German translation from translation project.
3809 2014-01-10  Roland McGrath  <roland@hack.frob.com>
3811         * sysdeps/generic/gcc-compat.h: New file.
3813 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3815         * benchtests/asin-inputs: Correct slow inputs.
3816         * benchtests/acos-inputs: Likewise.
3818 2014-01-10  Allan McRae  <allan@archlinux.org>
3820         * po:sv.po: Update Swedish translation from translation project.
3822         * po/vi.po: Update Vietnamese translation from translation project.
3824         * po/eo.po: Update Esperanto translation from translation project.
3826         * po/cs.po: Update Czech translation from translation project.
3828         * po/nl.po: Update Dutch translation from translation project.
3830         * po/pl.po: Update Polish translation from translation project.
3832         * po/ru.po: Update Russian translation from translation project.
3834         * po/uk.po: Update Ukrainian translation from translation project.
3836 2014-01-08  Brooks Moses  <bmoses@google.com>
3838         * elf/dl-load.c: Fix comment typo.
3840 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
3842         * po/header.pot: Rename to...
3843         * po/pot.header: ... this.
3844         * po/Makefile: Use pot.header.
3846 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
3847             Maxim Kuvyrkov  <maxim@kugelworks.com>
3849         [BZ #16394]
3850         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3851         SRC and DEST against LEN.
3853 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3855         [BZ #16414]
3856         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3857         implementation.
3858         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3860 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3864 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
3866         [BZ #16408]
3867         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3868         for large positive arguments.
3870 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
3872         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3874         * math/auto-libm-test-in: Mark various tests with
3875         xfail-rounding:ldbl-128ibm.
3876         * math/auto-libm-test-out: Regenerated.
3878         [BZ #16407]
3879         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3880         Increase overflow threshold.
3882 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
3884         [BZ #14286]
3885         * stdio-common/vfprintf.c: Check for integer overflow.
3887 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3889         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3890         the first argument and return value of __tls_get_addr_internal.
3892 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3894         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3895         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3897 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3899         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3900         * sysdeps/s390/rtld-global-offsets.sym: New file.
3901         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3902         GLIBC_2.19 symbol.
3903         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3904         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3905         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3906         ... this.
3907         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3908         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3909         ... this.
3910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3911         Regenerate.
3912         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3913         Regenerate.
3914         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3915         halfs of GPRs for high_gprs contexts.
3916         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3917         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
3918         field.
3919         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3920         uc_flags field.
3921         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3922         64 bit versions:
3923         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3924         for high GPRs (uc_high_gprs) and for future extensions
3925         (__reserved).
3926         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3927         for future extensions (__reserved).
3928         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3929         64 bit versions:
3930         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3931         SC_HIGHGPRS offset definition.
3932         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3933         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3935 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3937         * Versions.def: Add GLIBC_2.19 for libpthread.
3938         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3939         siglongjmp for libpthread with GLIBC_2.19 symver.
3940         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3941         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3942         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3943         * sysdeps/s390/__longjmp.c: New file.
3944         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3945         * sysdeps/s390/longjmp.c: New file.
3946         * sysdeps/s390/setjmp.S: New file.
3947         * sysdeps/s390/sigjmp.S: New file.
3948         * sysdeps/s390/v1-longjmp.c: New file.
3949         * sysdeps/s390/v1-setjmp.h: New file.
3950         * sysdeps/s390/v1-sigjmp.c: New file.
3951         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3952         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3953         GLIBC_2.19 version.
3954         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3955         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3956         versioned symbols for ____longjmp_chk.
3957         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3958         Likewise.
3959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3960         Regenerate.
3961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3962         Regenerate.
3963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3964         Regenerate.
3965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3966         Regenerate.
3967         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3968         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3969         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3970         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3971         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3972         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3973         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3974         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3975         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3976         * sysdeps/s390/rtld-__longjmp.c: New file.
3977         * sysdeps/s390/rtld-setjmp.S: New file.
3979 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
3981         [BZ #16400]
3982         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3983         Return -__logl (x) for small positive arguments without evaluating
3984         a polynomial.
3986 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
3988         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3989         Rename to ...
3990         (__ptrace_peeksiginfo_args): ... this.
3991         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3992         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3993         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3995 2014-01-06  Allan McRae  <allan@archlinux.org>
3997         * inet/netinet/in.h: Fix typo in comment.
3999 2014-01-05  Andreas Jaeger  <aj@suse.de>
4001         * sysdeps/i386/fpu/libm-test-ulps: Update.
4003 2014-01-05  Allan McRae  <allan@archlinux.org>
4005         * po/libc.pot: Regenerated.
4007         * malloc/memusagestat.c: Fix gettext call formatting.
4009 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
4011         * nscd/nscd.c: Improve usage() output.
4013 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
4015         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4016         * sysdeps/unix/sysv/linux/configure: Regenerated.
4017         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4018         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4020 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4022         [BZ #16390]
4023         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4024         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4026 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4028         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4029         extra tokens at end of #undef directive.
4030         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4031         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4032         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4034 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
4036         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4038         * math/auto-libm-test-in: Mark various tests with
4039         xfail-rounding:ldbl-128ibm.
4040         * math/auto-libm-test-out: Regenerated.
4042 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
4044         [BZ #16386]
4045         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4046         numbers with subnormal high part when calculating exponent.
4048         [BZ #16385]
4049         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4050         fabs.
4052         [BZ #16384]
4053         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4054         M_LN2l.
4055         (__ieee754_acoshl): Use __log1pl not __log1p.
4057 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
4059         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4060         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4061         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4062         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4063         Convert to GNU style.
4064         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4065         mem2mem_check, mem2chunk_check, top_check, realloc_check,
4066         memalign_check, __malloc_set_state): Likewise.
4067         * malloc/mallocbug.c (main): Likewise.
4068         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4069         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4070         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4071         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4072         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4073         * malloc/malloc.h: Likewise.
4074         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4075         memalignhook, reallochook, mabort): Likewise.
4076         * malloc/mcheck.h: Likewise.
4077         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4078         mmap64, mremap, munmap, dest): Likewise.
4079         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4080         * malloc/morecore.c (__default_morecore): Likewise.
4081         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4082         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4083         _obstack_allocated_p, obstack_free, _obstack_memory_used,
4084         print_and_abort): Likewise.
4085         * malloc/obstack.h: Likewise.
4086         * malloc/set-freeres.c (__libc_freeres): Likewise.
4087         * malloc/tst-mallocstate.c (main): Likewise.
4088         * malloc/tst-mtrace.c (main): Likewise.
4089         * malloc/tst-realloc.c (do_test): Likewise.
4091 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4093         [BZ #16366]
4094         * nscd/netgroupcache.c (do_notfound): New function.
4095         (addgetnetgrentX): Use it.
4097         [BZ # 16365]
4098         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4099         NSS_STATUS_NOTFOUND.
4101 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
4103         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4106 2014-01-01  Allan McRae  <allan@archlinux.org>
4108         * scripts/update-copyrights: Update configure input file suffix.
4110         * NEWS: Update copyright year.
4111         * catgets/gencat.c: Likewise.
4112         * csu/version.c: Likewise.
4113         * debug/catchsegv.sh: Likewise.
4114         * debug/pcprofiledump.c: Likewise.
4115         * debug/xtrace.sh: Likewise.
4116         * elf/ldconfig.c: Likewise.
4117         * elf/ldd.bash.in: Likewise.
4118         * elf/pldd.c: Likewise.
4119         * elf/sotruss.ksh: Likewise.
4120         * elf/sprof.c: Likewise.
4121         * iconv/iconv_prog.c: Likewise.
4122         * iconv/iconvconfig.c: Likewise.
4123         * locale/programs/locale.c: Likewise.
4124         * locale/programs/localedef.c: Likewise.
4125         * login/programs/pt_chown.c: Likewise.
4126         * malloc/memusage.sh: Likewise.
4127         * malloc/memusagestat.c: Likewise.
4128         * malloc/mtrace.pl: Likewise.
4129         * manual/libc.texinfo: Likewise.
4130         * nscd/nscd.c: Likewise.
4131         * nss/getent.c: Likewise.
4132         * nss/makedb.c: Likewise.
4133         * posix/getconf.c: Likewise.
4134         * scripts/test-installation.pl: Likewise.
4136         * All files with FSF copyright notices: Update copyright dates
4137         using scripts/update-copyrights.
4138         * intl/plural.c: Regenerated.
4139         * locale/programs/charmap-kw.h: Likewise.
4140         * locale/programs/locfile-kw.h: Likewise.
4142 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
4144         * sysdeps/unix/sysv/linux/configure: Regenerated.
4145         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4146         the linux/fanotify.h header.
4147         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4148         HAVE_LINUX_FANOTIFY_H is defined.
4150 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
4152         * benchtests/cos-inputs: New inputs.
4153         * benchtests/sin-inputs: Likewise.
4155         * benchtests/atan-inputs: New inputs. Fix name of multiple
4156         precision fallback inputs.
4158         * benchtests/atanh-inputs: New inputs.
4159         * benchtests/tanh-inputs: Likewise.
4161         * benchtests/acosh-inputs: New inputs.
4162         * benchtests/asinh-inputs: Likewise.
4164         * benchtests/cosh-inputs: New inputs.
4165         * benchtests/sinh-inputs: Likewise.
4167         * benchtests/acos-inputs: Add more inputs.
4168         * benchtests/asin-inputs: Likewise.
4170 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
4172         [BZ #16375]
4173         * manual/arith.texi: Fix spelling.
4174         * manual/charset.texi: Likewise.
4175         * manual/errno.texi: Likewise.
4176         * manual/filesys.texi: Likewise.
4177         * manual/lang.texi: Likewise.
4178         * manual/llio.texi: Likewise.
4179         * manual/locale.texi: Likewise.
4180         * manual/message.texi: Likewise.
4181         * manual/resource.texi: Likewise.
4182         * manual/search.texi: Likewise.
4183         * manual/setjmp.texi: Likewise.
4184         * manual/stdio.texi: Likewise.
4185         * manual/string.texi: Likewise.
4186         * manual/sysinfo.texi: Likewise.
4187         * manual/time.texi: Likewise.
4189 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
4191         * po/sl.po: New file.
4193 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
4195         * .gitignore: Add core/.gdbinit/.gdb_history.
4197 2013-12-27  Allan McRae  <allan@archlinux.org>
4199         [BZ #16369]
4200         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4201         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4203 2013-12-24  Brooks Moses  <bmoses@google.com>
4205         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4206         all compilers that claim C++98 compliance, not just GCC.
4207         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4208         Likewise.
4210 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4212         * NEWS: Restore accidentally deleted bug-fix entries.
4214 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4215             Ondřej Bílka  <neleai@seznam.cz>
4217         [BZ #15073]
4218         * malloc/malloc.c (_int_free): Perform sanity check only if we
4219         have_lock.
4221 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
4223         [BZ #12986]
4224         * manual/stdio.texi (String Input Conversions): Clarify that character
4225         classes are not supported.
4227 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4231 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
4233         [BZ #16337]
4234         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4235         Calculate results for small negative arguments directly rather
4236         than using reflection formula with special underflow handling.
4238         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4239         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4240         sysdeps/unix/bsd/bsd4.4/syscalls.list.
4241         (fchflags): Likewise.
4242         (revoke): Likewise.
4243         (setlogin): Likewise.
4244         (sigaltstack): Likewise.
4245         (wait4): Likewise.
4246         (sigblock): Remove.
4247         (sigsetmask): Likewise.
4248         (wait3): Likewise.
4249         (waitpid): Likewise.
4250         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4251         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4252         file.
4253         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4254         * sysdeps/unix/bsd/Makefile: ... here.
4255         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4256         * sysdeps/unix/bsd/Versions: ... here.
4257         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4258         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4259         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4260         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4261         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4262         * sysdeps/unix/bsd/sigblock.c: ... here.
4263         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4264         * sysdeps/unix/bsd/sigsetmask.c: ... here.
4265         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4266         * sysdeps/unix/bsd/sigvec.c: ... here.
4267         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4268         * sysdeps/unix/bsd/tcdrain.c: ... here.
4269         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4270         * sysdeps/unix/bsd/tcgetattr.c: ... here.
4271         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4272         * sysdeps/unix/bsd/tcsetattr.c: ... here.
4273         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4274         * sysdeps/unix/bsd/wait.c: ... here.
4275         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4276         * sysdeps/unix/bsd/wait3.c: ... here.
4277         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4278         * sysdeps/unix/bsd/waitpid.c: ... here.
4280 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
4282         [BZ #16356]
4283         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4284         round-to-nearest for [!USE_AS_EXPM1L].
4285         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4286         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
4287         more tests of exp and exp10.  Expect some exp10 tests to miss
4288         exceptions or fail in directed rounding modes.
4289         * math/auto-libm-test-out: Regenerated.
4290         * math/libm-test.inc (exp10_tonearest_test_data): New array.
4291         (exp10_test_tonearest): New function.
4292         (exp10_towardzero_test_data): New array.
4293         (exp10_test_towardzero): New function.
4294         (exp10_downward_test_data): New array.
4295         (exp10_test_downward): New function.
4296         (exp10_upward_test_data): New array.
4297         (exp10_test_upward): New function.
4298         (main): Call the new functions.
4299         * sysdeps/i386/fpu/libm-test-ulps: Update.
4300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4302 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
4304         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4305         asinh, atan, atan2, atanh, cbrt, cos and cosh.
4306         * math/auto-libm-test-out: Regenerated.
4307         * math/libm-test.inc (acosh_test_data): Add more tests.
4308         (atanh_test_data): Likewise.
4309         (ceil_test_data): Likewise.
4310         (copysign_test_data): Likewise.
4311         * sysdeps/i386/fpu/libm-test-ulps: Update.
4312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4314         * timezone/checktab.awk: Update from tzcode 2013i.
4315         * timezone/private.h: Likewise.
4316         * timezone/scheck.c: Likewise.
4317         * timezone/tzfile.h: Likewise.
4318         * timezone/tzselect.ksh: Likewise.
4319         * timezone/zdump.c: Likewise.
4320         * timezone/zic.c: Likewise.
4322         * math/auto-libm-test-in: Add tests of cpow.
4323         * math/auto-libm-test-out: Regenerated.
4324         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4325         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4326         mpc_cc_c.
4327         (func_calc_desc): Add mpc_cc_c union field.
4328         (test_functions): Add cpow.
4329         (special_fill_2pi): New function.
4330         (special_real_inputs): Add 2pi.
4331         (calc_generic_results): Handle mpc_cc_c.
4332         * sysdeps/i386/fpu/libm-test-ulps: Update.
4333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4335         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4336         csqrt, ctan and ctanh.
4337         * math/auto-libm-test-out: Regenerated.
4338         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4339         (TEST_COND_x86): Likewise.
4340         (ccos_test_data): Use AUTO_TESTS_c_c.
4341         (ccosh_test_data): Likewise.
4342         (cexp_test_data): Likewise.
4343         (clog_test_data): Likewise.
4344         (csqrt_test_data): Likewise.
4345         (ctan_test_data): Likewise.
4346         (ctan_tonearest_test_data): Likewise.
4347         (ctan_towardzero_test_data): Likewise.
4348         (ctan_downward_test_data): Likewise.
4349         (ctan_upward_test_data): Likewise.
4350         (ctanh_test_data): Likewise.
4351         (ctanh_tonearest_test_data): Likewise.
4352         (ctanh_towardzero_test_data): Likewise.
4353         (ctanh_downward_test_data): Likewise.
4354         (ctanh_upward_test_data): Likewise.
4355         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4356         mpc_c_c.
4357         (func_calc_desc): Add mpc_c_c union field.
4358         (FUNC_mpc_c_c): New macro.
4359         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4360         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4361         ctanh.
4362         (special_fill_min_subnorm_p120): New function.
4363         (special_real_inputs): Add min_subnorm_p120.
4364         (calc_generic_results): Handle mpc_c_c.
4365         * sysdeps/i386/fpu/libm-test-ulps: Update.
4366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4368 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4370         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4371         do_sin_slow): New functions.
4372         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4373         cslow2, csloww1, csloww2): Use the new functions.
4375         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4376         Use M to change sign of result instead of X.  Assume X is
4377         positive.
4378         (csloww1): Likewise.
4379         (__sin): Adjust.
4380         (__cos): Adjust.
4382         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4383         arguments A and DA.
4384         (__sin): Adjust.
4385         (__cos): Likewise.
4387         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4388         (__cos): Likewise.
4389         (sloww1): Don't adjust sign of DX.
4390         (csloww1): Likewise.
4391         (sloww2): Use X directly and don't adjust sign of DX.
4392         (csloww2): Likewise.
4394 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4396         * math/auto-libm-test-in: Add tests of cabs and carg.
4397         * math/auto-libm-test-out: Regenerated.
4398         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4399         (carg_test_data): Likewise.
4400         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4401         mpc_c_f.
4402         (func_calc_desc): Add mpc_c_f union field.
4403         (test_functions): Add cabs and carg.
4404         (calc_generic_results): Handle mpc_c_f.
4406         * sysdeps/powerpc/powerpc32/libgcc-compat.S
4407         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4408         as a macro and a compat symbol.
4409         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4410         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4411         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4412         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4413         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4414         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4415         not use .hidden.
4416         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4417         Likewise.
4418         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4419         Likewise.
4420         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4421         Likewise.
4422         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4423         Likewise.
4424         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4425         Likewise.
4426         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4427         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4428         from GLIBC_2.3.2.
4430 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4434 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4436         * manual/texinfo.tex: Update to version 2013-11-26.10 with
4437         trailing whitespace removed.
4438         * scripts/config.guess: Update to version 2013-11-29.
4439         * scripts/config.sub: Update to version 2013-10-01.
4441         * math/auto-libm-test-in: Add tests of sincos.
4442         * math/auto-libm-test-out: Regenerated.
4443         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4444         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4445         mpfr_f_11.
4446         (func_calc_desc): Add mpfr_f_11 union field.
4447         (test_functions): Add sincos.
4448         (calc_generic_results): Handle mpfr_f_11.
4449         * sysdeps/i386/fpu/libm-test-ulps: Update.
4450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4452 2013-12-19  Andreas Schwab  <schwab@suse.de>
4454         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4455         CALL_MCOUNT.
4456         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4457         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4458         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4460 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4462         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4463         * sysdeps/i386/fpu/libm-test-ulps: Update.
4464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4466         [BZ #16293]
4467         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4468         round-to-nearest mode when using frndint.
4469         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4470         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4471         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4472         Likewise.
4473         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
4474         sinh test to fail.
4475         * math/auto-libm-test-out: Regenerated.
4476         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4477         (TEST_COND_x86): Likewise.
4478         (expm1_tonearest_test_data): New array.
4479         (expm1_test_tonearest): New function.
4480         (expm1_towardzero_test_data): New array.
4481         (expm1_test_towardzero): New function.
4482         (expm1_downward_test_data): New array.
4483         (expm1_test_downward): New function.
4484         (expm1_upward_test_data): New array.
4485         (expm1_test_upward): New function.
4486         (main): Run the new test functions.
4487         * sysdeps/i386/fpu/libm-test-ulps: Update.
4488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4490         * include/features.h: Update comment documenting feature test
4491         macros.  Mention _DEFAULT_SOURCE in comment.
4492         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4493         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4494         _BSD_SOURCE and _SVID_SOURCE.
4495         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4496         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4497         !_SVID_SOURCE]: Likewise.
4498         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4499         (__USE_POSIX_IMPLICITLY): Define.
4500         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4501         (_POSIX_SOURCE): Undefine and redefine.
4502         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4503         (_POSIX_C_SOURCE): Likewise.
4504         * manual/creature.texi (_DEFAULT_SOURCE): Document.
4505         (Feature Test Macros): Update documentation of default features.
4507 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4509         * benchtests/Makefile: Add bench-strtok.
4510         * benchtests/bench-strtok.c: New file: strtok benchtest.
4512 2013-12-19  Allan McRae  <allan@archlinux.org>
4514         * manual/install.texi: Suppress menu for plain text output.
4515         * INSTALL: Regenerated.
4517 2013-12-18  Brooks Moses  <bmoses@google.com>
4519         [BZ #15846]
4520         * misc/getauxval.c: Include errno.h.
4521         (__getauxval): Set errno to ENOENT if the requested type is not
4522         found.
4523         * misc/sys/auxv.h (getauxval): Document that it may set errno;
4524         don't declare with __attribute_const__.
4525         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4526         * manual/startup.texi: Document that getauxval sets errno.
4528 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4530         * math/auto-libm-test-in: Add tests of jn and yn.
4531         * math/auto-libm-test-out: Regenerated.
4532         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4533         (yn_test_data): Likewise.
4534         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4535         mpfr_if_f.
4536         (func_calc_desc): Add mpfr_if_f union field.
4537         (FUNC_mpfr_if_f): New macro.
4538         (test_functions): Add jn and yn.
4539         (calc_generic_results): Assert type of second input for
4540         mpfr_ff_f.  Handle mpfr_if_f.
4541         (output_for_one_input_case): Disable all checking for arguments
4542         fitting floating-point types in case of an integer argument.
4543         * sysdeps/i386/fpu/libm-test-ulps: Update.
4544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4547         Don't expect fegetround reference in libm.so.
4549 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4551         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4552         $(config-cflags-nofma).
4554 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4556         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4557         * math/auto-libm-test-out: Regenerated.
4559         [BZ #16338]
4560         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4561         to determine exponent and adjust argument to have exponent of -1.
4562         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4563         log2.
4564         * math/auto-libm-test-out: Regenerated.
4565         * sysdeps/i386/fpu/libm-test-ulps: Update.
4566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4568 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
4570         * manual/probes.texi: Remove cases when per-thread arenas are
4571         disabled.
4573 2013-12-18  Andreas Schwab  <schwab@suse.de>
4575         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4576         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4577         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4578         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4579         * sysdeps/i386/i686/multiarch/Makefile: Update.
4580         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4582 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4584         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4585         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4587 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
4589         [BZ #15968]
4590         Support TZ transition times < 00:00:00.
4591         This is needed for version-3 tz-format files; it supports time
4592         stamps past 2037 for America/Godthab (the only entry in the tz
4593         database for which this change is relevant).
4594         * manual/time.texi (TZ Variable): Document transition times
4595         from -167:59:59 through -00:00:01.
4596         * time/tzset.c (tz_rule): Time of day is now signed.
4597         (__tzset_parse_tz): Parse negative time of day.
4599         Document TZ transition times >= 25:00:00.
4600         * manual/time.texi (TZ Variable): Document transition times from
4601         25:00:00 through 167:59:59.  These are already supported, and this
4602         support will help with version-3 tz-format files.
4604         * manual/time.texi (TZ Variable): Modernize North America example
4605         to reflect current (i.e., 2007-and-later) daylight saving rules.
4607         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4609 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4611         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4612         * sysdeps/unix/bsd/bits/stat.h: Likewise.
4613         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4614         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4615         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4616         * sysdeps/unix/bsd/bsdstat.h: Likewise.
4617         * sysdeps/unix/bsd/clock.c: Likewise.
4618         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4619         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4620         * sysdeps/unix/bsd/init-posix.c: Likewise.
4621         * sysdeps/unix/bsd/poll.c: Likewise.
4622         * sysdeps/unix/bsd/ptsname.c: Likewise.
4623         * sysdeps/unix/bsd/seekdir.c: Likewise.
4624         * sysdeps/unix/bsd/setegid.c: Likewise.
4625         * sysdeps/unix/bsd/seteuid.c: Likewise.
4626         * sysdeps/unix/bsd/setgid.c: Likewise.
4627         * sysdeps/unix/bsd/setrgid.c: Likewise.
4628         * sysdeps/unix/bsd/setruid.c: Likewise.
4629         * sysdeps/unix/bsd/setsid.c: Likewise.
4630         * sysdeps/unix/bsd/setuid.c: Likewise.
4631         * sysdeps/unix/bsd/sigaction.c: Likewise.
4632         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4633         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4634         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4635         * sysdeps/unix/bsd/telldir.c: Likewise.
4636         * sysdeps/unix/bsd/times.c: Likewise.
4637         * sysdeps/unix/bsd/usleep.c: Likewise.
4639         * misc/Makefile (install-lib): Remove libbsd-compat.a.
4640         ($(objpfx)libbsd-compat.a): Remove rule.
4642         * include/features.h (__FAVOR_BSD): Do not define.
4643         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4644         features conflicting with POSIX.
4645         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4646         (_BSD_SOURCE): Remove description of not being a subset of other
4647         feature test macros.
4648         * manual/job.texi (getpgrp): Do not document BSD version.
4649         (getpgid): Do not document by reference to BSD getpgrp.
4650         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4651         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4652         * signal/signal.h [__FAVOR_BSD]: Likewise.
4653         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4654         instead of making contents conditional on [__FAVOR_BSD].
4655         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4657 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4659         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4661 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4663         [BZ #16314]
4664         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4665         values below 2**-450, not 2**-500.
4666         * math/auto-libm-test-in: Don't allow spurious underflow from
4667         hypot.
4668         * math/auto-libm-test-out: Regenerated.
4670         [BZ #16316]
4671         [BZ #16330]
4672         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4673         values of ha and hb and sort them after adjusting subnormal
4674         arguments.
4675         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4676         Likewise.
4677         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4678         values of ea and eb and sort them after adjusting subnormal
4679         arguments.
4680         * math/auto-libm-test-in: Do not expect some hypot tests of
4681         subnormals to fail.  Add more hypot tests.
4682         * math/auto-libm-test-out: Regenerated.
4684 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4686         [BZ #13304]
4687         * sysdeps/sh/s_fma.c: New file.
4688         * sysdeps/sh/s_fmaf.c: New file.
4689         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
4690         version.
4691         * sysdeps/sh/Implies: Add sh/soft-fp.
4693 2013-12-16  Roland McGrath  <roland@hack.frob.com>
4695         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
4696         level of indirection to members `objname', `errstring', `malloced'.
4697         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4698         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
4699         it as the __longjmp argument (just pass 1 instead).
4700         (_dl_catch_error): Initialize C with argument pointers and address of
4701         volatile local ERRCODE rather than copying values out of C at return.
4703 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
4705         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4706         * math/auto-libm-test-out: Regenerated.
4707         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4708         (hypot_test_data): Likewise.
4709         (pow_test_data): Likewise.
4710         (pow_tonearest_test_data): Likewise.
4711         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4712         mpfr_ff_f.
4713         (func_calc_desc): Add mpfr_ff_f union field.
4714         (FUNC_mpfr_ff_f): New macro.
4715         (test_functions): Add atan2, hypot and pow.
4716         (special_fill_min): New function.
4717         (special_fill_minus_min): Likewise.
4718         (special_fill_min_subnorm): Likewise.
4719         (special_fill_minus_min_subnorm): Likewise.
4720         (special_real_inputs): Add min, -min, min_subnorm and
4721         -min_subnorm.
4722         (calc_generic_results): Handle mpfr_ff_f.
4723         * sysdeps/i386/fpu/libm-test-ulps: Update.
4724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4726 2013-12-16  Will Newton  <will.newton@linaro.org>
4728         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4729         (Aligned Memory Blocks): Add documentation for aligned_alloc
4730         and suggest it as an alternative to posix_memalign.
4731         (Hooks for Malloc): Document __memalign_hook is also called
4732         for aligned_alloc.  (Summary of Malloc): Add summary for
4733         aligned alloc.  Document __memalign_hook is also called
4734         for aligned_alloc.
4736 2013-12-16  Will Newton  <will.newton@linaro.org>
4738         * manual/memory.texi (Malloc Examples): Clarify default
4739         alignment documentation.  Suggest posix_memalign rather
4740         than memalign or valloc.
4741         (Aligned Memory Blocks): Remove suggestion to use memalign
4742         or valloc.  Remove obsolete comment about BSD.
4743         Document memalign errno values and mark the function obsolete.
4744         Document posix_memalign returned error codes.  Mark valloc
4745         as obsolete.  (Hooks for Malloc): __memalign_hook is also
4746         called for posix_memalign and valloc.
4747         (Summary of Malloc): Add posix_memalign to function summary.
4748         __memalign_hook is also called for posix_memalign and valloc.
4750 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4752         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4753         TAYLOR_SIN.
4754         (__sin): Adjust.
4755         (__cos): Likewise.
4756         (sloww): Use mynumber union.  Expand ternary operator into
4757         if-else statements.
4758         (cslow): use mynumber union.
4760 2013-12-16  Allan McRae  <allan@archlinux.org>
4762         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4763         * configure: Regenerated.
4765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4767         [BZ #14120]
4768         * configure.ac: Added --enable-maintainer-mode. Check for
4769         autoconf when enabled.
4770         * configure: Regenerated.
4772         * nscd/nscd.service: New file.
4773         * nscd/nscd.tmpfiles: New file.
4775 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
4777         [BZ #12100]
4778         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4779         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4780         * sysdeps/x86_64/multiarch/strstr.c: ... here.
4781         (strstr): Add __strstr_sse2_unaligned ifunc.
4782         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4783         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4784         (strcasestr): Remove __strcasestr_sse42 ifunc.
4785         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4786         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4789 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4791         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4792         * sysdeps/sh/bits/fenv.h: ... here.
4793         * sysdeps/sh/sh4/fpu/bits: Remove directory.
4795 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4797         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4799 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4801         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4802         hypotf multiarch implementations.
4803         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4804         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4805         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4806         multiarch hypot for PPC64.
4807         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4808         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4809         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4810         multiarch hypotf for PPC64.
4812 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4815         modff multiarch implementations.
4816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4819         multiarch modf for PPC64.
4820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4823         multiarch modff for PPC64.
4825 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4827         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4828         and logl multiarch implementations.
4829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4832         multiarch logb for PPC64.
4833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4836         multiarch logb for PPC64.
4837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4840         multiarch logb for PPC64.
4842 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4845         isinff multiarch implementation.
4846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4847         file.
4848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4850         multiarch isinf for PPC64.
4851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4852         file.
4853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4854         multiarch isinff for PPC64.
4856 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4858         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4859         finitef multiarch implementation.
4860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4861         file.
4862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4864         multiarch finite for PPC64.
4865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4866         file.
4867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4868         multiarch finitef for PPC64.
4870 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4873         lrint multiarch implementation.
4874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4875         file.
4876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4878         multiarch llrint for PPC64.
4879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4880         multiarch lrint for PPC64.
4882 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4884         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4885         copysignf multiarch implementation.
4886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4887         file.
4888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4889         file.
4890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4891         multiarch copysign for PPC64.
4892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4893         multiarch copysignf for PPC64.
4895 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4897         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4898         multiarch implementation.
4899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4900         file.
4901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4902         file.
4903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4904         file.
4905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4906         file.
4907         multiarch llround for PPC64.
4908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4909         multiarch trunc for PPC64.
4910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4911         multiarch truncf for PPC64.
4913 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4915         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4916         multiarch implementation.
4917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4918         file.
4919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4920         file.
4921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4922         file.
4923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4924         file.
4925         multiarch llround for PPC64.
4926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4927         multiarch round for PPC64.
4928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4929         multiarch roundf for PPC64.
4931 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4933         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4934         multiarch implementation.
4935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4936         file.
4937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4938         file.
4939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4940         file.
4941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4942         file.
4943         multiarch llround for PPC64.
4944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4945         multiarch floor for PPC64.
4946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4947         multiarch floorf for PPC64.
4949 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4951         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4952         multiarch implementation.
4953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4954         file.
4955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4956         file.
4957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4958         file.
4959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4960         file.
4961         multiarch llround for PPC64.
4962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4963         multiarch ceil for PPC64.
4964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4965         multiarch ceilf for PPC64.
4967 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4970         multiarch implementation.
4971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4972         file.
4973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4974         file.
4975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4976         file.
4977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4978         multiarch llround for PPC64.
4979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4980         multiarch lround for PPC64.
4982 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4984         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4985         multiarch implementation.
4986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4989         file.
4990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4993         multiarch isnan for PPC64.
4994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4995         multiarch isnanf for PPC64.
4997 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4999         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5000         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5001         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5002         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5003         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5006 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5008         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5009         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5010         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5011         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5013 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5016         multiarch implementations.
5017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5018         (__libc_ifunc_impl_list): Likewise.
5019         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5020         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5021         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5022         multiarch stpcpy for PPC64.
5024 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5026         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5027         multiarch implementations.
5028         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5029         (__libc_ifunc_impl_list): Likewise.
5030         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5031         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5032         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5033         multiarch strcpy for PPC64.
5035 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5037         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5038         redefine function name.
5039         (_wordcopy_fwd_dest_aligned): Likewise.
5040         (_wordcopy_bwd_aligned): Likewise.
5041         (_wordcopy_bwd_dest_aligned): Likewise.
5042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5043         multiarch implementations.
5044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5045         (__libc_ifunc_impl_list): Likewise.
5046         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5047         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5048         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5049         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5050         multiarch wcscpy for PPC64.
5052 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5055         multiarch implementations.
5056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5057         (__libc_ifunc_impl_list): Likewise.
5058         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5059         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5060         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5061         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5062         multiarch wcscpy for PPC64.
5064 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5067         multiarch implementations.
5068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5069         (__libc_ifunc_impl_list): Likewise.
5070         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5071         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5072         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5073         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5074         multiarch wcsrchr for PPC64.
5076 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5079         multiarch implementations.
5080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5081         (__libc_ifunc_impl_list): Likewise.
5082         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5083         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5084         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5085         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5086         multiarch wcschr for PPC64.
5088 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5090         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5091         multiarch implementations.
5092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5093         (__libc_ifunc_impl_list): Likewise.
5094         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5095         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5096         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5097         multiarch strchrnul for PPC64.
5099 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5102         implementations.
5103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5104         (__libc_ifunc_impl_list): Likewise.
5105         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5106         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5107         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5108         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5109         strchr for PPC64.
5111 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5114         implementations.
5115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5116         (__libc_ifunc_impl_list): Likewise.
5117         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5118         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5119         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5120         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5121         strncmp for PPC64.
5123 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5126         multiarch implementations.
5127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5128         (__libc_ifunc_impl_list): Likewise.
5129         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5130         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5131         strncasecmp for PPC64.
5132         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5133         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5134         multiarch strncasecmp_l for PPC64.
5136 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5139         multiarch implementations.
5140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5141         (__libc_ifunc_impl_list): Likewise.
5142         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5143         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5144         multiarch strcasecmp for PPC64.
5145         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5146         file.
5147         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5148         multiarch strcasecmp_l for PPC64.
5150 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5152         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5153         implementations.
5154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5155         (__libc_ifunc_impl_list): Likewise.
5156         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5157         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5158         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5159         strnlen for PPC64.
5161 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5164         implementations.
5165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5166         (__libc_ifunc_impl_list): Likewise.
5167         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5168         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5169         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5170         strlen for PPC64.
5172 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5175         implementations.
5176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5177         (__libc_ifunc_impl_list): Likewise.
5178         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5179         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5180         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5181         rawmemrchr for PPC64.
5183 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5186         implementation.
5187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5188         (__libc_ifunc_impl_list): Likewise.
5189         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5190         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5191         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5192         memrchr for PPC64.
5194 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5197         implementation.
5198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5199         (__libc_ifunc_impl_list): Likewise.
5200         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5201         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5202         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5203         memchr for PPC64.
5205 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5207         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5208         implementation.
5209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5210         (__libc_ifunc_impl_list): Likewise.
5211         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5212         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5213         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5214         mempcpy for PPC64.
5216 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5218         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5219         avoid cretion of __bzero symbol.
5220         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5221         Likewise.
5222         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5223         Likewise.
5224         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5225         Likewise.
5226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5227         multiarch implementations.
5228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5229         (__libc_ifunc_impl_list): Likewise.
5230         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5231         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5232         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5233         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5234         bzero for PPC32.
5235         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5236         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5237         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5238         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5239         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5240         memset for PPC64.
5241         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5243 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5245         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5247         implementations.
5248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5249         (__libc_ifunc_impl_list): Likewise.
5250         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5251         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5252         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5253         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5254         memcmp for PPC64.
5256 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5259         multiarch for POWER/PPC64.
5260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5261         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5262         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5263         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5264         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5265         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5266         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5267         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5268         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5269         memcpy for PPC64.
5271 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5273         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5274         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5275         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5276         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5277         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5278         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5279         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5280         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5281         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5282         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5283         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5284         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5285         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5286         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5287         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5296 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5298         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5300 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5302         * benchtests/Makefile (bench): Add exp2 and log2.
5303         (LDLIBS-bench-exp2): Add -lm.
5304         (LDLIBS-bench-log2): Likewise.
5305         * benchtests/exp2-inputs: New inputs file.
5306         * benchtests/log2-inputs: New inputs file.
5307         * benchtests/log-inputs: Add new inputs.
5308         * benchtests/tan-inputs: Likewise.
5310 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5312         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5313         definition...
5314         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5315         csloww1, csloww2): ... from here.
5317         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5318         instead of structures.
5319         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5320         (POLYNOMIAL): Likewise.
5321         (TAYLOR_SLOW): Likewise.
5322         (__sin): Likewise.
5323         (__cos): Likewise.
5324         (slow1): Likewise.
5325         (slow2): Likewise.
5326         (sloww): Likewise.
5327         (sloww1); Likewise.
5328         (sloww2): Likewise.
5329         (bsloww1): Likewise.
5330         (bsloww2): Likewise.
5331         (cslow2): Likewise.
5332         (csloww): Likewise.
5333         (csloww1): Likewise.
5334         (csloww2): Likewise.
5336 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5338         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5339         (__malloc_assert, __libc_realloc, __libc_calloc,
5340         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5341         memcpy and memset.
5342         * malloc/hooks.c (realloc_check): Likewise.
5344 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5346         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5347         * malloc/arena.c: Remove PER_THREAD conditional.
5348         [!PER_THREAD]: Remove code.
5349         (ptmalloc_unlock_all2): Likewise.
5350         (ptmalloc_init): Likewise.
5351         (_int_new_arena): Likewise.
5352         (arena_get2): Likewise.
5353         * malloc/hooks.c (__malloc_get_state): Likewise.
5354         (__malloc_set_state): Likewise.
5355         * malloc/malloc.c: Likewise.
5356         (struct malloc_state): Likewise.
5357         (struct malloc_par): Likewise.
5358         (__libc_realloc): Likewise.
5359         (__libc_mallopt): Likewise.
5361 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5363         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5365 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5367         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5368         macro to a function.  Check for zero perturb_byte.
5369         (_int_malloc, _int_free): Remove zero perturb_byte checks.
5371 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5373         * malloc/malloc.c: (force_reg): Remove.
5374         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5375         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5376         force_reg by atomic_forced_read.
5377         * malloc/arena.c (ptmalloc_init): Likewise.
5378         * malloc/hooks.c (top_check): Likewise.
5380 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5384 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
5386         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5388 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
5390         * math/auto-libm-test-in: Add tests of lgamma.
5391         * math/auto-libm-test-out: Regenerated.
5392         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5393         (M_LOG_2_SQRT_PIl): Likewise.
5394         (lgamma_test_data): Use AUTO_TESTS_f_f1.
5395         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5396         mpfr_f_f1.
5397         (func_calc_desc): Add mpfr_f_f1 union field.
5398         (ARGS1): New macro.
5399         (ARGS2): Likewise.
5400         (ARGS3): Likewise.
5401         (ARGS4): Likewise.
5402         (RET1): Likewise.
5403         (RET2): Likewise.
5404         (CALC): Likewise.
5405         (FUNC): Likewise.
5406         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5407         (test_functions): Add lgamma.
5408         (calc_generic_results): Handle mpfr_f_f1.
5409         * sysdeps/i386/fpu/libm-test-ulps: Update.
5410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5412 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5414         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5415         __mpn_add_n for PowerPC64/POWER7.
5416         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5417         __mpn_sub_n for PowerPC64/POWER7.
5419 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5421         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5422         __mpn_addmul_1 for PowerPC64.
5423         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5424         __mpn_submul_1 for PowerPC64.
5425         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5426         for PowerPC64.
5427         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5428         for PowerPC64.
5430 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
5432         [BZ #15089]
5433         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5435 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5437         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5439 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5441         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5442         add multiarch folders.
5443         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5444         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5445         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5446         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5447         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5448         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5449         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5450         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5451         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5452         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5453         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5461 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5464         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5466         New file.
5467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5468         New file.
5469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5470         multiarch __ieee754_hypot for PowerPC32.
5471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5472         New file.
5473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5474         New file.
5475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5476         multiarch __ieee754_hypotf for PowerPC32.
5478 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5480         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5481         long_double_symbol only if __logbl is defined.
5482         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5483         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5484         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5485         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5486         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5487         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5488         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5489         path for implementation.
5490         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5491         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5493         logb, and logbl multiarch implementations for PowerPC32.
5494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5495         file.
5496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5497         file.
5498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5499         multiarch logb for PowerPC32.
5500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5501         file.
5502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5503         file.
5504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5505         multiarch logbf for PowerPC32.
5506         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5508         file.
5509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5510         multiarch logbl implementation for PowerPC32.
5512 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5515         and modff multiarch implementations.
5516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5517         New file.
5518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5519         New file.
5520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5521         multiarch modf for PowerPC32.
5522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5523         New file.
5524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5525         New file.
5526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5527         multiarch modff for PowerPC32.
5529 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5532         and lrintf multiarch implementations.
5533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5534         New file.
5535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5536         New file.
5537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5538         multiarch lrint for PowerPC32.
5539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5540         file: multiarch lrintf for PowerPC32.
5542 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5545         and lroundf multiarch implementations.
5546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5547         New file.
5548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5549         New file.
5550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5551         New file.
5552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5553         multiarch lround for PowerPC32.
5554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5555         file: multiarch lroundf for PowerPC32.
5557 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5560         copysign and copysignf multiarch implementations.
5561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5562         New file.
5563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5564         New file.
5565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5566         file: multiarch copysign for PowerPC32.
5567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5568         file: multiarch copysignf for PowerPC32.
5570 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5573         and truncf multiarch implementations.
5574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5575         New file.
5576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5577         file.
5578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5579         multiarch trunc for PowerPC32.
5580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5581         New file.
5582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5583         New file.
5584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5585         multiarch truncf for PowerPC32.
5587 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5590         and roundf multiarch implementations.
5591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5592         New file.
5593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5594         file.
5595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5596         multiarch round for PowerPC32.
5597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5598         New file.
5599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5600         New file.
5601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5602         multiarch roundf for PowerPC32.
5604 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5607         and floorf multiarch implementations.
5608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5609         New file.
5610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5611         file.
5612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5613         multiarch floor for PowerPC32.
5614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5615         New file.
5616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5617         New file.
5618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5619         multiarch floorf for PowerPC32.
5621 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5624         and ceilf multiarch implementations.
5625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5626         New file.
5627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5628         file.
5629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5630         multiarch ceil for PowerPC32.
5631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5632         New file.
5633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5634         file.
5635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5636         multiarch ceilf for PowerPC32.
5638 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5640         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5641         is defined.
5642         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5643         FINITEF is defined.
5644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5645         and finitef multiarch implementations.
5646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5647         New file.
5648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5649         file.
5650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5651         multiarch finite for PowerPC32.
5652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5653         New file.
5654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5655         file: multiarch finitef for PowerPC32.
5657 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5660         and isinff multiarch implementations.
5661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5662         file.
5663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5664         file.
5665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5666         multiarch isinf for PowerPC32.
5667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5668         New file.
5669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5670         multiarch isinff for PowerPC32.
5672 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5674         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5675         alias when __isnan is defined.
5676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5677         and isnanf multiarch implementations.
5678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5679         file.
5680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5681         file.
5682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5683         file.
5684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5685         file.
5686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5687         multiarch isnan for PowerPC32.
5688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5689         New file.
5690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5691         New file.
5692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5693         multiarch isnanf for PowerPC32.
5695 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5698         and sqrtf multiarch implementations.
5699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5700         file.
5701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5702         file.
5703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5704         multiarch sqrt for PowerPC32.
5705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5706         file.
5707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5708         file.
5709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5710         multiarch sqrtf for PowerPC32.
5712 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5715         and llroundf multiarch implementations.
5716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5717         New file.
5718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5719         New file.
5720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5721         New file.
5722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5723         file: multiarch llround for PowerPC32.
5724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5725         file: multiarch llroundf for PowerPC32.
5727 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5730         multiarch PowerPC32 fpu implementations.
5731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5732         New file.
5733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5734         New file.
5735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5736         multiarch llrint for PowerPC32.
5737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5738         New file.
5739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5740         New file.
5741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5742         file.
5744 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5748 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5750         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5751         file.
5752         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5753         file.
5754         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5755         file.
5756         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5757         multiarch wordcopy for PPC32.
5758         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5759         wordcopy objects.
5760         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5761         (__libc_ifunc_impl_list): Likewise.
5762         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5763         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5764         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5765         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5766         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5767         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5769 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5771         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5773         file.
5774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5775         file.
5776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5777         file.
5778         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5779         multiarch wcscpy for PPC32.
5780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5781         multiarch objects.
5782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5783         (__libc_ifunc_impl_list): Likewise.
5784         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5785         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5786         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5787         sysdeps/powerpc/power6/wcscpy.c.
5789 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5791         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5793         file.
5794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5795         file.
5796         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5797         file.
5798         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5799         multiarch wcsrchr for PPC32.
5800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5801         multiarch objects.
5802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5803         (__libc_ifunc_impl_list): Likewise.
5804         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5805         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5806         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5807         sysdeps/powerpc/power6/wcsrchr.c.
5809 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5812         file.
5813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5814         file.
5815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5816         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5817         multiarch wcschr for PPc32.
5818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5819         multiarch objects.
5820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5821         (__libc_ifunc_impl_list): Likewise.
5822         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5823         * sysdeps/powerpc/power6/wcschr.c: ... to here.
5824         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5825         sysdeps/powerpc/power6/wcschr.c.
5827 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5829         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5830         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5831         file.
5832         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5833         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5834         file: multiarch strchr for PPC32.
5835         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5836         multiarch objects.
5837         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5838         (__libc_ifunc_impl_list): Likewise.
5840 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5842         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5843         name.
5844         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5845         file.
5846         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5847         file.
5848         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5849         multiarch strchrnul for PPC32.
5850         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5851         multiarch objects.
5852         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5853         (__libc_ifunc_impl_list): Likewise.
5855 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5857         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5858         file.
5859         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5860         multiarch strncasecmp for PPC32.
5861         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5862         file.
5863         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5864         multiarch strncasecmp_l for PPC32.
5865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5866         strncasecmp multiarch objects.
5867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5868         (__libc_ifunc_impl_list): Likewise.
5870 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5872         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5873         file.
5874         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5875         multiarch strncasecmp for PPC32.
5876         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5877         New file.
5878         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5879         multiarch strcasecmp_l for PPC32.
5880         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5881         multiarch objects.
5882         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5883         (__libc_ifunc_impl_list): Likewise.
5885 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5887         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5888         file.
5889         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5890         file.
5891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5892         multiarch strncmp for PPC32.
5893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5894         multiarch objects.
5895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5896         (__libc_ifunc_impl_list): Likewise.
5898 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5900         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5901         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5902         file.
5903         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5904         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5906         multiarch objects.
5907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5908         (__libc_ifunc_impl_list): Likewise.
5910 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5912         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5913         file.
5914         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5915         file.
5916         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5918         multiarch objects.
5919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5920         (__libc_ifunc_impl_list): Likewise.
5922 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5924         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5925         file.
5926         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5927         file.
5928         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5929         multiarch rawmemchr for PPC32.
5930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5931         multiarch objects.
5932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5933         (__libc_ifunc_impl_list): Likewise.
5935 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5937         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5938         file.
5939         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5940         file.
5941         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5942         file: memrchr multiarch for PPC32.
5943         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5944         multiarch objects.
5945         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5946         (__libc_ifunc_impl_list): Likewise.
5948 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5950         * string/memchr.c (__memchr): Using macro to redefine symbol name.
5951         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5952         file.
5953         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5954         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5955         multiarch memchr for PPC32.
5956         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5957         multiarch objects.
5958         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5959         (__libc_ifunc_impl_list): Likewise.
5961 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5963         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5964         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5965         file.
5966         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5967         file.
5968         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5969         file: multiarch mempcpy for PPC32.
5970         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5971         multiarch objects.
5972         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5973         (__libc_ifunc_impl_list): Likewise.
5975 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5977         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5978         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5979         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5980         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5981         multiarch bzero for PPC32.
5982         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5983         file.
5984         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5985         file.
5986         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5987         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5988         file: multiarch memset for PPC32.
5989         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5990         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5991         memset multiarch objects.
5992         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5993         (__libc_ifunc_impl_list): Likewise.
5995 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5997         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5998         file.
5999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6001         memcmp for PPC32.
6002         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6004         multiarch objects.
6005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6006         (__libc_ifunc_impl_list): Likewise.
6008 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6010         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6012         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6013         file.
6014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6015         file.
6016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6017         file.
6018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6019         multiarch memcpy for PPC32.
6020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6021         multiarch objects.
6022         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6023         (__libc_ifunc_impl_list): Likewise.
6025 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6028         support multiarch for POWER/PPC32.
6029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6030         Likewise.
6031         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6033         Implies file to make multiarch folder appers before the fpu and
6034         default folder for power4 configuration.
6036 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6038         * scripts/bench.pl: Append volatile keyword to type.
6040 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6042         * sysdeps/sh/sotruss-lib.c: New file.
6043         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6045 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6047         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6049 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
6051         [BZ #6810]
6052         * math/w_tgamma.c: Include <errno.h>.
6053         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
6054         * math/w_tgammaf.c: Include <errno.h>.
6055         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
6056         * math/w_tgammal.c: Include <errno.h>.
6057         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
6058         * math/auto-libm-test-in: Do not allow missing errno on tgamma
6059         underflow.  Add more tgamma tests.
6060         * math/auto-libm-test-out: Regenerated.
6061         * sysdeps/i386/fpu/libm-test-ulps: Update.
6062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6064         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6065         sin, sinh, tan, tanh, tgamma, y0 and y1.
6066         * math/auto-libm-test-out: Regenerated.
6067         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6068         (TEST_COND_x86): Likewise.
6069         (M_E2l): Remove macro.
6070         (M_E3l): Likewise.
6071         (M_2_SQRT_PIl): Likewise.
6072         (M_SQRT_PIl): Likewise.
6073         (M_1_DIV_El): Likewise.
6074         (log_test_data): Use AUTO_TESTS_f_f.
6075         (log10_test_data): Likewise.
6076         (log1p_test_data): Likewise.
6077         (log2_test_data): Likewise.
6078         (sin_test_data): Likewise.
6079         (sin_tonearest_test_data): Likewise.
6080         (sin_towardzero_test_data): Likewise.
6081         (sin_downward_test_data): Likewise.
6082         (sin_upward_test_data): Likewise.
6083         (sinh_test_data): Likewise.
6084         (sinh_tonearest_test_data): Likewise.
6085         (sinh_towardzero_test_data): Likewise.
6086         (sinh_downward_test_data): Likewise.
6087         (sinh_upward_test_data): Likewise.
6088         (tan_test_data): Likewise.
6089         (tan_tonearest_test_data): Likewise.
6090         (tan_towardzero_test_data): Likewise.
6091         (tan_downward_test_data): Likewise.
6092         (tan_upward_test_data): Likewise.
6093         (tanh_test_data): Likewise.
6094         (tgamma_test_data): Likewise.
6095         (y0_test_data): Likewise.
6096         (y1_test_data): Likewise.
6097         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6098         (special_real_inputs): Add pi/4.
6099         * sysdeps/i386/fpu/libm-test-ulps: Update.
6100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6102 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6104         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6105         "longjmp_target" static probes.
6106         (__longjmp): Rename to __longjmp_symbol.
6107         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6108         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6109         on which longjmp to generate.
6110         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6111         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6112         probe.
6113         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6114         (__sigjmp_save): Rename to __sigjmp_save_symbol.
6115         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6116         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6117         and __sigjmp_save_symbol based on which sigsetjmp to generated.
6118         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6120         __longjmp_symbol based on which __longjmp to generate.
6121         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6122         probe.
6123         (setjmp): Rename to setjmp_symbol.
6124         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6125         (_setjmp): Rename to _setjmp_symbol.
6126         (__sigsetjmp): Rename to __sigsetjmp_symbol.
6127         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6128         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6129         which setjmp to generate.
6130         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6131         "longjmp_target" static probes.
6133 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6135         * benchtests/README: Add note about output arguments.
6136         * benchtests/bench-sincos.c: Remove file.
6137         * benchtests/sincos-inputs: New file.
6138         * scripts/bench.pl: Identify output arguments and define
6139         static variables for them.
6141         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6143         [BZ #15941]
6144         * Makefile (INSTALL): Add install-plain.texi as the primary
6145         dependency.
6146         * manual/install-plain.texi: New file.
6147         * manual/install.texi: Include node directive only for
6148         non-plaintext output.
6150 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
6152         * stdlib/longlong.h: Update from GCC.
6154         [BZ #6807]
6155         [BZ #15901]
6156         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6157         * math/w_j0f.c (y0f): Likewise.
6158         * math/w_j0l.c (__y0l): Likewise.
6159         * math/w_j1.c (y1): Likewise.
6160         * math/w_j1f.c (y1f): Likewise.
6161         * math/w_j1l.c (__y1l): Likewise
6162         * math/w_jn.c (yn): Likewise.
6163         * math/w_jnf.c (ynf): Likewise.
6164         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6165         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
6166         value for Bessel function domain errors outside _SVID_ mode.
6167         Adjust sign of return value for yn (negative integer, 0).
6168         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6169         by zero in return for negative x and set sign appropriately for
6170         negative n.
6171         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6172         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6173         * math/libm-test.inc (y0_test_data): Add more tests and adjust
6174         expectations in error cases.
6175         (y1_test_data): Likewise.
6176         (yn_test_data): Likewise.
6177         * sysdeps/i386/fpu/libm-test-ulps: Update.
6178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6180 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6182         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6183         "64" to "64-v1".  Add "64-v2".
6184         (abi-64-options): Rename to ...
6185         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
6186         (abi-64-condition): Rename to ...
6187         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
6188         (abi-64-ld-soname): Rename to ...
6189         (abi-64-v1-ld-soname): ... this.
6190         (abi-64-v2-options): Define.
6191         (abi-64-v2-condition): Likewise.
6192         (abi-64-v2-ld-soname): Likewise.
6193         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6194         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6199 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6200             Alan Modra  <amodra@gmail.com>
6202         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6203         New versions for use with the ELFv2 ABI.
6204         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6205         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6206         declaration.
6207         (struct La_ppc64v2_retval): Likewise.
6208         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6209         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6210         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6211         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6212         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6213         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6214         Do not save or restore CR.
6215         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6216         (_dl_profile_resolve): Do no save or restore CR.  Support extended
6217         return values for ELFv2 ABI.  Fix location of FPR return registers.
6218         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6219         updated values for _CALL_ELF == 2.
6220         (La_regs, La_retval, int_retval): Likewise.
6222 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6224         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6225         (FRAME_MIN_SIZE_PARM): Likewise.
6226         (FRAME_BACKCHAIN): Likewise.
6227         (FRAME_CR_SAVE): Likewise.
6228         (FRAME_LR_SAVE): Likewise.
6229         (FRAME_TOC_SAVE): Likewise.
6230         (FRAME_PARM_SAVE): Likewise.
6231         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6232         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6233         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6234         (call_mcount_parm_offset): New macro.
6235         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6236         (PROF): Use symbolic stack frame offsets.
6237         (TAIL_CALL_SYSCALL_ERROR): Likewise.
6238         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6239         Redefine in terms of FRAME_MIN_SIZE.
6240         (_dl_runtime_resolve): Use symbolic stack frame offsets.
6241         (_dl_profile_resolve): Likewise.  Update comment.
6242         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6243         symbols stack frame offsets.
6244         (__sigsetjmp): Likewise.
6245         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6246         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6247         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6248         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6251         (FRAME_BACKCHAIN): Remove.
6252         (FRAME_CR_SAVE): Likewise.
6253         (FRAME_LR_SAVE): Likewise.
6254         (FRAME_COMPILER_DW): Likewise.
6255         (FRAME_LINKER_DW): Likewise.
6256         (FRAME_TOC_SAVE): Likewise.
6257         (FRAME_PARM_SAVE): Likewise.
6258         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6259         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6260         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6262         (CHECK_SP): Use symbolic stack frame offsets.
6263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6264         zone" instead of caller's parameter save area for temp storage.
6265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6266         Likewise.  Also, use symbolic stack frame offsets.
6267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6268         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6269         our own stack frame instead of the caller's.
6270         (__socket): Use symbolic stack frame offsets.
6272 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6273             Alan Modra  <amodra@gmail.com>
6275         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6276         Define.
6277         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6278         PPC64_LOCAL_ENTRY_OFFSET): Define.
6279         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6280         New function.
6281         (elf_machine_fixup_plt): Call it.
6282         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
6283         reloc arguments.
6284         (elf_machine_rela): Update call to elf_machine_plt_conflict.
6285         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6286         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6287         r2 before calling target.
6289 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6290             Alan Modra  <amodra@gmail.com>
6292         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6293         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6294         versions of macros to support ELFv2 ABI.
6295         (LOCALENTRY): New macro.
6296         (ENTRY, EALIGN): Use it.
6297         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6298         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6299         fall through into ENTRY entry point.
6300         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6301         Only define if _CALL_ELF != 2.
6303         (elf_machine_matches_host): Verify ABI version matches.
6304         (RTLD_START): Use LOCALENTRY.
6305         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6306         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6307         (PLT_ENTRY_WORDS): New macro.
6308         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6309         (elf_machine_runtime_setup): Support ELFv2 ABI.
6310         (elf_machine_fixup_plt): Likewise.
6311         (elf_machine_plt_conflict): Likewise.
6312         (resolve_ifunc): Likewise.
6313         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6314         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6315         Likewise.
6316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6317         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6319         (makecontext): Support ELFv2 ABI.
6320         * elf/elf.h (EF_PPC64_ABI): Define.
6322 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6324         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6325         New assembler macro.
6326         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6327         [ASSEMBLER] (ENTRY): ... but instead here ...
6328         [ASSEMBLER] (EALIGN): ... and here.
6329         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6330         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6331         [!ASSEMBLER] (ENTRY_2): Use it.
6332         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6333         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
6334         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6335         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6336         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6338         Use PPC64_LOAD_FUNCPTR.
6340 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6342         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6344 2013-12-04  Alan Modra  <amodra@gmail.com>
6346         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6347         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6348         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6349         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6351         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6352         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6353         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6354         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6355         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6356         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6358 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6361         (__makecontext): Fix incorrect CFI when backtracing out of
6362         context created via makecontext.
6363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6364         (__setcontext): Fix incorrect CFI during switch to new context.
6365         (__novec_setcontext): Likewise.
6367 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6369         [BZ #4772]
6370         * time/strptime_l.c (__strptime_internal): Allow modifiers
6371         in strptime.
6372         * time/tst-strptime.c (day_tests): Add testcase.
6375 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6377         * scripts/bench.pl: Skip over blank lines.
6379 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6381         [BZ #926]
6382         * manual/time.texi (Calendar Time): Clarify what timezone functions
6383         use.
6385 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6389 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6391         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6392         implementation.
6393         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6394         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6395         * debug/memset_chk.c (__memset_chk): Likewise.
6396         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6397         * debug/strncpy_chk.c: Likewise.
6399 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6401         [BZ #15268]
6402         [BZ #15425]
6403         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6404         (__ieee754_exp): For possibly underflowing results, check size of
6405         result and force underflow exception if required.
6406         * math/auto-libm-test-in: Add more tests of exp.
6407         * math/auto-libm-test-out: Regenerated.
6408         * sysdeps/i386/fpu/libm-test-ulps: Update.
6409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6411         [BZ #16283]
6412         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6413         * math/w_exp2f.c (__exp2f): Likewise.
6414         * math/w_exp2l.c (__exp2l): Likewise.
6415         * math/auto-libm-test-in: Do not allow missing errno on exp2
6416         underflow.
6417         * math/auto-libm-test-out: Regenerated.
6419 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
6421         [BZ #16274]
6422         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6423         handle filename validation.
6424         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6425         (do_open): Delete.
6427 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6429         [BZ #6786]
6430         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6431         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6432         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6433         <float.h>.
6434         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6435         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6436         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6437         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6438         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6439         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6440         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6441         * math/auto-libm-test-in: Don't allow missing errno from erfc.
6442         Add more erfc tests.
6443         * math/auto-libm-test-out: Regenerated.
6444         * sysdeps/i386/fpu/libm-test-ulps: Update.
6445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6447         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6448         exp2, expm1, j0 and j1.
6449         * math/auto-libm-test-out: Regenerated.
6450         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6451         (erfc_test_data): Likewise.
6452         (exp_test_data): Likewise.
6453         (exp_tonearest_test_data): Likewise.
6454         (exp_towardzero_test_data): Likewise.
6455         (exp_downward_test_data): Likewise.
6456         (exp_upward_test_data): Likewise.
6457         (exp10_test_data): Likewise.
6458         (exp2_test_data): Likewise.
6459         (expm1_test_data): Likewise.
6460         (j0_test_data): Likewise.
6461         (j1_test_data): Likewise.
6462         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6463         (input_flag_type): Add flag_xfail_rounding.
6464         (input_flags): Add xfail-rounding.
6465         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6466         (output_for_one_input_case): Handle flag_xfail_rounding.
6467         * sysdeps/i386/fpu/libm-test-ulps: Update.
6468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6470 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
6472         [BZ #16289]
6473         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6474         division by 0.
6476 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6478         [BZ #16195]
6479         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6480         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6481         (STAP_PROBE0): New macro.
6482         (STAP_PROBE1): Likewise.
6483         (STAP_PROBE2): Likewise.
6484         (STAP_PROBE3): Likewise.
6485         (STAP_PROBE4): Likewise.
6487 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
6489         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6491 2013-12-02  Steve Ellcey  <sellcey@mips.com>
6493         * benchtests/Makefile (bench): Add sqrt.
6494         (LDLIBS-bench-sqrt): New.
6495         * benchtests/sqrt-input: New.
6497 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
6499         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6500         (GAIH_EAI): Likewise.
6501         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6502         (gaih_inet): Likewise.
6503         (getaddrinfo): Don't use GAIH_EAI.
6505         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6506         (struct gaih): Remove definition.
6508 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6510         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6511         Use HERRNOP directly.
6513 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6517 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
6519         * math/gen-auto-libm-tests.c (test_functions): Add more
6520         single-argument functions.
6521         (special_fill_pi_2): New function.
6522         (special_fill_minus_pi_2): Likewise.
6523         (special_fill_pi_6): Likewise.
6524         (special_fill_minus_pi_6): Likewise.
6525         (special_fill_pi_3): Likewise.
6526         (special_fill_2pi_3): Likewise.
6527         (special_fill_e): Likewise.
6528         (special_fill_1_e): Likewise.
6529         (special_fill_e_minus_1): Likewise.
6530         (special_real_inputs): Add more special inputs.
6531         (output_for_one_input_case): Do not require ERANGE on underflow to
6532         zero if round-to-nearest result does not underflow to zero, unless
6533         exact results required.
6534         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6535         atan, atanh, cbrt, cos and cosh.
6536         * math/auto-libm-test-out: Regenerated.
6537         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6538         (acos_tonearest_test_data): Likewise.
6539         (acos_towardzero_test_data): Likewise.
6540         (acos_downward_test_data): Likewise.
6541         (acos_upward_test_data): Likewise.
6542         (acosh_test_data): Likewise.
6543         (asin_test_data): Likewise.
6544         (asin_tonearest_test_data): Likewise.
6545         (asin_towardzero_test_data): Likewise.
6546         (asin_upward_test_data): Likewise.
6547         (asinh_test_data): Likewise.
6548         (atan_test_data): Likewise.
6549         (atanh_test_data): Likewise.
6550         (cbrt_test_data): Likewise.
6551         (cos_test_data): Likewise.
6552         (cos_tonearest_test_data): Likewise.
6553         (cos_towardzero_test_data): Likewise.
6554         (cos_downward_test_data): Likewise.
6555         (cos_upward_test_data): Likewise.
6556         (cosh_test_data): Likewise.
6557         (cosh_tonearest_test_data): Likewise.
6558         (cosh_towardzero_test_data): Likewise.
6559         (cosh_downward_test_data): Likewise.
6560         (cosh_upward_test_data): Likewise.
6561         * sysdeps/i386/fpu/libm-test-ulps: Update.
6562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6564 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
6566         [BZ #6787]
6567         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6568         * math/w_exp10f.c (__exp10f): Likewise.
6569         * math/w_exp10l.c (__exp10l): Likewise.
6570         * math/libm-test.inc (exp10_test_data): Add more tests and expect
6571         errno settings in existing tests.
6573         [BZ #14032]
6574         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6575         precision control set to double precision.
6576         * sysdeps/i386/fpu/w_sqrt.c: New file.
6577         * math/auto-libm-test-in: Add more tests.
6578         * math/auto-libm-test-out: Update.
6580         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6581         (sqrt_test_tonearest): New function.
6582         (sqrt_towardzero_test_data): New variable.
6583         (sqrt_test_towardzero): New function.
6584         (sqrt_downward_test_data): New variable.
6585         (sqrt_test_downward): New function.
6586         (sqrt_upward_test_data): New variable.
6587         (sqrt_test_upward): New function.
6588         (main): Call the new functions.
6590         * math/gen-auto-libm-tests.c: New file.
6591         * math/auto-libm-test-in: Likewise.
6592         * math/auto-libm-test-out: New generated file.
6593         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6594         variables.
6595         (%beautify): Add generated representations of zero.
6596         (top level): Set $auto_input and call parse_auto_input.
6597         (beautify): Remove trailing "f" from hex float constants.
6598         (parse_args): Handle XFAIL_TEST.
6599         (convert_condition): New function.
6600         (or_value): Likewise.
6601         (or_cond_value): Likewise.
6602         (generate_testfile): Handle AUTO_TESTS_* lines.
6603         (parse_auto_input): New function.
6604         * math/libm-test.inc (XFAIL_TEST): New macro.
6605         (ERRNO_UNCHANGED): Update value.
6606         (ERRNO_EDOM): Likewise.
6607         (ERRNO_ERANGE): Likewise.
6608         (IGNORE_RESULT): Likewise.
6609         (TEST_COND_flt_32): New macro.
6610         (TEST_COND_dbl_64): Likewise.
6611         (TEST_COND_ldbl_96_intel): Likewise.
6612         (TEST_COND_ldbl_96_m68k): Likewise.
6613         (TEST_COND_ldbl_128): Likewise.
6614         (TEST_COND_ldbl_128ibm): Likewise.
6615         (TEST_COND_long32): Likewise.
6616         (TEST_COND_long64): Likewise.
6617         (TEST_COND_before_rounding): Likewise.
6618         (TEST_COND_after_rounding): Likewise.
6619         (enable_test): Handle XFAIL_TEST flag.
6620         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6621         with finite results.
6622         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6623         auto-libm-test-out.
6625 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6626             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6628         [BZ #16214]
6629         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6630         __tls_get_addr_internal instead of __tls_get_offset in order to
6631         avoid GOT pointer dependency.  Make rtld export
6632         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6633         __tls_get_addr since we are a __tls_get_offset platform.
6634         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6635         GOT pointer being set up before.
6636         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6638 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
6640         * manual/math.texi (Errors in Math Functions): Document accuracy
6641         goals.
6643         [BZ #15004]
6644         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6645         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6646         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6647         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6648         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6649         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6650         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6651         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6652         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6653         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6654         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6655         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6656         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6657         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6658         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6659         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6661         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6662         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6663         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6664         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6665         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6666         Likewise.
6667         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6668         Likewise.
6669         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6670         Likewise.
6671         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6672         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6673         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6674         atomic-feupdateenv and flt-rounds.
6675         * sysdeps/powerpc/nofpu/Versions (libc): Add
6676         __atomic_feholdexcept, __atomic_feclearexcept,
6677         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6678         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6679         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6680         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6681         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6682         here.
6683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6684         Update.
6686         * manual/arith.texi (FP Exceptions): Document that exceptions may
6687         not be raised when matherr is used.
6688         (Math Error Reporting): Document overflow in directed rounding
6689         modes.  Document that errno may not be set when finite values are
6690         returned on overflow.  Document intent to set errno on underflow
6691         only for underflow to zero.
6693         [BZ #16271]
6694         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6695         round-to-nearest then adjust result for other rounding modes.
6696         * include/fenv.h (fegetround): Use libm_hidden_proto.
6697         * math/fegetround.c (fegetround): Use libm_hidden_def.
6698         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6699         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6700         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6701         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6702         Likewise.
6703         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6704         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6705         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6706         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6708 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6710         [BZ #16077]
6711         * nss/Versions (libnss_files): Add
6712         _nss_files_gethostbyname3_r.
6713         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6714         New function.
6715         (HOST_DB_LOOKUP): Remove macro.
6716         (_nss_files_gethostbyname_r): Implement function without the
6717         HOST_DB_LOOKUP macro.
6718         (_nss_files_gethostbyname2_r): Likewise.
6720 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
6722         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6724 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
6726         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6727         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6728         warning.
6730 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6732         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6733         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6734         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6735         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6736         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6737         __fe_nomask_env_priv and attribute_hidden.
6738         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6739         (libc_feupdateenv_test_ppc): Likewise.
6740         (libc_feresetround_ppc): Likewise.
6741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6742         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6743         compat_symbol macro.
6744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6745         (__fe_nomask_env): Likewise.
6746         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6748 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6750         * string/Makefile: Remove ifunc tests.
6751         * string/test-string.h: Define TEST_IFUNC.
6752         * string/test-bcopy-ifunc.c: Remove.
6753         * string/test-bzero-ifunc.c: Likewise.
6754         * string/test-memccpy-ifunc.c: Likewise.
6755         * string/test-memchr-ifunc.c: Likewise.
6756         * string/test-memcmp-ifunc.c: Likewise.
6757         * string/test-memcpy-ifunc.c: Likewise.
6758         * string/test-memmem-ifunc.c: Likewise.
6759         * string/test-memmove-ifunc.c: Likewise.
6760         * string/test-mempcpy-ifunc.c: Likewise.
6761         * string/test-memrchr-ifunc.c: Likewise.
6762         * string/test-memset-ifunc.c: Likewise.
6763         * string/test-rawmemchr-ifunc.c: Likewise.
6764         * string/test-stpcpy-ifunc.c: Likewise.
6765         * string/test-stpncpy-ifunc.c: Likewise.
6766         * string/test-strcasecmp-ifunc.c: Likewise.
6767         * string/test-strcasestr-ifunc.c: Likewise.
6768         * string/test-strcat-ifunc.c: Likewise.
6769         * string/test-strchr-ifunc.c: Likewise.
6770         * string/test-strchrnul-ifunc.c: Likewise.
6771         * string/test-strcmp-ifunc.c: Likewise.
6772         * string/test-strcpy-ifunc.c: Likewise.
6773         * string/test-strcspn-ifunc.c: Likewise.
6774         * string/test-strlen-ifunc.c: Likewise.
6775         * string/test-strncasecmp-ifunc.c: Likewise.
6776         * string/test-strncat-ifunc.c: Likewise.
6777         * string/test-strncmp-ifunc.c: Likewise.
6778         * string/test-strncpy-ifunc.c: Likewise.
6779         * string/test-strnlen-ifunc.c: Likewise.
6780         * string/test-strpbrk-ifunc.c: Likewise.
6781         * string/test-strrchr-ifunc.c: Likewise.
6782         * string/test-strspn-ifunc.c: Likewise.
6783         * string/test-strstr-ifunc.c: Likewise.
6785 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6787         * benchtests/Makefile: Remove ifunc tests.
6788         * benchtests/bench-string.h: Define TEST_IFUNC.
6789         * benchtests/bench-bcopy-ifunc.c: Remove.
6790         * benchtests/bench-bzero-ifunc.c: Likewise.
6791         * benchtests/bench-memccpy-ifunc.c: Likewise.
6792         * benchtests/bench-memchr-ifunc.c: Likewise.
6793         * benchtests/bench-memcmp-ifunc.c: Likewise.
6794         * benchtests/bench-memcpy-ifunc.c: Likewise.
6795         * benchtests/bench-memmem-ifunc.c: Likewise.
6796         * benchtests/bench-memmove-ifunc.c: Likewise.
6797         * benchtests/bench-mempcpy-ifunc.c: Likewise.
6798         * benchtests/bench-memrchr-ifunc.c: Likewise.
6799         * benchtests/bench-memset-ifunc.c: Likewise.
6800         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6801         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6802         * benchtests/bench-stpcpy-ifunc.c: Likewise.
6803         * benchtests/bench-stpncpy-ifunc.c: Likewise.
6804         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6805         * benchtests/bench-strcasestr-ifunc.c: Likewise.
6806         * benchtests/bench-strcat-ifunc.c: Likewise.
6807         * benchtests/bench-strchr-ifunc.c: Likewise.
6808         * benchtests/bench-strchrnul-ifunc.c: Likewise.
6809         * benchtests/bench-strcmp-ifunc.c: Likewise.
6810         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6811         * benchtests/bench-strcpy-ifunc.c: Likewise.
6812         * benchtests/bench-strcspn-ifunc.c: Likewise.
6813         * benchtests/bench-strlen-ifunc.c: Likewise.
6814         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6815         * benchtests/bench-strncat-ifunc.c: Likewise.
6816         * benchtests/bench-strncmp-ifunc.c: Likewise.
6817         * benchtests/bench-strncpy-ifunc.c: Likewise.
6818         * benchtests/bench-strnlen-ifunc.c: Likewise.
6819         * benchtests/bench-strpbrk-ifunc.c: Likewise.
6820         * benchtests/bench-strrchr-ifunc.c: Likewise.
6821         * benchtests/bench-strsep-ifunc.c: Likewise.
6822         * benchtests/bench-strspn-ifunc.c: Likewise.
6823         * benchtests/bench-strstr-ifunc.c: Likewise.
6825 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6827         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6829 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6831         * resolv/netdb.h: Use __glibc_reserved instead __unused.
6832         * rt/aio.h: Likewise.
6833         * sysdeps/gnu/bits/utmp.h: Likewise.
6834         * sysdeps/gnu/bits/utmpx.h: Likewise.
6835         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6836         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6837         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6838         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6839         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6840         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6841         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6842         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6843         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6844         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6845         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6846         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6847         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6849         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6850         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6851         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6852         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6853         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6854         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6855         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6856         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6857         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6858         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6859         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6861         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6862         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6863         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6864         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6865         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6866         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6867         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6868         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6869         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6870         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6871         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6872         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6873         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6874         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6875         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6876         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6878 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
6880         [BZ #16245]
6881         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6882         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6884 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
6886         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6887         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6888         Likewise.
6890 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6892         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6893         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6894         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6895         (__fesetround): Remove define.
6896         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6897         rounding and exceptions handling.
6898         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6899         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6900         (__fe_nomask_env): Likewise.
6901         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6902         __fegetround instead of fegetround.
6903         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6904         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6906 2013-11-21  Roland McGrath  <roland@hack.frob.com>
6908         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6909         it's there.
6911         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6913 2013-11-21  Meador Inge  <meadori@codesourcery.com>
6915         [BZ #11157]
6916         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6917         (encrypt_r): Likewise.
6918         * malloc/obstack.h (obstack_free): Likewise.
6919         * posix/unistd.h (encrypt): Likewise.
6921 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6923         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6924         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6925         DL_CALL_DT_FINI() that call the functions directly.
6926         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6927         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6928         * elf/dl-fini.c: Likewise.
6930 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
6932         * malloc/hooks.c (memalign_check): Add alignment rounding.
6933         * malloc/malloc.c (_mid_memalign): New function.
6934         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6935         Implement by calling _mid_memalign.
6936         * manual/probes.texi (Memory Allocation Probes): Remove
6937         memory_valloc_retry and memory_pvalloc_retry.
6939 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6941         * locale/programs/locarchive.c (open_archive): Add const
6942         qualifier to ARCHIVEFNAME and copy default fname to
6943         DEFAULT_FNAME.
6945         [BZ #15601]
6946         * libio/tst-widetext.input: Rename Oriya to Odia.
6947         * locale/iso-639.def: Likewise.
6949         * manual/probes.texi (Mathematical Function Probes): Add
6950         documentation for sin, cos, asin and acos probes.
6951         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6952         (__sin32): Add slowasin probe.
6953         (__cos32): Add slowacos probe.
6954         (__mpsin): Add slowsin probe.
6955         (__mpcos): Add slowcos probe.
6957 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
6959         [BZ #15483]
6960         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6961         thread-local __sim_exceptions_thread and global
6962         __sim_exceptions_global.
6963         (__sim_disabled_exceptions): Change to thread-local
6964         __sim_disabled_exceptions_thread and global
6965         __sim_disabled_exceptions_global.
6966         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6967         and global __sim_round_mode_global.
6968         (__simulate_exceptions): Use thread-local floating-point state and
6969         set global state from it as needed.
6970         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6971         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6972         __sim_round_mode_thread.
6973         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6974         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6975         and global __sim_exceptions_global.
6976         (__sim_disabled_exceptions): Change to thread-local
6977         __sim_disabled_exceptions_thread and global
6978         __sim_disabled_exceptions_global.
6979         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6980         and global __sim_round_mode_global.
6981         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6982         (SIM_SET_GLOBAL): Likewise.
6983         * sysdeps/powerpc/soft-fp/sfp-machine.h
6984         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6985         __sim_round_mode_thread.
6986         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6987         __sim_disabled_exceptions_thread.
6988         (__sim_exceptions): Change to __sim_exceptions_thread.
6989         (__sim_disabled_exceptions): Change to
6990         __sim_disabled_exceptions_thread.
6991         (__sim_round_mode): Change to __sim_round_mode_thread.
6992         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6993         thread-local floating-point state and set global state from it as
6994         needed.
6995         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6996         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6997         (__sim_disabled_exceptions): Remove extern declaration.
6998         (feenableexcept): Use thread-local floating-point state and set
6999         global state from it as needed.
7000         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7001         extern declaration.
7002         (__sim_disabled_exceptions): Likewise.
7003         (__sim_round_mode): Likewise.
7004         (__fegetenv): Use thread-local floating-point state.
7005         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7006         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7007         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7008         floating-point state and set global state from it as needed.
7009         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7010         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7011         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7012         Likewise.
7013         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7014         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7015         Likewise.
7016         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7017         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7018         Use __sim_round_mode_thread.
7019         * math/test-fenv-tls.c: New file.
7020         * math/Makefile (tests): Add test-fenv-tls.
7021         ($(objpfx)test-fenv-tls): Depend on
7022         $(common-objpfx)nptl/libpthread.so.
7024 2013-11-19  Andreas Schwab  <schwab@suse.de>
7026         * locale/programs/locale.c (show_info): Decode wordarray elements.
7027         * locale/categories.def (LC_MONETARY): Add element for
7028         _NL_MONETARY_CRNCYSTR.
7029         * locale/C-monetary.c (conversion_rate): New variable.
7030         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7031         element.
7033 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
7035         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7036         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7038 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7040         * elf/Makefile (tst-auxv): New test.
7041         * elf/tst-auxv.c: New
7042         * elf/rtld.c (dl_main): Adjust AT_EXECFN
7044 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
7046         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7047         (hidden_proto): Caller changed.
7048         (hidden_tls_proto): New macro.
7049         (libc_hidden_tls_proto): Likewise.
7050         (rtld_hidden_tls_proto): Likewise.
7051         (libm_hidden_tls_proto): Likewise.
7052         (libresolv_hidden_tls_proto): Likewise.
7053         (librt_hidden_tls_proto): Likewise.
7054         (libdl_hidden_tls_proto): Likewise.
7055         (libnss_files_hidden_tls_proto): Likewise.
7056         (libnsl_hidden_tls_proto): Likewise.
7057         (libnss_nisplus_hidden_tls_proto): Likewise.
7058         (libutil_hidden_tls_proto): Likewise.
7060 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
7062         [BZ #10253]
7063         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7064         (decompose_rpath): Defer expansion to fillin_rpath.
7065         (_dl_init_paths): Pass linkmap to fillin_rpath.
7067 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7069         * benchtests/Makefile: Add strsep.
7070         * benchtests/bench-strsep.c: New file: strsep benchtest.
7071         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7073 2013-11-18  Andreas Schwab  <schwab@suse.de>
7075         * locale/programs/locale.c (show_info) [case byte]: Check for
7076         '\377' instead of '\177'.
7077         * locale/C-monetary.c (not_available): Always use "\377".
7078         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7079         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
7080         detect unavailable sign_posn locale elements.
7081         * locale/localeconv.c (__localeconv): For grouping and
7082         mon_grouping handle "\177" and "\377" like no grouping.
7083         (INT_ELEM): New macro.  Use it to set all numeric members.
7084         * locale/programs/ld-monetary.c (monetary_read)
7085         <tok_mon_grouping>: Normalize single -1 to the empty string.
7086         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7087         Likewise.
7089 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7091         [BZ #16055]
7092         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7093         when we match (nil).
7094         * stdio-common/tst-sscanf.c (struct test): Add testcase.
7096 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
7098         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7099         (NO_TEST_INLINE): Update value.
7100         (ERRNO_UNCHANGED): Likewise.
7101         (ERRNO_EDOM): Likewise.
7102         (ERRNO_ERANGE): Likewise.
7103         (IGNORE_RESULT): Likewise.
7104         (check_float_internal): Check signs of NaN results if
7105         TEST_NAN_SIGN used.
7106         (check_complex): Pass TEST_NAN_SIGN flag through to second
7107         check_float_internal call.
7108         (copysign_test_data): Add tests with quiet NaNs as second
7109         argument.  Use TEST_NAN_SIGN.
7110         (fabs_test_data): Add test of negative quiet NaN argument.  Use
7111         TEST_NAN_SIGN.
7112         (signbit_test_data): Add tests of quiet NaN argument.
7113         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7115         * math/gen-libm-test.pl (show_exceptions): Take extra argument
7116         $ignore_result.
7117         (parse_args): Handle function results specified as IGNORE.
7118         * math/libm-test.inc (IGNORE_RESULT): New macro.
7119         (check_float_internal): Do not check numerical result if flag
7120         IGNORE_RESULT set.
7121         (check_complex): Pass through IGNORE_RESULT to second
7122         check_float_internal call.
7123         (check_int): Do not check numerical result if flag IGNORE_RESULT
7124         set.
7125         (check_long): Likewise.
7126         (check_bool): Likewise.
7127         (check_longlong): Likewise.
7128         (lrint_test_data): Add tests of infinite and NaN arguments.
7129         (lrint_tonearest_test_data): Likewise.
7130         (lrint_towardzero_test_data): Likewise.
7131         (lrint_downward_test_data): Likewise.
7132         (lrint_upward_test_data): Likewise.
7133         (llrint_test_data): Likewise.
7134         (llrint_tonearest_test_data): Likewise.
7135         (llrint_towardzero_test_data): Likewise.
7136         (llrint_downward_test_data): Likewise.
7137         (llrint_upward_test_data): Likewise.
7138         (lround_test_data): Likewise.
7139         (llround_test_data): Likewise.
7141         * math/libm-test.inc (NO_TEST_INLINE): New macro.
7142         (ERRNO_UNCHANGED): Update value.
7143         (ERRNO_EDOM): Likewise.
7144         (ERRNO_ERANGE): Likewise.
7145         (NO_TEST_INLINE_FLOAT): New macro.
7146         (NO_TEST_INLINE_DOUBLE): Likewise.
7147         (enable_test): New function.
7148         (RUN_TEST_f_f): Check enable_test before running test.
7149         (RUN_TEST_2_f): Likewise.
7150         (RUN_TEST_fff_f): Likewise.
7151         (RUN_TEST_c_f): Likewise.
7152         (RUN_TEST_f_f1): Likewise.
7153         (RUN_TEST_fF_f1): Likewise.
7154         (RUN_TEST_fI_f1): Likewise.
7155         (RUN_TEST_ffI_f1): Likewise.
7156         (RUN_TEST_c_c): Likewise.
7157         (RUN_TEST_cc_c): Likewise.
7158         (RUN_TEST_f_i): Likewise.
7159         (RUN_TEST_f_i_tg): Likewise.
7160         (RUN_TEST_ff_i_tg): Likewise.
7161         (RUN_TEST_f_b): Likewise.
7162         (RUN_TEST_f_b_tg): Likewise.
7163         (RUN_TEST_f_l): Likewise.
7164         (RUN_TEST_f_L): Likewise.
7165         (RUN_TEST_fFF_11): Likewise.
7166         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7167         conditionals.
7168         (cosh_test_data): Likewise.
7169         (exp_test_data): Likewise.
7170         (expm1_test_data): Likewise.
7171         (hypot_test_data): Likewise.
7172         (pow_test_data): Likewise.
7173         (sinh_test_data): Likewise.
7174         (tanh_test_data): Likewise.
7175         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7176         flags argument.
7178         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7179         tests with quiet NaN input and output.
7180         (acosh_test_data): Likewise.
7181         (asin_test_data): Likewise.
7182         (asinh_test_data): Likewise.
7183         (atan_test_data): Likewise.
7184         (atanh_test_data): Likewise.
7185         (atan2_test_data): Likewise.
7186         (cbrt_test_data): Likewise.
7187         (cos_test_data): Likewise.
7188         (cosh_test_data): Likewise.
7189         (erf_test_data): Likewise.
7190         (erfc_test_data): Likewise.
7191         (exp_test_data): Likewise.
7192         (exp10_test_data): Likewise.
7193         (exp2_test_data): Likewise.
7194         (expm1_test_data): Likewise.
7195         (hypot_test_data): Likewise.
7196         (j0_test_data): Likewise.
7197         (j1_test_data): Likewise.
7198         (jn_test_data): Likewise.
7199         (lgamma_test_data): Likewise.
7200         (log_test_data): Likewise.
7201         (log10_test_data): Likewise.
7202         (log1p_test_data): Likewise.
7203         (log2_test_data): Likewise.
7204         (pow_test_data): Likewise.
7205         (scalb_test_data): Likewise.
7206         (sin_test_data): Likewise.
7207         (sincos_test_data): Likewise.
7208         (sinh_test_data): Likewise.
7209         (tan_test_data): Likewise.
7210         (tanh_test_data): Likewise.
7211         (tgamma_test_data): Likewise.
7212         (y0_test_data): Likewise.
7213         (y1_test_data): Likewise.
7214         (yn_test_data): Likewise.
7216         [BZ #16167]
7217         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7218         argument being NaN and avoid computations with second argument in
7219         that case.
7220         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7221         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7222         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7224 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
7226         * locale/iso-639.def: Add Chitwani Tharu (the).
7228 2013-11-14  Andreas Schwab  <schwab@suse.de>
7230         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7231         word instead of empty string.
7233 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7236         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7238         (__fe_nomask_env): Likewise.
7240 2013-11-13  Steve Ellcey  <sellcey@mips.com>
7242         * benchtests/bench-timing.h: Include time.h.
7244 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
7246         [BZ #15997]
7247         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7248         to 3.4.0 for x32.
7249         * sysdeps/unix/sysv/linux/configure: Regenerated.
7251 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
7253         [BZ #16151]
7254         * stdlib/strtod_l.c (round_and_return): Do not consider
7255         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7256         exponent one less than half the least subnormal exponent.
7257         * stdlib/test-strtod-round-data: Add more tests.
7258         * stdlib/tst-strtod-round.c (tests): Regenerated.
7260 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7262         [BZ #14143]
7263         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7264         (__fe_mask_env): Likewise.
7265         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7266         libm_hidden_proto and add function prototype.
7267         (__fe_mask_env): Add function prototype.
7268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7269         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7271         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7273         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7275 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7277         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7278         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7280 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7282         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7283         of htab_find_slot().
7285 2013-11-11  David S. Miller  <davem@davemloft.net>
7287         [BZ #16150]
7288         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7289         symbol in the non-vis3 case in static builds.
7290         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7291         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7292         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7293         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7295 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7297         [BZ #387]
7298         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7299         it is empty.
7301 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7303         * benchtests/Makefile: Add bench-strtod.
7304         * benchtests/bench-strtod.c: New file: strtod benchtest
7306 2013-11-11  Andreas Schwab  <schwab@suse.de>
7308         [BZ #16153]
7309         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7310         terminating NUL in key length.
7312 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7314         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7315         Add artificial ODP entry for vDSO symbol for PPC64.
7316         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7317         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7319 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7321         [BZ #15374]
7322         * nss/getent.c (services_keys): Recognize services starting with digit.
7324 2013-11-06  David S. Miller  <davem@davemloft.net>
7326         [BZ #15985]
7327         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7328         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7330 2013-11-06  Will Newton  <will.newton@linaro.org>
7332         * manual/memory.texi (Malloc Examples): Remove register
7333         keyword from examples.
7335 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
7337         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7339 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
7341         [BZ #6981]
7342         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7343         depending on [__GCC_IEC_559 > 0].
7344         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7345         depending on [__GCC_IEC_559_COMPLEX > 0].
7347 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
7349         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7350         to iso-639.def.
7352 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
7354         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7356 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
7358         [BZ #16112]
7359         * malloc/malloc (malloc_info): Do not handle first bin as
7360         special case.
7362 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
7364         * locale/iso-639.def: Add Central Nahuatl (nhn).
7366 2013-11-01  Bruno Haible  <bruno@clisp.org>
7368         [BZ #7003]
7369         * manual/math.texi (BSD Random): Specify range upper bound as
7370         in POSIX.
7372 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
7374         * locale/iso-639.def: Add Meadow Mari (mhr).
7376 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
7378         [BZ #14752], [BZ #15763]
7379         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7380         Validate name.
7381         * rt/tst_shm.c: Add test for escaping directory.
7383 2013-10-31  Andreas Schwab  <schwab@suse.de>
7385         [BZ #15917]
7386         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7387         followed by 'x' as part of digit sequence.
7388         * stdio-common/tst-sscanf.c (double_tests2): New tests.
7390 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7392         [BZ #16037]
7393         * configure.ac: allow GNU Make 4.0 and greater.
7394         * configure: Regenerated.
7396 2013-10-30  Will Newton  <will.newton@linaro.org>
7398         [BZ #16038]
7399         * malloc/hooks.c (memalign_check): Limit alignment to the
7400         maximum representable power of two.
7401         * malloc/malloc.c (__libc_memalign): Likewise.
7402         * malloc/tst-memalign.c (do_test): Add test for very
7403         large alignment values.
7404         * malloc/tst-posix_memalign.c (do_test): Likewise.
7406 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7408         [BZ #11087]
7409         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7410         (munmap_chunk): Likewise.
7411         (mremap_chunk): Likewise.
7413 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7415         [BZ #15799]
7416         * stdlib/div.c (div): Remove obsolete code.
7417         * stdlib/ldiv.c (ldiv): Likewise.
7418         * stdlib/lldiv.c (lldiv): Likewise.
7420 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7422         [BZ #16071]
7423         * nss/nss_files/files-XXX.c (get_contents_ret): New
7424         enumerator.
7425         (get_contents): New function.
7426         (internal_getent): Use it.  Expand size of LINEBUFLEN.
7428 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
7430         * configure.in: Moved to ...
7431         * configure.ac: ... here. Change reference to configure.in
7432         to configure.ac.
7433         * sysdeps/arm/preconfigure.ac: ... here.
7434         configure.in to configure.ac.
7435         * sysdeps/gnu/configure.in: Moved to ...
7436         * sysdeps/gnu/configure.ac: ... here.
7437         * sysdeps/i386/configure.in: Moved to ...
7438         * sysdeps/i386/configure.ac: ... here.
7439         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7440         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7441         * sysdeps/mach/configure.in: Moved to ...
7442         * sysdeps/mach/configure.ac: ... here.
7443         * sysdeps/mach/hurd/configure.in: Moved to ...
7444         * sysdeps/mach/hurd/configure.ac: ... here.
7445         * sysdeps/powerpc/configure.in: Moved to ...
7446         * sysdeps/powerpc/configure.ac: ... here.
7447         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7448         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7449         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7450         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7451         * sysdeps/s390/s390-32/configure.in: Moved to ...
7452         * sysdeps/s390/s390-32/configure.ac: ... here.
7453         * sysdeps/s390/s390-64/configure.in: Moved to ...
7454         * sysdeps/s390/s390-64/configure.ac: ... here.
7455         * sysdeps/sh/configure.in: Moved to ...
7456         * sysdeps/sh/configure.ac: ... here.
7457         * sysdeps/sparc/configure.in: Moved to ...
7458         * sysdeps/sparc/configure.ac: ... here.
7459         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7460         * sysdeps/unix/sysv/linux/configure.ac: ... here.
7461         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7462         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7463         * sysdeps/x86_64/configure.in: Moved to ...
7464         * sysdeps/x86_64/configure.ac: ... here.
7465         * sysdeps/x86_64/preconfigure.in: Moved to ...
7466         * sysdeps/x86_64/preconfigure.ac: ... here.
7467         * aclocal.m4: Change reference to configure.in to configure.ac.
7468         * config.h.in: Likewise.
7469         * manual/install.texi: Likewise.
7470         * manual/maint.texi: Likewise.
7471         * Makefile: Likewise.
7472         * malloc/Makefile: Likewise.
7473         * nscd/Makefile: Likewise.
7474         * Makeconfig: Change reference to configure.in and
7475         preconfigure.in to configure.ac and preconfigure.ac
7476         respectively.
7477         * INSTALL: Regenerated.
7478         * configure: Likewise.
7479         * sysdeps/gnu/configure: Likewise.
7480         * sysdeps/i386/configure: Likewise.
7481         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7482         * sysdeps/mach/configure: Likewise.
7483         * sysdeps/mach/hurd/configure: Likewise.
7484         * sysdeps/powerpc/configure: Likewise.
7485         * sysdeps/powerpc/powerpc32/configure: Likewise.
7486         * sysdeps/powerpc/powerpc64/configure: Likewise.
7487         * sysdeps/s390/s390-32/configure: Likewise.
7488         * sysdeps/s390/s390-64/configure: Likewise.
7489         * sysdeps/sh/configure: Likewise.
7490         * sysdeps/sparc/configure: Likewise.
7491         * sysdeps/unix/sysv/linux/configure: Likewise.
7492         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7493         * sysdeps/x86_64/configure: Likewise.
7494         * sysdeps/x86_64/preconfigure: Likewise.
7496 2013-10-29  Andreas Schwab  <schwab@suse.de>
7498         * stdio-common/Makefile (tst-swscanf-ENV): Define.
7500 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7502         * benchtests/pow-inputs: Add new inputs.
7504         * benchtests/exp-inputs: Add new inputs.
7506         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7507         conditional check for return value.
7508         (__cos32): Likewise.
7510 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7512         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7513         to provide a boost for large inputs with word alignment.
7514         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7515         implementation based on optimized PPC64 strcpy.
7516         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7517         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7518         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7519         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7521 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7523         [BZ #2801]
7524         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7526 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7528         [BZ #14876]
7529         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7530         * time/tst-strptime.c (day_tests): Add testcase.
7532 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7534         [BZ #14029]
7535         * manual/pattern.texi: Acknowledge that fnmatch can fail.
7537 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
7539         [BZ #16074]
7540         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7541         MAP_FAILED on error.
7543 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7545         [BZ #16072]
7546         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7547         heap for large requests.
7549 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
7551         [BZ #9954]
7552         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7553         result if the result has no associated interface.
7554         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7555         interface for all 127.X.Y.Z addresses.
7557 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
7559         * locale/iso-639.def: Add Ligurian (lij)
7561 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
7563         [BZ #15825]
7564         * sunrpc/rpc_main.c: Document rpcgen -5.
7566 2013-10-19  Michael Stahl  <mstahl@redhat.com>
7568         * elf/rtld.c (do_preload): Print the reason why preloading failed.
7570 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7572         [BZ #10278]
7573         * posix/glob.c: Match only directories when trailing slash is present.
7574         * posix/tst-gnuglob.c (my_opendir): Do not open files.
7575         (main): Add testcase.
7577 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7579         [BZ #15670]
7580         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7582 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
7584         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7585         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7586         AUTH_DES and cindex for FIPS 140-2.
7587         (DES Encryption): Add cindex FIPS 46-3.
7589         * locale/locarchive.h (struct locarhandle): Add fname.
7590         * locale/programs/localedef.c (main): Pass ARGV[remaining]
7591         if an optional argument was specified to --list-archive,
7592         otherwise NULL.
7593         * locale/programs/locarchive.c (show_archive_content): Take new
7594         argument fname and pass it via ah.fname to open_archive.
7595         * locale/programs/localedef.h: Update decl.
7596         (open_archive): If AH->fname is non-null, open that file
7597         rather than the default file name, and don't ignore ENOENT.
7598         (create_archive): Set AH.fname to NULL.
7599         (delete_locales_from_archive): Likewise.
7600         (add_locales_to_archive): Likewise.
7601         * locale/programs/locfile.c (write_all_categories): Likewise.
7603 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
7604             Aldy Hernandez  <aldyh@redhat.com>
7606         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7607         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7608         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7609         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7610         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7611         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7612         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7613         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7614         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7615         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7616         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7617         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7618         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7619         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7620         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7621         Likewise.
7622         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7623         Likewise.
7624         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7625         Likewise.
7626         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7627         Likewise.
7628         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7629         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7630         Likewise.
7631         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7632         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7633         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7634         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7635         Likewise.
7636         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7637         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7638         * sysdeps/powerpc/preconfigure: Likewise.
7639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7640         Likewise.
7641         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7642         Replace contents of file by #include of <fenv_libc.h>.
7643         * sysdeps/powerpc/soft-fp/sfp-machine.h
7644         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7645         and <sys/prctl.h>.
7646         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7647         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7652         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7653         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7654         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7659         Allow copysignl PLT reference to be missing.
7661 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
7662             Joseph Myers  <joseph@codesourcery.com
7664         [BZ #15948]
7665         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7666         single character.
7667         (add_to_tablewc): Assert sequence of wide characters is nonempty.
7669 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7671         * elf/tst-tls-dlinfo.c: Don't include tls.h.
7672         * elf/tst-tls1.c: Likewise.
7673         * elf/tst-tls10.h: Likewise.
7674         * elf/tst-tls14.c: Likewise.
7675         * elf/tst-tls2.c: Likewise.
7676         * elf/tst-tls3.c: Likewise.
7677         * elf/tst-tls4.c: Likewise.
7678         * elf/tst-tls5.c: Likewise.
7679         * elf/tst-tls6.c: Likewise.
7680         * elf/tst-tls7.c: Likewise.
7681         * elf/tst-tls8.c: Likewise.
7682         * elf/tst-tls9.c: Likewise.
7683         * elf/tst-tlsmod1.c: Likewise.
7684         * elf/tst-tlsmod13.c: Likewise.
7685         * elf/tst-tlsmod13a.c: Likewise.
7686         * elf/tst-tlsmod14a.c: Likewise.
7687         * elf/tst-tlsmod16a.c: Likewise.
7688         * elf/tst-tlsmod16b.c: Likewise.
7689         * elf/tst-tlsmod2.c: Likewise.
7690         * elf/tst-tlsmod3.c: Likewise.
7691         * elf/tst-tlsmod4.c: Likewise.
7692         * elf/tst-tlsmod5.c: Likewise.
7693         * elf/tst-tlsmod6.c: Likewise.
7695 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
7697         [BZ #12486]
7698         * malloc/malloc.c: remove checks for statistics.
7700 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7702         [BZ #15277]
7703         * inet/inet_net.c (inet_network): Detect additional invalid strings.
7704         * inet/tst-network.c: Add testcase.
7706 2013-10-17  Andreas Schwab  <schwab@suse.de>
7708         [BZ #15218]
7709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7710         to determine canonical name.
7712 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7714         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7715         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7716         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7717         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7718         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7719         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7720         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7721         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7722         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7723         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7724         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7725         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7726         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7727         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7728         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7729         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7730         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7731         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7732         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7733         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7734         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7735         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7736         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7737         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7738         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7739         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7740         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7741         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7742         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7743         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7744         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7745         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7746         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7747         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7748         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7749         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7750         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7751         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7752         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7753         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7754         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7755         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7756         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7757         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7758         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7759         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7760         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7761         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7762         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7763         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7764         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7765         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7766         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7767         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7768         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7769         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7770         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7771         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7773 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
7775         [BZ #16041]
7776         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7777         make result into a quiet NaN.
7779 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
7781         * soft-fp/adddf3.c: Fix horizontal whitespace.
7782         * soft-fp/addsf3.c: Likewise.
7783         * soft-fp/addtf3.c: Likewise.
7784         * soft-fp/divdf3.c: Likewise.
7785         * soft-fp/divsf3.c: Likewise.
7786         * soft-fp/divtf3.c: Likewise.
7787         * soft-fp/double.h: Likewise.
7788         * soft-fp/eqdf2.c: Likewise.
7789         * soft-fp/eqsf2.c: Likewise.
7790         * soft-fp/eqtf2.c: Likewise.
7791         * soft-fp/extenddftf2.c: Likewise.
7792         * soft-fp/extended.h: Likewise.
7793         * soft-fp/extendsfdf2.c: Likewise.
7794         * soft-fp/extendsftf2.c: Likewise.
7795         * soft-fp/extendxftf2.c: Likewise.
7796         * soft-fp/fixdfdi.c: Likewise.
7797         * soft-fp/fixdfsi.c: Likewise.
7798         * soft-fp/fixdfti.c: Likewise.
7799         * soft-fp/fixsfdi.c: Likewise.
7800         * soft-fp/fixsfsi.c: Likewise.
7801         * soft-fp/fixsfti.c: Likewise.
7802         * soft-fp/fixtfdi.c: Likewise.
7803         * soft-fp/fixtfsi.c: Likewise.
7804         * soft-fp/fixtfti.c: Likewise.
7805         * soft-fp/fixunsdfdi.c: Likewise.
7806         * soft-fp/fixunsdfsi.c: Likewise.
7807         * soft-fp/fixunsdfti.c: Likewise.
7808         * soft-fp/fixunssfdi.c: Likewise.
7809         * soft-fp/fixunssfsi.c: Likewise.
7810         * soft-fp/fixunssfti.c: Likewise.
7811         * soft-fp/fixunstfdi.c: Likewise.
7812         * soft-fp/fixunstfsi.c: Likewise.
7813         * soft-fp/fixunstfti.c: Likewise.
7814         * soft-fp/floatdidf.c: Likewise.
7815         * soft-fp/floatdisf.c: Likewise.
7816         * soft-fp/floatditf.c: Likewise.
7817         * soft-fp/floatsidf.c: Likewise.
7818         * soft-fp/floatsisf.c: Likewise.
7819         * soft-fp/floatsitf.c: Likewise.
7820         * soft-fp/floattidf.c: Likewise.
7821         * soft-fp/floattisf.c: Likewise.
7822         * soft-fp/floattitf.c: Likewise.
7823         * soft-fp/floatundidf.c: Likewise.
7824         * soft-fp/floatundisf.c: Likewise.
7825         * soft-fp/floatunditf.c: Likewise.
7826         * soft-fp/floatunsidf.c: Likewise.
7827         * soft-fp/floatunsisf.c: Likewise.
7828         * soft-fp/floatunsitf.c: Likewise.
7829         * soft-fp/floatuntidf.c: Likewise.
7830         * soft-fp/floatuntisf.c: Likewise.
7831         * soft-fp/floatuntitf.c: Likewise.
7832         * soft-fp/fmadf4.c: Likewise.
7833         * soft-fp/fmasf4.c: Likewise.
7834         * soft-fp/fmatf4.c: Likewise.
7835         * soft-fp/gedf2.c: Likewise.
7836         * soft-fp/gesf2.c: Likewise.
7837         * soft-fp/getf2.c: Likewise.
7838         * soft-fp/ledf2.c: Likewise.
7839         * soft-fp/lesf2.c: Likewise.
7840         * soft-fp/letf2.c: Likewise.
7841         * soft-fp/muldf3.c: Likewise.
7842         * soft-fp/mulsf3.c: Likewise.
7843         * soft-fp/multf3.c: Likewise.
7844         * soft-fp/negdf2.c: Likewise.
7845         * soft-fp/negsf2.c: Likewise.
7846         * soft-fp/negtf2.c: Likewise.
7847         * soft-fp/op-1.h: Likewise.
7848         * soft-fp/op-2.h: Likewise.
7849         * soft-fp/op-4.h: Likewise.
7850         * soft-fp/op-8.h: Likewise.
7851         * soft-fp/op-common.h: Likewise.
7852         * soft-fp/quad.h: Likewise.
7853         * soft-fp/single.h: Likewise.
7854         * soft-fp/soft-fp.h: Likewise.
7855         * soft-fp/sqrtdf2.c: Likewise.
7856         * soft-fp/sqrtsf2.c: Likewise.
7857         * soft-fp/sqrttf2.c: Likewise.
7858         * soft-fp/subdf3.c: Likewise.
7859         * soft-fp/subsf3.c: Likewise.
7860         * soft-fp/subtf3.c: Likewise.
7861         * soft-fp/truncdfsf2.c: Likewise.
7862         * soft-fp/trunctfdf2.c: Likewise.
7863         * soft-fp/trunctfsf2.c: Likewise.
7864         * soft-fp/trunctfxf2.c: Likewise.
7865         * soft-fp/unorddf2.c: Likewise.
7866         * soft-fp/unordsf2.c: Likewise.
7867         * soft-fp/unordtf2.c: Likewise.
7869 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
7871         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7872         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7874 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
7876         * elf/dl-libc.c: Clear initfini list after freeing.
7878 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
7880         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7881         * soft-fp/addsf3.c: Likewise.
7882         * soft-fp/addtf3.c: Likewise.
7883         * soft-fp/divdf3.c: Likewise.
7884         * soft-fp/divsf3.c: Likewise.
7885         * soft-fp/divtf3.c: Likewise.
7886         * soft-fp/double.h: Likewise.
7887         * soft-fp/eqdf2.c: Likewise.
7888         * soft-fp/eqsf2.c: Likewise.
7889         * soft-fp/eqtf2.c: Likewise.
7890         * soft-fp/extenddftf2.c: Likewise.
7891         * soft-fp/extended.h: Likewise.
7892         * soft-fp/extendsfdf2.c: Likewise.
7893         * soft-fp/extendsftf2.c: Likewise.
7894         * soft-fp/extendxftf2.c: Likewise.
7895         * soft-fp/fixdfdi.c: Likewise.
7896         * soft-fp/fixdfsi.c: Likewise.
7897         * soft-fp/fixdfti.c: Likewise.
7898         * soft-fp/fixsfdi.c: Likewise.
7899         * soft-fp/fixsfsi.c: Likewise.
7900         * soft-fp/fixsfti.c: Likewise.
7901         * soft-fp/fixtfdi.c: Likewise.
7902         * soft-fp/fixtfsi.c: Likewise.
7903         * soft-fp/fixtfti.c: Likewise.
7904         * soft-fp/fixunsdfdi.c: Likewise.
7905         * soft-fp/fixunsdfsi.c: Likewise.
7906         * soft-fp/fixunsdfti.c: Likewise.
7907         * soft-fp/fixunssfdi.c: Likewise.
7908         * soft-fp/fixunssfsi.c: Likewise.
7909         * soft-fp/fixunssfti.c: Likewise.
7910         * soft-fp/fixunstfdi.c: Likewise.
7911         * soft-fp/fixunstfsi.c: Likewise.
7912         * soft-fp/fixunstfti.c: Likewise.
7913         * soft-fp/floatdidf.c: Likewise.
7914         * soft-fp/floatdisf.c: Likewise.
7915         * soft-fp/floatditf.c: Likewise.
7916         * soft-fp/floatsidf.c: Likewise.
7917         * soft-fp/floatsisf.c: Likewise.
7918         * soft-fp/floatsitf.c: Likewise.
7919         * soft-fp/floattidf.c: Likewise.
7920         * soft-fp/floattisf.c: Likewise.
7921         * soft-fp/floattitf.c: Likewise.
7922         * soft-fp/floatundidf.c: Likewise.
7923         * soft-fp/floatundisf.c: Likewise.
7924         * soft-fp/floatunsidf.c: Likewise.
7925         * soft-fp/floatunsisf.c: Likewise.
7926         * soft-fp/floatuntidf.c: Likewise.
7927         * soft-fp/floatuntisf.c: Likewise.
7928         * soft-fp/floatuntitf.c: Likewise.
7929         * soft-fp/fmadf4.c: Likewise.
7930         * soft-fp/fmasf4.c: Likewise.
7931         * soft-fp/fmatf4.c: Likewise.
7932         * soft-fp/gedf2.c: Likewise.
7933         * soft-fp/gesf2.c: Likewise.
7934         * soft-fp/getf2.c: Likewise.
7935         * soft-fp/ledf2.c: Likewise.
7936         * soft-fp/lesf2.c: Likewise.
7937         * soft-fp/letf2.c: Likewise.
7938         * soft-fp/muldf3.c: Likewise.
7939         * soft-fp/mulsf3.c: Likewise.
7940         * soft-fp/multf3.c: Likewise.
7941         * soft-fp/negdf2.c: Likewise.
7942         * soft-fp/negsf2.c: Likewise.
7943         * soft-fp/negtf2.c: Likewise.
7944         * soft-fp/op-1.h: Likewise.
7945         * soft-fp/op-2.h: Likewise.
7946         * soft-fp/op-4.h: Likewise.
7947         * soft-fp/op-8.h: Likewise.
7948         * soft-fp/op-common.h: Likewise.
7949         * soft-fp/quad.h: Likewise.
7950         * soft-fp/single.h: Likewise.
7951         * soft-fp/soft-fp.h: Likewise.
7952         * soft-fp/sqrtdf2.c: Likewise.
7953         * soft-fp/sqrtsf2.c: Likewise.
7954         * soft-fp/sqrttf2.c: Likewise.
7955         * soft-fp/subdf3.c: Likewise.
7956         * soft-fp/subsf3.c: Likewise.
7957         * soft-fp/subtf3.c: Likewise.
7958         * soft-fp/truncdfsf2.c: Likewise.
7959         * soft-fp/trunctfdf2.c: Likewise.
7960         * soft-fp/trunctfsf2.c: Likewise.
7961         * soft-fp/trunctfxf2.c: Likewise.
7962         * soft-fp/unorddf2.c: Likewise.
7963         * soft-fp/unordsf2.c: Likewise.
7964         * soft-fp/unordtf2.c: Likewise.
7966 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
7968         [BZ #15672]
7969         * misc/error.c (error_tail): Fix possible buffer overflow.
7971 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
7973         [BZ #13028]
7974         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7975         address.
7977 2013-10-14  P. J. McDermott  <pj@pehjota.net>
7979         [BZ #832]
7980         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
7981         testing pipefail option.
7983 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7985         * soft-fp/double.h: Indent preprocessor directives inside #if.
7986         * soft-fp/extended.h: Likewise.
7987         * soft-fp/op-2.h: Likewise.
7988         * soft-fp/op-4.h: Likewise.
7989         * soft-fp/op-common.h: Likewise.
7990         * soft-fp/quad.h: Likewise.
7991         * soft-fp/single.h: Likewise.
7992         * soft-fp/soft-fp.h: Likewise.
7994 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
7996         * iconv/iconv_prog.c: Fix typos.
7997         * stdio-common/psiginfo-data.h: Likewise.
7999 2013-10-12   Reuben Thomas <rrt@sc3d.org>
8001         [BZ #15764]
8002         * locale/setlocale.c: Fix typo.
8004 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
8006         [BZ #16036]
8007         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8008         signaling NaN arguments.
8009         * soft-fp/unordsf2.c (__unordsf2): Likewise.
8010         * soft-fp/unordtf2.c (__unordtf2): Likewise.
8012         [BZ #14910]
8013         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8014         unordered operands.
8015         * soft-fp/gesf2.c (__gesf2): Likewise.
8016         * soft-fp/getf2.c (__getf2): Likewise.
8017         * soft-fp/ledf2.c (__ledf2): Likewise.
8018         * soft-fp/lesf2.c (__lesf2): Likewise.
8019         * soft-fp/letf2.c (__letf2): Likewise.
8021         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8022         * soft-fp/eqsf2.c (__eqsf2): Likewise.
8023         * soft-fp/eqtf2.c (__eqtf2): Likewise.
8024         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8025         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8026         * soft-fp/fixdfti.c (__fixdfti): Likewise.
8027         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8028         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8029         * soft-fp/fixsfti.c (__fixsfti): Likewise.
8030         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8031         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8032         * soft-fp/fixtfti.c (__fixtfti): Likewise.
8033         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8034         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8035         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8036         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8037         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8038         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8039         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8040         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8041         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8042         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8043         * soft-fp/floatdisf.c (__floatdisf): Likewise.
8044         * soft-fp/floatsisf.c (__floatsisf): Likewise.
8045         * soft-fp/floattidf.c (__floattidf): Likewise.
8046         * soft-fp/floattisf.c (__floattisf): Likewise.
8047         * soft-fp/floattitf.c (__floattitf): Likewise.
8048         * soft-fp/floatundidf.c (__floatundidf): Likewise.
8049         * soft-fp/floatundisf.c (__floatundisf): Likewise.
8050         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8051         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8052         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8053         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8054         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8055         * soft-fp/gesf2.c (__gesf2): Likewise.
8056         * soft-fp/getf2.c (__getf2): Likewise.
8057         * soft-fp/ledf2.c (__ledf2): Likewise.
8058         * soft-fp/lesf2.c (__lesf2): Likewise.
8059         * soft-fp/letf2.c (__letf2): Likewise.
8061         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8062         Undefine and redefine.
8063         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8064         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8065         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8066         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8067         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8068         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8069         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8070         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8071         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8072         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8073         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8074         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8075         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8076         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8077         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8079         [BZ #16032]
8080         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8081         without decrementing exponent if mantissa >= that for the
8082         denominator, not >.
8083         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8084         denominator, not >.  Decrement exponent in < case instead of
8085         incrementing in >= case.
8086         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8087         without decrementing exponent if mantissa >= that for the
8088         denominator, not >.
8090         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8091         computing saturated result for unsigned overflow.
8093 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8094             Jeff Law  <law@redhat.com>
8096         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8097         (atan2Mp): Add systemtap probe marker.
8098         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8099         (__ieee754_log): Add systemtap probe marker.
8100         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8101         (atanMp): Add systemtap probe marker.
8102         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8103         (tanMp): Add systemtap probe marker.
8104         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8105         (__slowexp): Add systemtap probe marker.
8106         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8107         (__slowpow): Add systemtap probe marker.
8108         * manual/probes.texi: Document probes.
8110 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
8112         [BZ #15362]
8113         * libio/fileops.c (_IO_new_file_write): Return count of bytes
8114         written.
8115         (_IO_new_file_xsputn): Don't return EOF if nothing has been
8116         written.
8117         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8118         written to buffer but not flushed.
8119         * libio/iofwrite_u.c:  Likewise.
8120         * libio/iopadn.c:  Return bytes returned even if EOF was
8121         encountered.
8122         * libio/iowpadn.c:  Likewise.
8123         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8124         if _IO_padn does not write the whole buffer.
8125         [!COMPILE_WPRINTF] (PAD): Likewise.
8127 2013-10-10  David S. Miller  <davem@davemloft.net>
8129         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8130         directory block.
8132 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8134         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
8135         instead of FSF address.
8136         * soft-fp/fixdfti.c: Likewise.
8137         * soft-fp/fixsfti.c: Likewise.
8138         * soft-fp/fixtfti.c: Likewise.
8139         * soft-fp/fixunsdfti.c: Likewise.
8140         * soft-fp/fixunssfti.c: Likewise.
8141         * soft-fp/fixunstfti.c: Likewise.
8142         * soft-fp/floattidf.c: Likewise.
8143         * soft-fp/floattisf.c: Likewise.
8144         * soft-fp/floattitf.c: Likewise.
8145         * soft-fp/floatuntidf.c: Likewise.
8146         * soft-fp/floatuntisf.c: Likewise.
8147         * soft-fp/floatuntitf.c: Likewise.
8148         * soft-fp/trunctfxf2.c: Likewise.
8150         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
8151         * soft-fp/fixdfti.c: Likewise.
8152         * soft-fp/fixsfti.c: Likewise.
8153         * soft-fp/fixtfti.c: Likewise.
8154         * soft-fp/fixunsdfti.c: Likewise.
8155         * soft-fp/fixunssfti.c: Likewise.
8156         * soft-fp/fixunstfti.c: Likewise.
8157         * soft-fp/floattidf.c: Likewise.
8158         * soft-fp/floattisf.c: Likewise.
8159         * soft-fp/floattitf.c: Likewise.
8160         * soft-fp/floatuntidf.c: Likewise.
8161         * soft-fp/floatuntisf.c: Likewise.
8162         * soft-fp/floatuntitf.c: Likewise.
8163         * soft-fp/trunctfxf2.c: Likewise.
8165 2013-10-10  David S. Miller  <davem@davemloft.net>
8167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8169 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
8171         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8172         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8173         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8174         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8175         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8176         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8177         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8179         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8180         for NaNs before doing comparisons on argument.
8181         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8182         Likewise.
8184 2013-10-10  Will Newton  <will.newton@linaro.org>
8186         * malloc/hooks.c (memalign_check): Ensure the value of bytes
8187         passed to _int_memalign does not overflow.
8189 2013-10-10  Torvald Riegel  <triegel@redhat.com>
8191         * scripts/bench.pl: Add include-sources directive.
8192         * benchtests/README: Update documentation.
8194 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8196         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8197         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8198         instead of FP_INIT_ROUNDMODE.
8199         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8200         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8202         [BZ #16034]
8203         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
8204         copy class of input value.
8205         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
8206         not handle exceptions.
8207         * soft-fp/negsf2.c (__negsf2): Likewise.
8208         * soft-fp/negtf2.c (__negtf2): Likewise.
8209         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8211 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
8213         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8214         semicolon.  From Linux kernel.
8216 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
8218         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8220 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
8222         [BZ #156]
8223         * manual/socket.texi: Added statement about buffer
8224         for gethostbyname2_r.
8226 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
8228         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8229         Use .p2align directive instead, throughout.
8230         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8231         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8232         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8233         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8234         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8235         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8236         * sysdeps/x86_64/strchr.S: Likewise.
8237         * sysdeps/x86_64/strrchr.S: Likewise.
8239 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8241         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8243         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8245         * sysdeps/generic/math_private.h (__mpsin1): Remove
8246         declaration.
8247         (__mpcos1): Likewise.
8248         (__mpsin): New argument __range_reduce.
8249         (__mpcos): Likewise.
8250         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8251         (slow): Use __mpsin and __mpcos.
8252         (slow1): Likewise.
8253         (slow2): Likewise.
8254         (sloww): Likewise.
8255         (sloww1): Likewise.
8256         (sloww2): Likewise.
8257         (bsloww): Likewise.
8258         (bsloww1): Likewise.
8259         (bsloww2): Likewise.
8260         (cslow2): Likewise.
8261         (csloww): Likewise.
8262         (csloww1): Likewise.
8263         (csloww2): Likewise.
8264         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8265         range_reduce.  Merge in __mpsin1.
8266         (__mpcos): Likewise.
8267         (__mpsin1): Remove.
8268         (__mpcos1): Likewise.
8270 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
8272         * locale/loadlocale.c (_nl_intern_locale_data): Use
8273         LOCFILE_ALIGNED_P.
8274         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8275         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8276         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8277         obstack data is appropriately aligned.
8278         (obstack_int32_grow_fast): Likewise.
8279         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8280         * locale/programs/locfile.c (add_locale_uint32): Likewise.
8281         (add_locale_uint32_array): Likewise.
8283 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8285         * benchtests/Makefile: Remove ARGLIST and RET variables.
8286         ($(objpfx)bench-%.c): Pass only function name to the script.
8287         * benchtests/README: Update documentation.
8288         * benchtests/acos-inputs: Add new directives.
8289         * benchtests/acosh-inputs: Likewise.
8290         * benchtests/asin-inputs: Likewise.
8291         * benchtests/asinh-inputs: Likewise.
8292         * benchtests/atan-inputs: Likewise.
8293         * benchtests/atanh-inputs: Likewise.
8294         * benchtests/cos-inputs: Likewise.
8295         * benchtests/cosh-inputs: Likewise.
8296         * benchtests/exp-inputs: Likewise.
8297         * benchtests/log-inputs: Likewise.
8298         * benchtests/pow-inputs: Likewise.
8299         * benchtests/rint-inputs: Likewise.
8300         * benchtests/sin-inputs: Likewise.
8301         * benchtests/sinh-inputs: Likewise.
8302         * benchtests/tan-inputs: Likewise.
8303         * benchtests/tanh-inputs: Likewise.
8304         * scripts/bench.pl: Add support for new directives.
8306 2013-10-07  Alan Modra  <amodra@gmail.com>
8308         * README: Fix careless merge.
8310 2013-10-05  Alan Modra  <amodra@gmail.com>
8312         * NEWS: Mention powerpc64le support and bugs fixed.
8313         * README: Both big-endian and little-endian powerpc64 supported.
8315 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8317         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8318         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8319         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8320         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8322 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
8324         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8325         match prototype.
8327 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
8329         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8330         Move -mhard-float appending from
8331         ports/sysdeps/powerpc/powerpc32/Makefile.
8332         [$(with-fp) = yes] (ASFLAGS): Likewise.
8333         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8334         * sysdeps/powerpc/nofpu: Move directory from
8335         ports/sysdeps/powerpc/nofpu.
8336         * sysdeps/powerpc/soft-fp: Move directory from
8337         ports/sysdeps/powerpc/soft-fp.
8338         * sysdeps/powerpc/powerpc32/405: Move directory from
8339         ports/sysdeps/powerpc/powerpc32/405.
8340         * sysdeps/powerpc/powerpc32/440: Move directory from
8341         ports/sysdeps/powerpc/powerpc32/440.
8342         * sysdeps/powerpc/powerpc32/464: Move directory from
8343         ports/sysdeps/powerpc/powerpc32/464.
8344         * sysdeps/powerpc/powerpc32/476: Move directory from
8345         ports/sysdeps/powerpc/powerpc32/476.
8346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8347         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8349         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8351         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8353         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8355         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8356         * README: Update for powerpc-*-linux-gnu software floating point
8357         support in libc.
8359         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8360         case to powerpc/powerpc32*.
8361         * sysdeps/unix/sysv/linux/configure: Regenerated.
8363         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8364         (_FPU_MASK_OM): Define as 0x04.
8365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8367         0x00c10080.
8368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8369         0x0000003c.
8370         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8373         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8374         getcontext_e500.
8375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8376         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8377         setcontext_e500.
8378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8379         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8380         and setcontext_e500.
8382 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
8384         * locale/iso-3166.def: Update iso-1366.def and related occurrences
8386 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8388         * manual/threads.texi (Default Thread Attributes): Fix typo.
8390 2013-10-04  Will Newton  <will.newton@linaro.org>
8392         * malloc/Makefile: Add tst-memalign.
8393         * malloc/tst-memalign.c: New file.
8395         * malloc/tst-posix_memalign.c: Add comments.
8396         (do_test): Add comments and call free on all potentially
8397         allocated pointers. Add space after cast.
8399         * malloc/tst-pvalloc.c: Add comments.
8400         (do_test): Add comments and call free on all potentially
8401         allocated pointers. Remove duplicate check for NULL pointer.
8402         Add space after cast.
8404         * malloc/tst-valloc.c: Add comments.
8405         (do_test): Add comments and call free on all potentially
8406         allocated pointers. Remove duplicate check for NULL pointer.
8407         Add space after cast.
8409 2013-10-04  Alan Modra  <amodra@gmail.com>
8411         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8412         Use stdint types in rather than __attribute__((mode())).
8413         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8415 2013-10-04  Alan Modra  <amodra@gmail.com>
8417         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8418         Correct handling of unaligned relocs for little-endian.
8419         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8421 2013-10-04  Alan Modra  <amodra@gmail.com>
8423         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8424         * configure: Regenerate.
8425         * nptl/shlib-versions: Powerpc*le starts at 2.18.
8426         * shlib-versions: Likewise.
8428 2013-10-04  Alan Modra  <amodra@gmail.com>
8430         * string/tester.c (test_memrchr): Increment reported test cycle.
8432 2013-10-04  Alan Modra  <amodra@gmail.com>
8434         * string/test-memcpy.c (do_one_test): When reporting errors, print
8435         string address and don't overrun end of string.
8437 2013-10-04  Alan Modra  <amodra@gmail.com>
8439         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8440         insrdi.  Make better use of reg selection to speed exit slightly.
8441         Schedule entry path a little better.  Remove useless "are we done"
8442         checks on entry to main loop.  Handle wrapping around zero address.
8443         Correct main loop count.  Handle single left-over word from main
8444         loop inline rather than by using loop_small.  Remove extra word
8445         case in loop_small caused by wrong loop count.  Add little-endian
8446         support.
8447         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8448         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
8449         cache hint.
8450         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8451         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8452         support.  Avoid rlwimi.
8453         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8455 2013-10-04  Alan Modra  <amodra@gmail.com>
8457         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8458         insrdi.  Formatting.
8459         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8460         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8461         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8462         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8463         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8464         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8466 2013-10-04  Alan Modra  <amodra@gmail.com>
8468         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8469         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8470         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8471         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8472         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8473         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8474         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8475         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8476         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
8477         use of regs.  Use power7 mtocrf.  Tidy function tails.
8479 2013-10-04  Alan Modra  <amodra@gmail.com>
8481         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8482         Formatting.  Consistently use rXXX register defines or rN defines.
8483         Use early exit labels that avoid restoring unused non-volatile regs.
8484         Make cr field use more consistent with rWORDn compares.  Rename
8485         regs used as shift registers for unaligned loop, using rN defines
8486         for short lifetime/multiple use regs.
8487         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8488         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
8489         addi 1,1,64 to pop stack frame.  Simplify return value code.
8490         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8492 2013-10-04  Alan Modra  <amodra@gmail.com>
8494         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8495         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
8496         rather than rlwimi.
8497         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8498         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8499         little-endian support.  Correct typos.
8500         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
8501         rather than rlwimi.
8502         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
8503         in loop and entry code to keep "and." results.
8504         (strchr): Add little-endian support.  Comment.  Move cntlzd
8505         earlier in tail.
8506         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8508 2013-10-04  Alan Modra  <amodra@gmail.com>
8510         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8511         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8512         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8513         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8515 2013-10-04  Alan Modra  <amodra@gmail.com>
8517         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8518         (rTMP): Define as r11.
8519         (strcmp): Add little-endian support.  Optimise tail.
8520         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8521         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8522         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8523         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8524         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8525         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8526         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8528 2013-10-04  Alan Modra  <amodra@gmail.com>
8530         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8531         little-endian support.  Remove unnecessary "are we done" tests.
8532         Handle "s" wrapping around zero and extremely large "size".
8533         Correct main loop count.  Handle single left-over word from main
8534         loop inline rather than by using small_loop.  Correct comments.
8535         Delete "zero" tail, use "end_max" instead.
8536         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8538 2013-10-04  Alan Modra  <amodra@gmail.com>
8540         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8541         support.  Don't branch over align.
8542         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8543         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8544         support.  Rearrange tmp reg use to suit.  Comment.
8545         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8547 2013-10-04  Alan Modra  <amodra@gmail.com>
8549         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8551 2013-10-04  Alan Modra  <amodra@gmail.com>
8553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8554         conditional form of branch and link when obtaining pc.
8555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8557 2013-10-04  Alan Modra  <amodra@gmail.com>
8559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8560         HIWORD/LOWORD.
8561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8564 2013-10-04  Alan Modra  <amodra@gmail.com>
8566         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8567         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8568         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8569         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8570         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8571         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8572         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8573         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8574         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8575         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8577 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8578             Alistair Popple <alistair@ozlabs.au.ibm.com>
8579             Alan Modra <amodra@gmail.com>
8581         [BZ #15723]
8582         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8583         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8584         _dl_hwcap access for little-endian.
8585         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
8586         destroy vmx regs when saving unaligned.
8587         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8588         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
8589         destroy vmx regs when saving unaligned.
8591 2013-10-04  Alan Modra  <amodra@gmail.com>
8593         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8594         Don't use a union to pack hi/low value.
8596 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8598         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8599         for little-endian.
8600         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8601         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8602         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8603         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8604         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8606 2013-10-04  Alan Modra  <amodra@gmail.com>
8608         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8609         constants to usual value for .cst8 section, and remove redundant
8610         high address load.
8611         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8612         constant for 0x1p52.  Load little-endian words of double from
8613         correct stack offsets.
8615 2013-10-04  Alan Modra  <amodra@gmail.com>
8617         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8618         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8619         words of double from correct stack offsets.
8620         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8621         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8622         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8623         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8624         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8625         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8626         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8627         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8628         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8629         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8630         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8631         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8632         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8633         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8634         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8635         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8636         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8638 2013-10-04  Alan Modra  <amodra@gmail.com>
8640         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8641         64-bit int/double union.
8642         (_FPU_SETCW): Likewise.
8643         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8644         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8646 2013-10-04  Alan Modra  <amodra@gmail.com>
8648         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8649         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8651 2013-10-04  Alan Modra  <amodra@gmail.com>
8653         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8654         use vector int constants.
8655         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8657 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8659         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8660         array with long long.
8661         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8662         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8663         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8664         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8665         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8666         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8667         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8668         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8669         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8670         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8671         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8672         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8673         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8675 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8677         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8678         (__signbit): Likewise.  Correct for little-endian.
8679         (__signbitl): Call __signbit.
8680         (lrint): Correct for little-endian.
8681         (lrintf): Call lrint.
8683 2013-10-04  Alan Modra  <amodra@gmail.com>
8685         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8686         union 32-bit int array member with 64-bit int array.
8687         (t515, tm256): Double rather than long double.
8688         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8690 2013-10-04  Alan Modra  <amodra@gmail.com>
8692         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8693         Delete.
8694         (IEEE854_LONG_DOUBLE_BIAS): Delete.
8695         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8696         version of math_ldbl.h.
8698 2013-10-04  Alan Modra  <amodra@gmail.com>
8700         [BZ #15734], [BZ #15735]
8701         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8702         all uses of ieee875 long double macros and unions.  Simplify test
8703         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
8704         ldbl_extract_mantissa value for ix,iy exponents.  Properly
8705         normalize after ldbl_extract_mantissa, and don't add hidden bit
8706         already handled.  Don't treat low word of ieee854 mantissa like
8707         low word of IBM long double and mask off bit when testing for
8708         zero.
8709         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8710         all uses of ieee875 long double macros and unions.  Simplify tests
8711         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
8712         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
8713         two1022, instead use their values.  Recognise that tests for large
8714         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
8715         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8716         Rewrite all uses of ieee875 long double macros and unions.  Simplify
8717         test for 0.0L and nan.  Correct negation.
8718         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8719         ieee875 long double macros and unions.  Correct output for large
8720         magnitude x.  Correct absolute value calculation.
8721         (__erfcl): Likewise.
8722         * math/libm-test.inc: Add tests for errors discovered in IBM long
8723         double versions of fmodl, remainderl, erfl and erfcl.
8725 2013-10-04  Alan Modra  <amodra@gmail.com>
8727         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8728         all uses of ieee854 long double macros and unions.  Simplify tests
8729         for long doubles that are fully specified by the high double.
8730         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8731         Likewise.
8732         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8733         Remove dead code too.
8734         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8735         (__ieee754_ynl): Likewise.
8736         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8737         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8738         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8739         Remove dead code too.
8740         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8741         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8742         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8743         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8744         Simplify.
8745         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8746         Simplify.
8747         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8748         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8749         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8750         Comment on variable precision.
8751         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8752         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8753         Likewise.
8754         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8755         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8756         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8757         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8758         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8760 2013-10-04  Alan Modra  <amodra@gmail.com>
8762         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8763         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8764         all uses of ieee854 long double macros and unions.
8765         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8766         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8767         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8768         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8769         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8770         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8771         Likewise.
8772         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8773         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8774         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8775         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8776         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8777         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8778         Simplify sign and nan test too.
8779         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8780         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8781         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8782         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8783         Likewise.
8784         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8785         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8786         Likewise.
8787         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8788         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8789         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8790         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8791         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8792         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8794 2013-10-04  Alan Modra  <amodra@gmail.com>
8796         * stdio-common/printf_size.c (__printf_size): Don't use
8797         union ieee854_long_double in fpnum union.
8798         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
8799         signbit macro to retrieve sign from long double.
8800         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8801         retrieve sign from long double.
8802         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8803         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8804         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8805         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8806         * math/test-misc.c (main): Don't use union ieee854_long_double.
8808 2013-10-04  Alan Modra  <amodra@gmail.com>
8810         [BZ #15680]
8811         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8812         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8813         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8814         calculation.  Remove unnecessary test for denormal exponent.
8815         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8816         Correct handling of denormals.  Avoid undefined shift behaviour.
8817         Correct normalisation of low mantissa when low double is denormal.
8818         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8819         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
8820         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8821         Correct normalisation of low mantissa.  Test for overflow of high
8822         mantissa and normalise.
8823         (ldbl_nearbyint): Use more readable constant for two52.
8824         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8825         (__mpn_construct_long_double): Fix test for overflow of high
8826         mantissa and correct normalisation.  Avoid undefined shift.
8828 2013-10-04  Alan Modra  <amodra@gmail.com>
8830         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8831         (union ibm_extended_long_double): Define as an array of ieee754_double.
8832         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8833         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8834         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8835         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8836         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8837         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8838         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8839         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8840         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8841         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8842         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8844 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
8846         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8847         page size instead of calling getpagesize.
8849         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8850         (LOCFILE_ALIGN_MASK): Likewise.
8851         (LOCFILE_ALIGN_UP): Likewise.
8852         (LOCFILE_ALIGNED_P): Likewise.
8853         * locale/programs/ld-collate.c (collate_output): Use the new
8854         macros instead of __alignof__ (int32_t).
8855         * locale/weight.h (findidx): Likewise.
8857 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
8859         [BZ #431]
8860         * manual/string.texi: Fix strncat and wcsncat.
8862 2013-10-03  Brooks Moses  <bmoses@google.com>
8864         [BZ #15915]
8865         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8866         * Makerules: ...here, and adjust associated comments.
8868 2013-10-02  Will Newton  <will.newton@linaro.org>
8870         * malloc/Makefile: Add tst-pvalloc.
8871         * malloc/tst-pvalloc.c: New file.
8873 2013-10-02  Will Newton  <will.newton@linaro.org>
8875         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8876         improve test coverage.
8878 2013-10-02  Will Newton  <will.newton@linaro.org>
8880         * malloc/Makefile: Add tst-posix_memalign.
8881         * malloc/tst-posix_memalign.c: New file.
8883 2013-10-01  Eric Blake  <eblake@redhat.com>
8885         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8886         Use __THROWNL rather than __THROW on static functions.
8888 2013-09-30  Petr Machata  <pmachata@redhat.com>
8890         * elf/elf.h (R_AARCH64_ABS16): New macro.
8891         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8892         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8893         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8894         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8895         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8896         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8897         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8898         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8899         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8900         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8901         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8902         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8903         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8904         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8905         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8906         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8907         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8908         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8909         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8910         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8911         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8912         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8913         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8914         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8915         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8916         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8917         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8918         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8919         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8920         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8921         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8922         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8923         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8924         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8925         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8926         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8927         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8928         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8929         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8930         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8931         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8932         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8933         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8934         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8935         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8936         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8937         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8938         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8939         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8940         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8941         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8942         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8943         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8944         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8945         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8946         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8947         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8948         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8949         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8950         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8951         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8952         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8953         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8954         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8955         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8956         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8957         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8958         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8959         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8960         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8961         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8962         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8963         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8964         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8965         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8966         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8967         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8968         (R_AARCH64_TLSDESC_LDR): Likewise.
8969         (R_AARCH64_TLSDESC_ADD): Likewise.
8970         (R_AARCH64_TLSDESC_CALL): Likewise.
8972 2013-09-30  Andreas Schwab  <schwab@suse.de>
8974         [BZ #15048]
8975         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8976         the nss database lookup.
8977         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8978         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8980 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
8982         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8984 2013-09-28  P. J. McDermott  <pj@pehjota.net>
8986         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8987         ${Bash-specific parameter/pattern/string} parameter expansion.
8988         * sysdeps/unix/make-syscalls.sh: Likewise.
8990 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8992         * sysdeps/sh/stackguard-macros.h: New file.
8994 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
8996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8998         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8999         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9000         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9001         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9003 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9005         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9006         Fix thread ID register.
9008 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
9010         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9011         [POSIX || UNIX98]: Require rather than permitting all symbols from
9012         <time.h>.
9013         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9014         element of struct sched_param.
9015         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9016         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9017         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9018         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9019         constant.
9021 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
9023         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9024         argument calculation.
9026 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9028         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9029         Expect macro.
9030         [POSIX] (pthread_attr_t): Do not require type.
9031         [POSIX] (pthread_cond_t): Likewise.
9032         [POSIX] (pthread_condattr_t): Likewise.
9033         [POSIX] (pthread_key_t): Likewise.
9034         [POSIX] (pthread_mutex_t): Likewise.
9035         [POSIX] (pthread_mutexattr_t): Likewise.
9036         [POSIX] (pthread_once_t): Likewise.
9037         [POSIX] (pthread_t): Likewise.
9038         [POSIX-based standards] (pthread_atfork): Expect function.
9040 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
9041             Richard Sandiford  <richard@codesourcery.com>
9043         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9044         (swap_endianness_p): New extern variable.
9045         (set_big_endian): New inline function.
9046         (maybe_swap_uint32): Likewise.
9047         (maybe_swap_uint32_array): Likewise.
9048         (maybe_swap_uint32_obstack): Likewise.
9049         * locale/programs/locfile.c: Include <stdbool.h>.
9050         (swap_endianness_p): New variable.
9051         (add_locale_uint32): Call maybe_swap_uint32.
9052         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9053         (write_locale_data): Call maybe_swap_uint32_array.
9054         * locale/programs/ld-collate.c (obstack_int32_grow): Call
9055         maybe_swap_uint32.
9056         (obstack_int32_grow_fast): Likewise.
9057         (output_weightwc): Call maybe_swap_uint32_obstack.
9058         (collate_output): Likewise.
9059         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9060         (OPT_LITTLE_ENDIAN): Likewise.
9061         (options): Add --little-endian and --big-endian options.
9062         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9063         * locale/programs/locarchive.c: Include "locfile.h".
9064         (GET): New macro.
9065         (SET): Likewise.
9066         (INC): Likewise.
9067         (create_archive): Use the new macros to access fields of
9068         structures directly mapped from or written to locale archives.
9069         (oldlocrecentcmp): Likewise.
9070         (enlarge_archive): Likewise.
9071         (insert_name): Likewise.
9072         (add_alias): Likewise.
9073         (add_locale): Likewise.
9074         (delete_locales_from_archive): Likewise.
9075         (show_archive_content): Likewise.
9076         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
9077         locale data.
9079 2013-09-24  Roland McGrath  <roland@hack.frob.com>
9081         * manual/freemanuals.texi: Updated from (newly) canonical copy at
9082         http://www.gnu.org/doc/freemanuals.texi.
9083         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9085 2013-09-24  Will Newton  <will.newton@linaro.org>
9087         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9088         macro.
9090 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
9092         * locale/hashval.h (compute_hashval): Interpret bytes of key as
9093         unsigned char.
9095 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
9097         * manual/threads.texi (POSIX Threads): Fix a typo.
9099 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9101         [BZ #14547]
9102         * string/tst-strcoll-overflow.c: New test case.
9103         * string/Makefile (xtests): Add tst-strcoll-overflow.
9104         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9105         cache if string sizes may cause integer overflow.
9107         [BZ #14547]
9108         * string/strcoll_l.c (coll_seq): New members rule, idx,
9109         save_idx and back_us.
9110         (get_next_seq_nocache): New function.
9111         (do_compare_nocache): New function.
9112         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9113         when malloc fails.
9115 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
9117         [BZ #15754]
9118         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9119         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9120         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9122         [BZ #15754]
9123         * elf/Makefile (tests): Add tst-ptrguard1.
9124         (tests-static): Add tst-ptrguard1-static.
9125         (tst-ptrguard1-ARGS): Define.
9126         (tst-ptrguard1-static-ARGS): Define.
9127         * elf/tst-ptrguard1.c: New file.
9128         * elf/tst-ptrguard1-static.c: New file.
9129         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9130         * sysdeps/i386/stackguard-macros.h: Likewise.
9131         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9132         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9133         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9134         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9135         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9136         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9138 2013-09-23  Hector Marco  <hecmargi@upv.es>
9139             Ismael Ripoll  <iripoll@disca.upv.es>
9140             Carlos O'Donell  <carlos@redhat.com>
9142         [BZ #15754]
9143         * sysdeps/generic/stackguard-macros.h: Define
9144         __pointer_chk_guard_local and POINTER_CHK_GUARD.
9145         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9146         Define __pointer_chk_guard_local.
9147         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9148         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9150 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
9152         [BZ #15859]
9153         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9155 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
9157         * include/string.h (__ffs): Declare as hidden.
9158         * string/ffs.c (__ffs): Define as hidden.
9159         * sysdeps/i386/ffs.c (__ffs): Likewise.
9160         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9161         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9162         * sysdeps/s390/ffs.c (__ffs): Likewise.
9163         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9165 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
9167         * NEWS: Mention malloc probes.
9169         * malloc/arena.c (new_heap): New memory_heap_new probe.
9170         (grow_heap): New memory_heap_more probe.
9171         (shrink_heap): New memory_heap_less probe.
9172         (heap_trim): New memory_heap_free probe.
9173         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9174         (systrim): New memory_sbrk_less probe.
9175         * manual/probes.texi: Document them.
9177         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9178         * manual/probes.texi: Document it.
9180         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9181         (__libc_realloc): Add memory_realloc_retry probe.
9182         (__libc_memalign): Add memory_memalign_retry probe.
9183         (__libc_valloc): Add memory_valloc_retry probe.
9184         (__libc_pvalloc): Add memory_pvalloc_retry probe.
9185         (__libc_calloc): Add memory_calloc_retry probe.
9186         * manual/probes.texi: Document them.
9188         * malloc/arena.c (get_free_list): Add probe
9189         memory_arena_reuse_free_list.
9190         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9191         and memory_arena_reuse.
9192         (arena_get2) [!PER_THREAD]: Likewise.
9193         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9194         memory_arena_reuse_realloc.
9195         * manual/probes.texi: Document them.
9197         * malloc/malloc.c (__libc_free): Add
9198         memory_mallopt_free_dyn_thresholds probe.
9199         (__libc_mallopt): Add multiple memory_mallopt probes.
9200         * manual/probes.texi: Document them.
9202         * malloc/malloc.c: Include stap-probe.h.
9203         (__libc_mallopt): Add memory_mallopt probe.
9204         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9205         * manual/probes.texi: New.
9206         * manual/Makefile (chapters): Add probes.
9207         * manual/threads.texi: Set next node.
9209 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
9211         [BZ #15963, #13985]
9212         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9213         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9214         Add `Chinese' to `nan' entry name.
9216 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9218         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9219         (POLYNOMIAL): Likewise.
9220         (TAYLOR_SINCOS): Likewise.
9221         (TAYLOR_SLOW): Likewise.
9222         (__sin): Use TAYLOR_SINCOS.
9223         (__cos): Likewise.
9224         (slow): Use TAYLOR_SLOW.
9225         (sloww): Likewise.
9226         (bsloww): Likewise.
9227         (csloww): Likewise.
9229 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9231         * stdlib/strtod_l.c: Fix buffer overrun.
9233 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9235         * benchtests/Makefile (bench): Add sincos.
9236         * benchtests/bench-sincos.c: New file.
9238         * math/libm-test.inc (cos_test_data): New test inputs.
9239         (sin_test_data): Likewise.
9241         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9242         macro.
9243         (__sin): Use it.
9244         (__cos): Likewise.
9245         (slow1): Likewise.
9246         (slow2): Likewise.
9247         (sloww1): Likewise.
9248         (sloww2): Likewise.
9249         (bsloww1): Likewise.
9250         (bsloww2): Likewise.
9251         (cslow2): Likewise.
9252         (csloww1): Likewise.
9253         (csloww2): Likewise.
9255         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9256         function.
9257         (__sin): Use it.
9258         (__cos): Likewise.
9260         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9261         gotos.
9262         (__cos): Likewise.
9264 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
9266         * config.h.in (HAVE_MIPS_NAN2008): New macro.
9267         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9268         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9269         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9270         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9271         * elf/cache.c (print_entry): Handle the new cache flags.
9273 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9274             Aldy Hernandez  <aldyh@redhat.com>
9276         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9277         Change condition to [_SOFT_FLOAT].
9278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9290         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9292         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9293         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9294         declaration.
9296 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9298         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9299         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9300         (__longjmp): Use LOAD_GP to load saved GPRs.
9301         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9302         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9303         (__sigsetjmp): Use SAVE_GP to save GPRs.
9305         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9306         Do not append -msoft-float.
9307         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9309 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9311         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9313 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
9315         [BZ #15966]
9316         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9317         (_FPU_GETCW): Use initial "__" on variable and field names but not
9318         on macro parameter name.
9319         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
9320         parentheses around reference to macro parameter.
9322 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
9324         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9325         prototype.
9326         (ctype_startup): Use uint32_t in cast and sizeof for
9327         ctype->charnames.
9329 2013-09-11  Jia Liu  <proljc@gmail.com>
9331         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9332         __daddr_t_defined.
9333         [__FreeBSD__]: Likewise.
9335 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
9337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9338         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9339         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9340         (strchr): Remove __strchr_sse42 ifunc selection.
9341         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9342         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9344 2013-09-11  Will Newton  <will.newton@linaro.org>
9346         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9347         parameter to RES. Remove hardcoded 1000 value.
9348         * benchtests/bench-skeleton.c (main): Pass RES parameter
9349         to TIMING_INIT and multiply result by 1000.
9351 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9355 2013-09-11  Andreas Schwab  <schwab@suse.de>
9357         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9358         if not defined.
9359         (O_TMPFILE) [__USE_GNU]: Define.
9360         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9361         Define.
9363 2013-09-11  Will Newton  <will.newton@linaro.org>
9365         [BZ #15857]
9366         * malloc/malloc.c (__libc_memalign): Check the value of bytes
9367         does not overflow.
9369 2013-09-11  Will Newton  <will.newton@linaro.org>
9371         [BZ #15856]
9372         * malloc/malloc.c (__libc_valloc): Check the value of bytes
9373         does not overflow.
9375 2013-09-11  Will Newton  <will.newton@linaro.org>
9377         [BZ #15855]
9378         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9379         does not overflow.
9381 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
9383         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9384         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9385         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9386         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9387         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9389 2013-09-10  Allan McRae  <allan@archlinux.org>
9391         [BZ #15748]
9392         * manual/arith.texi (Parsing of Floats): Clarify
9393         cross-reference.
9395         [BZ #15849]
9396         * manual/install.texi (Running make install): Mention
9397         --enable-pt-chown.
9398         * INSTALL: Regenerated.
9400 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
9402         * csu/init-first.c (_init): Remove the !SHARED condition around
9403         FPU control word initialization.
9404         * elf/dl-support.c (_dl_fpu_control): New variable.
9405         (_dl_aux_init) <AT_FPUCW>: Initialize it.
9406         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9407         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9408         * math/test-fpucw-static.c: New file.
9409         * math/test-fpucw-ieee.c: New file.
9410         * math/test-fpucw-ieee-static.c: New file.
9411         * math/Makefile (tests): Add `test-fpucw-ieee' and
9412         `$(tests-static)'.
9413         (tests-static): New variable.
9414         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9415         dependency to...
9416         [($(build-shared),yes)]
9417         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9418         ... this.
9419         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9420         New dependency.
9422 2013-09-09  Allan McRae  <allan@archlinux.org>
9424         [BZ #15939]
9425         * manual/string.texi (Collation Functions): Fix typo in
9426         strcoll example.
9427         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9429         [BZ #15893]
9430         * stdlib/isomac.c (get_null_defines): Fix memory leak.
9432         [BZ #15892]
9433         * libio/memstream.c (open_memstream): Fix memory leak.
9434         * libio/wmemstream.c (open_wmemstream): Likewise.
9436         [BZ #15895]
9437         * nscd/netgroupcache.c: Fix nesting of ifdefs.
9439 2013-09-09  Will Newton  <will.newton@linaro.org>
9441         * malloc/Makefile: Add tst-realloc to tests.
9442         * malloc/tst-realloc.c: New file.
9444 2013-09-09  Allan McRae  <allan@archlinux.org>
9446         [BZ #15844]
9447         * COPYING: Update from GNU website to fix FSF address.
9448         * COPYING.LIB: Likewise.
9450 2013-09-06  David S. Miller  <davem@davemloft.net>
9452         * po/zh_TW.po: Update Chinese (traditional) translation from
9453         translation project.
9455 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
9456             Joseph Myers  <joseph@codesourcery.com>
9458         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9459         "localeinfo.h".
9460         (obstack_chunk_alloc): New macro.
9461         (obstack_chunk_free): Likewise.
9462         (record_offset): New function.
9463         (init_locale_data): Likewise.
9464         (align_locale_data): Likewise.
9465         (add_locale_empty): Likewise.
9466         (add_locale_raw_data): Likewise.
9467         (add_locale_raw_obstack): Likewise.
9468         (add_locale_string): Likewise.
9469         (add_locale_wstring): Likewise.
9470         (add_locale_uint32): Likewise.
9471         (add_locale_uint32_array): Likewise.
9472         (add_locale_char): Likewise.
9473         (start_locale_structure): Likewise.
9474         (end_locale_structure): Likewise.
9475         (start_locale_prelude): Likewise.
9476         (end_locale_prelude): Likewise.
9477         (write_locale_data): Take locale_file structure rather than an
9478         iovec.
9479         * locale/programs/locfile.h: Include "obstack.h".
9480         (struct locale_file): Change to store locale file contents instead
9481         of header.
9482         (init_locale_data): New prototype.
9483         (align_locale_data): Likewise.
9484         (add_locale_empty): Likewise.
9485         (add_locale_raw_data): Likewise.
9486         (add_locale_raw_obstack): Likewise.
9487         (add_locale_string): Likewise.
9488         (add_locale_wstring): Likewise.
9489         (add_locale_uint32): Likewise.
9490         (add_locale_uint32_array): Likewise.
9491         (add_locale_char): Likewise.
9492         (start_locale_structure): Likewise.
9493         (end_locale_structure): Likewise.
9494         (start_locale_prelude): Likewise.
9495         (end_locale_prelude): Likewise.
9496         (write_locale_data): Update prototype.
9497         * locale/programs/3level.h (struct TABLE): Remove result field.
9498         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9499         Use new locale_file interface.
9500         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9501         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9502         * locale/programs/ld-address.c (address_output): Use new
9503         locale_file interface.
9504         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9505         NO_ADD_LOCALE.
9506         (collate_finish): Don't call collseq_table_finalize.
9507         (collate_output): Use new locale_file interface.
9508         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9509         in file.
9510         (NO_FINALIZE): Change to NO_ADD_LOCALE.
9511         (TABLE): Move defines earlier in file.
9512         (ELEMENT): Likewise.
9513         (DEFAULT): Likewise.
9514         (wctrans_table_add): Move macro and inline function earlier in
9515         file.
9516         (struct wctype_table): Move type earlier in file.
9517         (add_locale_wctype_table): New static prototype.
9518         (struct locale_ctype_t): Use logical types instead of struct iovec
9519         pointers for members.
9520         (ctype_output): Use new locale_file interface.
9521         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
9522         new locale_file interface.
9523         (allocate_arrays): Update for use of new locale_file interface.
9524         * locale/programs/ld-identification.c (identification_output): Use
9525         new locale_file interface.
9526         * locale/programs/ld-measurement.c (measurement_output): Likewise.
9527         * locale/programs/ld-messages.c (messages_output): Likewise.
9528         * locale/programs/ld-monetary.c (monetary_output): Likewise.
9529         * locale/programs/ld-name.c (name_output): Likewise.
9530         * locale/programs/ld-numeric.c (numeric_output): Likewise.
9531         * locale/programs/ld-paper.c (paper_output): Likewise.
9532         * locale/programs/ld-telephone.c (telephone_output): Likewise.
9533         * locale/programs/ld-time.c (time_output): Likewise.
9535 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9537         * benchtests/Makefile: Add memrchr benchmark.
9538         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9539         benchmark as memrchr.
9540         * benchtests/bench-memrchr-ifunc.c: New file.
9541         * benchtests/bench-memrchr.c: New file.
9543 2013-09-06   Will Newton  <will.newton@linaro.org>
9545         * benchtests/Makefile (string-bench): Add memcpy.
9547 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
9548             Cong Wang  <amwang@redhat.com>
9550         [BZ #15850]
9551         * sysdeps/unix/sysv/linux/bits/in.h
9552         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9553         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9554         before __USE_KERNEL_IPV6_DEFS uses.
9555         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9556         IPPROTO_BEETPH.
9557         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9558         sockaddr_in6, or ipv6_mreq.
9560 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9562         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9563         memory access for final bytes in some large inputs.
9564         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9566 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9568         * string/test-memrchr.c: New file.
9569         * string/test-memrchr-ifunc.c: New file.
9570         * string/Makefile: Add new memrchr testcase.
9572 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
9574         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9575         fanotify_init returns EPERM.
9577 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9579         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9580         errors.
9581         (top level): Treat second token from macro or constant entries for
9582         allowed headers as allowed.
9583         * include/complex.h: Condition internal declarations on
9584         [!_ISOMAC].
9585         * include/fenv.h: Condition include of <stdbool.h> and internal
9586         declarations on [!_ISOMAC].
9588 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
9590         [BZ #15923]
9591         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9593 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9595         * configure.in (--enable-versioning): Remove configure option.
9596         (libc_cv_asm_symver_directive): Remove configure test.
9597         (libc_cv_ld_version_script_option): Likewise.
9598         (VERSIONING): Remove variable and AC_SUBST.
9599         (DO_VERSIONING): Remove AC_DEFINE.
9600         * configure: Regenerated.
9601         * config.h.in (DO_VERSIONING): Remove macro.
9602         * Makerules [$(versioning) = yes]: Change conditionals to
9603         [$(build-shared) = yes].
9604         * config.make.in (versioning): Remove variable.
9605         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9606         [$(build-shared) = yes].
9607         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9608         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9609         * elf/Makefile [$(versioning) = yes]: Change conditionals to
9610         [$(build-shared) = yes].
9611         * extra-lib.mk [$(versioning) = yes]: Likewise.
9612         * hurd/Makefile [$(versioning) = yes]: Likewise.
9613         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9614         [SHARED].
9615         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9616         [SHARED].
9617         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9618         [SHARED && !NO_HIDDEN].
9619         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9620         [SHARED].
9621         [SHARED && DO_VERSIONING]: Likewise..
9622         * libio/Makefile [$(versioning) = yes]: Change conditionals to
9623         [$(build-shared) = yes].
9624         * manual/install.texi (--disable-versioning): Remove
9625         documentation.
9626         * INSTALL: Regenerated.
9627         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9628         to [SHARED].
9629         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9630         [$(build-shared) = yes].
9631         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9632         * sysdeps/i386/i686/multiarch/strstr-c.c
9633         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9634         [SHARED && !NO_HIDDEN].
9635         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9636         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9637         * sysdeps/powerpc/powerpc32/dl-machine.c
9638         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9639         * sysdeps/powerpc/powerpc32/sysdep.h
9640         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9641         to [SHARED && PIC && !NO_HIDDEN].
9642         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9643         conditional to [SHARED].
9645 2013-09-04   Will Newton  <will.newton@linaro.org>
9647         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9648         * benchtests/bench-string.h: Include bench-timing.h instead
9649         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9650         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9651         call to HP_TIMING_DIFF_INIT.
9652         * benchtests/bench-memccpy.c: Use bench-timing.h macros
9653         instead of hp-timing.h macros.
9654         * benchtests/bench-memchr.c: Likewise.
9655         * benchtests/bench-memcmp.c: Likewise.
9656         * benchtests/bench-memcpy.c: Likewise.
9657         * benchtests/bench-memmem.c: Likewise.
9658         * benchtests/bench-memmove.c: Likewise.
9659         * benchtests/bench-memset.c: Likewise.
9660         * benchtests/bench-rawmemchr.c: Likewise.
9661         * benchtests/bench-strcasecmp.c: Likewise.
9662         * benchtests/bench-strcasestr.c: Likewise.
9663         * benchtests/bench-strcat.c: Likewise.
9664         * benchtests/bench-strchr.c: Likewise.
9665         * benchtests/bench-strcmp.c: Likewise.
9666         * benchtests/bench-strcpy.c: Likewise.
9667         * benchtests/bench-strcpy_chk.c: Likewise.
9668         * benchtests/bench-strlen.c: Likewise.
9669         * benchtests/bench-strncasecmp.c: Likewise.
9670         * benchtests/bench-strncat.c: Likewise.
9671         * benchtests/bench-strncmp.c: Likewise.
9672         * benchtests/bench-strncpy.c: Likewise.
9673         * benchtests/bench-strnlen.c: Likewise.
9674         * benchtests/bench-strpbrk.c: Likewise.
9675         * benchtests/bench-strrchr.c: Likewise.
9676         * benchtests/bench-strspn.c: Likewise.
9677         * benchtests/bench-strstr.c: Likewise.
9679 2013-09-04  Will Newton  <will.newton@linaro.org>
9681         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9683 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
9685         [BZ #15427]
9686         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9687         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9688         * math/libm-test.inc (lgamma_test_data): Add more tests.
9689         * sysdeps/i386/fpu/libm-test-ulps: Update.
9690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9692 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
9694         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9695         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9696         Add ifunc.
9697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9698         Add strcmp-sse2-unaligned
9699         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9701 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9703         * Versions.def (libc): Add GLIBC_2.19.
9705 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9707         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9708         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9710 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
9712         [BZ #14155]
9713         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9714         intermediate calculations in recurrence.
9715         (__ieee754_ynf): Likewise.
9716         * math/libm-test.inc (jn_test_data): Do not allow spurious
9717         underflow exception.  Add more tests.
9718         (yn_test_data): Add more tests.
9719         * sysdeps/i386/fpu/libm-test-ulps: Update.
9720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9722 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
9724         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9726 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9728         * csu/init-first.c: Fix then/than typos.
9729         * locale/programs/ld-collate.c: Likewise.
9730         * locale/programs/linereader.h: Likewise.
9731         * manual/charset.texi: Likewise.
9732         * manual/filesys.texi: Likewise.
9733         * manual/stdio.texi: Likewise.
9734         * manual/string.texi: Likewise.
9735         * stdlib/fmtmsg.c: Likewise.
9736         * sysdeps/i386/stpncpy.S: Likewise.
9737         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9738         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9739         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9740         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9742 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9744         * elf/dl-open.c: Fix typos.
9745         * iconvdata/gbbig5.c: Likewise.
9746         * iconvdata/iso-2022-jp.c: Likewise.
9747         * iconv/gconv_int.h: Likewise.
9748         * iconv/loop.c: Likewise.
9749         * nis/rpcsvc/nis.h: Likewise.
9750         * resolv/ns_name.c: Likewise.
9751         * stdio-common/vfscanf.c: Likewise.
9752         * streams/stropts.h: Likewise.
9753         * sunrpc/rpc_thread.c: Likewise.
9754         * sysdeps/i386/strpbrk.S: Likewise.
9755         * sysdeps/ieee754/k_standard.c: Likewise.
9756         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9757         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9758         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9759         * sysdeps/mach/hurd/profil.c: Likewise.
9760         * sysdeps/s390/dl-procinfo.h: Likewise.
9761         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9762         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9763         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9764         * sysdeps/x86_64/dl-trampoline.S: Likewise.
9765         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9767 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
9769         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9772 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
9774         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9775         aix specific files.
9776         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9777         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9778         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9779         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9780         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9781         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9782         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9783         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9785 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
9786             Roland McGrath  <roland@hack.frob.com>
9788         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9789         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9791 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9793         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9794         __executable_start symbol instead of _start.
9796 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
9798         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9799         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9800         Move macros to...
9801         * sysdeps/gnu/ldsodefs.h: ... this new file.
9803         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9804         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9805         instead of ELFOSABI_LINUX.
9807         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
9808         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9809         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9810         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9811         Likewise.
9812         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9813         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9814         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9815         Likewise.
9816         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9817         (ibm_extended_long_double): Add ieee_nan member.
9818         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9819         (do_test): New function.
9821         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9822         TEST_TRUNC.
9823         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9824         functions, renamed from truncdfsf_test, trunctfsf_test,
9825         trunctfdf_test.
9826         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9827         functions.
9828         (do_test): Run all these.
9830 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
9832         * argp/argp-help.c: Fix typos.
9833         * argp/argp-parse.c: Likewise.
9834         * debug/backtracesyms.c: Likewise.
9835         * elf/elf.h: Likewise.
9836         * malloc/malloc.c: Likewise.
9837         * nis/nis_print.c: Likewise.
9838         * resolv/res_comp.c: Likewise.
9839         * stdlib/stdlib.h: Likewise.
9840         * sunrpc/clnt_tcp.c: Likewise.
9841         * sunrpc/clnt_udp.c: Likewise.
9842         * sunrpc/clnt_unix.c: Likewise.
9843         * sysdeps/unix/bsd/ptsname.c: Likewise.
9844         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9845         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
9846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9847         Likewise.
9848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9849         Likewise.
9850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9851         Likewise.
9852         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9854 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9856         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9857         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9859 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
9861         [BZ #15897]
9862         * dlfcn/Makefile (tests): Add bug-dl-leaf.
9863         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9864         ($(objpfx)bug-dl-leaf): New rule.
9865         ($(objpfx)bug-dl-leaf.so): Likewise.
9866         ($(objpfx)bug-dl-leaf.out): Likewise.
9867         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9868         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9869         * dlfcn/bug-dl-leaf.c: New test.
9870         * dlfcn/bug-dl-leaf-lib.c: Likewise.
9871         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9872         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9873         (dlclose): Likewise.
9874         (dlmopen): Likewise.
9876 2013-08-27  Roland McGrath  <roland@hack.frob.com>
9878         * include/netdb.h [!_ISOMAC]:
9879         Don't include <tls.h>.
9880         (h_errno, __libc_h_errno): Move declaration and macros out of
9881         [_LIBC_REENTRANT].
9883         * include/resolv.h [_RESOLV_H_]:
9884         Don't include <tls.h>.
9885         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9886         * resolv/res_libc.c: Don't include <tls.h>.
9887         (_res): Use __attribute__ ((nocommon)) in place of
9888         __attribute__ ((section (".bss"))).
9890         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9891         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9893         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9895         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9896         only under [SIOCGIFCONF && SIOCGIFNETMASK].
9898         * resolv/res_mkquery.c: Include <sys/time.h>.
9900         * inet/ifreq.c: Moved to ...
9901         * sysdeps/unix/ifreq.c: ... here.
9902         * inet/ifreq.c: New file, true stub version.
9904         * socket/sa_len.c: New file.
9905         * socket/Makefile (aux): Add it.
9906         * sysdeps/unix/sysv/linux/Makefile
9907         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9908         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9909         and #include <socket/sa_len.c>.
9910         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9911         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9913         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9914         * bits/socket.h: ... here.
9916         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9917         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9918         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9920 2013-08-27  Andreas Schwab  <schwab@suse.de>
9922         [BZ #15736]
9923         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9924         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9925         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9926         * string/test-strcasecmp.c (test_main): Run tests in several
9927         locales.
9928         * string/test-strncasecmp.c (test_main): Likewise.
9930         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9931         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9932         to __strcasecmp_nonascii and __strncasecmp_nonascii.
9933         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9934         (__strncasecmp_ssse3) [PIC]: Likewise.
9936 2013-08-26  Roland McGrath  <roland@hack.frob.com>
9938         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9940         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9941         instead of explicitly declaring xdecrypt.
9942         * nis/nss_nis/nis-publickey.c: Likewise.
9944 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9946         [BZ #15890]
9947         * nscd/aicache.c: Include res_hconf.h.
9948         (addhstaiX): Initialize res_hconf.
9950 2013-08-26  Andreas Schwab  <schwab@suse.de>
9952         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9953         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9955 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9957         * nscd/aicache.c (addhstaiX): Fix indentation.
9959 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
9961         * configure.ac: Quote $build_pt_chown test.
9962         * configure: Regenerated.
9964 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
9966         [BZ #15532]
9967         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9968         * math/s_cexpf.c (__cexpf): Likewise.
9969         * math/s_cexpl.c (__cexpl): Likewise.
9970         * math/libm-test.inc (cexp_test_data): Correct expected return
9971         value for NaN + i0.  Add another test.
9973 2013-08-22  David S. Miller  <davem@davemloft.net>
9975         * po/ca.po: Update Catalan translation from translation project.
9976         * po/uk.po: Add Ukrainian translations from translation project.
9978 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
9980         [BZ #15797]
9981         * math/s_fdim.c (__fdim): Check for infinite arguments if result
9982         is infinite, not alongside NaN test.
9983         * math/s_fdimf.c (__fdimf): Likewise.
9984         * math/s_fdiml.c (__fdiml): Likewise.
9985         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
9986         errno is unchanged.
9988 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
9990         * argp/argp-help.c: Fix typos.
9991         * crypt/speeds.c: Likewise.
9992         * csu/check_fds.c: Likewise.
9993         * elf/dl-load.c: Likewise.
9994         * elf/dl-open.c: Likewise.
9995         * elf/reldep3.c: Likewise.
9996         * elf/reldep.c: Likewise.
9997         * elf/sprof.c: Likewise.
9998         * iconv/iconv_charmap.c: Likewise.
9999         * iconv/skeleton.c: Likewise.
10000         * iconv/strtab.c: Likewise.
10001         * io/lockf64.c: Likewise.
10002         * libio/libioP.h: Likewise.
10003         * resolv/gai_notify.c: Likewise.
10004         * resolv/ns_name.c: Likewise.
10005         * resolv/ns_samedomain.c: Likewise.
10006         * resolv/res_send.c: Likewise.
10007         * stdlib/random.c: Likewise.
10008         * sunrpc/rpc/xdr.h: Likewise.
10009         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10010         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10011         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10012         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10013         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10014         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10015         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10016         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10017         * sysdeps/mach/hurd/check_fds.c: Likewise.
10018         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10019         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10020         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10021         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10022         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10023         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10024         * sysdeps/pthread/aio_notify.c: Likewise.
10025         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10026         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10027         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10028         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10029         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10031 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10033         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10034         version if bit_Slow_SSE4_2 is set.
10035         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10036         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10038 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10040         [BZ #15867]
10041         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10042         trampoline stack frame information.
10043         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10044         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10045         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10046         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10047         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10048         * sysdeps/unix/sysv/linux/powerpc/init-first.c
10049         (_libc_vdso_platform_setup): Initialize the signal trampolines.
10050         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10051         sa_flags value.
10052         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10053         interrupting a syscall and set with option SA_SIGINFO.
10055 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10057         [BZ #15531]
10058         * math/s_cproj.c (__cproj): Only return an infinity if one part of
10059         argument is infinite.
10060         * math/s_cprojf.c (__cprojf): Likewise.
10061         * math/s_cprojl.c (__cprojl): Likewise.
10062         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10063         * math/libm-test.inc (cproj_test_data): Add more tests.
10065         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10067         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10068         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10069         size.  Use __ffs to determine corresponding shift.
10071 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
10072             Roland McGrath  <roland@hack.frob.com>
10074         * Makefile (INSTALL): Remove trailing blank lines from output of
10075         makeinfo.
10077 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10079         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10080         Align 32 bit compat elf_greg to 8 bytes.
10082 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10084         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10086 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10088         * string/strcoll_l.c (coll_seq): New structure.
10089         (get_next_seq_cached): New function.
10090         (get_next_seq): New function.
10091         (do_compare): New function.
10092         (STRCOLL): Use GNU style definition.  Simplify implementation
10093         by using get_next_seq, get_next_seq_cached and do_compare.
10095 2013-08-16  Florian Weimer  <fweimer@redhat.com>
10097         [BZ #14699]
10098         CVE-2013-4237
10099         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10100         member.
10101         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10102         member.
10103         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10104         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10105         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
10106         conditional.
10107         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10108         GETDENTS_64BIT_ALIGNED.
10109         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10110         * manual/filesys.texi (Reading/Closing Directory): Document
10111         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
10112         strongly.
10113         * manual/conf.texi (Limits for Files): Add portability note to
10114         NAME_MAX, PATH_MAX.
10115         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10117 2013-08-13  Andreas Schwab  <schwab@suse.de>
10119         [BZ #15749]
10120         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10121         of fabs.
10122         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10123         LDBL_MAX_EXP >= 16384]: Add tests for it.
10125 2013-08-12  David S. Miller  <davem@davemloft.net>
10127         * version.h (RELEASE): Set to "development".
10128         (VERSION): Set to "2.18.90".
10129         * NEWS: Add 2.19 section.
10131 2013-08-03  David S. Miller  <davem@davemloft.net>
10133         * po/ko.po: Update Korean translation from translation project.
10135 2013-08-01  David S. Miller  <davem@davemloft.net>
10137         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
10138         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10139         Bilka.
10141 2013-07-30  David S. Miller  <davem@davemloft.net>
10143         * po/fr.po: Update French translation from translation project.
10145 2013-07-28  David S. Miller  <davem@davemloft.net>
10147         * po/cs.po: Update Czech translation from translation project.
10149         * po/sv.po: Update Swedish translation from translation project.
10151 2013-07-27  David S. Miller  <davem@davemloft.net>
10153         * po/eo.po: Update Esperanto translation from translation project.
10155         * po/vi.po: Update Vietnamese translation from translation project.
10157         * po/de.po: Update German translation from translation project.
10159 2013-07-26  David S. Miller  <davem@davemloft.net>
10161         * po/bg.po: Update Bulgarian translation from translation project.
10163         * po/nl.po: Update Dutch translation from translation project.
10164         * po/pl.po: Update Polish translation from translation project.
10165         * po/ru.po: Update Russian translation from translation project.
10167 2013-07-24  David S. Miller  <davem@davemloft.net>
10169         * po/libc.pot: Update.
10171 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10173         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10174         variable page size.
10175         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10176         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10177         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10179 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10181         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10183 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10184             Andreas Schwab  <schwab@suse.de>
10185             Roland McGrath  <roland@hack.frob.com>
10186             Joseph Myers  <joseph@codesourcery.com>
10187             Carlos O'Donell  <carlos@redhat.com>
10189         [BZ #15755]
10190         * config.h.in: Define HAVE_PT_CHOWN.
10191         * config.make.in (build-pt-chown): New variable.
10192         * configure.in (--enable-pt_chown): New configure option.
10193         * configure: Regenerate.
10194         * login/Makefile: Include Makeconfig.  Build pt_chown only if
10195         build-pt-chown is enabled.
10196         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10197         pt_chown to fix pty ownership.
10198         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10199         CLOSE_ALL_FDS.
10200         * manual/install.texi (Configuring and compiling): Mention
10201         --enable-pt_chown. Add @findex for grantpt.
10202         * INSTALL: Regenerate.
10204 2013-07-20  David S. Miller  <davem@davemloft.net>
10206         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10207         difference between 32-bit and 64-bit.
10209 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
10211         [BZ #15711]
10212         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10213         Avoid system header dependency with -ffreestanding.
10214         ($(objpfx)bits/syscall%d): Likewise.
10216 2013-07-13  David S. Miller  <davem@davemloft.net>
10218         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10219         underflows from atanl/atan2l due to bug 15319.
10220         (casinh_test_data): Likewise.
10222 2013-07-07  David S. Miller  <davem@davemloft.net>
10224         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10226 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
10228         * sysdeps/i386/fpu/libm-test-ulps: Update.
10229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10231 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10233         * configure.in (--enable-lock-elision): Fix message text.
10234         * INSTALL: Regenerate.
10235         * configure: Regenerate.
10237 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10241 2013-07-03  Andreas Jaeger  <aj@suse.de>
10243         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10244         define.
10245         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10246         (ptrace_peeksiginfo_args): Add.
10247         (__ptrace_peeksiginfo_flags): Add.
10248         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10249         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10250         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10252 2013-07-03  Allan McRae  <allan@archlinux.org>
10254         * sysdeps/i386/fpu/libm-test-ulps: Update.
10256 2013-07-02  David S. Miller  <davem@davemloft.net>
10258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10260 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
10262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10264 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10266         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10269 2013-07-02  Andi Kleen <ak@linux.intel.com>
10271         * config.h.in (ENABLE_LOCK_ELISION): Add.
10272         * configure.in (--enable-lock-elision): Add option.
10273         * manual/install.texi: Document --enable lock elision.
10274         * configure: Regenerate
10275         * INSTALL: Regenerate.
10277 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10279         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10280         SSE4.2 strcasecmp for libc.a.
10281         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10283 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10285         [BZ #13304]
10286         * soft-fp/op-common.h (_FP_FMA): New macro.
10287         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10288         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
10289         (_FP_MUL_MEAT_1_imm): ... here.
10290         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
10291         (_FP_MUL_MEAT_1_wide): ... here.
10292         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
10293         (_FP_MUL_MEAT_1_hard): ... here.
10294         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10295         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
10296         (_FP_MUL_MEAT_2_wide): ... here.
10297         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
10298         (_FP_MUL_MEAT_2_wide_3mul): ... here.
10299         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
10300         (_FP_MUL_MEAT_2_gmp): ... here.
10301         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10302         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
10303         (_FP_MUL_MEAT_4_wide): ... here.
10304         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
10305         (_FP_MUL_MEAT_4_gmp): ... here.
10306         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10307         (_FP_WFRACBITS_DW_S): Likewise.
10308         (_FP_WFRACXBITS_DW_S): Likewise.
10309         (_FP_HIGHBIT_DW_S): Likewise.
10310         (FP_FMA_S): Likewise.
10311         (_FP_FRAC_HIGH_DW_S): Likewise.
10312         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10313         (_FP_WFRACBITS_DW_D): Likewise.
10314         (_FP_WFRACXBITS_DW_D): Likewise.
10315         (_FP_HIGHBIT_DW_D): Likewise.
10316         (FP_FMA_D): Likewise.
10317         (_FP_FRAC_HIGH_DW_D): Likewise.
10318         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10319         (_FP_WFRACBITS_DW_E): Likewise.
10320         (_FP_WFRACXBITS_DW_E): Likewise.
10321         (_FP_HIGHBIT_DW_E): Likewise.
10322         (FP_FMA_E): Likewise.
10323         (_FP_FRAC_HIGH_DW_E): Likewise.
10324         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10325         (_FP_WFRACBITS_DW_Q): Likewise.
10326         (_FP_WFRACXBITS_DW_Q): Likewise.
10327         (_FP_HIGHBIT_DW_Q): Likewise.
10328         (FP_FMA_Q): Likewise.
10329         (_FP_FRAC_HIGH_DW_Q): Likewise.
10330         * soft-fp/fmasf4.c: New file.
10331         * soft-fp/fmadf4.c: Likewise.
10332         * soft-fp/fmatf4.c: Likewise.
10334 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10337         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10338         Silvermont.
10339         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10340         macro.
10341         (index_Slow_SSE4_2): Likewise.
10342         (index_Prefer_PMINUB_for_stringop): Likewise.
10343         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10344         bit_Slow_SSE4_2 is set.
10345         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10346         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10348 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10350         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10351         rtld_global._dl_hwcap2.
10352         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10353         POWER8.
10354         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10355         POWER8 feature descriptions defined in _dl_hwcap2.
10356         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10357         string handling for POWER8 feature bits.
10358         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10359         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10360         _dl_powerpc_cap_flags.
10361         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10362         * sysdeps/powerpc/rtld-global-offsets.sym
10363         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10364         _dl_hwcap2 in the rtld_global_ro structure.
10366 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10368         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10369         hardware capabilities in support of AT_HWCAP2.
10370         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10371         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10372         GLRO(dl_hwcap2).
10373         (_dl_show_auxv): Add support for calling _dl_procinfo to display
10374         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
10375         explicitly the unknown a_type display mechanism is used.
10376         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10377         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10378         struct member.
10379         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10380         to macro prototype for AT_HWCAP2 support.
10381         * sysdeps/i386/dl-procinfo.h: Likewise.
10382         * sysdeps/s390/dl-procinfo.h: Likewise.
10383         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10384         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
10385         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
10386         return -1 for unknown a_type display fallback.
10387         * sysdeps/sparc/dl-procinfo.h: Likewise.
10388         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10389         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10391 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
10393         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10394         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10396 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
10398         [BZ #12492]
10399         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10400         mprotect making __stack_prot writable.
10402 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
10403             Joseph Myers  <joseph@codesourcery.com>
10405         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10406         as being properly aligned.
10408 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
10410         * dlfcn/modstatic5.c: New file.
10411         * dlfcn/tststatic5.c: New file.
10412         * dlfcn/Makefile (tests): Add tststatic5.
10413         (tests-static): Likewise.
10414         (modules-names): Add modstatic5.
10415         (tststatic5-ENV): New variable.
10416         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10418         [BZ #15022]
10419         * elf/dl-support.c (_dl_main_map): New variable.
10420         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10421         (_dl_nns, _dl_load_adds): Set to 1.
10422         (_dl_initial_searchlist): Refer to _dl_main_map.
10423         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10424         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10425         call to _dl_get_origin.
10426         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10427         around call_map.
10428         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10429         * dlfcn/modstatic3.c: New file.
10430         * dlfcn/tststatic3.c: New file.
10431         * dlfcn/tststatic4.c: New file.
10432         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10433         (tests-static): Likewise.
10434         (modules-names): Add modstatic3.
10435         (tststatic3-ENV, tststatic4-ENV): New variables.
10436         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10437         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10439 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
10441         * configure.in (CC): Require GCC version 4.4 or later.
10442         * configure: Regenerated.
10443         * manual/install.texi (Tools for Compilation): Update GCC version
10444         requirement.
10445         * INSTALL: Regenerated.
10447 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10449         [BZ #15674]
10450         * string/test-memcmp.c (check2): New.
10451         (main): Call check2.
10453         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10455 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
10457         [BZ #15022]
10458         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10459         over to...
10460         (dl_open_worker) [!SHARED]: ... here.
10462 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10464         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10466 2013-06-25  Richard Henderson  <rth@redhat.com>
10468         * locale/programs/locarchive.c: Include <libc-internal.h>
10470 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
10472         * manual/texinfo.tex: Update to version 2013-06-21.17, with
10473         trailing whitespace removed.
10475 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10477         [BZ #10283]
10478         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10479         * locale/programs/locarchive.c: Include libc-mmap.h.
10480         (prepare_address_space): Take two new outputs (the mmap base and len).
10481         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
10482         values.
10483         (create_archive): Declare new mmap base and len values for
10484         prepare_address_space, and store the result in ah.
10485         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10486         (enlarge_archive): If ah->mmap_base is not NULL, use that and
10487         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10488         Declare new mmap base and len values for
10489         prepare_address_space, and store the result in new_ah.
10490         (open_archive): Declare new mmap base and len values for
10491         prepare_address_space, and store the result in ah.
10492         (close_archive): If ah->mmap_base is not NULL, use that and
10493         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10494         * sysdeps/generic/libc-mmap.h: New file.
10496 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10498         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10499         (ALIGN_UP): Likewise.
10500         (PTR_ALIGN_DOWN): Likewise.
10501         (PTR_ALIGN_UP): Likewise.
10503 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10505         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10506         entry mapped to PPC_PLATFORM_POWER8.
10507         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10508         POWER8.
10509         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10510         (_dl_string_platform): Add case for exporting platform position for
10511         POWER8.
10512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10513         search path to sysdeps/powerpc/powerpc32/power8 directory.
10514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10515         search path to sysdeps/powerpc/powerpc64/power8 directory.
10516         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10517         power7 directories.
10518         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10519         power7 directories.
10521 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10523         * INSTALL: Regenerate.
10525         * nscd/connections.c (nscd_init): Fix comment.
10527 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
10529         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10531         [BZ #15667]
10532         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10533         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10535 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10537         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10538         DL_DST_REQ_STATIC.
10539         (DL_DST_REQ_STATIC): Remove macro.
10541 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
10543         [BZ #7006]
10544         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10545         with a shift of 0 bits.
10547 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10549         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10550         $(tststatic-ENV).
10552 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10554         [BZ #15655]
10555         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10557 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10559         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10560         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10561         accepts -fno-tree-loop-distribute-patterns.
10562         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10563         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10564         recursive call.
10565         * string/memset.c (memset): Likewise.
10566         * string/test-memmove.c (simple_memmove): Disable loop transformation
10567         to library calls.
10568         * string/test-memset.c (simple_memset): Likewise.
10569         * benchtests/bench-memmove.c (simple_memmove): Likewise.
10570         * benchtests/bench-memset.c (simple_memset): Likewise.
10571         * configure: Regenerated.
10573 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
10575         * math/test-misc.c (main): Ignore fesetround failure when failures
10576         of subsequent rounding tests would be ignored.
10578         [BZ #15654]
10579         * math/fedisblxcpt.c (fedisableexcept): Return 0.
10580         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10581         * math/fegetenv.c (__fegetenv): Return 0.
10582         * math/fegetexcept.c (fegetexcept): Return 0.
10583         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10584         FE_TONEAREST.
10585         * math/feholdexcpt.c (feholdexcept): Return 0.
10586         * math/fesetenv.c (__fesetenv): Return 0.
10587         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10588         argument FE_TONEAREST.
10589         * math/feupdateenv.c (__feupdateenv): Return 0.
10590         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10592 2013-06-18  Roland McGrath  <roland@hack.frob.com>
10594         * elf/rtld-Rules (rtld-compile-command.S): New variable.
10595         (rtld-compile-command.s, rtld-compile-command.c): New variables.
10596         ($(objpfx)rtld-%.os rules): Use them.
10598 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10600         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10601         fields.
10603 2013-06-17  Roland McGrath  <roland@hack.frob.com>
10605         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10606         length of target pattern, then descending length of dependency pattern.
10607         * configure.in (AWK): Require gawk 3.1.2 or newer.
10608         * manual/install.texi (Tools for Compilation): Say that we do.
10609         * configure: Regenerated.
10611         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10612         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10613         * scripts/sysd-rules.awk: ... this new script.
10614         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10615         than a glob-style pattern.
10617 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
10619         * math/test-misc.c (main): Do not treat incorrectly rounded
10620         conversions as failure unless ROUNDING_TESTS passes.
10622 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
10624         [BZ #15631]
10625         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10626         restore exception state around main square root computation, then
10627         check for inexactness explicitly.
10629         * math/libm-test.inc (fma_test_data): Add another test.
10631 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10633         * manual/threads.texi (Non-POSIX Extensions): New document
10634         node.  Document pthread_getattr_default_np and
10635         pthread_setattr_default_np.
10637         * Versions.def (libpthread): Add GLIBC_2.18.
10638         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10640         Likewise.
10641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10642         Likewise.
10643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10644         Likewise.
10645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10646         Likewise.
10647         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10648         Likewise.
10649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10650         Likewise.
10651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10652         Likewise.
10653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10654         Likewise.
10655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10656         Likewise.
10658 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10660         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10661         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10663 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10664             H.J. Lu  <hjl.tools@gmail.com>
10666         [BZ #15627]
10667         * sysdeps/x86_64/rtld-memset.c: Remove file.
10668         * sysdeps/x86_64/rtld-memset.S: New file.
10670 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
10672         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10673         (test_in_one_mode): Take arguments for whether the rounding mode
10674         is supported for each floating-point type.
10675         (do_test): Pass new arguments to test_in_one_mode using
10676         ROUNDING_TESTS.
10678 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10680         * posix/tst-waitid.c (do_test): Distinguish different instances of
10681         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
10682         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10683         before entering the kernel for waitpid.
10685 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10687         * NEWS: Fix note on clock function precision.  Text by Roland
10688         McGrath.
10690 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10692         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10693         it into place only when and if the sanity check passes.
10695 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
10697         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10698         output for whether conversion result is exact.  Take argument
10699         indicating whether type is IBM long double.
10700         (round_for_all): Change need_exact field to ibm_ld.
10701         * stdlib/tst-strtod-round.c (struct exactness): New type.
10702         (struct test): Change bool ld_ok field to struct exactness exact.
10703         (TEST): Update all definitions for change to field.
10704         (tests): Regenerate array contents.
10705         (test_in_one_mode): Take pointer to new field instead of old ld_ok
10706         field value.  Check for IBM long double here.
10707         (do_test): Update calls to test_in_one_mode.
10709 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10711         [BZ #12515]
10712         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10713         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10715 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10717         [BZ #15605]
10718         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10719         generated by the compiler on loop optimizations.
10720         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10721         general definitions.
10723 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
10725         * math/bug-nextafter.c: Include <math-tests.h>.
10726         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10727         the relevant type.
10728         * math/bug-nexttoward.c: Include <math-tests.h>.
10729         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10730         the relevant type.
10731         * math/test-misc.c: Include <math-tests.h>.
10732         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10733         the relevant type.
10735 2013-06-12  Andreas Jaeger  <aj@suse.de>
10737         * po/ia.po: Update Interlingua translation from translation
10738         project.
10740 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10742         * include/fenv.h: Include stdbool.h.
10743         (struct rm_ctx): New structure.
10744         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10745         Define macro.
10746         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10747         (SET_RESTORE_ROUNDF): Likewise.
10748         (SET_RESTORE_ROUNDL): Likewise.
10749         (SET_RESTORE_ROUND_NOEX): Likewise.
10750         (SET_RESTORE_ROUND_NOEXF): Likewise.
10751         (SET_RESTORE_ROUND_NOEXL): Likewise.
10752         (SET_RESTORE_ROUND_53BIT): Likewise.
10753         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10754         (libc_feresetround_noexf_ctx): Likewise.
10755         (libc_feresetround_noexl_ctx): Likewise.
10756         (libc_feholdsetround_53bit_ctx): Likewise.
10757         (libc_feresetround_53bit_ctx): Likewise.
10758         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10759         (libc_feholdexcept_setround_sse_ctx): New function.
10760         (libc_fesetenv_sse_ctx): Likewise.
10761         (libc_feupdateenv_sse_ctx): Likewise.
10762         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10763         (libc_feholdexcept_setround_387_ctx): Likewise.
10764         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10765         (libc_feholdsetround_387_prec_ctx): Likewise.
10766         (libc_feholdsetround_387_ctx): Likewise.
10767         (libc_feholdsetround_387_53bit_ctx): Likewise.
10768         (libc_feholdsetround_sse_ctx): Likewise.
10769         (libc_feresetround_sse_ctx): Likewise.
10770         (libc_feresetround_387_ctx): Likewise.
10771         (libc_feupdateenv_387_ctx): Likewise.
10772         (libc_feholdexcept_setroundf_ctx): Define macro.
10773         (libc_fesetenvf_ctx): Likewise.
10774         (libc_feupdateenvf_ctx): Likewise.
10775         (libc_feholdsetroundf_ctx): Likewise.
10776         (libc_feresetroundf_ctx): Likewise.
10777         (libc_feholdexcept_setround_ctx): Likewise.
10778         (libc_fesetenv_ctx): Likewise.
10779         (libc_feupdateenv_ctx): Likewise.
10780         (libc_feholdsetround_ctx): Likewise.
10781         (libc_feresetround_ctx): Likewise.
10782         (libc_feholdexcept_setroundl_ctx): Likewise.
10783         (libc_feupdateenvl_ctx): Likewise.
10784         (libc_feholdsetroundl_ctx): Likewise.
10785         (libc_feresetroundl_ctx): Likewise.
10786         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10787         (libc_feresetround_53bit_ctx): Likewise.
10789 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10791         * locale/iso-639.def: Convert to UTF-8.
10793 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
10795         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10796         (EXCEPTION_TESTS_double): Likewise.
10797         (EXCEPTION_TESTS_long_double): Likewise.
10798         (EXCEPTION_TESTS): Likewise.
10799         * math/libm-test.inc (test_exceptions): Only test exceptions if
10800         EXCEPTION_TESTS (FLOAT).
10802 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10804         * benchtests/Makefile (string-bench): Add strcpy_chk and
10805         stpcpy_chk.
10806         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10807         * benchtests/bench-stpcpy_chk.c: New file.
10808         * benchtests/bench-strcpy_chk-ifunc.c: New file.
10809         * benchtests/bench-strcpy_chk.c: New file.
10810         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10811         code.
10812         (do_test): Likewise.
10814 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10816         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10817         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10818         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10819         with tabs where appropriate.
10820         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10821         dl-procinfo.h.
10822         [PPC_PLATFORM_PPC440]: Likewise.
10823         [PPC_PLATFORM_PPC464]: Likewise.
10824         [PPC_PLATFORM_PPC476]: Likewise.
10825         (_dl_string_platform): Add support for detecting ppc405, ppc440,
10826         ppc464, and ppc476 platform strings merging from ports/
10827         dl-procinfo.h.
10829 2013-06-11  Andreas Schwab  <schwab@suse.de>
10831         [BZ #14991]
10832         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10833         (from_ucs4_idx): Regenerate.
10834         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10835         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10836         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10837         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10838         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10839         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10840         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10841         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10842         from FROM_LOOP and TO_LOOP specific macros.
10843         (BODY): Handle combining characters.
10844         * iconvdata/BIG5HKSCS.irreversible: Update.
10845         * iconvdata/BIG5HKSCS.precomposed: New file.
10846         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10847         characters.
10848         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10850 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10852         * include/sys/time.h: Fix indentation and add copyright header.
10854         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10855         (do_test): Likewise.
10856         * string/test-memchr.c (do_one_test): Likewise.
10857         (do_test): Likewise.
10858         * string/test-memcmp.c (do_one_test): Likewise.
10859         (do_test): Likewise.
10860         * string/test-memcpy.c (do_one_test): Likewise.
10861         (do_test): Likewise.
10862         * string/test-memmem.c (do_one_test): Likewise.
10863         (do_test): Likewise.
10864         (do_random_tests): Likewise.
10865         * string/test-memmove.c (do_one_test): Likewise.
10866         (do_test): Likewise.
10867         * string/test-memset.c (do_one_test): Likewise.
10868         (do_test): Likewise.
10869         * string/test-rawmemchr.c (do_one_test): Likewise.
10870         (do_test): Likewise.
10871         * string/test-strcasecmp.c (do_one_test): Likewise.
10872         (do_test): Likewise.
10873         * string/test-strcasestr.c (do_one_test): Likewise.
10874         (do_test): Likewise.
10875         * string/test-strcat.c (do_one_test): Likewise.
10876         (do_test): Likewise.
10877         * string/test-strchr.c (do_one_test): Likewise.
10878         (do_test): Likewise.
10879         * string/test-strcmp.c (do_one_test): Likewise.
10880         (do_test): Likewise.
10881         * string/test-strcpy.c (do_one_test): Likewise.
10882         (do_test): Likewise.
10883         * string/test-string.h: Likewise.
10884         (test_init): Likewise.
10885         * string/test-strlen.c (do_one_test): Likewise.
10886         (do_test): Likewise.
10887         * string/test-strncasecmp.c (do_one_test): Likewise.
10888         (do_test): Likewise.
10889         * string/test-strncat.c (do_one_test): Likewise.
10890         (do_test): Likewise.
10891         * string/test-strncmp.c (do_one_test): Likewise.
10892         (do_test_limit): Likewise.
10893         (do_test): Likewise.
10894         * string/test-strncpy.c (do_one_test): Likewise.
10895         (do_test): Likewise.
10896         * string/test-strnlen.c (do_one_test): Likewise.
10897         (do_test): Likewise.
10898         * string/test-strpbrk.c (do_one_test): Likewise.
10899         (do_test): Likewise.
10900         * string/test-strrchr.c (do_one_test): Likewise.
10901         (do_test): Likewise.
10902         * string/test-strspn.c (do_one_test): Likewise.
10903         (do_test): Likewise.
10904         * string/test-strstr.c (do_one_test): Likewise.
10905         (do_test): Likewise.
10907         * benchtests/Makefile (string-bench): Add string benchmarks.
10908         * benchtests/bench-bcopy-ifunc.c: New file.
10909         * benchtests/bench-bcopy.c: New file.
10910         * benchtests/bench-bzero-ifunc.c: New file.
10911         * benchtests/bench-bzero.c: New file.
10912         * benchtests/bench-memccpy-ifunc.c: New file.
10913         * benchtests/bench-memccpy.c: New file.
10914         * benchtests/bench-memchr-ifunc.c: New file.
10915         * benchtests/bench-memchr.c: New file.
10916         * benchtests/bench-memcmp-ifunc.c: New file.
10917         * benchtests/bench-memcmp.c: New file.
10918         * benchtests/bench-memmem-ifunc.c: New file.
10919         * benchtests/bench-memmem.c: New file.
10920         * benchtests/bench-memmove-ifunc.c: New file.
10921         * benchtests/bench-memmove.c: New file.
10922         * benchtests/bench-mempcpy-ifunc.c: New file.
10923         * benchtests/bench-mempcpy.c: New file.
10924         * benchtests/bench-memset-ifunc.c: New file.
10925         * benchtests/bench-memset.c: New file.
10926         * benchtests/bench-rawmemchr-ifunc.c: New file.
10927         * benchtests/bench-rawmemchr.c: New file.
10928         * benchtests/bench-stpcpy-ifunc.c: New file.
10929         * benchtests/bench-stpcpy.c: New file.
10930         * benchtests/bench-stpncpy-ifunc.c: New file.
10931         * benchtests/bench-stpncpy.c: New file.
10932         * benchtests/bench-strcasecmp-ifunc.c: New file.
10933         * benchtests/bench-strcasecmp.c: New file.
10934         * benchtests/bench-strcasestr-ifunc.c: New file.
10935         * benchtests/bench-strcasestr.c: New file.
10936         * benchtests/bench-strcat-ifunc.c: New file.
10937         * benchtests/bench-strcat.c: New file.
10938         * benchtests/bench-strchr-ifunc.c: New file.
10939         * benchtests/bench-strchr.c: New file.
10940         * benchtests/bench-strchrnul-ifunc.c: New file.
10941         * benchtests/bench-strchrnul.c: New file.
10942         * benchtests/bench-strcmp-ifunc.c: New file.
10943         * benchtests/bench-strcmp.c: New file.
10944         * benchtests/bench-strcpy-ifunc.c: New file.
10945         * benchtests/bench-strcpy.c: New file.
10946         * benchtests/bench-strcspn-ifunc.c: New file.
10947         * benchtests/bench-strcspn.c: New file.
10948         * benchtests/bench-strlen-ifunc.c: New file.
10949         * benchtests/bench-strlen.c: New file.
10950         * benchtests/bench-strncasecmp-ifunc.c: New file.
10951         * benchtests/bench-strncasecmp.c: New file.
10952         * benchtests/bench-strncat-ifunc.c: New file.
10953         * benchtests/bench-strncat.c: New file.
10954         * benchtests/bench-strncmp-ifunc.c: New file.
10955         * benchtests/bench-strncmp.c: New file.
10956         * benchtests/bench-strncpy-ifunc.c: New file.
10957         * benchtests/bench-strncpy.c: New file.
10958         * benchtests/bench-strnlen-ifunc.c: New file.
10959         * benchtests/bench-strnlen.c: New file.
10960         * benchtests/bench-strpbrk-ifunc.c: New file.
10961         * benchtests/bench-strpbrk.c: New file.
10962         * benchtests/bench-strrchr-ifunc.c: New file.
10963         * benchtests/bench-strrchr.c: New file.
10964         * benchtests/bench-strspn-ifunc.c: New file.
10965         * benchtests/bench-strspn.c: New file.
10966         * benchtests/bench-strstr-ifunc.c: New file.
10967         * benchtests/bench-strstr.c: New file.
10969         * benchtests/Makefile: Disable parallel execution of targets.
10970         (string-bench): Add memcpy.
10971         (benchset): New variable to store a list of benchmark sets.
10972         (bench-func): Renamed from bench.
10973         (bench-set): New target.
10974         (bench): Depend on bench-func and bench-set.
10975         * benchtests/README: Add section on benchmark sets.
10976         * benchtests/bench-memcpy-ifunc.c: New file.
10977         * benchtests/bench-memcpy.c: New file.
10978         * benchtests/bench-string.h: New file.
10980 2013-06-11  Andreas Schwab  <schwab@suse.de>
10982         [BZ #15577]
10983         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10984         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10985         values in the triple.
10986         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10987         terminator in the group key.
10989 2013-06-11  Andreas Jaeger  <aj@suse.de>
10991         * po/zh_TW.po: Update Chinese (traditional) translation from
10992         translation project.
10994 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10996         * include/time.h (__clock_gettime): Add libc_hidden_proto.
10997         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10998         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
10999         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11000         (clock_getcpuclockid): Likewise.
11001         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11002         Add weak_alias and libc_hidden_def.
11003         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11004         * rt/clock_gettime.c (clock_gettime): Rename to
11005         __clock_gettime.  Add weak_alias and libc_hidden_def.
11006         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11007         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11008         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
11009         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11010         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11011         Likewise.
11012         * rt/clock_settime.c (clock_settime): Rename to
11013         __clock_settime.  Add weak_alias and libc_hidden_def.
11014         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11016 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
11018         * mach/err_boot.sub: Remove trailing whitespace.
11019         * mach/err_ipc.sub: Likewise.
11020         * mach/err_mach.sub: Likewise.
11022         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11023         (ROUNDING_TESTS_double): Likewise.
11024         (ROUNDING_TESTS_long_double): Likewise.
11025         (ROUNDING_TESTS): Likewise.
11026         * math/libm-test.inc: Include <math-tests.h>.
11027         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11028         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11029         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11030         (IF_ROUND_INIT_FE_UPWARD): Likewise.
11032 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11034         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11035         of assigning.
11037 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
11039         * sysdeps/gnu/errlist.awk: Do not generate space at end of
11040         otherwise empty TRANS lines.
11041         * sysdeps/gnu/errlist.c: Regenerated.
11043         * catgets/gencat.c (error_print): Use (void) in function
11044         definition.
11045         * crypt/crypt_util.c (__init_des): Likewise.
11046         * crypt/speeds.c (Stop): Likewise.
11047         (main): Likewise.
11048         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11049         * inet/ruserpass.c (token): Likewise.
11050         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11051         * intl/localealias.c (extend_alias_table): Likewise.
11052         * intl/plural-exp.c (init_germanic_plural): Likewise.
11053         * libio/fcloseall.c (__fcloseall): Likewise.
11054         * libio/genops.c (_IO_flush_all): Likewise.
11055         (_IO_flush_all_linebuffered): Likewise.
11056         (_IO_cleanup): Likewise.
11057         (_IO_iter_begin): Likewise.
11058         (_IO_iter_end): Likewise.
11059         (_IO_list_lock): Likewise.
11060         (_IO_list_unlock): Likewise.
11061         (_IO_list_resetlock): Likewise.
11062         * libio/getchar.c (getchar): Likewise.
11063         * libio/getchar_u.c (getchar_unlocked): Likewise.
11064         * libio/getwchar.c (getwchar): Likewise.
11065         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11066         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11067         * login/getpt.c (__getpt): Likewise.
11068         * login/tst-utmp.c (main): Likewise.
11069         * malloc/hooks.c (__malloc_check_init): Likewise.
11070         * malloc/malloc.c (__malloc_stats): Likewise.
11071         * malloc/mtrace.c (tr_break): Likewise.
11072         (mtrace): Likewise.
11073         (muntrace): Likewise.
11074         * misc/fstab.c (endfsent): Likewise.
11075         * misc/getclktck.c (__getclktck): Likewise.
11076         * misc/getdtsz.c (__getdtablesize): Likewise.
11077         * misc/gethostid.c (gethostid): Likewise.
11078         * misc/getpagesize.c (__getpagesize): Likewise.
11079         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11080         (__get_nprocs): Likewise.
11081         (__get_phys_pages): Likewise.
11082         (__get_avphys_pages): Likewise.
11083         * misc/getttyent.c (getttyent): Likewise.
11084         (setttyent): Likewise.
11085         (endttyent): Likewise.
11086         * misc/getusershell.c (getusershell): Likewise.
11087         (endusershell): Likewise.
11088         (setusershell): Likewise.
11089         (initshells): Likewise.
11090         * misc/hsearch.c (__hdestroy): Likewise.
11091         * misc/sync.c (sync): Likewise.
11092         * misc/syslog.c (closelog_internal): Likewise.
11093         (closelog): Likewise.
11094         * misc/ttyslot.c (ttyslot): Likewise.
11095         * misc/vhangup.c (vhangup): Likewise.
11096         * posix/fork.c (__fork): Likewise.
11097         * posix/getegid.c (__getegid): Likewise.
11098         * posix/geteuid.c (__geteuid): Likewise.
11099         * posix/getgid.c (__getgid): Likewise.
11100         * posix/getpid.c (__getpid): Likewise.
11101         * posix/getppid.c (__getppid): Likewise.
11102         * posix/getuid.c (__getuid): Likewise.
11103         * posix/pause.c (pause): Likewise.
11104         * posix/setpgrp.c (setpgrp): Likewise.
11105         * posix/setsid.c (__setsid): Likewise.
11106         * posix/test-vfork.c (noop): Likewise.
11107         * resolv/gethnamaddr.c (_endhtent): Likewise.
11108         (_gethtent): Likewise.
11109         (ht_endhostent): Likewise.
11110         (gethostent): Likewise.
11111         (dns_service): Likewise.
11112         * stdlib/drand48.c (drand48): Likewise.
11113         * stdlib/lrand48.c (lrand48): Likewise.
11114         * stdlib/mrand48.c (mrand48): Likewise.
11115         * stdlib/rand.c (rand): Likewise.
11116         * stdlib/random.c (__random): Likewise.
11117         * stdlib/setenv.c (clearenv): Likewise.
11118         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11119         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11120         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11121         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11122         (__get_nprocs): Likewise.
11123         (__get_phys_pages): Likewise.
11124         (__get_avphys_pages): Likewise.
11125         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11126         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11127         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11128         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11129         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11130         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11131         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11132         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11133         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11134         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11135         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11136         * sysdeps/mach/hurd/sync.c (sync): Likewise.
11137         * sysdeps/posix/clock.c (clock): Likewise.
11138         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11139         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11140         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11141         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11142         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11143         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11144         (__get_nprocs_conf): Likewise.
11145         (__get_phys_pages): Likewise.
11146         (__get_avphys_pages): Likewise.
11147         * time/clock.c (clock): Likewise.
11148         * time/tzset.c (__tzname_max): Likewise.
11150 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
11152         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11153         (__bswap_32): Do not use "register".
11154         * crypt/crypt.c (_ufc_doit_r): Likewise.
11155         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11156         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11157         * gmon/gmon.c (__monstartup): Likewise.
11158         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11159         * hurd/hurdmalloc.c (more_memory): Likewise.
11160         (malloc): Likewise.
11161         (free): Likewise.
11162         (realloc): Likewise.
11163         (malloc_fork_prepare): Likewise.
11164         (malloc_fork_parent): Likewise.
11165         (malloc_fork_child): Likewise.
11166         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11167         (_svcauth_des): Likewise.
11168         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11169         * inet/inet_net.c (inet_network): Likewise.
11170         * inet/inet_netof.c (inet_netof): Likewise.
11171         * inet/rcmd.c (__validuser2_sa): Likewise.
11172         * io/fts.c (fts_open): Likewise.
11173         (fts_load): Likewise.
11174         (fts_close): Likewise.
11175         (fts_read): Likewise.
11176         (fts_children): Likewise.
11177         (fts_build): Likewise.
11178         (fts_stat): Likewise.
11179         (fts_sort): Likewise.
11180         (fts_alloc): Likewise.
11181         (fts_lfree): Likewise.
11182         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11183         (_IO_file_xsgetn): Likewise.
11184         (_IO_file_xsgetn_mmap): Likewise.
11185         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11186         (_IO_cookie_write): Likewise.
11187         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11188         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11189         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11190         * malloc/obstack.c (_obstack_begin): Likewise.
11191         (_obstack_begin_1): Likewise.
11192         (_obstack_newchunk): Likewise.
11193         (_obstack_allocated_p): Likewise.
11194         (obstack_free): Likewise.
11195         (_obstack_memory_used): Likewise.
11196         * misc/getttyent.c (getttynam): Likewise.
11197         (getttyent): Likewise.
11198         (skip): Likewise.
11199         (value): Likewise.
11200         * misc/getusershell.c (initshells): Likewise.
11201         * misc/syslog.c (__vsyslog_chk): Likewise.
11202         * misc/ttyslot.c (ttyslot): Likewise.
11203         * nis/nis_hash.c (__nis_hash): Likewise.
11204         * posix/fnmatch_loop.c (FCT): Likewise.
11205         * posix/getconf.c (print_all): Likewise.
11206         (main): Likewise.
11207         * posix/getopt.c (exchange): Likewise.
11208         * posix/glob.c (globfree): Likewise.
11209         (prefix_array): Likewise.
11210         (__glob_pattern_type): Likewise.
11211         * resolv/arpa/nameser.h (NS_GET16): Likewise.
11212         (NS_GET32): Likewise.
11213         (NS_PUT16): Likewise.
11214         (NS_PUT32): Likewise.
11215         * resolv/gethnamaddr.c (getanswer): Likewise.
11216         (gethostbyname2): Likewise.
11217         (gethostbyaddr): Likewise.
11218         (_gethtent): Likewise.
11219         (_gethtbyname2): Likewise.
11220         (_gethtbyaddr): Likewise.
11221         * resolv/ns_print.c (dst_s_get_int16): Likewise.
11222         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11223         * resolv/res_init.c (__res_vinit): Likewise.
11224         (net_mask): Likewise.
11225         * resolv/res_mkquery.c (outchar): Likewise.
11226         (PRINT): Likewise.
11227         * stdio-common/printf_fp.c (outchar): Likewise.
11228         (PRINT): Likewise.
11229         * stdio-common/printf_fphex.c (outchar): Likewise.
11230         (PRINT): Likewise.
11231         * stdio-common/printf_size.c (outchar): Likewise.
11232         (PRINT): Likewise.
11233         * stdio-common/test_rdwr.c (main): Likewise.
11234         * stdio-common/tfformat.c (matches): Likewise.
11235         * stdio-common/vfprintf.c (outchar): Likewise.
11236         (printf_unknown): Likewise.
11237         (buffered_vfprintf): Likewise.
11238         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11239         * stdio-common/xbug.c (AppendToBuffer): Likewise.
11240         (ReadFile): Likewise.
11241         * stdlib/qsort.c (SWAP): Likewise.
11242         (_quicksort): Likewise.
11243         * stdlib/setenv.c (__add_to_environ): Likewise.
11244         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11245         * stdlib/strtol_l.c (__strtol_l): Likewise.
11246         * stdlib/tst-strtod.c (main): Likewise.
11247         * stdlib/tst-strtol.c (main): Likewise.
11248         * stdlib/tst-strtoll.c (main): Likewise.
11249         * string/bits/string2.h (__strcmp_cc): Likewise.
11250         (__strcmp_cg): Likewise.
11251         (__strcspn_c1): Likewise.
11252         (__strcspn_c2): Likewise.
11253         (__strcspn_c3): Likewise.
11254         (__strspn_c1): Likewise.
11255         (__strspn_c2): Likewise.
11256         (__strspn_c3): Likewise.
11257         (__strsep_1c): Likewise.
11258         (__strsep_2c): Likewise.
11259         (__strsep_3c): Likewise.
11260         * string/memccpy.c (__memccpy): Likewise.
11261         * string/stpcpy.c (__stpcpy): Likewise.
11262         * string/strcmp.c (strcmp): Likewise.
11263         * string/strrchr.c (strrchr): Likewise.
11264         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11265         Likewise.
11266         * sysdeps/mach/hurd/getcwd.c
11267         (_hurd_canonicalize_directory_name_internal): Likewise.
11268         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11269         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11270         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11271         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11272         Likewise, in both definitions.
11273         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11274         definitions.
11275         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11276         64] (__bswap_64): Likewise.
11277         * time/test_time.c (main): Likewise.
11278         * time/tzfile.c (__tzfile_read): Likewise.
11279         (__tzfile_compute): Likewise.
11280         * time/tzset.c (__tzset_parse_tz): Likewise.
11281         (tzset_internal): Likewise.
11282         (compute_change): Likewise.
11283         * wcsmbs/wcscat.c (__wcscat): Likewise.
11284         * wcsmbs/wcschr.c (wcschr): Likewise.
11285         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11286         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11287         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11288         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11289         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11290         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11291         * wcsmbs/wmemchr.c (wmemchr): Likewise.
11292         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11293         * wcsmbs/wmemset.c (wmemset): Likewise.
11295 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
11297         * scripts/config.guess: Update to version 2013-05-16.
11298         * scripts/config.sub: Update to version 2013-04-24.
11299         * scripts/install-sh: Update to version 2011-11-20.07.
11300         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11301         * scripts/move-if-change: Update to version 2012-01-06 07:23.
11303 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
11305         * debug/fgetws_u_chk.c: Fix leading whitespaces.
11306         * elf/sln.c: Likewise.
11307         * hurd/hurd/ioctl.h: Likewise.
11308         * hurd/hurdmalloc.c: Likewise.
11309         * hurd/xattr.c: Likewise.
11310         * include/shlib-compat.h: Likewise.
11311         * inet/ruserpass.c: Likewise.
11312         * libio/iofgets_u.c: Likewise.
11313         * libio/iofgetws_u.c: Likewise.
11314         * locale/programs/ld-identification.c: Likewise.
11315         * locale/programs/ld-time.c: Likewise.
11316         * mach/msg-destroy.c: Likewise.
11317         * nss/nss_files/files-netgrp.c: Likewise.
11318         * resolv/res_data.c: Likewise.
11319         * soft-fp/op-1.h: Likewise.
11320         * soft-fp/op-2.h: Likewise.
11321         * soft-fp/op-4.h: Likewise.
11322         * soft-fp/op-common.h: Likewise.
11323         * stdio-common/printf_fphex.c: Likewise.
11324         * stdlib/strtod_l.c: Likewise.
11325         * sunrpc/rpc/clnt.h: Likewise.
11326         * sysdeps/generic/framestate.c: Likewise.
11327         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11328         * sysdeps/i386/bsd-setjmp.S: Likewise.
11329         * sysdeps/i386/__longjmp.S: Likewise.
11330         * sysdeps/i386/setjmp.S: Likewise.
11331         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11332         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11333         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11334         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11335         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11336         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11337         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11338         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11339         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11340         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11341         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11342         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11343         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11344         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11345         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11346         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11347         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11348         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11349         * sysdeps/ieee754/support.c: Likewise.
11350         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11351         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11352         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11353         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11354         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11355         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11356         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11357         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11358         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11359         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11360         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11361         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11362         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11363         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11364         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11365         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11366         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11369 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
11371         * posix/transbug.c: Remove executable mode.
11373 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
11375         * crypt/speeds.c: Remove trailing whitespace.
11376         * dlfcn/default.c: Likewise.
11377         * elf/ifuncdep2.c: Likewise.
11378         * elf/ifuncmain1.c: Likewise.
11379         * elf/ifuncmain1vis.c: Likewise.
11380         * elf/testobj.h: Likewise.
11381         * elf/tst-stackguard1.c: Likewise.
11382         * gmon/sys/gmon.h: Likewise.
11383         * hurd/hurdmsg.c: Likewise.
11384         * hurd/new-fd.c: Likewise.
11385         * hurd/ports-get.c: Likewise.
11386         * iconvdata/ibm1008_420.c: Likewise.
11387         * inet/tst-getni1.c: Likewise.
11388         * inet/tst-getni2.c: Likewise.
11389         * libio/ioungetc.c: Likewise.
11390         * libio/wfiledoalloc.c: Likewise.
11391         * manual/libm-err-tab.pl: Likewise.
11392         * math/w_dremf.c: Likewise.
11393         * misc/ftruncate.c: Likewise.
11394         * posix/bug-glob2.c: Likewise.
11395         * posix/tst-pcre.c: Likewise.
11396         * posix/wait4.c: Likewise.
11397         * resolv/README: Likewise.
11398         * resolv/res_debug.h: Likewise.
11399         * resolv/tst-inet_ntop.c: Likewise.
11400         * setjmp/bug269-setjmp.c: Likewise.
11401         * soft-fp/extended.h: Likewise.
11402         * soft-fp/op-1.h: Likewise.
11403         * soft-fp/op-2.h: Likewise.
11404         * soft-fp/op-4.h: Likewise.
11405         * soft-fp/op-8.h: Likewise.
11406         * soft-fp/testit.c: Likewise.
11407         * stdio-common/bug16.c: Likewise.
11408         * stdlib/random.c: Likewise.
11409         * sunrpc/rpcsvc/rquota.x: Likewise.
11410         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11411         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11412         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11413         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11414         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11415         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11416         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11417         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11418         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11419         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11420         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11421         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11422         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11423         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11424         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11425         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11426         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11427         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11428         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11429         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11430         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11431         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11432         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11433         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11434         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11435         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11436         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11437         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11438         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11439         * sysdeps/ieee754/s_lib_version.c: Likewise.
11440         * sysdeps/mach/hurd/check_fds.c: Likewise.
11441         * sysdeps/mach/hurd/getsockname.c: Likewise.
11442         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11443         * sysdeps/mach/hurd/recvfrom.c: Likewise.
11444         * sysdeps/powerpc/bits/link.h: Likewise.
11445         * sysdeps/powerpc/dl-procinfo.c: Likewise.
11446         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11447         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11448         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11449         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11450         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11451         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11452         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11453         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11454         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11455         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11456         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11457         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11458         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11459         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11460         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11461         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11462         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11464         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11465         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11466         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11467         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11468         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11469         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11470         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11471         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11472         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11473         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11474         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11475         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11476         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11477         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11478         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11479         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11480         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11481         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11482         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11483         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11484         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11485         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11486         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11487         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11488         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11489         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11490         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11491         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11492         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11493         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11494         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11495         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11496         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11497         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11498         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11499         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11500         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11501         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11502         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11503         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11504         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11505         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11506         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11507         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11508         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11509         * sysdeps/powerpc/sysdep.h: Likewise.
11510         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11511         * sysdeps/s390/s390-64/sub_n.S: Likewise.
11512         * sysdeps/sh/dl-trampoline.S: Likewise.
11513         * sysdeps/sh/memset.S: Likewise.
11514         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11515         * sysdeps/sh/strlen.S: Likewise.
11516         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11517         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11518         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11519         * sysdeps/sparc/sparc32/rem.S: Likewise.
11520         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11521         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11522         * sysdeps/sparc/sparc32/strchr.S: Likewise.
11523         * sysdeps/sparc/sparc32/udiv.S: Likewise.
11524         * sysdeps/sparc/sparc32/urem.S: Likewise.
11525         * sysdeps/sparc/sparc64/add_n.S: Likewise.
11526         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11527         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11528         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11529         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11530         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11531         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11532         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11533         * sysdeps/unix/bsd/times.c: Likewise.
11534         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11535         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11539         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11540         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11541         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11542         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11543         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11544         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11545         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11546         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11547         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11548         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11549         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11550         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11551         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11552         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11553         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11554         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11555         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11556         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11557         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11558         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11559         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11560         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11561         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11562         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11563         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11564         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11565         * sysdeps/x86_64/strcspn.S: Likewise.
11567 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11569         * locale/C-translit.h: Revert #include <stdint.h> because this is a
11570         generated file.  Regenerate properly from gen-translit.pl.
11571         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
11572         locale/C-translit.h.
11574 2013-06-05  Andreas Schwab  <schwab@suse.de>
11576         [BZ #15100]
11577         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11578         week as 6 instead of -1.
11579         * time/tst-strptime.c (day_tests): Add test case.
11581 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11583         * sysdeps/generic/math_private.h
11584         (libc_feholdexcept_setround_53bit): Replace with
11585         libc_feholdsetround_53bit.
11586         (libc_feupdateenv_53bit): Replace with
11587         libc_feresetround_53bit.
11588         (SET_RESTORE_ROUND_53BIT): Adjust.
11590 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11592         * string/test-strchrnul.c: Add copyright header.
11594         * posix/tst-getaddrinfo4.c: Increase test timeout.
11596 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
11598         [BZ #15536]
11599         * math/libm-test.inc (MAX_EXP): Remove
11600         (MIN_EXP): Define.
11601         (ulp): Use MIN_EXP - MANT_DIG.
11602         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11604 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
11606         * po/be.po: Revert last change.
11607         * po/zh_CN.po: Likewise.
11608         * po/header.pot: Likewise.
11610 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
11612         * Makefile ($(common-objpfx)linkobj/libc.so): Define
11613         link-libc-deps to empty as target-specific variable.
11614         * Makerules (link-libc-args): New variable.
11615         (libc-for-link): Likewise.
11616         (link-libc-deps): Likewise.
11617         (lib%.so): Depend on $(link-libc-deps).  Link with
11618         $(link-libc-args).
11619         (build-module): Link with $(link-libc-args).
11620         (build-module-asneeded): Likewise.
11621         (build-module-helper-objlist): Filter out $(link-libc-deps) from
11622         list of objects.
11623         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11624         target-specific variable.
11625         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11626         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11627         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11628         libc.
11629         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11630         libc and ld.so.
11631         ($(objpfx)libpcprofile.so): Likewise.
11632         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11633         libc_nonshared.a.
11634         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11635         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11636         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11637         $(link-libc-deps).
11638         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11639         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11640         * login/Makefile ($(objpfx)libutil.so): Likewise.
11641         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11642         * math/Makefile ($(objpfx)libm.so): Likewise.
11643         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11644         $(objpfx)libnsl.so): Define libc-for-link as target-specific
11645         variable instead of depending directly on libc.
11646         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11647         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11648         $(link-libc-deps).
11649         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11650         libc.
11651         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11652         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11653         ($(objpfx)libanl.so): Likewise.
11654         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11655         ld.so.
11656         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11657         $(link-libc-deps).
11658         * sysdeps/i386/fpu/Makefile: Remove file.
11659         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11660         ($(objpfx)libm.so): Remove dependency on ld.so.
11662 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
11664         [BZ # 15553]
11665         * nis/yp_xdr.c (XDRMAXNAME): Define.
11666         (XDRMAXRECORD): Define.
11667         (xdr_domainname): Use XDRMAXNAME.
11668         (xdr_mapname): Likewise.
11669         (xdr_peername): Likewise.
11670         (xdr_keydat): Use XDRMAXRECORD.
11671         (xdr_valdat): Likewise.
11673 2013-05-30  Jeff Law  <law@redhat.com>
11675         [BZ #14256]
11676         * manual/errno.texi (ESTALE): Update to account for more than
11677         just NFS file systems.
11678         * sysdeps/gnu/errlist.c: Regenerated.
11680 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11682         [BZ #15465]
11683         * elf/Makefile (tests): Add tst-null-argv.
11684         (modules-names):  Add tst-null-argv-lib.
11685         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11686         (tst-null-argv-ENV): Set environment for tst-null-argv.
11687         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11688         (RTLD_PROGNAME): New macro.
11689         * elf/tst-null-argv.c: New test case.
11690         * elf/tst-null-argv-lib.c: Library for test case.
11691         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11692         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11693         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11694         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11695         * elf/dl-init.c (call_init): Likewise.
11696         (_dl_init): Likewise.
11697         * elf/dl-load.c (print_search_path): Likewise.
11698         (_dl_map_object): Likewise.
11699         * elf/dl-lookup.c (do_lookup_x): Likewise.
11700         (add_dependency): Likewise.
11701         (_dl_lookup_symbol_x): Likewise.
11702         (_dl_debug_bindings): Likewise.
11703         * elf/dl-open.c (_dl_show_scope): Likewise.
11704         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11705         * elf/dl-version.c (match_symbol): Likewise.
11706         (_dl_check_map_versions): Likewise.
11707         * elf/rtld.c (dl_main): Likewise.
11708         (print_unresolved): Use RTLD_PROGNAME.
11709         (print_missing_version): Likewise.
11710         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11711         (elf_machine_rela): Likewise.
11712         * sysdeps/powerpc/powerpc32/dl-machine.c
11713         (__process_machine_rela): Likewise.
11714         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11715         Likewise.
11716         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11717         Likewise.
11718         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11719         Likewise.
11720         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11721         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11722         Likewise.
11723         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11724         Likewise.
11725         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11727 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
11729         * po/be.po: Add descriptive title.
11730         * po/zh_CN.po: Likewise.
11731         * po/header.pot: Likewise.
11733 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
11735         * locale/programs/locarchive.c (create_archive): Inlucde fname in
11736         error message.
11737         (enlarge_archive): Likewise.
11739 2013-05-28  Ben North  <ben@redfrontdoor.org>
11741         * manual/arith.texi (frexp): It is the magnitude of the return
11742         value which lies in [0.5, 1), not the return value itself.
11744 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11748 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
11750         * stdio-common/bug26.c (main): Correct fscanf template.
11752         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11753         declare _dl_skip_args.
11755         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11756         Don't declare.
11758         * manual/platform.texi: Add missing @end deftypefun.
11760 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
11762         [BZ #15529]
11763         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11764         bit of mantissa of 2^16382.
11765         * math/libm-test.inc (hypot_test_data): Add more tests.
11767         * math/libm-test.inc: Add drem and pow10 to list of tested
11768         functions.
11769         (pow10_test): New function.
11770         (drem_test): Likewise.
11771         (drem_test_tonearest): Likewise.
11772         (drem_test_towardzero): Likewise.
11773         (drem_test_downward): Likewise.
11774         (drem_test_upward): Likewise.
11775         (main): Call the new functions.
11777         * math/libm-test.inc (finite_test_data): Remove.
11778         (finite_test): Run tests from isfinite_test_data.
11779         (gamma_test_data): Remove.
11780         (gamma_test): Run tests from lgamma_test_data.
11781         * sysdeps/i386/fpu/libm-test-ulps: Update.
11782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11784 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11786         * manual/platform.texi: Add PowerPC PPR function set documentation.
11787         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11788         implementation.
11790 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
11792         * math/libm-test.inc (MAX_EXP): Define.
11793         (ULPDIFF): Define.
11794         (ulp): New function.
11795         (check_float_internal): Use ULPDIFF.
11796         (cpow_test): Disable failing test.
11797         (check_ulp): Test ulp() implemetnation.
11798         (main): Call check_ulp before starting tests.
11800 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
11802         * math/gen-libm-test.pl (generate_testfile): Do not handle
11803         START_DATA and END_DATA.
11804         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11805         END_DATA.
11806         (acos_tonearest_test_data): Likewise.
11807         (acos_towardzero_test_data): Likewise.
11808         (acos_downward_test_data): Likewise.
11809         (acos_upward_test_data): Likewise.
11810         (acosh_test_data): Likewise.
11811         (asin_test_data): Likewise.
11812         (asin_tonearest_test_data): Likewise.
11813         (asin_towardzero_test_data): Likewise.
11814         (asin_downward_test_data): Likewise.
11815         (asin_upward_test_data): Likewise.
11816         (asinh_test_data): Likewise.
11817         (atan_test_data): Likewise.
11818         (atanh_test_data): Likewise.
11819         (atan2_test_data): Likewise.
11820         (cabs_test_data): Likewise.
11821         (cacos_test_data): Likewise.
11822         (cacosh_test_data): Likewise.
11823         (carg_test_data): Likewise.
11824         (casin_test_data): Likewise.
11825         (casinh_test_data): Likewise.
11826         (catan_test_data): Likewise.
11827         (catanh_test_data): Likewise.
11828         (cbrt_test_data): Likewise.
11829         (ccos_test_data): Likewise.
11830         (ccosh_test_data): Likewise.
11831         (ceil_test_data): Likewise.
11832         (cexp_test_data): Likewise.
11833         (cimag_test_data): Likewise.
11834         (clog_test_data): Likewise.
11835         (clog10_test_data): Likewise.
11836         (conj_test_data): Likewise.
11837         (copysign_test_data): Likewise.
11838         (cos_test_data): Likewise.
11839         (cos_tonearest_test_data): Likewise.
11840         (cos_towardzero_test_data): Likewise.
11841         (cos_downward_test_data): Likewise.
11842         (cos_upward_test_data): Likewise.
11843         (cosh_test_data): Likewise.
11844         (cosh_tonearest_test_data): Likewise.
11845         (cosh_towardzero_test_data): Likewise.
11846         (cosh_downward_test_data): Likewise.
11847         (cosh_upward_test_data): Likewise.
11848         (cpow_test_data): Likewise.
11849         (cproj_test_data): Likewise.
11850         (creal_test_data): Likewise.
11851         (csin_test_data): Likewise.
11852         (csinh_test_data): Likewise.
11853         (csqrt_test_data): Likewise.
11854         (ctan_test_data): Likewise.
11855         (ctan_tonearest_test_data): Likewise.
11856         (ctan_towardzero_test_data): Likewise.
11857         (ctan_downward_test_data): Likewise.
11858         (ctan_upward_test_data): Likewise.
11859         (ctanh_test_data): Likewise.
11860         (ctanh_tonearest_test_data): Likewise.
11861         (ctanh_towardzero_test_data): Likewise.
11862         (ctanh_downward_test_data): Likewise.
11863         (ctanh_upward_test_data): Likewise.
11864         (erf_test_data): Likewise.
11865         (erfc_test_data): Likewise.
11866         (exp_test_data): Likewise.
11867         (exp_tonearest_test_data): Likewise.
11868         (exp_towardzero_test_data): Likewise.
11869         (exp_downward_test_data): Likewise.
11870         (exp_upward_test_data): Likewise.
11871         (exp10_test_data): Likewise.
11872         (exp2_test_data): Likewise.
11873         (expm1_test_data): Likewise.
11874         (fabs_test_data): Likewise.
11875         (fdim_test_data): Likewise.
11876         (finite_test_data): Likewise.
11877         (floor_test_data): Likewise.
11878         (fma_test_data): Likewise.
11879         (fma_towardzero_test_data): Likewise.
11880         (fma_downward_test_data): Likewise.
11881         (fma_upward_test_data): Likewise.
11882         (fmax_test_data): Likewise.
11883         (fmin_test_data): Likewise.
11884         (fmod_test_data): Likewise.
11885         (fpclassify_test_data): Likewise.
11886         (frexp_test_data): Likewise.
11887         (gamma_test_data): Likewise.
11888         (hypot_test_data): Likewise.
11889         (ilogb_test_data): Likewise.
11890         (isfinite_test_data): Likewise.
11891         (isgreater_test_data): Likewise.
11892         (isgreaterequal_test_data): Likewise.
11893         (isinf_test_data): Likewise.
11894         (isless_test_data): Likewise.
11895         (islessequal_test_data): Likewise.
11896         (islessgreater_test_data): Likewise.
11897         (isnan_test_data): Likewise.
11898         (isnormal_test_data): Likewise.
11899         (issignaling_test_data): Likewise.
11900         (isunordered_test_data): Likewise.
11901         (j0_test_data): Likewise.
11902         (j1_test_data): Likewise.
11903         (jn_test_data): Likewise.
11904         (ldexp_test_data): Likewise.
11905         (lgamma_test_data): Likewise.
11906         (lrint_test_data): Likewise.
11907         (lrint_tonearest_test_data): Likewise.
11908         (lrint_towardzero_test_data): Likewise.
11909         (lrint_downward_test_data): Likewise.
11910         (lrint_upward_test_data): Likewise.
11911         (llrint_test_data): Likewise.
11912         (llrint_tonearest_test_data): Likewise.
11913         (llrint_towardzero_test_data): Likewise.
11914         (llrint_downward_test_data): Likewise.
11915         (llrint_upward_test_data): Likewise.
11916         (log_test_data): Likewise.
11917         (log10_test_data): Likewise.
11918         (log1p_test_data): Likewise.
11919         (log2_test_data): Likewise.
11920         (logb_test_data): Likewise.
11921         (logb_downward_test_data): Likewise.
11922         (lround_test_data): Likewise.
11923         (llround_test_data): Likewise.
11924         (modf_test_data): Likewise.
11925         (nearbyint_test_data): Likewise.
11926         (nextafter_test_data): Likewise.
11927         (nexttoward_test_data): Likewise.
11928         (pow_test_data): Likewise.
11929         (pow_tonearest_test_data): Likewise.
11930         (pow_towardzero_test_data): Likewise.
11931         (pow_downward_test_data): Likewise.
11932         (pow_upward_test_data): Likewise.
11933         (remainder_test_data): Likewise.
11934         (remainder_tonearest_test_data): Likewise.
11935         (remainder_towardzero_test_data): Likewise.
11936         (remainder_downward_test_data): Likewise.
11937         (remainder_upward_test_data): Likewise.
11938         (remquo_test_data): Likewise.
11939         (rint_test_data): Likewise.
11940         (rint_tonearest_test_data): Likewise.
11941         (rint_towardzero_test_data): Likewise.
11942         (rint_downward_test_data): Likewise.
11943         (rint_upward_test_data): Likewise.
11944         (round_test_data): Likewise.
11945         (scalb_test_data): Likewise.
11946         (scalbn_test_data): Likewise.
11947         (scalbln_test_data): Likewise.
11948         (signbit_test_data): Likewise.
11949         (sin_test_data): Likewise.
11950         (sin_tonearest_test_data): Likewise.
11951         (sin_towardzero_test_data): Likewise.
11952         (sin_downward_test_data): Likewise.
11953         (sin_upward_test_data): Likewise.
11954         (sincos_test_data): Likewise.
11955         (sinh_test_data): Likewise.
11956         (sinh_tonearest_test_data): Likewise.
11957         (sinh_towardzero_test_data): Likewise.
11958         (sinh_downward_test_data): Likewise.
11959         (sinh_upward_test_data): Likewise.
11960         (sqrt_test_data): Likewise.
11961         (tan_test_data): Likewise.
11962         (tan_tonearest_test_data): Likewise.
11963         (tan_towardzero_test_data): Likewise.
11964         (tan_downward_test_data): Likewise.
11965         (tan_upward_test_data): Likewise.
11966         (tanh_test_data): Likewise.
11967         (tgamma_test_data): Likewise.
11968         (trunc_test_data): Likewise.
11969         (y0_test_data): Likewise.
11970         (y1_test_data): Likewise.
11971         (yn_test_data): Likewise.
11972         (significand_test_data): Likewise.
11974         * math/gen-libm-test.pl (@functions): Remove variable.
11975         (generate_testfile): Don't handle START and END lines.
11976         * math/libm-test.inc (START): New macro.
11977         (END): Likewise.
11978         (END_COMPLEX): Likewise.
11979         (acos_test): Use END macro without arguments.
11980         (acos_test_tonearest): Likewise.
11981         (acos_test_towardzero): Likewise.
11982         (acos_test_downward): Likewise.
11983         (acos_test_upward): Likewise.
11984         (acosh_test): Likewise.
11985         (asin_test): Likewise.
11986         (asin_test_tonearest): Likewise.
11987         (asin_test_towardzero): Likewise.
11988         (asin_test_downward): Likewise.
11989         (asin_test_upward): Likewise.
11990         (asinh_test): Likewise.
11991         (atan_test): Likewise.
11992         (atanh_test): Likewise.
11993         (atan2_test): Likewise.
11994         (cabs_test): Likewise.
11995         (cacos_test): Use END_COMPLEX macro without arguments.
11996         (cacosh_test): Likewise.
11997         (carg_test): Use END macro without arguments.
11998         (casin_test): Use END_COMPLEX macro without arguments.
11999         (casinh_test): Likewise.
12000         (catan_test): Likewise.
12001         (catanh_test): Likewise.
12002         (cbrt_test): Use END macro without arguments.
12003         (ccos_test): Use END_COMPLEX macro without arguments.
12004         (ccosh_test): Likewise.
12005         (ceil_test): Use END macro without arguments.
12006         (cexp_test): Use END_COMPLEX macro without arguments.
12007         (cimag_test): Use END macro without arguments.
12008         (clog_test): Use END_COMPLEX macro without arguments.
12009         (clog10_test): Likewise.
12010         (conj_test): Likewise.
12011         (copysign_test): Use END macro without arguments.
12012         (cos_test): Likewise.
12013         (cos_test_tonearest): Likewise.
12014         (cos_test_towardzero): Likewise.
12015         (cos_test_downward): Likewise.
12016         (cos_test_upward): Likewise.
12017         (cosh_test): Likewise.
12018         (cosh_test_tonearest): Likewise.
12019         (cosh_test_towardzero): Likewise.
12020         (cosh_test_downward): Likewise.
12021         (cosh_test_upward): Likewise.
12022         (cpow_test): Use END_COMPLEX macro without arguments.
12023         (cproj_test): Likewise.
12024         (creal_test): Use END macro without arguments.
12025         (csin_test): Use END_COMPLEX macro without arguments.
12026         (csinh_test): Likewise.
12027         (csqrt_test): Likewise.
12028         (ctan_test): Likewise.
12029         (ctan_test_tonearest): Likewise.
12030         (ctan_test_towardzero): Likewise.
12031         (ctan_test_downward): Likewise.
12032         (ctan_test_upward): Likewise.
12033         (ctanh_test): Likewise.
12034         (ctanh_test_tonearest): Likewise.
12035         (ctanh_test_towardzero): Likewise.
12036         (ctanh_test_downward): Likewise.
12037         (ctanh_test_upward): Likewise.
12038         (erf_test): Use END macro without arguments.
12039         (erfc_test): Likewise.
12040         (exp_test): Likewise.
12041         (exp_test_tonearest): Likewise.
12042         (exp_test_towardzero): Likewise.
12043         (exp_test_downward): Likewise.
12044         (exp_test_upward): Likewise.
12045         (exp10_test): Likewise.
12046         (exp2_test): Likewise.
12047         (expm1_test): Likewise.
12048         (fabs_test): Likewise.
12049         (fdim_test): Likewise.
12050         (finite_test): Likewise.
12051         (floor_test): Likewise.
12052         (fma_test): Likewise.
12053         (fma_test_towardzero): Likewise.
12054         (fma_test_downward): Likewise.
12055         (fma_test_upward): Likewise.
12056         (fmax_test): Likewise.
12057         (fmin_test): Likewise.
12058         (fmod_test): Likewise.
12059         (fpclassify_test): Likewise.
12060         (frexp_test): Likewise.
12061         (gamma_test): Likewise.
12062         (hypot_test): Likewise.
12063         (ilogb_test): Likewise.
12064         (isfinite_test): Likewise.
12065         (isgreater_test): Likewise.
12066         (isgreaterequal_test): Likewise.
12067         (isinf_test): Likewise.
12068         (isless_test): Likewise.
12069         (islessequal_test): Likewise.
12070         (islessgreater_test): Likewise.
12071         (isnan_test): Likewise.
12072         (isnormal_test): Likewise.
12073         (issignaling_test): Likewise.
12074         (isunordered_test): Likewise.
12075         (j0_test): Likewise.
12076         (j1_test): Likewise.
12077         (jn_test): Likewise.
12078         (ldexp_test): Likewise.
12079         (lgamma_test): Likewise.
12080         (lrint_test): Likewise.
12081         (lrint_test_tonearest): Likewise.
12082         (lrint_test_towardzero): Likewise.
12083         (lrint_test_downward): Likewise.
12084         (lrint_test_upward): Likewise.
12085         (llrint_test): Likewise.
12086         (llrint_test_tonearest): Likewise.
12087         (llrint_test_towardzero): Likewise.
12088         (llrint_test_downward): Likewise.
12089         (llrint_test_upward): Likewise.
12090         (log_test): Likewise.
12091         (log10_test): Likewise.
12092         (log1p_test): Likewise.
12093         (log2_test): Likewise.
12094         (logb_test): Likewise.
12095         (logb_test_downward): Likewise.
12096         (lround_test): Likewise.
12097         (llround_test): Likewise.
12098         (modf_test): Likewise.
12099         (nearbyint_test): Likewise.
12100         (nextafter_test): Likewise.
12101         (nexttoward_test): Likewise.
12102         (pow_test): Likewise.
12103         (pow_test_tonearest): Likewise.
12104         (pow_test_towardzero): Likewise.
12105         (pow_test_downward): Likewise.
12106         (pow_test_upward): Likewise.
12107         (remainder_test): Likewise.
12108         (remainder_test_tonearest): Likewise.
12109         (remainder_test_towardzero): Likewise.
12110         (remainder_test_downward): Likewise.
12111         (remainder_test_upward): Likewise.
12112         (remquo_test): Likewise.
12113         (rint_test): Likewise.
12114         (rint_test_tonearest): Likewise.
12115         (rint_test_towardzero): Likewise.
12116         (rint_test_downward): Likewise.
12117         (rint_test_upward): Likewise.
12118         (round_test): Likewise.
12119         (scalb_test): Likewise.
12120         (scalbn_test): Likewise.
12121         (scalbln_test): Likewise.
12122         (signbit_test): Likewise.
12123         (sin_test): Likewise.
12124         (sin_test_tonearest): Likewise.
12125         (sin_test_towardzero): Likewise.
12126         (sin_test_downward): Likewise.
12127         (sin_test_upward): Likewise.
12128         (sincos_test): Likewise.
12129         (sinh_test): Likewise.
12130         (sinh_test_tonearest): Likewise.
12131         (sinh_test_towardzero): Likewise.
12132         (sinh_test_downward): Likewise.
12133         (sinh_test_upward): Likewise.
12134         (sqrt_test): Likewise.
12135         (tan_test): Likewise.
12136         (tan_test_tonearest): Likewise.
12137         (tan_test_towardzero): Likewise.
12138         (tan_test_downward): Likewise.
12139         (tan_test_upward): Likewise.
12140         (tanh_test): Likewise.
12141         (tgamma_test): Likewise.
12142         (trunc_test): Likewise.
12143         (y0_test): Likewise.
12144         (y1_test): Likewise.
12145         (yn_test): Likewise.
12146         (significand_test): Likewise.
12148 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
12150         [BZ #15381]
12151         * libio/genops.c (_IO_no_init): Initialize wide struct info.
12153 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12155         [BZ #14894]
12156         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12157         __ppc_mdoio and __ppc_mdoom.
12158         * manual/platform.texi: Document new functions __ppc_yield,
12159         __ppc_mdoio and __ppc_mdoom.
12161 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
12163         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12164         (main): Mention "tls" pseudo-hwcap is legacy.
12165         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12167 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12169         * math/gen-libm-test.pl (parse_args): Output only string of
12170         arguments as text for test name, not full call or descriptions of
12171         tests for extra outputs.
12172         (generate_testfile): Do not pass function name to parse_args.
12173         Generate this_func variable from START.
12174         * math/libm-test.inc (struct test_f_f_data): Rename test_name
12175         field to arg_str.
12176         (struct test_ff_f_data): Likewise.
12177         (test_ff_f_data_nexttoward): Likewise.
12178         (struct test_fi_f_data): Likewise.
12179         (struct test_fl_f_data): Likewise.
12180         (struct test_if_f_data): Likewise.
12181         (struct test_fff_f_data): Likewise.
12182         (struct test_c_f_data): Likewise.
12183         (struct test_f_f1_data): Likewise.  Remove field extra_name.
12184         (struct test_fF_f1_data): Likewise.
12185         (struct test_ffI_f1_data): Likewise.
12186         (struct test_c_c_data): Rename test_name field to arg_str.
12187         (struct test_cc_c_data): Likewise.
12188         (struct test_f_i_data): Likewise.
12189         (struct test_ff_i_data): Likewise.
12190         (struct test_f_l_data): Likewise.
12191         (struct test_f_L_data): Likewise.
12192         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
12193         and extra2_name.
12194         (COMMON_TEST_SETUP): New macro.
12195         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12196         (COMMON_TEST_CLEANUP): Likewise.
12197         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12198         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
12199         macros.
12200         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12201         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
12202         macros.
12203         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12204         (RUN_TEST_fff_f): Take argument string.  Call new setup and
12205         cleanup macros.
12206         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12207         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
12208         macros.
12209         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12210         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
12211         macros.
12212         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12213         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
12214         cleanup macros.
12215         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12216         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
12217         cleanup macros.
12218         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12219         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
12220         cleanup macros.
12221         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12222         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
12223         macros.
12224         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12225         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
12226         macros.
12227         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12228         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
12229         macros.
12230         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12231         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
12232         cleanup macros.
12233         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12234         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
12235         cleanup macros.
12236         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12237         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
12238         macros.
12239         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12240         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
12241         cleanup macros.
12242         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12243         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
12244         macros.
12245         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12246         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
12247         macros.
12248         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12249         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
12250         cleanup macros.
12251         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12253 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12255         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12256         to _sifields.sigfault.
12257         (si_addr_lsb): Define new macro.
12258         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12259         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12260         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12262 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
12264         [BZ #15441]
12265         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12266         returns -1.
12267         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12268         null return -1.
12269         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12270         loading the domain.
12272 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12274         * math/gen-libm-test.pl (parse_args): Do not include expected
12275         result in test name.
12276         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12277         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12278         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12279         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12280         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12283 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12285         * benchtests/Makefile: Sort function entries.
12287         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12288         tanh, asinh, acosh, atanh.
12289         * benchtests/acos-inputs: New file.
12290         * benchtests/acosh-inputs: New file.
12291         * benchtests/asin-inputs: New file.
12292         * benchtests/asinh-inputs: New file.
12293         * benchtests/atanh-inputs: New file.
12294         * benchtests/cosh-inputs: New file.
12295         * benchtests/log-inputs: New file.
12296         * benchtests/sinh-inputs: New file.
12297         * benchtests/tanh-inputs: New file.
12299 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
12301         [BZ #15339]
12302         * posix/tst-getaddrinfo4.c: New test.
12303         * posix/Makefile (tests): Add it.
12305 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12307         [BZ #15339]
12308         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12309         when no services were used.
12310         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12311         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12313 2013-05-21  Andreas Schwab  <schwab@suse.de>
12315         [BZ #15014]
12316         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12317         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12318         successful.
12319         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12320         redundant variable declarations and reallocation of buffer when
12321         parsing as IPv6 address.  Always set NSS status when called from
12322         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
12323         buffer too small.  Correct computation of needed size.
12324         * nss/Makefile (tests): Add test-digits-dots.
12325         * nss/test-digits-dots.c: New test.
12327 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12329         * benchtests/Makefile: Remove instructions for adding
12330         benchmark tests.
12331         * benchtests/README: New file to explain how to execute and
12332         enhance the benchmark tests.
12334 2013-05-21  Andreas Schwab  <schwab@suse.de>
12336         [BZ #15493]
12337         * setjmp/Makefile (tests): Add tst-sigsetjmp.
12338         * setjmp/tst-sigsetjmp.c: New test.
12340 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12342         * sysdeps/x86_64/memset.S (memset): New implementation.
12343         (__bzero): Likewise.
12344         (__memset_tail): New function.
12346 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12348         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12349         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12350         __memcpy_sse2_unaligned ifunc selection.
12351         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12352         Add memcpy-sse2-unaligned.S.
12353         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12354         Add: __memcpy_sse2_unaligned.
12356 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
12358         [BZ #15490]
12359         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12360         math_force_eval before restoring floating-point envrionment.
12361         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12362         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12363         Likewise.
12364         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12365         <math_private.h>.
12366         (__nearbyintl): Use math_force_eval before restoring
12367         floating-point environment.
12368         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12370         * math/gen-libm-test.pl (special_functions): Remove.
12371         (parse_args): Don't handle TEST_extra.  Handle functions with no
12372         return value.
12373         * math/libm-test.inc (struct test_sincos_data): Replace with
12374         struct test_fFF_11_data.
12375         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12376         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12377         (sincos_test_data): Change element type to struct
12378         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
12379         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12380         RUN_TEST_LOOP_sincos.
12381         * math/README.libm-test: Don't mention special handling of
12382         individual functions.
12383         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12384         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12385         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12386         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12387         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12390         * math/gen-libm-test.pl (get_variable): Remove function.
12391         (parse_args): Don't show pointer parameters to call in test
12392         names.  Use "extra output N" in test names for extra outputs
12393         rather than naming variables.
12395 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
12397         [BZ #15488]
12398         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12399         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12400         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12401         double tests.
12402         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12403         disable.
12404         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12405         check_long_double.
12407         * math/gen-libm-test.pl (@tests): Remove variable.
12408         ($count): Likewise.
12409         (new_test): Remove function.
12410         (show_exceptions): New function.
12411         (special_functions): Use show_exceptions instead of new_test.
12412         (parse_args): Likewise.
12413         (generate_testfile): Pass only function name in generated call to
12414         print_max_error or print_complex_max_error.
12415         (get_ulps): Do not handle complex tests specially.
12416         (output_test): Rename to ...
12417         (get_all_ulps_for_test): ... this.  Return a string rather than
12418         printing to a file.  Require ulps to be present.
12419         (output_ulps): Generate arrays rather than #defines.
12420         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12421         (struct ulp_data): New type.
12422         (BUILD_COMPLEX_ULP): Remove macro.
12423         (compare_ulp_data): New function.
12424         (find_ulps): Likewise.
12425         (find_test_ulps): Likewise.
12426         (find_function_ulps): Likewise.
12427         (find_complex_function_ulps): Likewise.
12428         (print_max_error): Determine allowed ulps using
12429         find_function_ulps.
12430         (print_complex_max_error): Determine allowed ulps using
12431         find_complex_function_ulps.
12432         (check_float_internal): Determine max ulps using find_test_ulps.
12433         (check_float): Do not take max_ulp parameter.  Update call to
12434         check_float_internal.
12435         (check_complex): Likewise.
12436         (check_int): Do not take max_ulp parameter.
12437         (check_long): Likewise.
12438         (check_bool): Likewise.
12439         (check_longlong): Likewise.
12440         (struct test_f_f_data): Remove max_ulp field.
12441         (struct test_ff_f_data): Likewise.
12442         (struct test_ff_f_data_nexttoward): Likewise.
12443         (struct test_fi_f_data): Likewise.
12444         (struct test_fl_f_data): Likewise.
12445         (struct test_if_f_data): Likewise.
12446         (struct test_fff_f_data): Likewise.
12447         (struct test_c_f_data): Likewise.
12448         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12449         (struct test_fF_f1_data): Likewise.
12450         (struct test_ffI_f1_data): Likewise.
12451         (struct test_c_c_data): Remove max_ulp field.
12452         (struct test_cc_c_data): Likewise.
12453         (struct test_f_i_data): Likewise.
12454         (struct test_ff_i_data): Likewise.
12455         (struct test_f_l_data): Likewise.
12456         (struct test_f_L_data): Likewise.
12457         (struct test_sincos_data): Likewise.
12458         (RUN_TEST_f_f): Do not handle ulps.
12459         (RUN_TEST_LOOP_f_f): Likewise.
12460         (RUN_TEST_2_f): Likewise.
12461         (RUN_TEST_LOOP_2_f): Likewise.
12462         (RUN_TEST_fff_f): Likewise.
12463         (RUN_TEST_LOOP_fff_f): Likewise.
12464         (RUN_TEST_c_f): Likewise.
12465         (RUN_TEST_LOOP_c_f): Likewise.
12466         (RUN_TEST_f_f1): Likewise.
12467         (RUN_TEST_LOOP_f_f1): Likewise.
12468         (RUN_TEST_fF_f1): Likewise.
12469         (RUN_TEST_LOOP_fF_f1): Likewise.
12470         (RUN_TEST_fI_f1): Likewise.
12471         (RUN_TEST_LOOP_fI_f1): Likewise.
12472         (RUN_TEST_ffI_f1): Likewise.
12473         (RUN_TEST_LOOP_ffI_f1): Likewise.
12474         (RUN_TEST_c_c): Likewise.
12475         (RUN_TEST_LOOP_c_c): Likewise.
12476         (RUN_TEST_cc_c): Likewise.
12477         (RUN_TEST_LOOP_cc_c): Likewise.
12478         (RUN_TEST_f_i): Likewise.
12479         (RUN_TEST_LOOP_f_i): Likewise.
12480         (RUN_TEST_f_i_tg): Likewise.
12481         (RUN_TEST_LOOP_f_i_tg): Likewise.
12482         (RUN_TEST_ff_i_tg): Likewise.
12483         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12484         (RUN_TEST_f_b): Likewise.
12485         (RUN_TEST_LOOP_f_b): Likewise.
12486         (RUN_TEST_f_b_tg): Likewise.
12487         (RUN_TEST_LOOP_f_b_tg): Likewise.
12488         (RUN_TEST_f_l): Likewise.
12489         (RUN_TEST_LOOP_f_l): Likewise.
12490         (RUN_TEST_f_L): Likewise.
12491         (RUN_TEST_LOOP_f_L): Likewise.
12492         (RUN_TEST_sincos): Likewise.
12493         (RUN_TEST_LOOP_sincos): Likewise.
12495 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
12497         [BZ #15480]
12498         [BZ #15485]
12499         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12500         main case of finite arguments, set rounding mode to FE_TONEAREST
12501         and discard exceptions.
12502         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12503         exceptions.
12504         (remainder_tonearest_test_data): New variable.
12505         (remainder_test_tonearest): New function.
12506         (remainder_towardzero_test_data): New variable.
12507         (remainder_test_towardzero): New function.
12508         (remainder_downward_test_data): New variable.
12509         (remainder_test_downward): New function.
12510         (remainder_upward_test_data): New variable.
12511         (remainder_test_upward): New function.
12512         (main): Call the new test functions.
12514         * math/libm-test.inc (struct test_f_f1_data): Remove field
12515         extra_init.
12516         (struct test_fF_f1_data): Likewise.
12517         (struct test_ffI_f1_data): Likewise.
12518         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
12519         based on value of EXTRA_EXPECTED.
12520         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12521         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
12522         EXTRA_VAR based on value of EXTRA_EXPECTED.
12523         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12524         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
12525         EXTRA_VAR based on value of EXTRA_EXPECTED.
12526         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12527         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
12528         EXTRA_VAR based on value of EXTRA_EXPECTED.
12529         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12530         * math/gen-libm-test.pl (parse_args): Don't output initializers
12531         for extra output values.
12533         * math/libm-test.inc (check_int): Expect result to be exactly
12534         equal to expected value and do not handle ulps.
12535         (check_long): Likewise.
12536         (check_longlong): Likewise.
12538         * math/libm-test.inc (ceil_test_data): Test for "inexact"
12539         exceptions.
12540         (cimag_test_data): Likewise.
12541         (conj_test_data): Likewise.
12542         (copysign_test_data): Likewise.
12543         (cproj_test_data): Likewise.
12544         (creal_test_data): Likewise.
12545         (fabs_test_data): Likewise.
12546         (fdim_test_data): Likewise.
12547         (finite_test_data): Likewise.
12548         (floor_test_data): Likewise.
12549         (fmax_test_data): Likewise.
12550         (fmin_test_data): Likewise.
12551         (fmod_test_data): Likewise.
12552         (fpclassify_test_data): Likewise.
12553         (frexp_test_data): Likewise.
12554         (ilogb_test_data): Likewise.
12555         (isfinite_test_data): Likewise.
12556         (isgreater_test_data): Likewise.
12557         (isgreaterequal_test_data): Likewise.
12558         (isinf_test_data): Likewise.
12559         (isless_test_data): Likewise.
12560         (islessequal_test_data): Likewise.
12561         (islessgreater_test_data): Likewise.
12562         (isnan_test_data): Likewise.
12563         (isnormal_test_data): Likewise.
12564         (issignaling_test_data): Likewise.
12565         (isunordered_test_data): Likewise.
12566         (ldexp_test_data): Likewise.
12567         (lrint_test_data): Likewise.
12568         (lrint_test_data) [TEST_FLOAT]: Disable one test.
12569         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12570         (lrint_tonearest_test_data): Test for "inexact" exceptions.
12571         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12572         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12573         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12574         test input.
12575         (lrint_towardzero_test_data): Test for "inexact" exceptions.
12576         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12577         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12578         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12579         that test input.
12580         (lrint_downward_test_data): Test for "inexact" exceptions.
12581         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12582         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12583         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12584         test input.
12585         (lrint_upward_test_data): Test for "inexact" exceptions.
12586         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12587         test input.
12588         (llrint_test_data): Test for "inexact" exceptions.
12589         (llrint_test_data) [TEST_FLOAT]: Disable one test.
12590         (llrint_tonearest_test_data): Test for "inexact" exceptions.
12591         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12592         (llrint_towardzero_test_data): Test for "inexact" exceptions.
12593         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12594         (llrint_downward_test_data): Test for "inexact" exceptions.
12595         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12596         (llrint_upward_test_data): Test for "inexact" exceptions.
12597         (logb_test_data): Likewise.
12598         (logb_downward_test_data): Likewise.
12599         (nextafter_test_data): Likewise.
12600         (nexttoward_test_data): Likewise.
12601         (remainder_test_data): Likewise.
12602         (remquo_test_data): Likewise.
12603         (scalbn_test_data): Likewise.
12604         (scalbln_test_data): Likewise.
12605         (signbit_test_data): Likewise.
12606         (sqrt_test_data): Likewise.
12607         (significand_test_data): Likewise.
12609 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12611         [BZ #15424]
12612         * benchtests/bench-modf.c (struct args): Mark arg0 as
12613         volatile.
12614         * scripts/bench.pl: Mark members of struct args as volatile.
12616 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12618         [BZ # 15497]
12619         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12620         negative infinity on POWER6 or lower.
12621         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12623 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12625         [BZ #15442]
12626         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12627         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12628         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12629         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12630         (_FP_SETQNAN): New macro.
12631         (_FP_SETQNAN_SEMIRAW): Likewise.
12632         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12633         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12634         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12635         (FP_EXTEND): Use _FP_FRAC_SNANP.
12636         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12637         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12638         into account.
12639         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12640         New macro.
12641         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12642         Likewise.
12644 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12646         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12647         with DIVIDE_BY_ZERO_EXCEPTION.
12648         (gamma_test_data): Likewise.
12649         (lgamma_test_data): Likewise.
12650         (log_test_data): Likewise.
12651         (log10_test_data): Likewise.
12652         (log2_test_data): Likewise.
12653         (tgamma_test_data): Likewise.
12655         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12656         (acos_test_tonearest): Likewise.
12657         (acos_test_towardzero): Likewise.
12658         (acos_test_downward): Likewise.
12659         (acos_test_upward): Likewise.
12660         (acosh_test): Likewise.
12661         (asin_test): Likewise.
12662         (asin_test_tonearest): Likewise.
12663         (asin_test_towardzero): Likewise.
12664         (asin_test_downward): Likewise.
12665         (asin_test_upward): Likewise.
12666         (asinh_test): Likewise.
12667         (atan_test): Likewise.
12668         (atanh_test): Likewise.
12669         (atan2_test): Likewise.
12670         (cabs_test): Likewise.
12671         (cacos_test): Likewise.
12672         (cacosh_test): Likewise.
12673         (casin_test): Likewise.
12674         (casinh_test): Likewise.
12675         (catan_test): Likewise.
12676         (catanh_test): Likewise.
12677         (cbrt_test): Likewise.
12678         (ccos_test): Likewise.
12679         (ccosh_test): Likewise.
12680         (cexp_test): Likewise.
12681         (clog_test): Likewise.
12682         (clog10_test): Likewise.
12683         (cos_test): Likewise.
12684         (cos_test_tonearest): Likewise.
12685         (cos_test_towardzero): Likewise.
12686         (cos_test_downward): Likewise.
12687         (cos_test_upward): Likewise.
12688         (cosh_test): Likewise.
12689         (cosh_test_tonearest): Likewise.
12690         (cosh_test_towardzero): Likewise.
12691         (cosh_test_downward): Likewise.
12692         (cosh_test_upward): Likewise.
12693         (cpow_test): Likewise.
12694         (csin_test): Likewise.
12695         (csinh_test): Likewise.
12696         (csqrt_test): Likewise.
12697         (ctan_test): Likewise.
12698         (ctan_test_tonearest): Likewise.
12699         (ctan_test_towardzero): Likewise.
12700         (ctan_test_downward): Likewise.
12701         (ctan_test_upward): Likewise.
12702         (ctanh_test): Likewise.
12703         (ctanh_test_tonearest): Likewise.
12704         (ctanh_test_towardzero): Likewise.
12705         (ctanh_test_downward): Likewise.
12706         (ctanh_test_upward): Likewise.
12707         (erf_test): Likewise.
12708         (erfc_test): Likewise.
12709         (exp_test): Likewise.
12710         (exp_test_tonearest): Likewise.
12711         (exp_test_towardzero): Likewise.
12712         (exp_test_downward): Likewise.
12713         (exp_test_upward): Likewise.
12714         (exp10_test): Likewise.
12715         (exp2_test): Likewise.
12716         (expm1_test): Likewise.
12717         (fmod_test): Likewise.
12718         (gamma_test): Likewise.
12719         (hypot_test): Likewise.
12720         (j0_test): Likewise.
12721         (j1_test): Likewise.
12722         (jn_test): Likewise.
12723         (lgamma_test): Likewise.
12724         (log_test): Likewise.
12725         (log10_test): Likewise.
12726         (log1p_test): Likewise.
12727         (log2_test): Likewise.
12728         (logb_test_downward): Likewise.
12729         (pow_test): Likewise.
12730         (pow_test_tonearest): Likewise.
12731         (pow_test_towardzero): Likewise.
12732         (pow_test_downward): Likewise.
12733         (pow_test_upward): Likewise.
12734         (remainder_test): Likewise.
12735         (remquo_test): Likewise.
12736         (sin_test): Likewise.
12737         (sin_test_tonearest): Likewise.
12738         (sin_test_towardzero): Likewise.
12739         (sin_test_downward): Likewise.
12740         (sin_test_upward): Likewise.
12741         (sincos_test): Likewise.
12742         (sinh_test): Likewise.
12743         (sinh_test_tonearest): Likewise.
12744         (sinh_test_towardzero): Likewise.
12745         (sinh_test_downward): Likewise.
12746         (sinh_test_upward): Likewise.
12747         (sqrt_test): Likewise.
12748         (tan_test): Likewise.
12749         (tan_test_tonearest): Likewise.
12750         (tan_test_towardzero): Likewise.
12751         (tan_test_downward): Likewise.
12752         (tan_test_upward): Likewise.
12753         (tanh_test): Likewise.
12754         (tgamma_test): Likewise.
12755         (y0_test): Likewise.
12756         (y1_test): Likewise.
12757         (yn_test): Likewise.
12759         * math/gen-libm-test.pl (adjust_arg): Remove function.
12760         (special_function): Remove argument $in_func.  Only handle
12761         generating output for tables of tests, not inside functions.
12762         (parse_args): Likewise.
12763         (generate_testfile): Remove variable $in_func.  Update call to
12764         parse_args.
12765         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12766         (MINUS_ZERO_INIT): Rename macro to minus_zero.
12767         (PLUS_INFTY_INIT): Rename macro to plus_infty.
12768         (MINUS_INFTY_INIT): Rename macro to minus_infty.
12769         (QNAN_VALUE_INIT): Rename macro to qnan_value.
12770         (MAX_VALUE_INIT): Rename macro to max_value.
12771         (MIN_VALUE_INIT): Rename macro to min_value.
12772         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12773         (plus_zero): Remove variable.
12774         (minus_zero): Likewise.
12775         (plus_infty): Likewise.
12776         (minus_infty): Likewise.
12777         (qnan_value): Likewise.
12778         (max_value): Likewise.
12779         (min_value): Likewise.
12780         (min_subnorm_value): Likewise.
12782 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12784         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12785         uint64_t or uint32_t usage.
12786         * crypt/sha256-block.c: Likewise.
12787         * crypt/sha256-crypt.c: Likewise.
12788         * crypt/sha256.c: Likewise.
12789         * crypt/sha512-block.c: Likewise.
12790         * crypt/sha512-crypt.c: Likewise.
12791         * crypt/sha512.c: Likewise.
12792         * debug/backtrace-tst.c: Likewise.
12793         * debug/pcprofiledump.c: Likewise.
12794         * elf/cache.c: Likewise.
12795         * elf/dl-cache.c: Likewise.
12796         * elf/dl-misc.c: Likewise.
12797         * elf/dl-profile.c: Likewise.
12798         * elf/dl-support.c: Likewise.
12799         * elf/ldconfig.c: Likewise.
12800         * elf/sprof.c: Likewise.
12801         * iconv/dummy-repertoire.c: Likewise.
12802         * iconv/iconv_charmap.c: Likewise.
12803         * iconv/skeleton.c: Likewise.
12804         * iconvdata/8bit-generic.c: Likewise.
12805         * iconvdata/cp737.h: Likewise.
12806         * iconvdata/cp775.h: Likewise.
12807         * iconvdata/ibm1008.h: Likewise.
12808         * iconvdata/ibm1025.h: Likewise.
12809         * iconvdata/ibm1046.h: Likewise.
12810         * iconvdata/ibm1097.h: Likewise.
12811         * iconvdata/ibm1112.h: Likewise.
12812         * iconvdata/ibm1122.h: Likewise.
12813         * iconvdata/ibm1123.h: Likewise.
12814         * iconvdata/ibm1124.h: Likewise.
12815         * iconvdata/ibm1129.h: Likewise.
12816         * iconvdata/ibm1130.h: Likewise.
12817         * iconvdata/ibm1132.h: Likewise.
12818         * iconvdata/ibm1133.h: Likewise.
12819         * iconvdata/ibm1137.h: Likewise.
12820         * iconvdata/ibm1140.h: Likewise.
12821         * iconvdata/ibm1141.h: Likewise.
12822         * iconvdata/ibm1142.h: Likewise.
12823         * iconvdata/ibm1143.h: Likewise.
12824         * iconvdata/ibm1144.h: Likewise.
12825         * iconvdata/ibm1145.h: Likewise.
12826         * iconvdata/ibm1146.h: Likewise.
12827         * iconvdata/ibm1147.h: Likewise.
12828         * iconvdata/ibm1148.h: Likewise.
12829         * iconvdata/ibm1149.h: Likewise.
12830         * iconvdata/ibm1153.h: Likewise.
12831         * iconvdata/ibm1154.h: Likewise.
12832         * iconvdata/ibm1155.h: Likewise.
12833         * iconvdata/ibm1156.h: Likewise.
12834         * iconvdata/ibm1157.h: Likewise.
12835         * iconvdata/ibm1158.h: Likewise.
12836         * iconvdata/ibm1160.h: Likewise.
12837         * iconvdata/ibm1161.h: Likewise.
12838         * iconvdata/ibm1162.h: Likewise.
12839         * iconvdata/ibm1163.h: Likewise.
12840         * iconvdata/ibm1164.h: Likewise.
12841         * iconvdata/ibm1166.h: Likewise.
12842         * iconvdata/ibm1167.h: Likewise.
12843         * iconvdata/ibm12712.h: Likewise.
12844         * iconvdata/ibm1390.h: Likewise.
12845         * iconvdata/ibm1399.h: Likewise.
12846         * iconvdata/ibm16804.h: Likewise.
12847         * iconvdata/ibm4517.h: Likewise.
12848         * iconvdata/ibm4899.h: Likewise.
12849         * iconvdata/ibm4909.h: Likewise.
12850         * iconvdata/ibm4971.h: Likewise.
12851         * iconvdata/ibm5347.h: Likewise.
12852         * iconvdata/ibm803.h: Likewise.
12853         * iconvdata/ibm856.h: Likewise.
12854         * iconvdata/ibm901.h: Likewise.
12855         * iconvdata/ibm902.h: Likewise.
12856         * iconvdata/ibm9030.h: Likewise.
12857         * iconvdata/ibm9066.h: Likewise.
12858         * iconvdata/ibm921.h: Likewise.
12859         * iconvdata/ibm922.h: Likewise.
12860         * iconvdata/ibm9448.h: Likewise.
12861         * iconvdata/isiri-3342.h: Likewise.
12862         * iconvdata/jis0201.h: Likewise.
12863         * include/link.h: Likewise.
12864         * include/netdb.h: Likewise.
12865         * inet/check_native.c: Likewise.
12866         * inet/check_pf.c: Likewise.
12867         * inet/getipv4sourcefilter.c: Likewise.
12868         * inet/getnameinfo.c: Likewise.
12869         * inet/getsourcefilter.c: Likewise.
12870         * inet/htonl.c: Likewise.
12871         * inet/setipv4sourcefilter.c: Likewise.
12872         * inet/setsourcefilter.c: Likewise.
12873         * inet/test-inet6_opt.c: Likewise.
12874         * inet/tst-network.c: Likewise.
12875         * locale/C-collate.c: Likewise.
12876         * locale/C-ctype.c: Likewise.
12877         * locale/C-time.c: Likewise.
12878         * locale/C-translit.h: Likewise.
12879         * locale/loadarchive.c: Likewise.
12880         * locale/programs/3level.h: Likewise.
12881         * locale/programs/charmap.c: Likewise.
12882         * locale/programs/charmap.h: Likewise.
12883         * locale/programs/ld-address.c: Likewise.
12884         * locale/programs/ld-collate.c: Likewise.
12885         * locale/programs/ld-ctype.c: Likewise.
12886         * locale/programs/ld-identification.c: Likewise.
12887         * locale/programs/ld-measurement.c: Likewise.
12888         * locale/programs/ld-messages.c: Likewise.
12889         * locale/programs/ld-monetary.c: Likewise.
12890         * locale/programs/ld-name.c: Likewise.
12891         * locale/programs/ld-numeric.c: Likewise.
12892         * locale/programs/ld-paper.c: Likewise.
12893         * locale/programs/ld-telephone.c: Likewise.
12894         * locale/programs/ld-time.c: Likewise.
12895         * locale/programs/linereader.c: Likewise.
12896         * locale/programs/locale.c: Likewise.
12897         * locale/programs/locarchive.c: Likewise.
12898         * locale/programs/locfile.h: Likewise.
12899         * locale/programs/repertoire.c: Likewise.
12900         * locale/programs/simple-hash.c: Likewise.
12901         * locale/programs/simple-hash.h: Likewise.
12902         * malloc/memusage.c: Likewise.
12903         * malloc/memusagestat.c: Likewise.
12904         * nis/nis_defaults.c: Likewise.
12905         * nis/nis_hash.c: Likewise.
12906         * nis/nis_print.c: Likewise.
12907         * nis/nis_xdr.c: Likewise.
12908         * nscd/connections.c: Likewise.
12909         * nscd/hstcache.c: Likewise.
12910         * nscd/nscd_gethst_r.c: Likewise.
12911         * nscd/nscd_getserv_r.c: Likewise.
12912         * nscd/nscd_helper.c: Likewise.
12913         * nscd/servicescache.c: Likewise.
12914         * nss/makedb.c: Likewise.
12915         * nss/nss_db/db-XXX.c: Likewise.
12916         * nss/nss_db/db-initgroups.c: Likewise.
12917         * nss/nss_db/db-netgrp.c: Likewise.
12918         * nss/nss_files/files-network.c: Likewise.
12919         * nss/nss_files/files-parse.c: Likewise.
12920         * posix/bug-regex5.c: Likewise.
12921         * posix/fnmatch_loop.c: Likewise.
12922         * posix/regcomp.c: Likewise.
12923         * posix/regexec.c: Likewise.
12924         * posix/tst-rfc3484-2.c: Likewise.
12925         * posix/tst-rfc3484-3.c: Likewise.
12926         * posix/tst-rfc3484.c: Likewise.
12927         * resolv/nss_dns/dns-canon.c: Likewise.
12928         * resolv/nss_dns/dns-network.c: Likewise.
12929         * resolv/res_init.c: Likewise.
12930         * resolv/res_mkquery.c: Likewise.
12931         * resolv/tst-aton.c: Likewise.
12932         * stdlib/cxa_atexit.c: Likewise.
12933         * stdlib/cxa_finalize.c: Likewise.
12934         * stdlib/gen-fpioconst.c: Likewise.
12935         * stdlib/strtol_l.c: Likewise.
12936         * string/tst-endian.c: Likewise.
12937         * sunrpc/auth_des.c: Likewise.
12938         * sunrpc/clnt_udp.c: Likewise.
12939         * sunrpc/rtime.c: Likewise.
12940         * sunrpc/svcauth_des.c: Likewise.
12941         * sunrpc/xdr.c: Likewise.
12942         * sunrpc/xdr_intXX_t.c: Likewise.
12943         * sunrpc/xdr_rec.c: Likewise.
12944         * sysdeps/generic/ldconfig.h: Likewise.
12945         * sysdeps/generic/ldsodefs.h: Likewise.
12946         * sysdeps/generic/memusage.h: Likewise.
12947         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12948         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12949         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12950         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12951         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12952         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12953         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12954         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12955         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12956         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12957         * sysdeps/posix/getaddrinfo.c: Likewise.
12958         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12959         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12960         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12961         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12962         * sysdeps/powerpc/test-gettimebase.c: Likewise.
12963         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12964         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12965         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12966         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12967         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12968         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12969         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12970         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12971         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12972         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12973         * sysdeps/x86_64/dl-tls.h: Likewise.
12974         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12975         * time/alt_digit.c: Likewise.
12976         * time/era.c: Likewise.
12977         * wcsmbs/tst-c16c32-1.c: Likewise.
12979 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12981         * math/libm-test.inc (struct test_sincos_data): New type.
12982         (RUN_TEST_LOOP_sincos): New macro.
12983         (sincos_test_data): New variable.
12984         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12986 2013-05-16  Richard Henderson  <rth@redhat.com>
12988         * math/atest-exp2.c (LIMB64): New macro.
12989         (CONSTSZ): New macro.
12990         (mp_exp1, mp_exp_m1, mp_log2): New variables.
12991         (hexdig): Move ...
12992         (print_mpn_fp): ... to function scope.
12993         (read_mpn_hex): Remove.
12994         (get_log2): Remove.
12995         (exp2_mpn): Use mp_log2.
12996         (main): Use mp_exp1.
12998 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
13000         * math/libm-test.inc: Remove comment about not testing "inexact"
13001         exceptions.
13002         (INEXACT_EXCEPTION): New macro.
13003         (NO_INEXACT_EXCEPTION): Likewise.
13004         (INVALID_EXCEPTION_OK): Update value.
13005         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13006         (OVERFLOW_EXCEPTION_OK): Likewise.
13007         (UNDERFLOW_EXCEPTION_OK): Likewise.
13008         (IGNORE_ZERO_INF_SIGN): Likewise.
13009         (ERRNO_UNCHANGED): Likewise.
13010         (ERRNO_EDOM): Likewise.
13011         (ERRNO_ERANGE): Likewise.
13012         (test_exceptions): Handle testing "inexact" exceptions.
13013         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13014         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13015         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13016         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13017         INEXACT_EXCEPTION.
13018         (rint_towardzero_test_data): Likewise.
13019         (rint_downward_test_data): Likewise.
13020         (rint_upward_test_data): Likewise.
13022         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13023         with OVERFLOW_EXCEPTION.
13024         (exp10_test_data): Likewise.
13025         (exp2_test_data): Likewise.
13026         (expm1_test_data): Likewise.
13027         (lgamma_test_data): Likewise.
13028         (pow_test_data): Likewise.
13029         (tgamma_test_data): Likewise.
13030         (yn_test_data): Remove duplicate test of overflow.
13032         * math/libm-test.inc (struct test_cc_c_data): New type.
13033         (RUN_TEST_LOOP_cc_c): New macro.
13034         (cpow_test_data): New variable.
13035         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13037         * math/libm-test.inc (struct test_f_L_data): New type.
13038         (RUN_TEST_LOOP_f_L): New macro.
13039         (llrint_test_data): New variable.
13040         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13041         (llrint_tonearest_test_data): New variable.
13042         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13043         (llrint_towardzero_test_data): New variable.
13044         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13045         (llrint_downward_test_data): New variable.
13046         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13047         (llrint_upward_test_data): New variable.
13048         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13049         (llround_test_data): New variable.
13050         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13052 2013-05-13  Peter Collingbourne  <pcc@google.com>
13054         * math/atest-exp2.c (get_log2): Remove const attribute.
13056 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13058         * math/libm-test.inc (struct test_f_l_data): New type.
13059         (RUN_TEST_LOOP_f_l): New macro.
13060         (lrint_test_data): New variable.
13061         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13062         (lrint_tonearest_test_data): New variable.
13063         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13064         (lrint_towardzero_test_data): New variable.
13065         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13066         (lrint_downward_test_data): New variable.
13067         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13068         (lrint_upward_test_data): New variable.
13069         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13070         (lround_test_data): New variable.
13071         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13073 2013-05-15  Peter Collingbourne  <pcc@google.com>
13075         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13076         (EXTRACT_WORDS64) Use where appropriate.
13077         (INSERT_WORDS64) Likewise.
13079         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13080         constraints with x constraints.
13081         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13083         * malloc/obstack.c (_obstack_compat): Add initializer.
13085 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
13087         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13088         si_trapno and add si_addr_lsb to _sifields.sigfault.
13089         (si_trapno): Remove macro.
13090         (si_addr_lsb): Define new macro.
13091         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13093 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
13095         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13096         instead of TEST_f_l.
13097         (llrint_test_tonearest): Likewise.
13098         (llrint_test_towardzero): Likewise.
13099         (llrint_test_downward): Likewise.
13100         (llrint_test_upward): Likewise.
13101         (llround_test): Likewise.
13103         * math/libm-test.inc (struct test_f_i_data): Add comment.
13104         (RUN_TEST_LOOP_f_b): New macro.
13105         (RUN_TEST_LOOP_f_b_tg): Likewise.
13106         (finite_test_data): New variable.
13107         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13108         (isfinite_test_data): New variable.
13109         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13110         (isinf_test_data): New variable.
13111         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13112         (isnan_test_data): New variable.
13113         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13114         (isnormal_test_data): New variable.
13115         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13116         (issignaling_test_data): New variable.
13117         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13118         (signbit_test_data): New variable.
13119         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13121         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13122         with INVALID_EXCEPTION.
13123         (acosh_test_data): Likewise.
13124         (asin_test_data): Likewise.
13125         (atanh_test_data): Likewise.
13126         (fmod_test_data): Likewise.
13127         (log_test_data): Likewise.
13128         (log10_test_data): Likewise.
13129         (log2_test_data): Likewise.
13130         (pow_test_data): Likewise.
13131         (sqrt_test_data): Likewise.
13132         (y0_test_data): Likewise.
13133         (y1_test_data): Likewise.
13134         (yn_test_data): Likewise.
13136         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13137         function contents.
13139         * math/libm-test.inc (struct test_ff_i_data): New type.
13140         (RUN_TEST_LOOP_ff_i_tg): New macro.
13141         (isgreater_test_data): New variable.
13142         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13143         (isgreaterequal_test_data): New variable.
13144         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13145         (isless_test_data): New variable.
13146         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13147         (islessequal_test_data): New variable.
13148         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13149         (islessgreater_test_data): New variable.
13150         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13151         (isunordered_test_data): New variable.
13152         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13154 2013-05-14  David S. Miller  <davem@davemloft.net>
13156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13158 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
13160         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13162         * math/libm-test.inc (struct test_fF_f1_data): Change type of
13163         extra_test to int.
13164         (struct test_f_i_data): Change type of max_ulp to int.
13166         * math/libm-test.inc (test_ffI_f1_data): New type.
13167         (RUN_TEST_LOOP_ffI_f1): New macro.
13168         (remquo_test_data): New variable.
13169         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13171         * setjmp/tst-setjmp-fp.c: New file.
13172         * setjmp/Makefile (tests): Add tst-setjmp-fp.
13173         (link-libm): New variable.
13174         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13176         * math/libm-test.inc (struct test_f_i_data): New type.
13177         (RUN_TEST_LOOP_f_i): New macro.
13178         (RUN_TEST_LOOP_f_i_tg): Likewise.
13179         (fpclassify_test_data): New variable.
13180         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13181         (ilogb_test_data): New variable.
13182         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13184         * math/libm-test.inc (scalbln_test): Correct function name in END
13185         call.
13187         * math/libm-test.inc (struct test_f_f1_data): Add comment.
13188         (RUN_TEST_LOOP_fI_f1): New macro.
13189         (frexp_test_data): New variable.
13190         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13192         * math/libm-test.inc (struct test_fF_f1_data): New type.
13193         (RUN_TEST_LOOP_fF_f1): New macro.
13194         (modf_test_data): New variable.
13195         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13197         * math/libm-test.inc (struct test_f_f1_data): New type.
13198         (RUN_TEST_LOOP_f_f1): New macro.
13199         (gamma_test_data): New variable.
13200         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13201         (lgamma_test_data): New variable.
13202         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13204 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
13206         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13207         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13208         (main): Comment "tls" pseudo-hwcap.
13210 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
13212         * math/libm-test.inc (struct test_fl_f_data): New type.
13213         (RUN_TEST_LOOP_fl_f): New variable.
13214         (scalbln_test_data): New variable.
13215         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13217         * math/libm-test.inc (struct test_fi_f_data): New type.
13218         (RUN_TEST_LOOP_fi_f): New macro.
13219         (ldexp_test_data): New variable.
13220         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13221         (scalbn_test_data): New variable.
13222         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13224         * math/libm-test.inc (struct test_c_f_data): New type.
13225         (RUN_TEST_LOOP_c_f): New macro.
13226         (cabs_test_data): New variable.
13227         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13228         (carg_test_data): New variable.
13229         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13230         (cimag_test_data): New variable.
13231         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13232         (creal_test_data): New variable.
13233         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13235         * math/libm-test.inc (struct test_if_f_data): New type.
13236         (RUN_TEST_LOOP_if_f): New macro.
13237         (jn_test_data): New variable.
13238         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13239         (yn_test_data): New variable.
13240         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13242         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13244 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13246         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13247         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13249 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13251         * benchtests/Makefile (CPPFLAGS-nonlib): Add
13252         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13253         (bench-deps): Add bench-timing.h.
13254         * benchtests-bench-skeleton.c: Include bench-timing.h.
13255         (main): Use TIMING_* macros instead of clock_gettime.
13256         * benchtests/bench-timing.h: New file.
13258         [BZ #14582]
13259         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13260         Renamed from _LIB_VERSION.
13261         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13263 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
13265         * math/libm-test.inc (struct test_fff_f_data): New type.
13266         (RUN_TEST_LOOP_fff_f): New macro.
13267         (fma_test_data): New variable.
13268         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13269         (fma_towardzero_test_data): New variable.
13270         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13271         (fma_downward_test_data): New variable.
13272         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13273         (fma_upward_test_data): New variable.
13274         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13276         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13277         (struct test_c_c_data): New type.
13278         (RUN_TEST_LOOP_c_c): New macro.
13279         (cacos_test_data): New variable.
13280         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13281         (cacosh_test_data): New variable.
13282         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13283         (casin_test_data): New variable.
13284         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13285         (casinh_test_data): New variable.
13286         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13287         (catan_test_data): New variable.
13288         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13289         (catanh_test_data): New variable.
13290         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13291         (ccos_test_data): New variable.
13292         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13293         (ccosh_test_data): New variable.
13294         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13295         (cexp_test_data): New variable.
13296         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13297         (clog_test_data): New variable.
13298         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13299         (clog10_test_data): New variable.
13300         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13301         (conj_test_data): New variable.
13302         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13303         (cproj_test_data): New variable.
13304         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13305         (csin_test_data): New variable.
13306         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13307         (csinh_test_data): New variable.
13308         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13309         (csqrt_test_data): New variable.
13310         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13311         (ctan_test_data): New variable.
13312         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13313         (ctan_tonearest_test_data): New variable.
13314         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13315         (ctan_towardzero_test_data): New variable.
13316         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13317         (ctan_downward_test_data): New variable.
13318         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13319         (ctan_upward_test_data): New variable.
13320         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13321         (ctanh_test_data): New variable.
13322         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13323         (ctanh_tonearest_test_data): New variable.
13324         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13325         (ctanh_towardzero_test_data): New variable.
13326         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13327         (ctanh_downward_test_data): New variable.
13328         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13329         (ctanh_upward_test_data): New variable.
13330         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13331         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13332         of BUILD_COMPLEX.
13334         * math/libm-test.inc (struct test_ff_f_data): New type.
13335         (struct test_ff_f_data_nexttoward): Likewise.
13336         (RUN_TEST_LOOP_2_f): New macro.
13337         (RUN_TEST_LOOP_ff_f): Likewise.
13338         (atan2_test_data): New variable.
13339         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13340         (copysign_test_data): New variable.
13341         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13342         (fdim_test_data): New variable.
13343         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13344         (fmax_test_data): New variable.
13345         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13346         (fmin_test_data): New variable.
13347         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13348         (fmod_test_data): New variable.
13349         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13350         (hypot_test_data): New variable.
13351         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13352         (nextafter_test_data): New variable.
13353         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13354         (nexttoward_test_data): New variable.
13355         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13356         (pow_test_data): New variable.
13357         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13358         (pow_tonearest_test_data): New variable.
13359         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13360         (pow_towardzero_test_data): New variable.
13361         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13362         (pow_downward_test_data): New variable.
13363         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13364         (pow_upward_test_data): New variable.
13365         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13366         (remainder_test_data): New variable.
13367         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13368         (scalb_test_data): New variable.
13369         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13370         * sysdeps/i386/fpu/libm-test-ulps: Update.
13372 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
13374         * math/libm-test.inc (fma_test): Use max_value instead of local
13375         variable fltmax.
13376         (nextafter_test): Likewise.
13378         * math/libm-test.inc (acos_towardzero_test_data): New variable.
13379         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13380         (acos_downward_test_data): New variable.
13381         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13382         (acos_upward_test_data): New variable.
13383         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13384         (acosh_test_data): New variable.
13385         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13386         (asin_test_data): New variable.
13387         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13388         (asin_tonearest_test_data): New variable.
13389         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13390         (asin_towardzero_test_data): New variable.
13391         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13392         (asin_downward_test_data): New variable.
13393         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13394         (asin_upward_test_data): New variable.
13395         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13396         (asinh_test_data): New variable.
13397         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13398         (atan_test_data): New variable.
13399         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13400         (atanh_test_data): New variable.
13401         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13402         (cbrt_test_data): New variable.
13403         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13404         (ceil_test_data): New variable.
13405         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13406         (cos_test_data): New variable.
13407         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13408         (cos_tonearest_test_data): New variable.
13409         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13410         (cos_towardzero_test_data): New variable.
13411         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13412         (cos_downward_test_data): New variable.
13413         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13414         (cos_upward_test_data): New variable.
13415         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13416         (cosh_test_data): New variable.
13417         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13418         (cosh_tonearest_test_data): New variable.
13419         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13420         (cosh_towardzero_test_data): New variable.
13421         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13422         (cosh_downward_test_data): New variable.
13423         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13424         (cosh_upward_test_data): New variable.
13425         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13426         (erf_test_data): New variable.
13427         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13428         (erfc_test_data): New variable.
13429         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13430         (exp_test_data): New variable.
13431         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13432         (exp_tonearest_test_data): New variable.
13433         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13434         (exp_towardzero_test_data): New variable.
13435         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13436         (exp_downward_test_data): New variable.
13437         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13438         (exp_upward_test_data): New variable.
13439         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13440         (exp10_test_data): New variable.
13441         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13442         (exp2_test_data): New variable.
13443         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13444         (expm1_test_data): New variable.
13445         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13446         (fabs_test_data): New variable.
13447         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13448         (floor_test_data): New variable.
13449         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13450         (j0_test_data): New variable.
13451         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13452         (j1_test_data): New variable.
13453         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13454         (log_test_data): New variable.
13455         (log_test): Run tests with RUN_TEST_LOOP_f_f.
13456         (log10_test_data): New variable.
13457         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13458         (log1p_test_data): New variable.
13459         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13460         (log2_test_data): New variable.
13461         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13462         (logb_test_data): New variable.
13463         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13464         (logb_downward_test_data): New variable.
13465         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13466         (nearbyint_test_data): New variable.
13467         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13468         (rint_test_data): New variable.
13469         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13470         (rint_tonearest_test_data): New variable.
13471         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13472         (rint_towardzero_test_data): New variable.
13473         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13474         (rint_downward_test_data): New variable.
13475         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13476         (rint_upward_test_data): New variable.
13477         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13478         (round_test_data): New variable.
13479         (round_test): Run tests with RUN_TEST_LOOP_f_f.
13480         (sin_test_data): New variable.
13481         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13482         (sin_tonearest_test_data): New variable.
13483         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13484         (sin_towardzero_test_data): New variable.
13485         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13486         (sin_downward_test_data): New variable.
13487         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13488         (sin_upward_test_data): New variable.
13489         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13490         (sinh_test_data): New variable.
13491         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13492         (sinh_tonearest_test_data): New variable.
13493         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13494         (sinh_towardzero_test_data): New variable.
13495         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13496         (sinh_downward_test_data): New variable.
13497         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13498         (sinh_upward_test_data): New variable.
13499         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13500         (sqrt_test_data): New variable.
13501         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13502         (tan_test_data): New variable.
13503         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13504         (tan_tonearest_test_data): New variable.
13505         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13506         (tan_towardzero_test_data): New variable.
13507         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13508         (tan_downward_test_data): New variable.
13509         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13510         (tan_upward_test_data): New variable.
13511         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13512         (tanh_test_data): New variable.
13513         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13514         (tgamma_test_data): New variable.
13515         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13516         (trunc_test_data): New variable.
13517         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13518         (y0_test_data): New variable.
13519         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13520         (y1_test_data): New variable.
13521         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13522         (significand_test_data): New variable.
13523         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13525 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
13527         [BZ #12387]
13528         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13530 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13532         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13534 2013-05-10  Andreas Jaeger  <aj@suse.de>
13536         [BZ #15448]
13537         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13538         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13540 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13542         * math/gen-libm-test.pl (adjust_arg): New function.
13543         (special_functions): Handle generating output in both functions
13544         and arrays.
13545         (parse_args): Likewise.
13546         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
13547         $in_func argument to parse_args.
13548         * math/libm-test.inc (struct test_f_f_data): New type.
13549         (IF_ROUND_INIT_): New macro.
13550         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13551         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13552         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13553         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13554         (ROUND_RESTORE_): Likewise.
13555         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13556         (ROUND_RESTORE_FE_TONEAREST): Likewise.
13557         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13558         (ROUND_RESTORE_FE_UPWARD): Likewise.
13559         (RUN_TEST_LOOP_f_f): New macro.
13560         (acos_test_data): New variable.
13561         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13562         (acos_tonearest_test_data): New variable.
13563         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13565 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13567         * benchtests/bench-skeleton.c (startup): Fix coding style.
13569 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13571         [BZ #6809]
13572         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13573         negative infinity argument.
13574         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13575         negative infinity argument.
13576         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13577         negative infinity argument.
13578         * math/libm-test.inc (tgamma_test): Expect errno to be set for
13579         domain errors.
13581 2013-05-10  Florian Weimer  <fweimer@redhat.com>
13583         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13584         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13585         * iconv/iconv_prog.c (main): Likewise.
13586         * locale/programs/charmap-dir.c (charmap_readdir)
13587         (fopen_uncompressed): Likewise.
13588         * locale/programs/locfile.c (siblings_uncached)
13589         (write_locale_data): Use lstat64 instead of lstat.
13590         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13591         stat.
13593 2013-05-10  Andreas Jaeger  <aj@suse.de>
13595         [BZ #15395]
13596         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13597         localization.
13598         Include <locale.h>.
13600 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
13602         * elf/dl-close.c (_dl_close_worker): Add comments.
13604 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
13606         [BZ #15359]
13607         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13608         high part of pi/2.
13609         (__ieee754_rem_pio2l): Update comments.
13611         [BZ #15429]
13612         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13613         high part of pi/2.
13614         (__ieee754_rem_pio2l): Update comments.
13616         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13617         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13619         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13620         M_PI_4l.
13622         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13623         (M_PI_34_LOG10El): Likewise.
13624         (M_PI2_LOG10El): Likewise.
13625         (M_PI4_LOG10El): Likewise.
13626         (M_PI_LOG10El): Likewise.
13628 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13632 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
13634         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13635         (MINUS_ZERO_INIT): Likewise.
13636         (PLUS_INFTY_INIT): Likewise.
13637         (MINUS_INFTY_INIT): Likewise.
13638         (QNAN_VALUE_INIT): Likewise.
13639         (MAX_VALUE_INIT): Likewise.
13640         (MIN_VALUE_INIT): Likewise.
13641         (MIN_SUBNORM_VALUE_INIT): Likewise.
13642         (plus_zero): Initialize with PLUS_ZERO_INIT.
13643         (minus_zero): Initialize with MINUS_ZERO_INIT.
13644         (plus_infty): Initialize with PLUS_INFTY_INIT.
13645         (minus_infty): Initialize with MINUS_INFTY_INIT.
13646         (qnan_value): Initialize with QNAN_VALUE_INIT.
13647         (max_value): Initialize with MAX_VALUE_INIT.
13648         (min_value): Initialize with MIN_VALUE_INIT.
13649         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13651         * math/libm-test.inc (RUN_TEST_if_f): New macro.
13652         (jn_test): Use TEST_if_f instead of TEST_ff_f.
13653         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13654         (yn_test): Use TEST_if_f instead of TEST_ff_f.
13656         * math/libm-test.inc (RUN_TEST_f_f): New macro.
13657         (RUN_TEST_2_f): Likewise.
13658         (RUN_TEST_ff_f): Likewise.
13659         (RUN_TEST_fi_f): Likewise.
13660         (RUN_TEST_fl_f): Likewise.
13661         (RUN_TEST_fff_f): Likewise.
13662         (RUN_TEST_c_f): Likewise.
13663         (RUN_TEST_f_f1): Likewise.
13664         (RUN_TEST_fF_f1): Likewise.
13665         (RUN_TEST_fI_f1): Likewise.
13666         (RUN_TEST_ffI_f1): Likewise.
13667         (RUN_TEST_c_c): Likewise.
13668         (RUN_TEST_cc_c): Likewise.
13669         (RUN_TEST_f_i): Likewise.
13670         (RUN_TEST_f_i_tg): Likewise.
13671         (RUN_TEST_ff_i_tg): Likewise.
13672         (RUN_TEST_f_b): Likewise.
13673         (RUN_TEST_f_b_tg): Likewise.
13674         (RUN_TEST_f_l): Likewise.
13675         (RUN_TEST_f_L): Likewise.
13676         (RUN_TEST_sincos): Likewise.
13677         * math/gen-libm-test.pl (new_test): Take new argument to indicate
13678         whether to show exceptions.  Do not include ");\n" in return
13679         value.
13680         (special_functions): Output call to RUN_TEST_sincos instead of
13681         check_float calls.  Update calls to new_test.
13682         (parse_args): Output call to single RUN_TEST_* macro instead of
13683         check_* calls and other assignments.  Update calls to new_test.
13685         [BZ #2546]
13686         [BZ #2560]
13687         [BZ #5159]
13688         [BZ #15426]
13689         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13690         input to result for tgamma overflow.
13691         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13692         (gamma_coeff): New variable.
13693         (NCOEFF): New macro.
13694         (gamma_positive): New function.
13695         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13696         underflow here.  Use gamma_positive instead of exp (lgamma) for
13697         other arguments.
13698         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13699         (gamma_coeff): New variable.
13700         (NCOEFF): New macro.
13701         (gammaf_positive): New function.
13702         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13703         underflow here.  Use gamma_positive instead of exp (lgamma) for
13704         other arguments.
13705         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13706         (gamma_coeff): New variable.
13707         (NCOEFF): New macro.
13708         (gammal_positive): New function.
13709         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13710         underflow here.  Use gamma_positive instead of exp (lgamma) for
13711         other arguments.
13712         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13713         (gamma_coeff): New variable.
13714         (NCOEFF): New macro.
13715         (gammal_positive): New function.
13716         (__ieee754_gammal_r): Handle positive infinity, overflow and
13717         underflow here.  Handle NaN the same as positive infinity.  Remove
13718         check x < 0xffffffff for negative integers.  Use gamma_positive
13719         instead of exp (lgamma) for other arguments.
13720         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13721         (gamma_coeff): New variable.
13722         (NCOEFF): New macro.
13723         (gammal_positive): New function.
13724         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13725         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13726         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13727         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13728         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13729         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13730         * sysdeps/generic/math_private.h (__gamma_productf): New
13731         prototype.
13732         (__gamma_product): Likewise.
13733         (__gamma_productl): Likewise.
13734         * math/Makefile (libm-calls): Add gamma_product.
13735         * math/libm-test.inc (tgamma_test): Add more tests.
13736         * sysdeps/i386/fpu/libm-test-ulps: Update.
13737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13739 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
13741         * benchtests/bench-skeleton.c (main): Preheat CPU.
13743 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
13745         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13747 2013-05-07  Roland McGrath  <roland@hack.frob.com>
13749         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13750         and _dl_skip_args_internal.
13752 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
13754         * manual/message.texi (Message Translation): Talk about users.
13755         Message to key mapping impacts design.
13757 2013-05-06  Roland McGrath  <roland@hack.frob.com>
13759         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13761         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13763         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13764         * sysdeps/wordsize-64/glob64.c: ... here.
13766         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13767         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13768         New macros.
13770         * debug/getlogin_r_chk.c: Moved to ...
13771         * login/getlogin_r_chk.c: ... here.
13772         * debug/Makefile (routines): Move getlogin_r_chk to ...
13773         * login/Makefile (routines): ... here.
13774         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13775         * login/Versions (libc: GLIBC_2.4): ... here.
13777         * io/poll.c (__poll): Renamed from poll.
13778         Add libc_hidden_def.
13779         (poll): Define as weak alias.
13781         * debug/ptsname_r_chk.c: Moved to ...
13782         * login/ptsname_r_chk.c: ... here.
13783         * debug/Makefile (routines): Move ptsname_r_chk to ...
13784         * login/Makefile (routines): ... here.
13785         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13786         * login/Versions (libc: GLIBC_2.4): ... here.
13788         * posix/getlogin.c: Moved to ...
13789         * login/getlogin.c: ... here.
13790         * posix/getlogin_r.c: Moved to ...
13791         * login/getlogin_r.c: ... here.
13792         * posix/getlogin_r.c: Moved to ...
13793         * login/getlogin_r.c: ... here.
13794         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13795         * login/Makefile (routines): ... here.
13796         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13797         * login/Versions (libc: GLIBC_2.0): ... here.
13799         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13800         (setrlimit): Define as weak alias.
13802         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13803         Call __ names for open, ftruncate, and close.
13804         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13805         (truncate): Define as weak alias.
13807 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
13809         * math/gen-libm-test.pl (parse_args): Initialize x before each
13810         test of frexp, modf and remquo.
13812         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13813         test signgam value.
13815 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13817         [BZ #15418]
13818         [BZ #15419]
13819         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13820         internal tests.
13821         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13823 2013-05-06  Roland McGrath  <roland@hack.frob.com>
13825         * elf/dl-writev.h: New file.
13826         * elf/dl-misc.c: Include it.
13827         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13828         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13830 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
13832         * math/libm-test.inc (noXFails): Remove variable.
13833         (noXPasses): Likewise.
13834         (BUILD_COMPLEX_INT): Remove macro.
13835         (print_screen): Remove xfail argument.
13836         (print_screen_max_error): Likewise.
13837         (update_stats): Likewise.
13838         (print_max_error): Likewise.  Update calls to other affected
13839         functions.
13840         (print_complex_max_error): Likewise.
13841         (test_single_exception): Update calls to print_screen.
13842         (test_single_errno): Likewise.
13843         (check_float_internal): Remove xfail argument.  Update calls to
13844         other affected functions.
13845         (check_float): Likewise.
13846         (check_complex): Likewise.
13847         (check_int): Likewise.
13848         (check_long): Likewise.
13849         (check_bool): Likewise.
13850         (check_longlong): Likewise.
13851         (main): Don't print noXFails and noXPasses.
13852         * math/gen-libm-test.pl (top level): Don't mention expected
13853         failure handling in comment.
13854         (new_test): Don't handle expected failures.
13855         (parse_args): Don't mention expected failure handling in comment.
13856         (generate_testfile): Don't handle expected failures.
13857         (parse_ulps): Likewise.
13858         (print_ulps_file): Likewise.
13859         (get_failure): Remove function.
13860         (output_test): Don't handle expected failures.
13861         * make/README.libm-test: Don't mention expected failure handling.
13863         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
13864         (minus_zero): Likewise.
13865         (plus_infty): Likewise.
13866         (minus_infty): Likewise.
13867         (qnan_value): Likewise.
13868         (max_value): Likewise.
13869         (min_value): Likewise.
13870         (min_subnorm_value): Likewise.
13871         (initialize): Do not initialize those variables dynamically.
13873 2013-05-03  Roland McGrath  <roland@hack.frob.com>
13875         * io/open.c (__open_2): Moved to ...
13876         * io/open_2.c: ... this new file.
13877         * io/open64.c (__open64_2): Moved to ...
13878         * io/open64_2.c: ... this new file.
13879         * io/openat.c (__openat_2): Moved to ...
13880         * io/openat_2.c: ... this new file.
13881         * io/openat64.c (__openat64_2): Moved to ...
13882         * io/openat64_2.c: ... this new file.
13883         * io/Makefile (routines): Add them.
13884         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13885         * sysdeps/unix/sysv/linux/open_2.c: File removed.
13886         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13887         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13888         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13889         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13890         (__openat64): Add hidden_ver.
13891         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13892         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13894         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13895         Separately conditionalize setting of GLRO(dl_sysinfo) so
13896         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13897         as well, but the actual setting is only under [NEED_DL_SYSINFO].
13899 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13901         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13902         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13903         definition.
13904         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13905         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13906         (_libc_vdso_platform_setup): Add __vdso_time initialization.
13907         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13908         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13910 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
13912         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13913         test signgam value.
13915         * math/libm-test.inc (hypot_test): Do not use
13916         IGNORE_ZERO_INF_SIGN.
13918 2013-05-03  Andreas Jaeger  <aj@suse.de>
13920         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13921         Linux 3.9.
13922         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13923         (PF_MAX): Adjust for VSOCK change.
13925 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13929 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
13931         [BZ #15264]
13932         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13933         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13934         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13936 2013-05-02  David S. Miller  <davem@davemloft.net>
13938         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13940 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
13942         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13944 2013-05-01  Roland McGrath  <roland@hack.frob.com>
13946         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13948 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
13950         [BZ #14952]
13951         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13952         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13953         Use __attribute__ ((__gnu_inline__)).
13954         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13955         Don't use __attribute__ ((__gnu_inline__)).
13957 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
13959         [BZ #15423]
13960         * math/s_catan.c (__catan): Handle small real or imaginary part of
13961         input specially to avoid spurious underflow.
13962         * math/s_catanf.c (__catanf): Likewise.
13963         * math/s_catanh.c (__catanh): Likewise.
13964         * math/s_catanhf.c (__catanhf): Likewise.
13965         * math/s_catanhl.c (__catanhl): Likewise.
13966         * math/s_catanl.c (__catanl): Likewise.
13967         * math/libm-test.inc (catan_test): Add more tests.
13968         (catanh_test): Likewise.
13969         * sysdeps/i386/fpu/libm-test-ulps: Update.
13970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13972 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13976 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
13978         [BZ #15416]
13979         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13980         accurately for denominator in atan2.
13981         * math/s_catanf.c (__catanf): Likewise.
13982         * math/s_catanh.c (__catanh): Likewise.
13983         * math/s_catanhf.c (__catanhf): Likewise.
13984         * math/s_catanhl.c (__catanhl): Likewise.
13985         * math/s_catanl.c (__catanl): Likewise.
13986         * math/libm-test.inc (catan_test): Add more tests.
13987         (catanh_test): Likewise.
13988         * sysdeps/i386/fpu/libm-test-ulps: Update.
13989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13991 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13993         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13995         * benchtests/Makefile (bench): Remove slow benchmarks.
13996         * benchtests/atan-inputs: Add slow benchmark inputs.
13997         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13998         (BENCH_FUNC): Accept variant offset.
13999         (VARIANT): Define.
14000         * benchtests/bench-skeleton.c (main): Run benchmark for each
14001         variant.
14002         * benchtests/cos-inputs: Add slow benchmark inputs.
14003         * benchtests/exp-inputs: Likewise.
14004         * benchtests/pow-inputs: Likewise.
14005         * benchtests/sin-inputs: Likewise.
14006         * benchtests/slowatan-inputs: Remove.
14007         * benchtests/slowatan.c: Remove.
14008         * benchtests/slowcos-inputs: Remove.
14009         * benchtests/slowcos.c: Remove.
14010         * benchtests/slowexp-inputs: Remove.
14011         * benchtests/slowexp.c: Remove.
14012         * benchtests/slowpow-inputs: Remove.
14013         * benchtests/slowpow.c: Remove.
14014         * benchtests/slowsin-inputs: Remove.
14015         * benchtests/slowsin.c: Remove.
14016         * benchtests/slowtan-inputs: Remove.
14017         * benchtests/slowtan.c: Remove.
14018         * benchtests/tan-inputs: Add slow benchmark inputs.
14019         * scripts/bench.pl: Parse comments and directives.
14021         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
14022         in CPPFLAGS.
14023         ($(objpfx)bench-%.c): Remove *-ITER.
14024         * benchtests/bench-modf.c: Remove definition of ITER.
14025         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14026         (main): Loop for DURATION seconds instead of fixed number of
14027         iterations.
14028         * scripts/bench.pl: Don't expect iterations in parameters.
14030 2013-04-29  Roland McGrath  <roland@hack.frob.com>
14032         * io/fchdir.c (__fchdir): Renamed from fchdir.
14033         (fchdir): Define as weak alias.
14035 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14037         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14038         (ERRNO_EDOM): Likewise.
14039         (ERRNO_ERANGE): Likewise.
14040         (noErrnoTests): New variable.
14041         (init_max_error): Set errno to 0.
14042         (test_single_errno): New function.
14043         (test_errno): Likewise.
14044         (check_float_internal): Call test_errno.  Set errno to 0.
14045         (check_complex): Refer to errno tests in comment.
14046         (check_int): Call test_errno.  Set errno to 0.
14047         (check_long): Likewise.
14048         (check_bool): Likewise.
14049         (check_longlong): Likewise.
14050         (cos_test): Use ERRNO_* flags for errno tests instead of
14051         check_int.
14052         (expm1_test): Likewise.
14053         (fmod_test): Likewise.
14054         (ilogb_test): Likewise.
14055         (lgamma_test): Likewise.
14056         (pow_test): Likewise.
14057         (remainder_test): Likewise.
14058         (sin_test): Likewise.
14059         (tan_test): Likewise.
14060         (yn_test): Likewise.
14061         (initialize): Set errno to 0.
14062         (main): Print number of errno tests.
14063         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14065 2013-04-29  Andreas Jaeger  <aj@suse.de>
14067         [BZ #15084]
14068         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14069         and RES_USEVC.
14071         [BZ #15085]
14072         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14073         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14074         unimplemented.
14076         [BZ #15380]
14077         * stdlib/random.c (__initstate): Return NULL if
14078         __initstate fails.
14080         [BZ #15086]
14081         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14082         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14083         RES_SNGLKUPREOP.
14085 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14089 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
14091         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14092         of individual tests.
14093         (casin_test): Likewise.
14094         (casinh_test): Likewise.
14096 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
14098         [BZ #15409]
14099         * math/s_catan.c (__catan): Handle arguments with large real or
14100         imaginary part separately without squaring.
14101         * math/s_catanf.c (__catanf): Likewise.
14102         * math/s_catanh.c (__catanh): Likewise.
14103         * math/s_catanhf.c (__catanhf): Likewise.
14104         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14105         and redefine.
14106         (__catanhl): Handle arguments with large real or imaginary part
14107         separately without squaring.
14108         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14109         and redefine.
14110         (__catanl): Handle arguments with large real or imaginary part
14111         separately without squaring.
14112         * math/libm-test.inc (catan_test): Add more tests.
14113         (catanh_test): Likewise.
14114         * sysdeps/i386/fpu/libm-test-ulps: Update.
14115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14117 2013-04-27  Andreas Jaeger  <aj@suse.de>
14119         [BZ #15007]
14120         * stdlib/stdlib.h: Update guards for qecvt.
14121         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14122         <stdlib.h>.
14124 2013-04-27  Allan McRae  <allan@archlinux.org>
14126         * sysdeps/i386/fpu/libm-test-ulps: Update.
14128 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
14130         [BZ #15406]
14131         * math/s_catan.c: Include <float.h>.
14132         (__catan): Ensure underflow exception occurs for underflowed
14133         result.
14134         * math/s_catanf.c: Include <float.h>.
14135         (__catanf): Ensure underflow exception occurs for underflowed
14136         result.
14137         * math/s_catanh.c: Include <float.h>.
14138         (__catanh): Ensure underflow exception occurs for underflowed
14139         result.
14140         * math/s_catanhf.c: Include <float.h>.
14141         (__catanhf): Ensure underflow exception occurs for underflowed
14142         result.
14143         * math/s_catanhl.c: Include <float.h>.
14144         (__catanhl): Ensure underflow exception occurs for underflowed
14145         result.
14146         * math/s_catanl.c: Include <float.h>.
14147         (__catanl): Ensure underflow exception occurs for underflowed
14148         result.
14149         * math/libm-test.inc (catan_test): Add more tests.
14150         (catanh_test): Likewise.
14152         [BZ #15405]
14153         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14154         underflowed result.
14155         * math/s_ccoshf.c (__ccoshf): Likewise.
14156         * math/s_ccoshl.c (__ccoshl): Likewise.
14157         * math/s_csin.c (__csin): Likewise.
14158         * math/s_csinf.c (__csinf): Likewise.
14159         * math/s_csinh.c (__csinh): Likewise.
14160         * math/s_csinhf.c (__csinhf): Likewise.
14161         * math/s_csinhl.c (__csinhl): Likewise.
14162         * math/s_csinl.c (__csinl): Likewise.
14163         * math/libm-test.inc (ccos_test): Add more tests.
14164         (ccosh_test): Likewise.
14165         (csin_test): Likewise.
14166         (csinh_test): Likewise.
14168 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14170         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14171         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14172         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14173         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14174         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14175         powerpc/power5+/fpu folders.
14176         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14179 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14181         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14183 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
14185         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14186         additions to variable.
14187         [$(config-machine) = x86_64] (modules-names): Likewise.
14188         ($(objpfx)tst-audit3): Remove dependency.
14189         ($(objpfx)tst-audit3.out): Likewise.
14190         ($(objpfx)tst-audit4): Likewise.
14191         ($(objpfx)tst-audit4.out): Likewise.
14192         ($(objpfx)tst-audit5): Likewise.
14193         ($(objpfx)tst-audit5.out): Likewise.
14194         ($(objpfx)tst-audit6): Likewise.
14195         ($(objpfx)tst-audit6.out): Likewise.
14196         ($(objpfx)tst-audit7): Likewise.
14197         ($(objpfx)tst-audit7.out): Likewise.
14198         (tst-audit3-ENV): Remove variable.
14199         (tst-audit4-ENV): Likewise.
14200         (tst-audit5-ENV): Likewise.
14201         (tst-audit6-ENV): Likewise.
14202         (tst-audit7-ENV): Likewise.
14203         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14204         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14205         addition to variable.
14206         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14207         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14208         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14209         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14210         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14211         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14212         tst-audit3, tst-audit4 and tst-audit5.
14213         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14214         tst-audit6 and tst-audit7.
14215         [$(subdir) = elf] (modules-names): Add audit modules for those
14216         tests.
14217         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14218         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14219         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14220         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14221         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14222         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14223         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14224         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14225         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14226         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14227         [$(subdir) = elf] (tst-audit3-ENV): New variable.
14228         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14229         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14230         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14231         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14232         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14233         Likewise.
14234         [$(subdir) = elf && $(config-cflags-avx) = yes]
14235         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14236         [$(subdir) = elf && $(config-cflags-avx) = yes]
14237         (CFLAGS-tst-auditmod4a.c): Likewise.
14238         [$(subdir) = elf && $(config-cflags-avx) = yes]
14239         (CFLAGS-tst-auditmod4b.c): Likewise.
14240         [$(subdir) = elf && $(config-cflags-avx) = yes]
14241         (CFLAGS-tst-auditmod6b.c): Likewise.
14242         [$(subdir) = elf && $(config-cflags-avx) = yes]
14243         (CFLAGS-tst-auditmod6c.c): Likewise.
14244         [$(subdir) = elf && $(config-cflags-avx) = yes]
14245         (CFLAGS-tst-auditmod7b.c): Likewise.
14246         * elf/tst-audit3.c: Move to ...
14247         * sysdeps/x86_64/tst-audit3.c: ... here.
14248         * elf/tst-audit4.c: Move to ...
14249         * sysdeps/x86_64/tst-audit4.c: ... here.
14250         * elf/tst-audit5.c: Move to ...
14251         * sysdeps/x86_64/tst-audit5.c: ... here.
14252         * elf/tst-audit6.c: Move to ...
14253         * sysdeps/x86_64/tst-audit6.c: ... here.
14254         * elf/tst-audit7.c: Move to ...
14255         * sysdeps/x86_64/tst-audit7.c: ... here.
14256         * elf/tst-auditmod3a.c: Move to ...
14257         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14258         * elf/tst-auditmod3b.c: Move to ...
14259         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14260         * elf/tst-auditmod4a.c: Move to ...
14261         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14262         * elf/tst-auditmod4b.c: Move to ...
14263         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14264         * elf/tst-auditmod5a.c: Move to ...
14265         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14266         * elf/tst-auditmod5b.c: Move to ...
14267         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14268         * elf/tst-auditmod6a.c: Move to ...
14269         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14270         * elf/tst-auditmod6b.c: Move to ...
14271         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14272         * elf/tst-auditmod6c.c: Move to ...
14273         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14274         * elf/tst-auditmod7a.c: Move to ...
14275         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14276         * elf/tst-auditmod7b.c: Move to ...
14277         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14279 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
14281         [BZ #15366]
14282         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14283         define unconditionally.
14284         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14285         define unconditionally.
14286         (INT8_C, INT16_C, etc.): Likewise.
14288 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
14290         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14291         __ehdr_start with hidden visibility.
14293         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14295 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
14297         * math/libm-test.inc (cos_test): Use accurate hex constants.
14298         (sincost_test): Likewise.
14300 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
14302         * math/libm-test.inc (catan_test): Add more tests.
14303         (catanh_test): Likewise.
14305         * math/s_catanf.c (__catanf): Use suffixed floating-point
14306         constants.
14307         * math/s_catanhf.c (__catanhf): Likewise.
14308         * math/s_catanhl.c (__catanhl): Likewise.
14309         * math/s_catanl.c (__catanl): Likewise.
14311         [BZ #15394]
14312         * math/s_catan.c (__catan): Calculate imaginary part of result
14313         with log1p not log unless computing log of number close to 0.
14314         * math/s_catanf.c (__catanf): Likewise.
14315         * math/s_catanl.c (__catanl): Likewise.
14316         * math/s_catanh.c (__catanh): Calculate real part of result with
14317         log1p not log unless computing log of number close to 0.
14318         * math/s_catanhf.c (__catanhf): Likewise.
14319         * math/s_catanhl.c (__catanhl): Likewise.
14320         * math/libm-test.inc (catan_test): Add more tests.
14321         (catanh_test): Likewise.
14322         * sysdeps/i386/fpu/libm-test-ulps: Update.
14323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14325 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14327         * benchtests/Makefile: Mention files in which fast and slow
14328         paths of math functions are implemented.
14330 2013-04-23  Roland McGrath  <roland@hack.frob.com>
14332         * sysdeps/posix/timespec_get.c: New file.
14334 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14336         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14337         POWER.
14338         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14339         for POWER.
14340         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14341         powerpc/power5/fpu folders.
14342         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14343         * benchtests/Makefile: Add modf testcase.
14344         * benchtests/bench-modf.c: New file: Benchmark test for mo
14346 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14348         [BZ #14888]
14349         * time/Makefile (tests): Add tst-strptime-whitespace.
14350         * time/strptime_l.c (get_number): Use ISSPACE.
14351         (__strptime_internal): Likewise.
14352         * time/tst-strptime-whitespace.c: New test case.
14354 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
14356         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14357         member.
14358         (_nss_files_init): Set it here.
14360 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
14362         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14363         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14364         unsigned.
14366 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
14368         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14370 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14372         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14373         size just once.
14375 2013-04-21  David S. Miller  <davem@davemloft.net>
14377         * po/ru.po: Update Russion translation from translation project.
14379 2013-04-17  Adam Conrad  <adconrad@0c3.net>
14381         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14382         and setfsgid.
14384 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
14386         * configure.in: Remove i386 configure warning. Remove i386 case.
14387         * configure: Regenerate.
14388         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14389         Add example to error message.
14390         * sysdeps/i386/configure: Regenerate.
14392 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14394         * benchtests/Makefile (bench): Add cos, tan, slowcos and
14395         slowtan.
14396         * benchtests/cos-inputs: New file.
14397         * benchtests/slowcos-inputs: New file.
14398         * benchtests/slowcos.c: New file.
14399         * benchtests/slowtan-inputs: New file.
14400         * benchtests/slowtan.c: New file.
14401         * benchtests/tan-inputs: New file.
14403 2013-04-16  Roland McGrath  <roland@hack.frob.com>
14405         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14406         considered kosher.
14408 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14410         * benchtests/Makefile: Include cppflags-iterator.mk to add
14411         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14413         * Makefile.in (bench-clean): New target.
14414         * benchtests/Makefile (bench-clean): Likewise.
14416 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
14418         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14420 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
14422         * stdio-common/tstdiomisc.c: Fix coding-style violation.
14424 2013-04-15  Andreas Schwab  <schwab@suse.de>
14426         * nscd/grpcache.c (cache_addgr): Properly check for short write.
14427         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14428         * nscd/pwdcache.c (cache_addpw): Likewise.
14429         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
14430         more than recsize.
14432 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14434         * benchtests/Makefile (bench): Write all output to
14435         bench-out.tmp together.
14437 2013-04-15  Andreas Schwab  <schwab@suse.de>
14439         * nscd/nscd.c (main): Don't fork again after closing files.
14441 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14443         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14445         * benchtests/Rules (bench-deps): Collect dependencies into a
14446         single variable.  Add Makefile to dependencies.
14447         ($(objpfx)bench-%.c): Depend on bench-deps.
14449 2013-04-12  Roland McGrath  <roland@hack.frob.com>
14450             Xavier Roche  <roche+kml2@exalead.com>
14452         [BZ #15361]
14453         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14454         just that it's a file descriptor.
14455         * manual/llio.texi (Synchronizing AIO Operations): Update description
14456         for EBADF error from aio_fsync.
14458 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14460         * Rules (bench): Move target definition...
14461         * benchtests/Makefile: ... here.
14463 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
14465         * math/libm-test.inc (cos_test): Fix PI/2 test.
14466         (sincos_test): Likewise.
14467         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14468         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14470 2013-04-11  Andreas Schwab  <schwab@suse.de>
14472         [BZ #13988]
14473         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14474         accept exponent character only when digits were seen.
14475         * stdio-common/Makefile (tests): Add bug26.
14476         * stdio-common/bug26.c: New file.
14478         [BZ #14293]
14479         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14480         non-freeable.
14482 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14484         * Makeconfig (rtld-prefix): Define built linker prefix.
14485         * Rules (run-bench): Use it.
14486         * math/Makefile (run-regen-ulps): Likewise.
14488         * Rules (bench): Remove eval.
14490 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14491             Roland McGrath  <roland@hack.frob.com>
14492             Ondrej Bilka  <neleai@seznam.cz>
14494         [BZ #15346]
14495         * time/getdate.c: Include ctype.h and alloca.h.
14496         (__getdate_r): Trim leading and trailing spaces of input.
14497         * time/tst-getdate.c (tests): Add tests with leading and
14498         trailing spaces.
14500 2013-04-08  Roland McGrath  <roland@hack.frob.com>
14502         [BZ #14280]
14503         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14504         when computing value.
14506 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14508         * math/README.libm-test (How can I generate "libm-test-ulps"?):
14509         Use testrun.sh to run libm tests.
14511         [BZ #15309]
14512         * elf/dl-open.c (dl_open_worker): memset all of seen array.
14514 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
14516         [BZ #15264]
14517         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14519 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14521         * Makefile.in (regen-ulps): New target.
14522         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14523         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14524         [ifneq (no,$(PERL)] (regen-ulps): New target.
14525         [ifeq (no,$(PERL)] (regen-ulps): New target.
14526         * math/libm-test.inc (ulps_file_name): Define.
14527         (output_dir): New variable.
14528         (options): Add "output-dir" option.
14529         (parse_opt): Handle 'o' case.
14530         (main): If output_dir is non-NULL use it as a prefix
14531         otherwise use "".
14532         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14534 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14536         [BZ #10060, #10062]
14537         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14538         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14539         fail configure if __sync_val_compare_and_swap is not inlined.
14540         * sysdeps/i386/configure: Regenerate.
14541         * configure.in: Build for i686 when configured for i386.
14542         * configure: Regenerate.
14543         * README: Remove i386 reference.
14545 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14547         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14548         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14550 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
14552         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14553         (lmsnanval): New variables.
14554         (F): Add conversion tests.
14555         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14556         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14558         * stdio-common/tstdiomisc.c (F): Properly collect individual
14559         tests' results.
14561         [BZ #14686, #15336]
14562         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14563         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14564         Instead, use input NaN values or generate a qNaN by arithmetic
14565         operation.  Also fix bugs to comply with the standard.
14566         * math/libm-test.inc (remainder_test): Add more tests.
14568         [BZ #15335, #15342]
14569         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14571         input NaN values or generate a qNaN by arithmetic operation.
14573         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14574         unreachable code.
14576         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14577         definitions.
14579 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
14581         [BZ #14478]
14582         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14583         underflowed result.
14584         * math/s_cexpf.c (__cexpf): Likewise.
14585         * math/s_cexpl.c (__cexpl): Likewise.
14586         * math/libm-test.inc (cexp_test): Add more tests.
14588 2013-04-03  Andreas Schwab  <schwab@suse.de>
14590         [BZ #15330]
14591         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14592         order arrays from heap if bigger than alloca cutoff.
14594 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
14596         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14597         (SNAN_TESTS_double): Refer to GCC PR56831.
14598         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14599         GCC PR56828.
14601 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14603         * Rules (bench): Move bench.out after the run is complete.
14605         * Rules (bench): Echo currently running benchmark.
14607         * benchtests/Makefile (bench): Add atan and slowatan.
14608         * benchtests/atan-inputs: New file.
14609         * benchtests/slowatan-inputs: New file.
14610         * benchtests/slowatan.c: New file.
14612         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14613         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14614         its value.
14616         [BZ #15305]
14617         * sysdeps/unix/sysv/linux/kernel-features.h
14618         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14619         __ASSUME_XFS_RESTRICTED_CHOWN.
14620         * sysdeps/unix/sysv/linux/pathconf.c
14621         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14622         Save and restore errno.
14624 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
14626         [BZ #15327]
14627         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14628         arguments using __kernel_casinh.
14629         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14630         arguments using __kernel_casinhf.
14631         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14632         arguments using __kernel_casinhl.
14633         * math/libm-test.inc (cacosh_test): Add more tests.
14634         * sysdeps/i386/fpu/libm-test-ulps: Update.
14635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14637 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14639         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14640         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14642         * bench/Makefile (bench): Add sin and slowsin.
14643         * benchtests/sin-inputs: New file.
14644         * benchtests/slowsin-inputs: New file.
14645         * benchtests/slowsin.c: New file.
14647         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14648         (bench): Add slowexp and slowpow.
14649         (exp-ITER): Increase iterations.
14650         (pow-ITER): Likewise.
14651         * benchtests/exp-inputs: Change input.
14652         * benchtests/pow-inputs: Likewise.
14653         * benchtests/slowexp-inputs: New file.
14654         * benchtests/slowexp.c: New file.
14655         * benchtests/slowpow-inputs: New file.
14656         * benchtests/slowpow.c: New file.
14658 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14660         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14661         instructions.
14662         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14663         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14664         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14665         * benchtests/Makefile: Add rint benchtest.
14666         * benchtests/rint-inputs: Input for rint benchtest.
14668 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
14670         * Versions.def (libm): Add GLIBC_2.18.
14671         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14672         hidden libm prototypes.
14673         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14674         * math/Makefile (libm-calls): Add s_issignaling.
14675         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14676         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
14677         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14678         declaration.
14679         * math/math.h [__USE_GNU] (issignaling): New macro.
14680         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14681         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14682         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14683         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14684         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14685         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14686         * manual/arith.texi (issignaling): New section.
14687         * manual/libm-err-tab.pl (@all_functions): Update comment.
14688         * math/gen-libm-test.pl (parse_args): Apply special handling for
14689         issignaling.
14690         * math/libm-test.inc (print_float, issignaling_test): New
14691         functions.
14692         (check_float_internal): Add issignaling checks.
14693         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14694         default definition.
14695         * sysdeps/powerpc/math-tests.h: New file.
14696         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14697         tests.
14698         * math/test-snan.c (TEST_FUNC): Likewise.
14700 2013-03-30  David S. Miller  <davem@davemloft.net>
14702         * po/de.po: Update from translation team.
14704 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
14706         [BZ #10357]
14707         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14708         imaginary part less than 1.0 and real part less than 0.5
14709         specially.
14710         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14711         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14712         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14713         (cacos_test): Add more tests.
14714         (casin_test): Likewise.
14715         (casinh_test): Likewise.
14716         * sysdeps/i386/fpu/libm-test-ulps: Update.
14717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14719 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14721         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14722         ONE with its value.
14724         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14725         (__pow_mp): Replace ONE and MONE with their values.
14726         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14727         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14728         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14729         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14730         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14731         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14733         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14735         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14736         (__pow_mp): Replace ZERO and MZERO with their values.
14737         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14738         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14739         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14740         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14741         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14742         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14743         (__sqr): Likewise.
14745         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14747         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14749 2013-03-28  Roland McGrath  <roland@hack.frob.com>
14751         * include/stdlib.h [!SHARED] (__call_tls_dtors):
14752         Declare with __attribute__ ((weak)).
14753         * stdlib/exit.c (__libc_atexit) [!SHARED]:
14754         Call __call_tls_dtors only if it's not NULL.
14756 2013-03-28  Roland McGrath  <roland@hack.frob.com>
14758         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14759         didn't do it already, then set _dl_phdr and _dl_phnum based on the
14760         magic __ehdr_start linker symbol if it's defined.
14761         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14762         them up here if it was already done.
14764         * elf/dl-support.c (_dl_phdr): Make pointer to const.
14765         (_dl_aux_init): Use const in cast when setting it.
14766         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14767         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14768         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14770         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14771         Declare them here.
14772         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14773         * csu/libc-tls.c: Nor here.
14774         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14776         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14777         (__libc_message): Never call vsyslog.
14779 2013-03-28  Alan Modra  <amodra@gmail.com>
14781         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14782         Define as empty.
14783         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14784         Likewise.
14786 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14788         [BZ #15214]
14789         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14790         underflow.
14791         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14793 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14795         [BZ #15304]
14796         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14797         Don't add gid passed as argument.
14799         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14801 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
14803         [BZ #15307]
14804         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14805         imaginary part between 1.0 and 1.5 and real part less than 0.5
14806         specially.
14807         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14808         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14809         * math/libm-test.inc (cacos_test): Add more tests.
14810         (casin_test): Likewise.
14811         (casinh_test): Likewise.
14812         * sysdeps/i386/fpu/libm-test-ulps: Update.
14813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14815 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14817         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14818         constants.
14819         (norm): Likewise.
14820         (denorm): Likewise.
14821         (__dbl_mp): Likewise.
14822         (add_magnitudes): Likewise.
14823         (sub_magnitudes): Likewise.
14824         (__add): Likewise.
14825         (__sub): Likewise.
14826         (__mul): Likewise.
14827         (__sqr): Likewise.
14828         (__inv): Likewise.
14829         (__dvd): Likewise.
14831         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14832         commented code.
14833         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14834         (__dubcos): Likewise.
14835         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14836         (__ieee754_acos): Likewise.
14837         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14838         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14839         (__exp1): Likewise.
14840         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14841         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14842         (log1): Likewise.
14843         (my_log2): Likewise.
14844         (checkint): Likewise.
14845         * sysdeps/ieee754/dbl-64/e_remainder.c
14846         (__ieee754_remainder): Likewise.
14847         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14848         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14849         (bsloww): Likewise.
14850         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14852         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14853         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14854         MANTISSA_STORE_T to store computations on mantissa.  Use
14855         macros for rounding and division.
14856         (denorm): Likewise.
14857         (__dbl_mp): Likewise.
14858         (add_magnitudes): Likewise.
14859         (sub_magnitudes): Likewise.
14860         (__mul): Likewise.
14861         (__sqr): Likewise.
14862         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
14863         powers of two in terms of TWOPOW macro.
14864         (mp_no): Make type of mantissa as MANTISSA_T.
14865         [!RADIXI]: Define RADIXI.
14866         [!TWO52]: Define TWO52.
14867         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14869 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14871         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14872         llroundl symbol when building for PPC32.
14874 2013-03-24  Mark H Weaver  <mhw@netris.org>
14876         * manual/arith.texi (Normalization Functions): Fix prototypes for
14877         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14879 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14881         [BZ #13889]
14882         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14883         high value to check if expl overflow.
14884         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14885         to check for underflow and overflow.
14886         * math/libm-test.inc: Add exp test.
14888 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
14890         [BZ #11120]
14891         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14892         with NOT_IN_libc.
14894 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14896         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14897         symbol.
14899 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
14901         * math/gen-libm-test.pl (parse_args, special_functions): Properly
14902         wrap blocks consisting of several statements.
14904         * sysdeps/generic/math-tests.h: New file.
14905         * sysdeps/i386/fpu/math-tests.h: Likewise.
14906         * math/test-snan.c: Include it.
14907         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14909 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14911         [BZ #15285]
14912         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14913         (__ieee754_j0l): Do not improve calculations using cos of twice
14914         input for inputs above LDBL_MAX / 2.0L.
14915         (__ieee754_y0l): Likewise.
14916         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14917         (__ieee754_j1l): Do not improve calculations using cos of twice
14918         input for inputs above LDBL_MAX / 2.0L.
14919         (__ieee754_y1l): Likewise.
14920         * math/libm-test.inc (j0_test): Add another test.
14921         (j1_test): Likewise.
14922         (y0_test): Likewise.
14923         (y1_test): Likewise.
14924         * sysdeps/i386/fpu/libm-test-ulps: Update.
14926 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14928         * Rules ($(objpfx)bench-%.c): Include code from a C source
14929         file.
14931 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14933         [BZ #15287]
14934         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14935         imaginary part 1.0 and real part less than 0.5 specially.
14936         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14937         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14938         * math/libm-test.inc (cacos_test): Add more tests.
14939         (casin_test): Likewise.
14940         (casinh_test): Likewise.
14941         * sysdeps/i386/fpu/libm-test-ulps: Update.
14942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14944 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14946         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14947         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14949 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
14951         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14952         * config.make.in (config-cflags-sse4): Remove variable.
14953         (config-cflags-avx): Likewise.
14954         (config-cflags-sse2avx): Likewise.
14955         (config-cflags-novzeroupper): Likewise.
14956         (config-asflags-i686): Likewise.
14957         (have-mfma4): Likewise.
14958         (have-as-vis3): Likewise.
14959         (MIG): Likewise.
14960         * configure.in (MIG): Do not AC_SUBST.
14961         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14962         (libc_cv_cc_sse4): Do not AC_SUBST.
14963         (libc_cv_cc_avx): Likewise.
14964         (libc_cv_cc_sse2avx): Likewise.
14965         (libc_cv_cc_novzeroupper): Likewise.
14966         (libc_cv_cc_fma4): Likewise.
14967         (libc_cv_as_i686): Likewise.
14968         (libc_cv_sparc_as_vis3): Likewise.
14969         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14970         LIBC_CONFIG_VAR.
14971         (config-asflags-i686): Likewise.
14972         (config-cflags-avx): Likewise.
14973         (config-cflags-sse2avx): Likewise.
14974         (have-mfma4): Likewise.
14975         (config-cflags-novzeroupper): Likewise.
14976         * sysdeps/mach/configure.in (MIG): Likewise.
14977         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14978         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14979         LIBC_CONFIG_VAR.
14980         (config-cflags-avx): Likewise.
14981         (config-cflags-sse2avx): Likewise.
14982         (have-mfma4): Likewise.
14983         (config-cflags-novzeroupper): Likewise.
14984         * configure: Regenerated.
14985         * sysdeps/i386/configure: Likewise.
14986         * sysdeps/mach/configure: Likewise.
14987         * sysdeps/sparc/configure: Likewise.
14988         * sysdeps/x86_64/configure: Likewise.
14990 2013-03-20  Roland McGrath  <roland@hack.frob.com>
14992         [BZ #14812]
14993         * locale/programs/localedef.c (options): Put N_ translation marker
14994         on argument names, not just descriptions.
14996 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14998         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15000 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
15002         [BZ #14176]
15003         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15005 2013-03-19  Roland McGrath  <roland@hack.frob.com>
15007         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15008         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15009         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15010         [!BEFORE_ABORT] (before_abort): New function.
15011         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15012         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15013         (writev_for_fatal): New function.
15014         (WRITEV_FOR_FATAL): New macro; call that.
15015         (backtrace_and_maps): New function.
15016         (BEFORE_ABORT): New macro; call that.
15017         (struct str_list): Type removed.
15018         (__libc_message, __libc_fatal): Functions removed.
15019         Include <sysdeps/posix/libc_fatal.c> instead.
15021 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
15023         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15024         constants.
15025         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15026         double constants.
15028 2013-03-19  Andreas Schwab  <schwab@suse.de>
15030         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15031         * sysdeps/gnu/configure: Regenerate.
15033         * configure.in: Substitute libc_cv_rtlddir.
15034         * configure: Regenerate.
15035         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15036         * Makeconfig (rtlddir, inst_rtlddir): New variables.
15037         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15038         * elf/Makefile (install-others, CFLAGS-interp.c)
15039         (ldso_install, common-ldd-rewrite): Likewise.
15040         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15041         $(inst_slibdir)/$(rtld-installed-name).
15042         * scripts/rellns-sh: Add -p option.
15043         * Makerules (make-shlib-link): Use rellns-sh to get relative name
15044         for source.
15046 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15048         * manual/nptl.texi: Renamed to ...
15049         * manual/threads.texi: ... this.
15050         * manual/Makefile (chapters): Update.
15052 2013-03-18  Roland McGrath  <roland@hack.frob.com>
15054         [BZ #14812]
15055         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15056         on argument names, not just descriptions.
15057         * malloc/memusagestat.c (options): Likewise.
15058         * nss/getent.c (options): Likewise.
15060 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
15062         [BZ #14812]
15063         * iconv/iconv_prog.c (options): Put N_ translation marker
15064         on argument names, not just descriptions.
15065         * iconv/iconvconfig.c (options): Likewise.
15067 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
15069         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15070         implementation which is faster on all x86_64 architectures.
15071         Tested on AMD, Intel Nehalem, SNB, IVB.
15072         * sysdeps/x86_64/strnlen.S: Likewise.
15074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15075         Remove all multiarch strlen and strnlen versions.
15076         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15077         Remove strlen and strnlen related parts.
15079         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15080         Inline strlen part.
15081         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15083         * sysdeps/x86_64/multiarch/strlen.S: Remove.
15084         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15085         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15086         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15087         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15088         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15090 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
15092         * manual/memory.texi (Malloc Tunable Parameters):
15093         Sort parameters alphabetically. Add comments for missing entries.
15095 2013-03-17  David S. Miller  <davem@davemloft.net>
15097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15099 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
15101         [BZ #15283]
15102         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15103         for arguments at most half maximum finite value.
15104         * math/libm-test.inc (j0_test): Add more tests.
15105         (j1_test): Likewise.
15106         (y0_test): Likewise.
15107         (y1_test): Likewise.
15108         * sysdeps/i386/fpu/libm-test-ulps: Update.
15109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15111         [BZ #14155]
15112         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15113         1 / x and functions P and Q for arguments above 0x1p256L.
15114         (__ieee754_y0l): Likewise.
15115         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15116         (__ieee754_y1l): Likewise.
15117         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15118         (j1_test): Likewise.
15119         (y0_test): Likewise.
15120         (y1_test): Likewise.
15122 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
15124         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15125         variable.
15127 2013-03-15  Roland McGrath  <roland@hack.frob.com>
15129         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15130         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15131         zero since it's initialized to EXEC_PAGESIZE.
15133         * sysdeps/unix/sysv/linux/ldsodefs.h
15134         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15135         * sysdeps/generic/ldsodefs.h: ... here.
15137 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
15139         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15141         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15142         math/test-snan.c.
15143         * math/test-snan.c: Renamed from
15144         sysdeps/powerpc/fpu/test-powerpc-snan.c.
15145         * math/Makefile (tests): Add test-snan.
15146         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15147         test-powerpc-snan.
15149         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15150         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
15151         functions.
15152         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
15153         __builtin_nan family of functions.
15154         * math/libm-test.inc (initialize): Initialize qnan_value with
15155         __builtin_nan family of functions.
15156         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15157         Remove variables.
15158         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15159         Remove functions.
15160         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
15161         storage class.  Initialize qNaN_var and sNaN_var with
15162         __builtin_nan and __builtin_nans families of functions,
15163         respectively.
15165         * math/libm-test.inc (acosh_test): Also test with qNaN input.
15166         (sqrt_test): Remove duplicate test with qNaN input.
15167         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15168         (round_test, signbit_test, significand_test): Note missing +/-Inf
15169         as well as qNaN tests.
15171         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15172         qNaN_var.  Fix a few strings, too.
15173         * math/libm-test.inc (nan_value): Rename to qnan_value.
15174         * math/gen-libm-test.pl (%beautify): Adjust to that.
15175         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15176         * math/test-misc.c (main): Likewise.
15177         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15178         to __qnan_bytes, and __qnan_union, respectively.
15179         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15180         Likewise.
15181         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15182         and lqnanval, respectively.
15183         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15184         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15185         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15186         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15188         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15189         * math/test-misc.c (main) [__x86_64__]: Enable test for long
15190         doubles.
15192         * math/test-misc.c (main): Fix copy'n'pastos.
15193         * misc/tst-efgcvt.c (special): Likewise.
15195         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15196         Remove declarations.
15198 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15200         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15201         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15202         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15203         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15205 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15207         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15208         macro to return vdso values correctly in IFUNC implementations.
15209         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15210         Optimization by using IFUNC.
15212 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15213             Richard Henderson  <rth@redhat.com>
15214             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15216         * Makefile.in (bench): New target.
15217         * NEWS: Mention the benchmark framework.
15218         * Rules (bench): Likewise.
15219         (binaries-bench): Generate binaries for functions to
15220         benchmark.
15221         * benchtests/Makefile: New makefile for benchmark tests.
15222         * benchtests/bench-skeleton.c: New skeleton file for benchmark
15223         programs.
15224         * benchtests/exp-inputs: New input file for EXP function.
15225         * benchtests/pow-inputs: New input file for POW function.
15226         * scripts/bench.pl: New script to generate source files for
15227         benchmark programs.
15229 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15231         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15232         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15233         computations on mantissa.  Use macros for rounding and
15234         division.
15235         (denorm): Likewise.
15236         (__dbl_mp): Likewise.
15237         (add_magnitudes): Likewise.
15238         (sub_magnitudes): Likewise.
15239         (__mul): Likewise.
15240         (__sqr): Likewise.
15241         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15242         powers of two in terms of TWOPOW macro.
15243         (mp_no): Make type of mantissa as MANTISSA_T.
15244         [!RADIXI]: Define RADIXI.
15245         [!TWO52]: Define TWO52.
15246         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15248         * manual/nptl.texi (cindex): Modify threads to pthreads.
15250 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
15252         * sysdeps/x86_64/preconfigure: Regenerated.
15254 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
15256         [BZ #14155]
15257         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15258         0x1p28 and above.
15259         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15260         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15261         0x1p28 and above.
15262         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15263         * math/libm-test.inc (j0_test): Do not allow one spurious
15264         underflow exception.
15265         (y1_test): Likewise.
15267 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15269         * manual/Makefile (chapters): Add nptl.
15270         * manual/debug.texi (Debugging Support): Add link to Threads
15271         chapter.
15272         * manual/nptl.texi: New file.
15274         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15276 2013-03-14  Petr Baudis  <pasky@ucw.cz>
15278         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15279         for non-NULL pointer before the memory validity test. Pointed
15280         out by Holger Brunck <holger.brunck@keymile.com>.
15282 2013-03-13  Andreas Schwab  <schwab@suse.de>
15284         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15285         instead of .os.
15287 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
15289         * timezone/zic.c: Update from tzcode 2013b.
15291 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
15293         * manual/install.texi (Configuring and compiling):
15294         Mention i686 and i586.
15295         * INSTALL: Regenerate.
15297 2013-03-12  Roland McGrath  <roland@hack.frob.com>
15299         * sysdeps/init_array/elf-init.c: New file.
15300         * csu/elf-init.c
15301         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15302         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15304         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15305         __gmon_start__ as global, but as static with a .preinit_array pointer.
15306         * sysdeps/init_array/gmon-start.c: New file.  Use that.
15307         * sysdeps/init_array/crti.S: New file, empty except for comments.
15308         * sysdeps/init_array/crtn.S: Likewise.
15310 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
15312         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15313         definining bcopy.
15314         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15315         Remove Prefer_SSE_for_memop.
15316         * sysdeps/x86_64/multiarch/init-arch.h: Remove
15317         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15318         HAS_PREFER_SSE_FOR_MEMOP.
15319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15320         memset-x86-64.
15321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15322         Remove bzero, memset ifunc support.
15323         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15324         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15325         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15326         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15328 2013-03-11  Andreas Schwab  <schwab@suse.de>
15330         [BZ #15234]
15331         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15332         by SHLIB_COMPAT.
15333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15334         (GLIBC_2.16): Remove pthread_atfork.
15336 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15338         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15339         (ptestcases.h): Likewise.
15341 2013-03-08  Roland McGrath  <roland@hack.frob.com>
15343         * Makeconfig ($(common-objpfx)config.status): Depend on
15344         sysdeps/*/preconfigure{,.in} too.
15346 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
15348         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15349         (__free_hook): Use void * instead of __malloc_ptr_t.
15350         (__malloc_hook): Likewise.
15351         (__realloc_hook): Likewise.
15352         (__memalign_hook): Likewise.
15353         (__after_morecore_hook): Likewise.
15354         * malloc/arena.c (save_malloc_hook): Likewise.
15355         (save_free_hook): Likewise.
15356         * malloc/hooks.c (malloc_hook_ini): Likewise.
15357         (realloc_hook_ini): Likewise.
15358         (memalign_hook_ini): Likewise.
15359         * malloc/malloc.c (malloc_hook_ini): Likewise.
15360         (realloc_hook_ini): Likewise.
15361         (memalign_hook_ini): Likewise.
15362         (__free_hook): Likewise.
15363         (__malloc_hook): Likewise.
15364         (__realloc_hook): Likewise.
15365         (__memalign_hook): Likewise.
15366         (__libc_malloc): Likewise.
15367         (__libc_free): Likewise.
15368         (__libc_realloc): Likewise.
15369         (__libc_memalign): Likewise.
15370         (__libc_valloc): Likewise.
15371         (__libc_pvalloc): Likewise.
15372         (__libc_calloc): Likewise.
15373         (__posix_memalign): Likewise.
15374         * malloc/morecore.c (__sbrk): Likewise.
15375         (__default_morecore): Likewise.
15377         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15379         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15380         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15381         __malloc_ptrdiff_t.
15383         * malloc/malloc.h (__malloc_size_t): Remove macro.
15384         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15385         __malloc_size_t.
15386         (old_memalign_hook): Likewise.
15387         (old_realloc_hook): Likewise.
15388         (struct hdr): Likewise.
15389         (flood): Likewise.
15390         (mallochook): Likewise.
15391         (memalignhook): Likewise.
15392         (reallochook): Likewise.
15393         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15394         (tr_old_realloc_hook): Likewise.
15395         (tr_old_memalign_hook): Likewise.
15396         (tr_mallochook): Likewise.
15397         (tr_reallochook): Likewise.
15398         (tr_memalignhook): Likewise.
15400 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15402         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15403         default_ldbl_pack and using as default implementation.
15404         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15405         implementation.
15406         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15407         redundant definition.
15408         (ldbl_insert_mantissa): Likewise.
15409         (ldbl_canonicalize): Likewise.
15410         (ldbl_nearbyint): Likewise.
15411         (ldbl_pack): Rename to ldbl_pack_ppc.
15412         (ldbl_unpack): Rename to ldbl_unpack_ppc.
15413         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15414         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15416 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15419         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15420         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15421         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15422         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15423         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15424         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15425         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15427 2013-03-07  Andreas Jaeger  <aj@suse.de>
15429         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15430         bits/mman-linux.h.
15432 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15434         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15435         Include mpa.h and declare __MPEXP.
15436         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15437         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15438         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15439         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15440         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15441         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15442         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15444         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15445         (__slowpow): Use long double EXPL and LOGL functions to
15446         compute POW.
15447         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15448         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15449         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15450         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15451         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15452         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15455         intermediate variable to calculate exponent.
15456         (__sqr): Likewise.
15457         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15458         Likewise.
15459         (__sqr): Likewise.
15461         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15462         [!NO__SQR]: Define __sqr.
15463         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15464         and NO__SQR.  Remove all code except __mul and __sqr.  Include
15465         sysdeps/ieee754/dbl-64/mpa.c.
15466         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15468         [BZ #12723]
15469         * posix/Makefile (tests): Add tst-pathconf.
15470         * posix/tst-pathconf.c: New test case.
15471         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15472         _PC_PIPE_BUF.
15473         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15475 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
15477         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15479 2013-03-06  Andreas Jaeger  <aj@suse.de>
15481         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15482         definition via __MAP_ANONYMOUS.
15484         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15485         it's not part of Linux headers.
15487         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15488         (MAP_HUGE_MASK): Define.
15490         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15491         Define.
15492         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15493         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15494         Define.
15495         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15496         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15497         Define.
15498         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15499         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15500         Define.
15501         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15503         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15504         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15505         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15506         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15507         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15508         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15510         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15511         Handle f2fs.
15513         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15514         Handle f2fs and efivarfs.
15516         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15517         f2fs.
15519         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15520         (EFIVARFS_MAGIC): Add.
15521         (F2FS_LINK_MAX): Add.
15523 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15525         * stdio-common/vfprintf.c: Replace __builtin_expect with
15526         __glibc_unlikely.
15528 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
15530         [BZ #13550]
15531         * sysdeps/generic/bp-sym.h: Remove file.
15532         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15533         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15534         <bp-sym.h> and <bp-asm.h>.
15535         (__longjmp): Don't use BP_SYM.
15536         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15537         and <bp-asm.h>.
15538         (memcpy): Don't use BP_SYM.
15539         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15540         <bp-sym.h> and <bp-asm.h>.
15541         (memcpy): Don't use BP_SYM.
15542         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15543         <bp-asm.h>.
15544         (memcpy): Don't use BP_SYM.
15545         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15546         <bp-asm.h>.
15547         (memset): Don't use BP_SYM.
15548         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15549         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15550         (__bzero): Don't use BP_SYM.
15551         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15552         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15553         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15554         <bp-sym.h> and <bp-asm.h>.
15555         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15556         pointers.
15557         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15558         <bp-sym.h> and <bp-asm.h>.
15559         (memcpy): Don't use BP_SYM.
15560         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15561         <bp-sym.h> and <bp-asm.h>.
15562         (memset): Don't use BP_SYM.
15563         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15564         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15565         (__bzero): Don't use BP_SYM.
15566         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15567         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15568         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15569         <bp-sym.h> and <bp-asm.h>.
15570         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15571         pointers.
15572         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15573         <bp-sym.h> and <bp-asm.h>.
15574         (memcpy): Don't use BP_SYM.
15575         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15576         <bp-sym.h> and <bp-asm.h>.
15577         (memset): Don't use BP_SYM.
15578         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15579         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15580         (__bzero): Don't use BP_SYM.
15581         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15582         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15583         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15584         <bp-sym.h> and <bp-asm.h>.
15585         (__memchr): Don't use BP_SYM.
15586         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15587         <bp-sym.h> and <bp-asm.h>.
15588         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15589         pointers.
15590         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15591         <bp-sym.h> and <bp-asm.h>.
15592         (memcpy): Don't use BP_SYM.
15593         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15594         <bp-sym.h> and <bp-asm.h>.
15595         (__mempcpy): Don't use BP_SYM.
15596         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15597         <bp-sym.h> and <bp-asm.h>.
15598         (__memrchr): Don't use BP_SYM.
15599         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15600         <bp-sym.h> and <bp-asm.h>.
15601         (memset): Don't use BP_SYM.
15602         (__bzero): Likewise.
15603         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15604         <bp-sym.h> and <bp-asm.h>.
15605         (__rawmemchr): Don't use BP_SYM.
15606         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15607         <bp-sym.h> and <bp-asm.h>.
15608         (__STRCMP): Don't use BP_SYM.
15609         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15610         <bp-sym.h> and <bp-asm.h>.
15611         (strchr): Don't use BP_SYM.
15612         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15613         <bp-sym.h> and <bp-asm.h>.
15614         (__strchrnul): Don't use BP_SYM.
15615         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15616         <bp-sym.h> and <bp-asm.h>.
15617         (strlen): Don't use BP_SYM.
15618         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15619         <bp-sym.h> and <bp-asm.h>.
15620         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15621         pointers.
15622         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15623         <bp-sym.h> and <bp-asm.h>.
15624         (__strnlen): Don't use BP_SYM.
15625         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15626         <bp-sym.h> and <bp-asm.h>.
15627         (__GI__setjmp): Don't use BP_SYM.
15628         (_setjmp): Likewise.
15629         (__sigsetjmp): Likewise.
15630         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15631         (L(start_addresses)): Don't use BP_SYM.
15632         (_start): Likewise.
15633         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15634         <bp-asm.h>.
15635         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15636         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15637         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15638         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15639         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15640         <bp-asm.h>.
15641         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15642         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
15643         about bounded pointers.
15644         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15645         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15646         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15647         <bp-asm.h>.
15648         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15649         about bounded pointers.  Remove GKM FIXME comments.
15650         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15651         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15652         <bp-asm.h>.
15653         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15654         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
15655         Remove GKM FIXME comments.
15656         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15657         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15658         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15659         <bp-asm.h>.
15660         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15661         about bounded pointers.  Remove GKM FIXME comment.
15662         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15663         and <bp-asm.h>.
15664         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15665         pointers.
15666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15667         <bp-sym.h> and <bp-asm.h>.
15668         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15670         <bp-sym.h> and <bp-asm.h>.
15671         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15672         comment.
15674 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15676         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15677         call free(NULL).
15679 2013-03-05  David S. Miller  <davem@davemloft.net>
15681         * po/es.po: Update from translation team.
15683 2013-03-05  Andreas Jaeger  <aj@suse.de>
15685         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15686         <bits/mman-linux.h>.
15687         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15688         is fine.
15689         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15690         <bits/mman-linux.h> to end of file.
15691         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15692         is fine.
15693         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15694         <bits/mman-linux.h> to end of file.
15695         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15696         is fine.
15697         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15698         <bits/mman-linux.h> to end of file.
15700         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15701         (MCL_CURRENT, MCL_FUTURE): Define here.
15703 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15705         [BZ #15232]
15706         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15707         attribute_hidden.
15708         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15710 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15712         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15713         fourth parameter needed for rt_sigprocmask syscall.
15714         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15715         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15716         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15717         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15718         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15719         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15721 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
15723         [BZ #13550]
15724         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15725         comment about bounded pointers.
15726         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15727         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15729 2013-03-04  Andreas Jaeger  <aj@suse.de>
15731         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15732         common definitions.
15734         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15735         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15736         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15737         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15738         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15739         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15741 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15743         [BZ #15055]
15744         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15745         __ieee754_sqrl instead of __sqrl.
15747 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
15749         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15750         * sysdeps/powerpc/fpu_control.h: ... here.
15751         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15752         * sysdeps/powerpc/bits/fenvinline.h: ... here.
15753         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15754         * sysdeps/powerpc/bits/mathinline.h: ... here.
15756 2013-03-01  Roland McGrath  <roland@hack.frob.com>
15758         * elf/dl-hwcaps.c (_dl_important_hwcaps):
15759         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15760         to just [NEED_DL_SYSINFO_DSO].
15761         * elf/dl-support.c: Likewise.
15762         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15763         * elf/rtld.c (dl_main): Likewise.
15764         * elf/setup-vdso.h (setup_vdso): Likewise.
15765         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15766         * sysdeps/unix/sysv/linux/dl-sysdep.c
15767         (_dl_discover_osversion): Likewise.
15769 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
15771         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15772         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15774 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15776         * NEWS: Mention libm performance improvements and non-x86 PI
15777         futex support.
15779         * csu/libc-start.c (__pthread_initialize_minimal): Change
15780         function arguments.
15781         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15783 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
15785         [BZ #13550]
15786         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15787         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15788         <bp-sym.h> and <bp-asm.h>.
15789         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15790         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15791         and <bp-asm.h>.
15792         (memcpy): Don't use BP_SYM.
15793         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15794         <bp-asm.h>.
15795         (__mpn_add_n): Don't use BP_SYM.
15796         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15797         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15798         and <bp-asm.h>.
15799         (__mpn_addmul_1): Don't use BP_SYM.
15800         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15801         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15802         <bp-sym.h>.
15803         (_setjmp): Don't use BP_SYM.
15804         (__novmx_setjmp): Likewise.
15805         (__GI__setjmp): Likewise.
15806         (__vmx_setjmp): Likewise.
15807         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15808         <bp-sym.h>.
15809         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15810         (__bzero): Don't use BP_SYM.
15811         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15812         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15813         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15814         <bp-sym.h> and <bp-asm.h>.
15815         (memcpy): Don't use BP_SYM.
15816         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15817         <bp-sym.h> and <bp-asm.h>.
15818         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15819         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15820         <bp-sym.h> and <bp-asm.h>.
15821         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15822         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15823         <bp-asm.h>.
15824         (__mpn_lshift): Don't use BP_SYM.
15825         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15826         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15827         <bp-asm.h>.
15828         (memset): Don't use BP_SYM.
15829         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15830         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15831         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15832         <bp-asm.h>.
15833         (__mpn_mul_1): Don't use BP_SYM.
15834         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15835         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15836         <bp-sym.h> and <bp-asm.h>.
15837         (memcmp): Don't use BP_SYM.
15838         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15839         <bp-sym.h> and <bp-asm.h>.
15840         (memcpy): Don't use BP_SYM.
15841         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15842         <bp-sym.h> and <bp-asm.h>.
15843         (memset): Don't use BP_SYM.
15844         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15845         <bp-sym.h> and <bp-asm.h>.
15846         (strncmp): Don't use BP_SYM.
15847         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15848         <bp-sym.h> and <bp-asm.h>.
15849         (memcpy): Don't use BP_SYM.
15850         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15851         <bp-sym.h> and <bp-asm.h>.
15852         (memset): Don't use BP_SYM.
15853         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15854         <bp-sym.h> and <bp-asm.h>.
15855         (__memchr): Don't use BP_SYM.
15856         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15857         <bp-sym.h> and <bp-asm.h>.
15858         (memcmp): Don't use BP_SYM.
15859         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15860         <bp-sym.h> and <bp-asm.h>.
15861         (memcpy): Don't use BP_SYM.
15862         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15863         <bp-sym.h> and <bp-asm.h>.
15864         (__mempcpy): Don't use BP_SYM.
15865         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15866         <bp-sym.h> and <bp-asm.h>.
15867         (__memrchr): Don't use BP_SYM.
15868         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15869         <bp-sym.h> and <bp-asm.h>.
15870         (memset): Don't use BP_SYM.
15871         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15872         <bp-sym.h> and <bp-asm.h>.
15873         (__rawmemchr): Don't use BP_SYM.
15874         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15875         <bp-sym.h> and <bp-asm.h>.
15876         (__STRCMP): Don't use BP_SYM.
15877         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15878         <bp-sym.h> and <bp-asm.h>.
15879         (strchr): Don't use BP_SYM.
15880         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15881         <bp-sym.h> and <bp-asm.h>.
15882         (__strchrnul): Don't use BP_SYM.
15883         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15884         <bp-sym.h> and <bp-asm.h>.
15885         (strlen): Don't use BP_SYM.
15886         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15887         <bp-sym.h> and <bp-asm.h>.
15888         (strncmp): Don't use BP_SYM.
15889         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15890         <bp-sym.h> and <bp-asm.h>.
15891         (__strnlen): Don't use BP_SYM.
15892         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15893         <bp-asm.h>.
15894         (__mpn_rshift): Don't use BP_SYM.
15895         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15896         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15897         <bp-sym.h> and <bp-asm.h>.
15898         (__sigsetjmp): Don't use BP_SYM.
15899         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15900         (L(start_addresses)): Don't use BP_SYM.
15901         (_start): Likewise.
15902         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15903         <bp-asm.h>.
15904         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15905         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15906         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15907         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15908         <bp-asm.h>.
15909         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15910         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15911         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15912         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15913         <bp-asm.h>.
15914         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15915         comments.
15916         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15917         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15918         <bp-asm.h>.
15919         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
15920         FIXME comments.
15921         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15922         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15923         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15924         <bp-asm.h>.
15925         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15926         comment.
15927         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15928         and <bp-asm.h>.
15929         (strncmp): Don't use BP_SYM,
15930         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15931         <bp-asm.h>.
15932         (__mpn_sub_n): Don't use BP_SYM.
15933         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15934         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15935         and <bp-asm.h>.
15936         (__mpn_submul_1): Don't use BP_SYM.
15937         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15939         <bp-sym.h> and <bp-asm.h>.
15940         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15942         <bp-sym.h> and <bp-asm.h>.
15943         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15944         comment.
15946 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15949         Use ZK to minimize writes to Z.
15950         (sub_magnitudes): Simplify code a bit.
15951         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15952         Use ZK to minimize writes to Z.
15953         (sub_magnitudes): Simplify code a bit.
15955 2013-02-27  Roland McGrath  <roland@hack.frob.com>
15957         * csu/gmon-start.c: Add special exception to license text.
15959 2013-02-27  Richard Henderson  <rth@redhat.com>
15961         * scripts/config.guess: Update from config.git.
15962         * scripts/config.sub: Likewise.
15964 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15966         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15968         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15970         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15972         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15974         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15976 2013-02-26  Roland McGrath  <roland@hack.frob.com>
15978         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15979         [$(build-shared = yes].
15981 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15983         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15984         (__mul): Reduce iterations for calculating mantissa.
15986         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15987         MPTWO.
15988         (__mpranred): Likewise.
15990         [BZ #15160]
15991         * malloc/memusagestat.c (main): Draw graphs for heap and stack
15992         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15994 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
15996         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15997         Define __attribute__.
15999 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16001         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16002         unused.
16003         * posix/regex_internal.h (__attribute): Remove.
16004         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16005         (re_string_context_at): Likewise.
16006         (bitset_not): Use __attribute__ and mark function as possibly
16007         unused.
16008         (bitset_merge): Likewise.
16009         (bitset_mask): Likewise.
16010         (re_string_char_size_at): Likewise.
16011         (re_string_wchar_at): Likewise.
16012         (re_string_elem_size_at): Likewise.
16014 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
16016         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16017         code.
16018         (cc32): Likewise.
16020         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16021         (__acr): Likewise.
16022         (__cpy): Likewise.
16023         (norm): Likewise.
16024         (denorm): Likewise.
16025         (__dbl_mp): Likewise.
16026         (add_magnitudes): Likewise.
16027         (sub_magnitudes): Likewise.
16028         (__mul): Likewise.
16029         (__inv): Likewise.
16031         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16032         style.
16034         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16035         style.
16037         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16038         code.
16040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16041         up changes with default code.
16042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16043         Likewise.
16045 2013-02-24  Allan McRae  <allan@archlinux.org>
16047         * manual/socket.texi (The Internet Namespace): Order menu items
16048         to match that in the file.
16050         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16051         node listing of the info page menu.
16053 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
16055         [BZ #13550]
16056         * sysdeps/i386/bp-asm.h: Remove file.
16057         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16058         (PARMS): Do not use macros from bp-asm.h.
16059         (S1): Likewise.
16060         (S2): Likewise.
16061         (SIZE): Likewise.
16062         (__mpn_add_n): Do not use BP_SYM
16063         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16064         "bp-asm.h".
16065         (PARMS): Do not use macros from bp-asm.h.
16066         (S1): Likewise.
16067         (SIZE): Likewise.
16068         (__mpn_addmul_1): Do not use BP_SYM
16069         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16070         "bp-asm.h".
16071         (PARMS): Do not use macros from bp-asm.h.
16072         (SIGMSK): Likewise.
16073         (_setjmp): Likewise.  Do not use BP_SYM.
16074         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16075         "bp-asm.h".
16076         (PARMS): Do not use macros from bp-asm.h.
16077         (SIGMSK): Likewise.
16078         (setjmp): Likewise.  Do not use BP_SYM.
16079         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16080         "bp-asm.h".
16081         (PARMS): Do not use macros from bp-asm.h.
16082         (__frexp): Do not use BP_SYM.
16083         (frexp): Likewise.
16084         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16085         "bp-asm.h".
16086         (PARMS): Do not use macros from bp-asm.h.
16087         (__frexpf): Do not use BP_SYM.
16088         (frexpf): Likewise.
16089         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16090         "bp-asm.h".
16091         (PARMS): Do not use macros from bp-asm.h.
16092         (__frexpl): Do not use BP_SYM.
16093         (frexpl): Likewise.
16094         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16095         "bp-asm.h".
16096         (PARMS): Do not use macros from bp-asm.h.
16097         (__remquo): Do not use BP_SYM.
16098         (remquo): Likewise.
16099         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16100         "bp-asm.h".
16101         (PARMS): Do not use macros from bp-asm.h.
16102         (__remquof): Do not use BP_SYM.
16103         (remquof): Likewise.
16104         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16105         "bp-asm.h".
16106         (PARMS): Do not use macros from bp-asm.h.
16107         (__remquol): Do not use BP_SYM.
16108         (remquol): Likewise.
16109         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16110         "bp-asm.h".
16111         (PARMS): Do not use macros from bp-asm.h.
16112         (DEST): Likewise.
16113         (SRC): Likewise.
16114         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
16115         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16116         "bp-asm.h".
16117         (PARMS): Do not use macros from bp-asm.h.
16118         (strlen): Do not use BP_SYM.
16119         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16120         "bp-asm.h".
16121         (PARMS): Do not use macros from bp-asm.h.
16122         (S1): Likewise.
16123         (S2): Likewise.
16124         (SIZE): Likewise.
16125         (__mpn_add_n): Do not use BP_SYM.
16126         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16127         "bp-asm.h".
16128         (PARMS): Do not use macros from bp-asm.h.
16129         (S1): Likewise.
16130         (SIZE): Likewise.
16131         (__mpn_addmul_1): Do not use BP_SYM.
16132         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16133         weak_alias.
16134         (bzero): Likewise.
16135         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16136         "bp-asm.h".
16137         (PARMS): Do not use macros from bp-asm.h.
16138         (S): Likewise.
16139         (SIZE): Likewise.
16140         (__mpn_lshift): Do not use BP_SYM.
16141         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16142         "bp-asm.h".
16143         (PARMS): Do not use macros from bp-asm.h.
16144         (DEST): Likewise.
16145         (SRC): Likewise.
16146         (LEN): Likewise.
16147         (memcpy): Likewise.  Do not use BP_SYM.
16148         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16149         libc_hidden_def and weak_alias.
16150         (mempcpy): Do not use BP_SYM in weak_alias.
16151         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16152         "bp-asm.h".
16153         (PARMS): Do not use macros from bp-asm.h.
16154         (DEST): Likewise.
16155         (LEN): Likewise.
16156         [!BZERO_P] (CHR): Likewise.
16157         (memset): Likewise.  Do not use BP_SYM.
16158         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16159         "bp-asm.h".
16160         (PARMS): Do not use macros from bp-asm.h.
16161         (S1): Likewise.
16162         (SIZE): Likewise.
16163         (__mpn_mul_1): Do not use BP_SYM.
16164         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16165         "bp-asm.h".
16166         (PARMS): Do not use macros from bp-asm.h.
16167         (S): Likewise.
16168         (SIZE): Likewise.
16169         (__mpn_rshift): Do not use BP_SYM.
16170         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16171         "bp-asm.h".
16172         (PARMS): Do not use macros from bp-asm.h.
16173         (STR): Likewise.
16174         (CHR): Likewise.
16175         (strchr): Likewise.  Do not use BP_SYM.
16176         (index): Do not use BP_SYM in weak_alias.
16177         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16178         "bp-asm.h".
16179         (PARMS): Do not use macros from bp-asm.h.
16180         (DEST): Likewise.
16181         (SRC): Likewise.
16182         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
16183         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16184         "bp-asm.h".
16185         (PARMS): Do not use macros from bp-asm.h.
16186         (strlen): Do not use BP_SYM.
16187         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16188         "bp-asm.h".
16189         (PARMS): Do not use macros from bp-asm.h.
16190         (S1): Likewise.
16191         (S2): Likewise.
16192         (SIZE): Likewise.
16193         (__mpn_sub_n): Do not use BP_SYM.
16194         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16195         "bp-asm.h".
16196         (PARMS): Do not use macros from bp-asm.h.
16197         (S1): Likewise.
16198         (SIZE): Likewise.
16199         (__mpn_submul_1): Do not use BP_SYM.
16200         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16201         "bp-asm.h".
16202         (PARMS): Do not use macros from bp-asm.h.
16203         (S1): Likewise.
16204         (S2): Likewise.
16205         (SIZE): Likewise.
16206         (__mpn_add_n): Do not use BP_SYM.
16207         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16208         weak_alias.
16209         (bzero): Likewise.
16210         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16211         "bp-asm.h".
16212         (PARMS): Do not use macros from bp-asm.h.
16213         (BLK2): Likewise.
16214         (LEN): Likewise.
16215         (memcmp): Do not use BP_SYM.
16216         (bcmp): Do not use BP_SYM in weak_alias.
16217         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16218         "bp-asm.h".
16219         (PARMS): Do not use macros from bp-asm.h.
16220         (DEST): Likewise.
16221         (SRC): Likewise.
16222         (LEN): Likewise.
16223         (memcpy): Likewise.  Do not use BP_SYM.
16224         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16225         "bp-asm.h".
16226         (PARMS): Do not use macros from bp-asm.h.
16227         (DEST): Likewise.
16228         (SRC): Likewise.
16229         (LEN): Likewise.
16230         (memmove): Likewise.  Do not use BP_SYM.
16231         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16232         "bp-asm.h".
16233         (PARMS): Do not use macros from bp-asm.h.
16234         (DEST): Likewise.
16235         (SRC): Likewise.
16236         (LEN): Likewise.
16237         (__mempcpy): Likewise.  Do not use BP_SYM.
16238         (mempcpy): Do not use BP_SYM in weak_alias.
16239         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16240         "bp-asm.h".
16241         (PARMS): Do not use macros from bp-asm.h.
16242         (DEST): Likewise.
16243         (LEN): Likewise.
16244         [!BZERO_P] (CHR): Likewise.
16245         (memset): Likewise.  Do not use BP_SYM.
16246         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16247         "bp-asm.h".
16248         (PARMS): Do not use macros from bp-asm.h.
16249         (STR2): Likewise.
16250         (strcmp): Do not use BP_SYM.
16251         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16252         "bp-asm.h".
16253         (PARMS): Do not use macros from bp-asm.h.
16254         (STR): Likewise.
16255         (DELIM): Likewise.
16256         [USE_AS_STRTOK_R] (SAVE): Likewise.
16257         (FUNCTION): Likewise.  Do not use BP_SYM.
16258         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16259         aliases.
16260         (strtok_r): Likewise.
16261         (__GI___strtok_r): Likewise.
16262         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16263         (PARMS): Do not use macros from bp-asm.h.
16264         (S): Likewise.
16265         (SIZE): Likewise.
16266         (__mpn_lshift): Do not use BP_SYM.
16267         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16268         (PARMS): Do not use macros from bp-asm.h.
16269         (STR): Likewise.
16270         (CHR): Likewise.
16271         (__memchr): Do not use BP_SYM.
16272         (memchr): Do not use BP_SYM in weak_alias.
16273         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16274         (PARMS): Do not use macros from bp-asm.h.
16275         (BLK2): Likewise.
16276         (LEN): Likewise.
16277         (memcmp): Do not use BP_SYM.
16278         (bcmp): Do not use BP_SYM in weak_alias.
16279         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16280         (PARMS): Do not use macros from bp-asm.h.
16281         (S1): Likewise.
16282         (SIZE): Likewise.
16283         (__mpn_mul_1): Do not use BP_SYM.
16284         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16285         "bp-asm.h".
16286         (PARMS): Do not use macros from bp-asm.h.
16287         (STR): Likewise.
16288         (CHR): Likewise.
16289         (__rawmemchr): Do not use BP_SYM.
16290         (rawmemchr): Do not use BP_SYM in weak_alias.
16291         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16292         (PARMS): Do not use macros from bp-asm.h.
16293         (S): Likewise.
16294         (SIZE): Likewise.
16295         (__mpn_rshift): Do not use BP_SYM.
16296         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16297         (PARMS): Do not use macros from bp-asm.h.
16298         (SIGMSK): Likewise.
16299         (__sigsetjmp): Likewise.  Do not use BP_SYM.
16300         * sysdeps/i386/start.S: Do not include "bp-sym.h".
16301         (_start): Do not use BP_SYM.
16302         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16303         (PARMS): Do not use macros from bp-asm.h.
16304         (DEST): Likewise.
16305         (SRC): Likewise.
16306         (__stpcpy): Likewise.  Do not use BP_SYM.
16307         (stpcpy): Do not use BP_SYM in weak_alias.
16308         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16309         "bp-asm.h".
16310         (PARMS): Do not use macros from bp-asm.h.
16311         (DEST): Likewise.
16312         (SRC): Likewise.
16313         (LEN): Likewise.
16314         (__stpncpy): Likewise.  Do not use BP_SYM.
16315         (stpncpy): Do not use BP_SYM in weak_alias.
16316         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16317         (PARMS): Do not use macros from bp-asm.h.
16318         (STR): Likewise.
16319         (CHR): Likewise.
16320         (strchr): Likewise.  Do not use BP_SYM.
16321         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16322         "bp-asm.h".
16323         (PARMS): Do not use macros from bp-asm.h.
16324         (STR): Likewise.
16325         (CHR): Likewise.
16326         (__strchrnul): Likewise.  Do not use BP_SYM.
16327         (strchrnul): Do not use BP_SYM in weak_alias.
16328         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16329         "bp-asm.h".
16330         (PARMS): Do not use macros from bp-asm.h.
16331         (STOP): Likewise.
16332         (strcspn): Do not use BP_SYM.
16333         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16334         "bp-asm.h".
16335         (PARMS): Do not use macros from bp-asm.h.
16336         (STR): Likewise.
16337         (STOP): Likewise.
16338         (strpbrk): Likewise.  Do not use BP_SYM.
16339         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16340         "bp-asm.h".
16341         (PARMS): Do not use macros from bp-asm.h.
16342         (STR): Likewise.
16343         (CHR): Likewise.
16344         (strrchr): Likewise.  Do not use BP_SYM.
16345         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16346         (PARMS): Do not use macros from bp-asm.h.
16347         (SKIP): Likewise.
16348         (strspn): Do not use BP_SYM.
16349         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16350         (PARMS): Do not use macros from bp-asm.h.
16351         (STR): Likewise.
16352         (DELIM): Likewise.
16353         (SAVE): Likewise.
16354         (FUNCTION): Likewise.  Do not use BP_SYM.
16355         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16356         aliases.
16357         (strtok_r): Likewise.
16358         (__GI___strtok_r): Likewise.
16359         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16360         (PARMS): Do not use macros from bp-asm.h.
16361         (S1): Likewise.
16362         (S2): Likewise.
16363         (SIZE): Likewise.
16364         (__mpn_sub_n): Do not use BP_SYM.
16365         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16366         "bp-asm.h".
16367         (PARMS): Do not use macros from bp-asm.h.
16368         (S1): Likewise.
16369         (SIZE): Likewise.
16370         (__mpn_submul_1): Do not use BP_SYM.
16371         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16372         <bp-sym.h>.
16373         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16374         and <bp-asm.h>.
16375         (PARMS): Do not use macros from bp-asm.h.
16376         (FLAGS): Likewise.
16377         (PTID): Likewise.
16378         (TLS): Likewise.
16379         (CTID): Likewise.
16380         (__clone): Do not use BP_SYM.
16381         (clone): Do not use BP_SYM in weak_alias.
16382         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16383         and <bp-asm.h>.
16384         (PARMS): Do not use macros from bp-asm.h.
16385         (LEN): Likewise.
16386         (__mmap64): Do not use BP_SYM.
16387         (mmap64): Do not use BP_SYM in weak_alias.
16388         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16389         <bp-sym.h> and <bp-asm.h>.
16390         (PARMS): Do not use macros from bp-asm.h.
16391         (__posix_fadvise64_l64): Do not use BP_SYM.
16392         * sysdeps/unix/sysv/linux/i386/semtimedop.S
16393         (PARMS): Do not use macros from bp-asm.h.
16394         (NSOPS): Likewise.
16395         (semtimedop): Do not use BP_SYM.
16396         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16397         and <bp-asm.h>.
16399 2013-02-21  Allan McRae  <allan@archlinux.org>
16401         * manual/message.texi (Charset conversion in gettext):
16402         Move @end statement to beginning of line.
16404 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16406         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16407         static.
16408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16409         Likewise.
16411         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16412         (denorm): Likewise.
16413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16414         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16416 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16418         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16419         tail-call to the resolved function if pltexit isn't needed.
16421 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16424         or Y being zero as being unlikely.
16425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16426         Likewise.
16428 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
16430         * manual/nss.texi (System Databases and Name Service Switch):
16431         Remove frobnicate @pxref.
16433 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16435         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16436         __attribute__ ((unused)) to __attribute__ ((__unused__)).
16438 2013-02-20  Petr Machata  <pmachata@redhat.com>
16440         * elf/elf.h (R_ARM_TARGET1): New macro.
16441         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16442         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16443         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16444         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16445         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16446         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16447         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16448         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16449         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16450         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16451         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16452         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16453         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16454         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16455         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16456         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16457         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16458         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16459         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16460         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16461         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16462         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16463         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16464         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16465         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16466         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16467         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16468         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16469         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16470         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16471         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16472         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16473         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16474         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16475         (R_ARM_THM_GOT_BREL12): Likewise.
16476         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16477         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16478         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16479         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16480         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16481         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16482         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16483         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16484         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16486 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16488         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16489         __attribute_used__ to __attribute__ ((unused)).
16491 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16493         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16494         powerpc mpa.c.
16495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16496         comment formatting.
16497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16499 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
16501         [BZ #13550]
16502         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16503         Remove macro.
16504         (ENTER): Remove both macro definitions.
16505         (LEAVE): Likewise.
16506         (CHECK_BOUNDS_LOW): Likewise.
16507         (CHECK_BOUNDS_HIGH): Likewise.
16508         (CHECK_BOUNDS_BOTH): Likewise.
16509         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16510         (RETURN_BOUNDED_POINTER): Likewise.
16511         (RETURN_NULL_BOUNDED_POINTER): Likewise.
16512         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16513         (POP_ERRNO_LOCATION_RETURN): Likewise.
16514         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16515         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16516         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16517         macros.
16518         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16519         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16520         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16521         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16522         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16523         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16524         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16525         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16526         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16527         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16528         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16529         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16530         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16531         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16532         removed macros.
16533         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16534         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16535         macros.
16536         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16537         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16538         * sysdeps/i386/i586/memset.S (memset): Likewise.
16539         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16540         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16541         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16542         macros.
16543         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16544         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16545         Change uses of L(2) to L(out).
16546         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16547         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16548         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16549         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16550         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16551         removed macros.
16552         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16553         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16554         macros.
16555         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16556         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16557         (RETURN): Do not use macro LEAVE.
16558         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16559         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16560         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16561         * sysdeps/i386/i686/memset.S (memset): Likewise.
16562         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16563         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16564         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16565         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16566         Likewise.
16567         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16568         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
16569         L(1_2) and L(1_3) into L(1).
16570         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16571         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16572         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16573         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16574         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16575         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16576         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16577         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16578         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16579         macros.
16580         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16581         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16582         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16583         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16584         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16585         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16586         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16587         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16588         * sysdeps/i386/strcspn.S (strcspn): Likewise.
16589         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16590         * sysdeps/i386/strrchr.S (strrchr): Likewise.
16591         * sysdeps/i386/strspn.S (strspn): Likewise.
16592         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16593         conditional code.
16594         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16595         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16596         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16597         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
16598         L(1_3) into L(1_1).
16599         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16600         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16601         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16602         macros.
16603         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16605 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
16607         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16608         macro.
16610 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16612         * math/atest-exp.c (exp_mpn): Remove ROUND.
16613         * math/atest-exp2.c (exp_mpn): Likewise.
16614         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16616         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16617         * stdlib/tst-tls-atexit-lib.c: Likewise.
16618         * stdlib/tst-tls-atexit.c: Likewise.
16620 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16622         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16623         and __attribute_alloc_size__.
16625 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16627         * include/programs/xmalloc.h: Change __attribute_alloc_size to
16628         __attribute_alloc_size__.
16629         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16630         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16632 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16634         * include/programs/xmalloc.h: New file.
16635         * catgets/gencat.c: Include it.
16636         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16637         * elf/pldd.c: Likewise.
16638         * iconv/iconv_charmap.c: Likewise.
16639         * iconv/iconvconfig.c: Likewise.
16640         * iconv/strtab.c: Likewise.
16641         * locale/programs/locale.c: Likewise.
16642         * locale/programs/localedef.h: Likewise.
16643         * locale/programs/simple-hash.c: Likewise.
16644         * nscd/nscd.h: Likewise.
16645         * nss/makedb.c: Likewise.
16646         * sysdeps/generic/ldconfig.h: Likewise.
16648 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16650         * Versions.def: Add GLIBC_2.18.
16651         * include/link.h (struct link_map): New member l_tls_dtor_count.
16652         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16653         (__call_tls_dtors): Likewise.
16654         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16655         __cxa_thread_atexit_impl.
16656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16657         Likewise.
16658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16659         Likewise.
16660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16661         Likewise.
16662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16663         Likewise.
16664         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16666         Likewise.
16667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16668         Likewise.
16669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16671         Likewise.
16672         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16673         (tests): Add test case tst-tls-atexit.
16674         (modules-names): Add shared library for tst-tls-atexit.
16675         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16676         (GLIBC_PRIVATE): Add __call_tls_dtors.
16677         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16678         for libstdc++.
16679         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16680         * stdlib/tst-tls-atexit.c: New test case.
16681         * stdlib/tst-tls-atexit-lib.c: New test case.
16683         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16685         * elf/Versions (ld): Add _dl_find_dso_for_object.
16686         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16687         * elf/dl-open.c (_dl_find_dso_for_object): New function.
16688         (dl_open_worker): Use _dl_find_dso_for_object.
16689         * elf/dl-sym.c (do_sym): Likewise.
16690         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16692 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16694         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16695         Syntactic changes only.
16696         (_dl_runtime_profile): Do a tail-call to the resolved function.
16698 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
16700         [BZ #13550]
16701         * sysdeps/x86_64/bp-asm.h: Remove file.
16702         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16703         <bp-sym.h> and <bp-asm.h>.
16704         (__clone): Do not use BP_SYM.
16705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16706         <bp-sym.h> and <bp-asm.h>.
16707         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16708         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16709         "bp-asm.h".
16710         (_setjmp): Do not use BP_SYM.
16711         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16712         "bp-asm.h".
16713         (setjmp): Do not use BP_SYM.
16714         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16715         libc_hidden_def.
16716         (mempcpy): Do not use BP_SYM in weak_alias.
16717         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16718         "bp-asm.h".
16719         (strchr): Do not use BP_SYM.
16720         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16721         "bp-asm.h".
16722         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16723         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16724         (_start): Do not use BP_SYM.
16725         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16726         "bp-asm.h".
16727         (strcat): Do not use BP_SYM.
16728         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16729         "bp-asm.h".
16730         (STRCMP): Do not use BP_SYM.
16731         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16732         "bp-asm.h".
16733         (STRCPY): Do not use BP_SYM.
16734         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16735         "bp-asm.h".
16736         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16737         "bp-asm.h".
16738         (FUNCTION): Do not use BP_SYM.
16739         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16740         weak_alias.
16741         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16743 2013-02-17  Andreas Jaeger  <aj@suse.de>
16745         * time/Versions: Sort entries.
16746         * string/Versions: Likewise.
16747         * resolv/Versions: Likewise.
16748         * posix/Versions: Likewise.
16749         * iconv/Versions: Likewise.
16750         * elf/Versions: Likewise.
16751         * wcsmbs/Versions: Likewise.
16753 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16755         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16756         loop termination condition.
16758         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16759         variable to calculate EZ.
16760         (__sqr): Likewise.
16762         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16763         the lower precision input.
16765 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
16767         [BZ #13550]
16768         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16769         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16770         (run-via-rtld-prefix): Do not handle %-bp tests.
16771         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16772         (all-object-suffixes): Remove .ob.
16773         (bppfx): Remove variable.
16774         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16775         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16776         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16777         [$(build-bounded) = yes] (libtype.ob): Likewise.
16778         * Makerules (elide-routines.ob): Remove variable.
16779         (do-tests-clean): Do not handle *-bp.out.
16780         (common-mostlyclean): Do not handle *-bp and *-bp.out.
16781         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16782         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16783         (tests): Do not include $(tests-bp.out).
16784         (xtests): Do not include $(xtests-bp.out).
16785         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16786         [$(build-bounded) = yes] ($(addprefix
16787         $(objpfx),$(binaries-bounded))): Remove rule.
16788         ($(objpfx)%-bp.out): Remove rule.
16789         * config.make.in (build-bounded): Remove variable.
16790         * crypt/Makefile [$(build-bounded) = yes]
16791         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16792         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16793         append to variable.
16794         [$(build-bounded) = yes] (install-lib): Likewise.
16795         [$(build-bounded) = yes] (generated): Likewise.
16796         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16797         Remove rule.
16798         * intl/Makefile [$(build-bounded) = yes]
16799         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16800         * math/Makefile [$(build-bounded) = yes]
16801         ($(tests:%=$(objpfx)%-bp): Likewise.
16802         * misc/Makefile [$(build-bounded) = yes]
16803         ($(objpfx)tst-tsearch-bp): Likewise.
16804         * nptl/Makeconfig (bounded-thread-library): Remove variable.
16805         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16806         Remove dependency.
16807         * string/Makefile (o-objects.ob): Remove variable.
16808         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16809         (CFLAGS-.ob): Remove variable.
16810         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16811         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16812         both definitions of variable.
16813         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16814         (ASFLAGS-.ob): Remove variable.
16816 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
16818         [BZ #13550]
16819         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16820         Remove __BOUNDED_POINTERS__ from condition.
16821         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16822         * string/bits/string2.h [!__NO_STRING_INLINES &&
16823         !__BOUNDED_POINTERS__]: Likewise.
16824         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16825         Likewise.
16826         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16827         Remove conditional code.
16828         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16829         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16830         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16831         condition.
16833         [BZ #13550]
16834         * csu/libc-start.c: Do not include <bp-sym.h>.
16835         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16836         * elf/dl-open.c: Do not include <bp-sym.h>.
16837         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16838         * math/fegetenv.c: Do not include <bp-sym.h>.
16839         (fegetenv): Do not use BP_SYM in versioned symbols.
16840         * nptl/sysdeps/pthread/bits/libc-lockP.h
16841         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16842         <bp-sym.h>.
16843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16844         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16846         (__pthread_mutex_destroy): Likewise.
16847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16848         (__pthread_mutex_lock): Likewise.
16849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16850         (__pthread_mutex_trylock): Likewise.
16851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16852         (__pthread_mutex_unlock): Likewise.
16853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16854         (__pthread_mutexattr_init): Likewise.
16855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16856         (__pthread_mutexattr_destroy): Likewise.
16857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16858         (__pthread_mutexattr_settype): Likewise.
16859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16860         (__pthread_rwlock_init): Likewise.
16861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16862         (__pthread_rwlock_destroy): Likewise.
16863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16864         (__pthread_rwlock_rdlock): Likewise.
16865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16866         (__pthread_rwlock_tryrdlock): Likewise.
16867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16868         (__pthread_rwlock_wrlock): Likewise.
16869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16870         (__pthread_rwlock_trywrlock): Likewise.
16871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16872         (__pthread_rwlock_unlock): Likewise.
16873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16874         (__pthread_key_create): Likewise.
16875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16876         (__pthread_setspecific): Likewise.
16877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16878         (__pthread_getspecific): Likewise.
16879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16880         Likewise.
16881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16882         (_pthread_cleanup_push_defer): Likewise.
16883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16884         (_pthread_cleanup_pop_restore): Likewise.
16885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16886         (pthread_setcancelstate): Likewise.
16887         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16888         <bp-sym.h>.
16889         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16890         (memchr): Do not use BP_SYM in weak_alias.
16891         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16892         (fegetenv): Do not use BP_SYM in versioned symbols.
16893         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16894         (fesetenv): Do not use BP_SYM in versioned symbols.
16895         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16896         (feupdateenv): Do not use BP_SYM in versioned symbols.
16897         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16898         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16899         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16900         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16901         (open64): Do not use BP_SYM in weak_alias.
16902         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16903         (fegetenv): Do not use BP_SYM in versioned symbols.
16904         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16905         (fesetenv): Do not use BP_SYM in versioned symbols.
16906         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16907         (feupdateenv): Do not use BP_SYM in versioned symbols.
16908         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16909         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16910         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16911         (feraiseexcept): Do not use BP_SYM in versioned symbols.
16912         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16913         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16914         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16915         <bp-sym.h>.
16916         (__libc_start_main): Do not use BP_SYM.
16918 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16921         redundant return line.
16922         (norm): Likewise.
16923         (denorm): Likewise.
16924         (dbl_mp): Likewise.
16925         (sub_magnitudes): Likewise.
16926         (__add): Likewise.
16927         (__sub): Likewise.
16928         (__mul): Likewise.
16929         (__inv): Likewise.
16930         (__dvd): Likewise.
16931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16932         (norm): Likewise.
16933         (denorm): Likewise.
16934         (dbl_mp): Likewise.
16935         (sub_magnitudes): Likewise.
16936         (__add): Likewise.
16937         (__sub): Likewise.
16938         (__mul): Likewise.
16939         (__inv): Likewise.
16940         (__dvd): Likewise.
16942         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16943         instead of __mul.
16944         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16945         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16946         (cc32): Likewise.
16948         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16949         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16950         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16951         of __mul for squares.
16952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16953         function
16954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16955         Likewise.
16956         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16957         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16959 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
16961         [BZ #13550]
16962         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16963         code.
16964         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16965         prototype or function definition.  Rename ubp_* variables and
16966         parameters.  Remove argv definitions conditional on
16967         [__BOUNDED_POINTERS__].
16968         * debug/backtrace.c (__backtrace): Do not use __unbounded.
16969         * elf/dl-runtime.c (_dl_fixup): Likewise.
16970         * include/set-hooks.h (RUN_HOOK): Likewise.
16971         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16972         definition.
16973         * string/strcpy.c (strcpy): Do not use __unbounded.
16974         * sysdeps/generic/frame.h (struct layout): Likewise.
16975         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16976         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16977         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16978         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16979         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16980         (__backtrace): Likewise.
16981         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16982         use __ptrvalue.
16983         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16984         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16985         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16986         Likewise.
16987         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16988         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16989         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16990         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16991         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16992         Do not use __unbounded.
16993         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16994         Rename __unboundedrlimits parameter to rlimits in prototype.
16995         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16996         Do not use __unbounded.
16997         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16998         not use __ptrvalue.
16999         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17000         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17001         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17002         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17003         __ptrvalue or __unbounded.
17004         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17005         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17006         use __unbounded.
17007         (__new_msgctl): Do not use __ptrvalue.
17008         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17009         __unbounded.
17010         (__libc_msgrcv): Do not use __ptrvalue.
17011         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17012         startup_info): Do not use __unbounded.
17013         (__libc_start_main): Likewise.  Rename ubp_* variables and
17014         parameters.  Remove argv definitions conditional on
17015         [__BOUNDED_POINTERS__].
17016         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17017         __ptrvalue.
17018         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17019         use __unbounded.
17020         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17021         or __ptrvalue.
17022         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17023         use __unbounded.
17024         (__new_shmctl): Do not use __ptrvalue.
17025         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17026         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17027         Likewise.
17028         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17029         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17030         (__libc_sigaction): Likewise.
17031         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17032         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17033         Likewise.
17034         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17036 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
17038         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17040         * string/mempcpy.c: Implement by calling memcpy.
17042 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17046         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17047         evaluation.
17049         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17050         values in the mantissa.
17052         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17053         minimize writes to Z.
17054         (sub_magnitudes): Simplify code a bit.
17056 2013-02-12  Roland McGrath  <roland@hack.frob.com>
17058         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17059         from the message.  The linker prefixes all warnings with that already.
17061 2013-02-12  Andreas Schwab  <schwab@suse.de>
17063         [BZ #15078]
17064         * posix/regexec.c (extend_buffers): Add parameter min_len.
17065         (check_matching): Pass minimum needed length.
17066         (clean_state_log_if_needed): Likewise.
17067         (get_subexp): Likewise.
17068         * posix/Makefile (tests): Add bug-regex34.
17069         (bug-regex34-ENV): Define.
17070         * posix/bug-regex34.c: New file.
17072         [BZ #11561]
17073         * posix/regcomp.c (parse_bracket_exp): When looking up collating
17074         elements compare against the byte sequence of it, not its name.
17075         * posix/Makefile (tests): Add bug-regex35.
17076         (bug-regex35-ENV): Define.
17077         * posix/bug-regex35.c: New file.
17079 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17081         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
17082         comment.
17083         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17084         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17085         (CHECK_EOL): Add undef.
17087 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
17089         * bits/stdlib-bsearch.h: New file.
17090         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17091         * stdlib/stdlib.h: Likewise.
17093 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17095         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17096         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17097         declaration.
17098         * manual/search.texi (Array Search Function): Add missing const in
17099         lfind prototype.
17100         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17101         declaration to use rlim_t.
17102         (Basic Scheduling Functions): Remove erroneous const from
17103         sched_getparam prototype.  Remove erroneous * from
17104         sched_get_priority_max and sched_get_priority_min prototypes.
17105         (Resource Usage): Fix summary @comment on vtimes to refer to
17106         sys/vtimes.h rather than vtimes.h.
17107         Add missing *s in vtimes prototype.
17108         (Limits on Resources): Fix ulimit prototype to return long int.
17109         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17110         prototypes to use long int rather than double.
17111         (BSD Random): Fix initstate and setstate to use char *, not void *.
17112         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17113         prototype to make second argument 'struct aiocb64 *const[]'.
17114         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17115         (Status of AIO Operations): Remove erroneous const in aio_return and
17116         aio_return64 prototypes.
17117         (Synchronizing I/O): Fix sync prototype to return void.
17118         * manual/startup.texi (Suboptions): Remove an erroneous const in
17119         getsubopt prototype.
17120         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17121         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17122         use size_t rather than int.
17123         (Scanning All Users): Likewise for getpwent_r.
17124         (Setting Groups): Add missing const to setgroups prototype.
17125         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17126         * manual/socket.texi (Host Names): Fix gethostbyaddr and
17127         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17128         'const void *' rather than 'const char *'.
17129         (Host Address Functions): Likewise for inet_ntop.
17130         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17131         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17132         ssize_t for return value.
17133         (Sending Data): Likewise for send, sendto, sendmsg.
17134         (Socket Option Functions): Add a missing const in setsockopt prototype.
17135         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17136         use wchar_t for the argument.
17137         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17138         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17139         take no arguments.
17140         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17141         double/float/long double for second argument.
17142         Fix return types of significand, significandf, significandl.
17143         * manual/filesys.texi (Setting Permissions): Use mode_t for second
17144         argument in fchmod prototype.
17145         (File Owner): Use uid_t and gid_t in fchown prototype.
17146         (File Times): Add const to utimes, futimes, and lutimes prototypes.
17147         (Making Special Files): Use mode_t and dev_t in mknod prototype.
17148         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17149         use 'const struct dirent **' as argument types to CMP function pointer
17150         argument.
17151         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17152         (File Times): Fix summary magic @comment for struct utimbuf and utime
17153         to refer to utime.h, not time.h.
17154         * manual/string.texi (Argz Functions): Add missing const in
17155         argz_extract and argz_next prototypes.
17156         (Finding Tokens in a String): Likewise for basename.
17157         (String/Array Comparison): Fix typo in wcscasecmp prototype.
17158         (Copying and Concatenation): Fix typo in wmemmove prototype.
17159         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17160         (Signal Stack): Remove erroneous const in sigstack prototype.
17161         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17162         prototype.
17163         (Simple Calendar Time): Likewise for stime.
17164         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17165         prototype.
17166         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17167         say sys/sysctl.h instead.
17168         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17169         and vsyslog prototypes.
17171 2013-02-11  Tom de Vries  <tom@codesourcery.com>
17173         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17174         Remove.
17176 2013-02-11  Roland McGrath  <roland@hack.frob.com>
17178         * misc/sys/mman.h: Fix typo in mremap comment.
17180 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17182         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17183         the '\0' terminator.
17185 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17187         [BZ #13550]
17188         * debug/segfault.c: Don't include <bp-checks.h>.
17189         * sysdeps/generic/bp-checks.h: Remove file.
17190         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17191         (__GETDENTS): Don't use CHECK_N.
17192         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17193         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17194         (__getgroups): Don't use CHECK_N.
17195         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17196         (setgroups): Don't use CHECK_N.
17197         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17198         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17199         (__libc_msgrcv): Don't use CHECK_N.
17200         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17201         (__libc_msgsnd): Don't use CHECK_N.
17202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17203         <bp-checks.h>.
17204         (__libc_pread): Don't use CHECK_N.
17205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17206         include <bp-checks.h>.
17207         (__libc_pread64): Don't use CHECK_N.
17208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17209         include <bp-checks.h>.
17210         (__libc_pwrite): Don't use CHECK_N.
17211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17212         include <bp-checks.h>.
17213         (__libc_pwrite64): Don't use CHECK_N.
17214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17215         <bp-checks.h>.
17216         (__libc_pread): Don't use CHECK_N.
17217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17218         include <bp-checks.h>.
17219         (__libc_pread64): Don't use CHECK_N.
17220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17221         include <bp-checks.h>.
17222         (__libc_pwrite): Don't use CHECK_N.
17223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17224         include <bp-checks.h>.
17225         (__libc_pwrite64): Don't use CHECK_N.
17226         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17227         (do_pread): Don't use CHECK_N.
17228         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17229         (do_pread64): Don't use CHECK_N.
17230         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17231         (do_pwrite): Don't use CHECK_N.
17232         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17233         (do_pwrite64): Don't use CHECK_N.
17234         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17235         (__libc_readv): Don't use CHECK_N.
17236         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17237         (semop): Don't use CHECK_N.
17238         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17239         <bp-checks.h>.
17240         (semtimedop): Don't use CHECK_N.
17241         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17242         (__libc_pread): Don't use CHECK_N.
17243         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17244         <bp-checks.h>.
17245         (__libc_pread64): Don't use CHECK_N.
17246         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17247         <bp-checks.h>.
17248         (__libc_pwrite): Don't use CHECK_N.
17249         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17250         <bp-checks.h>.
17251         (__libc_pwrite64): Don't use CHECK_N.
17252         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17253         <bp-checks.h>.
17254         (__libc_msgrcv): Don't use CHECK_N.
17255         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17256         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
17257         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17258         (__libc_writev): Don't use CHECK_N.
17260 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17262         * string/strcpy.c: Removed unused variable.
17264         * Makeconfig (+sysdep-includes): Define with := rather than =.
17265         Use an existing include/ subdir of each sysdeps dir before it.
17267 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17269         * nscd/connection.c (register_traced_file): Comment function.
17270         [HAVE_INOTIFY] (union __inev): Define.
17271         [HAVE_INOTIFY] (inotify_check_files): New function.
17272         [HAVE_INOTIFY] (clear_db_cache): Likewise.
17273         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17274         clear_db_cache.
17275         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17277 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17279         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17280         loaded if not already and that a failure is permanent.
17282 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17284         [BZ #15006]
17285         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17286         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17288 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17290         [BZ #13550]
17291         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17292         (CHECK_1_NULL_OK): Likewise.
17293         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17294         (__fxstat): Do not use CHECK_1.
17295         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17296         <bp-checks.h>.
17297         (___fxstat64): Do not use CHECK_1.
17298         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17299         <bp-checks.h>.
17300         (__fxstatat): Do not use CHECK_1.
17301         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17302         <bp-checks.h>.
17303         (__fxstatat64): Do not use CHECK_1.
17304         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17305         <bp-checks.h>.
17306         (__fxstat): Do not use CHECK_1.
17307         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17308         <bp-checks.h>.
17309         (__fxstatat): Do not use CHECK_1.
17310         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17311         <bp-checks.h>.
17312         (__getresgid): Do not use CHECK_1.
17313         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17314         <bp-checks.h>.
17315         (__getresuid): Do not use CHECK_1.
17316         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17317         <bp-checks.h>.
17318         (__lxstat): Do not use CHECK_1.
17319         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17320         <bp-checks.h>.
17321         (__old_msgctl): Do not use CHECK_1.
17322         (__new_msgctl): Likewise.
17323         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17324         <bp-checks.h>.
17325         (__new_setrlimit): Do not use CHECK_1.
17326         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17327         <bp-checks.h>.
17328         (__old_shmctl): Do not use CHECK_1.
17329         (__new_shmctl): Likewise.
17330         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17331         <bp-checks.h>.
17332         (__xstat): Do not use CHECK_1.
17333         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17334         (__lxstat): Do not use CHECK_1.
17335         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17336         <bp-checks.h>.
17337         (___lxstat64): Do not use CHECK_1.
17338         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17339         (__old_msgctl): Do not use CHECK_1.
17340         (__new_msgctl): Likewise.
17341         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17342         <bp-checks.h>.
17343         (__gettimeofday): Do not use CHECK_1.
17344         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17345         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17346         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17347         <bp-checks.h>.
17348         (__gettimeofday): Do not use CHECK_1.
17349         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17350         (__old_shmctl): Do not use CHECK_1_NULL_OK.
17351         (__new_shmctl): Do not use CHECK_1.
17352         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17353         <bp-checks.h>.
17354         (do_sigtimedwait): Do not use CHECK_1.
17355         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17356         <bp-checks.h>.
17357         (do_sigwaitinfo): Do not use CHECK_1.
17358         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17359         <bp-checks.h>.
17360         (msgctl): Do not use CHECK_1.
17361         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17362         <bp-checks.h>.
17363         (shmctl): Do not use CHECK_1.
17364         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17365         (ustat): Do not use CHECK_1.
17366         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17367         <bp-checks.h>.
17368         (__fxstat): Do not use CHECK_1.
17369         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17370         <bp-checks.h>.
17371         (__fxstatat): Do not use CHECK_1.
17372         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17373         <bp-checks.h>.
17374         (__lxstat): Do not use CHECK_1.
17375         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17376         <bp-checks.h>.
17377         (__xstat): Do not use CHECK_1.
17378         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17379         (__xstat): Do not use CHECK_1.
17380         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17381         (___xstat64): Do not use CHECK_1.
17383         [BZ #13550]
17384         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17385         definitions.
17386         (CHECK_BOUNDS_HIGH): Likewise.
17387         * string/strcpy.c: Do not include <bp-checks.h>.
17388         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17390 2013-02-07  Roland McGrath  <roland@hack.frob.com>
17392         * nscd/nscd-client.h (__nscd_drop_map_ref):
17393         Add __attribute__ ((unused)).
17394         * nis/nss-nisplus.h (niserr2nss): Likewise.
17396         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17397         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17399         * csu/libc-tls.c (init_static_tls, init_slotinfo):
17400         Remove inline keyword.
17401         * include/rounding-mode.h (round_away): Likewise.
17402         * libio/wfileops.c (adjust_wide_data): Likewise.
17403         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17404         (__m128i_strloadu_tolower): Likewise.
17405         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17406         (__m128i_strloadu_tolower): Likewise.
17407         * time/mktime.c (ydhms_diff): Likewise.
17408         * locale/elem-hash.h (elem_hash): Likewise.
17409         * locale/setlocale.c (setdata): Likewise.
17410         * posix/regex_internal.h (re_string_char_size_at): Likewise.
17411         (re_string_wchar_at): Likewise.
17412         (bitset_not, bitset_merge, bitset_mask): Likewise.
17413         [!(__GNUC__ > 3)] (inline): Remove macro.
17414         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17415         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17416         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17417         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17418         * string/memcmp.c (memcmp_bytes): Likewise.
17419         * locale/programs/locarchive.c (compute_hashval): Likewise.
17420         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17421         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17422         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17423         * nss/getent.c (print_rpc, print_protocols): Likewise.
17424         (print_passwd, print_group, print_aliases): Likewise.
17425         * nis/nss-nisplus.h (niserr2nss): Likewise.
17426         * nscd/connections.c (restart_p): Likewise.
17427         Change return type to bool.
17429 2013-02-05  Roland McGrath  <roland@hack.frob.com>
17431         * Makeconfig (all-Depend-files): Add existing
17432         $(sorted-subdirs:=/Depend) files.
17433         (all-subdirs): Remove nss.
17434         * sysdeps/unix/inet/Subdirs: Add it here instead.
17435         * hesiod/Depend: New file.
17437         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17438         instead of calling alloca.
17440         * io/lseek.c (__lseek): Rename to __libc_lseek.
17441         Define __lseek as an alias.
17443         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17445 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
17447         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17448         else clause and remove check for non-standard endianness.
17450 2013-02-04  David S. Miller  <davem@davemloft.net>
17452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17454 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
17456         [BZ #13550]
17457         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17458         (__ubp_memchr): Remove prototype.
17459         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17460         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17461         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17462         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17463         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17464         Remove alias.
17465         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17466         (__ubp_memchr): Likewise.
17467         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17468         (__ubp_memchr): Likewise.
17469         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17470         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17471         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17472         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17473         CHECK_STRING.
17474         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17475         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17476         (__getcwd): Do not use CHECK_STRING.
17477         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17478         <bp-checks.h>.
17479         (__real_chown): Do not use CHECK_STRING.
17480         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17481         <bp-checks.h>.
17482         (fchownat): Do not use CHECK_STRING.
17483         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17484         CHECK_STRING.
17485         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17486         <bp-checks.h>.
17487         (__lchown): Do not use CHECK_STRING.
17488         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17489         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17490         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17491         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17493         include <bp-checks.h>.
17494         (truncate64): Do not use CHECK_STRING.
17495         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17496         <bp-checks.h>.
17497         (__real_chown): Do not use CHECK_STRING.
17498         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17499         <bp-checks.h>.
17500         (__lchown): Do not use CHECK_STRING.
17501         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17502         <bp-checks.h>.
17503         (__chown): Do not use CHECK_STRING.
17504         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17505         <bp-checks.h>.
17506         (truncate64): Do not use CHECK_STRING.
17507         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17508         Likewise.
17509         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17510         (__xmknod): Do not use CHECK_STRING.
17511         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17512         <bp-checks.h>.
17513         (__xmknodat): Do not use CHECK_STRING.
17514         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17515         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17517 2013-02-04  Andreas Schwab  <schwab@suse.de>
17519         [BZ #14142]
17520         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17521         * include/netdb.h: Likewise for h_errno.
17522         * elf/tst-stackguard1.c: Include <tls.h>.
17524 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
17526         * elf/link.h (struct link_map): Extend the l_addr comment.
17527         * include/link.h (struct link_map): Likewise.
17529 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
17531         [BZ #13550]
17532         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17533         (BOUNDED_1): Remove macro.
17534         * debug/backtrace.c: Don't include <bp-checks.h>.
17535         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17536         (__backtrace): Likewise.
17537         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17538         <bp-checks.h>.
17539         (__backtrace): Don't use BOUNDED_1.
17540         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17541         <bp-checks.h>.
17542         (__backtrace): Don't use BOUNDED_1.
17543         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17544         (__backtrace): Don't use BOUNDED_1.
17545         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17546         (shmat): Don't use BOUNDED_N.
17548 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
17550         [BZ #13550]
17551         * sysdeps/generic/bp-start.h: Remove file.
17552         * csu/libc-start.c: Don't include <bp-start.h>.
17553         (LIBC_START_MAIN): Set up __environ directly instead of using
17554         INIT_ARGV_and_ENVIRON.
17555         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17556         <bp-start.h>.
17558         [BZ #13550]
17559         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17560         definitions.
17561         (CHECK_FCNTL): Likewise.
17562         (CHECK_N_PAGES): Likewise.
17564         [BZ #13550]
17565         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17566         definitions.
17567         (CHECK_SIGSET_NULL_OK): Likewise.
17568         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17569         <bp-checks.h>.
17570         (sigpending): Don't use CHECK_SIGSET.
17571         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17572         <bp-checks.h>.
17573         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17574         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17575         <bp-checks.h>.
17576         (do_sigsuspend): Don't use CHECK_SIGSET.
17577         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17578         use CHECK_SIGSET.
17579         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17580         (do_sigwait): Don't use CHECK_SIGSET.
17581         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17582         use CHECK_SIGSET.
17583         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17584         include <bp-checks.h>.
17585         (sigpending): Don't use CHECK_SIGSET.
17586         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17587         include <bp-checks.h>.
17588         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17589         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17590         <bp-checks.h>.
17591         (sigpending): Don't use CHECK_SIGSET.
17592         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17593         <bp-checks.h>.
17594         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17596         [BZ #13550]
17597         * sysdeps/generic/bp-semctl.h: Remove file.
17598         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17599         <bp-checks.h> and <bp-semctl.h>.
17600         (__old_semctl): Don't use CHECK_SEMCTL.
17601         (__new_semctl): Likewise.
17602         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17603         and <bp-semctl.h>.
17604         (__old_semctl): Don't use CHECK_SEMCTL.
17605         (__new_semctl): Likewise.
17606         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17607         <bp-checks.h> and <bp-semctl.h>.
17608         (__old_semctl): Don't use CHECK_SEMCTL.
17609         (__new_semctl): Likewise.
17610         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17611         <bp-checks.h> and <bp-semctl.h>.
17612         (semctl): Don't use CHECK_SEMCTL.
17614         [BZ #13550]
17615         * Makerules (elide-bp-thunks): Remove variable.
17616         (elide-routines.oS): Don't use $(elide-bp-thunks).
17617         (elide-routines.os): Likewise.
17618         (elide-routines.o): Likewise.
17619         (elide-routines.op): Likewise.
17620         (elide-routines.og): Likewise.
17621         (objects): Don't use $(bp-thunks).
17622         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17623         include.
17624         (common-generated): Do not add s-proto-bp.d.
17625         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17626         (int): Likewise.
17627         (typ): Likewise.
17628         Do not generate makefile rules for bounded-pointer thunks.
17629         * sysdeps/generic/bp-thunks.h: Remove file.
17630         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17631         * sysdeps/unix/s-proto-bp.S: Likewise.
17633         [BZ #15062]
17634         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17635         parts of result separately when argument is not close to line from
17636         -i to i and one part of argument is small.
17637         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17638         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17639         * math/libm-test.inc (cacos_test): Add more tests.
17640         (casin_test): Likewise.
17641         (casinh_test): Likewise.
17642         * sysdeps/i386/fpu/libm-test-ulps: Update.
17643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17645 2013-01-31  David S. Miller  <davem@davemloft.net>
17647         * po/de.po: Update from translation team.
17649 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
17651         * time/tzfile.c: Include stdint.h for SIZE_MAX.
17653 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
17655         * configure.in (_AC_PROG_CC_C89): New definition.
17656         * configure: Regenerate.
17658         * configure.in (AC_PROG_CPP): New definition.
17659         * configure: Regenerate.
17661 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17663         * debug/tst-backtrace.h: New file.
17664         * debug/tst-backtrace2.c: Include tst-backtrace.h.
17665         (ret): Remove variable.
17666         (x): Likewise.
17667         (FAIL): Remove macro.
17668         (NO_INLINE): Likewise.
17669         (fn1): Use match function instead of strstr.
17670         * debug/tst-backtrace3.c: Include tst-backtrace.h.
17671         (ret): Remove variable.
17672         (x): Likewise.
17673         (FAIL): Remove macro.
17674         (NO_INLINE): Likewise.
17675         (fn): Use match function instead of strstr.
17676         * debug/tst-backtrace4.c: Include tst-backtrace.h.
17677         (ret): Remove variable.
17678         (x): Likewise.
17679         (FAIL): Remove macro.
17680         (NO_INLINE): Likewise.
17681         (handle_signal): Use match function instead of strstr.
17682         * debug/tst-backtrace5.c: Include tst-backtrace.h.
17683         (ret): Remove variable.
17684         (x): Likewise.
17685         (FAIL): Remove macro.
17686         (NO_INLINE): Likewise.
17687         (handle_signal): Use match function instead of strstr.
17689 2013-01-23  Roland McGrath  <roland@hack.frob.com>
17691         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17693 2013-01-23  David S. Miller  <davem@davemloft.net>
17695         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17696         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17697         argument of CAS if possible.
17698         * sysdeps/sparc/sparc64/bits/atomic.h
17699         (__arch_compare_and_exchange_val_32_acq): Likewise.
17700         (__arch_compare_and_exchange_val_64_acq): Likewise.
17702 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
17704         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17705         * sysdeps/posix/ulimit.c: ... this.
17706         Include <limits.h>.
17707         * sysdeps/unix/bsd/ulimit.c: Remove file.
17709 2013-01-23  Adam Conrad  <adconrad@0c3.net>
17711         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17712         (LDFLAGS-tst-array5): Likewise.
17714 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17716         [BZ #15036]
17717         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17718         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17719         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17720         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17722 2013-01-21  David S. Miller  <davem@davemloft.net>
17724         * sysdeps/sparc/backtrace.c: New file.
17725         * sysdeps/sparc/sparc32/backtrace.h: New file.
17726         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17727         * sysdeps/sparc/sparc64/backtrace.h: New file.
17728         * sysdeps/sparc/sparc64/backtrace.c: Delete.
17729         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17730         -funwind-tables.
17732 2013-01-21  Andreas Schwab  <schwab@suse.de>
17734         [BZ #15020]
17735         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17736         closed its stdout.
17738 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
17740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17741         "mpa2.h".
17742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17744 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
17745             Mark Mitchell  <mark@codesourcery.com>
17746             Tom de Vries  <tom@codesourcery.com>
17747             Paul Pluzhnikov  <ppluzhnikov@google.com>
17749         * debug/tst-backtrace2.c: New file.
17750         * debug/tst-backtrace3.c: Likewise.
17751         * debug/tst-backtrace4.c: Likewise.
17752         * debug/tst-backtrace5.c: Likewise.
17753         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17754         (CFLAGS-tst-backtrace3.c): Likewise.
17755         (CFLAGS-tst-backtrace4.c): Likewise.
17756         (CFLAGS-tst-backtrace5.c): Likewise.
17757         (LDFLAGS-tst-backtrace2): Likewise.
17758         (LDFLAGS-tst-backtrace3): Likewise.
17759         (LDFLAGS-tst-backtrace4): Likewise.
17760         (LDFLAGS-tst-backtrace5): Likewise.
17761         (tests): Add new tests tst-backtrace2, tst-backtrace3,
17762         tst-backtrace4 and tst-backtrace5.
17764 2013-01-18  Anton Blanchard  <anton@samba.org>
17765             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17767         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17768         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17769         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17770         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17772         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17773         "+r" and remove output regs list as redundant.  Add explicit inline
17774         asm to specify register of return val to work around compiler codegen
17775         bug.  Remove (int) cast on return value.  Add return type parameter to
17776         use in macro so that this macro does not truncate return value for
17777         64-bit values.
17778         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17779         pass to INTERNAL_VSYSCALL_NCS.
17780         (INLINE_VSYSCALL): Add 'long int' as return type to
17781         INTERNAL_VSYSCALL_NCS macro invocation.
17782         (INTERNAL_VSYSCALL): Add 'long int' as return type to
17783         INTERNAL_VSYSCALL_NCS macro invocation.
17784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17786 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17788         [BZ #14496]
17789         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17790         Fix application of SIMD FP exception mask.
17792         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17793         mp_no from a power of two.
17794         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17795         __mpexp_twomm1.  Use __pow_mp.
17797         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17798         multiplication.
17800 2013-01-17  David S. Miller  <davem@davemloft.net>
17802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17804 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
17806         [BZ #15023]
17807         * include/complex.h: Condition contents on [!_COMPLEX_H].
17808         (__kernel_casinhf): New prototype.
17809         (__kernel_casinh): Likewise.
17810         (__kernel_casinhl): Likewise.
17811         * math/Makefile (libm_calls): Add k_casinh.
17812         * math/k_casinh.c: New file.
17813         * math/k_casinhf.c: Likewise.
17814         * math/k_casinhl.c: Likewise.
17815         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17816         finite nonzero arguments.
17817         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17818         finite nonzero arguments.
17819         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17820         finite nonzero arguments.
17821         * math/s_casinh.c: Do not include <float.h>.
17822         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17823         * math/s_casinhf.c: Do not include <float.h>.
17824         (__casinhf): Move code for finite nonzero arguments to
17825         k_casinhf.c.
17826         * math/s_casinhl.c: Do not include <float.h>.
17827         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17828         redefine.
17829         (__casinhl): Move code for finite nonzero arguments to
17830         k_casinhl.c.
17831         * math/libm-test.inc (cacos_test): Add more tests.
17832         * sysdeps/i386/fpu/libm-test-ulps: Update.
17833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17835 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
17837         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17838         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17839         [!HAVE_MREMAP]: Remove [defined linux] case.
17840         * malloc/arena.c: Do not include <malloc-sysdep.h>.
17842 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17844         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17846 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
17848         * elf/elf.h (R_386_SIZE32): New relocation.
17849         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17850         R_386_SIZE32.
17851         (elf_machine_rela): Likewise.
17852         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17853         R_X86_64_SIZE64 and R_X86_64_SIZE32.
17855 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
17857         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17858         (FP_FAST_FMA): Do not define.
17859         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17860         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17861         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17862         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17863         !_SOFT_FLOAT]: Likewise.
17864         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17865         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17866         value.
17867         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17868         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17869         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17870         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17871         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17872         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17873         file.
17875 2013-01-16  Andreas Schwab  <schwab@suse.de>
17877         [BZ #14327]
17878         * include/stdlib.h (__mktemp): Add declaration.
17879         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17880         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17882 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17884         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17885         definitions.
17886         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17887         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17888         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17889         definitions here.
17890         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17891         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17892         definitions.
17893         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17894         and ONE.
17895         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17896         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17897         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17898         definitions.
17899         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17900         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17901         definitions.
17902         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17904         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17906 2013-01-15  David S. Miller  <davem@davemloft.net>
17908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17909         trunc{,f} to libm-sysdep_routes.
17910         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17912         file.
17913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17915         file.
17916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17917         file.
17918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17920         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17921         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17922         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17923         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17924         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17925         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17928         nearbyint{,f} to libm-sysdep_routes.
17929         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17931         New file.
17932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17933         file.
17934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17935         New file.
17936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17937         file.
17938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17940         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17941         file.
17942         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17943         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17944         file.
17945         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17946         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17947         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17949         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17950         libc_feholdexcept and libc_fesetenv.
17952 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
17954         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17956 2013-01-14  David S. Miller  <davem@davemloft.net>
17958         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17959         (SPARC_ASM_VIS2_IFUNC): Likewise.
17960         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17962         use of 'siam' instruction.
17963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17964         Likewise.
17965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17966         Likewise.
17967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17968         Likewise.
17969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17970         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17974         file.
17975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17976         file.
17977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17978         file.
17979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17980         file.
17981         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17982         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17983         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17984         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17986         new VIS2 routines.
17987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17990         Likewise.
17991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17993         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17994         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17996         routines to libm-sysdep_routines.
17997         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18000         fdim/fdimf to libm-sysdep_routines.
18001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18002         file.
18003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18005         file.
18006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18009         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18010         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18011         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18012         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18014 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18016         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18017         to optimize copies.
18019         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18020         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18021         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18023         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18024         local variable MPTWO.
18025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18026         Likewise.
18028 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18030         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18031         GLOB_NOESCAPE.
18033 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18035         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18037 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
18039         * manual/pattern.texi (glob_t): Document gl_flags.
18040         (glob64_t): Likewise.
18042 2013-01-11  David S. Miller  <davem@davemloft.net>
18044         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18045         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18046         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
18047         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18048         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18049         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18050         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18051         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18052         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18053         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18054         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18055         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18056         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18058         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18059         sparc V9 rather than using V8 code.
18060         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18061         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18063         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18064         Move to...
18065         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18066         Here.
18068 2013-01-11  Roland McGrath  <roland@hack.frob.com>
18070         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18071         not in the main loop.
18072         * configure: Regenerated.
18074 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
18076         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18077         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18078         to just #else.
18079         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
18080         [!__GLIBC_HAVE_LONG_LONG] case.
18081         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18082         condition to just #else.
18083         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18084         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18085         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18086         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18087         unconditional.
18088         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18089         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18090         #elif condition to just #else.
18091         * sysdeps/unix/sysv/linux/sys/sysmacros.h
18092         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18093         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18094         #elif condition to just #else.
18096 2013-01-11  Steve Ellcey  <sellcey@mips.com>
18098         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18099         (EF_MIPS_ARCH_64): Fix value.
18100         (EF_MIPS_ARCH_32R2): New.
18101         (EF_MIPS_ARCH_64R2): New.
18103 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
18105         * Makeconfig (+link-pie-before-libc): New.
18106         (+link-pie-after-libc): Likewise.
18107         (+link-pie-tests): Likewise.
18108         (+link-pie): Rewritten.
18109         (link-before-libc): Remove $(config-LDFLAGS).
18110         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18111         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18112         (config-LDFLAGS): Renamed to ...
18113         (rtld-LDFLAGS): This.
18114         (rtld-tests-LDFLAGS): New macro.
18115         (link-libc-rpath-link): Likewise.
18116         (link-libc-tests-rpath-link): Likewise.
18117         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18118         (link-libc): Prepand $(link-libc-rpath-link).
18119         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18120         (test-program-prefix): New macro.
18121         (test-via-rtld-prefix): Likewise.
18122         (test-program-cmd): Likewise.
18123         (host-test-program-cmd): Likewise.
18124         * Makefile ($(common-objpfx)testrun.sh): Replace
18125         $(run-program-prefix) with $(test-program-prefix).
18126         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18127         $(rtld-LDFLAGS).
18128         ($(common-objpfx)shlib.lds): Likewise.
18129         (build-module-helper): Likewise.
18130         ($(common-objpfx)format.lds): Likewise.
18131         * Rules (binaries-pie-tests): New.
18132         (binaries-pie-notests): Likewise.
18133         (binaries-pie): Rewritten.
18134         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18135         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18136         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18137         (make-test-out): Replace $(host-built-program-cmd) with
18138         $(host-test-program-cmd).
18139         * config.make.in (build-hardcoded-path-in-tests): New variable.
18140         * configure.in (--enable-hardcoded-path-in-tests): New configure
18141         option.
18142         (hardcoded_path_in_tests): New AC_SUBST.
18143         * configure: Regenerated.
18144         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18145         $(built-program-cmd) with $(test-program-cmd).
18146         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18147         (test_program_cmd): This.
18148         * elf/Makefile ($(objpfx)order.out): Run test with
18149         $(test-program-prefix).
18150         ($(objpfx)order2.out): Likewise.
18151         ($(objpfx)tst-initorder.out): Likewise.
18152         ($(objpfx)tst-initorder2.out): Likewise.
18153         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18154         $(test-program-cmd).
18155         ($(objpfx)tst-array1-static.out): Likewise.
18156         ($(objpfx)tst-array2.out): Likewise.
18157         ($(objpfx)tst-array3.out): Likewise.
18158         ($(objpfx)tst-array4.out): Likewise.
18159         ($(objpfx)tst-array5.out): Likewise.
18160         ($(objpfx)tst-array5-static.out): Likewise.
18161         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18162         $(test-program-cmd).
18163         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18164         $(run-program-prefix) with $(test-program-prefix).
18165         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18166         (test_program_prefix): This.
18167         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18168         $(run-program-prefix) with $(test-program-prefix).
18169         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18170         (test_program_prefix): This.
18171         * iconvdata/tst-tables.sh: Likewise.
18172         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18173         $(run-program-prefix) with $(test-program-prefix).
18174         ($(objpfx)tst-translit.out): Likewise.
18175         ($(objpfx)tst-gettext2.out): Likewise.
18176         ($(objpfx)tst-gettext4.out): Likewise.
18177         ($(objpfx)tst-gettext6.out): Likewise.
18178         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18179         (test_program_prefix): This.
18180         * intl/tst-gettext2.sh: Likewise.
18181         * intl/tst-gettext4.sh  Likewise.
18182         * intl/tst-gettext6.sh: Likewise.
18183         * intl/tst-translit.sh: Likewise.
18184         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18185         with $(test-program-cmd).
18186         * libio/Makefile ($(objpfx)test-freopen.out): Replace
18187         $(run-program-prefix) with $(test-program-prefix).
18188         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18189         (test_program_prefix): This.
18190         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18191         $(run-program-prefix) with $(test-program-prefix).
18192         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18193         (test_program_prefix): This.
18194         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18195         * posix/Makefile ($(objpfx)globtest.out): Replace
18196         $(run-via-rtld-prefix) and $(test-wrapper) with
18197         $(test-program-prefix) and $(test-via-rtld-prefix).
18198         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18199         $(test-program-prefix).
18200         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18201         $(host-test-program-cmd).
18202         (tst-spawn-ARGS): Likewise.
18203         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18204         $(test-program-prefix).
18205         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18206         (test_via_rtld_prefix): This.
18207         (test_wrapper): Renamed to ...
18208         (test_program_prefix): This.
18209         (run_program_prefix): Replaced by test_program_prefix.
18210         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18211         (test_program_prefix): This.
18212         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18213         with $(host-test-program-cmd).
18214         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18215         $(run-program-prefix) with $(test-program-prefix).
18216         ($(objpfx)tst-printf.out): Likewise.
18217         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18218         $(test-program-cmd).
18219         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18220         (test_program_prefix): This.
18221         * stdio-common/tst-unbputc.sh: Likewise.
18222         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18223         $(run-program-prefix) with $(test-program-prefix).
18224         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18225         (test_program_prefix): This.
18226         * string/Makefile ($(objpfx)tst-svc.out):  Replace
18227         $(built-program-cmd) with $(test-program-cmd).
18229 2013-01-11  Andreas Jaeger  <aj@suse.de>
18231         [BZ #15003]
18232         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18233         value. Sync with Linux 3.7.
18235 2013-01-10  David S. Miller  <davem@davemloft.net>
18237         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18238         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18239         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18241 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18243         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18244         never set.
18245         * configure: Regenerated.
18247 2013-01-10  David S. Miller  <davem@davemloft.net>
18249         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18250         sparc V9 rather than using V8 code.
18251         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18252         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18254 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18256         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18257         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18258         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18259         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18260         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18261         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18262         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18263         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18264         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18265         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18266         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18267         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18268         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18269         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18270         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18271         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18272         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18273         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18274         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18275         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18276         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18277         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18278         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18279         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18280         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18281         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18282         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18284 2013-01-10  David S. Miller  <davem@davemloft.net>
18286         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18288 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18290         * posix/Makefile (tests-static): New variable.
18291         (tests): Add $(tests-static).
18292         (tst-exec-static-ARGS): New variable.
18293         (tst-spawn-static-ARGS): Likewise.
18294         * posix/tst-exec-static.c: New file.
18295         * posix/tst-spawn-static.c: Likewise.
18296         * posix/tst-exec.c: Support run directly.
18297         * posix/tst-spawn.c: Likewise.
18299 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
18301         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18302         long.
18303         * math/bits/mathcalls.h (llrint): Likewise.
18304         (llround): Likewise.
18305         * stdlib/stdlib.h (struct drand48_data): Likewise.
18306         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18307         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18308         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18309         Likewise.
18310         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18311         Likewise.
18312         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18313         (elf_greg_t): Likewise.
18314         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18315         (__jmp_buf): Likewise.
18316         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18317         definitions.
18318         (llrint): Likewise, for all definitions.
18319         (llrintl): Likewise.
18321         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18322         Remove [__GNUC__] condition.
18323         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18324         condition to just [__USE_ISOC99].
18325         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18327 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18329         [BZ #14200]
18330         * sysdeps/unix/sysv/linux/x86/bits/environments.h
18331         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18332         defined.
18333         (_POSIX_V6_ILP32_OFF32): Likewise.
18334         (_XBS5_ILP32_OFF32): Likewise.
18335         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18336         (__ILP32_OFFBIG_LDFLAGS): Likewise.
18338 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18340         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18342         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18343         doubles __mpexp_twomm1.  Adjust usage.
18344         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18345         Remove.
18347 2013-01-10  Andreas Schwab  <schwab@suse.de>
18349         [BZ #14964]
18350         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18351         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18353 2013-01-09  David S. Miller  <davem@davemloft.net>
18355         [BZ #15003]
18356         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18357         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18358         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18359         TCP_FASTOPEN): Define.
18360         (tcp_repair_opt): New structure.
18361         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18362         enum values.
18363         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18364         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18365         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18366         (tcp_cookie_transactions): New structure.
18368 2013-01-09  Anton Blanchard  <anton@samba.org>
18370         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18371         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18372         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18373         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18375 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
18377         * include/features.h (__USE_ANSI): Remove.
18379 2013-01-09  Roland McGrath  <roland@hack.frob.com>
18381         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18383         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18385 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18387         * sysdeps/s390/fpu/libm-test-ulps: Update.
18389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18391         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18392         (__acr): Likewise.
18393         (__cpy): Likewise.
18394         (norm): Likewise.
18395         (denorm): Likewise.
18396         (__mp_dbl): Likewise.
18397         (__dbl_mp): Likewise.
18398         (add_magnitudes): Likewise.
18399         (sub_magnitudes): Likewise.
18400         (__add): Likewise.
18401         (__sub): Likewise.
18402         (__mul): Likewise.
18403         (__inv): Likewise.
18404         (__dvd): Likewise.
18405         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18406         (__acr): Likewise.
18407         (__cpy): Likewise.
18408         (norm): Likewise.
18409         (denorm): Likewise.
18410         (__mp_dbl): Likewise.
18411         (__dbl_mp): Likewise.
18412         (add_magnitudes): Likewise.
18413         (sub_magnitudes): Likewise.
18414         (__add): Likewise.
18415         (__sub): Likewise.
18416         (__mul): Likewise.
18417         (__inv): Likewise.
18418         (__dvd): Likewise.
18419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18420         (__acr): Likewise.
18421         (__cpy): Likewise.
18422         (norm): Likewise.
18423         (denorm): Likewise.
18424         (__mp_dbl): Likewise.
18425         (__dbl_mp): Likewise.
18426         (add_magnitudes): Likewise.
18427         (sub_magnitudes): Likewise.
18428         (__add): Likewise.
18429         (__sub): Likewise.
18430         (__mul): Likewise.
18431         (__inv): Likewise.
18432         (__dvd): Likewise.
18434 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
18436         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18437         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18438         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18439         2 && __USE_EXTERN_INLINES]: Likewise.
18441 2013-01-08  Andreas Jaeger  <aj@suse.de>
18443         [BZ# 14985]
18444         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18445         Remove.
18446         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18447         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18449 2013-01-07  Anton Blanchard  <anton@samba.org>
18451         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18452         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18453         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18454         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18455         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18456         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18457         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18458         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18460         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18461         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18462         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18463         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18464         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18465         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18466         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18467         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18468         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18469         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18470         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18471         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18472         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18473         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18474         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18475         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18476         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18477         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18478         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18479         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18480         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18481         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18483         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18484         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18485         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18486         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18487         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18488         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18489         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18490         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18491         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18492         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18493         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18495 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
18497         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18498         (__MALLOC_PMT): Likewise.
18499         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18500         [__GNUC__], only on [_LIBC].
18501         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18502         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18503         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18504         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18505         forward declaration.
18506         (realloc_hook_ini): Likewise.
18507         (memalign_hook_ini): Likewise.
18508         (__libc_memalign): Do not use __MALLOC_PMT in variable
18509         declaration.
18510         (__libc_valloc): Likewise.
18511         (__libc_pvalloc): Likewise.
18512         (__libc_calloc): Likewise.
18513         (__posix_memalign): Likewise.
18515         [BZ #14996]
18516         * math/s_casinh.c: Include <float.h>.
18517         (__casinh): Do not do computation with squaring and square root
18518         for large arguments.
18519         * math/s_casinhf.c: Include <float.h>.
18520         (__casinhf): Do not do computation with squaring and square root
18521         for large arguments.
18522         * math/s_casinhl.c: Include <float.h>.
18523         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18524         (__casinhl): Do not do computation with squaring and square root
18525         for large arguments.
18526         * math/libm-test.inc (casin_test): Add more tests.
18527         (casinh_test): Likewise.
18528         * sysdeps/i386/fpu/libm-test-ulps: Update.
18529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18531 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
18533         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18534         (__x86_64_raw_data_cache_size): Likewise.
18535         (__x86_64_data_cache_size_half): Likewise.
18536         (__x86_64_raw_data_cache_size_half): Likewise.
18537         (__x86_64_shared_cache_size): Likewise.
18538         (__x86_64_raw_shared_cache_size): Likewise.
18539         (__x86_64_shared_cache_size_half): Likewise.
18540         (__x86_64_raw_shared_cache_size_half): Likewise.
18541         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18542         to ...
18543         (__x86_data_cache_size): This.
18544         (__x86_64_raw_data_cache_size): Renamed to ...
18545         (__x86_raw_data_cache_size): This.
18546         (__x86_64_data_cache_size_half): Renamed to ...
18547         (__x86_data_cache_size_half): This.
18548         (__x86_64_raw_data_cache_size_half): Renamed to ...
18549         (__x86_raw_data_cache_size_half): This.
18550         (__x86_64_shared_cache_size): Renamed to ...
18551         (__x86_shared_cache_size): This.
18552         (__x86_64_raw_shared_cache_size): Renamed to ...
18553         (__x86_raw_shared_cache_size): This.
18554         (__x86_64_shared_cache_size_half): Renamed to ...
18555         (__x86_shared_cache_size_half): This.
18556         (__x86_64_raw_shared_cache_size_half): Renamed to ...
18557         (__x86_raw_shared_cache_size_half): This.
18558         * sysdeps/x86_64/memcpy.S: Updated.
18559         * sysdeps/x86_64/memset.S: Likewise.
18560         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18561         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18562         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18564 2013-01-04  David S. Miller  <davem@davemloft.net>
18566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18568 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
18570         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18571         1 to avoid redefinition warning.
18572         (__USE_GNU): Don't define.
18573         (init_signaling_nan): Protoize.
18575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18577 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18579         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18580         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18581         (__cpymn): Likewise.
18582         (norm): Remove commented code.
18583         (denorm): Likewise.
18584         (__mp_dbl): Likewise.
18585         (__inv): Likewise.
18586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18587         (__cpymn): Likewise.
18588         (norm): Remove commented code.
18589         (denorm): Likewise.
18590         (__mp_dbl): Likewise.
18591         (__inv): Likewise.
18593         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18594         mp_no value for 1.0 and 2.0.
18595         (norm): Use RADIXI instead of radixi.d.
18596         (denorm): Likewise.
18597         (__mul): Use 0.0 instead of zero.d.
18598         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18599         mp_no value for 1.0 and 2.0.
18600         (norm): Use RADIXI instead of radixi.d.
18601         (denorm): Likewise.
18602         (__mul): Use 0.0 instead of zero.d.
18604 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
18606         [BZ #14994]
18607         * math/s_casinh.c (__casinh): Reduce finite argument to first
18608         quadrant then set signs of results at the end.
18609         * math/s_casinhf.c (__casinhf): Likewise.
18610         * math/s_casinhl.c (__casinhl): Likewise.
18611         * math/libm-test.inc (casin_test): Add more tests.
18612         (casinh_test): Likewise.
18613         * sysdeps/i386/fpu/libm-test-ulps: Update.
18614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18616 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18618         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18620         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18622         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18623         declarations.
18624         (denorm): Likewise.
18625         (__mp_dbl): Likewise.
18626         (__inv): Likewise.
18628         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18629         and adjust the header comment.
18631         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18632         variable name from declaration.
18634 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
18636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18637         Initialize COMMON_CPUID_INDEX_7 element.
18638         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18639         (CPUID_RTM): Likewise.
18640         (HAS_RTM): Likewise.
18641         (COMMON_CPUID_INDEX_7): New enum.
18643 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
18645         [BZ #14981]
18646         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18647         size is zero, record memory as freed.
18649 2013-01-03  Andreas Jaeger  <aj@suse.de>
18651         * po/ia.po: Add new Interlingua translation.
18653 2012-01-03  Allan McRae  <allan@archlinux.org>
18655         * locale/programs/localedef.c: Fix description of '--posix' flag.
18657 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
18659         * NEWS: Update dates in second copyright notice.
18660         * README: Update copyright dates in example.
18661         * manual/libc.texinfo: Update copyright dates.
18662         * scripts/test-installation.pl: Update copyright date in --version
18663         output.
18665         * hurd/ctty-input.c: Fix copyright notice formatting.
18666         * hurd/ctty-output.c: Likewise.
18667         * hurd/dtable.c: Likewise.
18668         * hurd/hurd-raise.c: Likewise.
18669         * hurd/hurdprio.c: Likewise.
18670         * hurd/msgportdemux.c: Likewise.
18671         * misc/sys/file.h: Likewise.
18672         * misc/sys/ioctl.h: Likewise.
18673         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18674         * sysdeps/mach/hurd/chdir.c: Likewise.
18675         * sysdeps/mach/hurd/fchdir.c: Likewise.
18676         * sysdeps/mach/hurd/rename.c: Likewise.
18677         * sysdeps/mach/hurd/rmdir.c: Likewise.
18678         * sysdeps/mach/hurd/seekdir.c: Likewise.
18679         * sysdeps/mach/hurd/setsid.c: Likewise.
18680         * sysdeps/posix/wait3.c: Likewise.
18682         * All files with FSF copyright notices: Update copyright dates
18683         using scripts/update-copyrights.
18684         * intl/plural.c: Regenerated.
18685         * locale/programs/charmap-kw.h: Likewise.
18686         * locale/programs/locfile-kw.h: Likewise.
18688 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18690         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18691         four values.
18693         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18694         calculation loop and add branch prediction.
18696         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18697         check access beyond bounds of m1np.
18699         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18700         MPTWO.
18701         (__inv): Remove local variable MPTWO to use the global
18702         constant.
18703         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18704         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18705         variable MPTWO.
18706         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18707         MP3HALFS static const.
18709 2013-01-01  David S. Miller  <davem@davemloft.net>
18711         * po/ca.po: Update from translation team.
18713 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
18715         * scripts/update-copyrights: New file.
18716         * Makeconfig: Reformat copyright notice.
18717         * ctype/ctype.h: Likewise.
18718         * debug/swprintf_chk.c: Likewise.
18719         * elf/dl-cache.c: Likewise.
18720         * elf/dl-debug.c: Likewise.
18721         * elf/dl-object.c: Likewise.
18722         * grp/initgroups.c: Likewise.
18723         * hurd/Makefile: Likewise.
18724         * hurd/hurd/signal.h: Likewise.
18725         * hurd/hurdfault.c: Likewise.
18726         * hurd/hurdioctl.c: Likewise.
18727         * hurd/hurdlookup.c: Likewise.
18728         * hurd/intr-msg.c: Likewise.
18729         * iconv/gconv_open.c: Likewise.
18730         * libio/swprintf.c: Likewise.
18731         * locale/lc-ctype.c: Likewise.
18732         * locale/nl_langinfo.c: Likewise.
18733         * mach/Machrules: Likewise.
18734         * mach/Makefile: Likewise.
18735         * malloc/obstack.h: Likewise.
18736         * manual/Makefile: Likewise.
18737         * manual/tsort.awk: Likewise.
18738         * misc/bits/stab.def: Likewise.
18739         * nis/nis_print_group_entry.c: Likewise.
18740         * nis/nis_table.c: Likewise.
18741         * nis/nss_compat/compat-pwd.c: Likewise.
18742         * nis/nss_compat/compat-spwd.c: Likewise.
18743         * po/Makefile: Likewise.
18744         * posix/fnmatch.c: Likewise.
18745         * posix/regex.h: Likewise.
18746         * resolv/Makefile: Likewise.
18747         * resolv/nss_dns/dns-network.c: Likewise.
18748         * resolv/res_hconf.c: Likewise.
18749         * scripts/gen-sorted.awk: Likewise.
18750         * soft-fp/soft-fp.h: Likewise.
18751         * stdio-common/printf.h: Likewise.
18752         * stdlib/monetary.h: Likewise.
18753         * stdlib/random.c: Likewise.
18754         * stdlib/random_r.c: Likewise.
18755         * sysdeps/generic/Makefile: Likewise.
18756         * sysdeps/gnu/Makefile: Likewise.
18757         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18758         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18759         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18761         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18762         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18763         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18764         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18765         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18766         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18767         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18768         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18769         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18770         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18771         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18772         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18773         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18774         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18775         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18776         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18777         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18778         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18779         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18780         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18781         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18782         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18783         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18784         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18785         * sysdeps/mach/hurd/errnos.awk: Likewise.
18786         * sysdeps/mach/hurd/fork.c: Likewise.
18787         * sysdeps/mach/hurd/getcwd.c: Likewise.
18788         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18789         * sysdeps/mach/hurd/mmap.c: Likewise.
18790         * sysdeps/mach/hurd/utimes.c: Likewise.
18791         * sysdeps/mach/hurd/xmknod.c: Likewise.
18792         * sysdeps/posix/profil.c: Likewise.
18793         * sysdeps/posix/readdir_r.c: Likewise.
18794         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18795         * sysdeps/powerpc/bits/setjmp.h: Likewise.
18796         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18797         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18798         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18799         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18800         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18801         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18802         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18803         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18804         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18805         * sysdeps/pthread/lio_listio.c: Likewise.
18806         * sysdeps/sparc/dl-procinfo.h: Likewise.
18807         * sysdeps/unix/i386/sysdep.S: Likewise.
18808         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18809         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18810         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18811         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18813         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18814         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18815         * sysdeps/unix/sysv/linux/speed.c: Likewise.
18816         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18817         * sysdeps/wordsize-32/divdi3.c: Likewise.
18818         * time/sys/time.h: Likewise.
18819         * wcsmbs/Makefile: Likewise.
18821 2013-01-01  David S. Miller  <davem@davemloft.net>
18823         * po/fr.po: Update from translation team.
18825         * catgets/gencat.c: Update copyright year.
18826         * csu/version.c: Likewise.
18827         * debug/catchsegv.sh: Likewise.
18828         * debug/pcprofiledump.c: Likewise.
18829         * debug/xtrace.sh: Likewise.
18830         * elf/ldconfig.c: Likewise.
18831         * elf/ldd.bash.in: Likewise.
18832         * elf/pldd.c: Likewise.
18833         * elf/sotruss.ksh: Likewise.
18834         * elf/sprof.c: Likewise.
18835         * iconv/iconv_prog.c: Likewise.
18836         * iconv/iconvconfig.c: Likewise.
18837         * locale/programs/locale.c: Likewise.
18838         * locale/programs/localedef.c: Likewise.
18839         * login/programs/pt_chown.c: Likewise.
18840         * malloc/memusage.sh: Likewise.
18841         * malloc/memusagestat.c: Likewise.
18842         * malloc/mtrace.pl: Likewise.
18843         * nscd/nscd.c: Likewise.
18844         * nss/getent.c: Likewise.
18845         * nss/makedb.c: Likewise.
18846         * posix/getconf.c: Likewise.
18848 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18850         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18851         numbers.
18853 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
18855         * math/bits/mathcalls.h (modf): Use __nonnull.
18857 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18859         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18860         (split): Use macro CN instead of the bare value.
18861         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18862         could be used.
18863         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18864         instead of the bare value.
18865         (power1): Likewise.
18867 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18869         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18870         __ATAN_TWOM.
18871         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18873         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18874         their values.
18875         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18876         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18877         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18878         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18880 2012-12-28  Andreas Jaeger  <aj@suse.de>
18882         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
18883         values are from Linux 3.7.
18885         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18886         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
18888 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18890         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18891         TRUE case.
18893         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18894         (norm): Likewise.
18895         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18896         variables with preprocessor constants.
18897         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18898         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18899         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18901 2012-12-27  Bruno Haible  <bruno@clisp.org>
18903         [BZ #14317]
18904         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18905         only if needed.
18907 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18910         and use variable directly.
18911         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18913         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18914         MPONE.
18915         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18916         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18917         variable MPONE.
18918         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18920         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18921         include directive.  Remove local variable MPONE.
18922         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18923         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18924         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18926 2012-12-25  David S. Miller  <davem@davemloft.net>
18928         * version.h (RELEASE): Set to "development".
18929         (VERSION): Set to "2.17.90".
18930         * NEWS: Add 2.18 section.
18932 2012-12-21  David S. Miller  <davem@davemloft.net>
18934         * po/hr.po: Update from translation team.
18936 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18938         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18940 2012-12-19  Steve Ellcey  <sellcey@mips.com>
18942         * NEWS:  Mention new memcpy for MIPS.
18944 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18946         * manual/contrib.texi (Contributors): Spelling correction.
18948 2012-12-15  David S. Miller  <davem@davemloft.net>
18950         * po/ru.po: Update from translation team.
18952 2012-12-13  David S. Miller  <davem@davemloft.net>
18954         * NEWS: Mention IFUNC testsuite enhancements.
18956         * po/pl.po: Update from translation team.
18957         * po/bg.po: Likewise.
18959         * manual/contrib.texi (Contributors): Update entries for Hongjiu
18960         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
18962 2012-12-11  David S. Miller  <davem@davemloft.net>
18964         * po/sv.po: Update from translation team.
18966         * po/vi.po: Update from translation team.
18968         * po/cs.po: Update from translation team.
18970         * po/de.po: Update from translation team.
18971         * po/eo.po: Likewise.
18972         * po/nl.po: Likewise.
18974 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18976         [BZ #14246]
18977         * manual/argp.texi (Argp Helper Functions): Move node to follow
18978         Argp Parsing State.
18980         [BZ #14872]
18981         * manual/conf.texi (Limits on File System Capacity): Mention if
18982         terminating null is included in the max size.
18984 2012-12-10  Andreas Jaeger  <aj@suse.de>
18986         * po/cs.po: Update from translation team.
18988 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18990         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18991         void pointer and cast to uintptr_t.
18992         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18993         path.
18994         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18995         * sysdeps/s390/s390-64/memset.S: Likewise.
18997 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
18999         [BZ #14833]
19000         * menual/message.texi (Message Translation): Fix typos.
19001         (Helper programs for gettext): Likewise.
19003 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
19005         [BZ #14898]
19006         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19007         Change to -1.
19009 2012-12-07  David S. Miller  <davem@davemloft.net>
19011         * po/libc.pot: Update.
19013 2012-12-07  Richard Henderson  <rth@redhat.com>
19015         [BZ #10114]
19016         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19017         normal/normal case to before the switch.
19018         (_FP_DIV): Likewise.
19020 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
19021             Mike Frysinger  <vapier@gentoo.org>
19023         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19024         check for __NR_fadvise64_64.
19026 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
19028         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19029         0, not just to plain "0" as a statement.
19030         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19031         with cw.
19033 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
19035         * NEWS: Use sourceware.org in Bugzilla URL.
19037 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19040         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19042         * stdio-common/tst-put-error.c (do_test): Add newline to the
19043         padded test to ensure flush.
19045 2012-12-05  Jeff Law  <law@redhat.com>
19047         * sunrpc/etc.rpc (fedfs_admin): Add entry.
19049 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
19051         * README: Don't refer to ports add-on as distributed separately.
19052         Mention AArch64 in list of systems supported in the ports add-on.
19054         * LICENSES: Add more non-FSF copyright and license notices.
19056         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19057         ((unused)).
19059         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19061         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19062         10000 as width of padded output.
19064 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19066         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19068         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19069         variable LX with __attribute__ ((unused)).
19070         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19071         Likewise.
19072         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19073         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19074         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19075         with __attribute__ ((unused)).
19077 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
19079         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19081 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
19083         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19084         (CFLAGS-nldbl-acos.c): New variable.
19085         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19086         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19087         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19088         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19089         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19090         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19091         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19092         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19093         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19094         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19095         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19096         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19097         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19098         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19099         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19100         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19101         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19102         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19103         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19104         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19105         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19106         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19107         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19108         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19109         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19110         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19111         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19112         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19113         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19114         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19115         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19116         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19117         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19118         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19119         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19120         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19121         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19122         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19123         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19124         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19125         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19126         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19127         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19128         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19129         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19130         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19131         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19132         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19133         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19134         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19135         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19136         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19137         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19138         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19139         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19140         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19141         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19142         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19143         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19144         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19145         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19146         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19147         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19148         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19149         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19150         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19151         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19152         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19153         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19154         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19155         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19156         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19157         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19158         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19159         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19160         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19161         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19162         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19163         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19164         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19165         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19166         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19167         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19168         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19169         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19170         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19171         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19172         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19173         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19174         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19175         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19176         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19177         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19178         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19179         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19180         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19181         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19184         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19186         [BZ #14914]
19187         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19188         whole low double instead of just low 47 bits when splitting values
19189         into two parts.
19191 2012-12-03  Allan McRae  <allan@archlinux.org>
19193         * manual/stdio.texi (Predefined Printf Handlers): Remove
19194         @hsep and @vsep usage.
19196 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
19198         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19199         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19201 2012-12-03  Jeff Law  <law@redhat.com>
19203         * time/sys/time.h (settimeofday): Do not mark TV argument
19204         as __nonnull.
19206 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
19208         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19209         when currently writing and seek to current position when not.
19210         * libio/Makefile (tests): Remove bug-fclose1.
19211         * libio/bug-fclose1.c: Delete.
19213 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
19215         * manual/arith.texi (feenableexcept): Fix typo.
19216         (fedisableexcept): Likewise.
19218 2012-11-30  Roland McGrath  <roland@hack.frob.com>
19220         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19221         second, differently-typed declaration, rather than a cast.
19223 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19225         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19226         * include/rpc/svc.h: ... here.
19228 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
19230         [BZ #13013]
19231         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19232         depending n and resplen2 to catch cases where answer
19233         equals answerp2.
19235 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
19237         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19238         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19240 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
19242         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19244 2012-11-29  Roland McGrath  <roland@hack.frob.com>
19246         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19248 2012-11-28  Jeff Law  <law@redhat.com>
19250         [BZ #13761]
19251         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19252         dataset_temporary.  Track alloca usage into alloca_used.
19253         If dataset is large allocate and release it via malloc/free.
19255 2012-06-04  Florian Weimer  <fweimer@redhat.com>
19257         [BZ #14197]
19258         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19260 2012-11-28  David S. Miller  <davem@davemloft.net>
19262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19264 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19266         [BZ #14803]
19267         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19268         of pi/2 rounded to nearest to 64 bits.
19269         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19270         nearest to 64 bits.
19271         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19272         bits.
19274 2012-11-28  Jeff Law <law@redhat.com>
19275             Martin Osvald <mosvald@redhat.com>
19277         [BZ #14889]
19278         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19279         * sunrpc/svc.c: Include time.h.
19280         (__svc_accept_failed): New function.
19281         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19282         any reason other than EINTR, call __svc_accept_failed.
19283         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19284         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19286 2012-11-28  Andreas Schwab  <schwab@suse.de>
19288         * scripts/abilist.awk: Also handle indirect functions in .opd
19289         section.
19291 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19293         [BZ #13881]
19294         * sysdeps/x86/fpu/powl_helper.c: New file.
19295         * sysdeps/x86/fpu/Makefile: Likewise.
19296         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19297         (p3): New object.
19298         (__ieee754_powl): Use __powl_helper for finite arguments except
19299         integer exponents below 8.
19300         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19301         (p3): New object.
19302         (__ieee754_powl): Use __powl_helper for finite arguments except
19303         integer exponents below 8.
19304         * math/libm-test.inc (pow_test): Add more tests and enable some
19305         previously disabled tests.
19306         * sysdeps/i386/fpu/libm-test-ulps: Update.
19307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19309 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19310             Carlos O'Donell  <carlos_odonell@mentor.com>
19312         * nss/makedb.c (is_prime): Assert that input is odd and greater
19313         than 4.  Note that fact in a comment too.
19314         (next_prime): Add 4 to input.
19316 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19318         [BZ #11741]
19319         * libio/Makefile (tests): Add test case tst-fwrite-error.
19320         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19321         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19322         * libio/tst-fwrite-error.c: New test case.
19324 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
19326         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19327         before casting to void *.
19328         * include/libc-internal.h (__pointer_type): New macro.
19329         (__integer_if_pointer_type_sub): Likewise.
19330         (__integer_if_pointer_type): Likewise.
19331         (cast_to_integer): Likewise.
19332         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19333         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19334         before casting to atomic64_t.
19335         (atomic_exchange_acq): Likewise.
19336         (__arch_exchange_and_add_body): Likewise.
19337         (__arch_add_body): Likewise.
19338         (atomic_add_negative): Likewise.
19339         (atomic_add_zero): Likewise.
19341 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
19343         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19344         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19345         (add_fdes): Likewise.
19346         (linear_search_fdes): Likewise.
19347         (binary_search_unencoded_fdes): Likewise.
19349 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
19351         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19353 2012-11-24  Adam Conrad  <adconrad@0c3.net>
19355         * configure.in: Autodetect C++ header directories.
19356         * configure: Regenerated.
19358 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
19360         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19362 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
19364         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19366 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
19368         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19369         LDBL_MANT_DIG == 106]: Disable some tests.
19370         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19371         Likewise.
19372         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19373         Likewise.
19375         [BZ #14871]
19376         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19377         input for small inputs.  Return +/- pi/2 for large inputs.
19378         * math/libm-test.inc (atan_test): Add more tests.
19380         * sysdeps/generic/unwind-dw2-fde-glibc.c
19381         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19382         __attribute__ ((unused)).
19384         [BZ #14645]
19385         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19386         x * y if x and y are nonzero and z is zero.
19388         [BZ #14811]
19389         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19390         nonzero exponents with absolute value below 0x1p-117 to +/-
19391         0x1p-117.
19393         [BZ #14869]
19394         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19395         up arguments below 2**-450, not just those below 2**-500.
19396         * math/libm-test.inc (hypot_test): Add another test.
19398         [BZ #14868]
19399         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19400         Return a+b for ratio over 2**120, not 2**60.
19401         * math/libm-test.inc (hypot_test): Add another test.
19403         * math/libm-test.inc (clog_test): Use
19404         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19405         (clog10_test): Likewise.
19407         [BZ #6778]
19408         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19410 2012-11-22  Andreas Schwab  <schwab@suse.de>
19412         * sysdeps/i386/fpu/libm-test-ulps: Update.
19414 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
19416         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19417         printf output with newline.
19419 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
19421         [BZ #14865]
19422         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19423         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19424         -z nodlopen, -z initfirst and -z execstack support.
19425         * configure: Regenerated.
19427         * elf/elf.h (DF_1_NODIRECT): New macro.
19428         (DF_1_IGNMULDEF): Likewise.
19429         (DF_1_NOKSYMS): Likewise.
19430         (DF_1_NOHDR): Likewise.
19431         (DF_1_EDITED): Likewise.
19432         (DF_1_NORELOC): Likewise.
19433         (DF_1_SYMINTPOSE): Likewise.
19434         (DF_1_GLOBAUDIT): Likewise.
19435         (DF_1_SINGLETON): Likewise.
19436         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19437         DT_1_SUPPORTED_MASK bits.
19438         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19440 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
19442         * sysdeps/unix/make-syscalls.sh: Document prefixes.
19444 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
19446         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19447         macro.
19449         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19450         (sendmmsg): Move declarations...
19451         * socket/sys/socket.h: ... here.
19452         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19453         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19454         include it from...
19455         * socket/recvmmsg.c: ... this new file.
19456         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19457         (sendmmsg): Rename to __sendmmsg, create weak alias and make
19458         definition of __sendmmsg hidden.
19459         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19460         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19461         Move ENOSYS stub into and include it from...
19462         * socket/sendmmsg.c: ... this new file.
19463         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19464         (sysdep_routines): Move recvmmsg and sendmmsg...
19465         * socket/Makefile (routines): ... here.
19466         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19467         (GLIBC_PRIVATE): Add __sendmmsg.
19468         * include/sys/socket.h (__sendmmsg): Add declarations.
19469         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19470         sendmmsg.
19472 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
19474         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19475         variable I1 with __attribute__ ((unused)).
19476         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19478 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19480         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19481         DUMMY variables with __attribute__ ((unused)).
19483         * bits/byteswap.h: Include <bits/types.h>.
19484         (__bswap_64): Use __uint64_t instead of unsigned long long int.
19486 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19488         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19489         string_t.  Do not manually set errno.
19490         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19491         length with __strnlen.  Make sure to both set errno and return it on
19492         failure.
19494 2012-11-19  David S. Miller  <davem@davemloft.net>
19496         With help from Joseph Myers.
19497         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19498         very large arguments properly.
19499         * math/libm-test.inc (atan_test): New tests.
19500         (atan2_test): New tests.
19501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19504 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19506         [BZ #14856]
19507         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19508         Define to 3.
19510         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19511         [POSIX] (EADDRNOTAVAIL): Likewise.
19512         [POSIX] (EAFNOSUPPORT): Likewise.
19513         [POSIX] (EALREADY): Likewise.
19514         [POSIX] (ECONNABORTED): Likewise.
19515         [POSIX] (ECONNREFUSED): Likewise.
19516         [POSIX] (ECONNRESET): Likewise.
19517         [POSIX] (EDESTADDRREQ): Likewise.
19518         [POSIX] (EDQUOT): Likewise.
19519         [POSIX] (EHOSTUNREACH): Likewise.
19520         [POSIX] (EIDRM): Likewise.
19521         [POSIX] (EISCONN): Likewise.
19522         [POSIX] (ELOOP): Likewise.
19523         [POSIX] (EMULTIHOP): Likewise.
19524         [POSIX] (ENETDOWN): Likewise.
19525         [POSIX] (ENETUNREACH): Likewise.
19526         [POSIX] (ENOBUFS): Likewise.
19527         [POSIX] (ENODATA): Likewise.
19528         [POSIX] (ENOLINK): Likewise.
19529         [POSIX] (ENOMSG): Likewise.
19530         [POSIX] (ENOPROTOOPT): Likewise.
19531         [POSIX] (ENOSR): Likewise.
19532         [POSIX] (ENOSTR): Likewise.
19533         [POSIX] (ENOTCONN): Likewise.
19534         [POSIX] (ENOTSOCK): Likewise.
19535         [POSIX] (EOPNOTSUPP): Likewise.
19536         [POSIX] (EOVERFLOW): Likewise.
19537         [POSIX] (EPROTO): Likewise.
19538         [POSIX] (EPROTONOSUPPORT): Likewise.
19539         [POSIX] (EPROTOTYPE): Likewise.
19540         [POSIX] (ESTALE): Likewise.
19541         [POSIX] (ETIME): Likewise.
19542         [POSIX] (ETXTBSY): Likewise.
19543         [POSIX] (EWOULDBLOCK): Likewise.
19544         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19545         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19546         [POSIX] (SEEK_CUR): Likewise.
19547         [POSIX] (SEEK_END): Likewise.
19548         [POSIX || UNIX98] (mode_t): Do not require.
19549         [POSIX] (off_t): Likewise.
19550         [POSIX] (pid_t): Likewise.
19551         [POSIX] (sys/stat.h): Do not allow header.
19552         [POSIX] (unistd.h): Likewise.
19553         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19554         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19555         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19556         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19557         require.
19558         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19559         sigevent): Specify elements.
19560         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19561         entry.
19562         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19563         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19565         * conform/data/cpio.h-data [POSIX]: Disable whole file.
19566         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19567         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19568         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19569         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19570         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19571         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19572         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19573         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19574         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19575         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19576         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19577         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19578         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19579         Likewise.
19580         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19581         Likewise.
19582         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19583         Likewise.
19584         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19585         Likewise.
19586         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19587         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19588         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19589         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19590         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19591         Specify lower bound on value.
19592         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19593         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19594         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19595         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19596         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19597         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19598         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19599         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19600         value.
19601         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19602         as optional.
19603         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19604         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19605         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19606         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19607         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19608         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19609         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19610         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19611         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19612         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19613         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19614         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19615         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19616         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19617         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19618         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19619         entry.
19620         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19621         optional.
19622         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19623         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19624         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19625         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19626         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19627         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19628         Likewise.
19629         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19630         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19631         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19632         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19633         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
19634         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19635         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19636         as optional.
19637         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19638         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19639         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19640         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19641         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19642         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19643         specify as optional.
19644         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19645         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19646         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19647         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19648         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19649         [XPG3] (NL_LANGMAX): Likewise.
19650         [POSIX || XPG3] (NL_MSGMAX): Likewise.
19651         [POSIX || XPG3] (NL_NMAX): Likewise.
19652         [POSIX || XPG3] (NL_SETMAX): Likewise.
19653         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19654         [XPG3] (NZERO): Likewise.
19655         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19656         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19657         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19658         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19659         (REG_ERANGE): Expect.
19660         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19661         optional-constant.
19662         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19663         Use (void) in prototype.
19664         [POSIX] (*_t): Allow.
19665         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19666         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19667         (WRDE_BADVAL): Expect.
19669         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19670         expect.
19671         [XPG3 || XPG4] (O_RSYNC): Likewise.
19672         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19673         Likewise.
19674         [XPG3 || XPG4] (pthread_sigmask): Likewise.
19675         [XPG3 || XPG4] (sigqueue): Likewise.
19676         [XPG3 || XPG4] (sigtimedwait): Likewise.
19677         [XPG3 || XPG4] (sigwaitinfo): Likewise.
19678         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19679         [XPG3 || XPG4] (vsnprintf): Likewise.
19680         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19681         Likewise.
19682         [XPG3 || XPG4] (blksize_t): Likewise.
19683         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19684         Likewise.
19685         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19686         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19687         [XPG3 || XPG4] (struct itimerspec): Likewise.
19688         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19689         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19690         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19691         [XPG3 || XPG4] (clockid_t): Likewise.
19692         [XPG3 || XPG4] (timer_t): Likewise.
19693         [XPG3 || XPG4] (clock_getres): Likewise.
19694         [XPG3 || XPG4] (clock_gettime): Likewise.
19695         [XPG3 || XPG4] (clock_settime): Likewise.
19696         [XPG3 || XPG4] (nanosleep): Likewise.
19697         [XPG3 || XPG4] (timer_create): Likewise.
19698         [XPG3 || XPG4] (timer_delete): Likewise.
19699         [XPG3 || XPG4] (timer_gettime): Likewise.
19700         [XPG3 || XPG4] (timer_getoverrun): Likewise.
19701         [XPG3 || XPG4] (timer_settime): Likewise.
19702         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19703         [XPG3 || XPG4] (getlogin_r): Likewise.
19704         [XPG3 || XPG4] (pread): Likewise.
19705         [XPG3 || XPG4] (pthread_atfork): Likewise.
19706         [XPG3 || XPG4] (pwrite): Likewise.
19708         [BZ #14835]
19709         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19710         <bits/siginfo.h>.
19712 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19714         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19715         finalizing MALLSTREAM.
19717         * sysdeps/mach/hurd/syncfs.c: New file.
19719 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19721         [BZ #14719]
19722         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19723         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19724         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19725         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19726         (_nss_dns_gethostbyname4_r): Likewise.
19727         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19728         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19730 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
19732         [BZ #13763]
19733         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19735 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
19737         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19738         * elf/cache.c (print_entry): Print ",AArch64" for
19739         FLAG_AARCH64_LIB64
19741         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19742         * elf/cache.c (print_entry): Print ",hard-float" for
19743         FLAG_ARM_LIBHF.
19745 2012-11-18  David S. Miller  <davem@davemloft.net>
19747         With help from Joseph Myers.
19748         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19749         cutoff to 2**-13.
19750         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19751         cutoff to 2**-25.
19752         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19753         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19754         small.
19755         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19756         * math/libm-test.inc (y0_test): New tests.
19757         (y1_test): New tests.
19758         * sysdeps/i386/fpu/libm-test-ulps: Update.
19759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19762 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
19764         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19765         64-bit targets.
19766         * configure: Regenerated.
19768 2012-11-17  David S. Miller  <davem@davemloft.net>
19770         [BZ #14811]
19771         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19772         nonzero exponents with absolute value below 0x1p-128 to +/-
19773         0x1p-128.
19775 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
19777         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19779         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19781         * posix/getconf-speclist.c: New file.
19782         * posix/posix-envs.def: Likewise.
19783         * posix/confstr.c (START_ENV_GROUP): New macro.
19784         (END_ENV_GROUP): Likewise.
19785         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19786         (KNOWN_PRESENT_ENV_STRING): Likewise.
19787         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19788         (UNKNOWN_ENVIRONMENT): Likewise.
19789         (confstr): Include posix-envs.def instead of handling
19790         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19791         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19792         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19793         (END_ENV_GROUP): Likewise.
19794         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19795         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19796         (UNKNOWN_ENVIRONMENT): Likewise.
19797         (__sysconf): Include posix-envs.def instead of handling associated
19798         cases directly here.
19799         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19800         preprocessing getconf-speclist.c rather than running getconf or
19801         generating empty file.
19803 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
19805         * scripts/check-local-headers.sh: Ignore 'mach' headers.
19807 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
19809         [BZ #14672]
19810         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19812 2012-11-16  David S. Miller  <davem@davemloft.net>
19814         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19815         smaller than LDBL_EPSILON/2.0L, just return xm1.
19817 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
19819         * elf/tst-array1.c (init): Set constructor priority to 1000.
19820         (fini): Set destructor priority to 1000.
19821         * elf/tst-array2dep.c: Likewise.
19823 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19825         [BZ #11741]
19826         * libio/fileops.c (_IO_new_file_write): Correctly return error.
19827         (_IO_new_file_xsputn): Also return EOF if none of the input
19828         data was written when overflow failed.
19829         * libio/iopadn.c (_IO_padn): Likewise.
19830         * libio/iowpadn.c (_IO_wpadn): Likewise.
19831         * stdio-common/tst-put-error.c: Add copyright notice.
19832         (do_test): Add case for printing padded string.
19833         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19834         _IO_padn returned error.
19835         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19836         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19837         return EOF.
19839 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19841         * libio/libioP.h: Add comment note that the references to C++
19842         bits are now obsolete.
19844 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19846         * math/libm-test.inc (check_complex): Use asprintf.
19848 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
19850         * debug/pcprofiledump.c (print_version): Update copyright year.
19851         * malloc/memusagestat.c (print_version): Likewise.
19853 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19855         [BZ #14831]
19856         * elf/Makefile (tests): Add tst-audit8.
19857         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19858         ($(objpfx)tst-audit8.out): New target.
19859         (tst-audit8-ENV): New variable.
19860         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19861         audit if l_reloc_result is NULL.
19862         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19863         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19864         * elf/tst-audit8.c: New file.
19866 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19868         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19869         * misc/Makefile (CFLAGS-select.c): Define.
19870         * posix/Makefile (CFLAGS-pause.c): Define.
19872 2012-11-13  David S. Miller  <davem@davemloft.net>
19874         * crypt/Makefile: Move test targets after toplevel Rules
19875         inclusion.  Grab any necessary sysdep routines when linking.
19876         * crypt/md5.c (md5_process_block): Remove define, we will always
19877         name it __md5_process_block.
19878         (md5_finish_ctx): Update md5_process_block call.
19879         (md5_stream): Likewise.
19880         (md5_process_bytes): Likewise.
19881         (md5_process_block): Rename to __md5_process_block and move to ...
19882         * crypt/md5-block.c: ... here.
19883         * crypt/sha256.c (sha256_process_block): Move to ...
19884         * crypt/sha256-block.c: ... here.
19885         * crypt/sha512.c (sha512_process_block): Move to ...
19886         * crypt/sha512-block.c: ... here.
19887         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19888         path.
19889         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19890         * sysdeps/sparc/sparc64/multiarch/Makefile
19891         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19892         crypt subdir.
19893         (localedef-aux): Add md5 crypto assembler when in locale subdir.
19894         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19895         multiarch changes.
19896         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19897         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19898         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19899         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19900         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19901         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19902         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19903         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19904         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19905         file.
19906         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19907         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19908         file.
19909         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19911 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
19913         * timezone/tzselect.ksh: Update from tzcode git revision
19914         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19915         * timezone/zdump.c: Likewise.
19916         * timezone/zic.c: Likewise.
19917         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19918         in TZVERSION setting, not $(PKGVERSION).
19919         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
19920         REPORT_BUGS_TO settings.
19922         [BZ #14838]
19923         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19924         macro.
19926 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19928         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19929         detection to immediately after _FP_ROUND().
19930         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19931         bits are 0.
19933 2012-11-11  David S. Miller  <davem@davemloft.net>
19935         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19936         inttypes.h
19937         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19938         __close rather than their public counterparts.
19940 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
19942         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19943         file.
19944         [UNIX98] (sem_timedwait): Do not expect.
19945         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19946         [XPG4 || UNIX98] (sockatmark): Do not expect.
19947         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19948         (clock_getcpuclockid): Do not expect.
19949         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19950         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19951         Do not expect.
19952         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19953         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19954         [UNIX98] (vwscanf): Likewise.
19955         [UNIX98] (vswscanf): Likewise.
19957 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
19959         * timezone/version.h: Remove file.
19960         * timezone/README: Do not refer to version.h.
19961         * timezone/Makefile ($(objpfx)zic.o): New dependency on
19962         $(objpfx)version.h.
19963         ($(objpfx)zdump.o): Likewise.
19964         ($(objpfx)version.h): New target.
19966         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19967         2012i.
19968         * timezone/README: Don't mention modification to tzselect.ksh.
19969         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19970         work on unmodified tzselect.ksh.  Substitute version numbers in
19971         tzselect.ksh.
19973         * Makefile (format-me): Remove.
19974         (INSTALL): Adjust indentation.  Use commands directly instead of
19975         using $(format-me).
19977         * aclocal.m4 (ACX_PKGVERSION): New macro.
19978         (ACX_BUGURL): Likewise.
19979         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19980         (PKGVERSION): New AC_DEFINE_UNQUOTED.
19981         (REPORT_BUGS_TO): Likewise.
19982         * configure: Regenerated.
19983         * config.h.in (PKGVERSION): New macro.
19984         (REPORT_BUGS_TO): Likewise.
19985         * config.make.in (PKGVERSION): New variable.
19986         (PKGVERSION_TEXI): Likewise.
19987         (REPORT_BUGS_TO): Likewise.
19988         (REPORT_BUGS_TEXI): Likewise.
19989         * Makefile (format-me): Use -I$(common-objpfx)manual.
19990         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19991         ($(common-objpfx)manual/%): New target.
19992         (manual/%): Remove target.
19993         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19994         (print_version): Use PKGVERSION.
19995         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19996         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19997         and REPORT_BUGS_TO.
19998         ($(objpfx)xtrace): Likewise.
19999         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20000         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20001         (print_version): Use PKGVERSION.
20002         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20003         (do_version): Use PKGVERSION.
20004         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20005         REPORT_BUGS_TO.
20006         (common-ldd-rewrite): Likewise.
20007         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20008         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20009         (print_version): Use PKGVERSION.
20010         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20011         * elf/pldd.c (argp_program_bug_address): Remove variable.
20012         (more_help): New function.
20013         (argp): Use more_help.
20014         (print_version): Use PKGVERSION.
20015         * elf/sln.c (main): Use PKGVERSION.
20016         (usage): Use REPORT_BUGS_TO.
20017         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20018         (top level): Use PKGVERSION.
20019         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20020         (print_version): Use PKGVERSION.
20021         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20022         (print_version): Use PKGVERSION.
20023         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20024         (print_version): Use PKGVERSION.
20025         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20026         (print_version): Use PKGVERSION.
20027         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20028         (print_version): Use PKGVERSION.
20029         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20030         (print_version): Use PKGVERSION.
20031         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20032         and BUGURL.
20033         ($(objpfx)memusage): Likewise.
20034         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20035         (do_version): Use PKGVERSION.
20036         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20037         (print_version): Use PKGVERSION.
20038         * malloc/mtrace.pl ($PACKAGE): Remove variable.
20039         ($PKGVERSION): New variable.
20040         ($REPORT_BUGS_TO): Likewise.
20041         (usage): Use $REPORT_BUGS_TO.
20042         (top level): Use $PKGVERSION.
20043         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20044         ($(objpfx)pkgvers.texi): New rule.
20045         ($(objpfx)stamp-pkgvers): Likewise.
20046         * manual/install.texi: Include pkgvers.texi.
20047         (--with-pkgversion): Document new configure option.
20048         (--with-bugurl): Likewise.
20049         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20050         than necessarily for this particular distribution.  Use
20051         REPORT_BUGS_TO for where to report bugs.
20052         * INSTALL: Regenerated.
20053         * manual/libc.texinfo: Include pkgvers.texi.
20054         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20055         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20056         (print_version): Use PKGVERSION.
20057         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20058         (print_version): Use PKGVERSION.
20059         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20060         (print_version): Use PKGVERSION.
20061         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20062         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20063         macro.
20064         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20065         (print_version): Use PKGVERSION.
20066         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20067         (print_version): Use PKGVERSION.
20068         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20069         and PKGVERSION.
20071         * timezone/checktab.awk: Update from tzcode 2012i.
20072         * timezone/ialloc.c: Likewise.
20073         * timezone/private.h: Likewise.
20074         * timezone/scheck.c: Likewise.
20075         * timezone/tzfile.h: Likewise.
20076         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20077         (TZVERSION): Hardcode tzcode version number.
20078         * timezone/zdump.c: Update from tzcode 2012i.
20079         * timezone/zic.c: Likewise.
20080         * timezone/version.h: New file.
20081         * timezone/README: Describe version.h.  Update upstream location.
20083         [BZ #14824]
20084         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20085         (mktemp): Enable declaration.
20086         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20087         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20090         Likewise.
20091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20092         Likewise.
20093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20094         Likewise.
20095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20096         Likewise.
20097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20098         Likewise.
20099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20100         Likewise.
20102         [BZ #14821]
20103         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20104         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
20105         for copies of such integer values.
20106         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20107         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20109 2012-11-09  Andreas Jaeger  <aj@suse.de>
20111         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20112         definitions and declarations that are provided by
20113         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20115 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20117         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20118         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20119         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20120         definition.
20122 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20124         * elf/elf.h: Update comment before AArch64 relocations.
20126 2012-11-07  David S. Miller  <davem@davemloft.net>
20128         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20129         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20130         (__start_context): Declare.
20131         (__makecontext_ret): Delete.
20132         (__makecontext): Hook up __start_context instead of
20133         __makecontext_ret.
20134         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20135         (sysdep_routines): Add __start_context when in stdlib.
20137 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20139         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20140         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20141         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
20142         hardcoded "nm".
20143         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
20144         (READELF): New variable.  Use it instead of hardcoded "readelf".
20146 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20148         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20149         * sysdeps/x86/Makefile: Here.
20150         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20151         * sysdeps/x86/tst-xmmymm.sh: This.
20153 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20155         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20156         expectations.
20157         [UNIX98] (pthread_barrier_t): Do not expect.
20158         [UNIX98] (pthread_barrierattr_t): Likewise.
20159         [UNIX98] (pthread_spinlock_t): Likewise.
20160         [UNIX98] (pthread_barrier_destroy): Likewise.
20161         [UNIX98] (pthread_barrier_init): Likewise.
20162         [UNIX98] (pthread_barrier_wait): Likewise.
20163         [UNIX98] (pthread_barrierattr_destroy): Likewise.
20164         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20165         [UNIX98] (pthread_barrierattr_init): Likewise.
20166         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20167         [UNIX98] (pthread_getcpuclockid): Likewise.
20168         [UNIX98] (pthread_mutex_timedlock): Likewise.
20169         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20170         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20171         [UNIX98] (pthread_sigmask): Likewise.
20172         [UNIX98] (pthread_spin_destroy): Likewise.
20173         [UNIX98] (pthread_spin_init): Likewise.
20174         [UNIX98] (pthread_spin_lock): Likewise.
20175         [UNIX98] (pthread_spin_trylock): Likewise.
20176         [UNIX98] (pthread_spin_unlock): Likewise.
20177         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20178         Do not expect.
20179         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20180         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20181         [XPG3 || XPG4] (pthread_cond_t): Likewise.
20182         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20183         [XPG3 || XPG4] (pthread_key_t): Likewise.
20184         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20185         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20186         [XPG3 || XPG4] (pthread_once_t): Likewise.
20187         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20188         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20189         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20190         [XPG3 || XPG4] (pthread_t): Likewise.
20192         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20193         not expect.
20194         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20196         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20197         Change function return type to int.
20199         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20200         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20201         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20202         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20203         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20204         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20205         [!POSIX] (posix_madvise): Likewise.
20206         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20207         && !UNIX98].
20208         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20209         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20210         (mode_t): Likewise.
20211         (posix_mem_offset): Likewise.
20212         (posix_typed_mem_get_info): Likewise.
20213         (posix_typed_mem_open): Likewise.
20215         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20216         Change condition to [XOPEN2K8].
20218         * conform/conformtest.pl: Preprocess allow-header data with -x c
20219         instead of from stdin.
20220         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20221         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20222         [C99-based standards] (cerfc): Likewise.
20223         [C99-based standards] (cexp2): Likewise.
20224         [C99-based standards] (cexpm1): Likewise.
20225         [C99-based standards] (clog10): Likewise.
20226         [C99-based standards] (clog1p): Likewise.
20227         [C99-based standards] (clog2): Likewise.
20228         [C99-based standards] (clgamma): Likewise.
20229         [C99-based standards] (ctgamma): Likewise.
20230         [C99-based standards] (cerff): Likewise.
20231         [C99-based standards] (cerfcf): Likewise.
20232         [C99-based standards] (cexp2f): Likewise.
20233         [C99-based standards] (cexpm1f): Likewise.
20234         [C99-based standards] (clog10f): Likewise.
20235         [C99-based standards] (clog1pf): Likewise.
20236         [C99-based standards] (clog2f): Likewise.
20237         [C99-based standards] (clgammaf): Likewise.
20238         [C99-based standards] (ctgammaf): Likewise.
20239         [C99-based standards] (cerfl): Likewise.
20240         [C99-based standards] (cerfcl): Likewise.
20241         [C99-based standards] (cexp2l): Likewise.
20242         [C99-based standards] (cexpm1l): Likewise.
20243         [C99-based standards] (clog10l): Likewise.
20244         [C99-based standards] (clog1pl): Likewise.
20245         [C99-based standards] (clog2l): Likewise.
20246         [C99-based standards] (clgammal): Likewise.
20247         [C99-based standards] (ctgammal): Likewise.
20248         * conform/data/inttypes.h-data [C99-based standards]: Include
20249         stdint.h-data.  Remove all expectations for stdint.h contents.
20250         [C99-based standards] (PRI*): Do not allow.
20251         [C99-based standards] (SCN*): Likewise.
20252         [C99-based standards] (*_t): Likewise.
20253         [C99-based-standards] (PRId8): Expect macro.
20254         [C99-based-standards] (PRIi8): Likewise.
20255         [C99-based-standards] (PRIo8): Likewise.
20256         [C99-based-standards] (PRIu8): Likewise.
20257         [C99-based-standards] (PRIx8): Likewise.
20258         [C99-based-standards] (PRIX8): Likewise.
20259         [C99-based-standards] (SCNd8): Likewise.
20260         [C99-based-standards] (SCNi8): Likewise.
20261         [C99-based-standards] (SCNo8): Likewise.
20262         [C99-based-standards] (SCNu8): Likewise.
20263         [C99-based-standards] (SCNx8): Likewise.
20264         [C99-based-standards] (PRIdLEAST8): Likewise.
20265         [C99-based-standards] (PRIiLEAST8): Likewise.
20266         [C99-based-standards] (PRIoLEAST8): Likewise.
20267         [C99-based-standards] (PRIuLEAST8): Likewise.
20268         [C99-based-standards] (PRIxLEAST8): Likewise.
20269         [C99-based-standards] (PRIXLEAST8): Likewise.
20270         [C99-based-standards] (SCNdLEAST8): Likewise.
20271         [C99-based-standards] (SCNiLEAST8): Likewise.
20272         [C99-based-standards] (SCNoLEAST8): Likewise.
20273         [C99-based-standards] (SCNuLEAST8): Likewise.
20274         [C99-based-standards] (SCNxLEAST8): Likewise.
20275         [C99-based-standards] (PRIdFAST8): Likewise.
20276         [C99-based-standards] (PRIiFAST8): Likewise.
20277         [C99-based-standards] (PRIoFAST8): Likewise.
20278         [C99-based-standards] (PRIuFAST8): Likewise.
20279         [C99-based-standards] (PRIxFAST8): Likewise.
20280         [C99-based-standards] (PRIXFAST8): Likewise.
20281         [C99-based-standards] (SCNdFAST8): Likewise.
20282         [C99-based-standards] (SCNiFAST8): Likewise.
20283         [C99-based-standards] (SCNoFAST8): Likewise.
20284         [C99-based-standards] (SCNuFAST8): Likewise.
20285         [C99-based-standards] (SCNxFAST8): Likewise.
20286         [C99-based-standards] (PRId16): Likewise.
20287         [C99-based-standards] (PRIi16): Likewise.
20288         [C99-based-standards] (PRIo16): Likewise.
20289         [C99-based-standards] (PRIu16): Likewise.
20290         [C99-based-standards] (PRIx16): Likewise.
20291         [C99-based-standards] (PRIX16): Likewise.
20292         [C99-based-standards] (SCNd16): Likewise.
20293         [C99-based-standards] (SCNi16): Likewise.
20294         [C99-based-standards] (SCNo16): Likewise.
20295         [C99-based-standards] (SCNu16): Likewise.
20296         [C99-based-standards] (SCNx16): Likewise.
20297         [C99-based-standards] (PRIdLEAST16): Likewise.
20298         [C99-based-standards] (PRIiLEAST16): Likewise.
20299         [C99-based-standards] (PRIoLEAST16): Likewise.
20300         [C99-based-standards] (PRIuLEAST16): Likewise.
20301         [C99-based-standards] (PRIxLEAST16): Likewise.
20302         [C99-based-standards] (PRIXLEAST16): Likewise.
20303         [C99-based-standards] (SCNdLEAST16): Likewise.
20304         [C99-based-standards] (SCNiLEAST16): Likewise.
20305         [C99-based-standards] (SCNoLEAST16): Likewise.
20306         [C99-based-standards] (SCNuLEAST16): Likewise.
20307         [C99-based-standards] (SCNxLEAST16): Likewise.
20308         [C99-based-standards] (PRIdFAST16): Likewise.
20309         [C99-based-standards] (PRIiFAST16): Likewise.
20310         [C99-based-standards] (PRIoFAST16): Likewise.
20311         [C99-based-standards] (PRIuFAST16): Likewise.
20312         [C99-based-standards] (PRIxFAST16): Likewise.
20313         [C99-based-standards] (PRIXFAST16): Likewise.
20314         [C99-based-standards] (SCNdFAST16): Likewise.
20315         [C99-based-standards] (SCNiFAST16): Likewise.
20316         [C99-based-standards] (SCNoFAST16): Likewise.
20317         [C99-based-standards] (SCNuFAST16): Likewise.
20318         [C99-based-standards] (SCNxFAST16): Likewise.
20319         [C99-based-standards] (PRId32): Likewise.
20320         [C99-based-standards] (PRIi32): Likewise.
20321         [C99-based-standards] (PRIo32): Likewise.
20322         [C99-based-standards] (PRIu32): Likewise.
20323         [C99-based-standards] (PRIx32): Likewise.
20324         [C99-based-standards] (PRIX32): Likewise.
20325         [C99-based-standards] (SCNd32): Likewise.
20326         [C99-based-standards] (SCNi32): Likewise.
20327         [C99-based-standards] (SCNo32): Likewise.
20328         [C99-based-standards] (SCNu32): Likewise.
20329         [C99-based-standards] (SCNx32): Likewise.
20330         [C99-based-standards] (PRIdLEAST32): Likewise.
20331         [C99-based-standards] (PRIiLEAST32): Likewise.
20332         [C99-based-standards] (PRIoLEAST32): Likewise.
20333         [C99-based-standards] (PRIuLEAST32): Likewise.
20334         [C99-based-standards] (PRIxLEAST32): Likewise.
20335         [C99-based-standards] (PRIXLEAST32): Likewise.
20336         [C99-based-standards] (SCNdLEAST32): Likewise.
20337         [C99-based-standards] (SCNiLEAST32): Likewise.
20338         [C99-based-standards] (SCNoLEAST32): Likewise.
20339         [C99-based-standards] (SCNuLEAST32): Likewise.
20340         [C99-based-standards] (SCNxLEAST32): Likewise.
20341         [C99-based-standards] (PRIdFAST32): Likewise.
20342         [C99-based-standards] (PRIiFAST32): Likewise.
20343         [C99-based-standards] (PRIoFAST32): Likewise.
20344         [C99-based-standards] (PRIuFAST32): Likewise.
20345         [C99-based-standards] (PRIxFAST32): Likewise.
20346         [C99-based-standards] (PRIXFAST32): Likewise.
20347         [C99-based-standards] (SCNdFAST32): Likewise.
20348         [C99-based-standards] (SCNiFAST32): Likewise.
20349         [C99-based-standards] (SCNoFAST32): Likewise.
20350         [C99-based-standards] (SCNuFAST32): Likewise.
20351         [C99-based-standards] (SCNxFAST32): Likewise.
20352         [C99-based-standards] (PRId64): Likewise.
20353         [C99-based-standards] (PRIi64): Likewise.
20354         [C99-based-standards] (PRIo64): Likewise.
20355         [C99-based-standards] (PRIu64): Likewise.
20356         [C99-based-standards] (PRIx64): Likewise.
20357         [C99-based-standards] (PRIX64): Likewise.
20358         [C99-based-standards] (SCNd64): Likewise.
20359         [C99-based-standards] (SCNi64): Likewise.
20360         [C99-based-standards] (SCNo64): Likewise.
20361         [C99-based-standards] (SCNu64): Likewise.
20362         [C99-based-standards] (SCNx64): Likewise.
20363         [C99-based-standards] (PRIdLEAST64): Likewise.
20364         [C99-based-standards] (PRIiLEAST64): Likewise.
20365         [C99-based-standards] (PRIoLEAST64): Likewise.
20366         [C99-based-standards] (PRIuLEAST64): Likewise.
20367         [C99-based-standards] (PRIxLEAST64): Likewise.
20368         [C99-based-standards] (PRIXLEAST64): Likewise.
20369         [C99-based-standards] (SCNdLEAST64): Likewise.
20370         [C99-based-standards] (SCNiLEAST64): Likewise.
20371         [C99-based-standards] (SCNoLEAST64): Likewise.
20372         [C99-based-standards] (SCNuLEAST64): Likewise.
20373         [C99-based-standards] (SCNxLEAST64): Likewise.
20374         [C99-based-standards] (PRIdFAST64): Likewise.
20375         [C99-based-standards] (PRIiFAST64): Likewise.
20376         [C99-based-standards] (PRIoFAST64): Likewise.
20377         [C99-based-standards] (PRIuFAST64): Likewise.
20378         [C99-based-standards] (PRIxFAST64): Likewise.
20379         [C99-based-standards] (PRIXFAST64): Likewise.
20380         [C99-based-standards] (SCNdFAST64): Likewise.
20381         [C99-based-standards] (SCNiFAST64): Likewise.
20382         [C99-based-standards] (SCNoFAST64): Likewise.
20383         [C99-based-standards] (SCNuFAST64): Likewise.
20384         [C99-based-standards] (SCNxFAST64): Likewise.
20385         [C99-based-standards] (PRIdMAX): Likewise.
20386         [C99-based-standards] (PRIiMAX): Likewise.
20387         [C99-based-standards] (PRIoMAX): Likewise.
20388         [C99-based-standards] (PRIuMAX): Likewise.
20389         [C99-based-standards] (PRIxMAX): Likewise.
20390         [C99-based-standards] (PRIXMAX): Likewise.
20391         [C99-based-standards] (SCNdMAX): Likewise.
20392         [C99-based-standards] (SCNiMAX): Likewise.
20393         [C99-based-standards] (SCNoMAX): Likewise.
20394         [C99-based-standards] (SCNuMAX): Likewise.
20395         [C99-based-standards] (SCNxMAX): Likewise.
20396         [C99-based-standards] (PRIdPTR): Likewise.
20397         [C99-based-standards] (PRIiPTR): Likewise.
20398         [C99-based-standards] (PRIoPTR): Likewise.
20399         [C99-based-standards] (PRIuPTR): Likewise.
20400         [C99-based-standards] (PRIxPTR): Likewise.
20401         [C99-based-standards] (PRIXPTR): Likewise.
20402         [C99-based-standards] (SCNdPTR): Likewise.
20403         [C99-based-standards] (SCNiPTR): Likewise.
20404         [C99-based-standards] (SCNoPTR): Likewise.
20405         [C99-based-standards] (SCNuPTR): Likewise.
20406         [C99-based-standards] (SCNxPTR): Likewise.
20407         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20408         allow.
20409         * conform/data/stdint.h-data: Update comments to clarify
20410         requirements.
20411         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
20412         type.
20413         [C99-based standards] (INT8_MAX): Likewise.
20414         [C99-based standards] (INT16_MIN): Likewise.
20415         [C99-based standards] (INT16_MAX): Likewise.
20416         [C99-based standards] (INT32_MIN): Likewise.
20417         [C99-based standards] (INT32_MAX): Likewise.
20418         [C99-based standards] (INT64_MIN): Likewise.
20419         [C99-based standards] (INT64_MAX): Likewise.
20420         [C99-based standards] (UINT8_MAX): Likewise.
20421         [C99-based standards] (UINT16_MAX): Likewise.
20422         [C99-based standards] (UINT32_MAX): Likewise.
20423         [C99-based standards] (UINT64_MAX): Likewise.
20424         [C99-based standards] (INT_LEAST8_MIN): Likewise.
20425         [C99-based standards] (INT_LEAST8_MAX): Likewise.
20426         [C99-based standards] (INT_LEAST16_MIN): Likewise.
20427         [C99-based standards] (INT_LEAST16_MAX): Likewise.
20428         [C99-based standards] (INT_LEAST32_MIN): Likewise.
20429         [C99-based standards] (INT_LEAST32_MAX): Likewise.
20430         [C99-based standards] (INT_LEAST64_MIN): Likewise.
20431         [C99-based standards] (INT_LEAST64_MAX): Likewise.
20432         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20433         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20434         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20435         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20436         [C99-based standards] (INT_FAST8_MIN): Likewise.
20437         [C99-based standards] (INT_FAST8_MAX): Likewise.
20438         [C99-based standards] (INT_FAST16_MIN): Likewise.
20439         [C99-based standards] (INT_FAST16_MAX): Likewise.
20440         [C99-based standards] (INT_FAST32_MIN): Likewise.
20441         [C99-based standards] (INT_FAST32_MAX): Likewise.
20442         [C99-based standards] (INT_FAST64_MIN): Likewise.
20443         [C99-based standards] (INT_FAST64_MAX): Likewise.
20444         [C99-based standards] (UINT_FAST8_MAX): Likewise.
20445         [C99-based standards] (UINT_FAST16_MAX): Likewise.
20446         [C99-based standards] (UINT_FAST32_MAX): Likewise.
20447         [C99-based standards] (UINT_FAST64_MAX): Likewise.
20448         [C99-based standards] (INTPTR_MIN): Likewise.
20449         [C99-based standards] (INTPTR_MAX): Likewise.
20450         [C99-based standards] (UINTPTR_MAX): Likewise.
20451         [C99-based standards] (INTMAX_MIN): Likewise.
20452         [C99-based standards] (INTMAX_MAX): Likewise.
20453         [C99-based standards] (UINTMAX_MAX): Likewise.
20454         [C99-based standards] (PTRDIFF_MIN): Likewise.
20455         [C99-based standards] (PTRDIFF_MAX): Likewise.
20456         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20457         [C99-based standards] (SIZE_MAX): Likewise.
20458         [C99-based standards] (WCHAR_MAX): Likewise.
20459         [C99-based standards] (WINT_MAX): Likewise.
20460         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
20461         constraint on value.
20462         [C99-based standards] (WCHAR_MIN): Likewise.
20463         [C99-based standards] (WINT_MIN): Likewise.
20464         [C99-based standards] (*_t): Allow.
20465         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20466         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20467         Include math.h-data and complex.h-data.  Remove all expectations
20468         of math.h and complex.h contents.
20469         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20470         at end of line.
20471         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20472         (struct tm): Expect tag.
20473         [C99-based-standards] (wcstof): Expect function.
20474         [C99-based-standards] (wcstold): Likewise.
20475         [C99-based-standards] (wcstoll): Likewise.
20476         [C99-based-standards] (wcstoull): Likewise.
20477         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20478         macro-int-constant.  Specify type.
20479         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
20480         constraint on value.
20481         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20482         Specify type.
20483         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20484         Specify value.
20485         [ISO C standards]: Do not allow headers.
20486         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20487         wcs[abcdefghijklmnopqrstuvwxyz]*.
20488         [ISO C standards] (*_t): Do not allow.
20489         * conform/data/wctype.h-data [C99-based standards] (iswblank):
20490         Expect function.
20491         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20492         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20493         Specify type.
20494         [ISO C standards]: Do not allow headers.
20495         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20496         is[abcdefghijklmnopqrstuvwxyz]*.
20497         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20498         to[abcdefghijklmnopqrstuvwxyz]*.
20499         [ISO C standards] (*_t): Do not allow.
20500         * conform/data/stdalign.h-data: New file.
20501         * conform/data/stdbool.h-data: Likewise.
20502         * conform/data/stdnoreturn.h-data: Likewise.
20504 2012-11-07  Roland McGrath  <roland@hack.frob.com>
20506         [BZ #14815]
20507         * manual/filesys.texi (Directory Entries): Typo fix.
20508         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20510 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20512         * elf/elf.h (EM_AARCH64): New macro.
20513         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20514         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20515         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20516         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20517         (R_AARCH64_TLSDESC): Likewise.
20518         (NT_ARM_TLS): Likewise.
20519         (NT_ARM_HW_BREAK): Likewise.
20520         (NT_ARM_HW_WATCH): Likewise.
20522 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20524         [BZ #14811]
20525         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20526         (__ieee754_powl): Saturate nonzero exponents with absolute value
20527         below 0x1p-79 to +/- 0x1p-79.
20528         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20529         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20530         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20531         nonzero exponents with absolute value below 0x1p-32 to +/-
20532         0x1p-32.
20533         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20534         (__ieee754_powl): Saturate nonzero exponents with absolute value
20535         below 0x1p-79 to +/- 0x1p-79.
20536         * math/libm-test.inc (pow_test): Add more tests.
20538 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20540         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20541         _dl_s390_cap_flags with kernel. Increase string length.
20542         (_dl_s390_platforms): Add z196 and zEC12.
20544 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20546         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20547         Change XOPEN21K to XOPEN2K.
20549 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
20551         * string/memmove.c: Use memcpy when possible.
20553 2012-11-06  Andreas Jaeger  <aj@suse.de>
20555         * po/eo.po: Update from translation team.
20557 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
20559         [BZ #14793]
20560         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20561         exponent and small x and y exponents, scale x or y up.  Increase
20562         by 2 the exponent used in scaling up.
20563         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20564         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20565         * math/libm-test.inc (fma_test): Add more tests.
20566         (fma_test_towardzero): Likewise.
20567         (fma_test_downward): Likewise.
20568         (fma_test_upward): Likewise.
20570 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
20572         [BZ #14805]
20573         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20574         fenv_t *.
20576         [BZ #14801]
20577         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20578         namespace for names of struct fields.
20579         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20580         fenv_t fields.
20581         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20582         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20584 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20586         [BZ #3665]
20587         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20589 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20591         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20592         PTR_DEMANGLE.
20594         [BZ #5246]
20595         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20596         PTR_DEMANGLE.
20598 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
20600         [BZ #14797]
20601         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20602         definitely overflow as x * y not x * y + z.
20603         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20604         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20605         * math/libm-test.inc (fma_test): Add more tests.
20606         (fma_test_towardzero): Likewise.
20607         (fma_test_downward): Likewise.
20608         (fma_test_upward): Likewise.
20610 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20612         [BZ #157]
20614         * include/stub-tag.h: Remove file.
20615         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20616         '#include' of it.
20617         * manual/maint.texi (Porting): Don't reference it.
20618         * Makerules ($(objpfx)stubs): Likewise.
20619         * dirent/closedir.c: Don't include <stub-tag.h>.
20620         * dirent/dirfd.c: Likewise.
20621         * dirent/fdopendir.c: Likewise.
20622         * dirent/getdents.c: Likewise.
20623         * dirent/getdents64.c: Likewise.
20624         * dirent/opendir.c: Likewise.
20625         * dirent/readdir.c: Likewise.
20626         * dirent/readdir64.c: Likewise.
20627         * dirent/readdir64_r.c: Likewise.
20628         * dirent/readdir_r.c: Likewise.
20629         * dirent/rewinddir.c: Likewise.
20630         * dirent/seekdir.c: Likewise.
20631         * dirent/telldir.c: Likewise.
20632         * gmon/profil.c: Likewise.
20633         * grp/setgroups.c: Likewise.
20634         * inet/if_index.c: Likewise.
20635         * io/access.c: Likewise.
20636         * io/chdir.c: Likewise.
20637         * io/chmod.c: Likewise.
20638         * io/chown.c: Likewise.
20639         * io/close.c: Likewise.
20640         * io/dup.c: Likewise.
20641         * io/dup2.c: Likewise.
20642         * io/dup3.c: Likewise.
20643         * io/euidaccess.c: Likewise.
20644         * io/faccessat.c: Likewise.
20645         * io/fchdir.c: Likewise.
20646         * io/fchmod.c: Likewise.
20647         * io/fchmodat.c: Likewise.
20648         * io/fchown.c: Likewise.
20649         * io/fchownat.c: Likewise.
20650         * io/fcntl.c: Likewise.
20651         * io/flock.c: Likewise.
20652         * io/fstatfs.c: Likewise.
20653         * io/fstatfs64.c: Likewise.
20654         * io/fstatvfs.c: Likewise.
20655         * io/fstatvfs64.c: Likewise.
20656         * io/futimens.c: Likewise.
20657         * io/fxstat.c: Likewise.
20658         * io/fxstat64.c: Likewise.
20659         * io/fxstatat.c: Likewise.
20660         * io/fxstatat64.c: Likewise.
20661         * io/getcwd.c: Likewise.
20662         * io/isatty.c: Likewise.
20663         * io/lchmod.c: Likewise.
20664         * io/lchown.c: Likewise.
20665         * io/link.c: Likewise.
20666         * io/linkat.c: Likewise.
20667         * io/lseek.c: Likewise.
20668         * io/lseek64.c: Likewise.
20669         * io/lxstat64.c: Likewise.
20670         * io/mkdir.c: Likewise.
20671         * io/mkdirat.c: Likewise.
20672         * io/mkfifo.c: Likewise.
20673         * io/mkfifoat.c: Likewise.
20674         * io/open.c: Likewise.
20675         * io/open64.c: Likewise.
20676         * io/openat.c: Likewise.
20677         * io/openat64.c: Likewise.
20678         * io/pipe.c: Likewise.
20679         * io/pipe2.c: Likewise.
20680         * io/poll.c: Likewise.
20681         * io/posix_fadvise.c: Likewise.
20682         * io/posix_fadvise64.c: Likewise.
20683         * io/posix_fallocate.c: Likewise.
20684         * io/posix_fallocate64.c: Likewise.
20685         * io/read.c: Likewise.
20686         * io/readlink.c: Likewise.
20687         * io/readlinkat.c: Likewise.
20688         * io/rmdir.c: Likewise.
20689         * io/sendfile.c: Likewise.
20690         * io/sendfile64.c: Likewise.
20691         * io/statfs.c: Likewise.
20692         * io/statfs64.c: Likewise.
20693         * io/statvfs.c: Likewise.
20694         * io/statvfs64.c: Likewise.
20695         * io/symlink.c: Likewise.
20696         * io/symlinkat.c: Likewise.
20697         * io/ttyname.c: Likewise.
20698         * io/ttyname_r.c: Likewise.
20699         * io/umask.c: Likewise.
20700         * io/unlink.c: Likewise.
20701         * io/unlinkat.c: Likewise.
20702         * io/utime.c: Likewise.
20703         * io/utimensat.c: Likewise.
20704         * io/write.c: Likewise.
20705         * io/xmknod.c: Likewise.
20706         * io/xmknodat.c: Likewise.
20707         * io/xstat.c: Likewise.
20708         * io/xstat64.c: Likewise.
20709         * login/getpt.c: Likewise.
20710         * login/grantpt.c: Likewise.
20711         * login/unlockpt.c: Likewise.
20712         * math/e_acoshl.c: Likewise.
20713         * math/e_acosl.c: Likewise.
20714         * math/e_asinl.c: Likewise.
20715         * math/e_atan2l.c: Likewise.
20716         * math/e_atanhl.c: Likewise.
20717         * math/e_coshl.c: Likewise.
20718         * math/e_expl.c: Likewise.
20719         * math/e_fmodl.c: Likewise.
20720         * math/e_gammal_r.c: Likewise.
20721         * math/e_hypotl.c: Likewise.
20722         * math/e_j0l.c: Likewise.
20723         * math/e_j1l.c: Likewise.
20724         * math/e_jnl.c: Likewise.
20725         * math/e_lgammal_r.c: Likewise.
20726         * math/e_log10l.c: Likewise.
20727         * math/e_log2l.c: Likewise.
20728         * math/e_logl.c: Likewise.
20729         * math/e_powl.c: Likewise.
20730         * math/e_rem_pio2l.c: Likewise.
20731         * math/e_sinhl.c: Likewise.
20732         * math/e_sqrtl.c: Likewise.
20733         * math/fclrexcpt.c: Likewise.
20734         * math/fedisblxcpt.c: Likewise.
20735         * math/feenablxcpt.c: Likewise.
20736         * math/fegetenv.c: Likewise.
20737         * math/fegetexcept.c: Likewise.
20738         * math/fegetround.c: Likewise.
20739         * math/feholdexcpt.c: Likewise.
20740         * math/fesetenv.c: Likewise.
20741         * math/fesetround.c: Likewise.
20742         * math/feupdateenv.c: Likewise.
20743         * math/fgetexcptflg.c: Likewise.
20744         * math/fraiseexcpt.c: Likewise.
20745         * math/fsetexcptflg.c: Likewise.
20746         * math/ftestexcept.c: Likewise.
20747         * math/k_cosl.c: Likewise.
20748         * math/k_rem_pio2l.c: Likewise.
20749         * math/k_sinl.c: Likewise.
20750         * math/k_tanl.c: Likewise.
20751         * math/s_asinhl.c: Likewise.
20752         * math/s_atanl.c: Likewise.
20753         * math/s_cbrtl.c: Likewise.
20754         * math/s_erfl.c: Likewise.
20755         * math/s_expm1l.c: Likewise.
20756         * math/s_log1pl.c: Likewise.
20757         * math/s_tanhl.c: Likewise.
20758         * misc/acct.c: Likewise.
20759         * misc/brk.c: Likewise.
20760         * misc/chflags.c: Likewise.
20761         * misc/chroot.c: Likewise.
20762         * misc/fchflags.c: Likewise.
20763         * misc/fgetxattr.c: Likewise.
20764         * misc/flistxattr.c: Likewise.
20765         * misc/fremovexattr.c: Likewise.
20766         * misc/fsetxattr.c: Likewise.
20767         * misc/fsync.c: Likewise.
20768         * misc/ftruncate.c: Likewise.
20769         * misc/futimes.c: Likewise.
20770         * misc/futimesat.c: Likewise.
20771         * misc/getdomain.c: Likewise.
20772         * misc/getdtsz.c: Likewise.
20773         * misc/gethostid.c: Likewise.
20774         * misc/gethostname.c: Likewise.
20775         * misc/getloadavg.c: Likewise.
20776         * misc/getpagesize.c: Likewise.
20777         * misc/getsysstats.c: Likewise.
20778         * misc/getxattr.c: Likewise.
20779         * misc/gtty.c: Likewise.
20780         * misc/ioctl.c: Likewise.
20781         * misc/lgetxattr.c: Likewise.
20782         * misc/listxattr.c: Likewise.
20783         * misc/llistxattr.c: Likewise.
20784         * misc/lremovexattr.c: Likewise.
20785         * misc/lsetxattr.c: Likewise.
20786         * misc/lutimes.c: Likewise.
20787         * misc/madvise.c: Likewise.
20788         * misc/mincore.c: Likewise.
20789         * misc/mlock.c: Likewise.
20790         * misc/mlockall.c: Likewise.
20791         * misc/mmap.c: Likewise.
20792         * misc/mprotect.c: Likewise.
20793         * misc/msync.c: Likewise.
20794         * misc/munlock.c: Likewise.
20795         * misc/munlockall.c: Likewise.
20796         * misc/munmap.c: Likewise.
20797         * misc/preadv.c: Likewise.
20798         * misc/preadv64.c: Likewise.
20799         * misc/ptrace.c: Likewise.
20800         * misc/pwritev.c: Likewise.
20801         * misc/pwritev64.c: Likewise.
20802         * misc/readv.c: Likewise.
20803         * misc/reboot.c: Likewise.
20804         * misc/remap_file_pages.c: Likewise.
20805         * misc/removexattr.c: Likewise.
20806         * misc/revoke.c: Likewise.
20807         * misc/select.c: Likewise.
20808         * misc/setdomain.c: Likewise.
20809         * misc/setegid.c: Likewise.
20810         * misc/seteuid.c: Likewise.
20811         * misc/sethostid.c: Likewise.
20812         * misc/sethostname.c: Likewise.
20813         * misc/setregid.c: Likewise.
20814         * misc/setreuid.c: Likewise.
20815         * misc/setxattr.c: Likewise.
20816         * misc/sstk.c: Likewise.
20817         * misc/stty.c: Likewise.
20818         * misc/swapoff.c: Likewise.
20819         * misc/swapon.c: Likewise.
20820         * misc/sync.c: Likewise.
20821         * misc/syncfs.c: Likewise.
20822         * misc/syscall.c: Likewise.
20823         * misc/truncate.c: Likewise.
20824         * misc/ualarm.c: Likewise.
20825         * misc/usleep.c: Likewise.
20826         * misc/ustat.c: Likewise.
20827         * misc/utimes.c: Likewise.
20828         * misc/vhangup.c: Likewise.
20829         * misc/writev.c: Likewise.
20830         * posix/_exit.c: Likewise.
20831         * posix/alarm.c: Likewise.
20832         * posix/execve.c: Likewise.
20833         * posix/fexecve.c: Likewise.
20834         * posix/fork.c: Likewise.
20835         * posix/fpathconf.c: Likewise.
20836         * posix/getaddrinfo.c: Likewise.
20837         * posix/getegid.c: Likewise.
20838         * posix/geteuid.c: Likewise.
20839         * posix/getgid.c: Likewise.
20840         * posix/getgroups.c: Likewise.
20841         * posix/getlogin.c: Likewise.
20842         * posix/getlogin_r.c: Likewise.
20843         * posix/getpgid.c: Likewise.
20844         * posix/getpid.c: Likewise.
20845         * posix/getppid.c: Likewise.
20846         * posix/getresgid.c: Likewise.
20847         * posix/getresuid.c: Likewise.
20848         * posix/getsid.c: Likewise.
20849         * posix/getuid.c: Likewise.
20850         * posix/glob64.c: Likewise.
20851         * posix/nanosleep.c: Likewise.
20852         * posix/pathconf.c: Likewise.
20853         * posix/pause.c: Likewise.
20854         * posix/posix_madvise.c: Likewise.
20855         * posix/pread.c: Likewise.
20856         * posix/pread64.c: Likewise.
20857         * posix/pwrite.c: Likewise.
20858         * posix/pwrite64.c: Likewise.
20859         * posix/sched_getaffinity.c: Likewise.
20860         * posix/sched_getp.c: Likewise.
20861         * posix/sched_gets.c: Likewise.
20862         * posix/sched_primax.c: Likewise.
20863         * posix/sched_primin.c: Likewise.
20864         * posix/sched_rr_gi.c: Likewise.
20865         * posix/sched_setaffinity.c: Likewise.
20866         * posix/sched_setp.c: Likewise.
20867         * posix/sched_sets.c: Likewise.
20868         * posix/sched_yield.c: Likewise.
20869         * posix/setgid.c: Likewise.
20870         * posix/setlogin.c: Likewise.
20871         * posix/setpgid.c: Likewise.
20872         * posix/setresgid.c: Likewise.
20873         * posix/setresuid.c: Likewise.
20874         * posix/setsid.c: Likewise.
20875         * posix/setuid.c: Likewise.
20876         * posix/sleep.c: Likewise.
20877         * posix/spawni.c: Likewise.
20878         * posix/sysconf.c: Likewise.
20879         * posix/times.c: Likewise.
20880         * posix/wait.c: Likewise.
20881         * posix/wait3.c: Likewise.
20882         * posix/wait4.c: Likewise.
20883         * posix/waitpid.c: Likewise.
20884         * resolv/gai_sigqueue.c: Likewise.
20885         * resource/getpriority.c: Likewise.
20886         * resource/getrlimit.c: Likewise.
20887         * resource/getrusage.c: Likewise.
20888         * resource/nice.c: Likewise.
20889         * resource/setpriority.c: Likewise.
20890         * resource/setrlimit.c: Likewise.
20891         * resource/ulimit.c: Likewise.
20892         * rt/aio_cancel.c: Likewise.
20893         * rt/aio_fsync.c: Likewise.
20894         * rt/aio_read.c: Likewise.
20895         * rt/aio_sigqueue.c: Likewise.
20896         * rt/aio_suspend.c: Likewise.
20897         * rt/aio_write.c: Likewise.
20898         * rt/clock_getres.c: Likewise.
20899         * rt/clock_gettime.c: Likewise.
20900         * rt/clock_nanosleep.c: Likewise.
20901         * rt/clock_settime.c: Likewise.
20902         * rt/lio_listio.c: Likewise.
20903         * rt/mq_close.c: Likewise.
20904         * rt/mq_getattr.c: Likewise.
20905         * rt/mq_notify.c: Likewise.
20906         * rt/mq_open.c: Likewise.
20907         * rt/mq_receive.c: Likewise.
20908         * rt/mq_send.c: Likewise.
20909         * rt/mq_setattr.c: Likewise.
20910         * rt/mq_timedreceive.c: Likewise.
20911         * rt/mq_timedsend.c: Likewise.
20912         * rt/mq_unlink.c: Likewise.
20913         * rt/shm_open.c: Likewise.
20914         * rt/shm_unlink.c: Likewise.
20915         * rt/timer_create.c: Likewise.
20916         * rt/timer_delete.c: Likewise.
20917         * rt/timer_getoverr.c: Likewise.
20918         * rt/timer_gettime.c: Likewise.
20919         * rt/timer_settime.c: Likewise.
20920         * setjmp/__longjmp.c: Likewise.
20921         * setjmp/setjmp.c: Likewise.
20922         * signal/kill.c: Likewise.
20923         * signal/killpg.c: Likewise.
20924         * signal/raise.c: Likewise.
20925         * signal/sigaction.c: Likewise.
20926         * signal/sigaltstack.c: Likewise.
20927         * signal/sigblock.c: Likewise.
20928         * signal/sigignore.c: Likewise.
20929         * signal/sigintr.c: Likewise.
20930         * signal/signal.c: Likewise.
20931         * signal/sigpause.c: Likewise.
20932         * signal/sigpending.c: Likewise.
20933         * signal/sigqueue.c: Likewise.
20934         * signal/sigreturn.c: Likewise.
20935         * signal/sigset.c: Likewise.
20936         * signal/sigsetmask.c: Likewise.
20937         * signal/sigstack.c: Likewise.
20938         * signal/sigsuspend.c: Likewise.
20939         * signal/sigtimedwait.c: Likewise.
20940         * signal/sigvec.c: Likewise.
20941         * signal/sigwait.c: Likewise.
20942         * signal/sigwaitinfo.c: Likewise.
20943         * signal/sysv_signal.c: Likewise.
20944         * socket/accept.c: Likewise.
20945         * socket/accept4.c: Likewise.
20946         * socket/bind.c: Likewise.
20947         * socket/connect.c: Likewise.
20948         * socket/getpeername.c: Likewise.
20949         * socket/getsockname.c: Likewise.
20950         * socket/getsockopt.c: Likewise.
20951         * socket/isfdtype.c: Likewise.
20952         * socket/listen.c: Likewise.
20953         * socket/recv.c: Likewise.
20954         * socket/recvfrom.c: Likewise.
20955         * socket/recvmsg.c: Likewise.
20956         * socket/send.c: Likewise.
20957         * socket/sendmsg.c: Likewise.
20958         * socket/sendto.c: Likewise.
20959         * socket/setsockopt.c: Likewise.
20960         * socket/shutdown.c: Likewise.
20961         * socket/sockatmark.c: Likewise.
20962         * socket/socket.c: Likewise.
20963         * socket/socketpair.c: Likewise.
20964         * stdio-common/ctermid.c: Likewise.
20965         * stdio-common/cuserid.c: Likewise.
20966         * stdio-common/remove.c: Likewise.
20967         * stdio-common/rename.c: Likewise.
20968         * stdio-common/renameat.c: Likewise.
20969         * stdio-common/tempname.c: Likewise.
20970         * stdlib/getcontext.c: Likewise.
20971         * stdlib/makecontext.c: Likewise.
20972         * stdlib/setcontext.c: Likewise.
20973         * stdlib/swapcontext.c: Likewise.
20974         * stdlib/system.c: Likewise.
20975         * streams/fattach.c: Likewise.
20976         * streams/fdetach.c: Likewise.
20977         * streams/getmsg.c: Likewise.
20978         * streams/getpmsg.c: Likewise.
20979         * streams/putmsg.c: Likewise.
20980         * streams/putpmsg.c: Likewise.
20981         * sysdeps/unix/bsd/getpt.c: Likewise.
20982         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20983         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20984         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20986         Likewise.
20987         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20988         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20989         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20990         * sysvipc/msgctl.c: Likewise.
20991         * sysvipc/msgget.c: Likewise.
20992         * sysvipc/msgrcv.c: Likewise.
20993         * sysvipc/msgsnd.c: Likewise.
20994         * sysvipc/semctl.c: Likewise.
20995         * sysvipc/semget.c: Likewise.
20996         * sysvipc/semop.c: Likewise.
20997         * sysvipc/semtimedop.c: Likewise.
20998         * sysvipc/shmat.c: Likewise.
20999         * sysvipc/shmctl.c: Likewise.
21000         * sysvipc/shmdt.c: Likewise.
21001         * sysvipc/shmget.c: Likewise.
21002         * termios/tcdrain.c: Likewise.
21003         * termios/tcflow.c: Likewise.
21004         * termios/tcflush.c: Likewise.
21005         * termios/tcgetattr.c: Likewise.
21006         * termios/tcgetpgrp.c: Likewise.
21007         * termios/tcsendbrk.c: Likewise.
21008         * termios/tcsetattr.c: Likewise.
21009         * termios/tcsetpgrp.c: Likewise.
21010         * time/adjtime.c: Likewise.
21011         * time/clock.c: Likewise.
21012         * time/getitimer.c: Likewise.
21013         * time/gettimeofday.c: Likewise.
21014         * time/setitimer.c: Likewise.
21015         * time/settimeofday.c: Likewise.
21016         * time/stime.c: Likewise.
21017         * time/time.c: Likewise.
21019 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
21021         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21022         /usr/old/bin.
21024         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21025         instead of spaces.
21026         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21028 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
21030         [BZ #14796]
21031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21032         FE_TONEAREST before applying Dekker multiplication and Knuth
21033         addition.  Clear inexact exceptions and check for exact zero
21034         results afterwards.
21035         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21036         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21037         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21038         * math/libm-test.inc (fma_test): Add more tests.
21039         (fma_test_towardzero): Likewise.
21040         (fma_test_downward): Likewise.
21041         (fma_test_upward): Likewise.
21042         * sysdeps/generic/math_private.h (default_libc_fesetround): New
21043         function.
21044         (libc_fesetround): New macro.
21045         (libc_fesetroundf): Likewise.
21046         (libc_fesetroundl): Likewise.
21047         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21048         function.
21049         (libc_fesetround_387): Likewise.
21050         (libc_fesetroundf): New macro.
21051         (libc_fesetround): Likewise.
21052         (libc_fesetroundl): Likewise.
21053         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21054         function.
21055         (libc_fesetroundf): New macro.
21056         (libc_fesetround): Likewise.
21057         (libc_fesetroundl): Likewise.
21058         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21059         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21060         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21061         libm_hidden_ver.
21062         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21063         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21064         libm_hidden_def.
21065         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21066         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21067         libm_hidden_ver.
21068         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21069         libm_hidden_def.
21071         [BZ #3439]
21072         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21073         integer constant usable in #if and use that to give value to enum
21074         constant.
21075         (FE_DIVBYZERO): Likewise.
21076         (FE_UNDERFLOW): Likewise.
21077         (FE_OVERFLOW): Likewise.
21078         (FE_INVALID): Likewise.
21079         (FE_INVALID_SNAN): Likewise.
21080         (FE_INVALID_ISI): Likewise.
21081         (FE_INVALID_IDI): Likewise.
21082         (FE_INVALID_ZDZ): Likewise.
21083         (FE_INVALID_IMZ): Likewise.
21084         (FE_INVALID_COMPARE): Likewise.
21085         (FE_INVALID_SOFTWARE): Likewise.
21086         (FE_INVALID_SQRT): Likewise.
21087         (FE_INVALID_INTEGER_CONVERSION): Likewise.
21088         (FE_TONEAREST): Likewise.
21089         (FE_TOWARDZERO): Likewise.
21090         (FE_UPWARD): Likewise.
21091         (FE_DOWNWARD): Likewise.
21092         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21093         (FE_DIVBYZERO): Likewise.
21094         (FE_OVERFLOW): Likewise.
21095         (FE_UNDERFLOW): Likewise.
21096         (FE_INEXACT): Likewise.
21097         (FE_TONEAREST): Likewise.
21098         (FE_DOWNWARD): Likewise.
21099         (FE_UPWARD): Likewise.
21100         (FE_TOWARDZERO): Likewise.
21101         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21102         (FE_UNDERFLOW): Likewise.
21103         (FE_OVERFLOW): Likewise.
21104         (FE_DIVBYZERO): Likewise.
21105         (FE_INVALID): Likewise.
21106         (FE_TONEAREST): Likewise.
21107         (FE_TOWARDZERO): Likewise.
21108         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21109         (FE_OVERFLOW): Likewise.
21110         (FE_UNDERFLOW): Likewise.
21111         (FE_DIVBYZERO): Likewise.
21112         (FE_INEXACT): Likewise.
21113         (FE_TONEAREST): Likewise.
21114         (FE_TOWARDZERO): Likewise.
21115         (FE_UPWARD): Likewise.
21116         (FE_DOWNWARD): Likewise.
21117         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21118         (FE_DIVBYZERO): Likewise.
21119         (FE_OVERFLOW): Likewise.
21120         (FE_UNDERFLOW): Likewise.
21121         (FE_INEXACT): Likewise.
21122         (FE_TONEAREST): Likewise.
21123         (FE_DOWNWARD): Likewise.
21124         (FE_UPWARD): Likewise.
21125         (FE_TOWARDZERO): Likewise.
21127 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
21129         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21131 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
21133         * scripts/cross-test-ssh.sh (command): Use newlines to separate
21134         commands.  Quote $PWD.
21135         (blacklist_exports): Don't use remove_newlines.  Replace "declare
21136         -x" by "export".
21137         (remove_newlines): Remove.
21139 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
21141         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21142         * stdlib/stdlib.h (atof): Moved to ...
21143         * include/bits/stdlib-float.h: Here.  New file.
21144         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21145         * stdlib/bits/stdlib-float.h: New file.
21146         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21147         -mno-sse -mno-mmx.
21148         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21149         <xmmintrin.h>.
21151 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21153         * conform/conformtest.pl (@headers): Add fenv.h.
21154         * conform/data/fenv.h-data: New file.
21155         * include/fenv.h [_ISOMAC]: Disable all contents of file except
21156         include of <math/fenv.h>.
21158         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21159         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21160         && !UNIX98].  Enables tests for XOPEN2K8.
21161         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21162         POSIX2008]: Likewise.
21164         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21165         (struct rusage): Do not expect type or its members.
21167         [BZ #3439]
21168         * math/math.h (FP_NAN): Define macro to integer constant usable in
21169         #if and use that to give value to enum constant.
21170         (FP_INFINITE): Likewise.
21171         (FP_ZERO): Likewise.
21172         (FP_SUBNORMAL): Likewise.
21173         (FP_NORMAL): Likewise.
21175 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
21177         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21178         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21179         arguments.
21181 2012-11-02  Roland McGrath  <roland@hack.frob.com>
21183         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21184         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21185         autoconf-time if not.
21186         * configure.in: Remove AC_PREREQ.
21188 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21190         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21191         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21192         of the internal implementation.
21194 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21196         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21197         except include of <misc/sys/syslog.h>.
21199 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21202         function returns with a NULL context exit with zero.
21204 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21206         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21208 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
21210         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21211         (run_program_cmd): This.
21212         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21213         (tst_langinfo): New variable.  Use it.
21215 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
21217         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21218         floating point opcodes.
21220 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21222         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21223         variable.
21225         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21227         * sysdeps/mach/hurd/powerpc: Remove directory.
21228         * sysdeps/mach/powerpc: Likewise.
21230 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21232         * scripts/check-local-headers.sh: Ignore c++ headers.
21234 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21236         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21237         __libc_cleanup_region_start argument.
21239 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
21241         [BZ #14784]
21242         [BZ #14785]
21243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21244         x * y using scaling, not as x * y + z.
21245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21246         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21247         * math/libm-test.inc (fma_test): Add more tests.
21248         (fma_test_towardzero): Likewise.
21249         (fma_test_downward): Likewise.
21250         (fma_test_upward): Likewise.
21252 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21254         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21256 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21258         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21259         New variable.
21261 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
21263         * rt/tst-shm.c (worker): Correct checking for mmap failure.
21265 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21268         Fix sort order.
21269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21270         Likewise.
21272 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21275         Fix the order of the list for glibc 2.17.
21276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21277         Likewise.
21279 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21283 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21285         [BZ #14610]
21286         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21287         for low part of x being zero before using __atanl (y).
21288         * math/libm-test.inc (atan2_test): Add another test.
21290         * manual/install.texi (Configuring and compiling): Document
21291         general use of test-wrapper and test-wrapper-env.
21292         * INSTALL: Regenerated.
21294         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21295         (__fma): Do not extract and scale down low bits on after-rounding
21296         systems when result rounded to normal precision would have normal
21297         exponent.
21298         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21299         (__fmal): Do not extract and scale down low bits on after-rounding
21300         systems when result rounded to normal precision would have normal
21301         exponent.
21302         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21303         (__fmal): Do not extract and scale down low bits on after-rounding
21304         systems when result rounded to normal precision would have normal
21305         exponent.
21306         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21307         macro.
21308         (fma_test): Add more tests.
21309         (fma_test_towardzero): Likewise.
21310         (fma_test_downward): Likewise.
21311         (fma_test_upward): Likewise.
21313 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
21315         * sysdeps/i386/tininess.h: Renamed to ...
21316         * sysdeps/x86/tininess.h: This.
21317         * sysdeps/x86_64/tininess.h: Removed.
21319 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21321         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21322         input.  Use $(build-program-cmd).
21323         ($(objpfx)tst-array1-static.out): Likewise.
21324         ($(objpfx)tst-array2.out): Likewise.
21325         ($(objpfx)tst-array3.out): Likewise.
21326         ($(objpfx)tst-array4.out): Likewise.
21327         ($(objpfx)tst-array5.out): Likewise.
21328         ($(objpfx)tst-array5-static.out): Likewise.
21330 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
21332         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21333         if defined.
21335         * nss/nsswitch.h (nss_interface_function): Provide new
21336         macro for use with NSS functions.
21337         * grp/initgroups.c: Use new macro.
21338         * nss/getXXbyYY.c: Likewise.
21339         * nss/getXXbyYY_r.c: Likewise.
21340         * nss/getXXent.c: Likewise.
21341         * nss/getXXent_r.c: Likewise.
21342         * sysdeps/posix/getaddrinfo.c: Likewise.
21344 2012-10-30  Andreas Jaeger  <aj@suse.de>
21346         * po/ru.po: Update Russion translation from translation project.
21348 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21350         [BZ #14152]
21351         [BZ #14783]
21352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21353         result and shift together with sticky bit instead of replicating
21354         round-to-nearest rounding.
21355         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21356         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21357         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
21358         missing underflow exceptions.
21359         (fma_test_towardzero): Add more tests.
21360         (fma_test_downward): Likewise.
21361         (fma_test_upward): Likewise.
21363         [BZ #14047]
21364         * sysdeps/generic/tininess.h: New file.
21365         * sysdeps/i386/tininess.h: Likewise.
21366         * sysdeps/sh/tininess.h: Likewise.
21367         * sysdeps/x86_64/tininess.h: Likewise.
21368         * stdlib/tst-strtod-underflow.c: Likewise.
21369         * stdlib/tst-tininess.c: Likewise.
21370         * stdlib/strtod_l.c: Include <tininess.h>.
21371         (round_and_return): Do not set errno for exact underflow cases.
21372         Force an underflow exception when setting errno for underflow.
21373         Determine underflow based on rounding to normal precision if
21374         TININESS_AFTER_ROUNDING.
21375         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21376         ERANGE for exact underflow cases.
21377         * stdlib/Makefile (tests): Add tst-tininess and
21378         tst-strtod-underflow.
21379         ($(objpfx)tst-tininess): Use $(link-libm).
21380         ($(objpfx)tst-strtod-underflow): Likewise.
21382 2012-10-30  Andreas Jaeger  <aj@suse.de>
21384         [BZ#14767]
21385         * elf/Makefile (tests): Remove conditional for have-initfini-array
21386         since this is now always required and the variable does not exist
21387         anymore.
21388         (tests-static): Likewise.
21389         (modules-names): Likewise.
21391         * po/eo.po: Add Esperanto translation from translation project.
21393         * elf/tst-array1.c (fini_array): Make writeable so that it can be
21394         merged with constructor/destructor.
21395         (init_array): Likewise.
21396         * elf/tst-array2dep.c (fini_array): Likewise.
21397         (init_array): Likewise.
21399 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
21401         * manual/message.texi: Delete @cartouche tags.
21403 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
21405         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21406         EOPNOTSUPP.
21407         * sysdeps/mach/hurd/fsync.c: Likewise.
21409         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21410         [_POSIX_REALTIME_SIGNALS]: Change condition to
21411         [_POSIX_REALTIME_SIGNALS > 0].
21413 2012-10-27  Andreas Jaeger  <aj@suse.de>
21415         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21416         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21417         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21418         [__WORDSIZE != 64]: Likewise.
21420 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
21422         *  iconvdata/tst-table.sh: Remove ${SHELL}.
21423         *  iconvdata/tst-tables.sh: Likewise.
21425 2012-10-25  David S. Miller  <davem@davemloft.net>
21427         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21428         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21429         of strtoull.
21431         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21432         ifunc-impl-list.c
21433         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21434         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21435         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21436         file.
21438 2012-10-25  Roland McGrath  <roland@hack.frob.com>
21440         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21441         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21442         __getdirentries.
21444 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21445             Jim Blandy  <jimb@codesourcery.com>
21447         * scripts/cross-test-ssh.sh: New file.
21448         * manual/install.texi (Configuring and compiling): Document use of
21449         cross-test-ssh.sh.
21450         * INSTALL: Regenerated.
21452 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
21454         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21455         EOPNOTSUPP.
21457 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21459         * Makeconfig (run-program-prefix): Fix comment.
21461 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21462             Jim Blandy  <jimb@codesourcery.com>
21464         * Makeconfig (test-wrapper): New variable,
21465         (test-wrapper-env): Likewise.
21466         [$(cross-compiling) = yes && $(test-wrapper) != ""]
21467         (run-built-tests): Define to yes.
21468         (run-program-prefix): Use $(test-wrapper).
21469         (built-program-cmd): Likewise.
21470         * Rules (make-test-out): Use $(test-wrapper-env) and
21471         $(host-built-program-cmd).
21472         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21473         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21474         tst-pathopt.sh.
21475         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21476         $(test-wrapper-env) to tst-rtld-load-self.sh.
21477         ($(objpfx)order2.out): Use $(test-wrapper).
21478         ($(objpfx)tst-initorder.out): Likewise.
21479         ($(objpfx)tst-initorder2.out): Likewise.
21480         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21481         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21482         (test_wrapper_env): New variable.  Use it to run ld.so.
21483         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21484         Use it to run ld.so.
21485         (test_wrapper_env): Likewise.
21486         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21487         $(test-wrapper) to run-iconv-test.sh.
21488         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21489         (ICONV): Use $test_wrapper.
21490         * posix/Makefile ($(objpfx)globtest.out): Pass
21491         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21492         globtest.sh, not $(run-program-prefix).
21493         * posix/globtest.sh (run_via_rtld_prefix): New variable.
21494         (test_wrapper): Likewise.
21495         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
21496         set together with run_via_rtld_prefix.
21497         (run_program_prefix): Define in terms of test_wrapper and
21498         run_via_rtld_prefix.
21500 2012-10-24  Roland McGrath  <roland@hack.frob.com>
21502         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21503         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21504         Targets removed.
21506         [BZ #14743]
21507         * include/time.h: Remove librt_hidden_proto (clock_gettime).
21508         Declare __clock_getres, __clock_gettime, __clock_settime,
21509         __clock_nanosleep, and __clock_getcpuclockid.
21510         * rt/clock_gettime.c: Define __clock_gettime as an alias.
21511         Remove librt_hidden_def (clock_gettime).
21512         * sysdeps/unix/clock_gettime.c: Likewise.
21513         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21514         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21515         * rt/clock_getres.c: Define __clock_getres as an alias.
21516         * sysdeps/posix/clock_getres.c: Likewise.
21517         * rt/clock_settime.c: Define __clock_settime as an alias.
21518         * sysdeps/unix/clock_settime.c: Likewise.
21519         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21520         * sysdeps/unix/clock_nanosleep.c: Likewise.
21521         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21522         * rt/clock-compat.c: New file.
21523         * rt/Makefile (librt-routines): Add clock-compat and move
21524         $(clock-routines) to ...
21525         (routines): ... here, new variable.
21526         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21527         Don't add get_clockfreq here.
21528         * rt/Versions (libc: GLIBC_2.17): New version set.
21529         Add clock_* symbols here.
21530         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
21531         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21532         (GLIBC_2.17): Add clock_* symbols.
21533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21535         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21537         Likewise.
21538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21539         Likewise.
21540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21541         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21542         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21544         * NEWS: Mention the move.
21546         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21547         Use __open, __read, __close rather than their public counterparts.
21548         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21549         (__get_clockfreq_via_cpuinfo): Likewise.
21550         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21551         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21553         * config.h.in (HAVE_IFUNC): New #undef.
21554         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21555         was successful.
21556         * configure: Regenerated.
21558 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21560         * configure.in: Move READELF check to start of file.
21561         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21562         libc_cv_asm_gnu_indirect_function in the process.
21563         * configure: Regenerated.
21565 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21567         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21568         send the output to /dev/null.
21569         (libc_cv_cc_with_libunwind): Likewise.
21570         (libc_cv_as_noexecstack): Likewise.
21571         * configure: Regenerate.
21573 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21575         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21577         * posix/globtest.sh (TMPDIR): Do not set.
21578         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21579         (testout): Likewise.
21581 2012-10-24  Andreas Jaeger  <aj@suse.de>
21583         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21584         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21585         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21586         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21587         posix_fadvise64, posix_fallocate64.
21589         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21590         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21591         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21592         Likewise.
21593         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21594         Likewise.
21595         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21598         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21599         <bits/fcntl-linux.h>.
21600         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21602         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21603         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21604         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21605         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21606         [__WORDSIZE != 64]: Likewise.
21608 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21610         * Makeconfig (run-built-tests): New variable.
21611         * Rules [$(cross-compiling) = yes]: Change condition to
21612         [$(run-built-tests) = no].
21613         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21614         to [$(run-built-tests) = yes].
21615         * elf/Makefile [$(cross-compiling) = no]: Likewise
21616         * grp/Makefile [$(cross-compiling) = no]: Likewise.
21617         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21618         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21619         * intl/Makefile [$(cross-compiling) = no]: Likewise.
21620         * io/Makefile [$(cross-compiling) = no]: Likewise.
21621         * libio/Makefile [$(cross-compiling) = no]: Likewise.
21622         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21623         * misc/Makefile [$(cross-compiling) = no]: Likewise.
21624         * posix/Makefile [$(cross-compiling) = no]: Likewise.
21625         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21626         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21627         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21628         * string/Makefile [$(cross-compiling) = no]: Likewise.
21630         * posix/Makefile ($(objpfx)globtest.out): Pass
21631         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21632         $(rtld-installed-name).
21633         * posix/globtest.sh (elf_objpfx): Remove variable.
21634         (rtld_installed_name): Likewise.
21635         (library_path): Likewise.
21636         (run_program_prefix): New variable.  Use for running globtest
21637         binary.
21639 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
21640             Joseph Myers  <joseph@codesourcery.com>
21642         * Makeconfig (host-built-program-cmd): New variable.
21643         * elf/Makefile (tst-stackguard1-ARGS): Use
21644         $(host-built-program-cmd).
21645         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21646         (tst-spawn-ARGS): Likewise.
21647         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21649 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21650             Jim Blandy  <jimb@codesourcery.com>
21652         * Makeconfig (run-via-rtld-prefix): New variable.
21653         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21654         (built-program-cmd): Likewise.
21656 2012-10-22  Andreas Jaeger  <aj@suse.de>
21658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21659         __O_RSYNC if it exists, otherwise to O_SYNC.
21661 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
21662             Joseph Myers  <joseph@codesourcery.com>
21664         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21665         /dev/null.
21666         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21667         from /dev/null
21668         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21669         /dev/null.
21671 2012-10-22  Andreas Jaeger  <aj@suse.de>
21673         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21674         Define always.
21675         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21677         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21678         bits/fcntl-linux.h.
21680         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21681         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21683         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21684         to __O_LARGEFILE.
21685         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21686         to __O_LARGEFILE.
21688 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
21689             Joseph Myers  <joseph@codesourcery.com>
21691         * config.make.in (NM): New variable.
21693 2012-10-21  Andreas Jaeger  <aj@suse.de>
21695         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21696         definitions and declarations that are provided by
21697         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21699 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21701         [BZ #14683]
21702         * elf/Makefile (tests-static): Add tst-leaks1-static.
21703         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21704         ($(objpfx)tst-leaks1-static): New rule.
21705         ($(objpfx)tst-leaks1-static-mem): Likewise.
21706         (tst-leaks1-static-ENV): New macro.
21707         * elf/dl-open.c (dl_open_worker): Check the main application
21708         only if SHARED is defined.
21709         * elf/tst-leaks1-static.c: New file.
21711 2012-10-20  Andreas Jaeger  <aj@suse.de>
21713         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21714         generic values for Linux.
21715         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21716         and declarations that are provided by <bits/fcntl-linux.h> and
21717         include <bits/fcntl-linux.h>.
21718         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21719         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21721 2012-10-20  Roland McGrath  <roland@hack.frob.com>
21723         * io/fcntl.h: Move include of <bits/types.h> to the top and
21724         include it unconditionally.
21726 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21728         * wcsmbs/Makefile (tests-ifunc): New variable.
21729         (tests): Add $(tests-ifunc).
21730         * wcsmbs/test-wcschr-ifunc.c: New file.
21731         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21732         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21733         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21734         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21735         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21737         * string/Makefile (tests-ifunc): New variable.
21738         (tests): Add $(tests-ifunc).
21739         * string/test-memccpy.c (TEST_NAME): New macro.
21740         * string/test-memchr.c (TEST_NAME): Likewise.
21741         * string/test-memcmp.c (TEST_NAME): Likewise.
21742         * string/test-memcpy.c (TEST_NAME): Likewise.
21743         * string/test-memmem.c (TEST_NAME): Likewise.
21744         * string/test-memmove.c (TEST_NAME): Likewise.
21745         * string/test-memset.c (TEST_NAME): Likewise.
21746         * string/test-rawmemchr.c (TEST_NAME): Likewise.
21747         * string/test-stpcpy.c (TEST_NAME): Likewise.
21748         * string/test-stpncpy.c (TEST_NAME): Likewise.
21749         * string/test-strcasecmp.c (TEST_NAME): Likewise.
21750         * string/test-strcasestr.c (TEST_NAME): Likewise.
21751         * string/test-strcat.c (TEST_NAME): Likewise.
21752         * string/test-strchr.c (TEST_NAME): Likewise.
21753         * string/test-strcmp.c(TEST_NAME): Likewise.
21754         * string/test-strcpy.c (TEST_NAME): Likewise.
21755         * string/test-strcspn.c (TEST_NAME): Likewise.
21756         * string/test-strlen.c (TEST_NAME): Likewise.
21757         * string/test-strncasecmp.c (TEST_NAME): Likewise.
21758         * string/test-strncmp.c (TEST_NAME): Likewise.
21759         * string/test-strncpy.c (TEST_NAME): Likewise.
21760         * string/test-strnlen.c (TEST_NAME): Likewise.
21761         * string/test-strpbrk.c (TEST_NAME): Likewise.
21762         * string/test-strrchr.c (TEST_NAME): Likewise.
21763         * string/test-strspn.c (TEST_NAME): Likewise.
21764         * string/test-strstr.c (TEST_NAME): Likewise.
21765         * string/test-bcopy-ifunc.c: New file.
21766         * string/test-bzero-ifunc.c: Likewise.
21767         * string/test-memccpy-ifunc.c: Likewise.
21768         * string/test-memchr-ifunc.c: Likewise.
21769         * string/test-memcmp-ifunc.c: Likewise.
21770         * string/test-memcpy-ifunc.c: Likewise.
21771         * string/test-memmem-ifunc.c: Likewise.
21772         * string/test-memmove-ifunc.c: Likewise.
21773         * string/test-mempcpy-ifunc.c: Likewise.
21774         * string/test-memset-ifunc.c: Likewise.
21775         * string/test-rawmemchr-ifunc.c: Likewise.
21776         * string/test-stpcpy-ifunc.c: Likewise.
21777         * string/test-stpncpy-ifunc.c: Likewise.
21778         * string/test-strcasecmp-ifunc.c: Likewise.
21779         * string/test-strcasestr-ifunc.c: Likewise.
21780         * string/test-strcat-ifunc.c: Likewise.
21781         * string/test-strchr-ifunc.c: Likewise.
21782         * string/test-strchrnul-ifunc.c: Likewise.
21783         * string/test-strcmp-ifunc.c: Likewise.
21784         * string/test-strcpy-ifunc.c: Likewise.
21785         * string/test-strcspn-ifunc.c: Likewise.
21786         * string/test-strlen-ifunc.c: Likewise.
21787         * string/test-strncasecmp-ifunc.c: Likewise.
21788         * string/test-strncat-ifunc.c: Likewise.
21789         * string/test-strncmp-ifunc.c: Likewise.
21790         * string/test-strncpy-ifunc.c: Likewise.
21791         * string/test-strnlen-ifunc.c: Likewise.
21792         * string/test-strpbrk-ifunc.c: Likewise.
21793         * string/test-strrchr-ifunc.c: Likewise.
21794         * string/test-strspn-ifunc.c: Likewise.
21795         * string/test-strstr-ifunc.c: Likewise.
21797         * debug/Makefile (tests-ifunc): New variable.
21798         (tests): Add $(tests-ifunc).
21799         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21800         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21801         * debug/test-stpcpy_chk-ifunc.c: New file.
21802         * debug/test-strcpy_chk-ifunc.c: Likewise.
21804 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21806         [BZ #13601]
21807         * elf/dl-load.c (open_verify): Retry read if the entire ELF
21808         header is not read in.
21810 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
21812         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
21813         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
21814         directly.  Pass built executable to script as
21815         $(built-program-cmd).
21816         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
21817         $testprogram without using LD_LIBRARY_PATH and $ldso.
21819         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21820         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21821         $(rtld-installed-name).
21822         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21823         (rtld_installed_name): Likewise.
21824         (library_path): Likewise.
21825         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
21826         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21827         $(run-program-prefix) to tst-tables.sh.
21828         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
21829         it to run tst-table-from and tst-table-to.
21830         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21831         Pass it to tst-table.sh.
21832         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21833         $(run-program-prefix) to tst-gettext.sh.
21834         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21835         tst-translit.sh.
21836         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21837         tst-gettext2.sh.
21838         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
21839         to run tst-gettext.
21840         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
21841         to run tst-gettext2.
21842         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
21843         to run tst-translit.
21844         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21845         $(run-program-prefix) to tst-mtrace.sh.
21846         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
21847         to run tst-mtrace.
21848         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21849         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21850         $(rtld-installed-name).
21851         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21852         (rtld_installed_name): Likewise.
21853         (run_program_prefix): New variable.  Use it to run wordexp-test.
21855         * Makeconfig (ARCH): Remove all definitions.
21856         (machine): Likewise.
21857         [ARCH]: Remove conditional code.
21858         [!objdir]: Give error.
21859         [!objdir] (objpfx): Remove.
21860         [!objdir] (common-objpfx): Likewise.
21861         [!objdir] (common-objdir): Likewise.
21862         * configure.in (config_makefile): Remove.  Hardcode Makefile in
21863         AC_CONFIG_FILES call.
21864         * configure: Regenerated.
21866         [BZ #13888]
21867         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21868         or TMPDIR.
21869         (testout): Likewise.
21871         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21872         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21873         $(rtld-installed-name).
21874         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21875         (rtld_installed_name): Likwise.
21876         (runit): Remove function.
21877         (run_getconf): New variable,  Use it for running getconf binary.
21879 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
21881         [BZ #14716]
21882         * string/test-memmem.c (check_result): New function.
21883         (do_one_test): Use it.
21884         (check1): New function.
21885         (test_main): Use it.
21887 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
21889         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21891 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
21893         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21894         (_G_LSEEK64): Likewise.
21895         (_G_MMAP64): Likewise.
21896         (_G_FSTAT64): Likewise.
21897         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21898         (_G_LSEEK64): Likewise.
21899         (_G_MMAP64): Likewise.
21900         (_G_FSTAT64): Likewise.
21901         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21902         unconditional.  Call __mmap64 directly.
21903         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21904         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
21905         __lseek64 directly.
21906         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21907         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
21908         __mmap64 directly.
21909         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21910         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21911         __lseek64 directly.
21912         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21913         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21914         __lseek64 directly.
21915         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21916         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
21917         __lseek64 directly.
21918         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21919         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
21920         __fxstat64 directly.
21921         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21922         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21923         unconditional.
21924         (freopen64) [!_G_OPEN64]: Remove conditional code.
21925         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21926         unconditional.
21927         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21928         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21929         unconditional.
21930         (ftello64) [!_G_LSEEK64]: Remove conditional code.
21931         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21932         unconditional.
21933         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21934         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21935         unconditional.
21936         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21937         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21938         unconditional.
21939         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21940         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21941         unconditional.
21942         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21943         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21944         unconditional.
21945         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21947 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21949         [BZ #12140]
21950         * manual/memory.texi (Malloc Tunable Parameters): Add note
21951         about free list pointers overwriting some perturb bytes.
21952         Wording suggested by Roland McGrath.
21954 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
21956         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21957         (lgamma_test): Likewise.
21958         (tgamma_test): Likewise.
21960 2012-10-16  Florian Weimer  <fweimer@redhat.com>
21962         [BZ #14700]
21963         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21964         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21966 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
21968         * NEWS: Mention BZ #14716.
21969         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21970         when removing AVAILABLE1_USES_J macro.
21972 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
21974         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21975         (__bswap_64): __uint64_t for unsigned 64-bit int.
21977 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
21979         * include/string.h (memmem): Declare libc hidden alias.
21980         * string/memmem.c (memmem): Define libc hidden alias.
21981         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21982         __read, __close instead of open, read, close.
21984 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
21986         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21987         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21988         global and hidden.
21989         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21990         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21991         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21992         Likewise.
21993         (__rawmemchr_sse2): Likewise.
21994         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21995         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21996         (__strchr_sse2): Likewise.
21997         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21998         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21999         (__strcasecmp_sse2): Likewise.
22000         (__strncasecmp_sse2): Likewise.
22001         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22002         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22003         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22004         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22005         (__strrchr_sse2): Likewise.
22006         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22007         ifunc-impl-list.c.
22008         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22009         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22010         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22011         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22012         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22013         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22014         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22015         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22016         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22017         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22018         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22019         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22020         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22021         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22022         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22023         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22024         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22025         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22026         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22027         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22028         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22029         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22030         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22031         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22032         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22033         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22034         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22035         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22036         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22037         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22039         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22040         global and hidden.
22041         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22042         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22043         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22044         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22045         Likewise.
22046         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22047         Likewise.
22048         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22049         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22050         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22051         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22052         ifunc-impl-list.c.
22053         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22054         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22055         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22056         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22057         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22058         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22059         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22060         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22061         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22062         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22063         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22064         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22065         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22066         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22067         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22068         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22069         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22070         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22071         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22072         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22073         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22074         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22075         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22076         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22077         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22078         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22079         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22080         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22081         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22082         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22083         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22084         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22085         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22086         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22087         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22088         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22089         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22090         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22091         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22092         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22093         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22095         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22096         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22097         * include/ifunc-impl-list.h: New file.
22098         * misc/ifunc-impl-list.c: Likewise.
22099         * misc/Makefile (routines): Add ifunc-impl-list.
22100         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22101         * string/test-string.h: Include <ifunc-impl-list.h>.
22102         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22103         impl_array): New variables.
22104         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22105         are defined.
22106         (test_init): Call __libc_ifunc_impl_list to initialize
22107         func_list if TEST_IFUNC and TEST_NAME are defined.
22109         * string/Makefile (strop-tests): Add bcopy and bzero.
22110         * string/test-bcopy.c: New file.
22111         * string/test-bzero.c: Likewise.
22112         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22113         defined.
22114         * string/test-memset.c: Support bzero test if TEST_BZERO is
22115         defined.
22116         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22117         __libc_memmove.
22118         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22119         __libc_memset.
22120         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22121         of memset.
22123 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
22125         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22126         * configure: Regenerated.
22128         * Makeconfig (+link-static-before-libc): Don't include
22129         $(link-static-libc).
22131         * libio/libio.h (_IO_pos_t): Remove.
22133 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22135         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
22136         McGrath.
22138 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22140         * crypt/crypt-entry.c: Include fips-private.h.
22141         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22142         * crypt/md5c-test.c (main): Tolerate disabled MD5.
22143         * sysdeps/unix/sysv/linux/fips-private.h: New file.
22144         * sysdeps/generic/fips-private.h: New file, dummy fallback.
22146 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
22148         * crypt/crypt-private.h: Include stdbool.h.
22149         (_ufc_setup_salt_r): Return bool.
22150         * crypt/crypt-entry.c: Include errno.h.
22151         (__crypt_r): Return NULL with EINVAL for bad salt.
22152         * crypt/crypt_util.c (bad_for_salt): New.
22153         (_ufc_setup_salt_r): Check that salt is long enough and within
22154         the specified alphabet.
22155         * crypt/badsalttest.c: New file.
22156         * crypt/Makefile (tests): Add it.
22157         ($(objpfx)badsalttest): New.
22159 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
22161         * NEWS: Add entry for BZ #14602.
22163 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22165         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22166         type-generic.
22167         * math/libm-test.inc: Update comment listing what functions and
22168         macros are tested.
22169         (isgreater_test): New function.
22170         (isgreaterequal_test): Likewise.
22171         (isless_test): Likewise.
22172         (islessequal_test): Likewise.
22173         (islessgreater_test): Likewise.
22174         (isunordered_test): Likewise.
22175         (main): Call the new functions.
22177 2012-10-09  Roland McGrath  <roland@hack.frob.com>
22179         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22180         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22181         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22182         * sysdeps/i386/configure: Regenerated.
22183         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22184         * sysdeps/mach/configure: Regenerated.
22185         * sysdeps/mach/hurd/configure: Regenerated.
22186         * sysdeps/powerpc/configure: Regenerated.
22187         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22188         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22189         * sysdeps/s390/s390-32/configure: Regenerated.
22190         * sysdeps/s390/s390-64/configure: Regenerated.
22191         * sysdeps/sh/configure: Regenerated.
22192         * sysdeps/sparc/configure: Regenerated.
22193         * sysdeps/unix/sysv/linux/configure: Regenerated.
22194         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22195         * sysdeps/x86_64/configure: Regenerated.
22197         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22198         defined.  Don't check if MAP is NULL.
22200 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22202         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22203         (_G_stat64): Likewise.
22204         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22205         (_G_stat64): Likewise.
22206         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22207         instead of struct _G_stat64.
22208         * libio/fileops.c (mmap_remap_check): Likewise.
22209         (decide_maybe_mmap): Likewise.
22210         (_IO_new_file_seekoff): Likewise.
22211         (_IO_file_stat): Likewise.
22212         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22213         _G_off64_t.
22214         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22215         instead of struct _G_stat64.
22216         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22218 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
22220         [BZ #14602]
22221         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22222         Replace with ...
22223         (CHECK_EOL): New macro.
22224         (two_way_short_needle): Check beginning of haystack for EOL.  Use
22225         CHECK_EOL.
22226         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22227         Replace with CHECK_EOL.
22228         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22229         Replace with CHECK_EOL.
22231 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
22233         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22234         type-generic.
22235         * math/libm-test.inc: Update comment listing what functions and
22236         macros are tested.
22237         (finite_test): New function.
22238         (isinf_test): Likewise.
22239         (isnan_test): Likewise.
22240         (fpclassify_test): Test subnormal input.
22241         (isfinite_test): Likewise.
22242         (isnormal_test): Likewise.
22243         (main): Call the new functions.
22245 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
22247         [BZ #14660]
22248         * Makerules (%.dynsym): Force C locale when running
22249         $(OBJDUMP) --dynamic-syms.
22251 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
22253         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22254         <stdint.h>.
22256 2012-10-06  David S. Miller  <davem@davemloft.net>
22258         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22259         upper 32-bits of the length value in %o2 since we use branch-on-register
22260         tests which consider the entire 64-bit register.
22262 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
22264         * string/test-strstr.c (check2): Add a test for page boundary.
22266 2012-10-05  David S. Miller  <davem@davemloft.net>
22268         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22269         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22270         file.
22271         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22272         sysdep_routines.
22273         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22274         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22275         and bzero when HWCAP_SPARC_CRYPTO is present.
22277 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
22279         [BZ #14602]
22280         * string/test-strstr.c (check2): New function.
22281         (test_main): Call check2.
22283         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22284         and bug-strchr1.
22285         * string/bug-strcasestr1.c (do_test): Moved to ...
22286         * string/test-strcasestr.c (check1): Here.  New function.
22287         (do_one_test): Break out result checking code into ...
22288         (check_result): This.  New function.
22289         (do_one_test): Call check_result.
22290         (test_main): Call check1.
22291         * string/bug-strchr1.c (do_test): Moved to ...
22292         * string/test-strchr.c (check1): Here.  New function.
22293         (do_one_test): Break out result checking code into ...
22294         (check_result): This.  New function.
22295         (do_one_test): Call check_result.
22296         (test_main): Call check1.
22297         * string/bug-strstr1.c (main): Moved to ...
22298         * string/test-strstr.c (check1): Here.  New function.
22299         (do_one_test): Break out result checking code into ...
22300         (check_result): This.  New function.
22301         (do_one_test): Call check_result.
22302         (test_main): Call check1.
22303         * string/bug-strcasestr1.c: Removed.
22304         * string/bug-strchr1.c: Likewise.
22305         * string/bug-strstr1.c: Likewise.
22307         * elf/Makefile (dl-routines): Add hwcaps.
22308         * elf/dl-support.c (_dl_important_hwcaps): Removed.
22309         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22310         (_dl_important_hwcaps): Moved to ...
22311         * elf/dl-hwcaps.c: Here.  New file.
22312         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22314         [BZ #14557]
22315         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22316         if IS_IN_rtld isn't defined.
22318         * elf/dl-support.c (_dl_sysinfo_map): New.
22319         Include "get-dynamic-info.h" and "setup-vdso.h".
22320         (_dl_non_dynamic_init): Call setup_vdso.
22321         * elf/dynamic-link.h: Don't include <assert.h>.
22322         (elf_get_dynamic_info): Moved to ...
22323         * elf/get-dynamic-info.h: Here.  New file.
22324         * elf/dynamic-link.h: Include "get-dynamic-info.h".
22325         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22326         * elf/setup-vdso.h: Here.  New file.
22327         * elf/rtld.c: Include "setup-vdso.h".
22328         (dl_main): Call setup_vdso.
22330 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
22332         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22333         creal in comment listing functions tested.  List finite, isinf,
22334         isnan, isless, islessequal, isgreater, isgreaterequal,
22335         islessgreater, isunordered, lgamma_r and pow10 as functions and
22336         macros not tested.  Mention which functions not tested are aliases
22337         for other functions.  Fix typo.  Note that signs of NaNs are not
22338         tested.
22340         * scripts/config.guess: Update from config.git.
22341         * scripts/config.sub: Likewise.
22343 2012-10-04  Roland McGrath  <roland@hack.frob.com>
22345         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22346         * misc/madvise.c (madvise): Renamed to __madvise.
22347         Make madvise a weak alias.
22348         * include/sys/mman.h: Declare __madvise.
22349         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22350         * sysdeps/unix/syscalls.list
22351         (madvise): Make __madvise the strong name, and madvise a weak alias.
22352         * sysdeps/unix/sysv/linux/syscalls.list
22353         (madvise, mmap): Remove redundant entries.
22354         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22355         * malloc/malloc.c (mtrim): Likewise.
22356         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22358 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22360         * sysdeps/mach/hurd/dl-cache.c: File removed.
22361         * config.h.in (USE_LDCONFIG): New #undef.
22362         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22363         * configure: Regenerated.
22364         * elf/Makefile (dl-routines): Add dl-cache only under
22365         [$(use-ldconfig) = yes].
22366         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22367         cache on [USE_LDCONFIG].
22368         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22369         [USE_LDCONFIG].
22370         * elf/rtld.c (dl_main): Likewise.
22372 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
22374         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22375         _SC_LEVEL4_CACHE_LINESIZE.
22377 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22379         * sysdeps/unix/bsd/confstr.h: File removed.
22381 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
22383         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22384         sys/sdt-config.h.
22386 2012-10-02  Roland McGrath  <roland@hack.frob.com>
22388         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22389         Make 'mapoff' field ElfW(Off) rather than off_t.
22391 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
22393         * nscd/Makefile: Remove nscd-cflags and all its users.
22394         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22395         (CFLAGS-nonlib): Add compiler flags for nscd modules.
22397         [BZ #10631]
22398         * malloc.c (malloc_printerr): Clarify error message.
22400 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
22402         [BZ #14648]
22403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22404         Set bit_FMA_Usable if FMA is supported.
22405         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22406         macro.
22407         (bit_FMA4_Usable): Updated.
22408         (index_FMA_Usable): New macro.
22409         (CPUID_FMA): Likewise
22410         (HAS_FMA): Defined with bit_FMA_Usable.
22412 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22414         * bits/types.h (__swblk_t): Type removed.
22415         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22416         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22417         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22418         (__SWBLK_T_TYPE): Likewise.
22419         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22420         (__SWBLK_T_TYPE): Likewise.
22421         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22422         (__SWBLK_T_TYPE): Likewise.
22423         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22424         (__SWBLK_T_TYPE): Likewise.
22426 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
22427             Honza Horak <hhorak@redhat.com>
22429         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22430         (xdr_mapname): Use YPMAXMAP as maxsize.
22431         (xdr_peername): Use YPMAXPEER as maxsize.
22432         (xdr_keydat): Use YPAXRECORD as maxsize.
22433         (xdr_valdat): Use YPMAXRECORD as maxsize.
22435 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22437         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22439         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22440         * csu/init-first.c: ... here.
22441         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22442         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22443         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22444         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22445         * sysdeps/i386/init-first.c: File removed.
22446         * sysdeps/sh/init-first.c: File removed.
22448 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
22450         [BZ #14645]
22451         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22452         if x * y might underflow to zero and z is zero.
22453         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22454         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22455         * math/libm-test.inc (min_subnorm_value): New variable.
22456         (fma_test): Add more tests.
22457         (fma_test_towardzero): Likewise.
22458         (fma_test_downward): Likewise
22459         (fma_test_upward): Likewise.
22460         (initialize): Set min_subnorm_value.
22462 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
22464         [BZ #14638]
22465         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22466         0 + 0.
22467         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22468         mode for addition resulting in exact zero.
22469         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22470         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22471         exact 0 + 0.
22472         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22473         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22474         * math/libm-test.inc (fma_test): Add more tests.
22475         (fma_test_towardzero): New function.
22476         (fma_test_downward): Likewise.
22477         (fma_test_upward): Likewise.
22478         (main): Call the new functions.
22480 2012-09-28  David S. Miller  <davem@davemloft.net>
22482         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22484 2012-09-28  Roland McGrath  <roland@hack.frob.com>
22486         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22487         instead of SIGALRM.
22489         * sysdeps/gnu/_G_config.h: Moved to ...
22490         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22491         * sysdeps/mach/hurd/_G_config.h: Moved to ...
22492         * sysdeps/generic/_G_config.h: ... here.
22494         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
22496         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22498         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22499         Conditionalize target on [libnss_test1.so-version].
22501         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22503         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22504         (elfobjdir): Move out of conditionals.
22506         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22507         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22508         (__nss_lookup_function): Conditionalize label remove_from_tree on
22509         [!DO_STATIC_NSS || SHARED], matching its only use.
22511 2012-09-28  David S. Miller  <davem@davemloft.net>
22513         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22514         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22515         file.
22516         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22517         sysdep_routines.
22518         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22519         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22520         when HWCAP_SPARC_CRYPTO is present.
22522 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22524         * io/tst-mknodat.c: Create a FIFO instead of a socket.
22526 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
22528         [BZ #6530]
22529         * stdio-common/vfprintf.c (process_string_arg): Revert
22530         2000-07-22 change.
22532 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
22534         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22535         for testcase.
22536         * stdio-common/tst-sprintf.c: Include <locale.h>
22537         (main): Test sprintf's handling of incomplete multibyte
22538         characters.
22540 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
22542         * elf/dl-runtime.c (VERSYMIDX): Removed.
22543         * elf/dl-version.c (VERSYMIDX): Likewise.
22544         * elf/do-rel.h (VERSYMIDX): Likewise.
22545         (VALIDX): Likewise.
22546         * elf/dynamic-link.h (VERSYMIDX): Likewise.
22547         * elf/rtld.c (VALIDX): Likewise.
22548         (ADDRIDX): Likewise.
22549         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22550         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22551         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22552         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22553         (VALIDX): Likewise.
22554         (ADDRIDX): Likewise.
22556 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22558         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22560 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
22562         [BZ #11438]
22563         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22564         to global scope.
22565         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22566         addresses are in the same scope as 192.0.2/24.
22567         * posix/gai.conf: Document new scope table defaults.
22569 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22571         [BZ #5298]
22572         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22573         for ftell.  Compute offsets from write pointers instead.
22574         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22576 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22578         [BZ #14543]
22579         * libio/Makefile (tests): New test case tst-fseek.
22580         * libio/tst-fseek.c: New test case to verify that fseek/ftell
22581         combination works in wide mode.
22582         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22583         state when the external buffer state changes.
22585 2012-09-27  David S. Miller  <davem@davemloft.net>
22587         [BZ #14376]
22588         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22589         pass reloc->r_addend in as the 'high' argument to
22590         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22594 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22596         * rt/tst-aio2.c: Include <pthread.h>.
22597         * rt/tst-aio3.c: Likewise.
22599 2012-09-27  Steve Ellcey  <sellcey@mips.com>
22601         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22603 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
22605         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22606         contents on [SHARED].
22608 2012-09-26  Marek Polacek  <polacek@redhat.com>
22610         [BZ #14530]
22611         [BZ #13741]
22612         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22613         for C++ and GCC <4.3 as well as for non GCC compilers.
22615 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22619 2012-09-25  Roland McGrath  <roland@hack.frob.com>
22621         * Makefile.in (all, install): Declare with .PHONY.
22622         Reported by Michael Hope <michael.hope@linaro.org>.
22624 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22626         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22627         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22628         system header.
22629         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22630         Likewise.
22631         (sydep_routines): Add the new and the internal functions.
22632         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22633         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22635         (GLIBC_2.17): Add the new function.
22636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22637         (GLIBC_2.17): Likewise.
22638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22639         (GLIBC_2.17): Likewise.
22640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22641         (GLIBC_2.17): Likewise.
22642         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22644 2012-09-25  Alan Modra  <amodra@gmail.com>
22646         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22647         Add release barrier before setting once_control to say
22648         initialisation is done.  Add hints on lwarx.  Use macro in
22649         place of isync.
22650         (clear_once_control): Add release barrier.
22652 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22654         [BZ #13629]
22655         * math/s_clog.c (__clog): Handle more values close to |z| = 1
22656         specially.
22657         * math/s_clog10.c (__clog10): Likewise.
22658         * math/s_clog10f.c (__clog10f): Likewise.
22659         * math/s_clog10l.c (__clog10l): Likewise.
22660         * math/s_clogf.c (__clogf): Likewise.
22661         * math/s_clogl.c (__clogl): Likewise.
22662         * math/Makefile (libm-calls): Add x2y2m1.
22663         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22664         (__x2y2m1): Likewise.
22665         (__x2y2m1l): Likewise.
22666         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22667         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22668         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22669         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22670         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22671         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22672         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22673         * sysdeps/i386/fpu/libm-test-ulps: Update.
22674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22676         [BZ #14621]
22677         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22678         int as type of variable DEPTH.
22679         (glob): Use size_t instead of int as type of variables NEWCOUNT
22680         and OLD_PATHC.
22682 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22684         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22685         Add s_sincosf-sse2.
22686         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22687         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22688         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22689         macros for using routine as __sincosf_ia32.
22690         Use macro for function declaration and weak_alias.
22691         * sysdeps/i386/fpu/libm-test-ulps: Update.
22693         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22694         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22696         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22697         subnormal argument.
22698         * math/s_cexpf.c (__cexpf): Likewise.
22699         * math/s_csinf.c (__csinf): Likewise.
22700         * math/s_csinhf.c (__csinhf): Likewise.
22701         * math/s_ctanf.c (__ctanf): Likewise.
22702         * math/s_ctanhf.c (__ctanhf): Likewise.
22703         * math/s_ccosh.c (__ccoshf): Likewise.
22704         * math/s_cexp.c (__cexpl): Likewise.
22705         * math/s_csin.c (__csin): Likewise.
22706         * math/s_csinh.c (__csinh): Likewise.
22707         * math/s_ctan.c (__ctan): Likewise.
22708         * math/s_ctanh.c (ctanh): Likewise.
22709         * math/s_ccoshl.c (__ccoshl): Likewise.
22710         * math/s_cexpl.c (__cexpl): Likewise.
22711         * math/s_csinl.c (__csinl): Likewise.
22712         * math/s_csinhl.c (__csinhl): Likewise.
22713         * math/s_ctanl.c (__ctanl): Likewise.
22714         * math/s_ctanhl.c (__ctanhl): Likewise.
22716 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22718         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22719         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22720         (_IO_off_t): Define to __off_t, not _G_off_t.
22721         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22722         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22723         (_IO_wint_t): Define to wint_t, not _G_wint_t.
22724         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22725         type of __dummy and __dummy2 fields.
22726         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22727         (_G_ssize_t): Likewise.
22728         (_G_off_t): Likewise.
22729         (_G_pid_t): Likewise.
22730         (_G_uid_t): Likewise.
22731         (_G_wchar_t): Likewise.
22732         (_G_wint_t): Likewise.
22733         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22734         (_G_ssize_t): Likewise.
22735         (_G_off_t): Likewise.
22736         (_G_pid_t): Likewise.
22737         (_G_uid_t): Likewise.
22738         (_G_wchar_t): Likewise.
22739         (_G_wint_t): Likewise.
22740         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22741         (_G_ssize_t): Likewise.
22742         (_G_off_t): Likewise.
22743         (_G_pid_t): Likewise.
22744         (_G_uid_t): Likewise.
22745         (_G_wchar_t): Likewise.
22746         (_G_wint_t): Likewise.
22748 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22750         * malloc/arena.c: Include malloc-sysdep.h.
22751         (shrink_heap): Use check_may_shrink_heap to decide if madvise
22752         is sufficient to shrink the heap or an unmap is needed.
22753         * sysdeps/generic/malloc-sysdep.h: New file.  Define
22754         new function check_may_shrink_heap.
22755         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
22756         new function check_may_shrink_heap.
22758 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22760         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22761         comments.
22763 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
22765         * catgets/test-gencat.sh: Add "set -e".
22766         * elf/tst-pathopt.sh: Likewise.
22767         * grp/tst_fgetgrent.sh: Likewise.
22768         * iconvdata/run-iconv-test.sh: Likewise.
22769         * intl/tst-gettext.sh: Likewise.
22770         * intl/tst-gettext2.sh: Likewise.
22771         * intl/tst-gettext4.sh: Likewise.
22772         * intl/tst-gettext6.sh: Likewise.
22773         * intl/tst-translit.sh: Likewise.
22774         * io/ftwtest-sh: Likewise.
22775         * libio/test-freopen.sh: Likewise.
22776         * malloc/tst-mtrace.sh: Likewise.
22777         * posix/globtest.sh: Likewise.
22778         * posix/tst-getconf.sh: Likewise.
22779         * posix/wordexp-tst.sh: Likewise.
22780         * stdio-common/tst-printf.sh: Likewise.
22781         * stdio-common/tst-unbputc.sh: Likewise.
22782         * stdlib/tst-fmtmsg.sh: Likewise.
22783         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22784         * catgets/Makefile: Do not specify -e option when running
22785         testsuite shell scripts.
22786         * elf/Makefile: Likewise.
22787         * grp/Makefile: Likewise.
22788         * iconvdata/Makefile: Likewise.
22789         * intl/Makefile: Likewise.
22790         * io/Makefile: Likewise.
22791         * libio/Makefile: Likewise.
22792         * malloc/Makefile: Likewise.
22793         * posix/Makefile: Likewise.
22794         * stdio-common/Makefile: Likewise.
22795         * stdlib/Makefile: Likewise.
22796         * sysdeps/x86_64/Makefile: Likewise.
22798         * io/ftwtest-sh: Add copyright header.
22799         * posix/globtest.sh: Likewise.
22800         * posix/tst-getconf.sh: Likewise.
22801         * posix/wordexp-tst.sh: Likewise.
22802         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22804 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
22806         [BZ #13679]
22807         * Makeconfig (+link): Defined as $(+link-static) if
22808         $(build-shared) isn't yes.
22809         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22810         isn't yes.
22811         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22813         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22815         [BZ #14562]
22816         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22817         new chunk size with MALLOC_ALIGN_MASK.
22819 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
22821         [BZ #5044]
22822         * stdio-common/printf_fphex.c: Include <stdbool.h> and
22823         <rounding-mode.h>.
22824         (__printf_fphex): Determine rounding using get_rounding_mode and
22825         round_away.
22826         * stdio-common/tst-printf-round.c (struct hex_test): New
22827         structure.
22828         (hex_tests): New variable.
22829         (test_hex_in_one_mode): New function.
22830         (do_test): Also run tests for hex float output.
22832 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
22834         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22835         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22836         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22837         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22838         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22839         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22840         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22841         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22843 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
22845         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22846         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22847         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22848         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22850 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
22852         [BZ #14579]
22853         * elf/rtld.c (dl_main): Limit the check for self loading to normal
22854         mode only.
22855         * elf/tst-rtld-load-self.sh: New test.
22856         * elf/Makefile: Run it.
22858 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
22860         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22861         (tst-writev-ENV): Remove.
22862         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22864 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
22866         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22868 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
22870         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22871         unconditional.
22872         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22873         Likewise.
22874         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22875         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22876         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22877         Likewise.
22879 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
22881         [BZ #14587]
22882         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22883         * config.make.in (have-cpp-asm-debuginfo): Removed.
22884         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22885         * configure: Regenerated.
22887 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
22889         [BZ #5044]
22890         * stdio-common/printf_fp.c: Include <stdbool.h> and
22891         <rounding-mode.h>.
22892         (___printf_fp): Determine rounding using get_rounding_mode and
22893         round_away.
22894         * stdio-common/tst-printf-round.c: New file.
22895         * stdio-common/Makefile (tests): Add tst-printf-round.
22896         (link-libm): New variable.
22897         ($(objpfx)tst-printf-round): Depend in $(link-libm).
22899 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
22901         [BZ #14576]
22902         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22903         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22904         Likewise.
22905         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22906         Likewise.
22908 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
22910         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22911         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22912         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22913         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22915 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
22917         [BZ #14518]
22918         * include/rounding-mode.h: New file.
22919         * sysdeps/generic/get-rounding-mode.h: Likewise.
22920         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22921         * stdlib/strtod_l.c: Include <rounding-mode.h>.
22922         (MAX_VALUE): New macro.
22923         (MIN_VALUE): Likewise.
22924         (overflow_value): New function.
22925         (underflow_value): Likewise.
22926         (round_and_return): Use overflow_value and underflow_value to
22927         determine return values in overflow and underflow cases.  Use
22928         round_away to determine rounding depending on rounding mode.
22929         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22930         determine return values in overflow and underflow cases.
22931         * stdlib/tst-strtod-round.c: Include <fenv.h>.
22932         (struct test_results): New structure.
22933         (struct test): Use struct test_results to store expected results
22934         for all rounding modes.
22935         (TEST): Include expected results for all rounding modes.
22936         (test_in_one_mode): New function.
22937         (do_test): Use test_in_one_mode to compute and check results.
22938         Check results for all rounding modes.
22939         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22940         $(link-libm).
22942 2012-12-09  Allan McRae  <allan@archlinux.org>
22944         * sysdeps/i386/fpu/libm-test-ulps: Update
22946 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
22948         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22949         (_G_int32_t): Likewise.
22950         (_G_uint16_t): Likewise.
22951         (_G_uint32_t): Likewise.
22952         (_G_HAVE_BOOL): Likewise.
22953         (_G_HAVE_ATEXIT): Likewise.
22954         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22955         (_G_HAVE_IO_FILE_OPEN): Likewise.
22956         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22957         (_G_int32_t): Likewise.
22958         (_G_uint16_t): Likewise.
22959         (_G_uint32_t): Likewise.
22960         (_G_HAVE_BOOL): Likewise.
22961         (_G_HAVE_ATEXIT): Likewise.
22962         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22963         (_G_HAVE_IO_FILE_OPEN): Likewise.
22964         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22965         (_G_int32_t): Likewise.
22966         (_G_uint16_t): Likewise.
22967         (_G_uint32_t): Likewise.
22968         (_G_HAVE_BOOL): Likewise.
22969         (_G_HAVE_ATEXIT): Likewise.
22970         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22971         (_G_HAVE_IO_FILE_OPEN): Likewise.
22973 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
22975         * csu/libc-tls.c: Update copyright years.
22977 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
22979         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22980         [!_G_USING_THUNKS]: Remove conditional code.
22981         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22982         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22984         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22985         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22986         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22987         (_G_VTABLE_LABEL_PREFIX): Likewise.
22988         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22989         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22990         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22991         (_G_VTABLE_LABEL_PREFIX): Likewise.
22992         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22993         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22994         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22995         (_G_VTABLE_LABEL_PREFIX): Likewise.
22996         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22998 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
23000         * libio/Makefile: Include ../Makeconfig before tests.
23001         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23002         only if $(build-shared) is yes.
23004         * iconv/gconv_db.c: Update copyright years.
23006 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23008         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23009         unwind info if defined PIC. Fix special cases description.
23010         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23012         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23013         DP_HI_MASK entry.
23014         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23016 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
23018         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23020         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23021         is NULL.
23023         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23024         (LDLIBS-tst-chk4): This.
23025         (LDFLAGS-tst-chk5): Renamed to ...
23026         (LDLIBS-tst-chk5): This.
23027         (LDFLAGS-tst-chk6): Renamed to ...
23028         (LDLIBS-tst-chk6): This.
23029         (LDFLAGS-tst-lfschk4): Renamed to ...
23030         (LDLIBS-tst-lfschk4): This.
23031         (LDFLAGS-tst-lfschk5): Renamed to ...
23032         (LDLIBS-tst-lfschk5): This.
23033         (LDFLAGS-tst-lfschk6): Renamed to ...
23034         (LDLIBS-tst-lfschk6): This.
23036         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23037         on $(common-objpfx)soversions.mk.
23039 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
23041         [BZ #10014]
23042         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23043         example host name.
23045 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23047         * malloc/arena.c (arena_get_retry): New function that gets
23048         another arena for the caller to try its request on.
23049         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23050         current arena cannot fulfill the request.
23051         (__libc_memalign): Likewise.
23052         (__libc_memalign): Likewise.
23053         (__libc_pvalloc): Likewise.
23054         (__libc_calloc): Likewise.
23056 2012-09-05  John Tobey  <john.tobey@gmail.com>
23058         [BZ #13542]
23059         * manual/arith.texi (Operations on Complex): Fix description
23060         of carg branch cut.
23062 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23064         [BZ #10014]
23065         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23066         host name.
23068         [BZ #10038]
23069         * manual/memory.texi (Memory): Make order of menu items match
23070         order of sections.
23072 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23074         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23075         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
23076         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23078 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23080         * csu/libc-tls.c (static_dtv): Renamed to ...
23081         (_dl_static_dtv): This.  Make it global.
23082         (_dl_initial_dtv): Removed.
23083         (__libc_setup_tls): Updated.
23084         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23085         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23086         DL_INITIAL_DTV.
23088 2012-09-06  Petr Machata  <pmachata@redhat.com>
23090         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23091         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23092         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23093         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23095 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23097         [BZ #14545]
23098         * csu/libc-tls.c (_dl_initial_dtv): New variable.
23099         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23100         freeing dtv[-1].
23102 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
23104         [BZ #14544]
23105         * Makeconfig (link-static-before-libc): Replace $(+prector)
23106         with $(+prectorT).
23107         (link-static-after-libc): Replace $(+postctor) with
23108         $(+postctorT).
23109         (link-bounded): Replace $(+prector)/$(+postctor) with
23110         $(+prectorT)/$(+postctorT).
23111         (+prectorT): New macro.
23112         (+postctorT): Likewise.
23114 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
23116         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23117         (round_str): Handle values above the maximum for IBM long double
23118         as inexact.
23119         * stdlib/tst-strtod-round.c (tests): Regenerated.
23121 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23123         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23124         assembler flag.
23125         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23126         zarch_nohighgprs around the zarch optimized routines.
23127         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23128         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23129         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23130         for zarch.
23132 2012-09-05  David S. Miller  <davem@davemloft.net>
23134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23136         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23137         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23138         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23139         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23140         entries.
23142 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23144         * malloc/arena.c: Fold copyright years.
23145         * malloc/mcheck.c, malloc/memusage.c: Likewise.
23147 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23149         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23151 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23153         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
23155 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23157         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23158         change internal state upon failure.
23160 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
23162         * malloc/mcheck.c (mcheck_check_all): Fix typo.
23163         * malloc/memusage.c (mmap): Likewise.
23164         (mmap64, mremap): Likewise.  Adjust name in comment.
23166 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23168         * libio/fileops.c: Fix typos in comments.
23169         * libio/oldfileops.c: Likewise.
23170         * libio/wfileops.c: Likewise.
23172 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23174         [BZ #1349]
23175         * malloc/Makefile (tests): Add tst-malloc-usable test case.
23176         (tst-malloc-usable-ENV): Set environment for test case.
23177         * malloc/hooks.c (malloc_check_get_size): New function to get
23178         requested size.
23179         * malloc/malloc.c (musable): Use malloc_check_get_size.
23180         * malloc/tst-malloc-usable.c: New test case.
23182 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23184         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23186 2012-09-05  Allan McRae  <allan@archlinux.org>
23188         [BZ #13966]
23189         * configure.in (CXX_SYSINCLUDES): Use compiler output to
23190         determine header location.
23191         * configure: Regenerated.
23193 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23195         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23196         float format.
23197         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23198         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23199         format.
23200         (test): Regenerate.
23202 2012-09-04  David S. Miller  <davem@davemloft.net>
23204         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23205         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23206         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23208 2012-09-04  Florian Weimer  <fweimer@redhat.com>
23210         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23211         failures.
23213         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23215 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
23217         [BZ #9914]
23218         * libio/iogetdelim.c: Include <limits.h>.
23219         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23220         + len + 1 would overflow.
23222 2012-09-03  Andreas Jaeger  <aj@suse.de>
23224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23225         * sysdeps/i386/fpu/libm-test-ulps: Update.
23227 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23229         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23230         Add s_sinf-sse2, s_conf-sse2.
23232         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23233         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23234         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23235         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23237         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23238         for using routine as __sinf_ia32.
23239         Use macro for function declaration and weak_alias.
23240         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23241         for using routine as __cosf_ia32.
23242         Use macro for function declaration and weak_alias.
23244         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23245         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23247         * sysdeps/x86_64/fpu/s_sinf.S: New file.
23248         * sysdeps/x86_64/fpu/s_cosf.S: New file.
23249         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23251         * math/libm-test.inc (cos_test): Add more test cases.
23252         (sin_test): Likewise.
23253         (sincos_test): Likewise.
23255 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23257         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23258         (IFUNC_RESOLVE): Make pointers to the specialized implementations
23259         hidden.
23260         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23262 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
23264         [BZ #14538]
23265         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23266         first element of the GOT.
23267         (elf_machine_load_address): Return the difference between
23268         the runtime address of _DYNAMIC and elf_machine_dynamic ().
23270 2012-09-01  Allan McRae  <allan@archlinux.org>
23272         [BZ #13412]
23273         * configure.in (AWK): Require gawk version 3.0 or later.
23274         * configure: Regenerated.
23276 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
23278         * sysdeps/unix/sysv/linux/kernel-features.h
23279         (__ASSUME_POSIX_CPU_TIMERS): Remove.
23280         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23281         [__NR_clock_getres]: Make code unconditional.
23282         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23283         (clock_getcpuclockid): Remove code left unreachable by removal of
23284         conditionals.
23285         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23286         code unconditional.
23287         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23288         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23289         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23290         Make code unconditional.
23291         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23292         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23293         * sysdeps/unix/sysv/linux/clock_settime.c
23294         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23295         conditional code.
23296         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23297         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23299 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
23301         [BZ #14476]
23302         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23303         scripts/test-installation.pl.
23305         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23306         and $ld_so_version if it is set.
23308 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23310         [BZ #14516]
23311         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23312         failure if reading from procfs failed.
23313         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23315 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23317         * sysdeps/unix/sysv/linux/kernel-features.h
23318         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23319         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23320         Remove conditional code.
23321         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23322         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23323         Remove conditional code.
23324         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23325         * sysdeps/unix/sysv/linux/i386/fxstat.c
23326         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23327         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23328         * sysdeps/unix/sysv/linux/i386/fxstatat.c
23329         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23330         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23331         * sysdeps/unix/sysv/linux/i386/lxstat.c
23332         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23333         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23334         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23335         Remove conditional code.
23336         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23337         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23338         Remove conditional code.
23339         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23340         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23341         <kernel-features.h>.
23342         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23343         Remove.
23344         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23345         Remove conditional code.
23346         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23347         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23348         Remove conditional.
23350 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
23352         [BZ #5400]
23353         * NEWS: Add fixed bug number.
23355 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23357         [BZ #14519]
23358         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23359         underflowing exponent in case of negative sign.
23360         * stdlib/tst-strtod-round-data: Add more tests.
23361         * stdlib/tst-strtod-round.c (tests): Regenerated.
23363         [BZ #3479]
23364         * stdlib/strtod_l.c (NDIG): Remove.
23365         (HEXNDIG): Likewise.
23366         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23367         smallest representable value.
23368         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23369         lie within an exact representation of 1/2 ulp of the result.
23370         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23371         unconditionally.
23372         (TENS_P9_IDX): Define unconditionally.
23373         (TENS_P9_SIZE): Likewise.
23374         (TENS_P10_IDX): Likewise.
23375         (TENS_P10_SIZE): Likewise.
23376         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23377         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23378         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23379         entries for 10^2^13 and 10^2^14.
23380         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23381         (TENS_P13_IDX): Define.
23382         (TENS_P13_SIZE): Likewise.
23383         (TENS_P14_IDX): Likewise.
23384         (TENS_P14_SIZE): Likewise.
23385         (_fpioconst_pow10): Change array size to
23386         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
23387         unconditional.
23388         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23389         1024]: Add entries for 10^2^13 and 10^2^14.
23390         [LAST_POW10 > _LAST_POW10]: Remove #error.
23391         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23392         (_fpioconst_pow10): Change array size to
23393         FPIOCONST_POW10_ARRAY_SIZE.
23394         * stdlib/gen-fpioconst.c: New file.
23395         * stdlib/gen-tst-strtod-round.c: Likewise.
23396         * stdlib/tst-strtod-round-data: Likewise.
23397         * stdlib/tst-strtod-round.c: Likewise.
23398         * stdlib/Makefile (tests): Add tst-strtod-round.
23400         [BZ #14459]
23401         * stdlib/strtod_l.c: Include <stdint.h>.
23402         (NDEBUG): Do not define.
23403         (round_and_return): Change EXPONENT parameter to type intmax_t.
23404         Rearrange calculations to avoid internal overflow possibilities.
23405         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23406         Rearrange calculations to avoid internal overflow possibilities.
23407         Assert that number fits inside MPNSIZE limbs.
23408         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23409         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
23410         calculations and add assertions to avoid internal overflow
23411         possibilities.  Add casts to avoid signed/unsigned operations.
23412         * stdlib/tst-strtod-overflow.c: New file.
23413         * stdlib/Makefile (tests): Add tst-strtod-overflow.
23415 2012-08-25  Marek Polacek  <polacek@redhat.com>
23417         * time/time.h: Fix some typos in comments.
23419 2012-08-23  Roland McGrath  <roland@hack.frob.com>
23421         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23422         * posix/tst-rfc3484-2.c: Likewise.
23423         * posix/tst-rfc3484-3.c: Likewise.
23425 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
23427         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23428         (EF_ARM_ABI_FLOAT_HARD): Likewise.
23430 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
23432         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23433         #include of fxstatat64.c.
23435 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23437         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23438         * shadow/getspent_r.c: Likewise.
23439         * shadow/getspnam.c: Likewise.
23440         * shadow/getspnam_r.c: Likewise.
23441         * gshadow/getsgent.c: Likewise.
23442         * gshadow/getsgent_r.c: Likewise.
23443         * gshadow/getsgnam.c: Likewise.
23444         * gshadow/getsgnam_r.c: Likewise.
23445         * inet/getnetbyad.c: Likewise.
23446         * inet/getnetbyad_r.c: Likewise.
23447         * inet/getnetbynm.c: Likewise.
23448         * inet/getnetbynm_r.c: Likewise.
23449         * inet/getnetent.c: Likewise.
23450         * inet/getnetent_r.c: Likewise.
23451         * inet/getproto.c: Likewise.
23452         * inet/getproto_r.c: Likewise.
23453         * inet/getprtent.c: Likewise.
23454         * inet/getprtent_r.c: Likewise.
23455         * inet/getprtname.c: Likewise.
23456         * inet/getprtname_r.c: Likewise.
23457         * inet/getrpcbyname.c: Likewise.
23458         * inet/getrpcbyname_r.c: Likewise.
23459         * inet/getrpcbynumber.c: Likewise.
23460         * inet/getrpcbynumber_r.c: Likewise.
23461         * inet/getrpcent.c: Likewise.
23462         * inet/getrpcent_r.c: Likewise.
23463         * inet/getaliasent.c: Likewise.
23464         * inet/getaliasent_r.c: Likewise.
23465         * inet/getaliasname.c: Likewise.
23466         * inet/getaliasname_r.c: Likewise.
23467         * nscd/getgrgid_r.c: Likewise.
23468         * nscd/getgrnam_r.c: Likewise.
23469         * nscd/gethstbyad_r.c: Likewise.
23470         * nscd/gethstbynm3_r.c: Likewise.
23471         * nscd/getpwnam_r.c: Likewise.
23472         * nscd/getpwuid_r.c: Likewise.
23473         * nscd/getsrvbynm_r.c: Likewise.
23474         * nscd/getsrvbypt_r.c: Likewise.
23475         * nscd/gai.c: Likewise.
23477         * configure.in (build_nscd): New substituted variable, set
23478         by --disable-build-nscd and defaults to $use_nscd.
23479         * configure: Regenerated.
23480         * config.make.in (build-nscd): New substituted variable.
23481         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23482         Change conditional to require [$(build-nscd) = yes] as well.
23483         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23485         [BZ# 13696]
23486         * configure.in (use_nscd): New substituted variable, set by
23487         --disable-nscd.  If enabled, define USE_NSCD.
23488         * configure: Regenerated.
23489         * config.h.in: Add USE_NSCD.
23490         * config.make.in (use-nscd): New substituted variable.
23491         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23492         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23493         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23494         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23495         (CFLAGS-getgrnam_r.c): Likewise.
23496         (CFLAGS-initgroups.c): Likewise.
23497         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23498         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23499         Variables removed.
23500         * inet/getnetgrent_r.c
23501         (nscd_setnetgrent): New function, broken out of ...
23502         (setnetgrent): ... here.  Call it.
23503         (innetgr): Conditionalize nscd bits on [USE_NSCD].
23504         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23505         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23506         * nscd/Makefile (routines, aux): Move definitions after include of
23507         Makeconfig.  Conditionalize on [$(use-nscd) != no].
23508         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23509         Conditionalize on [USE_NSCD].
23510         (is_nscd, nscd_init_cb): Likewise.
23511         (nss_load_library): Conditionalize init callback on [USE_NSCD].
23512         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23513         * nss/nss_db/db-init.c: Likewise.
23514         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23515         [USE_NSCD].
23516         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23517         (make_request): Use it.
23518         (cache_valid_p): New function.
23519         (__check_pf): Use it.
23520         * NEWS: Add item for --disable-nscd.
23522 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
23524         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23525         to support sed >= 4.2.1-20-ga9bf076.
23526         * configure: Regenerated.
23528 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23530         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23531         Conditionalize whole body on [IREL].
23533 2012-08-22  Jeff Law <law@redhat.com>
23535         [BZ #14505]
23536         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23537         if the family is PF_UNSPEC.
23539 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
23541         * Makerules (lib-version): Rename from V.
23542         (install-lib-nosubdir): Change V to lib-version.
23544 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
23546         [BZ #14252]
23547         * powerpc32/power6/wcschr.c: New file.
23548         * powerpc32/power6/wcscpy.c: New file.
23549         * powerpc32/power6/wcsrchr.c: New file.
23550         * powerpc64/power6/wcschr.c: New file.
23551         * powerpc64/power6/wcscpy.c: New file.
23552         * powerpc64/power6/wcsrchr.c: New file.
23554 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23556         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23557         (two_way_short_needle): Use it.
23558         * string/strstr.c (AVAILABLE1_USES_J): Define.
23559         * string/strcasestr.c: Likewise.
23561         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23562         array references.
23563         * string/strcasestr.c (TOLOWER): Make side-effect safe.
23565         [BZ #11607]
23566         * NEWS: Add an entry.
23567         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23568         define their defaults.
23569         (two_way_short_needle): Detect end-of-string on-the-fly.
23570         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23571         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23572         * string/bug-strcasestr1.c: New test.
23573         * string/Makefile: Run it.
23575 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23577         [BZ #11607]
23578         * string/str-two-way.h (two_way_short_needle): Optimize matching of
23579         the first character.
23581 2012-08-21  Roland McGrath  <roland@hack.frob.com>
23583         * csu/elf-init.c (__libc_csu_irel): Function removed.
23584         * csu/libc-start.c (apply_irel): New function.
23585         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23587 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
23589         * sysdeps/unix/sysv/linux/kernel-features.h
23590         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23591         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23592         <kernel-features.h>.
23593         [__NR_fadvise64_64]: Make code unconditional.
23594         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23595         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23596         !__NR_fadvise64_64)]: Likewise.
23597         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23598         !__NR_fadvise64_64))]: Likewise.
23599         [__NR_fadvise64]: Make code unconditional.
23600         [!__NR_fadvise64]: Remove conditional code.
23601         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23602         <kernel-features.h>.
23603         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23604         unconditional.
23605         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23606         conditional code.
23607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23608         not include <kernel-features.h>.
23609         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23610         unconditional.
23611         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23612         conditional code.
23613         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23614         include <kernel-features.h>.
23615         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23616         unconditional.
23617         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23618         conditional code.
23620 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
23622         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23623         slight instruction rearrangements per scrollpipe analysis.
23624         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23626 2012-08-20  Roland McGrath  <roland@hack.frob.com>
23628         * manual/syslog.texi (syslog; vsyslog, closelog):
23629         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23630         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23632         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23633         DSOCAPS to match condition on defining it.
23635 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
23637         * sysdeps/unix/sysv/linux/kernel-features.h
23638         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23640         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23641         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23643         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23644         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23646         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23647         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23649         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23650         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23652         * sysdeps/unix/sysv/linux/kernel-features.h
23653         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23654         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23655         unconditional.
23656         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23657         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23658         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23659         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23660         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23661         Make code unconditional.
23662         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23663         (__mmap64) [!__NR_mmap2]: Likewise.
23664         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23665         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23666         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23667         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23668         [__NR_mmap2]: Make code unconditional.
23669         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23670         (__mmap64) [!__NR_mmap2]: Likewise.
23672 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23674         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23676 2012-08-18  Andreas Jaeger  <aj@suse.de>
23678         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23680 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23682         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23683         * include/unistd.h (__have_sock_cloexec): Likewise.
23684         (__have_pipe2): Likewise.
23685         (__have_dup3): Likewise.
23687 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23689         [BZ #9685]
23690         * include/unistd.h (__have_pipe2): Change define into an extern int.
23691         (__have_dup3): Likewise.
23692         * socket/have_sock_cloexec.c: Include fcntl.h.
23693         (__have_pipe2): New variable.
23694         (__have_dup3): Likewise.
23696 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
23698         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23700 2012-08-17  Marek Polacek  <polacek@redhat.com>
23702         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23703         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23705 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23707         * configure.in: Add AC_SUBST for sysheaders.
23708         * configure: Regenerated.
23709         * config.make.in (sysheaders): New substituted variable.
23711         * sysdeps/unix/mkfifo.c: Moved ...
23712         * sysdeps/posix/mkfifo.c: ... here.
23713         * sysdeps/unix/mkfifoat.c: Moved ...
23714         * sysdeps/posix/mkfifoat.c: ... here.
23716         * sysdeps/unix/utime.c: Moved ...
23717         * sysdeps/posix/utime.c: ... here.
23719         * sysdeps/unix/time.c: Moved ...
23720         * sysdeps/posix/time.c: ... here.
23721         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23722         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23724         * sysdeps/unix/nice.c: Moved ...
23725         * sysdeps/posix/nice.c: ... here.
23727         * sysdeps/unix/alarm.c: Moved ...
23728         * sysdeps/posix/alarm.c: ... here.
23730         * intl/Makefile ($(codeset_mo)): Depend on the input file.
23732 2012-08-17  Jeff Law <law@redhat.com>
23734         * intl/Makefile (codeset_mo): New variable.
23735         ($(codeset_mo)): New target.
23736         (tst-codeset.out): Depend on that.  Remove explicit rule.
23737         (tst-gettext3.out, tst-gettext5.out): Likewise.
23738         (LOCPATH-ENV, tst-codeset-ENV): New variables.
23739         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23740         * intl/tst-codeset.sh: Remove.
23741         * intl/tst-gettext3.sh: Likewise.
23742         * intl/tst-gettext5.sh: Likewise.
23744 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23746         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
23747         * sysdeps/unix/syscalls.list: ... here.
23749         * sysdeps/posix/getaddrinfo.c
23750         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23751         (gaiconf_init, gaiconf_reload): Use them.
23752         [!_STATBUF_ST_NSEC]
23753         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23754         Define using time_t rather than struct timespec.
23756         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23757         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23758         Macros removed.
23759         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23760         [!NO_THREADS].
23761         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23762         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23763         Likewise.
23765         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23766         __libc_cleanup_push argument.
23768         * bits/param.h: New file.
23769         * misc/sys/param.h: New file.
23770         * include/sys/param.h: New file.
23771         * misc/Makefile (headers): Add bits/param.h.
23772         * sysdeps/generic/sys/param.h: File removed.
23773         * sysdeps/unix/sysv/linux/bits/param.h: New file.
23774         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23775         * sysdeps/mach/hurd/bits/param.h: New file.
23776         * sysdeps/mach/hurd/sys/param.h: File removed.
23778         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23779         last change.
23781         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23782         [_IO_MTSAFE_IO].
23783         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23784         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23785         New macros.
23787         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23788         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23789         rather than -D_IO_MTSAFE_IO conditionally.
23790         * stdio-common/Makefile (CPPFLAGS): Likewise.
23791         * wcsmbs/Makefile (CPPFLAGS): Likewise.
23792         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23793         Use $(libio-mtsafe).
23794         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23795         of -D_IO_MTSAFE_IO.
23796         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23797         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23798         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23799         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23800         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23801         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23802         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23803         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23804         (CFLAGS-fread_u_chk.c): Likewise.
23805         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23806         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23807         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23808         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23809         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23810         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23811         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23812         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23813         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23815         * libio/Makefile: Test [$(libc-reentrant) = yes]
23816         instead of [$(filter %REENTRANT, $(defines)) nonempty].
23818         * Makeconfig
23819         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23820         * sysdeps/pthread/configure: File removed.
23821         * sysdeps/pthread/Makeconfig: New file.
23822         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23823         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23825 2012-08-16  Gary Benson  <gbenson@redhat.com>
23827         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23828         unmapping the first object in a namespace.
23830 2012-08-16  Roland McGrath  <roland@hack.frob.com>
23832         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23833         (__internal_setnetgrent): ... this.  Add internal_function to
23834         definition.  Add libc_hidden_def.
23835         (setnetgrent): Update caller.
23836         (internal_endnetgrent): Renamed to ...
23837         (__internal_endnetgrent): ... this.  Add internal_function to
23838         definition.  Add libc_hidden_def.
23839         (endnetgrent): Update caller.
23840         (internal_getnetgrent_r): Renamed to ...
23841         (__internal_getnetgrent_r): ... this.  Add internal_function to
23842         definition.  Add libc_hidden_def.
23843         (__getnetgrent_r): Update caller.
23844         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
23846 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
23848         * stdlib/longlong.h: Update from GCC.
23850 2012-08-16  Roland McGrath  <roland@hack.frob.com>
23852         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23853         on _QL, which is set by umul_ppmm but never used.
23854         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23855         variables, which are set by GMP macros but never used.
23856         * stdio-common/_itowa.c (_itowa): Likewise.
23857         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23858         * stdlib/mod_1.c (mpn_mod_1): Likewise.
23860 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
23862         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23863         struct La_sh_regs is not constant.
23864         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23865         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23866         and struct La_sparc64_regs are not constant.
23868 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
23870         * sysdeps/unix/sysv/linux/kernel-features.h
23871         (__ASSUME_POSIX_TIMERS): Remove.
23872         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23873         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23874         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23875         Make code unconditional.
23876         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23877         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23878         Make code unconditional.
23879         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23880         * sysdeps/unix/sysv/linux/clock_nanosleep.c
23881         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23882         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23883         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23884         Make code unconditional.
23885         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23886         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23887         (__libc_missing_posix_timers): Remove.
23889 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23891         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23892         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23894         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23896         * elf/dl-sym.c: Include <stdlib.h>.
23898         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23899         constants, which avoids warnings in 32-bit builds.
23901         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23902         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23904         * misc/lseek.c: File moved to ...
23905         * io/lseek.c: ... here.
23907         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23909         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23910         shifting LEN more than 31 bits at once.
23912 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23914         [BZ #14195]
23915         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23916         segmentation fault for a case of two empty input strings.
23917         * string/test-strncasecmp.c (check1): Renamed to...
23918         (bz12205): ...this.
23919         (bz14195): Add new testcase for two empty input strings and N > 0.
23920         (test_main): Call new testcase, adapt for renamed function.
23922 2012-08-15  Andreas Jaeger  <aj@suse.de>
23924         [BZ #14090]
23925         * crypt/md5test2.c: New test, based on test supplied by Serge
23926         Belyshev <belyshev@depni.sinp.msu.ru>.
23927         * crypt/Makefile (xtests): Add md5test-giant..
23928         * crypt/Makefile ($(objpfx)md5test-giant): Add.
23930 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
23932         [BZ #14090]
23933         * crypt/md5.c (md5_process_block): Don't assume the buffer
23934         length is less than 2**32.
23935         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23936         length is less than 2**64.
23938 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23940         * string/str-two-way.h: Include <sys/param.h>.
23941         (MAX): Macro removed.
23943         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23944         Move #define and #undef of memmove to just before and after
23945         including <string.h>.
23947         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23948         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23949         and after including <string.h>.  Move declarations of
23950         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23951         to before #include "string/memmove.c".
23953         * include/dirent.h: Declare __getdirentries.
23955         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23956         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23958 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
23960         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23961         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23962         * sysdeps/i386/configure: Regenerated.
23963         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23964         STABS_CURRENT_FILE, and STABS_FUN.
23965         (END): Remove call to STABS_FUN_END.
23966         (STABS_CURRENT_FILE1): Delete.
23967         (STABS_CURRENT_FILE): Likewise.
23968         (STABS_FUN): Likewise.
23969         (STABS_FUN_END): Likewise.
23970         (STABS_FUN2): Likewise.
23971         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23972         * sysdeps/x86_64/configure: Regenerated.
23974 2012-08-14  Roland McGrath  <roland@hack.frob.com>
23976         * elf/dl-open.c: Include <atomic.h>.
23977         * elf/dl-lookup.c: Likewise.
23979 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
23981         * sysdeps/unix/sysv/linux/kernel-features.h
23982         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23983         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23984         unconditionally.
23985         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23986         unconditionally.
23987         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23988         condition on __ASSUME_CLONE_THREAD_FLAGS.
23990 2012-08-14  Andreas Jaeger  <aj@suse.de>
23992         * sysdeps/i386/fpu/libm-test-ulps: Update.
23994 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
23996         * include/atomic.h (atomic_exchange_and_add): Split into ...
23997         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23998         New atomic macros.
24000 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
24002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24004 2012-08-13  Jeff Law <law@redhat.com>
24006         * manual/stdio.texi (snprintf): Clarify handling of the trailing
24007         null byte in the output string.
24009 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
24011         * sysdeps/unix/sysv/linux/kernel-features.h
24012         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24013         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24014         (__ASSUME_ARG_MAX_STACK_BASED): Define.
24015         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24016         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24017         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
24018         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24020 2012-08-09  Jeff Law <law@redhat.com>
24022         [BZ #13939]
24023         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24024         When avoid_arena is set, don't retry in the that arena.  Pick the
24025         next one, whatever it might be.
24026         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24027         (arena_lock): Pass in new parameter to arena_get2.
24028         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24029         arena_get2.
24030         (__libc_malloc): Unify retrying after main arena failure with
24031         __libc_memalign version.
24032         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24034 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
24036         [BZ #14166]
24037         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24038         to __redirect_strstr.
24039         (__strstr_sse42): Use typeof __redirect_strstr.
24040         (__strstr_ia32): Likewise.
24041         (__libc_strstr): New prototype.
24042         (strstr): Renamed to ...
24043         (__libc_strstr): This.
24044         (strstr): New strong alias of __libc_strstr.
24045         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24046         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24047         __redirect_time.
24048         Include <time.h>.
24049         (__libc_time): New prototype.
24050         (time_ifunc): Replace time with __libc_time.
24051         (time): New strong alias and hidden definition of __libc_time.
24052         (__GI_time): Remove strong alias.
24053         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24054         Include <stddef.h>.
24055         (memmove): Redefined to __redirect_memmove.
24056         (__memmove_sse2): Use typeof __redirect_memmove.
24057         (__memmove_ssse3): Likewise.
24058         (__memmove_ssse3_back): Likewise.
24059         (__libc_memmove): New prototype.
24060         (memmove): Renamed to ...
24061         (__libc_memmove): This.
24062         (memmove): New strong alias of __libc_memmove.
24064 2012-08-08  Mark Salter  <msalter@redhat.com>
24066         * elf/elf.h
24067         (R_MN10300_TLS_GD): Define.
24068         (R_MN10300_TLS_LD): Likewise.
24069         (R_MN10300_TLS_LDO): Likewise.
24070         (R_MN10300_TLS_GOTIE): Likewise.
24071         (R_MN10300_TLS_IE): Likewise.
24072         (R_MN10300_TLS_LE): Likewise.
24073         (R_MN10300_TLS_DTPMOD): Likewise.
24074         (R_MN10300_TLS_DTPOFF): Likewise.
24075         (R_MN10300_TLS_TPOFF): Likewise.
24076         (R_MN10300_SYM_DIFF): Likewise.
24077         (R_MN10300_ALIGN): Likewise.
24078         (R_MN10300_NUM): Update.
24080 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
24082         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24083         Remove.
24085 2012-08-08  Roland McGrath  <roland@hack.frob.com>
24087         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24089         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24090         sysdeps/unix -> sysdeps/posix move.
24091         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24093 2012-08-07      Allan McRae     <allan@archlinux.org>
24095         [BZ #14303]
24096         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24097         (SUNOS_CPP): Likewise.
24098         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24099         not found.
24100         (open_input): Call CPP using execvp.
24102 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24104         * sysdeps/unix/sysv/linux/kernel-features.h
24105         (__ASSUME_PROT_GROWSUPDOWN): Remove.
24106         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24107         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24108         (__ASSUME_WAITID_SYSCALL): Likewise.
24109         * sysdeps/unix/sysv/linux/dl-execstack.c
24110         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24111         code unconditional.
24112         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24113         conditional code.
24114         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24115         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24116         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24117         code.
24118         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24119         unconditional.
24120         [__ASSUME_WAITID_SYSCALL]: Likewise.
24121         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24123 2012-08-07  Roland McGrath  <roland@hack.frob.com>
24125         * sysdeps/unix/closedir.c: Renamed to ...
24126         * sysdeps/posix/closedir.c: ... here.
24127         * sysdeps/unix/dirfd.c: Renamed to ...
24128         * sysdeps/posix/dirfd.c: ... here.
24129         * sysdeps/unix/dirstream.h: Renamed to ...
24130         * sysdeps/posix/dirstream.h: ... here.
24131         * sysdeps/unix/fdopendir.c: Renamed to ...
24132         * sysdeps/posix/fdopendir.c: ... here.
24133         * sysdeps/unix/opendir.c: Renamed to ...
24134         * sysdeps/posix/opendir.c: ... here.
24135         * sysdeps/unix/readdir.c: Renamed to ...
24136         * sysdeps/posix/readdir.c: ... here.
24137         * sysdeps/unix/readdir_r.c: Renamed to ...
24138         * sysdeps/posix/readdir_r.c: ... here.
24139         * sysdeps/unix/rewinddir.c: Renamed to ...
24140         * sysdeps/posix/rewinddir.c: ... here.
24141         * sysdeps/unix/seekdir.c: Renamed to ...
24142         * sysdeps/posix/seekdir.c: ... here.
24143         * sysdeps/unix/telldir.c: Renamed to ...
24144         * sysdeps/posix/telldir.c: ... here.
24145         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24146         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24147         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24148         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24150         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24151         * bits/fcntl.h: ... here.
24153         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24154         not 0.
24155         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24156         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24157         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24158         (struct flock): Move l_start, l_len to the beginning.
24159         Use __pid_t for l_pid.
24160         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24161         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24162         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24163         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24164         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24165         [__USE_LARGEFILE64] (struct flock64): New type.
24166         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24168         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24169         * bits/dirent.h: ... here.
24171         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24172         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24174 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
24176         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24177         Change from 2.6.0 to 2.6.16.
24178         * sysdeps/unix/sysv/linux/configure: Regenerated.
24179         * sysdeps/unix/sysv/linux/kernel-features.h
24180         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24181         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24182         version.
24183         (__ASSUME_UTIMES): Likewise.
24184         (__ASSUME_CLONE_STOPPED): Remove.
24185         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24186         architectures, not kernel version.
24187         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24188         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24189         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24190         (__ASSUME_WAITID_SYSCALL): Likewise.
24191         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24192         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24193         * README: State 2.6.16 as minimum Linux kernel version.  Do not
24194         refer to older versions.
24196 2012-08-06  Roland McGrath  <roland@hack.frob.com>
24198         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24199         Define alphasort64 as an alias.
24200         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24201         Define versionsort64 as an alias.
24202         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24203         Define scandir64 as an alias.
24204         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24205         Define scandirat64 as an alias.
24206         * dirent/alphasort64.c (alphasort64):
24207         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24208         * dirent/versionsort64.c: Likewise.
24209         * dirent/scandir64.c: Likewise.
24210         * dirent/scandirat64.c: Likewise.
24211         * sysdeps/wordsize-64/alphasort.c: File removed.
24212         * sysdeps/wordsize-64/alphasort64.c: File removed.
24213         * sysdeps/wordsize-64/scandir.c: File removed.
24214         * sysdeps/wordsize-64/scandir64.c: File removed.
24215         * sysdeps/wordsize-64/scandirat.c: File removed.
24216         * sysdeps/wordsize-64/scandirat64.c: File removed.
24217         * sysdeps/wordsize-64/versionsort.c: File removed.
24218         * sysdeps/wordsize-64/versionsort64.c: File removed.
24219         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24220         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24221         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24222         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24223         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24224         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24225         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24226         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24228         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24229         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24230         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24231         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24232         [defined __arch64__ || defined __sparcv9]
24233         (__INO_T_MATCHES_INO64_T): New macro.
24234         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24235         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24236         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24237         * sysdeps/unix/sysv/linux/bits/dirent.h
24238         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24239         (_DIRENT_MATCHES_DIRENT64): New macro.
24241         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24242         Define lockf64 as an alias.
24243         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24244         Define fseeko64 as an alias.
24245         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24246         Define ftello64 as an alias.
24247         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24248         Define _IO_fgetpos64 and fgetpos64 as aliases.
24249         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24250         Define _IO_fsetpos64 and fsetpos64 as aliases.
24251         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24252         Conditionalize body on this.
24253         * libio/fseeko64.c: Likewise.
24254         * libio/ftello64.c: Likewise.
24255         * libio/iofgetpos64.c: Likewise.
24256         * libio/iofsetpos64.c: Likewise.
24257         * sysdeps/wordsize-64/lockf.c: File removed.
24258         * sysdeps/wordsize-64/lockf64.c: File removed.
24259         * sysdeps/wordsize-64/fseeko.c: File removed.
24260         * sysdeps/wordsize-64/fseeko64.c: File removed.
24261         * sysdeps/wordsize-64/ftello.c: File removed.
24262         * sysdeps/wordsize-64/ftello64.c: File removed.
24263         * sysdeps/wordsize-64/iofgetpos.c: File removed.
24264         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24265         * sysdeps/wordsize-64/iofsetpos.c: File removed.
24266         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24267         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24268         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24269         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24270         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24271         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24272         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24273         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24274         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24275         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24276         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24278         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24279         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24280         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24281         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24282         [defined __arch64__ || defined __sparcv9]
24283         (__OFF_T_MATCHES_OFF64_T): New macro.
24284         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24285         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24286         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24287         (__OFF_T_MATCHES_OFF64_T): New macro.
24289 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24291         * stdlib/secure-getenv.c (__secure_getenv): Replace
24292         GLIBC_2_16 with GLIBC_2_17.
24294 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24296         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24297         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24299 2012-08-03  David S. Miller  <davem@davemloft.net>
24301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24303 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24305         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24306         Remove.
24307         (__ASSUME_CORRECT_SI_PID): Likewise.
24308         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24309         (__ASSUME_TMPFS_NAME): Likewise.
24310         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24311         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24312         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24313         (HAVE_AUX_SECURE): Make definition unconditional.
24314         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24315         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24317 2012-08-03  Roland McGrath  <roland@hack.frob.com>
24319         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24320         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24321         * sysdeps/mach/hurd/eloop-threshold.h: New file.
24322         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24323         __eloop_threshold instead of SYMLOOP_MAX.
24325         * sysdeps/generic/eloop-threshold.h: New file.
24326         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24327         of MAXSYMLINKS.
24328         * elf/chroot_canon.c (chroot_canon): Likewise.
24330 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24332         [BZ #13717]
24333         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24334         Change to 2.6.0 everywhere.
24335         * sysdeps/unix/sysv/linux/configure: Regenerated.
24336         * sysdeps/unix/sysv/linux/kernel-features.h
24337         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24338         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24339         kernel versions.
24340         (__ASSUME_POSIX_TIMERS): Define unconditionally.
24341         (__ASSUME_FUTEX_REQUEUE): Remove.
24342         (__ASSUME_STATFS64): Define unconditionally.
24343         (__ASSUME_AT_SECURE): Likewise.
24344         (__ASSUME_CORRECT_SI_PID): Likewise.
24345         (__ASSUME_TGKILL): Define without depending on kernel version for
24346         i386.
24347         (__ASSUME_UTIMES): Likewise.
24348         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24349         kernel version.
24350         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24351         (__ASSUME_TMPFS_NAME): Likewise.
24352         * README: Update reference to Linux kernel versions.
24354 2012-08-02  Marek Polacek  <polacek@redhat.com>
24356         [BZ# 14150]
24357         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
24358         libc_cv_asm_type_prefix with %.
24359         * configure: Regenerated.
24360         * include/libc-symbols.h: Remove comment about
24361         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24362         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24363         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24364         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24365         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24366         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24367         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24368         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24369         * elf/tst-unique2mod1.c: Likewise.
24370         * elf/tst-unique1mod2.c: Likewise.
24371         * elf/tst-unique1mod1.c: Likewise.
24372         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24373         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24374         Replace ASM_TYPE_DIRECTIVE with .type.
24375         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24376         * sysdeps/i386/sysdep.h: Likewise.
24377         * sysdeps/x86_64/sysdep.h: Likewise.
24378         * sysdeps/sh/sysdep.h: Likewise.
24379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24380         Do not define ASM_TYPE_DIRECTIVE.
24381         * sysdeps/powerpc/sysdep.h: Likewise.
24382         * sysdeps/powerpc/powerpc32/sysdep.h:
24383         Replace ASM_TYPE_DIRECTIVE with .type.
24384         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24385         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24386         * sysdeps/i386/fpu/e_powf.S: Likewise.
24387         * sysdeps/i386/fpu/e_expl.S: Likewise.
24388         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24389         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24390         * sysdeps/i386/fpu/e_pow.S: Likewise.
24391         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24392         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24393         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24394         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24395         * sysdeps/i386/fpu/e_log2.S: Likewise.
24396         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24397         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24398         * sysdeps/i386/fpu/e_powl.S: Likewise.
24399         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24400         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24401         * sysdeps/i386/fpu/e_logl.S: Likewise.
24402         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24403         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24404         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24405         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24406         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24407         * sysdeps/i386/fpu/e_log.S: Likewise.
24408         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24409         * sysdeps/i386/fpu/e_logf.S: Likewise.
24410         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24411         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24412         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24413         * sysdeps/i386/fpu/e_log10.S: Likewise.
24414         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24415         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24416         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24417         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24418         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24419         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24420         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24421         * sysdeps/i386/i686/strtok.S: Likewise.
24422         * sysdeps/i386/i386-mcount.S: Likewise.
24423         * sysdeps/i386/strtok.S: Likewise.
24424         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24425         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24426         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24427         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24428         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24429         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24430         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24431         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24432         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24433         * sysdeps/x86_64/_mcount.S: Likewise.
24434         * sysdeps/x86_64/strtok.S: Likewise.
24435         * sysdeps/sh/_mcount.S: Likewise.
24437 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24439         * libio/iofopen.c: Include <fcntl.h>.
24440         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24441         (_IO_fopen64, fopen64): Define as aliases.
24442         * libio/iofopen64.c: Include <fcntl.h>.
24443         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24444         Conditionalize body on this.
24445         * sysdeps/wordsize-64/iofopen.c: File removed.
24446         * sysdeps/wordsize-64/iofopen64.c: File removed.
24448 2012-08-01  Marek Polacek  <polacek@redhat.com>
24450         * libc/Makeconfig: Use elf in place of binfmt-subdir.
24451         Use dlfcn directly instead of a variable.
24452         (binfmt-subdir): Do not define.
24453         (dlfcn): Likewise.
24455 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
24457         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24458         Remove all definitions.
24459         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24460         <kernel-features.h>.
24461         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24462         (miss_F_GETOWN_EX): Remove all definitions.
24463         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24464         macro definition.
24465         [!__ASSUME_FCNTL64]: Remove conditional code.
24466         [__ASSUME_FCNTL64]: Make code unconditional.
24467         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24468         <kernel-features.h>.
24469         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24470         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24471         (lockf64) [__NR_fcntl64]: Make code unconditional.
24472         (lockf64) [__ASSUME_FCNTL64]: Likewise.
24474         * sysdeps/unix/sysv/linux/kernel-features.h
24475         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24476         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24477         Make code unconditional.
24478         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24479         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24481         [__NR_vfork]: Make code unconditional.
24482         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24483         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24485         [__NR_vfork]: Make code unconditional.
24486         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24487         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24489 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24491         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24492         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24494         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24495         Define mkstemp64 as an alias.
24496         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24497         Define mkstemps64 as an alias.
24498         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24499         Define mkostemp64 as an alias.
24500         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24501         Define mkostemps64 as an alias.
24502         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24503         Conditionalize body on this.
24504         * misc/mkostemp64.c: Likewise.
24505         * misc/mkostemps64.c: Likewise.
24506         * misc/mkstemps64.c: Likewise.
24507         * sysdeps/wordsize-64/mkstemp64.c: File removed.
24508         * sysdeps/wordsize-64/mkostemp64.c: File removed.
24509         * sysdeps/wordsize-64/mkostemp.c: File removed.
24510         * sysdeps/wordsize-64/mkstemp.c: File removed.
24511         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24512         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24513         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24514         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24516         [BZ #14138]
24517         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24518         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24519         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24520         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24522         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24523         compat_symbol macros from <shlib-compat.h> rather than the underlying
24524         default_symbol_version and symbol_version macros, so that DEFAULT
24525         lines in shlib-versions are respected.
24526         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24528 2012-08-01  Florian Weimer  <fweimer@redhat.com>
24530         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24531         Declare with warn_unused_result.
24532         (setgid, setregid, setegid, setresgid): Likewise.
24533         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24534         Likewise.
24535         * WUR-REPORT: Remove set*id functions.
24537 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
24539         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24541 2012-07-31  Roland McGrath  <roland@hack.frob.com>
24543         [BZ #10191]
24544         * include/sys/socket.h (__libc_accept, __libc_accept4):
24545         Add attribute_hidden.
24546         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24548         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24549         use of PTR_MANGLE.
24550         * inet/getnetgrent_r.c (setup): Likewise.
24552         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24554 2012-07-31  David S. Miller  <davem@davemloft.net>
24556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24558 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
24560         [BZ #13629]
24561         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24562         value between 1.0 and 2.0 and smaller part has absolute value less
24563         than 1.0.
24564         * math/s_clog10.c (__clog10): Likewise.
24565         * math/s_clog10f.c (__clog10f): Likewise.
24566         * math/s_clog10l.c (__clog10l): Likewise.
24567         * math/s_clogf.c (__clogf): Likewise.
24568         * math/s_clogl.c (__clogl): Likewise.
24569         * math/libm-test.inc (clog_test): Add more tests.
24570         (clog10_test): Likewise.
24571         * sysdeps/i386/fpu/libm-test-ulps: Update.
24572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24574 2012-07-31  Florian Weimer  <fweimer@redhat.com>
24576         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24577         Exit with zero in case no suitable GID is found, and write a
24578         message to standard error.
24580 2012-07-30  Roland McGrath  <roland@hack.frob.com>
24582         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24583         rather than to 1.
24584         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24585         (MAXPATHLEN): Removed.
24586         (NOGROUP, NODEV): New macros.
24587         (setbit, clrbit, isset, isclr): New macros.
24588         (howmany, roundup, powerof2): New macros.
24589         (DEV_BSIZE): New macro.
24591         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24592         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24594         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24595         definition on [!__NO_LONG_DOUBLE_MATH].
24597         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24598         PTR_MANGLE and PTR_DEMANGLE.
24600         * socket/accept4.c (accept4): Rename to __libc_accept4.
24601         Define accept4 as a weak alias.
24603         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24604         on [_DIRENT_HAVE_D_TYPE].
24605         * io/ftw.c (ftw_dir): Likewise.
24607         * io/xmknod.c (__xmknod): Don't check PATH for being null.
24609         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24611         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24612         Use the BSD numbers rather than the arbitrary ones we had.
24613         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24614         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24615         (SIGXCPU, SIGXFSZ): New macros.
24616         (_NSIG): Now 32.
24618         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24619         initializer on [_LIBC_REENTRANT].
24621         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24622         definitions inside [_POSIX_MAPPED_FILES].
24624         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24626         * dirent/opendir.c: Include <fcntl.h>.
24628         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24629         (__libc_getspecific): Likewise.
24630         (__libc_key_create): Likewise.
24632         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24633         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24634         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24635         (tmpfile64): Define as alias.
24636         * sysdeps/wordsize-64/tmpfile.c: File removed.
24637         * sysdeps/wordsize-64/tmpfile64.c: File removed.
24638         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24639         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24641         * stdio-common/vfscanf.c: Include <stdbool.h>.
24642         * nss/makedb.c: Likewise.
24643         * stdio-common/_i18n_number.h: Likewise.
24644         * argp/argp-help.c: Likewise.
24645         * posix/wordexp.c: Likewise.
24646         * sysdeps/posix/spawni.c: Likewise.
24647         * nss/nss_files/files-initgroups.c: Likewise.
24648         * stdio-common/reg-modifier.c: Include <stdlib.h>.
24649         * nss/nss_files/files-initgroups.c: Likewise.
24650         * nss/nss_db/db-netgrp.c: Likewise.
24651         * nss/nss_db/db-initgroups.c: Likewise.
24652         * io/fchmodat.c: Include <sys/stat.h>.
24654         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24655         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24657         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24658         [HAVE_MMAP].
24660         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24661         Add multiple inclusion protection.
24663 2012-07-27  David S. Miller  <davem@davemloft.net>
24665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24667 2012-07-27  Gary Benson  <gbenson@redhat.com>
24669         [BZ #14298]
24670         * elf/rtld.c: Include <stap-probe.h>.
24671         (dl_main): Added static probes "init_start" and "init_complete".
24672         * elf/dl-load.c: Include <stap-probe.h>.
24673         (lose): Take new parameter "nsid".
24674         Added static probe "map_failed".
24675         (_dl_map_object_from_fd): Pass namespace id to lose.
24676         Added static probe "map_start".
24677         (open_verify): Pass namespace id to lose.
24678         * elf/dl-open.c: Include <stap-probe.h>.
24679         (dl_open_worker) Added static probes "map_complete", "reloc_start"
24680         and "reloc_complete".
24681         * elf/dl-close.c: Include <stap-probe.h>.
24682         (_dl_close_worker): Added static probes "unmap_start" and
24683         "unmap_complete".
24684         * elf/rtld-debugger-interface.txt: New file documenting the above.
24686 2012-07-26  Roland McGrath  <roland@hack.frob.com>
24688         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24689         rather than a string variable.
24690         * sunrpc/rpc_main.c (h_output): Likewise.
24691         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24693 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
24695         * inet/check_native.c: New file.
24697 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
24699         [BZ #13629]
24700         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24701         if larger part has absolute value 1.0.
24702         * math/s_clog10.c (__clog10): Likewise.
24703         * math/s_clog10f.c (__clog10f): Likewise.
24704         * math/s_clog10l.c (__clog10l): Likewise.
24705         * math/s_clogf.c (__clogf): Likewise.
24706         * math/s_clogl.c (__clogl): Likewise.
24707         * math/libm-test.inc (clog_test): Add more tests.
24708         (clog10_test): Likewise.
24709         * sysdeps/i386/fpu/libm-test-ulps: Update.
24710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24712         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24713         (pltexit): Likewise.
24714         (La_regs): Likewise.
24715         (La_retval): Likewise.
24716         (int_retval): Likewise.
24717         Update #error for removed macros to refer only to definitions in
24718         tst-audit.h.
24719         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24720         macro.
24721         (pltexit): Likewise.
24722         (La_regs): Likewise.
24723         (La_retval): Likewise.
24724         (int_retval): Likewise.
24725         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24726         macro.
24727         (pltexit): Likewise.
24728         (La_regs): Likewise.
24729         (La_retval): Likewise.
24730         (int_retval): Likewise.
24731         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24732         macro.
24733         (pltexit): Likewise.
24734         (La_regs): Likewise.
24735         (La_retval): Likewise.
24736         (int_retval): Likewise.
24737         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24738         macro.
24739         (pltexit): Likewise.
24740         (La_regs): Likewise.
24741         (La_retval): Likewise.
24742         (int_retval): Likewise.
24743         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24744         macro.
24745         (pltexit): Likewise.
24746         (La_regs): Likewise.
24747         (La_retval): Likewise.
24748         (int_retval): Likewise.
24749         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24750         macro.
24751         (pltexit): Likewise.
24752         (La_regs): Likewise.
24753         (La_retval): Likewise.
24754         (int_retval): Likewise.
24755         * sysdeps/generic/tst-audit.h: Update comment to refer only to
24756         macro definitions in tst-audit.h.
24757         * sysdeps/i386/tst-audit.h: New file.
24758         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24759         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24760         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24761         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24762         * sysdeps/sh/tst-audit.h: Likewise.
24763         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24764         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24765         * sysdeps/x86_64/tst-audit.h: Likewise.
24767 2012-07-26  Andreas Jaeger  <aj@suse.de>
24769         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24770         ptrace.
24772         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24773         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24774         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24775         PTRACE_O_MASK.
24776         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24777         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24778         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24780         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24781         value.
24783         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24784         _sigsys.
24785         (si_call_addr, si_syscall, si_arch): Define new macro.
24786         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24787         _sigsys.
24788         (si_call_addr, si_syscall, si_arch): Define new marcro.
24789         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24790         _sigsys.
24791         (si_call_addr, si_syscall, si_arch): Define new macro.
24792         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24793         _sigsys.
24794         (si_call_addr, si_syscall, si_arch): Define new macro.
24796 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24798         [BZ #13717]
24799         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24800         Change to 2.4.21 where previously 2.4.1.
24801         * sysdeps/unix/sysv/linux/configure: Regenerated.
24802         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24803         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24804         Linux kernel version.
24805         (__ASSUME_STD_AUXV): Remove.
24806         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24807         kernel version.
24808         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24809         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24810         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24811         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24812         (__ASSUME_NETLINK_SUPPORT): Likewise.
24813         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24814         (__no_netlink_support): Remove conditional definition.
24815         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24816         Remove.
24817         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24818         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24819         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24820         (if_nameindex_ioctl): Remove.
24821         (if_nameindex_netlink): Do not handle __no_netlink_support.
24822         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24823         code.
24824         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24825         Remove conditional code.
24826         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24827         code.
24828         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24829         unconditional.
24830         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24831         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24832         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24833         Remove.
24834         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24835         [!__ASSUME_STD_AUXV]: Remove conditional code.
24836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24837         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24838         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24840         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24841         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24842         code.
24843         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24845         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24846         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24847         conditional code.
24848         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24850         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24851         code.
24852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24853         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24854         conditional code.
24855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24856         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24857         code unconditional.
24858         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24859         conditional code.
24860         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24861         unconditional.
24862         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24863         conditional code.
24864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24865         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24866         unconditional.
24867         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24868         conditional code.
24869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24870         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24871         code unconditional.
24872         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24873         conditional code.
24874         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24875         unconditional.
24876         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24877         conditional code.
24878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24879         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24880         code unconditional.
24881         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24882         conditional code.
24883         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24884         unconditional.
24885         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24886         conditional code.
24888 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
24890         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24891         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24892         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24893         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24894         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24895         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24896         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24897         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24898         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24899         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24900         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24901         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24902         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24903         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24904         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24905         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24906         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24907         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24908         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24909         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24910         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24911         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24912         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24914 2012-07-25  Florian Weimer  <fweimer@redhat.com>
24916         * Versions.def: Add GLIBC_2.17.
24917         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24918         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24919         Introduce __libc_secure_getenv.
24920         * stdlib/Versions (2.17): Add secure_getenv
24921         (GLIBC_PRIVATE): Add __libc_secure_getenv.
24922         * stdlib/secure-getenv.c: Rename __secure_getenv to
24923         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
24924         symbol __secure_getenv for GLIBC_2.0.
24925         * stdlib/tst-secure-getenv.c: New.
24926         * stdlib/Makefile (tests): Add testcase.
24927         * manual/startup.texi (Environment Access): Document
24928         secure_getenv.
24929         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24930         __libc_secure_getenv.
24931         * inet/ruserpass.c (ruserpass): Likewise.
24932         * malloc/mtrace.c (mtrace): Likewise.
24933         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24934         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24935         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24936         * sysdeps/posix/tempname.c: Likewise.  Evaluate
24937         HAVE_SECURE_GETENV.
24938         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24939         __secure_getenv to __libc_secure_getenv.
24940         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24942         Likewise.
24943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24944         Likewise.
24945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24947         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24949         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24953 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24955         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24956         (struct La_i86_retval): Likewise.
24957         (struct La_x86_64_regs): Likewise.
24958         (struct La_x86_64_retval): Likewise.
24959         (struct La_x32_regs): Likewise.
24960         (struct La_x32_retval): Likewise.
24961         (struct La_ppc32_regs): Likewise.
24962         (struct La_ppc32_retval): Likewise.
24963         (struct La_ppc64_regs): Likewise.
24964         (struct La_ppc64_retval): Likewise.
24965         (struct La_sh_regs): Likewise.
24966         (struct La_sh_retval): Likewise.
24967         (struct La_s390_32_regs): Likewise.
24968         (struct La_s390_32_retval): Likewise.
24969         (struct La_s390_64_regs): Likewise.
24970         (struct La_s390_64_retval): Likewise.
24971         (struct La_sparc32_regs): Likewise.
24972         (struct La_sparc32_retval): Likewise.
24973         (struct La_sparc64_regs): Likewise.
24974         (struct La_sparc64_retval): Likewise.
24975         (struct audit_ifaces): Remove architecture-specific pltenter and
24976         pltexit members.
24977         * sysdeps/i386/ldsodefs.h: New file.
24978         * sysdeps/powerpc/ldsodefs.h: Likewise.
24979         * sysdeps/s390/ldsodefs.h: Likewise.
24980         * sysdeps/sh/ldsodefs.h: Likewise.
24981         * sysdeps/sparc/ldsodefs.h: Likewise.
24982         * sysdeps/x86_64/ldsodefs.h: Likewise.
24984 2012-07-25  Marek Polacek  <polacek@redhat.com>
24986         [BZ #6808]
24987         * math/libm-test.inc (yn_test): Add another test.
24988         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24989         to ERANGE when the result is +-Inf.
24990         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24991         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24992         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24993         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24995 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
24997         * conform/data/time.h-data (NULL): Use macro-constant.  Require
24998         equal to 0.
24999         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
25000         clock_t.
25001         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
25003 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
25005         * configure.in <sysdeps resolving>: Correct printing
25006         Implies_before.
25007         * configure: Regenerate.
25009 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
25011         * math/w_ilogb.c: Include <limits.h>.
25012         * math/w_ilogbl.c: Likewise.
25014 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25016         * manual/lang.texi (__va_copy): Document primarily as ISO C99
25017         va_copy.  Document allowing for unavailable va_copy only as
25018         pre-C99 compatibility.
25019         * manual/string.texi (Copying and Concatenation): Use va_copy
25020         instead of __va_copy in concat example.
25022 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
25024         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25025         (__sendto): Use create_address_port.  Initialize APORT and deallocate
25026         it if not null.
25028         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25029         with O_NOLINK passed to __file_name_lookup.
25031         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25032         with O_NOLINK passed to __file_name_lookup.
25034         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25035         negative N or less than NGIDS.
25037         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25038         type to string_t.  Set ERANGE as errno and return it if NAME is not big
25039         enough.  Use memcpy instead of strncpy.
25041 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
25043         * elf/Makefile (check-data): Remove.
25044         (localplt.data): New vpath directive.
25045         ($(objpfx)check-localplt.out): Use localplt.data from vpath
25046         instead of $(check-data).
25047         * scripts/data/localplt-generic.data: Move to ...
25048         * sysdeps/generic/localplt.data: ... here.
25049         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25050         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25051         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25053         ... here.
25054         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25056         ... here.
25057         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25059         ... here.
25060         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25062         ... here.
25063         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25064         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25065         ... here.
25066         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25068         ... here.
25070 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25072         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25073         PPC32 and PPC64 files.
25074         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25075         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25077 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25079         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25080         __makecontext_ret to ...
25081         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25082         ... here and call exit if uc_link is NULL.  New file.
25083         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25084         __makecontext_ret.S.
25085         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25086         __makecontext_ret to ...
25087         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25088         ... here and call exit if uc_link is NULL.  New file.
25089         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25090         __makecontext_ret.S.
25092 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25094         * elf/elf.h (R_390_IRELATIVE): New definition.
25095         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25096         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
25097         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25098         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25099         (elf_machine_lazy_rel): Likewise.
25100         * sysdeps/s390/dl-irel.h: New file.
25101         * sysdeps/s390/s390-64/memcpy.S: New asm code.
25102         * sysdeps/s390/s390-64/memset.S: New asm code.
25103         * sysdeps/s390/s390-64/memcmp.S: New asm code.
25104         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25105         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25106         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25107         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25108         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25109         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25110         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25111         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25112         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25113         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25114         * sysdeps/s390/s390-32/memcpy.S: New asm code.
25115         * sysdeps/s390/s390-32/memset.S: New asm code.
25116         * sysdeps/s390/s390-32/memcmp.S: New asm code.
25118 2012-07-17  Marek Polacek  <polacek@redhat.com>
25120         [BZ #14349]
25121         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25122         * sysdeps/s390/s390-64/configure.in: Likewise.
25123         * sysdeps/sparc/configure.in: Likewise.
25124         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25125         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25126         * sysdeps/i386/configure.in: Likewise.
25127         * sysdeps/x86_64/configure.in: Likewise.
25128         * sysdeps/sh/configure.in: Likewise.
25129         * sysdeps/s390/s390-32/configure: Regenerated.
25130         * sysdeps/s390/s390-64/configure: Likewise.
25131         * sysdeps/x86_64/configure: Likewise.
25132         * sysdeps/sh/configure: Likewise.
25133         * sysdeps/powerpc/powerpc64/configure: Likewise.
25134         * sysdeps/powerpc/powerpc32/configure: Likewise.
25135         * sysdeps/sparc/configure: Likwise.
25136         * sysdeps/i386/configure: Likewise.
25138         * elf/dl-open.c: Comment fixes.
25140 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
25142         * Makefile [CXX] (check-data): Remove.
25143         [CXX] (c++-types.data): New vpath directive.
25144         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25145         vpath.  Do not allow for C++ type data being missing.
25146         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25147         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25148         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25149         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25150         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25151         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25152         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25154         ... here.
25155         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25157         ... here.
25158         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25160         ... here.
25161         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25163         ... here.
25164         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25165         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25166         ... here.
25167         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25169         ... here.
25170         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25172         ... here.
25173         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25174         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25176         * elf/tls-macros.h (TLS_LE): Move architecture-specific
25177         definitions to architecture-specific files.
25178         (TLS_IE): Likewise.
25179         (TLS_LD): Likewise.
25180         (TLS_GD): Likewise.
25181         * sysdeps/i386/tls-macros.h: New file.
25182         * sysdeps/powerpc/tls-macros.h: Likewise.
25183         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25184         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25185         * sysdeps/sh/tls-macros.h: Likewise.
25186         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25187         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25188         * sysdeps/x86_64/tls-macros.h: Likewise.
25190 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25192         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25193         zero value for regular exit case.
25195         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25196         (__start_context): Preserve zero value for regular exit case.
25198 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25199             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25201         * manual/setjmp.texi (setcontext): Clarify normal process
25202         termination when uc_link is the null pointer.
25203         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25204         exit call.
25206 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
25208         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25209         preprocessor.  Test for each exception mask separately.
25211 2012-07-16  Andreas Jaeger  <aj@suse.de>
25213         * po/ru.po: Update from translation team.
25215 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
25217         * conform/data/string.h-data (NULL): Use macro-constant.  Require
25218         equal to 0.
25219         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25220         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25221         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25222         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25223         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25225 2012-07-13  Andreas Jaeger  <aj@suse.de>
25227         * po/fr.po: Update from translation team.
25229 2012-07-12  Marek Polacek  <polacek@redhat.com>
25231         [BZ #14173]
25232         * math/libm-test.inc (yn_test): Add test for BZ #14173.
25233         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25234         loop condition.
25236 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
25238         [BZ #13717]
25239         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25240         Change to 2.4.1 where previously 2.4.0.
25241         * sysdeps/unix/sysv/linux/configure: Regenerated.
25242         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25243         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25244         version.
25245         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25246         (__ASSUME_AT_CLKTCK): Remove.
25247         (__ASSUME_AT_PAGESIZE): Likewise.
25248         (__ASSUME_AT_XID): Likewise.
25249         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25250         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25251         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25252         unconditionally.
25253         (HAVE_AUX_PAGESIZE): Likewise.
25254         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25255         [__ASSUME_AT_CLKTCK]: Make code unconditional.
25256         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25258 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
25260         [BZ #14307]
25261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25262         the temporary buffer used to invoke __gethostbyname2_r,
25263         __gethostbyaddr_r and gethostbyname4_r to make room for struct
25264         host_data / struct gaih_addrtuple.
25265         * resolv/nss_dns/dns-host.c (global scope): Move definition of
25266         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25267         header file nss/nsswitch.h.
25268         * nss/nsswitch.h (global scope): Add definition of implementation
25269         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25270         resolv/nss_dns/dns-host.c).
25272 2012-07-11  Andreas Jaeger  <aj@suse.de>
25274         * po/fr.po: Update from translation team.
25276         * po/sv.po: Update from translation team
25277         * po/fr.po: Another update from translation team.
25279 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25281         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25282         for subnormals or multiply small sinh result by itself.
25283         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25286 2012-07-11  David S. Miller  <davem@davemloft.net>
25288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25290 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
25292         [BZ #14347]
25293         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25294         (INTERNAL_MARK): Shift it here.
25296 2012-07-10  Marek Polacek  <polacek@redhat.com>
25298         [BZ #14151]
25299         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
25300         libc_cv_asm_global_directive with .globl.
25301         * configure: Regenerated.
25302         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25303         with .globl.
25304         * sysdeps/i386/configure: Regenerated.
25305         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25306         with .globl.
25307         * sysdeps/x86_64/configure: Regenerated.
25308         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25309         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25310         * elf/tst-unique2mod2.c: Likewise.
25311         * elf/tst-unique2mod1.c: Likewise.
25312         * elf/tst-unique1mod2.c: Likewise.
25313         * elf/tst-unique1mod1.c: Likewise.
25314         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25315         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25316         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25317         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25318         * sysdeps/mach/sysdep.h: Likewise.
25319         * sysdeps/i386/sysdep.h: Likewise.
25320         * sysdeps/i386/i386-mcount.S: Likewise.
25321         * sysdeps/x86_64/_mcount.S: Likewise.
25322         * sysdeps/x86_64/sysdep.h: Likewise.
25323         * sysdeps/sh/_mcount.S: Likewise.
25324         * sysdeps/sh/sysdep.h: Likewise.
25325         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25326         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25327         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25328         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25329         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25330         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25331         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25332         * locale/localeinfo.h: Likewise.
25333         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25334         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25336 2012-07-09  Roland McGrath  <roland@hack.frob.com>
25338         [BZ #14336]
25339         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25340         system".
25341         * manual/message.texi (The Uniforum approach): Likewise.
25342         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25343         (glibc iconv Implementation): Likewise.
25345 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
25347         [BZ #14337]
25348         * math/s_clog.c (__clog): Avoid scaling a value down where that
25349         could result in underflow.
25350         * math/s_clog10.c (__clog10): Likewise.
25351         * math/s_clog10f.c (__clog10f): Likewise.
25352         * math/s_clog10l.c (__clog10l): Likewise.
25353         * math/s_clogf.c (__clogf): Likewise.
25354         * math/s_clogl.c (__clogl): Likewise.
25355         * math/libm-test.inc (clog_test): Add more tests.
25356         (clog10_test): Likewise.
25357         * sysdeps/i386/fpu/libm-test-ulps: Update.
25358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25360 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
25362         [BZ #14283]
25363         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25364         by 7 not 8 to examine high bit of fractional part.
25366         [BZ #14042]
25367         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25368         for call to __mcount_internal.
25369         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25370         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25371         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25373 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
25375         [BZ #14154]
25376         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25377         approximation for values within 0x1p-13f of an odd multiple of
25378         pi/4.
25379         * math/libm-test.inc (tan_test): Do not allow spurious underflow
25380         exception.  Add more tests.
25381         * sysdeps/i386/fpu/libm-test-ulps: Update.
25383         [BZ #6778]
25384         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25385         inputs and return -1 for them.  Do not check for +Inf in case not
25386         reachable for +Inf.
25387         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25388         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25389         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25390         and return -1 for them.  Do not check for +Inf in case not
25391         reachable for +Inf.
25392         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25393         define.
25394         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25395         and return -1 for them.  Do not check for +Inf in case not
25396         reachable for +Inf.
25397         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
25398         spurious underflow.
25399         * sysdeps/i386/fpu/libm-test-ulps: Update.
25400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25402 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
25404         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25406 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
25408         [BZ #14157]
25409         [BZ #14331]
25410         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25411         could result in spurious underflow.  Scale down values above
25412         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25413         * math/s_csqrtf.c (__csqrtf): Likewise.
25414         * math/s_csqrtl.c (__csqrtl): Likewise.
25415         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
25416         spurious underflow.
25417         * sysdeps/i386/fpu/libm-test-ulps: Update.
25418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25420 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
25422         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25423         xopen-msg.sed.
25424         * catgets/xopen-msg.awk: New file.
25425         * catgets/xopen-msg.sed: Removed.
25427         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25428         po2text.sed.
25429         * intl/po2test.awk: New file.
25430         * intl/po2test.sed: Removed.
25432 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
25434         [BZ #14328]
25435         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25436         or multiply small sinh result by itself.
25437         * math/s_ctanf.c (__ctanf): Likewise.
25438         * math/s_ctanh.c (__ctanh): Likewise.
25439         * math/s_ctanhf.c (__ctanhf): Likewise.
25440         * math/s_ctanhl.c (__ctanhl): Likewise.
25441         * math/s_ctanl.c (__ctanl): Likewise.
25442         * math/libm-test.inc (ctan_test_tonearest): New function.
25443         (ctan_test_towardzero): Likewise.
25444         (ctan_test_downward): Likewise.
25445         (ctan_test_upward): Likewise.
25446         (ctanh_test_tonearest): Likewise.
25447         (ctanh_test_towardzero): Likewise.
25448         (ctanh_test_downward): Likewise.
25449         (ctanh_test_upward): Likewise.
25450         (main): Call these new functions.
25451         * sysdeps/i386/fpu/libm-test-ulps: Update.
25452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25454 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
25456         * .gitignore: Delete /ports entry.
25458 2012-07-03  Andreas Jaeger  <aj@suse.de>
25460         * po/bg.po: Update from translation team.
25461         * po/cs.po: Likewise.
25462         * po/de.po: Likewise.
25463         * po/hr.po: Likewise.
25464         * po/nl.pl: Likewise.
25465         * po/pl.po: Likewise.
25466         * po/vi.po: Likewise.
25468 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
25470         * Makeconfig [!+link] (+link-before-libc): New variable.
25471         [!+link] (+link-after-libc): Likewise.
25472         [!+link] (+link-tests): Likewise.
25473         [!+link] (+link): Define in terms of $(+link-before-libc) and
25474         $(+link-after-libc).
25475         [!+link-static] (+link-static-before-libc): New variable.
25476         [!+link-static] (+link-static-after-libc): Likewise.
25477         [!+link-static] (+link-static-tests): Likewise.
25478         [!+link-static] (+link-static): Define in terms of
25479         $(+link-static-before-libc) and $(+link-static-after-libc).
25480         [build-shared] (link-libc-before-gnulib): New variable.
25481         [build-shared] (link-libc-tests): Likewise.
25482         [build-shared] (link-libc): Define in terms of
25483         $(link-libc-before-gnulib).
25484         [!build-shared] (link-libc-tests): New variable.
25485         (link-libc-static-tests): New variable.
25486         [!gnulib] (gnulib-arch): New variable.
25487         [!gnulib] (gnulib-tests): Likewise.
25488         [!gnulib] (static-gnulib-arch): Likewise.
25489         [!gnulib] (static-gnulib-tests): Likewise.
25490         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
25491         Define with "=" instead of ":=".
25492         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
25493         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
25494         * Rules (binaries-all-notests): New variable.
25495         (binaries-all-tests): Likewise.
25496         (binaries-static-notests): Likewise.
25497         (binaries-static-tests): Likewise.
25498         (binaries-all): Define using $(binaries-all-notests) and
25499         $(binaries-all-tests).
25500         (binaries-static): Define using $(binaries-static-notests) and
25501         $(binaries-static-tests).
25502         (binaries-shared-tests): New variable.
25503         (binaries-shared-notests): Likewise.
25504         (binaries-shared): Remove variable.
25505         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25506         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25507         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25508         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25509         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25510         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25511         * elf/Makefile (sln-modules): New variable.
25512         (extra-objs): Add $(sln-modules:=.o).
25513         (ldconfig-modules): Add static-stubs.
25514         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25515         * elf/static-stubs.c: New file.
25517         [BZ #14283]
25518         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25519         by 7 not 8 to examine high bit of fractional part.  Use volatile
25520         variables when splitting into final array of floats if
25521         __FLT_EVAL_METHOD__ != 0.
25522         * math/libm-test.inc (cos_test): Add another test.
25523         (sin_test): Likewise.
25524         * sysdeps/i386/fpu/libm-test-ulps: Update.
25526         [BZ #14273]
25527         * math/libm-test.inc (cosh_test): Add more tests.
25529         * version.h (RELEASE): Set to "development".
25530         (VERSION): Set to "2.16.90".
25532 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
25534         * NEWS: Update copyright. Remove last-updated date.
25535         Mention math library bug fixes and timezone data changes.
25536         * README: Mention GNU/Hurd, x32, and HPPA support status.
25538 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
25540         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25542 2012-06-27  Andreas Jaeger  <aj@suse.de>
25544         * manual/contrib.texi (Contributors): Add Samuel Thibault.
25546 2012-06-25  Andreas Jaeger  <aj@suse.de>
25548         * sysdeps/s390/fpu/libm-test-ulps: Update.
25550 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
25551             Thomas Schwinge  <thomas@codesourcery.com>
25553         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25554         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25555         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25556         fanotify_mark.
25558 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
25560         * sysdeps/mach/start.c: Remove file.
25561         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25562         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25563         * sysdeps/sh/init-first.c: Likewise.
25565         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25566         registers for frame unwinding purposes, add CFI directives.
25567         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25568         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25569         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25570         Likewise.
25572         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25573         __fortify_fail returning.
25574         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25576         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25577         sysdeps/sh/____longjmp_chk.S.
25578         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25579         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25580         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25581         (gen-as-const-headers): Append sigaltstack-offsets.sym.
25583         * sysdeps/sh/abort-instr.h: New file.
25584         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25585         process in case exit returns.
25587         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25588         initialize the GOT register before use.
25590         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25591         calculation of ARGC > 4.
25593         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25594         meaningful names to some local labels.
25596 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25597             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25599         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25600         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25601         (__arch_compare_and_exchange_val_16_acq): Likewise.
25602         (__arch_compare_and_exchange_val_32_acq): Likewise.
25603         (atomic_exchange_and_add): Fix gUSA sequence.
25604         (atomic_add): Likewise.
25605         (atomic_add_negative): Likewise.
25606         (atomic_add_zero): Likewise.
25607         (atomic_bit_test_set): Likewise.
25609 2012-06-22  Andreas Schwab  <schwab@redhat.com>
25611         [BZ #13579]
25612         * include/link.h (struct link_map): Add l_free_initfini.
25613         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25614         l_initfini.
25615         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25616         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25617         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25618         set.
25620 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
25622         * configure.in: Use AC_LANG_SOURCE.
25623         * configure: Regenerate.
25625 2012-06-22  Roland McGrath  <roland@hack.frob.com>
25627         * configure.in (libc_cv_localstatedir): New substituted variable.
25628         * configure: Regenerated.
25629         * config.make.in (localstatedir): New variable, substituted from
25630         libc_cv_localstatedir.
25631         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25632         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25633         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25634         * sysdeps/gnu/configure: Regenerated.
25636 2012-06-21  Jeff Law  <law@redhat.com>
25638         [BZ #14277]
25639         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25640         free.  Simplify list management for _LIBC case.
25642 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
25644         [BZ #14273]
25645         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25646         Clear sign bit of 64-bit integer value before comparing against
25647         overflow value.
25649         * sysdeps/mach/configure: Regenerated.
25651 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
25653         [BZ #14278]
25654         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25656 2012-06-21  Jeff Law  <law@redhat.com>
25658         [BZ #13882]
25659         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
25660         uint16_t for elements in the "seen" array to avoid char overflows.
25661         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25662         * elf/dl-open.c (dl_open_worker): Likewise.
25664 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
25666         * scripts/list-sources.sh: Scan PORTS for translations.
25667         * po/libc.pot: Regenerated.
25669 2012-06-21  Andreas Jaeger  <aj@suse.de>
25671         [BZ #12194]
25672         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25673         warning.
25674         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25675         * bits/byteswap-16.h (__bswap_16): Likewise.
25676         * bits/byteswap.h (__bswap_constant_16): Likewise.
25678 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
25680         [BZ #14117]
25681         * sysdeps/i386/fpu_control.h: Removed.
25682         * sysdeps/x86_64/fpu_control.h: Moved to ...
25683         * sysdeps/x86/fpu_control.h: Here.
25685         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25686         (_FPU_SETCW): Likewise.
25688 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
25690         [BZ #14117]
25691         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25692         * sysdeps/x86/fpu/bits/mathinline.h: This.
25693         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25695         [BZ #14050]
25696         [BZ #14117]
25697         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25698         functions if __x86_64__ is defined.
25700 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
25702         * string/endian.h: Add !__ASSEMBLER__ condition for including
25703         conversion interfaces.
25705 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
25707         [BZ #14241]
25708         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25709         of ABS(x) in calculating zero to negative powers other than odd
25710         integers.
25711         * math/libm-test.inc (pow_test): Add more tests.
25713 2012-06-15  Andreas Jaeger  <aj@suse.de>
25715         * manual/contrib.texi (Contributors): Update entry of Liubov
25716         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25717         Machado Filho.
25719 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
25721         * string/string.h: Add __wur to GNU version of strerror_r.
25723 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
25725         [BZ #14229]
25726         * string/Makefile (tests): Add tst-strtok_r.
25727         * string/tst-strtok_r.c: New file.
25728         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25729         RAX_LP/RDX_LP on SAVE_PTR.
25731 2012-06-14  Roland McGrath  <roland@hack.frob.com>
25733         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25735 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
25737         * libm_test.inc (csqrt_test): Allow more spurious underflow
25738         exceptions.
25739         (j0_test): Likewise.
25740         (j1_test): Likewise.
25741         (y0_test): Likewise.
25742         (y1_test): Likewise.
25744 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
25746         * po/Makefile (libc.pot): Use UTF-8 charset.
25748 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
25750         [BZ #14210]
25751         Suppress sign-conversion warning from FD_SET.
25752         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25753         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25754         not unsigned long int.
25755         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25757 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
25759         [BZ #14050]
25760         [BZ #14117]
25761         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25762         __extern_always_inline instead of __extern_inline.
25763         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25764         (__signbit): Likewise.
25765         (__signbitl): Support C++ namespace.
25766         (lrintf): New inline function.
25767         (lrint): Likewise.
25768         (llrintf): Likewise.
25769         (llrint): Likewise.
25770         (fmaxf): Likewise.
25771         (fmax): Likewise.
25772         (fminf): Likewise.
25773         (fmin): Likewise.
25774         (rint): Likewise.
25775         (rintf): Likewise.
25776         (ceil): Likewise.
25777         (ceilf): Likewise.
25778         (floor): Likewise.
25779         (floorf): Likewise.
25780         (nearbyint): Likewise.
25781         (nearbyintf): Likewise.
25783 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
25785         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25786         non-default versions.
25788 2012-06-11  Roland McGrath  <roland@hack.frob.com>
25790         [BZ #14218]
25791         * manual/argp.texi (Argp): Reword argp_parse description slightly.
25793 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
25795         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25796         (FE_UPWARD, FE_DOWNWARD): Don't define.
25797         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25798         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25800         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25801         reading it.
25802         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25803         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25805 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25807         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25808         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25809         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25810         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25812 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
25814         [BZ #14117]
25815         * sysdeps/i386/fpu/bits/fenv.h: Removed.
25816         * sysdeps/i386/fpu/Implies: New file.
25817         * sysdeps/x86_64/fpu/Implies: Likewise.
25818         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25819         * sysdeps/x86/fpu/bits/fenv.h: This.
25821         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25822         __SSE_MATH__.
25824 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25826         [BZ #14134]
25827         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25828         character 0xffff that matches the last element of the
25829         conversion table.
25831 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25833         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25834         fmodl commit.
25836 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25838         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25839         values higher than 25.6283.
25841 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25843         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25844         subnormal exponent extraction and add some __builtin_expect.
25845         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25846         Fix for subnormal mantissa calculation.
25848 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
25850         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25851         cpu2 is -1 and errno is not ENOSYS.
25853 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
25855         [BZ #14117]
25856         * sysdeps/i386/i486/bits/string.h: Renamed to ...
25857         * sysdeps/x86/bits/string.h: This.
25858         * sysdeps/x86_64/bits/string.h: Removed.
25860         * sysdeps/i386/i486/bits/string.h: Define inline functions only
25861         if not compiling for x86-64, but compiling for >= i486.
25863         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25864         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25866         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25867         New macro from Linux kernel 3.4.0.
25868         (FP_XSTATE_MAGIC2): Likewise.
25869         (FP_XSTATE_MAGIC2_SIZE): Likewise.
25870         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25871         (struct _fpx_sw_bytes): New struct.
25872         (struct _xsave_hdr): Likewise.
25873         (struct _ymmh_state): Likewise.
25874         (struct _xstate): Likewise.
25876         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25877         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25878         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25879         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25880         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25881         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25883         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25884         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25885         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25886         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25887         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25888         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25890 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25892         [BZ #13743]
25893         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25894         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25895         (sysdep_headers): Include sys/platform/ppc.h.
25896         * sysdeps/powerpc/test-gettimebase.c: Test for
25897         __ppc_get_timebase() to catch future ISA opcode/insn changes.
25898         * manual/Makefile (appendices): Include platform.texi.
25899         * manual/contrib.texi (Contributors): Update @node pointers.
25900         * manual/maint.texi (Maintenance): Likewise.
25901         (Platform): New node.
25902         * manual/platform.texi: New file.  Document the new features.
25904 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25905             Jakub Jelinek  <jakub@redhat.com>
25907         [BZ #14188]
25908         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25909         where __builtin_expect is unavailable.
25911 2012-06-03  David S. Miller  <davem@davemloft.net>
25913         * stdlib/longlong.h: Updated from GCC.
25915 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
25917         [BZ #14042]
25918         * sysdeps/powerpc/powerpc32/mcount.c: New file.
25919         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25920         __mcount_internal.
25921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25922         (GLIBC_2.16): Likewise.
25924 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25926         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25928 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25931         (default-abi): New variable.
25932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25933         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25934         variable.
25935         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25936         Likewise.
25937         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25938         Likewise.
25939         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25940         Likewise.
25942         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25943         definition.  Document in comment.
25945 2012-06-01  David S. Miller  <davem@davemloft.net>
25947         * stdlib/longlong.h: Updated from GCC.
25949 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25951         [BZ #14117]
25952         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25953         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25954         sys/debugreg.h sys/io.h here.
25955         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25956         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25957         sys/io.h.
25958         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25959         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25960         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25961         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25962         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25963         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25965         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25966         Define only if __x86_64__ is defined.
25968 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25970         [BZ #14048]
25971         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25972         Use int64_t for variable i.
25973         * math/libm-test.inc (fmod_test): Add more tests.
25975         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25976         z computation is not scheduled after fetestexcept.
25977         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25978         Use math_force_eval instead of asm to ensure calculation scheduled
25979         before exception test.
25980         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25981         Ensure a1 + u.d computation is not scheduled after fetestexcept.
25983 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
25985         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25986         computation is not scheduled after fetestexcept.
25988 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25990         [BZ #14117]
25991         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25992         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25994 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25996         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25997         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25999 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26001         [BZ #14117]
26002         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26003         <bits/wordsize.h>.
26004         (__WCHAR_MIN): Support __WORDSIZE == 64.
26005         (__WCHAR_MAX): Likewise.
26007         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26008         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26010         [BZ #14183]
26011         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26012         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26014         [BZ #14117]
26015         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26016         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26018         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26019         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26021         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26022         Defined to 1 if __x86_64__ isn't defined.
26023         (_STAT_VER_LINUX_OLD): New.
26024         (st_atime): Remove duplicate.
26025         (st_mtime): Likewise.
26026         (st_ctime): Likewise.
26028 2012-05-31  David S. Miller  <davem@davemloft.net>
26030         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26031         entries.
26033 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
26035         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26036         gen-libm-test.pl.
26038         [BZ #14132]
26039         * elf/dl-reloc.c: Include <_itoa.h>.
26040         (_dl_reloc_bad_type): Remove use of INTUSE.
26041         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26042         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26043         * stdio-common/psiginfo.c (psiginfo): Likewise.
26044         * stdio-common/psignal.c (psignal): Likewise.
26045         * string/strsignal.c (strsignal): Likewise.
26046         * include/signal.h (_sys_siglist): Declare hidden proto.
26047         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
26048         INTVARDEF with libc_hidden_data_def.
26049         * stdio-common/itoa-udigits.c: Likewise.
26050         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26051         (_itoa_lower_digits_internal): Remove declaration.
26052         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26053         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26054         (_sys_sigabbrev_internal): Remove aliases.
26055         (_sys_siglist): Define hidden alias.
26057 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
26059         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26060         bits/sysctl.h.
26062 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
26064         [BZ #14117]
26065         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26066         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26068         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26069         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26070         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26071         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26072         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26073         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26075         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26076         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26077         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26079         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26080         with __addr.
26081         (insw): Likewise.
26082         (insl): Likewise.
26083         (outsb): Likewise.
26084         (outsw): Likewise.
26085         (outsl): Likewise.
26087         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26088         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26089         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26091         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26092         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26093         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26094         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26095         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26096         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26098         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26099         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26101         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26102         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26104         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26105         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26106         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26108         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26109         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26110         to ...
26111         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26113         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26114         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26115         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26117         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26118         for x86-64.
26119         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26121 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
26123         * math/math.h (M_El): Use two more decimal places.
26124         (M_LOG2El): Likewise.
26125         (M_LOG10El): Likewise.
26126         (M_LN2l): Likewise.
26127         (M_LN10l): Likewise.
26128         (M_PIl): Likewise.
26129         (M_PI_2l): Likewise.
26130         (M_PI_4l): Likewise.
26131         (M_1_PIl): Likewise.
26132         (M_2_PIl): Likewise.
26133         (M_2_SQRTPIl): Likewise.
26134         (M_SQRT2l): Likewise.
26135         (M_SQRT1_2l): Likewise.
26137 2012-05-31  David S. Miller  <davem@davemloft.net>
26139         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26140         values between float registers.
26141         * sysdeps/sparc/sparc64/memset.S: Likewise.
26142         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26144 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
26146         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26147         -D_FORTIFY_SOURCE=1.
26148         (CPPFLAGS-tst-longjmp_chk.c): Define.
26149         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26150         (CPPFLAGS-tst-longjmp_chk2.c): Define.
26151         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26152         CFLAGS-tst-wchar-h.c.
26154 2012-05-31  Marek Polacek  <polacek@redhat.com>
26156         [BZ #14132]
26157         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26158         __endmntent_internal): Remove declaration.
26159         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26160         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26161         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26163 2012-05-30  David S. Miller  <davem@davemloft.net>
26165         * sysdeps/sparc/sparc32/soft-fp/q_util.c
26166         (___Q_simulate_exceptions): Use real FP ops rather than writing
26167         into the %fsr.
26168         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26169         Likewise.
26171 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26173         [BZ #14117]
26174         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26175         * sysdeps/x86/bits/xtitypes.h: This.
26177         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26178         * sysdeps/x86/bits/wordsize.h: This.
26180         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26181         * sysdeps/x86/bits/huge_vall.h: This.
26183         * sysdeps/i386/bits/select.h: Removed.
26184         * sysdeps/x86_64/bits/select.h: Renamed to ...
26185         * sysdeps/x86/bits/select.h: This.
26187         * sysdeps/i386/bits/setjmp.h: Removed.
26188         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26189         * sysdeps/x86/bits/setjmp.h: This.
26191         * sysdeps/i386/bits/mathdef.h: Removed.
26192         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26193         * sysdeps/x86/bits/mathdef.h: This.
26195 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
26197         [BZ #14132]
26198         * include/sys/socket.h (__connect_internal)
26199         (__libc_sa_len_internal): Remove declaration.
26200         (__connect, __libc_sa_len): Declare hidden_proto.
26201         (SA_LEN): Remove use of INTUSE.
26202         * socket/connect.c: Add libc_hidden_def.
26203         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26204         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26205         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26206         alias.
26207         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26208         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26209         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26210         of adding _internal alias.
26212 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26214         [BZ #14117]
26215         * sysdeps/i386/bits/link.h: Removed.
26216         * sysdeps/i386/bits/linkmap.h: Likewise.
26217         * sysdeps/x86_64/bits/link.h: Renamed to ...
26218         * sysdeps/x86/bits/link.h: This.
26219         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26220         * sysdeps/x86/bits/linkmap.h: This.
26222         * sysdeps/i386/bits/endian.h: Removed.
26223         * sysdeps/x86_64/bits/endian.h: Renamed to ...
26224         * sysdeps/x86/bits/endian.h: This.
26226         * sysdeps/i386/bits/byteswap.h: Removed.
26227         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26228         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26229         * sysdeps/x86/bits/byteswap.h: This.
26230         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26231         * sysdeps/x86/bits/byteswap-16.h: This.
26232         * sysdeps/i386/Implies: Add x86.
26233         * sysdeps/x86_64/Implies: Likewise.
26235 2012-05-30  David S. Miller  <davem@davemloft.net>
26237         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26238         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26239         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26240         (FP_TRAPPING_EXCEPTIONS): Define.
26241         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26242         (FP_TRAPPING_EXCEPTIONS): Define.
26243         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26244         subnormals only when inexact has been signalled or underflow
26245         exceptions are enabled.
26246         (_FP_PACK_CANONICAL): Likewise.
26248 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26250         [BZ #14183]
26251         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26252         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26254 2012-05-30  Richard Henderson  <rth@twiddle.net>
26256         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26257         with #ifndef NOT_IN_libc.
26259         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
26260         marked to avoid plt entry.
26262 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26264         [BZ #14112]
26265         * Makeconfig (default-abi): New macro.
26266         (abi-includes): Likewise.
26267         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
26268         $(abi-$(default-abi)-lib-soname) for soname if defined.
26269         ($(common-objpfx)gnu/lib-names.stmp): Generate from
26270         abi-variants.
26271         * Makefile (installed-stubs): Likewise.
26272         * include/stubs-biarch.h: Removed.
26273         * scripts/lib-names.awk: Only handle one library at a time.
26274         * scripts/soversions.awk: Remove WORDSIZE support.
26275         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26276         entries.
26277         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26278         Removed.
26279         (syscall-list-default-condition): Likewise.
26280         (syscall-list-default-condition): Likewise.
26281         (syscall-list-includes): Likewise.
26282         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26283         syscall-list-* with abi-*.  Handle undefined abi-variants.
26284         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26285         * sysdeps/unix/sysv/linux/i386/Implies: New file.
26286         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26287         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26288         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26289         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26290         Removed.
26291         (syscall-list-32-options): Likewise.
26292         (syscall-list-32-condition): Likewise.
26293         (syscall-list-64-options): Likewise.
26294         (syscall-list-64-condition): Likewise.
26295         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26296         macro.
26297         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26298         Renamed to ...
26299         (abi-*): This.
26300         (abi-64-ld-soname): New macro.
26301         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26302         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26303         Renamed to ...
26304         (abi-*): This.
26305         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26306         * sysdeps/x86_64/x32/shlib-versions: Likewise.
26308 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
26310         * sysdeps/unix/sysv/linux/kernel-features.h
26311         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26312         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26313         include <kernel-features.h>.
26314         [!__NR_ftruncate64]: Remove conditional code.
26315         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26316         [__NR_ftruncate64]: Make code unconditional.
26317         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26318         * sysdeps/unix/sysv/linux/truncate64.c: Do not
26319         include <kernel-features.h>.
26320         [!__NR_ftruncate64]: Remove conditional code.
26321         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26322         [__NR_ftruncate64]: Make code unconditional.
26323         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26325         include <kernel-features.h>.
26326         [!__NR_ftruncate64]: Remove conditional code.
26327         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26328         [__NR_ftruncate64]: Make code unconditional.
26329         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26331         include <kernel-features.h>.
26332         [!__NR_ftruncate64]: Remove conditional code.
26333         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26334         [__NR_ftruncate64]: Make code unconditional.
26335         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26337         * configure.in (libc_cv_fpie): Weaken to a compile test using
26338         LIBC_TRY_CC_OPTION.
26339         * configure: Regenerated.
26341 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26343         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26347         Refreshed.
26348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26349         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26354         Refreshed.
26356 2012-05-27  David S. Miller  <davem@davemloft.net>
26358         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26359         (___Q_zero): New.
26360         (__Q_simulate_exceptions): Return void.  Change to simulate
26361         exceptions by writing into the %fsr.
26362         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26363         (__Qp_handle_exceptions): Likewise.
26364         (numbers): Delete.
26365         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26366         __Qp_handle_exceptions.
26367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26368         __Qp_handle_exceptions.
26369         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26370         as unused and give dummy FP_RND_NEAREST initializer.
26371         (FP_INHIBIT_RESULTS): Define.
26372         (___Q_simulate_exceptions): Update declaration.
26373         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26374         formatting.
26375         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26376         as unused and give dummy FP_RND_NEAREST initializer.
26377         (__Qp_handle_exceptions): Update declaration.
26378         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26379         formatting.
26381 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
26383         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26384         the temporary FPU control word.
26385         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26386         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26387         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26388         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26389         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26390         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26391         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26392         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26393         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26394         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26395         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26397 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26399         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26400         fields.
26402 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
26404         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26405         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26406         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26407         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26408         Likewise.
26409         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26410         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26411         Likewise.
26413 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
26415         * po/h.po: Update from translation team.
26417 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
26419         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26421         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26422         handling of denormals.
26423         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26424         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26425         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26426         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26427         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26428         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26429         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26430         Likewise.
26432 2012-05-26  Marek Polacek  <polacek@redhat.com>
26434         [BZ #14152]
26435         * math/libm-test.inc (fma_test): Don't always expect underflow
26436         exception.
26438 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26440         [BZ #12416]
26441         * elf/tst-execstack.c: Include stackinfo.h.
26442         (do_test): Adjust test case to ensure that pthread_getattr_np
26443         behaviour remains the same after marking stack executable.
26445 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26447         * sysdeps/unix/sysv/linux/kernel-features.h
26448         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26449         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26450         kernel-features.h.
26451         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26452         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26453         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26454         kernel-features.h.
26455         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26456         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26458 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
26460         * configure.in: Define the default includes to being none.
26461         * configure: Regenerated.
26463 2012-05-25  Roland McGrath  <roland@hack.frob.com>
26465         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26466         * sysdeps/x86_64/setjmp.S: Likewise.
26467         * sysdeps/i386/bsd-setjmp.S: Likewise.
26468         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26469         * sysdeps/i386/setjmp.S: Likewise.
26470         * sysdeps/i386/__longjmp.S: Likewise.
26471         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26472         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26474         * include/stap-probe.h: New file.
26475         * configure.in: Handle --enable-systemtap.
26476         * configure: Regenerated.
26477         * config.h.in (USE_STAP_PROBE): New #undef.
26478         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26479         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26480         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26482 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26484         [BZ #13717]
26485         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26486         to 2.4.0 where earlier.
26487         * sysdeps/unix/sysv/linux/configure: Regenerated.
26488         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26489         <kernel-features.h>.
26490         [__ASSUME_32BITUIDS]: Make code unconditional.
26491         [!__ASSUME_32BITUIDS]: Remove conditional code.
26492         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26493         <kernel-features.h>.
26494         [__ASSUME_32BITUIDS]: Make code unconditional.
26495         [!__ASSUME_32BITUIDS]: Remove conditional code.
26496         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26497         [__ASSUME_32BITUIDS]: Make code unconditional.
26498         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26499         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26500         <kernel-features.h>.
26501         [__ASSUME_32BITUIDS]: Make code unconditional.
26502         [!__ASSUME_32BITUIDS]: Remove conditional code.
26503         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26504         <kernel-features.h>.
26505         [__ASSUME_32BITUIDS]: Make code unconditional.
26506         [!__ASSUME_32BITUIDS]: Remove conditional code.
26507         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26508         <kernel-features.h>.
26509         [__ASSUME_32BITUIDS]: Make code unconditional.
26510         [!__ASSUME_32BITUIDS]: Remove conditional code.
26511         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26512         <kernel-features.h>.
26513         [__ASSUME_32BITUIDS]: Make code unconditional.
26514         [!__ASSUME_32BITUIDS]: Remove conditional code.
26515         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26516         <kernel-features.h>.
26517         [__ASSUME_32BITUIDS]: Make code unconditional.
26518         [!__ASSUME_32BITUIDS]: Remove conditional code.
26519         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26520         <kernel-features.h>.
26521         [__ASSUME_32BITUIDS]: Make code unconditional.
26522         [!__ASSUME_32BITUIDS]: Remove conditional code.
26523         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26524         <kernel-features.h>.
26525         [__ASSUME_32BITUIDS]: Make code unconditional.
26526         [!__ASSUME_32BITUIDS]: Remove conditional code.
26527         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26528         <kernel-features.h>.
26529         [__ASSUME_32BITUIDS]: Make code unconditional.
26530         [!__ASSUME_32BITUIDS]: Remove conditional code.
26531         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26532         <kernel-features.h>.
26533         [__ASSUME_32BITUIDS]: Make code unconditional.
26534         [!__ASSUME_32BITUIDS]: Remove conditional code.
26535         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26536         <kernel-features.h>.
26537         [__ASSUME_32BITUIDS]: Make code unconditional.
26538         [!__ASSUME_32BITUIDS]: Remove conditional code.
26539         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26540         <kernel-features.h>.
26541         [__NR_setresgid] (__setresgid): Do not declare.
26542         [__ASSUME_32BITUIDS]: Make code unconditional.
26543         [!__ASSUME_32BITUIDS]: Remove conditional code.
26544         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26545         <kernel-features.h>.
26546         [__NR_setresuid] (__setresuid): Do not declare.
26547         [__ASSUME_32BITUIDS]: Make code unconditional.
26548         [!__ASSUME_32BITUIDS]: Remove conditional code.
26549         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26550         <kernel-features.h>.
26551         [__ASSUME_32BITUIDS]: Make code unconditional.
26552         [!__ASSUME_32BITUIDS]: Remove conditional code.
26553         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26554         <kernel-features.h>.
26555         [__ASSUME_32BITUIDS]: Make code unconditional.
26556         [!__ASSUME_32BITUIDS]: Remove conditional code.
26557         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26558         <kernel-features.h>.
26559         [__ASSUME_32BITUIDS]: Make code unconditional.
26560         [!__ASSUME_32BITUIDS]: Remove conditional code.
26561         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26562         <kernel-features.h>.
26563         [__ASSUME_32BITUIDS]: Make code unconditional.
26564         [!__ASSUME_32BITUIDS]: Remove conditional code.
26565         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26566         <kernel-features.h>.
26567         [__ASSUME_32BITUIDS]: Make code unconditional.
26568         [!__ASSUME_32BITUIDS]: Remove conditional code.
26569         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26570         <kernel-features.h>.
26571         [__ASSUME_32BITUIDS]: Make code unconditional.
26572         [!__ASSUME_32BITUIDS]: Remove conditional code.
26573         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26574         <kernel-features.h>.
26575         [__ASSUME_32BITUIDS]: Make code unconditional.
26576         [!__ASSUME_32BITUIDS]: Remove conditional code.
26577         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26578         <kernel-features.h>.
26579         [__ASSUME_32BITUIDS]: Make code unconditional.
26580         [!__ASSUME_32BITUIDS]: Remove conditional code.
26581         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26582         <kernel-features.h>.
26583         [__ASSUME_32BITUIDS]: Make code unconditional.
26584         [!__ASSUME_32BITUIDS]: Remove conditional code.
26585         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26586         <kernel-features.h>.
26587         [__ASSUME_32BITUIDS]: Make code unconditional.
26588         [!__ASSUME_32BITUIDS]: Remove conditional code.
26589         * sysdeps/unix/sysv/linux/kernel-features.h
26590         (__ASSUME_SETRESUID_SYSCALL): Remove.
26591         (__ASSUME_SETRESGID_SYSCALL): Likewise.
26592         (__ASSUME_32BITUIDS): Likewise.
26593         (__ASSUME_LDT_WORKS): Likewise.
26594         (__ASSUME_O_DIRECTORY): Likewise.
26595         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26596         architecture but not kernel version.
26597         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26598         (__ASSUME_MMAP2_SYSCALL): Likewise.
26599         (__ASSUME_STAT64_SYSCALL): Likewise.
26600         (__ASSUME_IPC64): Likewise.
26601         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26602         <kernel-features.h>.
26603         [__ASSUME_32BITUIDS]: Make code unconditional.
26604         [!__ASSUME_32BITUIDS]: Remove conditional code.
26605         * sysdeps/unix/sysv/linux/opendir.c: Do not include
26606         <kernel-features.h>.
26607         [__ASSUME_O_DIRECTORY]: Make code unconditional.
26608         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26609         132096]: Remove conditional code.
26610         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26611         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26612         <kernel-features.h>.
26613         [__ASSUME_32BITUIDS]: Make code unconditional.
26614         [!__ASSUME_32BITUIDS]: Remove conditional code.
26615         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26616         <kernel-features.h>.
26617         [__ASSUME_32BITUIDS]: Make code unconditional.
26618         [!__ASSUME_32BITUIDS]: Remove conditional code.
26619         * sysdeps/unix/sysv/linux/setegid.c: Do not include
26620         <kernel-features.h>.
26621         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26622         unconditional.
26623         (__setresgid): Do not declare.
26624         [__ASSUME_32BITUIDS]: Make code unconditional.
26625         [!__ASSUME_32BITUIDS]: Remove conditional code.
26626         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26627         <kernel-features.h>.
26628         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26629         unconditional.
26630         (__setresuid): Do not declare.
26631         [__ASSUME_32BITUIDS]: Make code unconditional.
26632         [!__ASSUME_32BITUIDS]: Remove conditional code.
26633         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26634         <kernel-features.h>.
26635         [__ASSUME_32BITUIDS]: Make code unconditional.
26636         [!__ASSUME_32BITUIDS]: Remove conditional code.
26637         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26638         <kernel-features.h>.
26639         [__ASSUME_32BITUIDS]: Make code unconditional.
26640         [!__ASSUME_32BITUIDS]: Remove conditional code.
26642 2012-05-25  Richard Henderson  <rth@twiddle.net>
26644         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26645         dl_hwcap to ifunc resolver.
26646         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26647         elf_ifunc_invoke.
26648         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26649         dl_hwcap to ifunc resolver.
26650         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26652 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26654         [BZ #14153]
26655         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26656         for |x| <= 2**-26, not 2**-57.
26657         * math/libm-test.inc (acos_test): Do not allow spurious underflow
26658         exception.
26660 2012-05-24  Jeff Law  <law@redhat.com>
26662         * stdio-common/Makefile (tests): Add bug25.
26663         * stdio-common/bug25.c: New test.
26665 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26667         [BZ #13576]
26668         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26669         multiple of MALLOC_ALIGNMENT in size.
26670         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26672 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26674         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26675         Require >= 256.
26676         (FILENAME_MAX): Use macro-int-constant.
26677         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
26678         (_IOFBF): Use macro-int-constant.
26679         (_IOLBF): Likewise.
26680         (_IONBF): Likewise.
26681         (SEEK_CUR): Likewise.
26682         (SEEK_END): Likewise.
26683         (SEEK_SET): Likewise.
26684         (TMP_MAX): Likewise.
26685         (EOF): Use macro-int-constant.  Require < 0.
26686         (NULL): Use macro-constant.  Require == 0.
26687         (stdin): Require type to be FILE *.
26688         (stdout): Likewise.
26689         (stderr): Likewise.
26690         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26691         macro-int-constant.
26692         (EXIT_SUCCESS): Likewise.
26693         (NULL): Use macro-constant.  Require == 0.
26694         (RAND_MAX): Use macro-int-constant.
26695         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26696         [C99-based standards] (strtof): Require function.
26697         [C99-based standards] (strtold): Likewise.
26698         [C99-based standards] (strtoll): Likewise.
26699         [C99-based standards] (strtoull): Likewise.
26700         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26701         [ISO || ISO99 || ISO11] (limits.h): Likewise.
26702         [ISO || ISO99 || ISO11] (math.h): Likewise.
26703         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26704         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26705         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26707 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
26709         [BZ #14132]
26710         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26711         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26712         * intl/dgettext.c (DCGETTEXT): Likewise.
26713         * intl/gettext.c (DCGETTEXT): Likewise.
26714         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26715         * posix/regex_internal.h (gettext): Likewise.
26716         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26717         Remove declaration.
26718         * include/argz.h (__argz_count_internal)
26719         (__argz_stringify_internal): Remove declaration.
26720         (__argz_count, __argz_stringify): Declare hidden proto.
26721         * intl/dcgettext.c: Remove use of INTDEF.
26722         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26723         * string/argz-stringify.c: Likewise.
26724         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26725         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26726         Declare hidden proto.
26727         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26728         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26729         Declare hidden proto.
26730         * include/stdio.h (__asprintf_internal): Don't declare.
26731         (__asprintf): Don't define as macro.  Declare hidden proto.
26732         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26733         (__fsetlocking): Declare hidden proto.
26734         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26735         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26736         hidden proto.
26737         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26738         (_IO_setlinebuf): Remove use of INTUSE.
26739         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26740         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26741         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26742         Remove declaration.
26743         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26744         (_IO_do_flush): Remove use of INTUSE.
26745         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26746         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26747         (_IO_adjust_column, _IO_least_wmarker)
26748         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26749         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26750         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26751         (_IO_default_doallocate, _IO_wdefault_doallocate)
26752         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26753         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26754         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26755         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26756         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26757         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26758         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26759         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26760         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26761         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26762         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26763         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26764         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26765         proto.
26766         (_IO_flush_all_internal, _IO_adjust_column_internal)
26767         (_IO_default_uflow_internal, _IO_default_finish_internal)
26768         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26769         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26770         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26771         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26772         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26773         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26774         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26775         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26776         (_IO_file_close_internal, _IO_file_close_it_internal)
26777         (_IO_file_underflow_internal, _IO_file_overflow_internal)
26778         (_IO_file_init_internal, _IO_file_attach_internal)
26779         (_IO_file_fopen_internal, _IO_file_read_internal)
26780         (_IO_file_sync_internal, _IO_file_seek_internal)
26781         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26782         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26783         (_IO_str_underflow_internal, _IO_str_overflow_internal)
26784         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26785         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26786         (_IO_list_all_internal, _IO_link_in_internal)
26787         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26788         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26789         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26790         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26791         (_IO_do_write_internal, _IO_padn_internal)
26792         (_IO_getline_info_internal, _IO_getline_internal)
26793         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26794         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26795         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26796         (_IO_vfscanf_internal, _IO_vfprintf_internal)
26797         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26798         (_IO_init_internal, _IO_un_link_internal): Don't declare.
26799         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26800         with libc_hidden_ver, remove use of INTUSE.
26801         * libio/genops.c: Likewise.
26802         * libio/freopen.c: Likewise.
26803         * libio/freopen64.c: Likewise.
26804         * libio/iofclose.c: Likewise.
26805         * libio/iofdopen.c: Likewise.
26806         * libio/iofflush.c: Likewise.
26807         * libio/iofflush_u.c: Likewise.
26808         * libio/iofgets.c: Likewise.
26809         * libio/iofgets_u.c: Likewise.
26810         * libio/iofopen.c: Likewise.
26811         * libio/iofopncook.c: Likewise.
26812         * libio/iofread.c: Likewise.
26813         * libio/iofread_u.c: Likewise.
26814         * libio/ioftell.c: Likewise.
26815         * libio/iofwrite.c: Likewise.
26816         * libio/iogetline.c: Likewise.
26817         * libio/iogets.c: Likewise.
26818         * libio/iogetwline.c: Likewise.
26819         * libio/iopadn.c: Likewise.
26820         * libio/iopopen.c: Likewise.
26821         * libio/ioseekoff.c: Likewise.
26822         * libio/ioseekpos.c: Likewise.
26823         * libio/iosetbuffer.c: Likewise.
26824         * libio/iosetvbuf.c: Likewise.
26825         * libio/ioungetc.c: Likewise.
26826         * libio/ioungetwc.c: Likewise.
26827         * libio/iovdprintf.c: Likewise.
26828         * libio/iovsprintf.c: Likewise.
26829         * libio/iovsscanf.c: Likewise.
26830         * libio/memstream.c: Likewise.
26831         * libio/obprintf.c: Likewise.
26832         * libio/oldfileops.c: Likewise.
26833         * libio/oldiofclose.c: Likewise.
26834         * libio/oldiofdopen.c: Likewise.
26835         * libio/oldiofopen.c: Likewise.
26836         * libio/oldiopopen.c: Likewise.
26837         * libio/oldstdfiles.c: Likewise.
26838         * libio/putc.c: Likewise.
26839         * libio/setbuf.c: Likewise.
26840         * libio/setlinebuf.c: Likewise.
26841         * libio/stdfiles.c: Likewise.
26842         * libio/strops.c: Likewise.
26843         * libio/vasprintf.c: Likewise.
26844         * libio/vscanf.c: Likewise.
26845         * libio/vsnprintf.c: Likewise.
26846         * libio/vswprintf.c: Likewise.
26847         * libio/wfiledoalloc.c: Likewise.
26848         * libio/wfileops.c: Likewise.
26849         * libio/wgenops.c: Likewise.
26850         * libio/wmemstream.c: Likewise.
26851         * libio/wstrops.c: Likewise.
26852         * libio/__fpurge.c: Likewise.
26853         * libio/__fsetlocking.c: Likewise.
26854         * assert/assert.c: Likewise.
26855         * debug/fgets_chk.c: Likewise.
26856         * debug/fgets_u_chk.c: Likewise.
26857         * debug/fread_chk.c: Likewise.
26858         * debug/fread_u_chk.c: Likewise.
26859         * debug/gets_chk.c: Likewise.
26860         * debug/obprintf_chk.c: Likewise.
26861         * debug/vasprintf_chk.c: Likewise.
26862         * debug/vdprintf_chk.c: Likewise.
26863         * debug/vsnprintf_chk.c: Likewise.
26864         * debug/vsprintf_chk.c: Likewise.
26865         * malloc/mtrace.c: Likewise.
26866         * misc/error.c: Likewise.
26867         * misc/syslog.c: Likewise.
26868         * stdio-common/asprintf.c: Likewise.
26869         * stdio-common/fxprintf.c: Likewise.
26870         * stdio-common/getw.c: Likewise.
26871         * stdio-common/isoc99_fscanf.c: Likewise.
26872         * stdio-common/isoc99_scanf.c: Likewise.
26873         * stdio-common/isoc99_vfscanf.c: Likewise.
26874         * stdio-common/isoc99_vscanf.c: Likewise.
26875         * stdio-common/isoc99_vsscanf.c: Likewise.
26876         * stdio-common/printf-prs.c: Likewise.
26877         * stdio-common/printf_fp.c: Likewise.
26878         * stdio-common/printf_fphex.c: Likewise.
26879         * stdio-common/printf_size.c: Likewise.
26880         * stdio-common/putw.c: Likewise.
26881         * stdio-common/scanf.c: Likewise.
26882         * stdio-common/sprintf.c: Likewise.
26883         * stdio-common/tmpfile.c: Likewise.
26884         * stdio-common/vfprintf.c: Likewise.
26885         * stdio-common/vfscanf.c: Likewise.
26886         * stdlib/strfmon_l.c: Likewise.
26887         * sunrpc/openchild.c: Likewise.
26888         * sunrpc/xdr_stdio.c: Likewise.
26889         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26890         * sysdeps/mach/hurd/tmpfile.c: Likewise.
26892 2012-05-24  Roland McGrath  <roland@hack.frob.com>
26894         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26896         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26897         in the third column, to generate for the shared library an IFUNC
26898         that uses _dl_vdso_vsym.
26899         * Makerules (COMPILE.c, compile-stdin.c): New variables.
26900         * Makeconfig (object-suffixes-noshared): New variable.
26902         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26903         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26904         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26905         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26907         [BZ #14132]
26908         * include/sys/time.h (__gettimeofday): Remove macro.
26909         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26910         * time/gettimeofday.c (__gettimeofday): Remove #undef.
26911         Remove INTDEF.
26912         (__gettimeofday): Add libc_hidden_def.
26913         (gettimeofday): Add libc_hidden_weak.
26914         * sysdeps/mach/gettimeofday.c: Likewise.
26915         * sysdeps/posix/gettimeofday.c: Likewise.
26916         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26917         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26918         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26919         (__gettimeofday_internal): Remove strong_alias.
26920         (__gettimeofday): Add libc_hidden_def.
26921         (gettimeofday): Add libc_hidden_weak.
26922         * sysdeps/unix/syscalls.list (gettimeofday):
26923         Remove __gettimeofday_internal alias.
26925 2012-05-24  Daniel Jacobowitz  <drow@false.org>
26926             H.J. Lu  <hongjiu.lu@intel.com>
26928         [BZ #12495]
26929         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26930         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26931         (largebin_index_32_big): New.
26932         (largebin_index): Use it for 16-byte alignment.
26933         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
26934         correction with front_misalign.
26936 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26940         Likewise.
26941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26942         Likewise.
26943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26944         Likewise.
26945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26946         Likewise.
26947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26948         Likewise.
26949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26950         Likewise.
26951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26952         Likewise.
26953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26954         Likewise.
26955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26956         Likewise.
26957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26958         Likewise.
26959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26960         Likewise.
26961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26962         Likewise.
26964         * scripts/data/c++-types-x32-linux-gnu.data: New file.
26965         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26967 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26969         [BZ #10846]
26970         [BZ #14036]
26971         * math/libm-test.inc (exp_test): Add test from bug 14036.
26972         (pow_test): Add test from bug 10846.
26974         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26975         and other flags.
26976         (special_function): Do not include flags in test name.
26977         (parse_args): Likewise.
26978         * sysdeps/i386/fpu/libm-test-ulps: Update.
26979         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26980         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26981         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26984         * math/gen-libm-test.pl (%beautify): Add entries for underflow
26985         exceptions.
26986         * math/libm-test.inc ("Philosophy"): Update comment about
26987         exception testing.
26988         (UNDERFLOW_EXCEPTION): New macro.
26989         (UNDERFLOW_EXCEPTION_OK): Likewise.
26990         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26991         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26992         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26993         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26994         (INVALID_EXCEPTION_OK): Update value.
26995         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26996         (OVERFLOW_EXCEPTION_OK): Likewise.
26997         (IGNORE_ZERO_INF_SIGN): Likewise.
26998         (test_exceptions): Handle underflow exceptions.
26999         (acos_test): Update for underflow exception expectations.
27000         (cexp_test): Likewise.
27001         (clog_test): Likewise.
27002         (clog10_test): Likewise.
27003         (csqrt_test): Likewise.
27004         (ctan_test): Likewise.
27005         (ctanh_test): Likewise.
27006         (exp_test): Likewise.
27007         (exp10_test): Likewise.
27008         (exp2_test): Likewise.
27009         (expm1_test): Likewise.
27010         (fma_test): Likewise.
27011         (j0_test): Likewise.
27012         (jn_test): Likewise.
27013         (nexttoward_test): Likewise.
27014         (pow_test): Likewise.
27015         (scalbn_test): Likewise.
27016         (scalbln_test): Likewise.
27017         (tan_test): Likewise.
27018         (y1_test): Likewise.
27019         * sysdeps/i386/fpu/libm-test-ulps: Update.
27020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27022 2012-05-23  David S. Miller  <davem@davemloft.net>
27024         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27025         (__libc_sigaction): Remove unused local variables.
27027 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27029         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27031 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
27033         mktime: avoid signed integer overflow
27034         * time/mktime.c (__mktime_internal): Do not mishandle the case
27035         where diff == INT_MIN.
27037         mktime: simplify computation of average
27038         * time/mktime.c (ranged_convert): Use new time_t_avg function
27039         instead of rolling our own (probably-slower) code.
27041         mktime: do not assume signed right shift propagates sign bit
27042         * time/mktime.c (isdst_differ): New static function.
27043         (__mktime_internal): No need to normalize tm_isdst now.
27044         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27045         tm_isdst values.
27047         mktime: merge another wrapv change from gnulib
27048         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27049         from some compilers.
27051         mktime: remove incorrect attempt at unusual arithmetics
27052         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27053         The code didn't really work on such machines anyway.
27054         (TYPE_MINIMUM): Assume two's complement.
27055         (twos_complement_arithmetic): Verify that long_int and time_t
27056         are two's complement (or unsigned, in the latter case).
27058         mktime: check signed shifts on long_int and time_t, too
27059         * time/mktime.c (SHR): Check that shifts work as desired
27060         on the types long_int and time_t too, as SHR is used on
27061         such types.
27063         mktime: do not assume 'long' is wide enough
27064         * time/mktime.c (verify): Move decl up.
27065         (long_int): New type.
27066         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27067         to remove assumption in the code that 'long' is wide enough to
27068         store year values.  This assumption is not true on x32 and on
27069         some non-glibc platforms.
27071         mktime: merge wrapv change from gnulib
27072         * time/mktime.c (WRAPV): New macro.
27073         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27074         (guess_time_tm, __mktime_internal): Do not assume that signed
27075         integer overflow wraps around; modern compilers generate code
27076         where this assumption is no longer valid.
27078 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27080         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27081         Replace "jmp L(pseudo_end)" with "ret".
27082         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27083         Likewise.
27085 2012-05-23  Andreas Jaeger  <aj@suse.de>
27087         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27088         * sysdeps/unix/sysv/linux/poll.c: Remove file.
27090 2012-05-23  Andreas Jaeger  <aj@suse.de>
27091             Maximilian Attems  <max@stro.at>
27093         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27094         New macros.
27096 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
27098         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27099         code so that pseudo_end is just ret and the stack pointer is
27100         correct also for static library in error case.
27102 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
27104         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27105         move to syscalls.list.
27106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27111         * manual/install.texi (Running make install): Do not mention Linux
27112         kernel version for which pt_chown is not needed.
27113         (Linux): Do not mention problems with nscd with 2.0 kernels.
27114         * INSTALL: Regenerated.
27116 2012-05-23  Andreas Jaeger  <aj@suse.de>
27118         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27119         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27120         macro.
27121         * sysdeps/unix/sysv/linux/s390/bits/mman.h
27122         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27123         * sysdeps/unix/sysv/linux/sh/bits/mman.h
27124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27125         * sysdeps/unix/sysv/linux/i386/bits/mman.h
27126         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27127         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27128         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27129         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27130         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27131         * sysdeps/unix/sysv/linux/bits/in.h
27132         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27134 2012-05-22  Roland McGrath  <roland@hack.frob.com>
27136         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27137         (PREPARE_VERSION): Just use assert instead, it will be elided
27138         under [NDEBUG] anyway.
27140 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27142         * sysdeps/unix/sysv/linux/Makefile: Include
27143         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27144         (sysdep_routines): Remove sysctl.
27145         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27146         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27147         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27148         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27149         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27151 2012-05-22  Andreas Jaeger  <aj@suse.de>
27153         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27154         that pseudo_end is just ret and the stack pointer is correct also
27155         for static library in error case.
27157 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
27159         [BZ #14122]
27160         * nss/nsswitch.c (defconfig_entries): New variable.
27161         (__nss_database_lookup): Don't leak defconfig entries.
27162         (nss_parse_service_list): Don't leak on error paths.
27163         (free_database_entries): New function.
27164         (free_defconfig): New function.
27165         (free_mem): Move common code to free_database_entries.
27167 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27169         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27170         Add arch_prctl.
27171         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27173         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27174         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27176         New macro.
27177         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27178         (INTERNAL_SYSCALL_TYPES): Likewise.
27179         (LOAD_ARGS_TYPES_[1-6]): Likewise.
27180         (LOAD_REGS_TYPES_[1-6]): Likewise.
27181         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27182         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27184 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27186         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27187         copysignl for GLIBC_2_0.
27188         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27189         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27190         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27191         logbl for GLIBC_2_0.
27192         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27193         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27195 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27197         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27198         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27200         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27201         Use "neg %eax".
27203         * time/mktime.c: Update copyright years.
27205 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
27207         mktime: merge comment-quoting-style change from gnulib
27208         * time/mktime.c: Quote 'like this' in comments.
27209         The GNU coding standards suggest that we no longer quote `like this',
27210         as "`" and "'" are typically rendered asymmetrically nowadays.
27211         The typical gnulib style is to quote 'like this' when quoting
27212         code, and "like this" when quoting English.
27214         * time/mktime.c (compile-command): Add "-I.".
27216         mktime: merge mktime-internal.h change from gnulib
27217         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27219         mktime: merge time_r change from gnulib
27220         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27222         mktime: merge DEBUG change from gnulib
27223         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27224         case system <time.h> has a #define.
27226         mktime: merge <sys/types.h> change from gnulib
27227         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27228         since <time.t> is now guaranteed to define time_t.
27230         mktime: merge HAVE_CONFIG_H change from gnulib
27231         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27233 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27235         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27236         Use "neg %eax".
27238         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27239         __rlim_t cast.
27240         (struct rusage): Use anonymous union to pad each field to
27241         __syscall_slong_t.
27243 2012-05-21  David S. Miller  <davem@davemloft.net>
27245         * Makefules (o-iterator): Remove .s cases.
27246         (compile-command.s): Delete.
27247         (COMPILE.s): Delete.
27248         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27250 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
27252         * configure.in (libc_cv_predef_stack_protector): Only consider
27253         "foobar" and "__stack_chk_fail" lines in libc_undefs.
27254         * configure: Regenerated.
27256 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27258         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27259         New macro.  Use R*LP on int and pointer.
27260         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27261         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27262         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27263         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27265         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27266         [__WORDSIZE_TIME64_COMPAT32] instead of
27267         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27268         (struct utmp): Likewise.
27269         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27270         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27271         Renamed to ...
27272         (__WORDSIZE_TIME64_COMPAT32): This.
27273         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27274         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27275         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27276         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27277         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27278         (__WORDSIZE_TIME64_COMPAT32): New macro.
27280 2012-05-21  Andreas Jaeger  <aj@suse.de>
27282         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27283         only if [SHARED]. Add prototype for __wcschr_ia32.
27285 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27287         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27288         of %rbp unmolested in the jmp_buf while mangling the low bits.
27289         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27290         unmolested high bits of %rbp while demangling the low bits.
27291         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27293 2012-05-21  Andreas Jaeger  <aj@suse.de>
27295         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27296         * sunrpc/svc_simple.c: Use it for registerrpc.
27297         * sunrpc/xcrypt.c: Use it for passwd2des.
27299         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27301 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27303         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27304         Don't define if [__SYSCALL_WORDSIZE != 32].
27305         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27306         New macro.
27308 2012-05-21  Bruno Haible  <bruno@clisp.org>
27309             Andreas Jaeger  <aj@suse.de>
27311         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27312         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27313         inptr and inend for must_buffer_ch.
27314         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27315         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27316         * stdio-common/Makefile (tests): Remove bug15.
27317         (bug15-ENV): Remove macro.
27318         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27319         anymore.
27321 2012-05-19  Andreas Jaeger  <aj@suse.de>
27322             Roland McGrath  <roland@hack.frob.com>
27324         * manual/contrib.texi: Completely rewritten. It contains now an
27325         alphabetical list of contributors and their contributions.
27327 2012-05-21  Richard Henderson  <rth@twiddle.net>
27329         * misc/getauxval.c (__getauxval): Use unsigned long int.
27330         * misc/sys/auxv.h: Include <sys/cdefs.h>.
27331         (getauxval): Use unsigned long int.
27333 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27335         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27337 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27339         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27340         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27341         __alignof__ (long double).
27343 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27347 2012-05-20  Richard Henderson  <rth@twiddle.net>
27349         * misc/getauxval.c: New file.
27350         * misc/sys/auxv.h: New file.
27351         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27352         (routines): Add getauxval.
27353         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27354         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27355         * elf/dl-sysdep.c (_dl_auxv): Remove.
27356         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27357         * elf/dl-support.c (_dl_auxv): New variable.
27358         (_dl_aux_init): Initialize it.
27359         * manual/startup.texi (Auxiliary Vector): New node.
27360         * sysdeps/generic/bits/hwcap.h: New file.
27361         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27362         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
27363         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27364         * sysdeps/sparc/sysdep.h: ... here.  Include it.
27365         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27366         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27368         Update.
27369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27371         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27372         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27378 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27382 2012-05-19  David S. Miller  <davem@davemloft.net>
27384         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27386 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27388         [BZ #14123]
27389         * math/s_ccosh.c: Include <float.h>
27390         (__ccosh): Avoid internal overflow calculating sinh and cosh
27391         values before multiplying by sin and cos values.
27392         * math/s_ccoshf.c: Likewise.
27393         * math/s_ccoshl.c: Likewise.
27394         * math/s_csin.c: Likewise.
27395         * math/s_csinf.c: Likewise.
27396         * math/s_csinl.c: Likewise.
27397         * math/s_csinh.c: Likewise.
27398         * math/s_csinhf.c: Likewise.
27399         * math/s_csinhl.c: Likewise.
27400         * math/libm-test.inc (ccos_test): Add more tests.
27401         (ccosh_test): Likewise.
27402         (csin_test): Likewise.
27403         (csinh_test): Likewise.
27404         * sysdeps/i386/fpu/libm-test-ulps: Update.
27405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27407 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
27409         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27410         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27412         * sysdeps/x86_64/x32/_itoa.h: Add comment.
27414 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27416         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27417         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27418         * sysdeps/powerpc/soft-fp/Versions: Likewise.
27419         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27420         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27421         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27422         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27423         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27424         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27425         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27426         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27427         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27428         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27429         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27430         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27431         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27432         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27433         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27434         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27435         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27436         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27437         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27438         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27439         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27440         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27441         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27442         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27443         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27444         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27445         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27446         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27448 2012-05-18  Andreas Jaeger  <aj@suse.de>
27450         * csu/.gitignore: Delete.
27452 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27454         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27455         (timex): Use __syscall_slong_t.
27457 2012-05-18  Andreas Jaeger  <aj@suse.de>
27458             Carlos O'Donell  <carlos_odonell@mentor.com>
27460         * manual/install.texi (Configuring and compiling): Update
27461         description about files modified in the source directory.
27462         * INSTALL: Regenerated.
27464 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27466         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27467         value.  Use "or" to set return value to -1.
27468         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27469         negate return value.
27471 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27473         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27474         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27475         failure if the compiler has Graphite support disabled.
27476         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27477         Likewise.
27478         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27479         CFLAGS-memmove.c): Likewise.
27480         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27481         Likewise.
27483 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27485         * sysdeps/x86_64/x32/_itoa.h: New file.
27487         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27488         getdents system call only if kernel and user dirents have the
27489         same d_ino and d_off.
27491         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27492         LLONG_MAX != LONG_MAX.
27493         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27494         (_fitoa_word): Likewise.
27496         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27497         years.
27498         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27499         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27500         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27502         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27503         include <bits/wordsize.h>.  Check __x86_64__ instead of
27504         __WORDSIZE.
27505         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27506         if __x86_64__ is defined.  Use anonymous union on fpstate.
27508         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27509         anonymous union.
27511 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
27513         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27514         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27515         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27516         Refer to _rtld_local_ro instead of _rtld_global_ro.
27517         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27518         Likewise.
27519         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27520         Likewise.
27521         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27522         Likewise.
27523         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27524         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27525         of _rtld_global, and rtld_progname instead of _dl_argv[0].
27527         * sysdeps/powerpc/powerpc32/dl-machine.c
27528         (__elf_machine_runtime_setup) [PROF]: Don't reference
27529         _dl_prof_resolve.
27531 2012-05-18  Andreas Jaeger  <aj@suse.de>
27533         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27534         function only available for GCCs before 3.4 since GCC 3.4
27535         introduced a builtin.
27536         (lrint): Likewise.
27537         (llrintf): Likewise.
27538         (llrint): Likewise.
27539         (fmaxf): Likewise.
27540         (fmax): Likewise.
27541         (fminf): Likewise.
27542         (fmin): Likewise.
27543         (rint): Likewise.
27544         (rintf): Likewise.
27545         (nearbyint): Likewise.
27546         (nearbyintf): Likewise.
27547         (ceil): Likewise.
27548         (ceilf): Likewise.
27549         (floor): Likewise.
27550         (floorf): Likewise.
27552 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27554         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27555         on both fields and cast pointer to __syscall_ulong_t.
27557         * bits/types.h (__fsword_t): New type.
27558         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27559         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27561         (__FSWORD_T_TYPE): Likewise.
27562         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27563         (__FSWORD_T_TYPE): Likewise.
27564         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27565         (__FSWORD_T_TYPE): Likewise.
27566         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27567         (__FSWORD_T_TYPE): Likewise.
27568         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27569         __SWORD_TYPE with __fsword_t.
27570         (statfs64): Likewise.
27572 2012-05-17  David S. Miller  <davem@davemloft.net>
27574         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27576 2012-05-17  Andreas Jaeger  <aj@suse.de>
27578         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27579         warning.
27581 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27583         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27585 2012-05-17  Andreas Jaeger  <aj@suse.de>
27587         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27588         when it is used.
27590 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27592         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27594 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27596         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27597         * sysdeps/x86_64/tst-mallocalign1.c: New file.
27599 2012-05-17  Andreas Jaeger  <aj@suse.de>
27600             Carlos O'Donell  <carlos_odonell@mentor.com>
27602         [BZ #14059]
27603         * sysdeps/x86_64/multiarch/init-arch.h
27604         (bit_YMM_Usable): Rename to...
27605         (bit_AVX_Usable): ... this.
27606         (bit_FMA4_Usable): New macro.
27607         (bit_XMM_state): New macro.
27608         (bit_YMM_state): New macro.
27609         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27610         [__ASSEMBLER__] (index_AVX_Usable): ... this.
27611         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27612         (CPUID_OSXSAVE): New macro.
27613         (CPUID_AVX): New macro.
27614         (CPUID_FMA4): New macro.
27615         (index_YMM_Usable): Rename to...
27616         (index_AVX_Usable): ... this.
27617         (HAS_AVX): Use HAS_ARCH_FEATURE.
27618         (HAS_FMA4): Likewise.
27619         (HAS_YMM_USABLE): Remove.
27620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27621         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27622         are present.
27623         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27624         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27625         * sysdeps/x86_64/multiarch/Makefile: Likewise.
27626         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27627         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27629 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27631         * math/libm-test.c: Support platforms without multiple rounding modes.
27632         * math/bug-nextafter.c: Support platforms without FP exceptions.
27633         * math/bug-nexttoward.c: Likewise.
27634         * math/test-fenv.c: Likewise.
27635         * math/test-misc.c: Likewise.
27636         * stdlib/bug-getcontext.c: Likewise.
27638 2012-05-17  Andreas Jaeger  <aj@suse.de>
27640         * manual/examples/search.c (critter_cmp): Change signature to
27641         avoid warnings.
27642         * manual/string.texi (Collation Functions): Likewise.
27644 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27646         * bits/types.h: Fold copyright years.
27647         * bits/typesizes.h: Likewise.
27648         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27649         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27650         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27651         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27652         * time/time.h: Likewise.
27654 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
27656         [BZ #208]
27657         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27658         in instead of returning them.  Return void.
27659         (__libc_mallinfo): Accumulate over all arenas.
27660         (__malloc_stats): Adjust for change in int_mallinfo interface.
27662 2012-05-16  Roland McGrath  <roland@hack.frob.com>
27664         [BZ #10375]
27665         * configure.in (NM): Add AC_CHECK_TOOL for it.
27666         (libc_extra_cflags): New substituted variable.
27667         Check for -fstack-protector being used implicitly.
27668         * configure: Regenerated.
27669         * config.make.in (config-extra-cflags): New variable,
27670         gets @libc_extra_cflags@.
27671         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27673         [BZ #10375]
27674         * configure.in: Check for _FORTIFY_SOURCE being predefined.
27675         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27676         * configure: Regenerated.
27677         * config.make.in (CPPUNDEFS): New substituted variable.
27678         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27679         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27680         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27682 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27684         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27685         (mq_attr): Use __syscall_slong_t.
27687 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27689         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27690         Check __x86_64__ instead of __WORDSIZE.
27691         (_STAT_VER_LINUX): Likewise.
27692         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
27693         __syscall_ulong_t and __syscall_slong_t.
27694         (stat64): Likewise.
27696 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27698         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27700 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27702         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27704 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27706         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27707         __syscall_ulong_t.
27709         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27710         include <bits/wordsize.h>.  Check __x86_64__ instead of
27711         __WORDSIZE.
27712         (greg_t): Use "__extension__ long long int" if __x86_64__ is
27713         defined.
27714         (mcontext_t): Replace "unsigned long" with "unsigned long long".
27716         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27717         include <bits/wordsize.h>.  Check __x86_64__ instead of
27718         __WORDSIZE.
27719         (user_regs_struct): Use "__extension__ unsigned long long"
27720         instead of "unsigned long" if __x86_64__ is defined.
27721         (user): Likewise.  Pad after pointer field if __ILP32__ is
27722         defined.
27724 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
27726         * configure.in (makeinfo): Require version 4.5 or later.  Allow
27727         versions 5 to 9.
27728         * configure: Regenerated.
27729         * manual/install.texi (texinfo): Increase version requirement to
27730         4.5 or later.
27731         * INSTALL: Regenerated.
27733         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27735 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27737         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27739         * sysdeps/x86_64/x32/ffs.c: New file.
27741         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27742         __syscall_ulong_t.
27743         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27744         defined.  Use __syscall_ulong_t.
27745         (shminfo): Use __syscall_ulong_t.
27746         (shm_info): Likewise.
27748         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27749         __syscall_ulong_t.
27751         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27752         <bits/wordsize.h>.
27753         (msgqnum_t): Use __syscall_ulong_t.
27754         (msglen_t): Likewise.
27755         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
27756         __syscall_ulong_t.
27758         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27759         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27761         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27763         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27764         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27766         * sysvipc/sys/msg.h (msgbuf): Replace long int with
27767         __syscall_slong_t.
27769         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27770         include <bits/wordsize.h>.  Check __x86_64__ instead of
27771         __WORDSIZE.
27773         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27774         "unsigned long long int" if __x86_64__ is defined.
27775         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27777         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27778         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27779         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27781         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27782         <stdint.h>.
27783         (GET_PC): Cast to uintptr_t first.
27784         (GET_FRAME): Likewise.
27785         (GET_STACK): Likewise.
27787         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27788         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27789         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27790         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27791         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27792         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27793         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27794         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27795         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27796         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27797         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27798         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27799         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27800         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27801         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27802         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27803         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27804         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27805         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27806         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27807         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27808         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27809         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27810         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27811         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27812         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27813         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27814         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27815         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27817 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
27819         * Makerules (+depfiles): Also collect depfiles from .oS in
27820         $(extra-objs).
27821         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27822         .oS, $(libnldbl-routines)).
27824         * Makerules (native-compile-mkdep-flags): Define.
27825         * sunrpc/Makefile (extra-objs): Add $(addprefix
27826         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27827         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27828         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
27829         calling $(make-target-directory).
27831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27833         * bits/types.h (__snseconds_t): Removed.
27834         * time/time.h (struct timespec): Replace __snseconds_t with
27835         __syscall_slong_t.
27836         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27837         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27838         Likewise.
27839         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27840         (__SNSECONDS_T_TYPE): Likewise.
27841         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27842         (__SNSECONDS_T_TYPE): Likewise.
27843         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27844         (__SNSECONDS_T_TYPE): Likewise.
27846 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27848         * sysdeps/mach/hurd/bits/typesizes.h
27849         (__SYSCALL_SLONG_TYPE): New macro.
27850         (__SYSCALL_ULONG_TYPE): Likewise.
27852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27854         * bits/types.h (__syscall_slong_t): New type.
27855         (__syscall_ulong_t): Likewise.
27857         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27858         (__SYSCALL_ULONG_TYPE): Likewise.
27859         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27860         (__SYSCALL_SLONG_TYPE): Likewise.
27861         (__SYSCALL_ULONG_TYPE): Likewise.
27862         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27863         (__SYSCALL_SLONG_TYPE): Likewise.
27864         (__SYSCALL_ULONG_TYPE): Likewise.
27865         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27866         (__SYSCALL_SLONG_TYPE): Likewise.
27867         (__SYSCALL_ULONG_TYPE): Likewise.
27869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27871         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27872         Add sigaltstack-offsets.sym.
27873         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27874         <sigaltstack-offsets.h>.
27875         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
27876         longjmp_msg pointer.
27877         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
27878         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27879         signal stack.
27880         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27882 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27884         * elf/stackguard-macros.h: Remove file.
27885         * sysdeps/generic/stackguard-macros.h: New file.
27886         * sysdeps/i386/stackguard-macros.h: Likewise.
27887         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27888         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27889         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27890         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27891         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27892         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27893         * sysdeps/x86_64/stackguard-macros.h: Likewise.
27894         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27895         <elf/stackguard-macros.h>.
27897         [BZ #14109]
27898         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27899         __aligned__ in attribute.
27900         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27901         (gregset_t): Likewise.
27903 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27905         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27906         * sysdeps/x86_64/64/Implies-after: Here.  New file.
27907         * sysdeps/x86_64/x32/Implies-after: New file.
27909 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27911         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27912         and access return value for _dl_profile_fixup.  Use R10_LP to
27913         load frame size.
27915 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27917         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27919 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27921         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27922         * sysdeps/x86_64/x32/sysdep.h: New file.
27924 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27926         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27927         * sysdeps/x86_64/setjmp.S: Likewise.
27929 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27931         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27932         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27933         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27934         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27935         remove unused global constant.
27937 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
27939         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27940         include of <not-cancel.h>.
27942 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27944         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27946 2012-05-15  Jeff Law  <law@redhat.com>
27947             Andreas Jaeger  <aj@suse.de>
27949         [BZ #13594]
27950         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27951         out from...
27952         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27953         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27954         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27955         code changing __hst_map_handle.map.
27957 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27959         * configure.in (sysnames): Look for Implies-before and Implies-after
27960         files.
27961         * configure: Regenerated.
27963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27965         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27966         8-byte data alignment with LP_SIZE alignment.
27968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27970         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27971         into R10_LP.
27973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27975         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27977 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27979         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27980         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27981         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27982         Likewise.
27983         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27985 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27987         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27988         (stackinfo_sub_sp): Likewise.
27990 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27992         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27993         RAX_LP.
27995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27997         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27998         into R*_LP.
28000 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28002         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28003         sizes into R*_LP.
28005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28007         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28009 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28011         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28012         into R11_LP and load __x86_64_shared_cache_size_half into
28013         R8_LP.
28015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
28017         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28018         R8_LP.
28020 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28022         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28023         logb for POWER7.
28024         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28025         logbf for POWER7.
28026         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28027         logbl for POWER7.
28028         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28029         powerpc32/power7/fpu/s_logb.c via #include.
28030         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28031         powerpc32/power7/fpu/s_logbf.c via #include.
28032         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28033         powerpc32/power7/fpu/s_logbl.c via #include.
28035 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
28037         * README.libm: Remove file.
28039 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28041         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28042         count for x32.  Use R*_LP and omit operand-size suffix.
28044 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28046         * shlib-versions: Move x86_64-.*-linux.* entries to ...
28047         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
28048         * sysdeps/x86_64/x32/shlib-versions: New file.
28050 2012-05-14  Roland McGrath  <roland@hack.frob.com>
28052         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28053         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28054         Use _dl_fatal_printf instead.
28056 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28058         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28059         set if not set by the user.  Do not allow for being unset.
28060         * sysdeps/unix/sysv/linux/configure: Regenerated.
28062 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28064         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28065         the `q' suffix from lea and replace .quad with ASM_ADDR.
28067 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28069         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28070         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
28071         instead of $17.
28072         (PTR_DEMANGLE): Likewise.
28074 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28076         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28077         (LP_OP): Likewise.
28078         (ASM_ADDR): Likewise.
28079         (RAX_LP): Likewise.
28080         (RBP_LP): Likewise.
28081         (RBX_LP): Likewise.
28082         (RCX_LP): Likewise.
28083         (RDI_LP): Likewise.
28084         (RSI_LP): Likewise.
28085         (RSP_LP): Likewise.
28086         (R8_LP): Likewise.
28087         (R9_LP): Likewise.
28088         (R10_LP): Likewise.
28089         (R10_LP): Likewise.
28090         (R11_LP): Likewise.
28091         (R12_LP): Likewise.
28092         (R13_LP): Likewise.
28093         (R14_LP): Likewise.
28094         (R15_LP): Likewise.
28096 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28098         * sysdeps/x86_64/x32/dl-machine.h: New file.
28100 2012-05-14  Andreas Jaeger  <aj@suse.de>
28102         * manual/Makefile (subdir): Remove export of subdir.
28103         (all): Remove target.
28104         (.PHONY): Remove all from list.
28105         (mkinstalldirs): Remove.
28106         (.PHONY): Remove installdirs from list.
28107         ($(inst_infodir)/libc.info): Use make-target-directory.
28108         (installdirs): Remove.
28109         (subdir_%): Remove.
28110         (glibc-targets): Remove.
28111         (lib): Remove.
28112         (stubs): Remove.
28113         ($(objpfx)stubs ../po/manual.pot): Remove.
28114         ($(objpfx)stamp%): Remove.
28115         (make-target-directory): Remove.
28116         (subdir_install): Remove.
28117         (routines): Remove.
28118         (aux): Remove.
28119         (sources): Remove.
28120         (objects): Remove.
28121         (headers): Remove.
28123         [BZ #13750]
28124         * manual/.gitignore: Remove, it's not needed anymore.
28125         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28126         all files in it.
28127         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28128         directory.
28129         (texis): Renamed to $(objpfx)texis.
28130         (texis-path): New, contains path to generated files.
28131         (chapters.%): Use texis-path for complete path, add extra argument
28132         libc-texinfo.sh.
28133         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28134         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28135         (summary,texi, stamp-summary): Use complete path of
28136         files. Generate files in build dir.
28137         (dir-add.texi): Build in build dir.
28138         (libm-err.texi,stamp-libm-err): Likewise.
28139         (version.texi, stamp-version): Likewise.
28140         (.%c.texi): Likewise.
28141         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28142         (mostlyclean): Remove target.
28143         (realclean): Remove target.
28144         (generated): Add new variable with contents from mostlyclean and
28145         realclean, remove entries duplicated in common-mostlyclean, add
28146         stamp-libm-err and stamp-version.
28147         (generated-dirs): Add libc directory.
28148         ($(inst_infodir)/libc.info): Install files from build dir.
28150         * manual/install.texi (Configuring and compiling): Adjust since
28151         the info files are not part of the tar ball anymore.
28153 2012-05-14  Andreas Jaeger  <aj@suse.de>
28155         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28156         variable.
28158 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
28160         [BZ #13717]
28161         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28162         to 2.2.0 where earlier.
28163         * sysdeps/unix/sysv/linux/configure: Regenerated.
28164         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28165         Remove conditional code.
28166         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28167         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28168         Remove conditional code.
28169         [!__NR_lchown]: Likewise.
28170         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28171         [__NR_lchown]: Likewise.
28172         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28173         comment referencing __ASSUME_LCHOWN_SYSCALL.
28174         * sysdeps/unix/sysv/linux/i386/sigaction.c
28175         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28176         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28177         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28178         Remove conditional code.
28179         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28180         (__protocol_available): Remove #if 0 code.
28181         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28182         conditional code.
28183         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28184         * sysdeps/unix/sysv/linux/kernel-features.h
28185         (__ASSUME_GETCWD_SYSCALL): Don't define.
28186         (__ASSUME_REALTIME_SIGNALS): Likewise.
28187         (__ASSUME_PREAD_SYSCALL): Likewise.
28188         (__ASSUME_PWRITE_SYSCALL): Likewise.
28189         (__ASSUME_POLL_SYSCALL): Likewise.
28190         (__ASSUME_LCHOWN_SYSCALL): Likewise.
28191         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28192         non-SPARC.
28193         (__ASSUME_SIOCGIFNAME): Don't define.
28194         (__ASSUME_MSG_NOSIGNAL): Likewise.
28195         (__ASSUME_SENDFILE): Define unconditionally.
28196         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28197         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28198         conditional code.
28199         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28200         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28201         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28202         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28203         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28204         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28205         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28207         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28208         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28210         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28211         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28213         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28214         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28216         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28217         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28219         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28220         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28222         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28223         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28225         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28226         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28228         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28229         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28230         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28231         Remove conditional code.
28232         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28233         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28234         Remove conditional code.
28235         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28236         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28237         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28238         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28239         Remove conditional code.
28240         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28241         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28242         Remove conditional code.
28243         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28244         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28245         Remove conditional code.
28246         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28247         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28248         Remove conditional code.
28249         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28250         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28251         Remove conditional code.
28252         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28253         * sysdeps/unix/sysv/linux/sh/pwrite64.c
28254         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28255         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28256         * sysdeps/unix/sysv/linux/sigaction.c
28257         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28258         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28259         * sysdeps/unix/sysv/linux/sigpending.c
28260         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28261         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28262         * sysdeps/unix/sysv/linux/sigprocmask.c
28263         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28264         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28265         * sysdeps/unix/sysv/linux/sigsuspend.c
28266         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28267         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28268         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28269         (__libc_missing_rt_sigs): Remove.
28270         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28271         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28272         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28273         Remove conditional code.
28274         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28275         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28276         return 1.
28277         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28278         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28279         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28280         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28282 2012-05-14  Andreas Jaeger  <aj@suse.de>
28284         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28285         it's not used in glibc.
28286         (__coshm1): Likewise.
28287         (__acosh1p): Likewise.
28288         (__sgn): Likewise.
28290         * manual/string.texi (Copying and Concatenation): Add missing
28291         variable in concat example.
28292         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28294 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28296         [BZ #14103]
28297         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28298         __builtin_clzl with __builtin_clzll.
28300 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28302         [BZ #14104]
28303         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28304         libc_freeres_ptr.
28306 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28308         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28309         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28310         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28311         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28313 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
28315         * NEWS: Update ia64 info.
28317 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
28319         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28320         used as bcopy.
28322 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
28324         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28325         * sysdeps/unix/syscalls.list (dup3): Likewise.
28326         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28327         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28329 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28331         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28332         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28334 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28336         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28337         thread pointer.
28338         (TLS_IE): Use mov/add instead of movq/addq to load thread
28339         pointer.
28340         (TLS_GD_PREFIX): New.
28341         (TLS_GD): Use it.
28343 2012-05-11  David S. Miller  <davem@davemloft.net>
28345         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28346         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28347         (_FPU_SETCW): Likewise.
28349 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28351         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28352         is 32-byte aligned.
28354 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
28356         [BZ #11837]
28357         * iconvdata/gb18030.c: Update tables.
28358         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
28359         characters specially.
28360         (BODY for TO_LOOP): Add encoding of missing ranges.
28362 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
28364         [BZ #13673]
28365         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28366         * sysdeps/mach/hurd/dup3.c: Likewise.
28367         * sysdeps/mach/hurd/readlinkat.c: Likewise.
28368         * sysdeps/powerpc/memmove.c:: Likewise.
28370 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28372         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28373         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28375 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28377         * elf/elf.h (R_X86_64_RELATIVE64): New.
28378         (R_X86_64_NUM): Updated.
28379         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28380         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
28381         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28382         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28383         tst-quad1pie tst-quad2pie
28384         (modules-names): Add tst-quadmod1 tst-quadmod2.
28385         ($(objpfx)tst-quad1): New dependency.
28386         ($(objpfx)tst-quad2): Likewise.
28387         ($(objpfx)tst-quad1pie): Likewise.
28388         ($(objpfx)tst-quad2pie): Likewise.
28389         * sysdeps/x86_64/tst-quad1.c: New file.
28390         * sysdeps/x86_64/tst-quad1pie.c: New file.
28391         * sysdeps/x86_64/tst-quad2.c: Likewise.
28392         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28393         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28394         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28395         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28396         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28398 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28400         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28401         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28402         * streams/stropts.h (t_scalar_t): Define type.
28404         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28405         (_PATH_PRESERVE): Set to "/var/lib".
28406         (_PATH_RWHODIR): Set to "/var/spool/rwho".
28408         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28409         instead of int.
28411         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28412         if __dir_mkfile succeeded.
28414         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28415         checking for _hurd_dtablesize.  Unlock it right after having
28416         finished _hurd_dtable allocation.
28418 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28420         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28421         * sysdeps/mach/hurd/configure: Regenerated.
28422         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28423         special-casing to...
28424         * sysdeps/gnu/configure.in: ... this new file.
28425         * sysdeps/unix/sysv/linux/configure: Regenerated.
28426         * sysdeps/gnu/configure: New generated file.
28428         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28429         for Linux: use nsec instead of usec, as well as:
28430         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28431         members of type struct timespec.
28432         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28433         New macros.
28434         (struct stat64): Likewise.
28435         (_STATBUF_ST_NSEC): New macro.
28436         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28438         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28439         __strtoul_internal rather than strtoul.
28441 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28443         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28444         and reject them.
28446 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28448         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28449         which preserves existing values.
28450         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28452 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28454         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28455         TIMEOUT values.  Return EINVAL for NFDS values either negative or
28456         greater than FD_SETSIZE.
28458 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28460         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28461         allocated, call __vm_protect to finish enabling the existing space, and
28462         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28463         allocate the remainder.
28465 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28467         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28468         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
28470 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28472         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28473         sysdeps/mach/hurd/readlink.c.
28475         * posix/tst-sysconf.c (posix_options): Only use
28476         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28477         _POSIX_SYNCHRONIZED_IO when they are defined
28478         * sysdeps/mach/hurd/bits/posix_opt.h:
28479         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28480         (_XOPEN_REALTIME): Undefine macro.
28481         (_XOPEN_REALTIME_THREADS): Undefine macro.
28482         (_XOPEN_SHM): Undefine macro.
28483         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28484         macro to -1.
28485         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28486         macro to -1.
28487         (_POSIX_ASYNC_IO): Undefine macro.
28488         (_POSIX_PRIORITIZED_IO): Undefine macro.
28489         (_POSIX_SPIN_LOCKS): Define macro to -1.
28491         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28492         SA_NODEFER, SA_RESETHAND.
28493         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28494         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28495         F_DUPFD_CLOEXEC.
28497 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28499         * elf/Makefile (pldd-modules): Define unconditionally.
28501 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28503         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28505 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28507         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28508         Return ENOENT when name is empty.
28509         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28511 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28513         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28515         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28517 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28519         Fix mlock in all cases except non-readable pages.
28520         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28521         instead of VM_PROT_ALL as parameter to __vm_wire function.
28523         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28524         (__mkdir): When path is `/', just fail with EEXIST.
28525         * sysdeps/mach/hurd/mkdirat.c: Likewise.
28527 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28529         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28530         <sys/uio.h> (for writev).
28531         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28532         and <sys/param.h> (for MIN).
28534 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28536         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28537         REQUESTED_TIME.  Properly set the remaining time and return EINTR
28538         if interrupted.
28540 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28542         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28543         Depend on against $(link-rpcuserlibs).
28545 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28547         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28548         (__libc_stack_end): Do not use attribute_relro.
28549         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28550         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28551         to libthread-provided value.
28552         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28553         attribute_relro.
28555 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28557         [BZ #3748]
28558         * bits/libc-lock.h (__libc_once_get): New macro.
28559         * sysdeps/mach/bits/libc-lock.h: Likewise.
28560         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28561         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28562         instead of using implementation details.
28564         * libio/fileops.c: Unconditionally include <kernel-features.h>.
28565         * libio/freopen.c: Likewise.
28566         * libio/freopen64.c: Likewise.
28567         * misc/syslog.c: Likewise.
28568         * nscd/connections.c: Likewise.
28569         * nscd/netgroupcache.c: Likewise.
28570         * sysdeps/posix/getcwd.c: Likewise.
28572 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28574         * math/w_ilogbf.c: Add #include <limits.h>.
28576 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28578         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28579         path instead of returning without unlocking.
28581         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28582         immediate-write ioctls.
28583         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28585 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28587         * sysdeps/mach/hurd/i386/init-first.c (init): Use
28588         __builtin_frame_address instead of making assumptions about the
28589         location of the return address relative to DATA.  Force early load of
28590         the return address.
28591         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28592         __builtin_frame_address.
28594         dup3 for GNU Hurd.
28595         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28596         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
28597         implement dup3 and do some further code clean-ups.
28598         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28599         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28601 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28603         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28605         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28606         HURD_CRITICAL_END around holding _hurd_dtable_lock.
28607         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28608         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28609         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28610         d->port.lock.
28612         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28613         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
28614         when handler == SIG_ERR, not when handler != SIG_ERR.
28616 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28618         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28619         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28620         definitions.
28622         accept4 for GNU Hurd.
28623         * include/sys/socket.h (__libc_accept4): New prototype.
28624         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
28625         to implement __libc_accept4.
28626         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28627         __libc_accept4.
28628         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28630         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28631         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28632         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28633         signal-defines.sym.
28635 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28637         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28639 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28641         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28642         assertion on O_CLOEXEC flag.
28643         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28644         * hurd/intern-fd.c: Likewise.
28645         * hurd/port2fd.c: Likewise.
28647 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28649         [BZ #3906]
28650         * bits/in.h (IPV6_PKTINFO): Define new macro.
28651         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28653 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28655         [BZ #13954]
28656         [BZ #13955]
28657         [BZ #13956]
28658         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28659         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28660         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28661         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28662         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28663         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28664         * math/libm-test.inc (logb_test) : Additional logb tests.
28666 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
28667             Andreas Jaeger  <aj@suse.de>
28669         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28670         * configure: Regenerated.
28671         * config.h.in (LINK_OBSOLETE_RPC): New macro.
28672         * config.make.in (link-obsolete-rpc): New substituted variable.
28673         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28674         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28675         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28676         (shared-only-routines): Don't set it under [link-obsolete-rpc],
28677         so that libc.a contains the symbols.
28678         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28679         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28680         * sunrpc/auth_none.c: Likewise.
28681         * sunrpc/auth_unix.c: Likewise.
28682         * sunrpc/authdes_prot.c: Likewise.
28683         * sunrpc/authuxprot.c: Likewise.
28684         * sunrpc/clnt_gen.c: Likewise.
28685         * sunrpc/clnt_perr.c: Likewise.
28686         * sunrpc/clnt_raw.c: Likewise.
28687         * sunrpc/clnt_simp.c: Likewise.
28688         * sunrpc/clnt_tcp.c: Likewise.
28689         * sunrpc/clnt_udp.c: Likewise.
28690         * sunrpc/clnt_unix.c: Likewise.
28691         * sunrpc/des_crypt.c: Likewise.
28692         * sunrpc/des_soft.c: Likewise.
28693         * sunrpc/get_myaddr.c: Likewise.
28694         * sunrpc/key_call.c: Likewise.
28695         * sunrpc/key_prot.c: Likewise.
28696         * sunrpc/netname.c: Likewise.
28697         * sunrpc/pm_getmaps.c: Likewise.
28698         * sunrpc/pm_getport.c: Likewise.
28699         * sunrpc/pmap_clnt.c: Likewise.
28700         * sunrpc/pmap_prot.c: Likewise.
28701         * sunrpc/pmap_prot2.c: Likewise.
28702         * sunrpc/pmap_rmt.c: Likewise.
28703         * sunrpc/publickey.c: Likewise.
28704         * sunrpc/rpc_cmsg.c: Likewise.
28705         * sunrpc/rpc_common.c: Likewise.
28706         * sunrpc/rpc_dtable.c: Likewise.
28707         * sunrpc/rpc_prot.c: Likewise.
28708         * sunrpc/rpc_thread.c: Likewise.
28709         * sunrpc/rtime.c: Likewise.
28710         * sunrpc/svc.c: Likewise.
28711         * sunrpc/svc_auth.c: Likewise.
28712         * sunrpc/svc_raw.c: Likewise.
28713         * sunrpc/svc_run.c: Likewise.
28714         * sunrpc/svc_tcp.c: Likewise.
28715         * sunrpc/svc_udp.c: Likewise.
28716         * sunrpc/svc_unix.c: Likewise.
28717         * sunrpc/svcauth_des.c: Likewise.
28718         * sunrpc/xcrypt.c: Likewise.
28719         * sunrpc/xdr.c: Likewise.
28720         * sunrpc/xdr_array.c: Likewise.
28721         * sunrpc/xdr_float.c: Likewise.
28722         * sunrpc/xdr_intXX_t.c: Likewise.
28723         * sunrpc/xdr_mem.c: Likewise.
28724         * sunrpc/xdr_rec.c: Likewise.
28725         * sunrpc/xdr_ref.c: Likewise.
28726         * sunrpc/xdr_sizeof.c: Likewise.
28727         * sunrpc/xdr_stdio.c: Likewise.
28729 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28731         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28732         change.  Update copyright years.
28734 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
28736         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28738 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
28739             Joseph Myers  <joseph@codesourcery.com>
28740             Paul Pluzhnikov  <ppluzhnikov@google.com>
28742         [BZ #14012]
28743         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28744         requiring rpcgen.
28745         [cross-compiling] (extra-libs): Likewise.
28746         [cross-compiling] (extra-libs-others): Likewise.
28747         [cross-compiling] (librpcsvc-routines): Likewise.
28748         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28749         [cross-compiling] (omit-deps): Likewise.
28750         (sunrpc-CPPFLAGS): New variable.
28751         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28752         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28753         (cross-rpcgen-objs): New variable.
28754         (extra-objs): Append $(cross-rpcgen-objs).
28755         ($(cross-rpcgen-objs)): New rule.
28756         ($(objpfx)cross-rpcgen): Likewise.
28757         (rpcgen-cmd): Define to use $(built-program-file).  Expand
28758         comment.
28759         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28760         ($(objpfx)x%.stmp): Likewise.
28761         * sunrpc/proto.h [IS_IN_build] (_): Define.
28762         [IS_IN_build] (_libc_intl_domainname): Likewise.
28764 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28766         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28767         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28768         and R_X86_64_TPOFF64.
28770 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
28772         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28773         sysdeps/unix/sysv/syscalls.list.
28774         (stime): Likewise.
28775         (utime): Likewise.
28776         * sysdeps/unix/sysv/syscalls.list: Remove file.
28778 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
28780         [BZ #3440]
28781         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28782         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28783         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28784         (__LC_IDENTIFICATION): Make these macros useful in #if
28785         expressions, as required by C99.
28787 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
28789         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28790         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
28791         after this.
28793 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
28795         * stdlib/longlong.h: Updated from GCC.
28797 2012-05-09  Andreas Jaeger  <aj@suse.de>
28799         * nscd/nscd.c (run_modes): Make named enum, reorder so that
28800         default is first entry.
28801         (run_mode): Set type.
28802         (main): Remove informal message about syslog.
28803         (options): Fix typo.
28805         [BZ #14053]
28806         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
28807         to asm.
28808         (lrint): Likewise.
28809         (llrintf): Likewise.
28810         (llrint): Likewise.
28811         (rint): Likewise.
28812         (rintf): Likewise.
28813         (nearbyint): Likewise.
28814         (nearbyintf): Likewise.
28816 2012-05-09  Andreas Jaeger  <aj@suse.de>
28817             Pedro Alves  <palves@redhat.com>
28819         * nscd/nscd.c (run_mode): Use enum.
28820         (main): Cleanup coding style issue.
28822 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
28823             Andreas Jaeger  <aj@suse.de>
28825         * nscd/nscd.c (go_background): Replaced with...
28826         (run_mode): ... this.
28827         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
28828         (options): Add -F --foreground.
28829         (main): Implement it.
28830         (parse_opt): Parse it.
28832 2012-05-09  Andreas Jaeger  <aj@suse.de>
28834         [BZ #14083]
28835         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28836         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28837         -Wconversion warning.
28838         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28839         Likewise.
28841 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
28843         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
28844         == 0.
28845         (LC_ALL): Use macro-int-constant.
28846         (LC_COLLATE): Likewise.
28847         (LC_CTYPE): Likewise.
28848         (LC_MESSAGES): Likewise.
28849         (LC_MONETARY): Likewise.
28850         (LC_NUMERIC): Likewise.
28851         (LC_TIME): Likewise.
28852         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28853         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28854         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28855         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28856         Specify type.
28857         [C99-based standards] (float_t): Expect type.
28858         [C99-based standards] (double_t): Expect type.
28859         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
28860         type.
28861         [C99-based standards] (HUGE_VALL): Likewise.
28862         [C99-based standards] (INFINITY): Likewise.
28863         [C99-based standards] (NAN): Likewise.
28864         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28865         [C99-based standards] (FP_NAN): Likewise.
28866         [C99-based standards] (FP_NORMAL): Likewise.
28867         [C99-based standards] (FP_SUBNORMAL): Likewise.
28868         [C99-based standards] (FP_ZERO): Likewise.
28869         [C99-based standards] (FP_FAST_FMA): Use
28870         optional-macro-int-constant.  Specify type.  Require == 1.
28871         [C99-based standards] (FP_FAST_FMAF): Likewise.
28872         [C99-based standards] (FP_FAST_FMAL): Likewise.
28873         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28874         [C99-based standards] (FP_ILOGBNAN): Likewise.
28875         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28876         Specify type.
28877         [C99-based standards] (MATH_ERREXCEPT): Likewise.
28878         [C99-based standards] (math_errhandling): Specify type.
28879         [ISO99 || ISO11] (signgam): Do not allow.
28880         [non-C99-based standards] (copysignf): Do not allow.
28881         [non-C99-based standards] (exp2f): Likewise.
28882         [non-C99-based standards] (log2f): Likewise.
28883         [non-C99-based standards] (modff): Allow.
28884         [non-C99-based standards] (erff): Do not allow.
28885         [non-C99-based standards] (erfcf): Likewise.
28886         [non-C99-based standards] (gammaf): Likewise.
28887         [non-C99-based standards] (hypotf): Likewise.
28888         [non-C99-based standards] (j0f): Likewise.
28889         [non-C99-based standards] (j1f): Likewise.
28890         [non-C99-based standards] (jnf): Likewise.
28891         [non-C99-based standards] (lgammaf): Likewise.
28892         [non-C99-based standards] (tgammaf): Likewise.
28893         [non-C99-based standards] (y0f): Likewise.
28894         [non-C99-based standards] (y1f): Likewise.
28895         [non-C99-based standards] (ynf): Likewise.
28896         [non-C99-based standards] (isnanf): Likewise.
28897         [non-C99-based standards] (acoshf): Likewise.
28898         [non-C99-based standards] (asinhf): Likewise.
28899         [non-C99-based standards] (atanhf): Likewise.
28900         [non-C99-based standards] (cbrtf): Likewise.
28901         [non-C99-based standards] (expm1f): Likewise.
28902         [non-C99-based standards] (ilogbf): Likewise.
28903         [non-C99-based standards] (log1pf): Likewise.
28904         [non-C99-based standards] (logbf): Likewise.
28905         [non-C99-based standards] (nextafterf): Likewise.
28906         [non-C99-based standards] (remainderf): Likewise.
28907         [non-C99-based standards] (rintf): Likewise.
28908         [non-C99-based standards] (scalbf): Likewise.
28909         [non-C99-based standards] (copysignl): Likewise.
28910         [non-C99-based standards] (exp2l): Likewise.
28911         [non-C99-based standards] (log2l): Likewise.
28912         [non-C99-based standards] (modfl): Allow.
28913         [non-C99-based standards] (erfl): Do not allow.
28914         [non-C99-based standards] (erfcl): Likewise.
28915         [non-C99-based standards] (gammal): Likewise.
28916         [non-C99-based standards] (hypotl): Likewise.
28917         [non-C99-based standards] (j0l): Likewise.
28918         [non-C99-based standards] (j1l): Likewise.
28919         [non-C99-based standards] (jnl): Likewise.
28920         [non-C99-based standards] (lgammal): Likewise.
28921         [non-C99-based standards] (tgammal): Likewise.
28922         [non-C99-based standards] (y0l): Likewise.
28923         [non-C99-based standards] (y1l): Likewise.
28924         [non-C99-based standards] (ynl): Likewise.
28925         [non-C99-based standards] (isnanl): Likewise.
28926         [non-C99-based standards] (acoshl): Likewise.
28927         [non-C99-based standards] (asinhl): Likewise.
28928         [non-C99-based standards] (atanhl): Likewise.
28929         [non-C99-based standards] (cbrtl): Likewise.
28930         [non-C99-based standards] (expm1l): Likewise.
28931         [non-C99-based standards] (ilogbl): Likewise.
28932         [non-C99-based standards] (log1pl): Likewise.
28933         [non-C99-based standards] (logbl): Likewise.
28934         [non-C99-based standards] (nextafterl): Likewise.
28935         [non-C99-based standards] (remainderl): Likewise.
28936         [non-C99-based standards] (rintl): Likewise.
28937         [non-C99-based standards] (scalbl): Likewise.
28938         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28939         [non-C99-based standards] (FP_*): Do not allow.
28940         [C99-based standards] (FP_*): Change to
28941         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28942         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28943         allow.
28944         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28945         (SIG_ERR): Likewise.
28946         [X/Open-based standards] (SIG_HOLD): Likewise.
28947         (SIG_IGN): Likewise.
28948         (SIGABRT): Use macro-int-constant.  Specify type.  Require
28949         positive value.
28950         (SIGFPE): Likewise.
28951         (SIGILL): Likewise.
28952         (SIGINT): Likewise.
28953         (SIGSEGV): Likewise.
28954         (SIGTER): Likewise.
28955         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28956         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28957         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28958         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28959         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28960         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28961         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28962         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28963         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28964         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28965         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28966         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28967         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28968         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28969         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28970         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28971         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28972         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28973         [X/Open-based standards] (SIGTRAP): Likewise.
28974         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28975         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28976         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28977         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28978         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28979         allow.
28981 2012-05-08  Ian Wienand  <ianw@vmware.com>
28983         [BZ #14080]
28984         * time/tzset.c (__tzset_parse_tz): Update default rules for
28985         daylight time changes in the Energy Policy Act of 2005.
28987 2012-05-09  Andreas Jaeger  <aj@suse.de>
28989         [BZ #13983]
28990         * elf/ldconfig.c (parse_conf): Change string to make clear that
28991         ldconfig only issued a warning if ld.so.conf does not exist.
28993 2012-05-08  David S. Miller  <davem@davemloft.net>
28995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28996         movxtod instead of popping the value on the stack.
28998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29000 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
29002         * config.h.in: Add HAVE_ARM_PCS_VFP.
29004 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
29006         [BZ #13979]
29007         * include/features.h: Warn if user requests __FORTIFY_SOURCE
29008         checking but the checks are disabled for any reason.
29010 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
29012         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29013         and ELF64_R_TYPE with ELFW(R_TYPE).
29015 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
29017         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29018         (ulimit): Likewise.
29020         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29021         (settimeofday): Likewise.
29023 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
29025         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
29026         a struct th_u2 inside the union, and move tu_block/tu_code into
29027         a new th_u3 union of tu_block/tu_code inside of that.  Move
29028         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
29029         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
29030         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29031         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29032         (th_stuff): Change to th_u1.tu_stuff.
29033         (th_data): Define.
29034         (th_msg): Change to th_u1.th_u2.tu_data.
29036 2012-05-07  David S. Miller  <davem@davemloft.net>
29038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29040         [BZ #14074]
29041         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29042         (SETUP_PIC_REG): Use it.
29043         (SETUP_PIC_REG_LEAF): Use it.
29045 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
29047         [BZ #13885]
29048         [BZ #13923]
29049         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29050         USE_AS_EXPM1L.
29051         (EXPL_FINITE): Likewise.
29052         (FLDLOG): Likewise.
29053         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29054         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29055         e_expl.S.
29056         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29057         USE_AS_EXPM1L.
29058         (EXPL_FINITE): Likewise.
29059         (FLDLOG): Likewise.
29060         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29061         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29062         e_expl.S.
29063         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
29064         test of -max_value argument for long double.
29065         * sysdeps/i386/fpu/libm-test-ulps: Update.
29066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29068 2012-05-06  David S. Miller  <davem@davemloft.net>
29070         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29071         quad soft-float symbols whose references which are compiler
29072         generated.
29073         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29075 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
29077         [BZ #13884]
29078         [BZ #13914]
29079         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29080         USE_AS_EXP10L.
29081         (EXPL_FINITE): Likewise.
29082         (FLDLOG): Likewise.
29083         (c0): Likewise.
29084         (c1): Likewise.
29085         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29086         Adjust comments for base varying.
29087         (__expl_finite): Change alias to EXPL_FINITE.
29088         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29089         e_expl.S.
29090         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29091         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29092         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29093         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29094         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29095         USE_AS_EXP10L.
29096         (EXPL_FINITE): Likewise.
29097         (FLDLOG): Likewise.
29098         (c0): Likewise.
29099         (c1): Likewise.
29100         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
29101         Adjust comments for base varying.
29102         (__expl_finite): Change alias to EXPL_FINITE.
29103         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
29104         tests for bugs.
29105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29107         [BZ #14064]
29108         * math/libm-test.inc (check_float_internal): Correct ulp
29109         calculation for subnormal expected results.
29111 2012-05-06  Andreas Jaeger  <aj@suse.de>
29113         * Makeconfig (+math-flags): New, set to -frounding-math.
29114         (+cflags): Add +math-flags so that all of glibc gets compiled with
29115         it.
29117         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29119 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
29121         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29122         Disable one test.
29124         [BZ #13787]
29125         [BZ #13922]
29126         [BZ #14036]
29127         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29128         (__ieee754_expl): Allow for and saturate large arguments.
29129         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29130         (u_threshold): Likewise.
29131         (__exp): Call __ieee754_exp before checking for overflow and
29132         underflow.
29133         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29134         (u_threshold): Likewise.
29135         (__expf): Call __ieee754_expf before checking for overflow and
29136         underflow.
29137         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29138         (u_threshold): Likewise.
29139         (__expl): Call __ieee754_expl before checking for overflow and
29140         underflow.
29141         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29142         (__ieee754_expl): Allow for and saturate large arguments.
29143         * math/libm-test.inc (exp_test): Add another test.  Do not allow
29144         missing overflow exception on overflow.
29145         (expm1_test): Do not allow missing overflow exception on overflow.
29147         * sysdeps/i386/fpu/e_expl.c: Move to ...
29148         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
29149         rather than using inline asm.
29150         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29151         * sysdeps/x86_64/fpu/e_expl.S: Copy from
29152         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29154         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29155         (nice): Likewise.
29156         (poll): Likewise.
29157         (signal): Likewise.
29158         (time): Likewise.
29159         (times): Likewise.
29161 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29163         * sysdeps/unix/syscalls.list (adjtime): Add entry from
29164         sysdeps/unix/common/syscalls.list.
29165         (fchmod): Likewise.
29166         (fchown): Likewise.
29167         (ftruncate): Likewise.
29168         (getrusage): Likewise.
29169         (gettimeofday): Likewise.
29170         (setpgid): Likewise.
29171         (setregid): Likewise.
29172         (setreuid): Likewise.
29173         (sigaction): Likewise.
29174         (truncate): Likewise.
29175         (vhangup): Likewise.
29176         * sysdeps/unix/common/syscalls.list: Remove file.
29177         * sysdeps/unix/bsd/Implies: Don't include unix/common.
29178         * sysdeps/unix/sysv/linux/Implies: Likewise.
29180 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
29182         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29184         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29185         Moved to ...
29186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29187         Here.
29188         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29189         to ...
29190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29191         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29192         to ...
29193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29194         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29195         to ...
29196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29197         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29198         to ...
29199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29200         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29201         to ...
29202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29203         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29204         to ...
29205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29206         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29207         to ...
29208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29209         Here.
29210         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29211         to ...
29212         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29213         Here.
29214         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29215         to ...
29216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29217         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29218         Moved to ...
29219         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29220         Here.
29221         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29222         to ...
29223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29225 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29227         * sysdeps/unix/common/bits/dirent.h: Remove file.
29228         * sysdeps/unix/common/bits/fcntl.h: Likewise.
29230         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29231         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29232         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29233         * sysdeps/unix/bsd/isatty.c: Likewise.
29234         * sysdeps/unix/bsd/tcdrain.c: Likewise.
29235         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29236         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29238 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29240         [BZ #13563]
29241         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29242         long double comparison inaccuracies.
29243         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29246 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
29248         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29249         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29251 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29253         [BZ #14049]
29254         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29255         nonzero digits before rounding a hex value.
29256         * stdlib/tst-strtod.c (tests): Add another test.
29258 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29260         * sysdeps/s390/fpu/libm-test-ulps: Update.
29262 2012-05-03  Andreas Jaeger  <aj@suse.de>
29264         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29265         does not get optimized out.
29266         (malloc_opt_barrier): New.
29268 2012-05-03  Andreas Jaeger  <aj@suse.de>
29269             Roland McGrath  <roland@hack.frob.com>
29271         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29272         intermediate file deletion.
29273         (generated): Add .symlist files.
29275 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
29277         [BZ #13775]
29278         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29279         Redirect under this condition.
29280         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29281         [__USE_GNU] (__dprintf_chk): Not under this condition.
29282         [__USE_GNU] (__vdprintf_chk): Likewise.
29283         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29284         under this condition.
29285         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29286         [__USE_XOPEN2K8] (dprintf): Define under this condition.
29287         [__USE_XOPEN2K8] (vdprintf): Likewise.
29288         [__USE_GNU] (__dprintf_chk): Not under this condition.
29289         [__USE_GNU] (__vdprintf_chk): Likewise.
29290         [__USE_GNU] (dprintf): Likewise.
29291         [__USE_GNU] (vdprintf): Likewise.
29293 2012-05-03  Roland McGrath  <roland@hack.frob.com>
29295         * elf/Makefile (common-generated): Set this instead of generated for
29296         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
29297         $(all-built-dso)-derived lists.
29299 2012-05-03  Andreas Jaeger  <aj@suse.de>
29301         * sysdeps/i386/fpu/libm-test-ulps: Update.
29303         * FAQ: Removed.
29304         * FAQ.in: Likewise.
29305         * scripts/gen-FAQ.pl: Likewise.
29306         * manual/install.texi (Installation): Point to online location of
29307         FAQ.
29308         * Makefile (files-for-dist): Remove FAQ.
29309         (FAQ): Remove.
29311 2012-05-02  Allan McRae  <allan@archlinux.org>
29313         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29314         (LDFLAGS-reldepmod5.so): Likewise.
29315         (LDFLAGS-reldep6mod1.so): Likewise.
29316         (LDFLAGS-reldep6mod4.so): Likewise.
29317         (LDFLAGS-reldep8mod3.so): Likewise.
29318         (LDFLAGS-unload4mod1.so): Likewise.
29319         (LDFLAGS-unload4mod2.so): Likewise.
29320         (LDFLAGS-tst-initorder): Likewise.
29321         (LDFLAGS-tst-initordera2.so): Likewise.
29322         (LDFLAGS-tst-initordera3.so): Likewise.
29323         (LDFLAGS-tst-initordera4.so): Likewise.
29324         (LDFLAGS-tst-initorderb2.so): Likewise.
29325         (LDFLAGS-noload): Likewise.
29326         (LDFLAGS-next): Likewise.
29327         (LDFLAGS-order2mod1.so): Likewise.
29328         (LDFLAGS-order2mod2.so): Likewise.
29329         (LDFLAGS-tst-initorder2): Likewise.
29330         (LDFLAGS-tst-initorder2a.so): Likewise.
29331         (LDFLAGS-tst-initorder2b.so): Likewise.
29332         (LDFLAGS-tst-initorder2c.so): Likewise.
29333         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29335 2012-05-02  David S. Miller  <davem@davemloft.net>
29337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29339 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29341         [BZ #14055]
29342         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29344 2012-05-02  Andreas Jaeger  <aj@suse.de>
29346         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29347         since we manipulate rounding mode.
29348         (CPPFLAGS-test-idouble.c): Likewise.
29349         (CPPFLAGS-test-ifloat.c): Likewise.
29350         (CFLAGS-test-ldouble.c): Likewise.
29351         (CFLAGS-test-double.c): Likewise.
29352         (CFLAGS-test-float.c): Likewise.
29353         (CFLAGS-test-misc.c): Likewise.
29354         (CFLAGS-test-test-fenv.c): Likewise.
29356 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29358         [BZ #2550]
29359         [BZ #2570]
29360         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29361         comparisons to determine direction to adjust input.
29363 2012-05-01  Roland McGrath  <roland@hack.frob.com>
29365         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29366         output to the target.
29368         * scripts/localplt.awk: New file.
29369         * elf/Makefile ($(objpfx)check-localplt): Target removed.
29370         (check-localplt-CFLAGS): Variable removed.
29371         ($(all-built-dso:=.jmprel)): New static pattern rule.
29372         (generated): Add those targets.
29373         (localplt-built-dso): New variable.
29374         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29376         * elf/check-localplt.c: File removed.
29378         * scripts/check-execstack.awk: New file.
29379         * elf/Makefile ($(objpfx)check-execstack): Target removed.
29380         (check-execstack-CFLAGS): Variable removed.
29381         ($(objpfx)check-execstack.h): Target removed.
29382         ($(objpfx)execstack-default): New target.
29383         (generated): Add that instead of check-execstack.h.
29384         ($(all-built-dso:=.phdr)): New static pattern rule.
29385         (generated): Add those targets.
29386         * elf/check-execstack.c: File removed.
29388         * scripts/check-textrel.awk: New file.
29389         * elf/Makefile ($(objpfx)check-textrel): Target removed.
29390         (check-textrel-CFLAGS): Variable removed.
29391         (all-built-dso): Use := to define.o
29392         ($(all-built-dso:=.dyn)): New static pattern rule.
29393         (generated): Add those targets.
29394         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29395         * config.make.in (READELF): New substituted variable.
29396         * elf/check-textrel.c: File removed.
29398 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29400         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29401         allow.
29402         * conform/data/ctype.h-data [C99-based standards] (isblank):
29403         Expect function.
29404         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29405         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29406         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29407         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29408         Specify type.  Require positive value.
29409         (EILSEQ): Likewise.
29410         (ERANGE): Likewise.
29411         [ISO || POSIX] (EILSEQ): Do not expect.
29412         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29413         Specify type.  Require positive value.
29414         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29415         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29416         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29417         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29418         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29419         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29420         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29421         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29422         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29423         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29424         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29425         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29426         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29427         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29428         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29429         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29430         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29431         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29432         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29433         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29434         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29435         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29436         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29437         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29438         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29439         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29440         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29441         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29442         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29443         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29444         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29445         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29446         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29447         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29448         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29449         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29450         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29451         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29452         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29453         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29454         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29455         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29456         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29457         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29458         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29459         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29460         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29461         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29462         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29463         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29464         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29465         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29466         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29467         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29468         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29469         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29470         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29471         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29472         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29473         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29474         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29475         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29476         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29477         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29478         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29479         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29480         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29481         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29482         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29483         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29484         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29485         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29486         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29487         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29488         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29489         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29490         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29491         Require >= 2.
29492         (FLT_ROUNDS): Expect as macro, not constant.
29493         (FLT_MANT_DIG): Use macro-int-constant.
29494         (DBL_MANT_DIG): Likewise.
29495         (LDBL_MANT_DIG): Likewise.
29496         (FLT_DIG): Likewise.
29497         (DBL_DIG): Likewise.
29498         (LDBL_DIG): Likewise.
29499         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
29500         (DBL_MIN_EXP): Likewise.
29501         (LDBL_MIN_EXP): Likewise.
29502         (FLT_MAX_EXP): Use macro-int-constant.
29503         (DBL_MAX_EXP): Likewise.
29504         (LDBL_MAX_EXP): Likewise.
29505         (FLT_MAX_10_EXP): Likewise.
29506         (DBL_MAX_10_EXP): Likewise.
29507         (LDBL_MAX_10_EXP): Likewise.
29508         (FLT_MAX): Use macro-constant.
29509         (DBL_MAX): Likewise.
29510         (LDBL_MAX): Likewise.
29511         (FLT_EPSILON): Use macro-constant.  Give upper bound.
29512         (DBL_EPSILON): Likewise.
29513         (LDBL_EPSILON): Likewise.
29514         (FLT_MIN): Likewise.
29515         (DBL_MIN): Likewise.
29516         (LDBL_MIN): Likewise.
29517         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29518         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29519         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29520         [ISO11] (FLT_HAS_SUBNORM): Likewise.
29521         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29522         [ISO11] (DBL_DECIMAL_DIG): Likewise.
29523         [ISO11] (FLT_DECIMAL_DIG): Likewise.
29524         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29525         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29526         [ISO11] (FLT_TRUE_MIN): Likewise.
29527         [ISO11] (LDBL_TRUE_MIN): Likewise.
29528         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29529         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29530         (SCHAR_MIN): Use macro-int-constant.  Specify type.
29531         (SCHAR_MAX): Likewise.
29532         (UCHAR_MAX): Likewise.
29533         (CHAR_MIN): Likewise.
29534         (CHAR_MAX): Likewise.
29535         (MB_LEN_MAX): Use macro-int-constant.
29536         (SHRT_MIN): Use macro-int-constant.  Specify type.
29537         (SHRT_MAX): Likewise.
29538         (USHRT_MAX): Likewise.
29539         (INT_MAX): Likewise.
29540         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
29541         bound negative.
29542         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29543         bound with "U".
29544         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29545         bound with "L".
29546         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
29547         bound negative.  Suffix upper bound with "L".
29548         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29549         bound with "UL".
29550         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29551         Specify type.
29552         [C99-based standards] (LLONG_MAX): Likewise.
29553         [C99-based standards] (ULLONG_MAX): Likewise.
29554         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
29555         == 0.
29556         [ISO11] (max_align_t): Require type.
29557         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29559         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29560         from $CFLAGS, without defining away __attribute__ calls.
29561         (checknamespace): Use $CFLAGS_namespace.
29563         * conform/conformtest.pl (@keywords): Only include C99 keywords
29564         for standards based on C99 or C11.
29566         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29567         Disable tests.
29568         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29569         UNIX98]: Likewise.
29571         * conform/conformtest.pl: Handle "macro-int-constant" and test for
29572         usability of symbols in #if.
29574         * conform/conformtest.pl: If macro or constant types start
29575         "promoted:", expect the symbol to be of the following type
29576         promoted by the integer promotions.
29578         * conform/conformtest.pl: Parse all "constant" and "macro" lines
29579         in one place.  Also handle "macro-constant".
29581         * conform/conformtest.pl: Only accept expected macro values with
29582         "==".  Parse all "macro" lines in one place.
29583         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29585         * conform/conformtest.pl: Handle braced types on "constant" lines
29586         instead of handling "typed-constant".
29587         * conform/data/signal.h-data: Use "constant" instead of
29588         "typed-constant".
29590         * conform/conformtest.pl: Handle "optional-" at start of lines in
29591         one place rather than duplicating several cases.  Handle each
29592         format of "macro" line with initial "optional-".
29594         * conform/conformtest.pl: Only accept expected constant or
29595         optional-constant values with "==".  Parse all "constant" lines in
29596         one place.  Parse all "optional-constant" lines in one place.
29597         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29598         * conform/data/fmtmsg.h-data: Likewise.
29599         * conform/data/netinet/in.h-data: Likewise.
29600         * conform/data/tar.h-data: Likewise.
29601         * conform/data/limits.h-data: Use "==" form on "constant" and
29602         "optional-constant" lines.
29604         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29605         Use -std=c99 for XOPEN2K.
29606         (@knownproblems): Remove.
29607         (newtoken): Don't check %isknown.
29609         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29610         Do not expect macro.
29611         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29612         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29613         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29614         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29615         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29616         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29617         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29618         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29619         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29620         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29621         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29622         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29623         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29624         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29625         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29626         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29627         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29628         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29629         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29630         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29631         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29632         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29633         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29634         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29635         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29636         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29637         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29638         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29639         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29640         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29641         [XPG3] (acosh): Likewise.
29642         [XPG3] (asinh): Likewise.
29643         [XPG3] (atanh): Likewise.
29644         [XPG3] (cbrt): Likewise.
29645         [XPG3] (expm1): Likewise.
29646         [XPG3] (ilogb): Likewise.
29647         [XPG3] (log1p): Likewise.
29648         [XPG3] (logb): Likewise.
29649         [XPG3] (nextafter): Likewise.
29650         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29651         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29652         [XPG3] (remainder): Likewise.
29653         [XPG3] (rint): Likewise.
29654         [XPG3 || XPG4 || UNIX98] (round): Likewise.
29655         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29656         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29657         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29658         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29659         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29660         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29661         [UNIX98 || XOPEN2K] (scalb): Expect.
29662         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29663         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29664         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29665         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29666         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29667         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29668         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29669         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29670         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29671         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29672         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29673         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29674         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29675         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29676         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29677         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29678         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29679         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29680         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29681         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29682         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29683         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29684         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29685         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29686         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29687         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29688         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29689         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29690         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29691         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29692         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29693         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29694         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29695         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29696         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29697         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29698         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29699         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29700         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29701         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29702         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29703         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29704         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29705         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29706         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29707         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29708         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29709         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29710         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29711         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29712         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29713         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29714         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29715         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29716         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29717         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29718         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29719         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29720         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29721         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29722         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29723         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29724         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29725         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29726         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29727         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29728         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29729         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29730         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29731         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29732         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29733         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29734         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29735         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29736         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29737         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29738         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29739         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29740         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29741         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29742         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29743         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29744         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29745         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29746         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29747         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29748         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29749         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29750         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29751         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29752         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29753         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29754         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29755         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29756         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29757         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29758         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29759         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29760         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29761         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29762         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29763         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29764         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29765         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29766         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29767         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29768         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29769         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29770         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29771         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29772         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29773         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29774         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29775         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29776         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29777         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29778         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29779         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29780         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29781         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29782         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29783         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29784         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29785         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29786         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29787         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29788         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29789         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29790         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29791         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29792         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29793         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29794         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29795         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29796         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29797         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29798         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29800         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29801         _XOPEN_SOURCE_EXTENDED for XPG4.
29803         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29805         * Makeconfig (localtime): Remove variable.
29806         (inst_localtime-file): Likewise.
29808 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29811         Update.
29812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29813         Update.
29814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29815         Update.
29816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29817         Update.
29818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29819         Update.
29820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29821         Update.
29822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29823         Update.
29824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29825         Update.
29826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29827         Update.
29829 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29831         [BZ #2550]
29832         [BZ #2570]
29833         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29834         comparisons to determine direction to adjust input.
29835         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29836         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29837         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29838         Likewise.
29839         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29840         Likewise.
29841         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29842         Likewise.
29843         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29844         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29845         Likewise.
29846         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29847         Likewise.
29848         * math/libm-test.inc (nexttoward_test): Add more tests.
29850 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29852         [BZ #14040]
29853         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29854         in version GLIBC_2.1, not GLIBC_2.0.
29855         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29856         Likewise.
29858 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
29860         [BZ #13942]
29861         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29862         (1 - x) * (1 + x).
29863         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29864         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29865         * math/libm-test.inc (acos_test): Add more tests.
29866         (asin_test): Likewise.
29867         * sysdeps/i386/fpu/libm-test-ulps: Update.
29868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29870         [BZ #14034]
29871         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29872         of square root.
29873         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29874         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29875         * math/libm-test.inc (acos_test_tonearest): New function.
29876         (acos_test_towardzero): Likewise.
29877         (acos_test_downward): Likewise.
29878         (acos_test_upward): Likewise.
29879         (asin_test_tonearest): Likewise.
29880         (asin_test_towardzero): Likewise.
29881         (asin_test_downward): Likewise.
29882         (asin_test_upward): Likewise.
29883         (main): Call the new functions.
29884         * sysdeps/i386/fpu/libm-test-ulps: Update.
29885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29887         [BZ #13884]
29888         [BZ #13924]
29889         * math/e_exp10.c: Include <float.h>.
29890         (__ieee754_exp10): Handle underflow here rather than multiplying
29891         large negative argument by M_LN10.
29892         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29893         of __ieee754_expf.
29894         * math/e_exp10l.c: Include <float.h>.
29895         (__ieee754_exp10l): Handle underflow here rather than multiplying
29896         large negative argument by M_LN10l.
29897         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
29898         spurious overflow exception on underflow.
29900 2012-04-29  Marek Polacek  <polacek@redhat.com>
29902         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29903         (__fortify_function): New macro.
29904         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29905         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29906         __extern_always_inline.
29907         * libio/bits/stdio2.h: Likewise.
29908         * libio/bits/stdio.h: Likewise.
29909         * string/string.h: Likewise.
29910         * string/bits/string3.h: Likewise.
29911         * include/stdio.h: Likewise.
29912         * stdlib/bits/stdlib.h: Likewise.
29913         * stdlib/stdlib.h: Likewise.
29914         * rt/bits/mqueue2.h: Likewise.
29915         * rt/mqueue.h: Likewise.
29916         * posix/bits/unistd.h: Likewise.
29917         * posix/unistd.h: Likewise.
29918         * io/bits/poll2.h: Likewise.
29919         * io/bits/fcntl2.h: Likewise.
29920         * io/fcntl.h: Likewise.
29921         * io/sys/poll.h: Likewise.
29922         * misc/bits/syslog.h: Likewise.
29923         * misc/bits/syslog-ldbl.h: Likewise.
29924         * misc/sys/syslog.h: Likewise.
29925         * socket/bits/socket2.h: Likewise.
29926         * socket/sys/socket.h: Likewise.
29927         * debug/tst-chk1.c: Likewise.
29928         * wcsmbs/bits/wchar2.h: Likewise.
29929         * wcsmbs/bits/wchar-ldbl.h: Likewise.
29930         * wcsmbs/wchar.h: Likewise.
29932 2012-04-29  Andreas Jaeger  <aj@suse.de>
29934         * Makerules (tests): Remove enable-check-abi protection.
29935         (check-abi-warn): Remove.
29936         (check-abi-%): Remove check-abi-warn usage.
29938         * configure.in: Remove check-abi configure option.
29939         * configure: Regenerated.
29940         * config.make.in (enable-check-abi): Remove.
29942 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
29944         [BZ #14033]
29945         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29946         double functions to double *_finite functions.
29948         [BZ #13941]
29949         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29950         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29951         LDBL_MIN_EXP.
29952         * stdio-common/Makefile (tests): Add tst-sprintf3.
29953         * stdio-common/tst-sprintf3.c: New file.
29955         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29956         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29958 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29960         * conform/conformtest.pl: Remove duplicate typed-constant
29961         handling.
29963 2012-04-28  David S. Miller  <davem@davemloft.net>
29965         * Makerules (%.abilist): Add vpath on sysdep_dirs.
29966         (check-abi-%): Remove AWK script prerequisite and explicit
29967         abilist directory.
29968         (check-abi): Rewrite to just diff the symlist with the abilist.
29969         (config-tls, config-abi-config): Delete, no longer used.
29970         (update-abi-%): Remove AWK script and explicit abilist directory.
29971         (update-abi): Rewrite to simply compare and conditionally copy the
29972         symlist and the sysdep abilist file.  Remove update-abi-config
29973         checks.
29974         * abilist/ld.abilist: Remove.
29975         * abilist/libBrokenLocale.abilist: Remove.
29976         * abilist/libanl.abilist: Remove.
29977         * abilist/libcrypt.abilist: Remove.
29978         * abilist/libdl.abilist: Remove.
29979         * abilist/librt.abilist: Remove.
29980         * abilist/libthread_db.abilist: Remove.
29981         * abilist/libutil.abilist: Remove.
29982         * scripts/extract-abilist.awk: Remove.
29983         * scripts/merge-abilist.awk: Remove.
29984         * sysdeps/generic/libcidn.abilist: New file.
29985         * sysdeps/generic/libnss_compat.abilist: New file.
29986         * sysdeps/generic/libnss_db.abilist: New file.
29987         * sysdeps/generic/libnss_dns.abilist: New file.
29988         * sysdeps/generic/libnss_files.abilist: New file.
29989         * sysdeps/generic/libnss_hesiod.abilist: New file.
29990         * sysdeps/generic/libnss_nis.abilist: New file.
29991         * sysdeps/generic/libnss_nisplus.abilist: New file.
29992         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29993         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29994         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29995         file.
29996         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29997         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29998         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29999         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30000         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30001         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30002         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30003         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30004         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30005         file.
30006         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30007         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30008         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30009         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30010         file.
30011         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30012         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30013         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30014         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30015         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30016         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30017         file.
30018         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30019         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30020         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30021         file.
30022         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30023         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30024         New file.
30025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30026         New file.
30027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30028         New file.
30029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30030         New file.
30031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30032         New file.
30033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30034         New file.
30035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30036         New file.
30037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30038         New file.
30039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30040         New file.
30041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30042         New file.
30043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30044         New file.
30045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30046         New file.
30047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30048         New file.
30049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30050         file.
30051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30052         New file.
30053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30054         New file.
30055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30056         file.
30057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30058         New file.
30059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30060         New file.
30061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30062         file.
30063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30064         New file.
30065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30066         New file.
30067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30068         New file.
30069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30070         New file.
30071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30072         New file.
30073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30074         New file.
30075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30077         file.
30078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30079         New file.
30080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30081         file.
30082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30083         file.
30084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30085         file.
30086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30087         file.
30088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30089         file.
30090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30091         New file.
30092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30093         file.
30094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30095         file.
30096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30097         New file.
30098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30099         file.
30100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30102         file.
30103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30104         New file.
30105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30106         file.
30107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30108         file.
30109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30110         file.
30111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30112         file.
30113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30114         file.
30115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30116         New file.
30117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30118         file.
30119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30120         file.
30121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30122         New file.
30123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30124         file.
30125         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30126         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30127         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30128         file.
30129         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30130         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30131         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30132         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30133         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30134         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30135         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30136         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30137         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30138         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30140         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30141         file.
30142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30143         New file.
30144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30145         file.
30146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30147         file.
30148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30149         file.
30150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30151         file.
30152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30153         file.
30154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30155         New file.
30156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30157         New file.
30158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30159         file.
30160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30161         New file.
30162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30163         file.
30164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30166         file.
30167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30168         New file.
30169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30170         file.
30171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30172         file.
30173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30174         file.
30175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30176         file.
30177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30178         file.
30179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30180         New file.
30181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30182         New file.
30183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30184         file.
30185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30186         New file.
30187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30188         file.
30190 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30192         * conform/conformtest.pl: Fix typo in handling typed-constant from
30193         allow-header.
30195 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30197         * README: Cut down references to pre-2.6 Linux kernels and
30198         Linuxthreads.  Update lists of configurations in libc and ports
30199         and sort alphabetically.  Say "or newer" with Linux kernel version
30200         requirements.
30202         * config.h.in [IS_IN_build]: Allow compiling without optimization.
30204 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30206         [BZ #887]
30207         * math/libm-test.inc (logb_test_downward): New test to expose
30208         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30209         rounding mode.
30211 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30213         [BZ #14027]
30214         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30215         to be done.
30216         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30217         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30219 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
30221         * sysdeps/unix/i386/brk.S: Remove file.
30222         * sysdeps/unix/i386/dl-brk.S: Likewise.
30223         * sysdeps/unix/i386/pipe.S: Likewise.
30224         * sysdeps/unix/i386/sigreturn.S: Likewise.
30225         * sysdeps/unix/i386/syscall.S: Likewise.
30226         * sysdeps/unix/i386/vfork.S: Likewise.
30227         * sysdeps/unix/i386/wait.S: Likewise.
30229         * sysdeps/unix/common/tcsendbrk.c: Move to ...
30230         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30232         * configure.in (arm*-none*): Do not allow without
30233         --enable-hacker-mode.
30234         (netbsd*): Remove case setting base_os.
30235         (386bsd*): Likewise.
30236         (freebsd*): Likewise.
30237         (bsdi*): Likewise.
30238         (osf*): Likewise.
30239         (sunos*): Likewise.
30240         (ultrix*): Likewise.
30241         (newsos*): Likewise.
30242         (dynix*): Likewise.
30243         (*bsd*): Likewise.
30244         (sysv*): Likewise.
30245         (isc*): Likewise.
30246         (esix*): Likewise.
30247         (sco*): Likewise.
30248         (minix*): Likewise.
30249         (irix4*): Likewise.
30250         (irix6*): Likewise.
30251         (solaris[2-9]*): Likewise.
30252         (none): Likewise.
30253         * configure: Regenerated.
30255 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30257         [BZ #11521]
30258         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30259         overflow or cancellation in calculating denominator.
30260         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30261         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30262         down expression to avoid unexpected rounding in newer GCCs.
30263         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30265 2012-04-26  David S. Miller  <davem@davemloft.net>
30267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30268         long-double compat symbols.
30269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30283 2012-04-25  David S. Miller  <davem@davemloft.net>
30285         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30286         HWCAP_* values only after the memory barriers have been defined.
30287         (atomic_full_barrier): Define.
30288         (atomic_read_barrier): Define.
30289         (atomic_write_barrier): Define.
30291 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30293         * shlib-versions: Add libgcc_s version information.
30294         * sysdeps/generic/libgcc_s.h: Remove.
30295         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30296         libgcc_s.h.
30297         * sysdeps/gnu/unwind-resume.c: Likewise.
30298         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30300 2012-04-25  David S. Miller  <davem@davemloft.net>
30302         * sysdeps/unix/sparc/brk.S: Delete.
30303         * sysdeps/unix/sparc/dl-brk.S: Delete.
30304         * sysdeps/unix/sparc/pipe.S: Delete.
30305         * sysdeps/unix/sparc/sysdep.S: Delete.
30306         * sysdeps/unix/sparc/sysdep.h: Delete.
30307         * sysdeps/unix/sparc/vfork.S: Delete.
30308         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30309         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30310         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30311         ret_ERRVAL, r0, r1, MOVE): Define.
30312         (JUMPTARGET): Remove.
30313         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30314         sysdeps/unix/sparc/sysdep.h
30315         (ENTRY, END): Remove.
30316         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30318 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
30320         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30321         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30322         -DIS_IN_build.
30324         * timezone/README: Update upstream location and email address for
30325         tzcode and tzdata.
30326         * timezone/zdump.c: Update from tzcode 2012b.
30327         * timezone/zic.c: Likewise.
30329         * configure.in (libc_cv_as_needed): Remove test.
30330         * configure: Regenerated.
30331         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30332         conditional definition.
30333         [$(have-as-needed) != yes] (no-as-needed): Likewise.
30334         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30335         * config.make.in (have-as-needed): Remove variable.
30337 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30338             Paul Pluzhnikov  <ppluzhnikov@google.com>
30340         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30341         strings correctly.
30343 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
30345         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30346         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30347         * sysdeps/sh/strlen.S: Likewise.
30349 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30351         * sysdeps/unix/fork.S: Remove file.
30352         * sysdeps/unix/i386/fork.S: Likewise.
30353         * sysdeps/unix/sparc/fork.S: Likewise.
30355         * sysdeps/unix/system.c: Remove file.
30356         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30358         * sysdeps/unix/getegid.S: Remove file.
30359         * sysdeps/unix/geteuid.S: Likewise.
30361 2012-04-24  Roland McGrath  <roland@hack.frob.com>
30363         * scripts/check-localplt.awk: New file.
30364         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30365         of diff.
30366         * scripts/data/localplt-generic.data: Add a comment.
30368         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30369         NODE when __dir_mkfile failed.
30370         * sysdeps/mach/hurd/symlinkat.c: Likewise.
30371         Reported by Ludovic Courtès <ludo@gnu.org>.
30373 2012-04-24  Andreas Jaeger  <aj@suse.de>
30375         * Makerules (common-clean): Also remove gen-as-const-headers
30376         files.
30378 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30380         * Makerules (native-compile): Do not change working directory for
30381         build.  Use $(OUTPUT_OPTION) in command.
30382         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30384 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30386         [BZ #13886]
30387         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30388         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30389         * math/libm-test.inc (floor_test): Add more tests.
30390         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30392 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30394         * sysdeps/unix/getdents.c: Remove file.
30395         * sysdeps/unix/sysv/getdents.c: Likewise.
30396         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30398         * sysdeps/unix/syscalls.list (madvise): Add syscall from
30399         sysdeps/unix/mman/syscalls.list.
30400         (mmap): Likewise.
30401         (mprotect): Likewise.
30402         (msync): Likewise.
30403         (munmap): Likewise.
30404         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30405         * sysdeps/unix/mman/syscalls.list: Remove.
30406         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30408         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30409         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30410         * configure: Regenerated.
30411         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30412         $(libgcc_s_suffix).
30413         * config.make.in (libgcc_s_suffix): Remove variable.
30415 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
30417         * sysdeps/unix/sysv/gethostname.c: Move to ...
30418         * sysdeps/posix/gethostname.c: ... here.
30420         * sysdeps/unix/execve.S: Remove file.
30422         * sysdeps/unix/_exit.S: Remove file.
30424 2012-04-23  Andreas Jaeger  <aj@suse.de>
30426         [BZ #13739]
30427         * manual/Makefile: Remove make dist support, there's no
30428         need for a stand-alone documentation tar ball.
30429         (TEXI2DVI): Define always, it's not in Makeconfig.
30430         (dist): Removed.
30431         (tar-it): Removed.
30432         (edition): Removed.
30433         (glibc-doc-$(edition).tar): Removed
30434         (%.Z): Removed.
30435         (%.gz): Removed.
30436         (%.uu): Removed.
30437         (ETAGS): Remove, it's in Makeconfig.
30438         (move-if-change): Remove, it's in Makeconfig.
30440 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
30442         [BZ #13970]
30443         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30444         (strtod, strtof, strtold, strtol, strtoul, strtoq)
30445         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30446         (strtod_l, strtof_l, strtold_l): Remove __wur.
30447         It is not necessarily an error to ignore strtol's return value.
30448         One can reliably look at the stored endptr to decide whether
30449         the number had valid syntax.
30451 2012-04-21  Andreas Jaeger  <aj@suse.de>
30453         [BZ #13739]
30454         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30456 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
30458         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30459         * sysdeps/unix/sysv/Versions: Remove file.
30461 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
30463         [BZ #13927]
30464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30466 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
30468         [BZ #7064]
30469         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30470         version from __vm86.
30472 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
30474         * sysdeps/unix/common/lxstat.c: Remove file.
30475         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30477         * sysdeps/unix/sysv/Makefile: Remove file.
30479         * sysdeps/unix/sysv/direct.h: Remove file.
30481         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30482         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30483         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30484         * sysdeps/unix/sysv/bits/signum.h: Likewise.
30485         * sysdeps/unix/sysv/bits/stat.h: Likewise.
30486         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30487         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30489         * sysdeps/unix/sysv/setrlimit.c: Remove file.
30491         * sysdeps/unix/xmknod.c: Remove file.
30492         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30494         * sysdeps/unix/sysv/settimeofday.c: Remove file.
30496         * sysdeps/unix/sysv/i386/time.S: Remove file.
30498         * sysdeps/unix/fxstat.c: Remove file.
30499         * sysdeps/unix/xstat.c: Likewise.
30500         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30502         * sysdeps/unix/sysv/sigaction.c: Remove file.
30504         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30505         (sysdep_headers): Remove variable.
30506         [termio.h not in sysdep_headers] (generated): Likewise.
30507         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30508         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30509         * sysdeps/unix/sysv/tcdrain.c: Likewise.
30510         * sysdeps/unix/sysv/tcflow.c: Likewise.
30511         * sysdeps/unix/sysv/tcflush.c: Likewise.
30512         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30513         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30514         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30515         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30516         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30518         * sysdeps/unix/siglist.c: Remove file.
30520         * sysdeps/unix/getppid.S: Remove file.
30522         * sysdeps/unix/mkdir.c: Remove file.
30523         * sysdeps/unix/rmdir.c: Likewise.
30525 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
30527         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30528         ERR_MAX value.
30529         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30530         errlist-compat value.
30532 2012-04-18  David S. Miller  <davem@davemloft.net>
30534         * sysdeps/generic/memcopy.h (reg_char): Delete.
30535         * debug/strcat_chk.c: Use char, not reg_char.
30536         * debug/strcpy_chk.c: Likewise.
30537         * debug/strncat_chk.c: Likewise.
30538         * debug/strncpy_chk.c: Likewise.
30539         * string/memchr.c: Likewise.
30540         * string/memrchr.c: Likewise.
30541         * string/rawmemchr.c: Likewise.
30542         * string/strcat.c: Likewise.
30543         * string/strchr.c: Likewise.
30544         * string/strchrnul.c: Likewise.
30545         * string/strcmp.c: Likewise.
30546         * string/strcpy.c: Likewise.
30547         * string/strncat.c: Likewise.
30548         * string/strncmp.c: Likewise.
30549         * string/strncpy.c: Likewise.
30551 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30553         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30554         __builtin_memcopy is called when src and dest ranges are known to not
30555         overlap.
30557 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30559         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30560         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30561         fwd_align_merge macro call.
30562         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30563         bwd_align_merge macro call.
30564         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30566 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30568         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30569         bwd_align_merge macros.
30570         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30571         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30572         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30574 2012-04-18  David S. Miller  <davem@davemloft.net>
30576         * sysdeps/sparc/sparc64/memcopy.h: Delete.
30578 2012-04-18  Andreas Jaeger  <aj@suse.de>
30580         [BZ# 6794]
30581         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30582         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30583         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30585         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30586         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30587         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30589         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30590         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30591         Adjust for changed ldbl-128 files.
30593         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30594         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30595         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30597 2012-04-17  David S. Miller  <davem@davemloft.net>
30599         * sysdeps/sparc/sparc32/memcopy.h: Delete.
30601 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
30603         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30604         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30605         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30606         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30607         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30608         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30610 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30612         [BZ #6794]
30613         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30614         * math/libm-test.inc: Add ilogb errno and exception tests.
30615         * math/w_ilogb.c: New file: ilogb wrapper.
30616         * math/w_ilogbf.c: New file: ilogbf wrapper.
30617         * math/w_ilogbl.c: New file: ilogbl wrapper.
30618         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30619         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30620         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30621         exception being thrown with 0.0 as argument.
30622         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30623         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30624         exception being thrown with 0.0 as argument.
30625         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30626         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30627         exception being thrown with 0.0 as argument.
30628         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30629         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30630         exception being thrown with 0.0 as argument.
30631         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30632         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30633         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30634         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30635         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30636         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30637         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30638         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30639         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30641 2012-04-17  Petr Baudis  <pasky@ucw.cz>
30643         * include/sys/uio.h: Change __vector to __iovec to avoid clash
30644         with altivec.
30646 2012-04-16  Marek Polacek  <polacek@redhat.com>
30648         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30650 2012-04-16  Marek Polacek  <polacek@redhat.com>
30652         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30653         operands of fdivp instruction.
30655 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30657         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30658         * elf/tst-auditmod3b.c: Likewise.
30659         * elf/tst-auditmod4b.c: Likewise.
30660         * elf/tst-auditmod5b.c: Likewise.
30661         * elf/tst-auditmod6b.c: Likewise.
30662         * elf/tst-auditmod6c.c: Likewise.
30663         * elf/tst-auditmod7b.c: Likewise.
30664         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30665         * sysdeps/x86_64/preconfigure.in: Likewise.
30666         * sysdeps/x86_64/preconfigure: Regenerated.
30668 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30670         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30671         __ILP32__.
30673 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
30675         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30676         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30678 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
30680         [BZ #13973]
30681         * locale/iso-639.def: Fix gl language name. Spotted by
30682         Yaron Shahrabani.
30684 2012-04-12  Roland McGrath  <roland@hack.frob.com>
30686         [BZ #2074]
30687         * libio/libio.h (__io_write_fn): Update comment.
30689 2012-04-12  Petr Baudis  <pasky@ucw.cz>
30691         [BZ #2074]
30692         * stdio.texi (Hook Functions): The user provided writer function
30693         is not allowed to return -1.
30695 2012-04-11  David S. Miller  <davem@davemloft.net>
30697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30699 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
30701         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30702         Add a leading slash to rtkaio.
30704 2012-04-11  Jim Meyering  <meyering@redhat.com>
30706         [BZ #11959]
30707         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30708         It is not necessarily an error to ignore fwrite's return
30709         value.  One can reliably use ferror to test for errors after
30710         the fact.
30712 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30714         * bits/types.h (__snseconds_t): New type.
30715         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30717         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30718         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30719         (__SNSECONDS_T_TYPE): Likewise.
30720         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30721         (__SNSECONDS_T_TYPE): Likewise.
30722         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30723         (__SNSECONDS_T_TYPE): Likewise.
30725 2012-04-10  Andreas Jaeger  <aj@suse.de>
30727         [BZ #2636]
30728         * manual/time.texi (Processor Time): Return type of times is
30729         elapsed real time since an arbitrary point in the past.
30730         (CPU Time): Move CLK_TCK from here...
30731         (Processor Time): ...to here.  Correct description.
30732         * manual/conf.texi (Constants for Sysconf): Correct description of
30733         _SC_CLK_TCK.
30735 2012-04-10  David S. Miller  <davem@davemloft.net>
30737         [BZ #13967]
30738         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30739         where the is a gap between DT_REL(A) and DT_JMPREL.
30741 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30743         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30744         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30745         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30747 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30749         * elf/dl-support.c (_dl_inhibit_cache): New variable.
30750         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30751         (dl_main): Handle --inhibit-cache.
30752         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30753         _dl_inhibit_cache.
30754         * elf/dl-load.c (_dl_map_object): Use it.
30755         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30757 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
30759         [BZ #13872]
30760         * sysdeps/i386/fpu/e_powl.S (p78): New object.
30761         (__ieee754_powl): Saturate large exponents rather than testing for
30762         overflow of y*log2(x).
30763         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30764         * math/libm-test.inc (pow_test): Do not permit spurious overflow
30765         exceptions.
30767         [BZ #11521]
30768         * math/s_ctan.c: Include <float.h>.
30769         (__ctan): Avoid internal overflow or cancellation in calculating
30770         denominator.
30771         * math/s_ctanf.c: Likewise.
30772         * math/s_ctanl.c: Likewise.
30773         * math/s_ctanh.c: Likewise.
30774         * math/s_ctanhf.c: Likewise.
30775         * math/s_ctanhl.c: Likewise.
30776         * math/libm-test.inc (ctan_test): Add more tests.
30777         (ctanh_test): Likewise.
30778         * sysdeps/i386/fpu/libm-test-ulps: Update.
30779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30781 2012-04-09  Andreas Jaeger  <aj@suse.de>
30783         [BZ #6894]
30784         * manual/filesys.texi (Directory Entries): Mention that d_namlen
30785         is an optional BSD extension.
30787         [BZ #10254]
30788         * manual/stdio.texi (Opening Streams): Document additional fopen
30789         parameters.
30791 2012-04-09  Roland McGrath  <roland@hack.frob.com>
30793         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30794         %eax without telling the compiler.
30796 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
30798         [BZ # 13963]
30799         * manual/install.texi: Use sourceware.org.
30801 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
30803         [BZ #13873]
30804         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30805         (__ieee754_pow): Generate overflow and underflow using huge*huge
30806         and tiny*tiny rather than just returning constant infinity or zero
30807         for large exponents.
30808         * math/libm-test.inc (pow_test): Require overflow exceptions for
30809         applicable cases of large exponents.
30811         [BZ #706]
30812         * sysdeps/i386/fpu/e_pow.S (p10): New object.
30813         (__ieee754_pow): Use iterative multiplication algorithm only for
30814         integer exponents with absolute value below 1024.  Check for odd
30815         integer exponents when using algorithm for real exponents.
30816         * math/libm-test.inc (pow_test): Add more tests.
30817         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30819 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
30821         [BZ #13705]
30822         * math/libm-test.inc (exp_test): Do not allow overflow exception
30823         on underflow test.
30825 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
30827         [BZ #13705]
30828         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30829         instead of __kernel_standard_f.
30831 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
30833         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30834         * sysdeps/x86_64/memset_chk.S: Likewise.
30836 2012-04-08  Andreas Jaeger  <aj@suse.de>
30838         [BZ #10153]
30839         * manual/startup.texi (Environment Access): Describe return value
30840         for putenv and setenv.
30842         [BZ #6895]
30843         * manual/filesys.texi (Directory Entries): Add description for
30844         DT_LNK.
30846         [BZ #6890]
30847         * manual/filesys.texi (Directory Entries): Clarify that it's file
30848         system not operating system in the description of DT_UNKNOWN.
30850         [BZ #6578]
30851         * manual/syslog.texi (closelog): Fix reference, it's openlog.
30853 2012-04-08  Stephen Compall  <s11@member.fsf.org>
30855         [BZ #6649]
30856         * manual/llio.texi (Opening and Closing Files): Add cross
30857         reference to explain mode argument.
30859 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
30861         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30862         * sysdeps/x86_64/memset_chk.S: Likewise.
30864 2012-04-07  David S. Miller  <davem@davemloft.net>
30866         * elf/elf.h (R_SPARC_WDISP10): Define.
30867         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30868         R_SPARC_SIZE32.
30869         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30870         R_SPARC_SIZE64 and R_SPARC_H34.
30872 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
30874         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30875         conditions and remove no longer applicable assertion.
30877 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30879         * bits/byteswap.h: Include <features.h>.
30880         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30881         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30883 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30885         * bits/byteswap.h (__bswap_16): Removed.
30886         Include <bits/byteswap-16.h> to get __bswap_16.
30887         * sysdeps/i386/bits/byteswap.h: Likewise.
30888         * sysdeps/s390/bits/byteswap.h: Likewise.
30889         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30890         * bits/byteswap-16.h: New file.
30891         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30892         * sysdeps/s390/bits/byteswap-16.h: Likewise.
30893         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30894         * string/Makefile (headers): Add bits/byteswap-16.h.
30896 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30898         [BZ #13895]
30899         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30900         extra indirection.
30901         * nss/Makefile (tests-static, tests): Add tst-nss-static.
30902         * nss/tst-nss-static.c: New.
30904 2012-04-06  Robert Millan  <rmh@gnu.org>
30906         [BZ #6486]
30907         * manual/llio.texi (File Position Primitive): lseek
30908         refers to WHENCE when it really means OFFSET.
30910 2012-04-06  Andreas Jaeger  <aj@suse.de>
30912         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30913         strncmp declarations.
30915         * abilist/libc.abilist: Add __poll and __ppoll.
30917 2012-04-05  David S. Miller  <davem@davemloft.net>
30919         * scripts/check-local-headers.sh: Accept a host triplet in the
30920         path matched by the exclude regexp.
30922         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30923         definition.
30924         * sysdeps/powerpc/powerpc32/dl-machine.h
30925         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30926         * sysdeps/s390/s390-32/dl-machine.h
30927         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30928         * sysdeps/sparc/sparc32/dl-machine.h
30929         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30930         * sysdeps/sparc/sparc64/dl-machine.h
30931         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30933         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30934         lazy binding.
30935         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30936         undefined symbol errors.
30938         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30939         DT_NEEDED entries.
30941 2012-04-05  Michael Matz  <matz@suse.de>
30943         [BZ #13592]
30944         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30946 2012-04-05  Andreas Jaeger  <aj@suse.de>
30948         [BZ #13908]
30949         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30950         comment.
30952 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30954         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30955         which ROUND is no valid rounding mode.
30957 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30959         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30960         read again.
30961         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30963 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30965         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30966         an exception using FPU order intentionally.
30968 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30970         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30971         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30972         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30973         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30975 2012-04-05  Simon Josefsson  <simon@josefsson.org>
30977         [BZ #12340]
30978         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30979         EINVAL when BUFLEN is too smal.
30981 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30983         [BZ #13553]
30984         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30985         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30987 2012-04-03  Andreas Jaeger  <aj@suse.de>
30989         [BZ #13938]
30990         * manual/setjmp.texi (System V contexts): Fix sentence.
30992         [BZ #13926]
30993         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30994         New macro for this case.
30995         [!__GNUC__] (__bswap_64): New inline function for this case.
30996         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30997         * bits/byteswap.h: Likewise.
30998         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30999         ull, guard with __GLIBC_HAVE_LONG_LONG.
31001         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31002         __GLIBC_HAVE_LONG_LONG.
31004         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31005         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31007 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31009         [BZ #13691]
31010         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31011         inptr and inend, rather than using last_ch.
31013 2012-04-02  David S. Miller  <davem@davemloft.net>
31015         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31016         * stdio-common/printf-parse.h (read_int): Change return type to
31017         'int', return -1 on INT_MAX overflow.
31018         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31019         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
31020         overflows INT_MAX.  Check for overflow of in-format-string precision
31021         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
31022         SIZE_MAX not INT_MAX for integer overflow test.
31023         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31024         skip the construct in the format string but do not record anything.
31025         * stdio-common/bug22.c: Adjust to test both width/prevision
31026         INT_MAX overflow as well as total length INT_MAX overflow.  Check
31027         explicitly for proper errno values.
31029 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
31031         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31032         CHAR_MAX.
31033         * string/test-strcmp.c [! WIDE]: Likewise.
31034         * time/tst-mktime2.c: Likewise for INT_MAX.
31035         * string/test-string.h: #include <sys/param.h> for MIN.
31037         * csu/init-first.c (__libc_init_first): Call __ctype_init.
31038         * sysdeps/i386/init-first.c (init): Likewise.
31039         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31040         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31041         * sysdeps/sh/init-first.c (init): Likewise.
31043 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
31045         * po/ru.po: Update from translation team.
31046         * po/vi.po: Likewise.
31048 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31050         * resolv/nss_dns/dns-host.c: Merge copyright years.
31052 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31054         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31055         Optimize memcpy with prefetch if
31056         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
31057         src, dst pointers have unequal 16 byte alignments.
31059 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31061         [BZ #13928]
31062         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31063         from a CNAME entry and return the minimum ttl for the query.
31064         (gaih_getanswer_slice): Likewise.
31066 2012-03-30  Jeff Law  <law@redhat.com>
31068         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31069         due to long keys.
31070         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31071         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31073         * resolv/nss_dns/dns-host.c: Update copyright year.
31075 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
31077         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31078         requests to save a system call.  Fix check that all bytes are sent.
31080         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31081         comments for sendmmsg.
31083 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31085         [BZ #13691]
31086         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31087         with only 1 character between 0x0041 and 0x01b0.
31088         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31089         * wcsmbs/tst-mbsnrtowcs.c: New file.
31091 2012-03-29  David S. Miller  <davem@davemloft.net>
31093         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31094         small copies by hand.
31096 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31098         [BZ #13761]
31099         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31100         _nss_compat_initgroups_dyn): Fall back to malloc/free
31101         for large group memberships.
31103 2012-03-28  David S. Miller  <davem@davemloft.net>
31105         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31106         that branches into memcpy.
31107         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31108         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31109         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31110         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31111         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31112         bits.
31113         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31114         implementation too.
31115         * sysdeps/sparc/mempcpy.S: New file.
31117         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31118         the IFUNC routine in the libc case.
31119         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31121         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31122         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31123         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31124         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31125         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31126         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31127         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31128         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31130         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31131         loop to 256 bytes instead of 64 bytes and fix test signedness.
31133         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31134         * sysdeps/sparc/sparc32/Makefile: rather than here...
31135         * sysdeps/sparc/sparc64/Makefile: and here.
31137 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
31139         * malloc/mallocbug.c: Avoid warnings about unused variables.
31141 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31143         [BZ #13760]
31144         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31145         in the right place. Discard and retry query if response is
31146         larger than input buffer size.
31148 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
31150         [BZ #369]
31151         [BZ #2678]
31152         [BZ #3866]
31153         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31154         x for large integer exponent.
31155         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31156         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
31157         sign of result as needed afterwards.
31158         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31159         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31160         result for underflowing pow the same as for overflow.
31161         (__kernel_standard_l): Handle powl overflow and underflow here
31162         rather than calling __kernel_standard.
31163         * math/libm-test.inc (pow_test): Add more tests.
31165         [BZ #3868]
31166         [BZ #13879]
31167         [BZ #13910]
31168         [BZ #13911]
31169         [BZ #13912]
31170         [BZ #13913]
31171         [BZ #13915]
31172         [BZ #13916]
31173         [BZ #13917]
31174         [BZ #13918]
31175         [BZ #13919]
31176         [BZ #13920]
31177         [BZ #13921]
31178         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31179         * sysdeps/ieee754/k_standard.c: Include <float.h>.
31180         (__kernel_standard_l): New function.
31181         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31182         __kernel_standard.
31183         * math/w_acosl.c (__acosl): Likewise.
31184         * math/w_asinl.c (__asinl): Likewise.
31185         * math/w_atan2l.c (__atan2l): Likewise.
31186         * math/w_atanhl.c (__atanhl): Likewise.
31187         * math/w_coshl.c (__coshl): Likewise.
31188         * math/w_exp10l.c (__exp10l): Likewise.
31189         * math/w_exp2l.c (__exp2l): Likewise.
31190         * math/w_fmodl.c (__fmodl): Likewise.
31191         * math/w_hypotl.c (__hypotl): Likewise.
31192         * math/w_j0l.c (__j0l, __y0l): Likewise.
31193         * math/w_j1l.c (__j1l, __y1l): Likewise.
31194         * math/w_jnl.c (__jnl, __ynl): Likewise.
31195         * math/w_lgammal.c (__lgammal): Likewise.
31196         * math/w_log10l.c (__log10l): Likewise.
31197         * math/w_log2l.c (__log2l): Likewise.
31198         * math/w_logl.c (__logl): Likewise.
31199         * math/w_powl.c (__powl): Likewise.
31200         * math/w_remainderl.c (__remainderl): Likewise.
31201         * math/w_scalbl.c (sysv_scalbl): Likewise.
31202         * math/w_sinhl.c (__sinhl): Likewise.
31203         * math/w_sqrtl.c (__sqrtl): Likewise.
31204         * math/w_tgammal.c (__tgammal): Likewise.
31205         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31206         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31207         * math/libm-test.inc (acos_test): Add more tests.
31208         (acosh_test): Likewise.
31209         (asin_test): Likewise.
31210         (atanh_test): Likewise.
31211         (exp_test): Likewise.
31212         (exp10_test): Likewise.
31213         (exp2_test): Likewise.
31214         (expm1_test): Likewise.
31215         (lgamma_test): Likewise.
31216         (log_test): Likewise.
31217         (log10_test): Likewise.
31218         (log1p_test): Likewise.
31219         (log2_test): Likewise.
31220         (pow_test): Do not allow some spurious overflow exceptions.
31221         (sqrt_test): Add more tests.
31222         (tgamma_test): Likewise.
31223         (y0_test): Likewise.
31224         (y1_test): Likewise.
31225         (yn_test): Likewise.
31227 2012-03-27  Anton Blanchard  <anton@samba.org>
31229         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31230         MAP_HUGETLB.
31231         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31232         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31233         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31235 2012-03-27  David S. Miller  <davem@davemloft.net>
31237         * conform/Makefile: Run run-conformtest.sh using $(BASH).
31239         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31240         have-as-vis3 check.
31242 2012-03-27  Andreas Jaeger  <aj@suse.de>
31244         * sysdeps/x86_64/elf/configure.in: Moved to ...
31245         * sysdeps/x86_64/configure.in: ... here.
31246         * sysdeps/x86_64/elf/start.S: Moved to ...
31247         * sysdeps/x86_64/start.S: ... here.
31248         * sysdeps/x86_64/elf/configure: Delete.
31250         * sysdeps/x86_64/configure.in: Merge contents from
31251         sysdeps/i386/configure.in (without i686 check).
31253         * sysdeps/i386/elf/Versions: Merge into ...
31254         * sysdeps/i386/Versions: ... this.
31255         * sysdeps/i386/elf/Versions: Delete file.
31256         * sysdeps/i386/elf/start.S: Moved to ...
31257         * sysdeps/i386/start.S: ...here.
31258         * sysdeps/i386/elf/configure.in: Merge into...
31259         * sysdeps/i386/configure.in: ...here.
31260         * sysdeps/i386/elf/configure.in: Delete file.
31261         * sysdeps/i386/elf/configure: Delete file.
31263         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31264         * debug/backtracesyms.c: ... here.
31265         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31266         * debug/backtracesymsfd.c: ... here.
31267         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31268         * sysdeps/generic/ifunc-sel.h: ... here.
31270         * sysdeps/unix/i386/start.c: Delete file.
31271         * sysdeps/unix/sparc/start.c: Delete file.
31272         * sysdeps/unix/start.c: Delete file.
31274         * sysdeps/sh/elf/configure.in: Moved to ...
31275         * sysdeps/sh/configure.in: ... here.
31276         * sysdeps/sh/elf/start.S: Moved to ...
31277         * sysdeps/sh/start.S: ... here.
31278         * sysdeps/sh/elf/configure: Delete file.
31280         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31281         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31282         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31283         * sysdeps/powerpc/powerpc64/entry.h: ... here.
31284         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31285         * sysdeps/powerpc/powerpc64/start.S: here.
31286         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31287         * sysdeps/powerpc/powerpc64/Makefile: ... this.
31288         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31289         * sysdeps/powerpc/powerpc64/configure.in: ... this.
31290         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31292         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31293         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31294         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31295         * sysdeps/powerpc/powerpc32/start.S: ... here.
31296         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31297         * sysdeps/powerpc/powerpc32/configure.in: ... this.
31298         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31300         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31301         * sysdeps/powerpc/ifunc-sel.h: ... here.
31302         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31303         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31305         * sysdeps/sparc/elf/configure.in: Moved to ...
31306         * sysdeps/sparc/configure.in: ... here.
31307         * sysdeps/sparc/elf/configure: Delete file.
31308         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31309         * sysdeps/sparc/sparc32/start.S: ... here.
31310         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31311         * sysdeps/sparc/sparc64/start.S: ... here.
31312         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31313         * sysdeps/sparc/sparc32/Makefile: ... this.
31314         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31315         * sysdeps/sparc/sparc64/Makefile: ... this.
31317         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31318         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31319         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31320         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31321         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31322         * sysdeps/s390/s390-32/setjmp.S: ... here.
31323         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31324         * sysdeps/s390/s390-32/configure.in: ... here.
31325         * sysdeps/s390/s390-32/elf/configure: Delete file.
31326         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31327         * sysdeps/s390/s390-32/start.S: ... here.
31329         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31330         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31331         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31332         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31333         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31334         * sysdeps/s390/s390-64/setjmp.S: ... here.
31335         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31336         * sysdeps/s390/s390-64/configure.in: ... here
31337         * sysdeps/s390/s390-64/elf/configure: Delete file.
31338         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31339         * sysdeps/s390/s390-64/start.S: ... here.
31340         * sysdeps/s390/s390-64/elf/configure: Delete.
31342         * configure.in: Remove support for elf directories in sysdeps.
31344         * configure: Regenerated.
31345         * sysdeps/i386/configure: Regenerated.
31346         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31347         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31348         * sysdeps/s390/s390-32/configure: Regenerated.
31349         * sysdeps/s390/s390-64/configure: Regenerated.
31350         * sysdeps/sh/configure: Regenerated.
31351         * sysdeps/sparc/configure: Regenerated.
31352         * sysdeps/x86_64/configure: Regenerated.
31354 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
31356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31358         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31359         denormal result into account.
31361 2012-03-25  Roland McGrath  <roland@hack.frob.com>
31363         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31364         Reported by Allan McRae <allan@archlinux.org>.
31366 2012-03-23  Jeff Law  <law@redhat.com>
31368         * nss/getnssent.c (__nss_getent): Fix typo.
31370 2012-03-23  David S. Miller  <davem@davemloft.net>
31372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31374 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
31376         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31377         to pad to uint64_t for each field.
31378         (dl_tls_index): Replace unsigned long with uint64_t.
31380 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
31381         Paul Pluzhnikov  <ppluzhnikov@google.com>
31383         [BZ #6528]
31384         * grp/Makefile (otherlibs): Don't set it.
31385         * inet/Makefile (otherlibs): Likewise.
31386         * login/Makefile (otherlibs): Likewise.
31387         * nscd/Makefile (otherlibs): Likewise.
31388         * posix/Makefile (otherlibs): Likewise.
31389         * pwd/Makefile (otherlibs): Likewise.
31390         * rt/Makefile (otherlibs): Likewise.
31391         * sunrpc/Makefile (otherlibs): Likewise.
31392         * nss/Makefile (otherlibs): Likewise.
31393         Add libnss_files to routines and static-only-routines.
31394         ($(objpfx)getent): Remove rule.
31395         * resolv/Makefile: Add libnss_dns and libresolv to routines and
31396         static-only-routines.
31398 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31400         [BZ #13892]
31401         * math/s_cexp.c: Include <float.h>.
31402         (__cexp): Handle exp result overflowing not necessarily
31403         overflowing both real and imaginary parts of result.
31404         * math/s_cexpf.c: Likewise.
31405         * math/s_cexpl.c: Likewise.
31406         * math/libm-test.inc (cexp_test): Add more tests.
31407         * sysdeps/i386/fpu/libm-test-ulps: Update.
31408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31410 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31412         * include/link.h (ELFW): New macro.
31413         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31414         Replace ELF64_R_TYPE with ELFW(R_TYPE).
31416 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31418         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31419         with uint64_t.
31421 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31423         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31424         declaration.
31425         (struct La_x32_retval): Likewise.
31427 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31429         * sysdeps/x86_64/preconfigure.in: New file.
31430         * sysdeps/x86_64/preconfigure: New generated file.
31432 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31434         [BZ #13824]
31435         * math/e_exp2l.c: Include <float.h>.
31436         (__ieee754_exp2l): Handle overflow and underflow cases
31437         separately.  Only pass fractional part of argument to
31438         __ieee754_expl.
31439         * math/libm-test.inc (exp2_test): Add more tests.
31441         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31442         negating x to take absolute value.
31443         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31444         Likewise.
31445         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31446         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31447         Likewise.
31448         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31449         computing low part if x was negated.
31450         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31452 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31454         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31455         la_x32_gnu_pltexit.
31456         (pltexit): Cast int_retval to ptrdiff_t.
31457         * elf/tst-auditmod3b.c: Likewise.
31458         * elf/tst-auditmod4b.c: Likewise.
31459         * elf/tst-auditmod5b.c: Likewise.
31460         * elf/tst-auditmod6b.c: Likewise.
31461         * elf/tst-auditmod6c.c: Likewise.
31462         * elf/tst-auditmod7b.c: Likewise.
31464         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31465         and x32_gnu_pltexit.
31467         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31468         __ELF_NATIVE_CLASS.
31469         (La_x32_regs): New macro.
31470         (La_x32_retval): Likewise.
31471         (la_x32_gnu_pltenter): New function prototype.
31472         (la_x32_gnu_pltexit): Likewise.
31474 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
31476         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31477         exponent.
31479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31481         * configure.in (libc_cv_cc_nofma): Check for option to disable
31482         generation of FMA instructions.
31483         * configure: Regenerate.
31484         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31485         * sysdeps/ieee754/dbl-64/Makefile: New file.
31486         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31487         Remove brandred-fma4.
31488         (CFLAGS-brandred-fma4.c): Remove.
31489         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31490         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31491         define.
31492         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31493         define.
31495 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31497         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31498         LLONG_MAX != LONG_MAX.
31499         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31500         (_fitoa_word): Likewise.
31501         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31502         LLONG_MAX != LONG_MAX.
31503         * stdio-common/_itowa.h: Include <_itoa.h>.
31504         (_itowa_word): Use _ITOA_WORD_TYPE on value.
31505         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
31506         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
31507         only if not defined.
31508         (_ITOA_WORD_TYPE): Likewise.
31509         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31510         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31512 2012-03-21  David S. Miller  <davem@davemloft.net>
31514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31516 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31518         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31519         of x86_64 when setting libc_cv_slibdir, libdir and
31520         libc_cv_localedir.
31521         * sysdeps/unix/sysv/linux/configure: Regenerated.
31523 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31525         * manual/lang.texi (Old Varargs): Remove section.
31526         (How Variadic): Update menu.
31527         (va_start): Do not mention varargs.h.
31529 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31530             Joseph Myers  <joseph@codesourcery.com>
31532         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31533         link test.
31534         * configure: Regenerated.
31536 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31538         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31539         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31540         conformtest.pl
31542 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31544         * NOTES: Remove.
31545         * Makefile (files-for-dist): Remove NOTES.
31546         (NOTES): Remove rule.
31547         * README: Don't refer to NOTES.
31548         * manual/creature.texi: Don't include macros.texi.
31549         * manual/intro.texi (creature.texi): Remove comment referring to
31550         NOTES.
31552         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31553         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31554         * configure: Regenerated.
31555         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31556         LIBC_TRY_CC_OPTION.
31557         (libc_cv_as_i686): Likewise.
31558         (libc_cv_cc_avx): Likewise.
31559         (libc_cv_cc_sse2avx): Likewise.
31560         (libc_cv_cc_fma4): Likewise.
31561         (libc_cv_cc_novzeroupper): Likewise.
31562         * sysdeps/i386/configure: Regenerated.
31564         [BZ #13883]
31565         * sysdeps/i386/fpu/s_cexp.S: Remove.
31566         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31567         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31568         * math/libm-test.inc (cexp_test): Add more tests.
31569         * sysdeps/i386/fpu/libm-test-ulps: Update.
31570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31572 2012-03-21  Allan McRae  <allan@archlinux.org>
31574         * timezone/Makefile: Do not install iso3166.tab and zone.tab
31576 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31578         [BZ #13871]
31579         * math/w_exp2.c: Do not include <float.h>.
31580         (o_threshold, u_threshold): Remove.
31581         (__exp2): Calculate result before checking finiteness and calling
31582         __kernel_standard.
31583         * math/w_exp2f.c: Likewise.
31584         * math/w_exp2l.c: Likewise.
31585         * math/libm-test.inc (exp2_test): Require overflow exception for
31586         1e6 input.
31588         [BZ #3866]
31589         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31590         range of signed 64-bit integers before using fistpll.  Remove
31591         checks for whether integers fit in mantissa bits.
31592         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31593         the range of signed 32-bit integers before using fistpl.  Remove
31594         checks for whether integers fit in mantissa bits.
31595         * sysdeps/i386/fpu/e_powl.S (p64): New object.
31596         (__ieee754_powl): Test for y outside the range of signed 64-bit
31597         integers before using fistpll.  Reduce 64-bit values to 63-bit
31598         ones as needed.
31599         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31600         divide-by-zero is raised for zero to large negative powers.
31601         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31602         (__ieee754_powl): Test for y outside the range of signed 64-bit
31603         integers before using fistpll.  Reduce 64-bit values to 63-bit
31604         ones as needed.
31605         * math/libm-test.inc (pow_test): Add more tests.
31607 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31609         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31610         <stdio-common/_itoa.h>.
31611         * debug/segfault.c: Likewise.
31612         * elf/dl-cache.c: Likewise.
31613         * elf/dl-minimal.c: Likewise.
31614         * elf/dl-misc.c: Likewise.
31615         * elf/dl-sysdep.c: Likewise.
31616         * elf/dl-version.c: Likewise.
31617         * elf/rtld.c: Likewise.
31618         * hurd/hurdsock.c: Likewise.
31619         * hurd/lookup-retry.c: Likewise.
31620         * malloc/malloc.c: Likewise.
31621         * malloc/mtrace.c: Likewise.
31622         * nscd/nscd_getgr_r.c: Likewise.
31623         * nscd/nscd_getpw_r.c: Likewise.
31624         * nscd/nscd_getserv_r.c: Likewise.
31625         * posix/getopt_init.c: Likewise.
31626         * posix/wordexp.c: Likewise.
31627         * stdio-common/_itoa.c: Likewise.
31628         * stdio-common/printf_fphex.c: Likewise.
31629         * stdio-common/vfprintf.c: Likewise.
31630         * string/_strerror.c: Likewise.
31631         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31632         * sysdeps/i386/i686/hp-timing.h: Likewise.
31633         * sysdeps/mach/_strerror.c: Likewise.
31634         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31635         * sysdeps/mach/hurd/sethostid.c: Likewise.
31636         * sysdeps/mach/hurd/xmknodat.c: Likewise.
31637         * sysdeps/mach/xpg-strerror.c: Likewise.
31638         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31639         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31640         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31641         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31642         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31643         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31644         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31645         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31646         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31647         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31648         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31649         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31650         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31651         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31652         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31653         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31654         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31655         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31656         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31657         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31658         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31660         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31662         * stdio-common/_itoa.h: Moved to ...
31663         * sysdeps/generic/_itoa.h: Here.
31665         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31667         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31668         instead of "_itoa.h" and "_itowa.h".
31669         * stdio-common/vfprintf.: Likewise.
31671 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31673         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31674         <bits/wordsize.h>.
31675         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31676         (__signbit): Likwise.
31677         (llrintf): Likwise.
31678         (llrint): Likwise.
31680 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31682         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31683         __WORDSIZE != 64.
31685 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
31687         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31688         OVERFLOW_EXCEPTION_OK.
31689         * math/libm-test.inc ("Philosophy"): Update comment about
31690         exception testing.
31691         (OVERFLOW_EXCEPTION): Define.
31692         (OVERFLOW_EXCEPTION_OK): Likewise.
31693         (INVALID_EXCEPTION_OK): Renumber.
31694         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31695         (IGNORE_ZERO_INF_SIGN): Likewise.
31696         (test_exceptions): Handle FE_OVERFLOW.
31697         (exp10_test): Expect overflow exceptions.
31698         (exp2_test): Likewise.
31699         (expm1_test): Likewise.
31700         (nextafter_test): Likewise.
31701         (pow_test): Likewise.
31702         (scalbn_test): Likewise.
31703         (scalbln_test): Likewise.
31705 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31707         * sysdeps/x86_64/bits/atomic.h
31708         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31709         64bit integer.
31710         (atomic_exchange_acq): Likewise.
31711         (__arch_exchange_and_add_body): Likewise.
31712         (__arch_add_body): Likewise.
31713         (atomic_add_negative): Likewise.
31714         (atomic_add_zero): Likewise.
31716 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31718         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31719         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31721 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31723         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31724         Check __x86_64__ instead of __WORDSIZE.
31726 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31728         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31730 2012-03-19  David S. Miller  <davem@davemloft.net>
31732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31734         * sysdeps/sparc/fpu/fenv_private.h: New file.
31735         * sysdeps/sparc/fpu/math_private.h: Use it.
31736         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31737         Remove.
31738         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31739         (libc_feholdexcept_setroundl): Remove.
31740         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31741         Remove.
31742         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31743         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31745 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31747         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31748         int64_t instead of long int.
31749         (INSERT_WORDS64): Likwise.
31751 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31753         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31754         _Unwind_GetCFA return to _Unwind_Ptr first.
31756 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
31758         [BZ #13629]
31759         * math/s_clog.c: Include <float.h>.
31760         (__clog): Scale large or subnormal inputs.
31761         * math/s_clogf.c: Likewise.
31762         * math/s_clogl.c: Likewise.
31763         * math/s_clog10.c: Include <float.h>.
31764         (M_LOG10_2): Define.
31765         (__clog10): Scale large or subnormal inputs.
31766         * math/s_clog10f.c: Likewise.
31767         * math/s_clog10l.c: Likewise.
31768         * math/libm-test.inc (clog_test): Add more tests.
31769         (clog10_test): Likewise.
31770         * sysdeps/i386/fpu/libm-test-ulps: Update.
31771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31773         [BZ #11451]
31774         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31775         x and y.
31776         * math/libm-test.inc (atan2_test): Add another test.
31778         * Makerules (common-objdir-compile): Remove.
31779         * sysdeps/unix/Makefile (config-generated): Do not add
31780         $(unix-generated) to variable.
31781         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31782         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31783         Remove rule.
31784         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31785         Likewise.
31786         [generic bits/local_lim.h] (before-compile): Do not append to
31787         variable.
31788         [generic bits/local_lim.h] (common-generated): Likewise.
31789         [generic sys/param.h] (before-compile): Do not append to variable.
31790         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31791         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31792         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31793         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31794         include.
31795         [generic sys/param.h] (sys/param.h-includes): Remove variable.
31796         [generic sys/param.h] (sys/param.h-includes): Remove rule.
31797         [generic sys/param.h] ($(addprefix
31798         $(common-objpfx),$(sys/param.h-includes))): Likewise.
31799         [generic sys/param.h] (common-generated): Do not append to
31800         variable.
31801         [generic sys/param.h] (sysdep_headers): Likewise.
31802         [generic bits/errno.h] (before-compile): Do not append to
31803         variable.
31804         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31805         rule.
31806         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31807         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31808         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31809         [generic bits/errno.h] (common-generated): Do not append to
31810         variable.
31811         [generic bits/ioctls.h] (before-compile): Do not append to
31812         variable.
31813         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31814         rule.
31815         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31816         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31817         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31818         rule.
31819         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31820         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31821         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31822         [generic bits/ioctls.h] (common-generated): Do not append to
31823         variable.
31824         [generic sys/syscall.h] (syscall.h): Remove variable.
31825         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31826         rule.
31827         [generic sys/syscall.h] (before-compile): Do not append to
31828         variable.
31829         [generic sys/syscall.h] (common-generated): Likewise.
31830         * sysdeps/unix/errnos-tmpl.c: Remove file.
31831         * sysdeps/unix/errnos.awk: Likewise.
31832         * sysdeps/unix/ioctls-tmpl.c: Likewise.
31833         * sysdeps/unix/ioctls.awk: Likewise.
31834         * sysdeps/unix/mk-local_lim.c: Likewise.
31835         * sysdeps/unix/snarf-ioctls: Likewise.
31837 2012-03-19  Richard Henderson  <rth@twiddle.net>
31839         * sysdeps/i386/fpu/fenv_private.h: New file.
31840         * sysdeps/i386/fpu/math_private.h: Use it.
31841         (math_opt_barrier, math_force_eval): Remove.
31842         (libc_feholdexcept_setround_53bit): Remove.
31843         (libc_feupdateenv_53bit): Remove.
31844         * sysdeps/x86_64/fpu/math_private.h: Likewise.
31845         (math_opt_barrier, math_force_eval): Remove.
31846         (libc_feholdexcept): Remove.
31847         (libc_feholdexcept_setround): Remove.
31848         (libc_fetestexcept, libc_fesetenv): Remove.
31849         (libc_feupdateenv_test): Remove.
31850         (libc_feupdateenv, libc_feholdsetround): Remove.
31851         (libc_feresetround): Remove.
31853         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31854         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31856         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31857         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31858         (libc_feupdateenv_testl): New.
31859         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31860         (libc_feupdateenv_testf): New.
31861         (libc_feupdateenv): Use libc_feupdateenv_test.
31862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31863         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31865         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31866         (libc_feholdsetroundf, libc_feholdsetroundl): New.
31867         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31868         (libc_feresetround_noex): New.
31869         (libc_feresetround_noexf): New.
31870         (libc_feresetround_noexl): New.
31871         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31872         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31873         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31874         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31875         SET_RESTORE_ROUND.
31876         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31877         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31878         (__cos): Likewise.
31879         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31880         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31881         SET_RESTORE_ROUND_NOEX.
31882         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31883         SET_RESTORE_ROUND_NOEXF.
31884         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31885         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31886         (libc_feholdsetroundf): New.
31887         (libc_feresetround, libc_feresetroundf): New.
31889         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31890         (libc_feholdexcept_setround_53bit): Convert from macro to function.
31891         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
31893         * sysdeps/generic/math_private.h: Include <fenv.h>.
31894         (default_libc_feholdexcept): New.
31895         (default_libc_feholdexcept_setround): New.
31896         (default_libc_fesetenv, default_libc_feupdateenv): New.
31897         (libc_feholdexcept): Only define if undefined.
31898         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31899         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31900         (libc_feholdexcept_setroundl): Likewise.
31901         (libc_feholdexcept_setround_53bit): Likewise.
31902         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31903         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31904         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31905         (libc_feupdateenv_53bit): Likewise.
31906         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31907         (libc_feholdexcept): Convert from macro to inline function.
31908         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31909         (libc_fesetenv, libc_feupdateenv): Likewise.
31911         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31912         not previously defined.
31913         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31914         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31915         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31916         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31917         * sysdeps/ieee754/flt-32/math_private.h: New file.
31918         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31919         math_private.h below SET_FLOAT_WORD.
31920         (__isnan, __isinf_ns, __finite): Remove.
31921         (__isnanf, __isinf_nsf, __finitef): Remove.
31923 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
31925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31927 2012-03-17  David S. Miller  <davem@davemloft.net>
31929         [BZ #6471]
31930         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31931         for 2.16.
31933 2012-03-16  David S. Miller  <davem@davemloft.net>
31935         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31936         warnings.
31938         [BZ #6471]
31939         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31940         properly.
31941         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31942         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31943         sysdep_routines when subdir is sysvipc.
31944         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31945         __getshmlba helper.
31947         * sysdeps/sparc/fpu/libm-test/ulps: Update.
31949 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31951         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31952         [__LP64__].
31954 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31956         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31957         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31958         (__lround): Renamed to ...
31959         (__llround): This.  Replace long int with long long int.
31960         Define lround functions as aliases of llround functions.
31961         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31963 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31965         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31966         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
31967         adresses to uintptr_t.  Replace "long int" and "unsigned long
31968         int" with "greg_t" on va_arg.
31970 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31972         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31973         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31975         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31976         Move e_machine check before EI_CLASS check.  Handle x32
31977         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31978         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31979         SKIP_EM_IA_64 and include
31980         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31982         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31983         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31984         (add_system_dir): New macro.
31986         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31987         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31989 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31991         [BZ #2551]
31992         [BZ #2552]
31993         [BZ #2553]
31994         [BZ #2554]
31995         [BZ #2562]
31996         [BZ #2563]
31997         [BZ #2565]
31998         [BZ #2566]
31999         [BZ #2576]
32000         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32001         (y0): Likewise.
32002         * math/w_j0f.c (j0f): Likewise.
32003         (y0f): Likewise.
32004         * math/w_j0l.c (__j0l): Likewise.
32005         (__y0l): Likewise.
32006         * math/w_j1.c (j1): Likewise.
32007         (y1): Likewise.
32008         * math/w_j1f.c (j1f): Likewise.
32009         (y1f): Likewise.
32010         * math/w_j1l.c (__j1l): Likewise.
32011         (__y1l): Likewise.
32012         * math/w_jn.c (jn): Likewise.
32013         (yn): Likewise.
32014         * math/w_jnf.c (jnf): Likewise.
32015         (ynf): Likewise.
32016         * math/w_jnl.c (__jnl): Likewise.
32017         (__ynl): Likewise.
32018         * math/libm-test.inc (j0_test): Add more tests.
32019         (j1_test): Likewise.
32020         (jn_test): Likewise.  Add trailing semicolon to existing test.
32021         (y0_test): Likewise.
32022         (y1_test): Likewise.
32023         * sysdeps/i386/fpu/libm-test-ulps: Update.
32024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32026         [BZ #13851]
32027         [BZ #13854]
32028         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32029         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32030         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32031         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32032         (__tanl): Set errno for infinite argument.
32033         * sysdeps/i386/fpu/mptan.c: Remove.
32034         * sysdeps/i386/fpu/s_tan.S: Likewise.
32035         * sysdeps/i386/fpu/s_tanl.S: Likewise.
32036         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32037         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32038         * math/libm-test.inc (tan_test): Add more tests and enable more
32039         tests for double and long double.
32040         * sysdeps/i386/fpu/libm-test-ulps: Update.
32041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32043 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
32045         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32046         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32048 2012-03-16  Roland McGrath  <roland@hack.frob.com>
32050         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32051         * configure.in: Use it for both main tree and add-ons.
32052         * configure: Regenerated.
32054 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
32056         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32058 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
32060         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32061         in comment.
32063         [BZ #13851]
32064         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32065         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32066         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32067         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32068         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32069         infinite argument.
32070         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32071         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32072         != 0 for prec == 2.
32073         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32074         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32075         * sysdeps/i386/fpu/s_cosl.S: Likewise.
32076         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32077         * sysdeps/i386/fpu/s_sinl.S: Likewise.
32078         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32079         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32080         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32081         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32082         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32083         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32084         * math/libm-test.inc (cos_test): Add more tests and enable more
32085         tests for long double.
32086         (sin_test): Likewise.
32087         (sincos_test): Likewise.
32088         * sysdeps/i386/fpu/libm-test-ulps: Update.
32089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32091 2012-03-16  David S. Miller  <davem@davemloft.net>
32093         * sysdeps/sparc/fpu/math_private.h: New file.
32095 2012-03-15  David S. Miller  <davem@davemloft.net>
32097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32098         file.
32099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32101         file.
32102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32103         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32104         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32107         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32108         sysdep routines.
32109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32111         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32112         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32114         * sysdeps/sparc/sparc-ifunc.h: New file.
32115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32116         sparc-ifunc.h
32117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32119         Likewise.
32120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32121         Likewise.
32122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32126         Likewise.
32127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32132         Likewise.
32133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32134         Likewise.
32135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32139         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32140         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32141         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32142         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32143         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32144         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32150         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32153         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32154         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32155         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32156         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32157         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32158         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32160 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32162         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32163         scaling.
32164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32166 2012-03-15  Andreas Jaeger  <aj@suse.de>
32168         [BZ #13852]
32169         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32170         ieee754/flt-32 implementation for sin, cos and sincos.
32171         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32172         * sysdeps/i386/fpu/s_cosf.S: Likewise.
32173         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32174         * sysdeps/i386/fpu/s_sinf.S: Likewise.
32175         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32176         ieee754/flt-32 implementation for tan.
32178         * math/libm-test.inc (cos_test): Enable some large input tests for
32179         float as well
32180         (sin_test): Likewise.
32181         (sincos_test): Likewise.
32182         (tan_test): Add tests for large input.
32184         * sysdeps/i386/fpu/libm-test-ulps: Update.
32186 2012-03-15  Andreas Jaeger  <aj@suse.de>
32188         [BZ #13658]
32189         * math/libm-test.inc (cos_test): Add more test cases.
32190         (sin_test): Likewise.
32191         (sincos_test): Likewise.
32193 2012-03-15  Andreas Jaeger  <aj@suse.de>
32195         [BZ #13837]
32196         * math/libm-test.inc (cos_test): Add a test case for large input
32197         value.
32198         (sin_test): Likewise.
32199         (sincos_test): Likewise.
32201 2012-03-15  Andreas Jaeger  <aj@suse.de>,
32202         Joseph Myers  <joseph@codesourcery.com>
32204         [BZ #13658]
32205         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32206         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32207         * sysdeps/i386/fpu/branred.c: Likewise.
32208         * sysdeps/i386/fpu/dosincos.c: Likewise.
32209         * sysdeps/i386/fpu/mpa.c: Likewise.
32210         * sysdeps/i386/fpu/s_cos.S: Likewise.
32211         * sysdeps/i386/fpu/s_sin.S: Likewise.
32212         * sysdeps/i386/fpu/s_sincos.S: Likewise.
32213         * sysdeps/i386/fpu/sincos32.c: Likewise.
32215         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32216         Define.
32217         (libc_feupdateenv_53bit): Define.
32218         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32219         Define.
32220         (libc_feupdateenv_53bit): Define.
32222         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32223         53 bit (without extend i386 double precision).
32225         * math/libm-test.inc (sincos_test): Add tests for large input.
32226         (sin): Likewise.
32227         (cos): Likewise.
32229         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32231 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32235 2012-03-15  David S. Miller  <davem@davemloft.net>
32237         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32238         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32239         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32240         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32253         file.
32254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32256         file.
32257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32259         file.
32260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32262         file.
32263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32264         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32265         fmin/fmax sysdep routines.
32266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32268 2012-03-14  David S. Miller  <davem@davemloft.net>
32270         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32271         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32274         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32275         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32276         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32278         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32282         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32290         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32291         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32292         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32293         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32294         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32295         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32296         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32297         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32298         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32299         routines.
32300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32301         file.
32302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32304         file.
32305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32307         file.
32308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32310         file.
32311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32313         file.
32314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32316         file.
32317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32318         file.
32319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32320         file.
32321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32322         file.
32323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32324         New file.
32325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32326         file.
32327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32328         file.
32329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32331         file.
32332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32334         file.
32335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32337         file.
32338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32340         VIS3 routines.
32342         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32343         New file.
32345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32347         * sysdeps/sparc/configure.in: New file.
32348         * sysdeps/sparc/configure: Generate.
32349         * configure.in (libc_cv_sparc_as_vis3): Substitute.
32350         * configure: Regenerate.
32351         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32352         * config.make.in (have-as-vis3): New.
32353         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32354         available use -Av9d instead of -Av9a.
32355         * sysdeps/sparc/sparc64/Makefile: Likewise.
32356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32358         New file.
32359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32360         file.
32361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32362         New file.
32363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32364         file.
32365         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32366         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32367         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32368         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32369         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32371         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32372         fzeros/fnegs to load 0x80000000 into a float register instead of
32373         using the stack.
32374         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32376 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32378         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32379         bits/syscall.h.
32380         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32381         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32382         ($(inst_includedir)/bits/syscall.h): Remove rule.
32383         ($(objpfx)bits/syscall.d): Include instead of
32384         $(objpfx)syscall-list.d.
32385         (generated): Change syscall-list.h and syscall-list.d to
32386         bits/syscall.h and bits/syscall.d.
32388 2012-03-14  Roland McGrath  <roland@hack.frob.com>
32390         [BZ #13846]
32391         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32393 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32395         [BZ #13841]
32396         * math/s_csqrt.c: Include <float.h>.
32397         (__csqrt): Scale large or subnormal inputs.
32398         * math/s_csqrtf.c: Likewise.
32399         * math/s_csqrtl.c: Likewise.
32400         * math/libm-test.inc (csqrt_test): Add more tests.
32401         * sysdeps/i386/fpu/libm-test-ulps: Update.
32402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32404         [BZ #13840]
32405         * math/libm-test.inc (hypot_test): Add more tests.
32407 2012-03-13  David S. Miller  <davem@davemloft.net>
32409         [BZ #13840]
32410         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32411         double-precision for the calculation instead of scaling.
32413 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
32415         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32416         manipulate bits before adding and subtracting TWO52[sx].
32417         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32418         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32419         Likewise.
32420         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32422 2012-03-13  David S. Miller  <davem@davemloft.net>
32424         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32425         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32426         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32427         rtld-global-offsets.h
32428         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32430         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32431         large parameters.
32433         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32435         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32436         'err' in the ifdef scope in which it is actually used.
32438         * nss/nss_db/db-init.c: Include string.h
32440 2012-03-12  David S. Miller  <davem@davemloft.net>
32442         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32443         masking out of the most significant byte of random value used.
32444         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32445         Fix coding style in previous change.
32447         * sysdeps/unix/sysv/linux/kernel-features.h
32448         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32449         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32450         expression.
32451         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32452         later.
32454 2012-03-11  David S. Miller  <davem@davemloft.net>
32456         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32457         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32458         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32459         for 'resultvar' otherwise things get truncated on 64-bit.
32461         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32462         Fix masking out of the most significant byte of random value used.
32464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32466 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
32468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32470 2012-03-09  David S. Miller  <davem@davemloft.net>
32472         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32473         variables with appropriate CPP guards.
32474         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32475         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
32476         on resulting framesize and the management of the outregs buffer for pltexit.
32477         Preserve floating point return values across _dl_call_pltexit call.
32478         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32479         framesize and the management of the outregs buffer for pltexit.
32480         Preserve floating point return values across _dl_call_pltexit
32481         call.
32482         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32483         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32484         (print_exit): Fix format string for return register value.
32486 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
32488         * sunrpc/Makefile (others): Add rpcgen.
32489         ($(objpfx)rpcgen): Remove special build rule and dependency on
32490         libc.
32491         * sunrpc/rpcgen.c: New file.
32493 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
32495         [BZ #13673]
32496         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32497         * stdio-common/bug-vfprintf-nargs.c: Likewise.
32498         * sysdeps/i386/crti.S: Likewise.
32499         * sysdeps/i386/crtn.S: Likewise.
32500         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32501         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32502         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32503         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32504         * sysdeps/sh/crti.S: Likewise.
32505         * sysdeps/sh/crtn.S: Likewise.
32506         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32508         [BZ #13673]
32509         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32510         with URL.
32511         * locale/programs/locfile-kw.gperf: Likewise.
32512         * locale/programs/charmap-kw.h: Regenerated.
32513         * locale/programs/locfile-kw.h: Likewise.
32515         [BZ #13673]
32516         * intl/plural.y: Replace FSF snail mail address with URL.
32517         * intl/plural.c: Regenerated.
32519 2012-03-09  Richard Henderson  <rth@twiddle.net>
32521         * include/math_private.h: Remove file.
32522         * math/math_private.h: Move file ...
32523         * sysdeps/generic/math_private.h: ... here.
32525         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32526         * sysdeps/powerpc/fpu/math_private.h: Likewise.
32527         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32529         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32530         and <math_private.h>.
32531         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32532         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32533         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32534         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32535         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32536         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32537         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32538         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32539         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32540         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32541         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32542         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32543         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32544         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32545         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32546         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32547         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32548         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32549         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32550         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32551         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32552         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32553         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32554         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32555         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32556         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32557         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32558         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32559         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32560         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32561         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32562         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32563         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32564         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32565         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32566         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32567         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32568         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32569         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32570         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32571         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32572         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32573         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32574         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32575         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32576         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32577         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32578         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32579         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32580         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32581         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32582         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32583         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32584         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32585         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32586         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32587         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32588         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32589         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32590         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32591         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32592         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32593         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32594         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32595         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32596         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32597         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32598         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32599         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32600         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32601         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32602         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32603         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32604         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32605         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32606         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32607         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32608         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32609         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32610         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32611         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32612         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32613         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32614         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32615         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32616         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32617         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32618         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32619         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32620         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32621         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32622         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32623         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32624         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32625         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32626         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32627         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32628         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32629         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32630         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32631         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32632         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32633         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32634         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32635         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32636         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32637         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32638         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32639         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32640         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32641         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32642         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32643         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32644         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32645         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32646         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32647         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32648         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32649         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32650         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32651         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32652         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32653         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32654         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32655         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32656         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32657         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32658         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32659         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32660         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32661         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32662         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32663         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32664         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32665         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32666         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32667         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32668         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32669         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32670         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32671         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32672         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32673         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32674         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32675         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32676         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32677         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32678         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32679         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32680         * sysdeps/ieee754/k_standard.c: Likewise.
32681         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32682         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32683         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32684         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32685         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32686         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32687         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32688         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32689         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32690         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32691         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32692         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32693         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32694         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32695         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32696         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32697         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32698         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32699         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32700         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32701         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32702         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32703         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32704         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32705         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32706         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32707         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32708         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32709         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32710         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32711         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32712         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32713         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32714         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32715         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32716         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32717         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32718         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32719         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32720         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32721         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32722         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32723         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32724         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32725         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32726         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32727         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32728         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32729         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32730         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32731         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32732         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32733         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32734         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32735         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32736         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32737         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32738         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32739         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32740         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32741         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32742         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32743         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32744         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32745         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32746         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32747         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32748         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32749         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32750         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32751         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32752         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32753         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32754         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32755         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32756         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32757         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32758         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32759         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32760         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32761         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32762         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32763         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32764         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32765         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32766         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32767         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32768         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32769         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32770         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32771         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32772         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32773         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32774         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32775         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32776         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32777         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32778         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32779         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32780         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32781         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32782         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32783         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32784         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32785         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32786         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32787         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32788         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32789         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32790         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32791         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32792         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32793         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32794         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32795         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32796         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32797         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32798         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32799         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32800         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32801         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32802         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32803         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32804         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32805         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32806         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32807         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32808         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32809         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32810         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32811         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32812         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32813         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32814         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32815         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32816         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32817         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32818         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32819         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32820         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32821         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32822         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32823         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32824         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32825         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32826         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32827         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32828         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32829         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32830         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32831         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32832         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32833         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32834         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32835         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32836         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32837         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32838         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32839         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32840         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32841         * sysdeps/ieee754/s_lib_version.c: Likewise.
32842         * sysdeps/ieee754/s_matherr.c: Likewise.
32843         * sysdeps/ieee754/s_signgam.c: Likewise.
32844         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32845         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32846         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32847         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32848         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32849         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32850         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32851         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32852         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32853         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32854         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32855         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32856         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32857         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32858         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32859         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32860         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32861         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32862         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32863         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32864         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32866 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32868         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32869         * sunrpc/rpc_main.c: Likewise.
32870         * sunrpc/rpc_svcout.c: Likewise.
32872 2012-03-09  David S. Miller  <davem@davemloft.net>
32874         * include/math_private.h: New file.
32876 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32878         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32879         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32880         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32881         from <bits/socket_type.h>.
32882         (enum __socket_type): Don't define here.
32883         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32884         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32885         bits/socket_type.h.
32887         [BZ #13566]
32888         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32889         checking __USE_GNU.
32891         * Makerules ($(inst_includedir)/%.h): New rule.
32892         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32893         (install-others): Remove variable setting.
32894         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32896 2012-03-08  Richard Henderson  <rth@twiddle.net>
32898         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32899         from macro to inline function; merge with the
32900         !__LIBC_INTERNAL_MATH_INLINES version.
32901         (__ieee754_sqrtf): Likewise.
32903         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32904         to inline function.
32905         (__rintf, __floor, __floorf): Likewise.
32907         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32908         macro to inline function.
32909         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32911         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32912         not <math/math_private.h>.
32914 2012-03-08  David S. Miller  <davem@davemloft.net>
32916         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32917         copyright year.
32918         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32920 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
32922         * resolv/gai_misc.c (handle_requests): Fix struct timespec
32923         normalization.
32924         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32925         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32927 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
32929         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
32930         be defined individually, they must be defined as a block.  Define
32931         S for printing a string instead of hidint the different by using a
32932         macro for adding the 'l'.
32933         * stdio-common/tst-fphex-wide.c: Adjust.
32935 2012-03-07  Marek Polacek  <polacek@redhat.com>
32937         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32939 2012-03-08  Marek Polacek  <polacek@redhat.com>
32941         [BZ #13806]
32942         * stdio-common/Makefile (tests): Add tst-fphex-wide.
32943         * stdio-common/tst-fphex.c: Define a few macros to make the
32944         test reusable.  Use them.
32945         * stdio-common/tst-fphex-wide.c: New file.
32947 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
32949         [BZ #6911]
32950         * manual/macros.texi (gnusystems): New macro.
32951         (nongnusystems): Likewise.
32952         (gnulinuxhurdsystems): Likewise.
32953         (gnuhurdsystems): Likewise..
32954         (gnulinuxsystems): Likewise.
32955         * manual/charset.texi: Use new macros or @theglibc{} to refer to
32956         variants of the GNU system, not "GNU system".
32957         * manual/conf.texi: Likewise.
32958         * manual/errno.texi: Likewise.  Update example of errno macro
32959         expansion.
32960         * manual/filesys.texi: Likewise.
32961         (getumask): Document as specific to GNU/Hurd.
32962         * manual/install.texi: Likewise.  Reword some references to
32963         GNU/Linux.
32964         * manual/intro.texi: Likewise.
32965         * manual/io.texi: Likewise.
32966         (File Name Portability): Detail which constraints are inapplicable
32967         to all GNU systems and which are only inapplicable to GNU/Hurd.
32968         * manual/job.texi: Likewise.
32969         * manual/llio.texi: Likewise.
32970         (O_NOCTTY): Document as present on GNU/Linux.
32971         * manual/maint.texi: Likewise.
32972         * manual/memory.texi: Likewise.
32973         * manual/pattern.texi: Likewise.
32974         * manual/pipe.texi: Likewise.
32975         * manual/process.texi: Likewise.
32976         * manual/resource.texi: Likewise.
32977         (RUSAGE_CHILDREN): Remove statement about specifying a particular
32978         child on GNU/Hurd.
32979         * manual/setjmp.texi: Likewise.
32980         * manual/signal.texi: Likewise.
32981         * manual/startup.texi: Likewise.
32982         * manual/stdio.texi: Likewise.
32983         * manual/terminal.texi: Likewise.
32984         (ONLCR): Document as POSIX.
32985         (OXTABS): Document availability on GNU/Linux as XTABS.
32986         (ONOEOT): Document availability separately from other bits.
32987         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32988         * manual/time.texi: Likewise.
32989         * manual/users.texi: Likewise.
32990         * INSTALL: Regenerated.
32991         * sysdeps/gnu/errlist.c: Regenerated.
32993         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32994         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32995         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
32996         puts.
32997         * configure: Regenerated.
32999 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
33001         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33002         default includes instead of AC_HEADER_CHECK.
33003         * sysdeps/i386/configure: Regenerated.
33005         [BZ #10716]
33006         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33007         * math/s_cacoshf.c (__cacoshf): Likewise.
33008         * math/s_cacoshl.c (__cacoshl): Likewise.
33009         * math/s_casinh.c (__casinh): Set signs of result from argument.
33010         * math/s_casinhf.c (__casinhf): Likewise.
33011         * math/s_casinhl.c (__casinhl): Likewise.
33012         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33013         (casinh_test): Add more tests.
33014         * sysdeps/i386/fpu/libm-test-ulps: Update.
33015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33017 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
33019         * po/zh_TW.po: Update from translation team.
33021         * login/Makefile (distribute): Remove variable.
33022         * catgets/Makefile: Likewise.
33023         * mach/Makefile: Likewise.
33024         * malloc/Makefile: Likewise.
33025         * misc/Makefile: Likewise.
33026         * iconv/Makefile: Likewise.
33027         * nscd/Makefile: Likewise.
33028         * hurd/Makefile: Likewise.
33029         * manual/Makefile: Likewise.
33030         * locale/Makefile: Likewise.
33031         * intl/Makefile: Likewise.
33032         * conform/Makefile: Likewise.
33033         * nss/Makefile: Likewise.
33034         * time/Makefile: Likewise.
33035         * soft-fp/Makefile: Likewise.
33036         * dirent/Makefile: Likewise.
33037         * gmon/Makefile: Likewise.
33038         * po/Makefile: Likewise.
33039         * rt/Makefile: Likewise.
33040         * socket/Makefile: Likewise.
33041         * math/Makefile: Likewise.
33042         * signal/Makefile: Likewise.
33043         * debug/Makefile: Likewise.
33044         * elf/Makefile: Likewise.
33045         * timezone/Makefile: Likewise.
33046         * stdlib/Makefile: Likewise.
33047         * iconvdata/Makefile: Likewise.
33048         * sunrpc/Makefile: Likewise.
33049         * io/Makefile: Likewise.
33050         * argp/Makefile: Likewise.
33051         * inet/Makefile: Likewise.
33052         * hesiod/Makefile: Likewise.
33053         * grp/Makefile: Likewise.
33054         * csu/Makefile: Likewise.
33055         * wctype/Makefile: Likewise.
33056         * crypt/Makefile: Likewise.
33057         * libio/Makefile: Likewise.
33058         * string/Makefile: Likewise.
33059         * nis/Makefile: Likewise.
33060         * resolv/Makefile: Likewise.
33061         * stdio-common/Makefile: Likewise.
33062         * wcsmbs/Makefile: Likewise.
33063         * dlfcn/Makefile: Likewise.
33064         * posix/Makefile: Likewise.
33066         [BZ #6959]
33067         * timezone/Makefile: Don't install timezone files, just the programs
33068         and scripts.
33070 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
33072         * nss/databases.def: Add missing gshadow entry.
33074         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
33076 2012-03-06  Marek Polacek  <polacek@redhat.com>
33078         [BZ #13726]
33079         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33080         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33081         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33082         * stdio-common/tst-long-dbl-fphex.c: New file.
33084 2012-03-06  David S. Miller  <davem@davemloft.net>
33086         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33087         (set_obp_int): New function.
33088         (get_obp_int): New function.
33089         (__get_clockfreq_via_dev_openprom): Likewise.
33090         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33091         Avoid unused variable warnings on 'val' and use builtin_expect.
33092         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33093         __builtin_expect.
33094         (INLINE_CLONE_SYSCALL): Likewise.
33096 2012-03-05  David S. Miller  <davem@davemloft.net>
33098         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33100 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
33102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33104         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33105         only for |x| >= 40.
33106         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33108 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33110         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33111         Replace gettimeofday with __vdso_gettimeofday.
33113         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33114         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33115         __vdso_clock_gettime and __vdso_getcpu.
33117         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33118         time with __vdso_time.
33120 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33122         * manual/lang.texi (size_t): Note types to which size_t may be
33123         equivalent with the GNU C Library, but do not describe when
33124         differences between them are significant.
33126 2012-03-05  Andreas Jaeger  <aj@suse.de>
33128         * sysdeps/i386/fpu/libm-test-ulps: Update.
33130 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
33132         [BZ #3976]
33133         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33134         (__ieee754_pow): Save and restore rounding mode and use
33135         round-to-nearest for main computations.
33136         * math/libm-test.inc (pow_test_tonearest): New function.
33137         (pow_test_towardzero): Likewise.
33138         (pow_test_downward): Likewise.
33139         (pow_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         [BZ #3976]
33145         * math/libm-test.inc (cosh_test_tonearest): New function.
33146         (cosh_test_towardzero): Likewise.
33147         (cosh_test_downward): Likewise.
33148         (cosh_test_upward): Likewise.
33149         (sinh_test_tonearest): Likewise.
33150         (sinh_test_towardzero): Likewise.
33151         (sinh_test_downward): Likewise.
33152         (sinh_test_upward): Likewise.
33153         (main): Call the new functions.
33154         * sysdeps/i386/fpu/libm-test-ulps: Update.
33155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33157 2012-03-05  Tom de Vries  <tom@codesourcery.com>
33159         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33160         default stack guard is set in last bytes.
33161         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33163 2012-03-05  Kees Cook  <keescook@chromium.org>
33165         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33167         [BZ #13656]
33168         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33169         possibly allocate from heap instead of stack.
33170         * stdio-common/bug-vfprintf-nargs.c: New file.
33171         * stdio-common/Makefile (tests): Add nargs overflow test.
33173 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
33175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33177 2012-03-03  Marek Polacek  <polacek@redhat.com>
33179         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33180         * math/math_private.h: Likewise.
33181         * stdlib/tst-strtod.c: Likewise.
33182         * sysdeps/i386/i486/bits/atomic.h: Likewise.
33183         * sysdeps/x86_64/bits/atomic.h: Likewise.
33185 2012-03-02  David S. Miller  <davem@davemloft.net>
33187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33191         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33192         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33193         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33194         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33196 2012-03-02  Roland McGrath  <roland@hack.frob.com>
33198         [BZ #13792]
33199         * manual/examples/README: New file, says the example source files
33200         can be used under GPL>=2.
33201         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33202         line containing just "*/".
33203         * manual/examples/add.c: Add copyright header (GPL>=2).
33204         * manual/examples/argp-ex1.c: Likewise.
33205         * manual/examples/argp-ex2.c: Likewise.
33206         * manual/examples/argp-ex3.c: Likewise.
33207         * manual/examples/argp-ex4.c: Likewise.
33208         * manual/examples/atexit.c: Likewise.
33209         * manual/examples/db.c: Likewise.
33210         * manual/examples/dir.c: Likewise.
33211         * manual/examples/dir2.c: Likewise.
33212         * manual/examples/execinfo.c: Likewise.
33213         * manual/examples/filecli.c: Likewise.
33214         * manual/examples/filesrv.c: Likewise.
33215         * manual/examples/fmtmsgexpl.c: Likewise.
33216         * manual/examples/genpass.c: Likewise.
33217         * manual/examples/inetcli.c: Likewise.
33218         * manual/examples/inetsrv.c: Likewise.
33219         * manual/examples/isockad.c: Likewise.
33220         * manual/examples/longopt.c: Likewise.
33221         * manual/examples/memopen.c: Likewise.
33222         * manual/examples/memstrm.c: Likewise.
33223         * manual/examples/mkfsock.c: Likewise.
33224         * manual/examples/mkisock.c: Likewise.
33225         * manual/examples/mygetpass.c: Likewise.
33226         * manual/examples/pipe.c: Likewise.
33227         * manual/examples/popen.c: Likewise.
33228         * manual/examples/rprintf.c: Likewise.
33229         * manual/examples/search.c: Likewise.
33230         * manual/examples/select.c: Likewise.
33231         * manual/examples/setjmp.c: Likewise.
33232         * manual/examples/sigh1.c: Likewise.
33233         * manual/examples/sigusr.c: Likewise.
33234         * manual/examples/stpcpy.c: Likewise.
33235         * manual/examples/strdupa.c: Likewise.
33236         * manual/examples/strftim.c: Likewise.
33237         * manual/examples/strncat.c: Likewise.
33238         * manual/examples/subopt.c: Likewise.
33239         * manual/examples/swapcontext.c: Likewise.
33240         * manual/examples/termios.c: Likewise.
33241         * manual/examples/testopt.c: Likewise.
33242         * manual/examples/testpass.c: Likewise.
33243         * manual/examples/timeval_subtract.c: Likewise.
33245         [BZ #13792]
33246         * manual/time.texi (Elapsed Time): Move timeval_subtract example
33247         function to ...
33248         * manual/timeval_subtract.c.texi: ... here, new file.
33250 2012-03-02  David S. Miller  <davem@davemloft.net>
33252         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33254 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
33256         [BZ #3976]
33257         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33258         (__sin): Save and restore rounding mode and use round-to-nearest
33259         for all computations.
33260         (__cos): Save and restore rounding mode and use round-to-nearest
33261         for all computations.
33262         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33263         <fenv.h>.
33264         (tan): Save and restore rounding mode and use round-to-nearest for
33265         all computations.
33266         * math/libm-test.inc (cos_test_tonearest): New function.
33267         (cos_test_towardzero): Likewise.
33268         (cos_test_downward): Likewise.
33269         (cos_test_upward): Likewise.
33270         (sin_test_tonearest): Likewise.
33271         (sin_test_towardzero): Likewise.
33272         (sin_test_downward): Likewise.
33273         (sin_test_upward): Likewise.
33274         (tan_test_tonearest): Likewise.
33275         (tan_test_towardzero): Likewise.
33276         (tan_test_downward): Likewise.
33277         (tan_test_upward): Likewise.
33278         (main): Call the new functions.
33279         * sysdeps/i386/fpu/libm-test-ulps: Update.
33280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33282         [BZ #10135]
33283         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33284         small n, then large n, before computing and testing k+n.
33285         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33286         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33287         Likewise.
33288         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33289         Likewise.
33290         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33291         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33292         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33293         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33294         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33295         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33296         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33297         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33298         * math/libm-test.inc (scalbn_test): Add more tests.
33299         (scalbln_test): Likewise.
33301         * manual/filesys.texi (mode_t): Describe constraints on size and
33302         signedness, not exact equivalence to a particular type.
33303         (ino_t): Likewise.
33304         (ino64_t): Likewise.
33305         (dev_t): Likewise.
33306         (nlink_t): Likewise.
33307         (blkcnt_t): Likewise.
33308         (blkcnt64_t): Likewise.
33309         * manual/llio.texi (off_t): Likewise.
33311         [BZ #3976]
33312         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33313         (__ieee754_exp): Save and restore rounding mode and use
33314         round-to-nearest for all computations.
33315         * math/libm-test.inc (exp_test_tonearest): New function.
33316         (exp_test_towardzero): Likewise.
33317         (exp_test_downward): Likewise.
33318         (exp_test_upward): Likewise.
33319         (main): Call the new functions.
33320         * sysdeps/i386/fpu/libm-test-ulps: Update.
33321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33323 2012-03-01  Chris Demetriou  <cgd@google.com>
33325         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33326         have predictable order.
33328 2012-03-01  David S. Miller  <davem@davemloft.net>
33330         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33332         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33333         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33334         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33335         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33337         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33338         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33339         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33341         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33342         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33343         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33344         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33345         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33349         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33350         * sysdeps/sparc/fpu/libm-test-ulps: to here.
33351         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33353         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33354         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33355         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33356         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33357         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33358         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33359         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33360         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33361         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33362         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33363         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33364         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33365         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33366         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33367         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33368         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33369         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33370         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33371         * sysdeps/sparc/elf/configure: Regenerated.
33373 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
33375         * configure.in (AS, LD): Require binutils 2.20 or later.
33376         * configure: Regenerated.
33377         * manual/install.texi (Tools for Compilation): Give binutils 2.20
33378         as required minimum version.
33379         * INSTALL: Regenerated.
33381         [BZ #2541]
33382         [BZ #4108]
33383         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33384         before squaring exponent.
33385         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33386         bottom long double and 27 bits of top long double before squaring
33387         exponent.
33388         * math/libm-test.inc (erfc_test): Add more tests.
33389         * sysdeps/i386/fpu/libm-test-ulps: Update.
33390         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33393 2012-03-01  Kai Tietz  <ktietz@redhat.com>
33395         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33396         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33397         containing bit-fields.
33398         * soft-fp/extended.h (_FP_UNION_E): Likewise.
33399         * soft-fp/single.h (_FP_UNION_S): Likewise.
33400         * soft-fp/double.h (_FP_UNION_D): Likewise.
33402 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33404         [BZ #13786]
33405         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33406         not include ../strcmp.S.
33407         [USE_AS_STRNCASECMP_L]: Likewise.
33408         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33409         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33410         * sysdeps/i386/i686/multiarch/strncase_l-c.c
33411         (__strncasecmp_l_ia32): Define as alias to
33412         __strncasecmp_l_nonascii.
33414         [BZ #5794]
33415         * math/libm-test.inc (expm1_test): Add test for bug 5794.
33416         * sysdeps/i386/fpu/libm-test-ulps: Update.
33417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33419         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33422 2012-02-29  Jeff Law  <law@redhat.com>
33424         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33425         out of bounds read.
33427 2012-02-29  Marek Polacek  <polacek@redhat.com>
33429         [BZ #13706]
33430         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33431         * elf/Makefile: Add rules to run tst-unused-dep.out.
33433 2012-02-28  David S. Miller  <davem@davemloft.net>
33435         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33436         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33437         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33438         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33439         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33440         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33442 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33444         * math/libm-test.inc (llround_test): Move one test from
33445         lround_test.  Use TEST_f_L in moved test.
33446         (lround_test): Move misplaced test to llround_test.  Add testcase
33447         from bug 2561.
33449 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
33451         * sysdeps/x86_64/fpu/e_expf.S: New file.
33452         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33454 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
33456         [BZ #13637]
33457         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33458         of remain_len that may cause incomplete multi-byte character and
33459         false match.
33460         * posix/bug-regex33.c: New file.
33461         * posix/Makefile (tests): Add bug-regex33.
33463 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
33465         * manual/macros.texi: New file.
33466         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33467         * manual/libc.texinfo: Include macros.texi.
33468         * manual/creatute.texi: Likewise.
33469         * manual/install.texi: Likewise.
33470         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33471         @glibcadj{} in references to the GNU C Library.
33472         * manual/charset.texi: Likewise.
33473         * manual/conf.texi: Likewise.
33474         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
33475         when not using those macros.
33476         * manual/creature.texi: Likewise.
33477         * manual/crypt.texi: Likewise.
33478         * manual/errno.texi: Likewise.
33479         * manual/filesys.texi: Likewise.
33480         * manual/header.texi: Likewise.
33481         * manual/install.texi: Likewise.
33482         * manual/intro.texi: Likewise.
33483         * manual/io.texi: Likewise.
33484         * manual/job.texi: Likewise.
33485         * manual/lang.texi: Likewise.
33486         * manual/libc.texiinfo: Likewise.
33487         * manual/llio.texi: Likewise.
33488         * manual/locale.texi: Likewise.
33489         * manual/maint.texi: Likewise.
33490         * manual/math.texi: Likewise.
33491         * manual/memory.texi: Likewise.
33492         * manual/message.texi: Likewise.
33493         * manual/nss.texi: Likewise.
33494         * manual/pattern.texi: Likewise.
33495         * manual/process.texi: Likewise.
33496         * manual/resource.texi: Likewise.
33497         * manual/search.texi: Likewise.
33498         * manual/setjmp.texi: Likewise.
33499         * manual/signal.texi: Likewise.
33500         * manual/socket.texi: Likewise.
33501         * manual/startup.texi: Likewise.
33502         * manual/stdio.texi: Likewise.
33503         * manual/string.texi: Likewise.
33504         * manual/sysinfo.texi: Likewise.
33505         * manual/syslog.texi: Likewise.
33506         * manual/terminal.texi: Likewise.
33507         * manual/time.texi: Likewise.
33508         * manual/users.texi: Likewise.
33509         * INSTALL: Regenerated.
33510         * NOTES: Regenerated.
33511         * sysdeps/gnu/errlist.c: Regenerated.
33513 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
33515         * include/dirent.h: Include <dirstream.h> before
33516         <dirent/dirent.h>.
33518 2012-02-28  David S. Miller  <davem@davemloft.net>
33520         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33521         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33522         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33523         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33525 2012-02-27  David S. Miller  <davem@davemloft.net>
33527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33529         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33530         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33533         frame pointer instead of stack pointer relative arg slot.
33534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33535         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33536         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33538 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
33540         [BZ #3992]
33541         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33543 2012-02-27  David S. Miller  <davem@davemloft.net>
33545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33549         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33550         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33551         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33552         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33554 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33556         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33557         later.  Allow versions 5-9.
33558         * configure: Regenerated.
33559         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33560         required minimum version and 4.6 as recommended version.  Do not
33561         mention bugs in GCC 2.7 and 2.8.
33562         * INSTALL: Regenerated.
33564 2012-02-27  David S. Miller  <davem@davemloft.net>
33566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33570         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33571         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33572         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33573         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33575         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33576         manipulate bits before adding and subtracting TWO112[sx].
33577         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33579 2012-02-27  Roland McGrath  <roland@hack.frob.com>
33581         [BZ #13775]
33582         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33583         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33584         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33585         being in POSIX, because they are in 1003.1-2008.
33587         * rt/tst-aio.c: Include <fcntl.h>.
33588         * rt/tst-aio7.c: Likewise.
33589         * rt/tst-aio64.c: Likewise.
33591         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33593 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33595         * manual/install.texi (--with-headers): Describe headers as
33596         interface headers, not private headers.
33597         (Specific advice for GNU/Linux systems): Describe use of headers
33598         from "make headers_install", not private headers from older
33599         kernels.
33600         * INSTALL: Regenerated.
33601         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33602         Change to 2.6.19.
33603         * sysdeps/unix/sysv/linux/configure: Regenerated.
33605         * manual/llio.texi (fclean): Remove documentation.
33607         * manual/Makefile (libc-texi-generated): New variable.  Include
33608         version.texi.
33609         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33610         $(libc-texi-generated), not duplicated list of files.
33611         (version.texi, stamp-version): New rules.
33612         (realclean): Remove $(libc-texi-generated), not individual files
33613         from that list.  Do not remove dir-add.texinfo.
33614         * manual/libc.texinfo: Comment out uses of edition numbers and
33615         references to printed manual.  Remove last-updated dates.
33616         (EDITION): Comment out.
33617         (ISBN): Likewise.
33618         (VERSION, UPDATED): Remove.
33619         (version.texi): Include.
33621 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
33623         * sysdeps/posix/spawni.c: Include <signal.h>.
33624         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33625         * sysdeps/pthread/aio_fsync.c: Likewise.
33627 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
33629         * conform/Makefile (tests): Run only when not cross-compiling and
33630         when fast-check is not defined.
33632         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33633         * conform/data/limits.h-data: Fixes for POSIX2008.
33634         * conform/run-conformtest.sh: Run all tests.
33635         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33636         headers.
33637         * include/bits/dlfcn.h: Likewise.
33638         * include/langinfo.h: Likewise.
33639         * include/monetary.h: Likewise.
33640         * include/sys/poll.h: Likewise.
33642         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33643         for __USE_GNU.
33644         * posix/spawn.h: Define __need_sigset_t.
33645         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33646         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33647         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
33648         to get sigevent_t only.
33649         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33650         only for __USE_GNU.
33651         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33652         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33653         process_vm_writev only for __USE_GNU.
33654         * termios/termios.h: Declare tcgetsid also for POSIX2008.
33656         * conform/Makefile: For now ignore errors from run-conformtest.
33657         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
33658         POSIX to avoid namespace pollution.  Don't prepend headers.
33659         * conform/data/aio.h-data: Fixes for POSIX testing.
33660         * conform/data/fcntl.h-data: Likewise.
33661         * conform/data/glob.h-data: Likewise.
33662         * conform/data/grp.h-data: Likewise.
33663         * conform/data/pthread.h-data: Likewise.
33664         * conform/data/pwd.h-data: Likewise.
33665         * conform/data/signal.h-data: Likewise.
33666         * conform/data/spawn.h-data: Likewise.
33667         * conform/data/stdio.h-data: Likewise.
33668         * conform/data/stdlib.h-data: Likewise.
33669         * conform/data/stropts.h-data: Likewise.
33670         * conform/data/sys/mman.h-data: Likewise.
33671         * conform/data/sys/stat.h-data: Likewise.
33672         * conform/data/sys/types.h-data: Likewise.
33673         * conform/data/sys/wait.h-data: Likewise.
33674         * conform/data/time.h-data: Likewise.
33675         * conform/data/unistd.h-data: Likewise.
33676         * conform/data/utime.h-data: Likewise.
33678         * io/sys/stat.h: fchmod was always in POSIX.
33679         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33680         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33681         * rt/aio.h: Define __need_timespec before including <time.h>.
33682         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33683         struct.  Add forward declaration of pthread_attr_t and use it in
33684         sigevent.
33685         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33686         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33687         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33688         always remove CLK_TCK definition.
33690 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
33692         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33694 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
33696         * conform/run-conformtest.sh: New file.
33697         * conform/Makefile: Run run-conformtest for tests.
33698         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
33699         support.
33701         * conform/data/uchar.h-data: New file.
33702         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33703         * conform/data/arpa/inet.h-data: Likewise.
33704         * conform/data/assert.h-data: Likewise.
33705         * conform/data/complex.h-data: Likewise.
33706         * conform/data/cpio.h-data: Likewise.
33707         * conform/data/ctype.h-data: Likewise.
33708         * conform/data/dirent.h-data: Likewise.
33709         * conform/data/dlfcn.h-data: Likewise.
33710         * conform/data/errno.h-data: Likewise.
33711         * conform/data/fcntl.h-data: Likewise.
33712         * conform/data/float.h-data: Likewise.
33713         * conform/data/fmtmsg.h-data: Likewise.
33714         * conform/data/fnmatch.h-data: Likewise.
33715         * conform/data/ftw.h-data: Likewise.
33716         * conform/data/glob.h-data: Likewise.
33717         * conform/data/grp.h-data: Likewise.
33718         * conform/data/iconv.h-data: Likewise.
33719         * conform/data/inttypes.h-data: Likewise.
33720         * conform/data/langinfo.h-data: Likewise.
33721         * conform/data/libgen.h-data: Likewise.
33722         * conform/data/limits.h-data: Likewise.
33723         * conform/data/locale.h-data: Likewise.
33724         * conform/data/math.h-data: Likewise.
33725         * conform/data/monetary.h-data: Likewise.
33726         * conform/data/mqueue.h-data: Likewise.
33727         * conform/data/ndbm.h-data: Likewise.
33728         * conform/data/net/if.h-data: Likewise.
33729         * conform/data/netdb.h-data: Likewise.
33730         * conform/data/netinet/in.h-data: Likewise.
33731         * conform/data/nl_types.h-data: Likewise.
33732         * conform/data/poll.h-data: Likewise.
33733         * conform/data/pthread.h-data: Likewise.
33734         * conform/data/pwd.h-data: Likewise.
33735         * conform/data/regex.h-data: Likewise.
33736         * conform/data/sched.h-data: Likewise.
33737         * conform/data/search.h-data: Likewise.
33738         * conform/data/semaphore.h-data: Likewise.
33739         * conform/data/setjmp.h-data: Likewise.
33740         * conform/data/signal.h-data: Likewise.
33741         * conform/data/spawn.h-data: Likewise.
33742         * conform/data/stdarg.h-data: Likewise.
33743         * conform/data/stdio.h-data: Likewise.
33744         * conform/data/stdlib.h-data: Likewise.
33745         * conform/data/string.h-data: Likewise.
33746         * conform/data/strings.h-data: Likewise.
33747         * conform/data/stropts.h-data: Likewise.
33748         * conform/data/sys/ipc.h-data: Likewise.
33749         * conform/data/sys/mman.h-data: Likewise.
33750         * conform/data/sys/msg.h-data: Likewise.
33751         * conform/data/sys/resource.h-data: Likewise.
33752         * conform/data/sys/select.h-data: Likewise.
33753         * conform/data/sys/sem.h-data: Likewise.
33754         * conform/data/sys/shm.h-data: Likewise.
33755         * conform/data/sys/socket.h-data: Likewise.
33756         * conform/data/sys/stat.h-data: Likewise.
33757         * conform/data/sys/statvfs.h-data: Likewise.
33758         * conform/data/sys/time.h-data: Likewise.
33759         * conform/data/sys/timeb.h-data: Likewise.
33760         * conform/data/sys/times.h-data: Likewise.
33761         * conform/data/sys/types.h-data: Likewise.
33762         * conform/data/sys/uio.h-data: Likewise.
33763         * conform/data/sys/un.h-data: Likewise.
33764         * conform/data/sys/utsname.h-data: Likewise.
33765         * conform/data/sys/wait.h-data: Likewise.
33766         * conform/data/syslog.h-data: Likewise.
33767         * conform/data/tar.h-data: Likewise.
33768         * conform/data/termios.h-data: Likewise.
33769         * conform/data/utime.h-data: Likewise.
33770         * conform/data/utmpx.h-data: Likewise.
33771         * conform/data/varargs.h-data: Likewise.
33772         * conform/data/wchar.h-data: Likewise.
33773         * conform/data/wctype.h-data: Likewise.
33774         * conform/data/wordexp.h-data: Likewise.
33776         * include/stropts.h: New file.
33777         * include/uchar.h: New file.
33778         * include/aio.h: Changes to allow conformtest.pl to use the headers.
33779         * include/assert.h: Likewise.
33780         * include/ctype.h: Likewise.
33781         * include/dirent.h: Likewise.
33782         * include/dlfcn.h: Likewise.
33783         * include/fcntl.h: Likewise.
33784         * include/fnmatch.h: Likewise.
33785         * include/glob.h: Likewise.
33786         * include/grp.h: Likewise.
33787         * include/libio.h: Likewise.
33788         * include/locale.h: Likewise.
33789         * include/math.h: Likewise.
33790         * include/net/if.h: Likewise.
33791         * include/netdb.h: Likewise.
33792         * include/netinet/in.h: Likewise.
33793         * include/pthread.h: Likewise.
33794         * include/pwd.h: Likewise.
33795         * include/regex.h: Likewise.
33796         * include/sched.h: Likewise.
33797         * include/search.h: Likewise.
33798         * include/setjmp.h: Likewise.
33799         * include/signal.h: Likewise.
33800         * include/stdio.h: Likewise.
33801         * include/stdlib.h: Likewise.
33802         * include/string.h: Likewise.
33803         * include/sys/cdefs.h: Likewise.
33804         * include/sys/mman.h: Likewise.
33805         * include/sys/msg.h: Likewise.
33806         * include/sys/resource.h: Likewise.
33807         * include/sys/select.h: Likewise.
33808         * include/sys/socket.h: Likewise.
33809         * include/sys/stat.h: Likewise.
33810         * include/sys/statvfs.h: Likewise.
33811         * include/sys/time.h: Likewise.
33812         * include/sys/times.h: Likewise.
33813         * include/sys/uio.h: Likewise.
33814         * include/sys/utsname.h: Likewise.
33815         * include/sys/wait.h: Likewise.
33816         * include/termios.h: Likewise.
33817         * include/time.h: Likewise.
33818         * include/ulimit.h: Likewise.
33819         * include/unistd.h: Likewise.
33820         * include/utime.h: Likewise.
33821         * include/wchar.h: Likewise.
33822         * include/wctype.h: Likewise.
33823         * include/wordexp.h: Likewise.
33825         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33827         * time/time.h: TIME_UTC must be a macro.
33828         Make timespec_get available for ISO C11 only as well.
33830 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
33832         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33833         Reported by Peng Haitao <penght@cn.fujitsu.com>.
33835 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33837         * configure.in: Use -o not -a in test for unsupported multi-arch.
33839 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33841         * manual/texinfo.tex: Update to version 2012-01-19.16.
33843 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33845         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33847 2012-02-24  Roland McGrath  <roland@hack.frob.com>
33849         [BZ #13738]
33850         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33851         * manual/fdl-1.3.texi: New file.
33852         * manual/fdl-1.1.texi: File removed.
33854         [BZ #13738]
33855         * manual/libc.texinfo (FDL_VERSION): New @set.
33856         Use it for mention of FDL in cover text.
33857         (Documentation License): Use it in @include file name.
33859 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33860             Roland McGrath  <roland@hack.frob.com>
33862         [BZ #5461]
33863         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33864         not LONG_LONG_MAX and LONG_LONG_MIN.
33865         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33866         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
33867         name.
33868         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33870 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33872         [BZ #2547]
33873         [BZ #11365]
33874         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33875         manipulate bits before adding and subtracting TWO23[sx].
33876         * math/libm-test.inc (nearbyint_test): Add more tests.
33878 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33880         [BZ #2548]
33881         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33882         bits before adding and subtracting TWO23[sx].
33883         * math/libm-test.inc (rint_test): Add more tests.
33884         (rint_test_tonearest): Likewise.
33885         (rint_test_towardzero): Likewise.
33886         (rint_test_downward): Likewise.
33887         (rint_test_upward: Likewise.
33889 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33891         [BZ #10110]
33892         * include/stdc-predef.h: New file.  Extracted from features.h.
33893         * include/features.h: Include stdc-predef.h.
33894         * Makefile (headers): Add stdc-predef.h.
33895         * CONFORMANCE (Compiler limitations): Update.
33897 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33899         * manual/libc.texinfo (VERSION, UPDATED): Revert.
33901 2012-02-21  David S. Miller  <davem@davemloft.net>
33903         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33904         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33906 2012-02-20  David S. Miller  <davem@davemloft.net>
33908         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33909         using a normal save/restore sequence, rather than allocating a
33910         dummy stack frame just to store a frame pointer and restore.
33911         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33913 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33915         * manual/install.texi: Fix stray word in line-wrapped comment.
33917 2012-02-20  David S. Miller  <davem@davemloft.net>
33919         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33920         both binutils and gcc support GOTDATA.
33922         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33923         "rd %pc" in the PIC register setup sequences.
33925         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33926         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33927         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33928         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33929         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33930         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33931         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33932         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33933         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33934         (SYSCALL_ERROR_HANDLER): Likewise.
33935         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33936         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33937         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33938         (SYSCALL_ERROR_HANDLER): Likewise.
33940         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33941         (HAVE_GCC_GOTDATA): New.
33942         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33943         relocation support in both binutils and gcc.
33944         * sysdeps/sparc/elf/configure: Regenerate.
33946         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33947         * sysdeps/sparc/sparc32/elf/configure: Delete.
33948         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33949         * sysdeps/sparc/sparc64/elf/configure: Delete.
33950         * sysdeps/sparc/elf/configure.in: New file.
33951         * sysdeps/sparc/elf/configure: Generate.
33953         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33954         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33955         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33956         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33957         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33959 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33961         * manual/install.texi: Do not mention specific glibc version
33962         numbers.
33963         * manual/libc.texinfo (VERSION, UPDATED): Update.
33964         (@copying): Use @copyright{} and range of years.
33966 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33968         [BZ #13695]
33969         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33970         [crti.S not in sysdirs] (generated): Do not append.
33971         [crti.S not in sysdirs] (omit-deps): Likewise.
33972         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33973         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33974         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33975         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33976         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33977         Likewise.
33978         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33979         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33980         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33981         * csu/defs.awk: Remove file.
33982         * sysdeps/generic/initfini.c: Likewise.
33983         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33984         variable.
33985         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33986         Likewise.
33988 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33990         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33991         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33992         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33993         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33994         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33995         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33996         <bits/epoll.h>.
33997         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33998         (__EPOLL_PACKED): Define to empty if not defined by
33999         <bits/epoll.h>.
34000         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34001         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34002         bits/epoll.h.
34004 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34006         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34007         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34008         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34009         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34010         <bits/timerfd.h>.
34011         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34012         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34013         bits/timerfd.h.
34015 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
34017         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34018         in C locale.
34019         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34020         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34021         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34024 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
34026         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34027         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34029 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
34031         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34032         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34033         defined.
34034         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34035         Likewise.
34036         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34037         entry for 2.16.
34039 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
34041         * math/w_acos.c: Use non-signaling floating-point comparisons.
34042         * math/w_acosf.c: Likewise.
34043         * math/w_acosh.c: Likewise.
34044         * math/w_acoshf.c: Likewise.
34045         * math/w_acoshl.c: Likewise.
34046         * math/w_acosl.c: Likewise.
34047         * math/w_asin.c: Likewise.
34048         * math/w_asinf.c: Likewise.
34049         * math/w_asinl.c: Likewise.
34050         * math/w_atanh.c: Likewise.
34051         * math/w_atanhf.c: Likewise.
34052         * math/w_atanhl.c: Likewise.
34053         * math/w_exp2.c: Likewise.
34054         * math/w_exp2f.c: Likewise.
34055         * math/w_exp2l.c: Likewise.
34056         * math/w_j0.c: Likewise.
34057         * math/w_j0f.c: Likewise.
34058         * math/w_j0l.c: Likewise.
34059         * math/w_j1.c: Likewise.
34060         * math/w_j1f.c: Likewise.
34061         * math/w_j1l.c: Likewise.
34062         * math/w_jn.c: Likewise.
34063         * math/w_jnf.c: Likewise.
34064         * math/w_log.c: Likewise.
34065         * math/w_log10.c: Likewise.
34066         * math/w_log10f.c: Likewise.
34067         * math/w_log10l.c: Likewise.
34068         * math/w_log2.c: Likewise.
34069         * math/w_log2f.c: Likewise.
34070         * math/w_log2l.c: Likewise.
34071         * math/w_logf.c: Likewise.
34072         * math/w_logl.c: Likewise.
34073         * math/w_sqrt.c: Likewise.
34074         * math/w_sqrtf.c: Likewise.
34075         * math/w_sqrtl.c: Likewise.
34076         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34077         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34078         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34079         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34080         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34082 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34084         [BZ #9739]
34085         * manual/string.texi (strnlen): Use correct parameter name in
34086         equivalent expression.
34088 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34090         [BZ #11174]
34091         * manual/users.texi (seteuid): Consistently use neweuid for
34092         argument name.
34094 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
34096         [BZ #13704]
34097         * manual/nss.texi (Services in the NSS configuration): Correct
34098         list of services in example configuration file.
34100 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
34102         [BZ #11322]
34103         * manual/arith.texi: Remove statements about negative zero
34104         behaving identically to zero.
34106 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34108         [BZ #5993]
34109         * manual/install.texi: Do not document upgrading from libc5.
34111 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
34113         [BZ #4596]
34114         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34116 2012-02-18  David S. Miller  <davem@davemloft.net>
34118         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34119         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34120         %o7 across the call.
34121         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34122         instead.
34123         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34124         SETUP_PIC_REG_LEAF.
34125         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34126         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34127         * sysdeps/sparc/crtn.S: Likewise.
34129 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
34131         * aout/Makefile: Remove.
34133 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
34135         [BZ #13058]
34136         * manual/examples/argp-ex1.c (main): Format definition in GNU
34137         style.
34138         * manual/examples/argp-ex2.c (main): Likewise.
34139         * manual/examples/argp-ex3.c (main): Likewise.
34140         * manual/examples/argp-ex4.c (main): Likewise.
34141         * manual/examples/longopt.c (main): Use new-style prototype
34142         definition.
34143         * manual/examples/strncat.c (main): Specify return type and use
34144         (void) for arguments.
34145         * manual/examples/subopt.c (main): Use char **argv argument.
34147 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34149         [BZ #5077]
34150         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34151         rounding modes.
34153 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
34155         [BZ #6907]
34156         * manual/string.texi (strchr): Change when strchrnul is
34157         recommended.
34159 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
34161         [BZ #174]
34162         * manual/locale.texi (setlocale): Document LOCPATH.
34164 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34166         [BZ #10210]
34167         * manual/process.texi (execle): Move @dots{} before last argument.
34169 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
34171         [BZ #12047]
34172         * manual/charset.texi (Generic Charset Conversion): Fix typo
34173         (LC_TYPE -> LC_CTYPE).
34175 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
34177         [BZ #5805]
34178         * manual/arith.texi (scalbn): Use @var{} on parameter names.
34179         (scalbnf): Likewise.
34180         (scalbnl): Likewise.
34181         (scalbln): Likewise.
34182         (scalblnf): Likewise.
34183         (scalblnl): Likewise.
34184         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34185         (vwarnx): Likewise.
34186         (verr): Likewise.
34187         (verrx): Likewise.
34188         * manual/filesys.texi (telldir): Use braces around return type.
34189         * manual/llio.texi (mmap): Add space after comma.
34190         (mmap64): Likewise.
34191         * manual/math.texi (jn): Use @var{} on parameter names.
34192         (jnf): Likewise.
34193         (jnl): Likewise.
34194         (yn): Likewise.
34195         (ynf): Likewise.
34196         (ynl): Likewise.
34197         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34198         line.
34199         * manual/resource.texi (ulimit): Use @dots{} instead of literal
34200         "...".
34201         (sched_get_priority_min): Remove semicolon on @deftypefun line.
34202         (sched_get_priority_max): Likewise.
34203         * manual/signal.texi (sigvec): Add space after comma.
34204         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34205         names.
34206         (if_indextoname): Likewise.
34207         (if_freenameindex): Likewise.
34208         (sendto): Use ',' instead of '.' in prototype.
34209         * manual/startup.texi (syscall): Use @dots{} instead of literal
34210         "...".
34211         * manual/stdio.texi (__fpending): Separate initial words of
34212         paragraph from @deftypefun line.
34213         * manual/syslog.texi (syslog): Use @dots{} instead of literal
34214         "...".
34215         (vsyslog): Use @var{} on parameter names.
34216         * manual/terminal.texi (stty): Use @var{} on parameter names.
34217         * manual/users.texi (getutmp): Use @var{} on parameter names.
34218         (getutmpx): Likewise.
34220 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34222         [BZ #6884]
34223         * manual/stdio.texi (fopen): Fix typos in description of
34224         ",ccs=STRING".
34226 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
34228         [BZ #4026]
34229         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34230         get clock_id definition.
34232 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
34234         [BZ #4822]
34235         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34236         (madvise): Cast every argument to void on its own.
34238 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34240         [BZ #9902]
34241         * manual/startup.texi (Exit Status): Fix typo.
34243 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34245         [BZ #10140]
34246         * manual/examples/argp-ex1.c: Include <stdlib.h>.
34247         * manual/examples/argp-ex2.c: Likewise.
34248         * manual/examples/argp-ex3.c: Likewise.
34250 2012-02-16  Richard Henderson  <rth@redhat.com>
34252         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34253         * sysdeps/s390/s390-32/initfini.c: Remove.
34254         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34255         * sysdeps/s390/s390-64/initfini.c: Remove.
34257 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34259         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34260         compiler output for sysdeps/generic/initfini.c.
34261         * sysdeps/sh/elf/initfini.c: Remove file.
34263 2012-02-16  David S. Miller  <davem@davemloft.net>
34265         [BZ #11494]
34266         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34268         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34269         * sysdeps/sparc/crti.S: New file.
34270         * sysdeps/sparc/crtn.S: New file.
34271         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34272         * sysdeps/sparc/sparc64/Makefile: Likewise.
34274 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
34276         [BZ #3335]
34277         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34279 2012-02-15  Roland McGrath  <roland@hack.frob.com>
34281         [BZ #4822]
34282         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34284         * mach/devstream.c (cookie_io_functions_t): Macro removed.
34285         (write, read, close): Likewise.
34286         Patch by Aurelien Jarno <aurelien@aurel32.net>.
34288 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
34290         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34291         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34292         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34293         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34294         <bits/signalfd.h>.
34295         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34296         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34297         bits/signalfd.h.
34299 2012-02-14  Marek Polacek  <polacek@redhat.com>
34301         * sysdeps/x86_64/crti.S: New file.
34302         * sysdeps/x86_64/crtn.S: New file.
34303         * sysdeps/x86_64/elf/initfini.c: Remove file.
34305 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34307         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34308         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34309         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34310         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34311         <bits/inotify.h>.
34312         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34313         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34314         bits/inotify.h.
34316 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34318         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34319         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34320         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34321         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34322         <bits/eventfd.h>.
34323         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34324         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34325         bits/eventfd.h.
34327 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
34329         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34330         __feraiseexcept instead of feraiseexcept.
34332         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34333         nanosleep invocations.
34334         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34335         strings, and add error checking for a nanosleep invocations.
34337 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
34339         Replace FSF snail mail address with URLs, as per GNU coding standards.
34340         Most of the snail mail addresses were wrong anyway, and omitting
34341         them makes the source code easier to maintain.  Almost all of the
34342         changes are to license notices and to locale LC_IDENTIFICATION
34343         addresses, except for this one:
34344         * manual/libc.texinfo: In "Published by", give the FSF's URL,
34345         not its snail mail address.
34347 2012-02-09  Richard Henderson  <rth@twiddle.net>
34349         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34350         of kernel-features.h.
34352         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34354 2012-02-08  Marek Polacek  <polacek@redhat.com>
34356         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34357         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34358         * sysdeps/gnu/_G_config.h: Likewise.
34359         * sysdeps/generic/_G_config.h: Likewise.
34361 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
34363         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34364         tests.
34365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34367         * sysdeps/powerpc/powerpc32/crti.S: New file.
34368         * sysdeps/powerpc/powerpc32/crtn.S: New file.
34369         * sysdeps/powerpc/powerpc64/crti.S: New file.
34370         * sysdeps/powerpc/powerpc64/crtn.S: New file.
34372         * Makeconfig (have-initfini): Don't set.
34373         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34374         * configure.in (nopic_initfini): Don't substitute.
34375         * config.h.in (HAVE_INITFINI): Don't #undef.
34376         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34377         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34379 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
34381         Support crti.S and crtn.S provided directly by architectures.
34382         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34383         [crti.S in sysdirs] (omit-deps): Likewise.
34384         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34385         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34386         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34387         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34388         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34389         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34390         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34391         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34392         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34393         compiler output for sysdeps/generic/initfini.c.
34394         * sysdeps/i386/elf/Makefile: Remove file.
34395         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34397 2012-02-07  Marek Polacek  <polacek@redhat.com>
34399         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34400         * sysdeps/gnu/_G_config.h: Likewise.
34401         * sysdeps/mach/hurd/_G_config.h: Likewise.
34403 2012-02-07  Marek Polacek  <polacek@redhat.com>
34405         * math/Makefile (tests): Add tst-CMPLX2.
34406         * math/tst-CMPLX2.c: New file.
34408 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
34410         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34412         * math/libm-test.inc (jn_test): Add missing L suffix.
34414 2012-02-06  Marek Polacek  <polacek@redhat.com>
34416         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34417         * sysdeps/i386/fpu/e_powf.S: Likewise.
34418         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34419         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34420         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34421         * sysdeps/i386/fpu/e_pow.S: Likewise.
34422         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34423         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34424         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34425         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34426         * sysdeps/i386/fpu/e_log2.S: Likewise.
34427         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34428         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34429         * sysdeps/i386/fpu/e_powl.S: Likewise.
34430         * sysdeps/i386/fpu/s_log1p.S: Likewise.
34431         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34432         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34433         * sysdeps/i386/fpu/e_logl.S: Likewise.
34434         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34435         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34436         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34437         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34438         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34439         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34440         * sysdeps/i386/fpu/e_log.S: Likewise.
34441         * sysdeps/i386/fpu/s_cexp.S: Likewise.
34442         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34443         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34444         * sysdeps/i386/fpu/e_logf.S: Likewise.
34445         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34446         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34447         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34448         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34449         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34450         * sysdeps/i386/fpu/e_log10.S: Likewise.
34451         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34452         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34453         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34454         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34455         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34456         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34457         * sysdeps/i386/asm-syntax.h: Likewise.
34458         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34459         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34460         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34461         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34462         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34463         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34464         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34465         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34466         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34467         * sysdeps/powerpc/sysdep.h: Likewise.
34468         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34469         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34471 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34473         [BZ #411]
34474         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34476 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34478         * sysdeps/i386/sysdep.h: Include <features.h>.
34479         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34480         version.
34482 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
34484         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34485         Define.
34486         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34487         LOAD_PIC_REG_STR.
34489 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34491         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34492         (SETUP_PIC_REG): Use GET_PC_THUNK.
34493         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34494         macro.
34496 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34498         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34499         for non-PIC compilation.
34500         (SETUP_PIC_REG): Add .p2align directive.
34501         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34502         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34503         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34504         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34505         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34506         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34507         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34508         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34509         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34510         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34511         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34512         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34513         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34514         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34515         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34516         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34517         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34518         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34519         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34520         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34521         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34522         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34523         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34524         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34525         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34526         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34527         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34528         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34529         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34530         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34531         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34532         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34533         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34534         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34535         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34536         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34537         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34538         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34539         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34540         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34541         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34543 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34545         * math/tst-CMPLX.c: Include <stdio.h>.
34547 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
34549         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34550         float.
34551         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34552         * sysdeps/sparc/bits/mathdef.h: Likewise.
34554 2012-01-31  Marek Polacek  <polacek@redhat.com>
34556         * libio/libio.h: Don't define _PARAMS.
34557         * locale/programs/config.h: Don't define PARAMS.
34558         * stdlib/strtol_l.c: Likewise.
34559         (__strtol_l): Remove PARAMS from the prototype.
34561 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
34563         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
34564         names.  Just use the correct names.  Remove unnecessary wrapper
34565         functions.
34566         * malloc/arena.c: Likewise.
34567         * malloc/hooks.c: Likewise.
34569         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34570         ARENA_TEST says not to.  Simplify test for creation of a new arena.
34571         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34573 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
34575         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34576         into tail calls.
34577         (update_get_addr): New function.
34578         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34579         GET_ADDR_MODULE parameter.
34581 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34583         * crypt/cert.c: Remove __STDC__ conditionals.
34584         * crypt/crypt-entry.c: Likewise.
34585         * crypt/crypt_util.c: Likewise.
34586         * libio/filedoalloc.c: Likewise.
34587         * libio/fileops.c: Likewise.
34588         * libio/genops.c: Likewise.
34589         * libio/iofclose.c: Likewise.
34590         * libio/iofdopen.c: Likewise.
34591         * libio/iofopen.c: Likewise.
34592         * libio/iofopen64.c: Likewise.
34593         * libio/iogetdelim.c: Likewise.
34594         * libio/iopopen.c: Likewise.
34595         * libio/obprintf.c: Likewise.
34596         * libio/oldfileops.c: Likewise.
34597         * libio/oldiofclose.c: Likewise.
34598         * libio/oldiofdopen.c: Likewise.
34599         * libio/oldiofopen.c: Likewise.
34600         * libio/oldiopopen.c: Likewise.
34601         * libio/wfiledoalloc.c: Likewise.
34602         * libio/wgenops.c: Likewise.
34603         * locale/programs/xmalloc.c: Likewise.
34604         * misc/syslog.c: Likewise.
34605         * stdio-common/xbug.c: Likewise.
34606         * string/memchr.c: Likewise.
34607         * string/memcmp.c: Likewise.
34608         * string/memrchr.c: Likewise.
34609         * string/rawmemchr.c: Likewise.
34610         * sysdeps/posix/getcwd.c: Likewise.
34611         * time/strftime_l.c: Likewise.
34613 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34615         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34616         * config.make.in (config-cflags-sse2avx): Define.
34617         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34618         Fix typo.
34620 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
34622         * scripts/config.guess: Update from upstream config git repository.
34623         * scripts/config.sub: Likewise.
34625 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
34627         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34628         (EM_NUM): Update.
34629         (R_TILEPRO_*, R_TILEGX_*): New macros.
34631         * scripts/firstversions.awk: Fix bug in version range handling.
34633         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34635         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34637         * include/sys/epoll.h: New file.
34638         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34639         libc_hidden_def.
34641 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
34643         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34644         Avoid unnecessary __WORDSIZE == 64 test.
34645         (fmaxf): Use VEX format if possible.
34646         (fmax): Likewise.
34647         (fminf): Likewise.
34648         (fmin): Likewise.
34650         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34651         * math/math_private.h: Remove libc_fegetround* and
34652         libc_fesetround*.
34653         * sysdeps/i386/configure.in: Check for -msse2avx.
34654         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34655         also if SSE2AVX is defined.
34656         Remove libc_fegetround* and libc_fesetround*.
34657         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34658         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
34659         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34660         of HAS_YMM_USABLE.
34661         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34662         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34663         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34664         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34665         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34667         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34669 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34671         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34672         size is not set.
34673         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34675 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
34677         [BZ #13618]
34678         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34679         relocation.
34680         * Makeconfig (libm): Define.
34681         * elf/Makefile: Add rules to build and run tst-relsort1.
34682         * elf/tst-relsort1.c: New file.
34683         * elf/tst-relsort1mod1.c: New file.
34684         * elf/tst-relsort1mod2.c: New file.
34686 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
34688         * math/s_ldexp.c: Remove __STDC__ conditionals.
34689         * math/s_ldexpf.c: Likewise.
34690         * math/s_ldexpl.c: Likewise.
34691         * math/s_nextafter.c: Likewise.
34692         * math/s_nexttowardf.c: Likewise.
34693         * math/s_significand.c: Likewise.
34694         * math/s_significandf.c: Likewise.
34695         * math/s_significandl.c: Likewise.
34696         * math/w_jnl.c: Likewise.
34697         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34698         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34699         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34700         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34701         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34702         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34703         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34704         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34705         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34706         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34707         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34708         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34709         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34710         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34711         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34712         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34713         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34714         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34716         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34717         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34718         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34719         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34720         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34721         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34722         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34723         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34724         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34725         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34726         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34727         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34728         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34729         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34730         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34731         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34732         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34733         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34734         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34735         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34736         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34737         * sysdeps/ieee754/k_standard.c: Likewise.
34738         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34739         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34740         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34741         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34742         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34743         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34744         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34745         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34746         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34747         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34748         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34749         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34750         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34751         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34752         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34753         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34754         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34755         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34756         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34757         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34758         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34759         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34760         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34761         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34762         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34763         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34764         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34765         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34766         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34767         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34768         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34769         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34770         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34771         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34772         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34773         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34774         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34775         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34776         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34777         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34778         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34779         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34780         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34781         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34782         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34783         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34784         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34785         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34786         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34787         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34788         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34789         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34790         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34791         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34792         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34793         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34794         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34795         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34796         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34797         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34798         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34799         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34800         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34801         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34802         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34803         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34804         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34805         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34806         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34807         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34808         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34809         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34810         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34811         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34812         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34813         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34814         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34815         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34816         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34817         * sysdeps/ieee754/s_matherr.c: Likewise.
34818         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34819         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34820         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34821         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34823 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
34825         * crypt/md5.h: Remove __STDC__ conditionals.
34826         * libio/libioP.h: Likewise.
34827         * locale/programs/config.h: Likewise.
34828         * sysdeps/generic/sysdep.h: Likewise.
34829         * sysdeps/i386/asm-syntax.h: Likewise.
34830         * sysdeps/s390/asm-syntax.h: Likewise.
34831         * sysdeps/unix/sysdep.h: Likewise.
34832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34835 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
34837         * libio/libio.h: Remove __STDC__ conditionals.
34838         * malloc/obstack.h: Likewise.
34839         * math/complex.h: Likewise.
34840         * math/math.h: Likewise.
34841         * sysdeps/generic/_G_config.h: Likewise.
34842         * sysdeps/gnu/_G_config.h: Likewise.
34843         * sysdeps/mach/hurd/_G_config.h: Likewise.
34844         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34845         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34846         * sysdeps/sparc/bits/mathdef.h: Likewise.
34848 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
34850         [BZ #13583]
34851         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
34852         Clean up HAS_* macros.
34853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
34854         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34855         possible.
34856         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34857         HAS_AVX.
34858         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34859         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34860         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34861         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34862         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34864 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
34866         * elf/tst-unique3.cc (gets): Remove declaration.
34867         * elf/tst-unique3lib.cc (gets): Likewise.
34868         * elf/tst-unique3lib2.cc (gets): Likewise.
34869         * elf/tst-unique4.cc (gets): Likewise.
34871 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
34873         * include/stdio.h: Add C++ protection.  Add gets declarations and
34874         definitions.
34875         * debug/tst-chk1.c: Don't declare gets here.
34876         * stdio-common/tst-gets.c: Likewise.
34878 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34880         * posix/glob: Remove directory.
34882 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34884         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34886 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
34888         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34889         of the non-standard EPFNOSUPPORT.
34891 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34893         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34894         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34895         ANYWHERE set to 1 only on KERN_NO_SPACE error.
34897 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
34899         * wcsmbs/uchar.h: Test __STDC_VERSION__.
34901 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
34903         * nscd/aicache.c (addhstaiX): Do not cache negative results of
34904         transient errors.
34905         * nscd/grpcache.c (cache_addgr): Likewise.
34906         * nscd/hstcache.c (cache_addhst): Likewise.
34907         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34908         * nscd/pwdcache.c (cache_addpw): Likewise.
34909         * nscd/servicescache.c (cache_addserv): Likewise.
34911 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
34913         * malloc/malloc.c: Various cleanups.
34914         * malloc/hooks.c: Likewise.
34916         * stdlib/Makefile (tests): Add bug-fmtmsg1.
34917         * stdlib/bug-fmtmsg1.c: New file.
34919         * stdlib/fmtmsg.c (init): Add missing unlock.
34920         Patch by Peng Haitao <penght@cn.fujitsu.com>.
34922 2012-01-12  Marek Polacek  <polacek@redhat.com>
34924         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34925         and _GNU_SOURCE.
34927 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34929         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34930         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34931         macro to ensure uniqueness of label name.
34932         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34933         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34935 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
34937         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34939         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34940         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34941         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34942         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34944 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
34946         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34948         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34949         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34950         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34952         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34954         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34955         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34956         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34957         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34959         * math/bits/math-finite.h: Add ldexp support.
34961 2012-01-10  Marek Polacek  <polacek@redhat.com>
34963         * locale/programs/localedef.h (show_archive_content): Add noreturn
34964         attribute.
34966 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
34968         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34970 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34972         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34974         * io/Makefile (headers): Add bits/poll2.h.
34976 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
34978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34979         typo #include statement.
34981 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34983         * include/sys/cdefs.h: Define __attribute_alloc_size.
34984         * catgets/gencat.c: Add alloc_size attribute and apply consistently
34985         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34986         * elf/pldd.c: Likewise.
34987         * iconv/iconv_charmap.c: Likewise.
34988         * iconv/iconvconfig.c: Likewise.
34989         * iconv/strtab.c: Likewise.
34990         * locale/programs/locale.c: Likewise.
34991         * locale/programs/localedef.h: Likewise.
34992         * locale/programs/simple-hash.c: Likewise.
34993         * nscd/nscd.h: Likewise.
34994         * nss/makedb.c: Likewise.
34995         * sysdeps/generic/ldconfig.h: Likewise.
34996         * locale/programs/localedef.c: Remove xmalloc prototype.
34997         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34999 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35001         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35002         appropriate.
35004 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
35006         * math/Makefile (tests): Add tst-CMPLX.
35007         * math/tst-CMPLX.c: New file.
35009         * math/complex.h (CMPLXL): Fix typo.
35011         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35012         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35013         GLIBC_2.16.
35014         * debug/tst-chk1.c: Add poll and ppoll tests.
35015         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35016         * include/sys/poll.h: Add hidden proto for ppoll.
35017         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35018         * sysdeps/mach/hurd/ppoll.c: Likewise.
35019         * io/ppoll.c: Likewise.
35020         * debug/poll_chk.c: New file.
35021         * debug/ppoll_chk.c: New file.
35022         * include/bits/poll2.h: New file.
35023         * io/bits/poll2.h: New file.
35025         [BZ #1350]
35026         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35028         * configure.in: static is always set to yes.  Remove.
35029         * config.make.in: Don't set build-static.
35030         * Makeconfig: Remove use of build-static.
35031         * dlfcn/Makefile: Likewise.
35032         * elf/Makefile: Likewise.
35033         * math/Makefile: Likewise.
35034         * misc/Makefile: Likewise.
35035         * nptl/Makefile: Likewise.
35036         * sysdeps/mach/hurd/Makefile: Likewise.
35038         * configure.in: PWD_P is not used anymore.
35039         * config.make.in: Remove PWD_P entry.
35041         * configure.in: Remove last remnants of RANLIB.
35042         No need to check for signed size_t anymore.
35043         Don't set libc_commonpagesize and libc_relro_required here for Alpha
35044         and IA-64.
35045         Remove __builtin_expect test because we require at least gcc 3.4.
35046         * aclocal.m4: Likewise.
35048         * wcsmbs/mbrtoc16.c: Implement using towc function.
35049         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35050         * wcsmbs/wcsmbsload.c: Likewise.
35051         * iconv/gconv_simple.c: Likewise.
35052         * iconv/gconv_int.h: Likewise.
35053         * iconv/gconv_builtin.h: Likewise.
35054         * iconv/iconv_prog.c: Remove CHAR16 handling.
35056         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35058         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35060         * configure.in: Remove --with-elf and --enable-bounded options.
35061         Dont set base_machine for ia64.  More non-ELF conditions removed.
35062         Remove testing and setting of leading underscore information.
35063         * config.make.in (build-bounded): Set to no.
35064         * config.h.in: Remove NO_UNDERSCORES entry.
35065         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
35066         them.
35067         * csu/start.c: Remove !NO_UNDERSCORE code.
35068         * locale/localeinfo.h: Likewise.
35069         * sysdeps/generic/machine-gmon.h: Likewise.
35070         * sysdeps/generic/sysdep.h: Likewise.
35071         * sysdeps/i386/sysdep.h: Likewise.
35072         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35073         * sysdeps/mach/sysdep.h: Likewise.
35074         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35075         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35076         * sysdeps/sh/sysdep.h: Likewise.
35077         * sysdeps/sparc/sparc32/alloca.S: Likewise.
35078         * sysdeps/unix/i386/sysdep.S: Likewise.
35079         * sysdeps/unix/sparc/start.c: Likewise.
35080         * sysdeps/unix/sparc/sysdep.S: Likewise.
35081         * sysdeps/unix/sparc/sysdep.h: Likewise.
35082         * sysdeps/unix/start.c: Likewise.
35083         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35084         * sysdeps/x86_64/sysdep.h: Likewise.
35086 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
35088         [BZ #13553]
35089         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35090         for non-gcc.
35091         * argp/argp-fmtstream.h: Use const instead __const.
35092         * argp/argp.h: Likewise.
35093         * assert/assert.h: Likewise.
35094         * bits/fenv.h: Likewise.
35095         * bits/sched.h: Likewise.
35096         * bits/sigset.h: Likewise.
35097         * bits/sigthread.h: Likewise.
35098         * catgets/nl_types.h: Likewise.
35099         * conform/data/pthread.h-data: Likewise.
35100         * crypt/crypt-private.h: Likewise.
35101         * crypt/crypt.h: Likewise.
35102         * crypt/crypt_util.c: Likewise.
35103         * ctype/ctype.h: Likewise.
35104         * debug/execinfo.h: Likewise.
35105         * debug/mbsnrtowcs_chk.c: Likewise.
35106         * debug/mbsrtowcs_chk.c: Likewise.
35107         * debug/wcsnrtombs_chk.c: Likewise.
35108         * debug/wcsrtombs_chk.c: Likewise.
35109         * debug/wcstombs_chk.c: Likewise.
35110         * dirent/dirent.h: Likewise.
35111         * dlfcn/dlfcn.h: Likewise.
35112         * elf/neededtest4.c: Likewise.
35113         * grp/grp.h: Likewise.
35114         * gshadow/gshadow.h: Likewise.
35115         * iconv/gconv.h: Likewise.
35116         * iconv/gconv_int.h: Likewise.
35117         * iconv/gconv_simple.c: Likewise.
35118         * iconv/iconv.h: Likewise.
35119         * iconv/loop.c: Likewise.
35120         * iconv/skeleton.c: Likewise.
35121         * include/aio.h: Likewise.
35122         * include/aliases.h: Likewise.
35123         * include/argz.h: Likewise.
35124         * include/arpa/inet.h: Likewise.
35125         * include/assert.h: Likewise.
35126         * include/dirent.h: Likewise.
35127         * include/dlfcn.h: Likewise.
35128         * include/execinfo.h: Likewise.
35129         * include/fcntl.h: Likewise.
35130         * include/fenv.h: Likewise.
35131         * include/glob.h: Likewise.
35132         * include/grp.h: Likewise.
35133         * include/libintl.h: Likewise.
35134         * include/mntent.h: Likewise.
35135         * include/netdb.h: Likewise.
35136         * include/pwd.h: Likewise.
35137         * include/rpc/netdb.h: Likewise.
35138         * include/sched.h: Likewise.
35139         * include/search.h: Likewise.
35140         * include/shadow.h: Likewise.
35141         * include/signal.h: Likewise.
35142         * include/stdio.h: Likewise.
35143         * include/stdlib.h: Likewise.
35144         * include/string.h: Likewise.
35145         * include/sys/socket.h: Likewise.
35146         * include/sys/stat.h: Likewise.
35147         * include/sys/statfs.h: Likewise.
35148         * include/sys/statvfs.h: Likewise.
35149         * include/sys/syslog.h: Likewise.
35150         * include/sys/time.h: Likewise.
35151         * include/sys/uio.h: Likewise.
35152         * include/time.h: Likewise.
35153         * include/unistd.h: Likewise.
35154         * include/utmp.h: Likewise.
35155         * include/wchar.h: Likewise.
35156         * include/wctype.h: Likewise.
35157         * inet/aliases.h: Likewise.
35158         * inet/arpa/inet.h: Likewise.
35159         * inet/netinet/ether.h: Likewise.
35160         * inet/netinet/in.h: Likewise.
35161         * intl/libintl.h: Likewise.
35162         * io/bits/fcntl2.h: Likewise.
35163         * io/fcntl.h: Likewise.
35164         * io/ftw.h: Likewise.
35165         * io/sys/poll.h: Likewise.
35166         * io/sys/stat.h: Likewise.
35167         * io/sys/statfs.h: Likewise.
35168         * io/sys/statvfs.h: Likewise.
35169         * io/utime.h: Likewise.
35170         * libio/bits/stdio.h: Likewise.
35171         * libio/bits/stdio2.h: Likewise.
35172         * libio/libio.h: Likewise.
35173         * libio/libioP.h: Likewise.
35174         * libio/stdio.h: Likewise.
35175         * locale/lc-ctype.c: Likewise.
35176         * locale/locale.h: Likewise.
35177         * login/utmp.h: Likewise.
35178         * malloc/arena.c: Likewise.
35179         * malloc/malloc.c: Likewise.
35180         * malloc/malloc.h: Likewise.
35181         * malloc/mcheck.c: Likewise.
35182         * malloc/mtrace.c: Likewise.
35183         * math/bits/mathcalls.h: Likewise.
35184         * math/fenv.h: Likewise.
35185         * math/math_private.h: Likewise.
35186         * misc/bits/error.h: Likewise.
35187         * misc/bits/syslog.h: Likewise.
35188         * misc/err.h: Likewise.
35189         * misc/error.h: Likewise.
35190         * misc/fstab.h: Likewise.
35191         * misc/mntent.h: Likewise.
35192         * misc/regexp.h: Likewise.
35193         * misc/search.h: Likewise.
35194         * misc/sgtty.h: Likewise.
35195         * misc/sys/mman.h: Likewise.
35196         * misc/sys/syslog.h: Likewise.
35197         * misc/sys/uio.h: Likewise.
35198         * misc/sys/xattr.h: Likewise.
35199         * misc/ttyent.h: Likewise.
35200         * nis/rpcsvc/ypclnt.h: Likewise.
35201         * nss/nss.h: Likewise.
35202         * posix/bits/unistd.h: Likewise.
35203         * posix/fnmatch.h: Likewise.
35204         * posix/glob.h: Likewise.
35205         * posix/sched.h: Likewise.
35206         * posix/spawn.h: Likewise.
35207         * posix/sys/wait.h: Likewise.
35208         * posix/unistd.h: Likewise.
35209         * posix/wordexp.h: Likewise.
35210         * pwd/pwd.h: Likewise.
35211         * resolv/netdb.h: Likewise.
35212         * resource/sys/resource.h: Likewise.
35213         * rt/aio.h: Likewise.
35214         * rt/bits/mqueue2.h: Likewise.
35215         * rt/mqueue.h: Likewise.
35216         * shadow/shadow.h: Likewise.
35217         * signal/signal.h: Likewise.
35218         * socket/send.c: Likewise.
35219         * socket/sendto.c: Likewise.
35220         * socket/sys/socket.h: Likewise.
35221         * stdio-common/printf.h: Likewise.
35222         * stdlib/bits/stdlib.h: Likewise.
35223         * stdlib/fmtmsg.h: Likewise.
35224         * stdlib/monetary.h: Likewise.
35225         * stdlib/stdlib.h: Likewise.
35226         * stdlib/ucontext.h: Likewise.
35227         * streams/stropts.h: Likewise.
35228         * string/argz.h: Likewise.
35229         * string/bits/string2.h: Likewise.
35230         * string/string.h: Likewise.
35231         * string/strings.h: Likewise.
35232         * sunrpc/rpc/auth.h: Likewise.
35233         * sunrpc/rpc/auth_des.h: Likewise.
35234         * sunrpc/rpc/clnt.h: Likewise.
35235         * sunrpc/rpc/netdb.h: Likewise.
35236         * sunrpc/rpc/pmap_clnt.h: Likewise.
35237         * sunrpc/rpc/xdr.h: Likewise.
35238         * sysdeps/generic/inttypes.h: Likewise.
35239         * sysdeps/generic/net/if.h: Likewise.
35240         * sysdeps/generic/sys/swap.h: Likewise.
35241         * sysdeps/gnu/net/if.h: Likewise.
35242         * sysdeps/gnu/utmpx.h: Likewise.
35243         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35244         * sysdeps/i386/i486/bits/string.h: Likewise.
35245         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35246         * sysdeps/s390/bits/string.h: Likewise.
35247         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35248         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35249         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35250         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35251         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35252         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35253         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35254         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35255         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35256         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35257         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35258         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35259         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35260         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35261         * sysdeps/unix/sysv/linux/readv.c: Likewise.
35262         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35263         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35264         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35265         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35266         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35267         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35268         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35269         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35270         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35271         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35272         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35273         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35274         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35275         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35276         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35277         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35278         * sysvipc/sys/ipc.h: Likewise.
35279         * sysvipc/sys/msg.h: Likewise.
35280         * sysvipc/sys/sem.h: Likewise.
35281         * sysvipc/sys/shm.h: Likewise.
35282         * termios/termios.h: Likewise.
35283         * time/sys/time.h: Likewise.
35284         * time/time.h: Likewise.
35285         * wcsmbs/bits/wchar2.h: Likewise.
35286         * wcsmbs/uchar.h: Likewise.
35287         * wcsmbs/wchar.h: Likewise.
35288         * wctype/wctype.h: Likewise.
35290         [BZ #13551]
35291         * Makeconfig: Remove all but ELF support including AIX support.
35292         * Makerules: Likewise.
35293         * config.h.in: Likewise.
35294         * config.make.in: Likewise.
35295         * configure: Likewise.
35296         * configure.in: Likewise.
35297         * csu/Makefile: Likewise.
35298         * csu/version.c: Likewise.
35299         * debug/Makefile: Likewise.
35300         * dlfcn/Makefile: Likewise.
35301         * elf/Makefile: Likewise.
35302         * extra-lib.mk: Likewise.
35303         * iconv/Makefile: Likewise.
35304         * include/libc-symbols.h: Likewise.
35305         * include/shlib-compat.h: Likewise.
35306         * resolv/Makefile: Likewise.
35307         * resolv/res_libc.c: Likewise.
35308         * rt/Makefile: Likewise.
35309         * sysdeps/i386/asm-syntax.h: Likewise.
35310         * sysdeps/i386/sysdep.h: Likewise.
35311         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35312         * sysdeps/mach/sysdep.h: Likewise.
35313         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35314         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35315         * sysdeps/s390/asm-syntax.h: Likewise.
35316         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35317         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35318         * sysdeps/sh/sysdep.h: Likewise.
35319         * sysdeps/unix/sparc/sysdep.h: Likewise.
35320         * sysdeps/wordsize-32/divdi3.c: Likewise.
35321         * sysdeps/x86_64/sysdep.h: Likewise.
35323         * argp/Versions: Remove _argp_unlock_xxx.
35325         [BZ #13559]
35326         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
35327         * abilist/libBrokenLocale.abilist: Likewise.
35328         * abilist/libanl.abilist: Likewise.
35329         * abilist/libc.abilist: Likewise.
35330         * abilist/libcrypt.abilist: Likewise.
35331         * abilist/libdl.abilist: Likewise.
35332         * abilist/libm.abilist: Likewise.
35333         * abilist/libnsl.abilist: Likewise.
35334         * abilist/libpthread.abilist: Likewise.
35335         * abilist/libresolv.abilist: Likewise.
35336         * abilist/librt.abilist: Likewise.
35337         * abilist/libthread_db.abilist: Likewise.
35338         * abilist/libutil.abilist: Likewise.
35339         * abilist/libnss_db.abilist: New file.
35341         * scripts/abilist.awk: Add support for indirect functions.
35343         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35345         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35347         * shlib-versions: Remove entries for ports architectures.
35349         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
35350         files in ports.
35351         * elf/stackguard-macros.h: Remove support for IA-64.
35352         * elf/tst-auditmod1.c: Likewise.
35353         * sysdeps/generic/ldsodefs.h: Likewise.
35355         * sysdeps/unix/sysv/linux/configure.in: Ports should define
35356         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35357         configure files.
35359         [BZ #13552]
35360         * configure.in: Remove --enable-omitfp support.
35361         * FAQ.in: Adjust.
35362         * config.make.in: Likewise.
35363         * Makeconfig: Likewise.
35364         * manual/install.texi: Likewise.
35366         In case anyone cares, the IA-64 architecture could move to ports.
35367         * sysdeps/ia64/*: Removed.
35368         * sysdeps/unix/sysv/linux/ia64/*: Removed.
35369         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35371         [BZ #13555]
35372         * configure.in: Remove entries for unsupported architectures.
35374         [BZ #13533]
35375         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35376         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
35377         routines.
35378         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35379         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35380         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
35381         fall back to using wcrtomb.
35382         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35383         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
35384         renaming.
35385         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35386         * wcsmbs/tst-c16c32-1.c: New file.
35388         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35389         local variable.
35391         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35393         * elf/tst-unique3.cc: Add explicit declaration of gets.
35394         * elf/tst-unique3lib.cc: Likewise.
35395         * elf/tst-unique3lib2.cc: Likewise.
35396         * elf/tst-unique4.cc: Likewise.
35398         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35400 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
35402         [BZ #13566]
35403         * assert/assert.h (static_assert): Don't define for C++.
35404         * libio/stdio.h (gets): Do declare for C++ <= C++11.
35405         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35407 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
35409         * iconv/loop.c (single loop): Fix assertion in storing of
35410         remaining bytes.
35412         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35414 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
35416         * posix/getconf.c: Update copyright year.
35417         * nss/getent.c: Likewise.
35418         * nss/makedb.c: Likewise.
35419         * iconv/iconvconfig.c: Likewise.
35420         * iconv/iconv_prog.c: Likewise.
35421         * elf/ldconfig.c: Likewise.
35422         * elf/pldd.c: Likewise.
35423         * elf/sotruss.ksh: Likewise.
35424         * catgets/gencat.c: Likewise.
35425         * csu/version.c: Likewise.
35426         * elf/ldd.bash.in: Likewise.
35427         * elf/sprof.c (print_version): Likewise.
35428         * locale/programs/locale.c: Likewise.
35429         * locale/programs/localedef.c: Likewise.
35430         * login/programs/pt_chown.c: Likewise.
35431         * nscd/nscd.c (print_version): Likewise.
35432         * debug/xtrace.sh: Likewise.
35433         * malloc/memusage.sh: Likewise.
35434         * malloc/mtrace.pl: Likewise.
35435         * debug/catchsegv.sh: Likewise.
35437 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
35439         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35440         pure attribute.
35442 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
35444         [BZ #13533]
35445         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35446         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35447         transformations.
35448         * iconv/gconv_int.h: Likewise.
35449         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35450         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35451         from libc for GLIBC_2.16.
35452         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35453         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35454         * wcsmbs/uchar.h: Really define mbstate_t.
35455         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35456         * wcsmbs/c16rtomb.c: New file.
35457         * wcsmbs/mbrtoc16.c: New file.
35458         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35459         for C/POSIX locale.
35460         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35461         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35463         * wcsmbs/wchar.h: Add missing __restrict.
35465 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35467         [BZ #13532]
35468         * time/Makefile (routines): Add timespec_get.
35469         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35470         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
35471         timespec for ISO C11.
35472         * time/timespec_get.c: New file.
35473         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35474         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35476         [BZ #13531]
35477         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35478         * stdlib/stdlib.h: Declare aligned_alloc.
35479         * Versions.def: Add GLIBC_2.16 for libc.
35480         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35482         [BZ 13527]
35483         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35484         ISO C11.
35486         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35487         code.
35489         [BZ #13528]
35490         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35492         [BZ #13529]
35493         * assert/assert.h (static_assert): Define.
35495         * version.h: Update for 2.16 development version.
35497         [BZ #13526]
35498         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35499         _ISOC11_SOURCE.
35501         * version.h (RELEASE): Bump for 2.15 release.
35502         * include/features.h (__GLIBC_MINOR__): Bump to 15.
35504         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35505         Patch by Marek Polacek <mpolacek@redhat.com>.
35507         * bits/byteswap.h: Protect long long constants with __extension__.
35508         * sysdeps/i386/bits/byteswap.h: Likewise.
35509         * sysdeps/ia64/bits/byteswap.h: Likewise.
35510         * sysdeps/s390/bits/byteswap.h: Likewise.
35511         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35513 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35515         [BZ #13540]
35516         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35517         destination buffer.
35518         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35520 2011-12-23  Marek Polacek  <polacek@redhat.com>
35522         * elf/dl-addr.c (determine_info): Add inline keyword.
35523         * elf/tst-auditmod4b.c (check_avx): Likewise.
35524         * elf/tst-auditmod6b.c (check_avx): Likewise.
35525         * elf/tst-auditmod6c.c (check_avx): Likewise.
35526         * elf/tst-auditmod7b.c (check_avx): Likewise.
35528 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35530         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35531         !__SSE_MATH__.
35533 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35535         [BZ #13540]
35536         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35537         processing for last bytes.
35539 2011-08-06  Bruno Haible  <bruno@clisp.org>
35541         [BZ #13061]
35542         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35543         U+0385, not to U+1FEE.
35545         [BZ #13062]
35546         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35547         entry for U+00A5 U+0301.
35549 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35551         [BZ #13166]
35552         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35553         buffer for the output is too small.
35555         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35556         optimization.
35558         [BZ #13185]
35559         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35560         SSE flags if possible.
35562 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35564         [BZ #13540]
35565         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35566         processing for last bytes.
35568 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
35570         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35571         (syscall-list-default-options, syscall-list-default-condition)
35572         (syscall-list-includes): Define.
35573         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35574         list of ABIs and options and #if conditions for each ABI.  Do not
35575         handle common syscalls between ABIs specially.
35576         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35577         Remove.
35578         (syscall-list-variants, syscall-list-32bit-options)
35579         (syscall-list-32bit-condition, syscall-list-64bit-options)
35580         (syscall-list-64bit-condition): Define.
35581         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35582         (syscall-list-variants, syscall-list-32bit-options)
35583         (syscall-list-32bit-condition, syscall-list-64bit-options)
35584         (syscall-list-64bit-condition): Define.
35585         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35586         Remove.
35587         (syscall-list-variants, syscall-list-32bit-options)
35588         (syscall-list-32bit-condition, syscall-list-64bit-options)
35589         (syscall-list-64bit-condition): Define.
35590         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35591         Remove.
35592         (syscall-list-variants, syscall-list-32bit-options)
35593         (syscall-list-32bit-condition, syscall-list-64bit-options)
35594         (syscall-list-64bit-condition): Define.
35596 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35598         * locale/iso-639.def: Add brx entry.
35600         [BZ #13328]
35601         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35602         Proposed by Mariusz_Cukr <marcukr@op.pl>.
35604         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35605         __feraiseexcept_renamed.
35607 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35609         [BZ #13538]
35610         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35611         EPOLLET with unsigned values.
35612         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35613         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35615         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35616         to large cancellation.
35617         * math/s_cacoshf.c: Likewise.
35618         * math/s_cacoshl.c: Likewise.
35620 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
35622         [BZ #13305]
35623         [BZ #12786]
35624         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35625         * math/s_cacoshf.c: Likewise.
35626         * math/s_cacoshl.c: Likewise.
35628 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35630         [BZ #13439]
35631         * iconv/gconv.h: Define __GCONV_SWAP.
35632         * iconvdata/unicode.c: The swap bit must be stored in __flags.
35633         * iconvdata/utf-16.c: Likewise.
35634         * iconvdata/utf-32.c: Likewise.
35636 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35638         [BZ #13524]
35639         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35640         numerator after shifting it by one limb.
35642 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
35644         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35645         under [__USE_EXTERN_INLINES].
35647 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35649         [BZ #13446]
35650         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35652 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35654         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35655         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35656         optimized code.
35657         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35658         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35659         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35660         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35661         for strncasecmp/strncasecmp_l compilation.
35662         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35663         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35665 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
35667         [BZ #13484]
35668         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35669         of __asm__.
35671 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35673         [BZ #13506]
35674         * time/tzfile.c (__tzfile_read): Check values from file header.
35676 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35678         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35679         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35680         * powerpc/powerpc32/dl-start.S: Likewise.
35681         * powerpc/powerpc32/elf/start.S: Likewise.
35682         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35683         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35684         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35685         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35686         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35687         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35688         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35689         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35690         * powerpc/powerpc32/fpu/s_round.S: Likewise.
35691         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35692         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35693         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35694         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35695         * powerpc/powerpc32/memset.S: Likewise.
35696         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35697         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35698         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35699         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35700         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35701         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35702         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35703         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35704         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35705         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35706         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35707         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35708         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35710 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35712         * math/libm-test.inc: Added more nearbyint tests.
35713         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35714         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35715         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35716         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35718 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
35720         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35721         FD_CLOEXEC.
35723 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35725         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35726         Add wcscpy-ssse3 wcscpy-c.
35727         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35728         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35729         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35730         * sysdeps/x86_64/wcschr.S: New file.
35731         * sysdeps/x86_64/wcsrchr.S: New file.
35732         * string/test-strcmp.c: Remove checking of wcscmp function for
35733         wrong alignments.
35734         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35735         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35736         wcsrchr-sse2 wcsrchr-c.
35737         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35738         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35739         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35740         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35741         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35742         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35743         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35744         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35745         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35746         * wcsmbc/wcschr.c (WCSCHR): New macro.
35748 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35750         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35751         * wcsmbs/test-wcsrchr.c: New file.
35752         * string/test-strrchr.c: Add wcsrchr support.
35753         (WIDE): New macro.
35754         * wcsmbs/test-wcscpy.c: New file.
35755         * string/test-strcpy.c: Add wcscpy support.
35756         (WIDE): New macro.
35758 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
35760         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35761         the inner loop.
35763 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
35765         [BZ #13472]
35766         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35768 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
35770         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
35771         Minor optimizations.
35773         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35774         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35775         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35777 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
35779         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35780         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35781         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35782         for gcc to avoid warnings.
35783         * inet/Makefile (tests): Add tst-checks.
35784         * inet/tst-checks.c: New file.
35786         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35787         warning.
35789         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35790         __wmemcmp_sse2.
35792         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35793         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35795         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35797 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
35799         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35800         problem.
35802         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35804 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
35806         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35807         conditional on GCC version.
35808         (__arch_compare_and_exchange_val_8_acq)
35809         (__arch_compare_and_exchange_val_16_acq)
35810         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35811         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35812         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35814 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
35816         * sysdeps/sh/backtrace.c: New file.
35818 2011-12-02  Andreas Schwab  <schwab@redhat.com>
35820         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
35821         parenthesis.
35823 2011-12-01  Andreas Schwab  <schwab@redhat.com>
35825         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35826         falling back to utime.
35828 2011-11-30  Andreas Schwab  <schwab@redhat.com>
35830         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35831         expectations for float.
35833 2011-11-29  Andreas Schwab  <schwab@redhat.com>
35835         * locale/weight.h (findidx): Add parameter len.
35836         * locale/weightwc.h (findidx): Likewise.
35837         * posix/fnmatch_loop.c (FCT): Adjust caller.
35838         * posix/regcomp.c (build_equiv_class): Likewise.
35839         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35840         * posix/regexec.c (check_node_accept_bytes): Likewise.
35841         * string/strcoll_l.c (STRCOLL): Likewise.
35842         * string/strxfrm_l.c (STRXFRM): Likewise.
35844 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
35846         * Makefile.in: Remove CVSOPT handling.
35847         * configure.in: Remove use of AC_REVISION.
35848         * iconvdata/Makefile (distribute): No need to filter out CVS.
35849         * scripts/list-sources.sh: Remove CVS, subversion and monotone
35850         handling.
35852 2011-11-16  Andreas Schwab  <schwab@redhat.com>
35854         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35855         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35856         [USE_AS_STRNCASECMP_L]: Likewise.
35857         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35858         NO_TLS_DIRECT_SEG_REFS.
35859         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35860         Fix argument offsets for non-PIC.
35861         [USE_AS_STRNCASECMP_L]: Likewise.
35862         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35863         NO_TLS_DIRECT_SEG_REFS.
35865 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
35867         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35868         O_CLOEXEC.
35869         * locale/loadlocale.c (_nl_load_locale): Likewise.
35871 2011-11-15  Andreas Schwab  <schwab@redhat.com>
35873         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35874         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35875         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35876         (SYSCALL_GETTIME): Set errno on error.
35878         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35879         count references to noai6ai_cached.
35881 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
35883         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35885         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35886         FD_CLOEXEC for /proc/self/maps.
35888         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35889         FD_CLOEXEC for /proc/meminfo.
35891         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35892         gai.conf.
35894         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
35895         FD_CLOEXEC for given file.
35897         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35899         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35900         FD_CLOEXEC for /etc/hosts.
35901         (_gethtent): Likewise.
35903         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35905         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35906         cancellation and set FD_CLOEXEC for /etc/netgroup.
35908         * nss/nss_files/files-key.c (search): Don't allow cancellation when
35909         reading /etc/publickey.
35911         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35912         allow cancellation when reading /etc/group.
35914         * nss/nss_files/files-alias.c (internal_setent): Don't allow
35915         cancellation.
35916         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
35918         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35919         when using data file.
35921         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35923         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35924         (write_nis_obj): Use "c" and "e" in fopen.
35926         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35928         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35930         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35932         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35934         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35935         locale.alias.
35937         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35939         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35941         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35943         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35944         file parsing and set FD_CLOEXEC.
35946 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35948         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35950 2011-11-14  Andreas Schwab  <schwab@redhat.com>
35952         * malloc/arena.c (arena_get2): Don't call reused_arena when
35953         _int_new_arena failed.
35955 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35957         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35958         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35959         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35960         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35961         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35962         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35963         to compile strcasecmp and strncasecmp.
35964         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35965         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35967         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35969 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
35971         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35972         locale-defines.sym to gen-as-const-headers.
35973         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35974         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35975         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35976         to compile strcasecmp and strncasecmp.
35977         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35978         strcasecmp_l and strncasecmp_l.
35979         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35980         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35981         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35982         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35983         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35984         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35985         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35986         * sysdeps/i386/i686/multiarch/strncase.S: New file.
35987         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35988         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35989         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35991 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
35993         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35994         result of SYSDEP_GETTIME_CPU to retval.
35995         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35996         parameter list to macro.  Remove trailing semicolon.  Adjust users.
35998         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35999         variable.
36001         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36002         mantissa words.
36003         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36005         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36006         from unused variable.
36008         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36009         DWARF definitions.
36010         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36011         for assembling.
36013         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36014         over namespaces.
36016         * sunrpc/rpc_prot.c (rejected): Fix case value.
36018         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36019         unsigned long long int to avoid warnings in shift.
36021         * posix/regex_internal.c (re_string_reconstruct): Actually use result
36022         of use of trans.
36023         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36024         variable tmp.
36026         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36027         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36028         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36030         * nis/nis_table.c (nis_list): Use variable of correct type for
36031         result of __follow_path call.
36033 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36035         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36036         of math functions ceil, trunc, floor, round, and sqrt, when
36037         avaliable on the platform.
36038         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36039         name clash.
36040         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36041         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36042         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36044 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
36046         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36047         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36049 2011-11-11  Roland McGrath  <roland@hack.frob.com>
36051         * include/unistd.h: Fix __readlink return type.
36052         Reported by Chris Metcalf <cmetcalf@tilera.com>.
36054 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
36056         * stdlib/ucontext.h: Undo last change for makecontext.
36058 2011-11-11  Andreas Schwab  <schwab@redhat.com>
36060         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36062         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36063         * setjmp/setjmp.h: Mark functions as non-leaf.
36064         * setjmp/bits/setjmp2.h: Likewise.
36065         * stdlib/ucontext.h: Likewise.
36067 2011-11-10  Andreas Schwab  <schwab@redhat.com>
36069         * malloc/arena.c (_int_new_arena): Don't increment narenas.
36070         (reused_arena): Don't check arena limit.
36071         (arena_get2): Atomically check arena limit.
36073 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
36075         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36076         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36078         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36079         instructions.
36081 2011-11-07  Andreas Schwab  <schwab@redhat.com>
36083         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36084         handler when locking.
36086         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36087         Fix size of allocated buffer.
36089 2011-11-04  Andreas Schwab  <schwab@redhat.com>
36091         [BZ #10103]
36092         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36093         declarations for long double functions.
36094         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36096         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36098 2011-11-03  Andreas Schwab  <schwab@redhat.com>
36100         * nscd/nscd.c (main): Don't start AVC thread until credentials are
36101         installed.
36103         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36104         is disabled.
36106 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36108         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36110 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36112         * include/alloca.h (stackinfo_alloca_round): Define.
36113         (extend_alloca): Use it.
36114         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36115         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36116         here.
36118         * scripts/check-local-headers.sh: Ignore libaudit.h.
36120         * nscd/Makefile (extra-objs): Make recursively expanded.
36122 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
36124         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36125         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36127         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36128         * posix/tst-rfc3484-2.c: Likewise.
36129         * posix/tst-rfc3484-3.c: Likewise.
36131         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36132         process_vm_writev.
36133         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36134         process_vm_writev.
36135         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36136         process_vm_writev from libc using GLIBC_2.15 version.
36138         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36140 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
36142         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36143         stack usage.
36145 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
36147         [BZ #13367]
36148         * nss/getent.c (initgroups_keys): Show error message in case no group
36149         names are given.
36151         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36152         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36153         __bump_nl_timestamp.
36154         * nscd/connections (nscd_init): When host database is served open
36155         netlink socket and request notification about configuration changes.
36156         (main_loop_poll): Track netlink file descriptor and bump timestamp
36157         in case data becomes available.
36158         (main_loop_epoll): Likewise.
36159         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36160         (database_pers_head): Add extra_data fileds.
36161         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36162         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36163         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36164         Adjust caller.
36165         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36166         in6ai data, call __free_in6ai.
36167         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36168         Add -DHAVE_NETLINK.
36169         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
36170         interface information.  Reuse previous data if netlink timestamp
36171         is not changed.
36172         (__bump_nl_timestamp): New function.
36173         (__free_in6ai): New function.
36175 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
36177         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36178         close_not_cancel_no_status here.
36179         (__check_pf): Reorganize code a bit to not call close twice if OOM.
36181 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36183         [BZ #13276]
36184         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36185         return value.
36187         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36188         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36189         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36191 2011-07-03  Andreas Jaeger  <aj@suse.de>
36193         [BZ #10709]
36194         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36195         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36196         * math/libm-test.inc (sin_test): Add test case.
36198 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36200         [BZ #13337]
36201         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36202         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36204         * elf/chroot_canon.c (chroot_canon): Cleanups.
36206         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36208         [BZ #13335]
36209         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36210         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36212         * string/test-strchr.c: Make usable for strchrnul testing.
36213         * string/test-strchrnul.c: New file.
36214         * string/Makefile (strop-tests): Add strchrnul.
36216         * po/it.po: Update from translation team.
36217         * po/es.po: Likewise.
36219 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
36221         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36222         the three constants needed as parameters.  Drop the others.
36223         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36224         __m128i_strloadu_tolower.
36225         Create and initialize variable zero and use it in all the places
36226         where _mm_setzero_si128 was used.
36228         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36229         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36230         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36231         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36232         anymore.
36233         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36234         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36235         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36236         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36237         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36238         __mpranred, __mptan.
36239         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36240         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36241         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36242         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36243         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36244         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36245         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36246         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36247         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36249 2011-10-28  Andreas Schwab  <schwab@redhat.com>
36251         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36252         redefine if SHARED.
36253         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36255         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36256         wide char related routines to wcsmbs subdir.
36258 2011-10-27  Andreas Schwab  <schwab@redhat.com>
36260         [BZ #13344]
36261         * misc/sys/cdefs.h (__THROWNL): Define.
36262         * posix/unistd.h: Use __THREADNL instead of __THREAD
36263         for memory synchronization functions.
36265 2011-10-26  Roland McGrath  <roland@hack.frob.com>
36267         [BZ #13349]
36268         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36269         doesn't exist.
36270         * manual/stdio.texi (Obstack Streams): Node removed.
36272 2011-10-26  Andreas Schwab  <schwab@redhat.com>
36274         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36275         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36276         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36278         * math/math_private.h (math_force_eval): Allow non-addressable
36279         arguments.
36280         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36282 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36284         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36285         file is not needed.
36287         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36288         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36289         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36290         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36291         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36292         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36293         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36294         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36295         Add AVX variants.
36296         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36297         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36298         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36299         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36300         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36301         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36302         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36303         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36304         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36305         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36306         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36307         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36308         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36309         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36310         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36311         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36312         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36313         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36314         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36316         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36317         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
36319         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36320         place.  Use VEX encoding when compiling for AVX.
36322 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36324         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36325         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36327         * string/test-strchr.c (do_test): Don't generate NUL bytes.
36329 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36331         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36332         useless if() expression.
36333         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36334         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36335         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36336         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36337         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36338         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36339         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36340         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36341         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36342         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36343         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36344         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36345         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36346         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36347         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36348         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36349         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36350         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36351         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36353         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36355 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36357         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36358         condition.
36359         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36361 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36363         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36364         .text section.  Avoid duplicate constants.
36365         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36366         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36367         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36368         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36369         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36370         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36371         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36372         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36373         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36374         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36375         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36376         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36377         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36378         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36379         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36380         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36381         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36382         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36383         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36384         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36385         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36386         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36387         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36388         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36389         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36390         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36391         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36392         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36393         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36394         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36395         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36396         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36397         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36398         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36399         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36400         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36401         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36402         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36403         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36404         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36405         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36406         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36407         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36408         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36409         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36411 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
36413         * sysdeps/x86_64/dla.h: Move to ...
36414         * sysdeps/x86_64/fpu/dla.h: ...here.
36415         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36416         situations.  Use __builtin_fma only for gcc 4.6 and up.
36418         * config.make.in: Add have-mfma4 entry.
36419         * configure.in: Substitute libc_cv_cc_fma4.
36420         * math/Makefile (dbl-only-routines): Add sincostab.
36421         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36422         Use __sincostab not sincos.
36423         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36424         name is a macro.
36425         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36426         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36427         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36428         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
36429         using __copysign.
36430         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
36431         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
36432         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36433         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36434         and __inv.
36435         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36436         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36437         __copysign.
36438         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
36439         define aliases when function name is a macro.
36440         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36441         sysdeps/ieee754/dbl-64/sincos.tbl.
36442         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36443         fma4-enabled routines.
36444         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36445         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36446         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36447         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36448         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36449         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36450         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36451         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36452         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36453         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36454         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36455         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36456         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36457         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36458         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36459         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36460         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36461         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36462         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36463         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36464         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36465         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36466         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36467         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36468         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36469         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36470         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36471         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36472         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36473         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36475         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36476         rename.
36477         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36478         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36479         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36480         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36481         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36482         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36483         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36484         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36486 2011-10-24  Andreas Schwab  <schwab@redhat.com>
36488         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36490 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36492         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36494         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36495         prediction.
36496         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36498         * string/strnlen.c: Don't define STRNLEN, reverse logic.
36499         Remove unused variable magic_bits.
36500         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36502         * string/strnlen.c: Define and use STRNLEN macro.
36503         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36504         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36505         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36506         * wcsmbs/wcslen.c: Define and use WCSLEN.
36507         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36508         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36509         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36510         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36511         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36512         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36513         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36515 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36517         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36518         strnlen-sse2-no-bsf.
36519         Rename strlen-no-bsf to strlen-sse2-no-bsf.
36520         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36521         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36522         Add strnlen support.
36523         (USE_AS_STRNLEN): New macro.
36524         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36525         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36526         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36527         * sysdeps/x86_64/wcslen.S: New file.
36529 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
36531         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36532         XMM-moves are used for copying on small sizes.
36534 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36536         * wcsmbs/Makefile (strop-tests): Add wcschr.
36537         * wcsmbs/test-wcschr.c: New file.
36538         * string/test-strchr.c: Update.
36539         Add wcschr support.
36540         (WIDE): New macro.
36542 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36544         * wcsmbs/Makefile (strop-tests): Add wcslen.
36545         * wcsmbs/test-wcslen.c: New file.
36546         * string/test-strlen.c: Update.
36547         Add wcslen support.
36548         (WIDE): New macro.
36550 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36552         * po/it.po: Update from translation team.
36554 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36556         * sysdeps/x86_64/wcscmp.S: Update.
36557         Fix wrong comparison semantics.
36558         wcscmp shall use signed comparison not unsigned.
36559         Don't use substraction to avoid overflow bug.
36560         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36561         * wcsmbc/wcscmp.c: Likewise.
36562         * string/test-strcmp.c: Likewise.
36563         Add new tests to check cases with negative values.
36565 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36567         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36568         * sysdeps/x86_64/dla.h: ...here.  New file.
36569         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36570         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36571         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36572         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36573         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36574         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36575         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36576         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36577         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36579 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
36581         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36582         __ynl_finite aliases.
36584 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36588         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36589         define DLA_FMA.
36590         [DLA_FMA] (EMULV): Use DLA_FMA.
36591         [DLA_FMA] (MUL12): Use EMULV.
36592         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36593         that are not needed.
36594         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36595         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36596         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36597         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36598         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36599         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36600         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36602 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
36604         * math/s_nan.c: Undef __nan.
36605         * math/s_nanf.c: Undef __nanf.
36606         * math/s_nanl.c: Undef __nanl.
36607         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36608         "math_private.h".
36610 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36612         * math/s_catan.c: Add branch predictions.
36613         * math/s_catanf.c: Likewise.
36614         * math/s_catanh.c: Likewise.
36615         * math/s_catanhf.c: Likewise.
36616         * math/s_catanhl.c: Likewise.
36617         * math/s_catanl.c: Likewise.
36618         * math/s_cexp.c: Likewise.
36619         * math/s_cexpf.c: Likewise.
36620         * math/s_cexpl.c: Likewise.
36621         * math/s_clog.c: Likewise.
36622         * math/s_clog10.c: Likewise.
36623         * math/s_clog10f.c: Likewise.
36624         * math/s_clog10l.c: Likewise.
36625         * math/s_clogf.c: Likewise.
36626         * math/s_clogl.c: Likewise.
36627         * math/s_csqrt.c: Likewise.
36628         * math/s_csqrtf.c: Likewise.
36629         * math/s_csqrtl.c: Likewise.
36630         * math/s_ctanf.c: Likewise.
36631         * math/s_ctanh.c: Likewise.
36632         * math/s_ctanhf.c: Likewise.
36633         * math/s_ctanhl.c: Likewise.
36634         * math/s_ctanl.c: Likewise.
36636         * math/math_private.h: Define __nan, __nanf, __nanl.
36637         * math/s_cacosh.c: Include <math_private.h>.
36638         * math/s_cacoshl.c: Likewise.
36639         * math/s_casinh.c: Likewise.
36640         * math/s_casinhf.c: Likewise.
36641         * math/s_casinhl.c: Likewise.
36642         * math/s_ccos.c: Rely entire on ccosh.
36643         * math/s_ccosf.c: Rely entire on ccoshf.
36644         * math/s_ccosl.c: Rely entirely on ccoshl.
36645         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
36646         Remove tests for FE_INVALID.
36647         * math/s_ccoshf.c: Likewise.
36648         * math/s_ccoshl.c: Likewise.
36649         * math/s_csin.c: Likewise.
36650         * math/s_csinf.c: Likewise.
36651         * math/s_csinh.c Likewise.
36652         * math/s_csinhf.c: Likewise.
36653         * math/s_csinhl.c: Likewise.
36654         * math/s_csinl.c: Likewise.
36655         * math/s_ctan.c: Likewise.
36656         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36657         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36658         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36660 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
36662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36663         compilation problems.
36665         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36666         __builtin_expect.
36668 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
36670         * sysdeps/i386/configure.in: Test for -mfma4 option.
36671         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36672         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36673         COMMON_CPUID_INDEX_80000001.
36674         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36675         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36676         use it if FMA3 is not supported.
36677         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36679         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36680         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36682 2011-10-20  Andreas Schwab  <schwab@redhat.com>
36684         [BZ #12892]
36685         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36686         it would create a cycle with a link time dependency.
36688 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
36690         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36691         instruction.
36692         * string/Makefile (strop-tests): Add rawmemchr.
36693         * string/test-rawmemchr.c: New file.
36695         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36696         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
36697         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
36698         when compiling str{,n}casecmp and when AVX is available.  Hook up
36699         new optimized code in initializers.
36701 2011-10-19  Andreas Schwab  <schwab@redhat.com>
36703         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36704         __feraiseexcept instead of feraiseexcept.
36706 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
36708         * math/math_private.h: Define defaults for libc_fetestexcept and
36709         libc_feupdateenv.
36710         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36711         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36712         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36713         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36714         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36715         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36716         libc_fetestexcept and libc_feupdateenv.
36718         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36719         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36720         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36721         * sysdeps/x86_64/fpu/math_private.h: Define special version of
36722         libc_feholdexcept_setround.
36724         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36725         Add s_nearbyint-c and s_nearbyintf-c.
36726         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36727         nearbyintf inlines.
36728         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36729         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36730         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36731         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36733         * math/math_private.h: Define defaults for libc_fegetround,
36734         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36735         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36736         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36737         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36738         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36739         standard functions.
36740         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36741         Remove comments and hacks for old compiler versions.
36742         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36743         libc_fegetround, libc_fesetround, libc_feholdexcept, and
36744         libc_feholdexceptl.
36746 2011-10-18  Andreas Schwab  <schwab@redhat.com>
36748         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
36749         (__feraiseexcept_renamed): Add __NTH.
36750         (feraiseexcept): Add __NTH.  Rename local variables to fix
36751         namespace violations.
36753 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
36755         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36757         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36759         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36760         recently added interfaces.
36761         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36763         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36764         about macro parameter expansion.
36766         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36767         __NO_MATH_INLINES is defined.  Cleanups.
36769         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36770         and __floorf is target has SSE4.1.
36771         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36772         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36773         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36774         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36776         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36777         name.
36778         (floorf): Likewise.
36780         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36782 2011-10-17  Andreas Schwab  <schwab@redhat.com>
36784         * misc/sys/cdefs.h: Fix last change.
36786         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36787         database lookup.
36789 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
36791         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36793         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36794         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36795         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36796         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36797         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36798         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36799         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36800         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36801         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36802         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36803         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36804         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36805         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36806         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36807         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36808         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36809         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36810         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36811         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36812         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36813         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36814         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36816         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36817         ceil, ceilf, floor, floorf.
36819         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36820         Perform IRELATIVE relocations last.
36822         * elf/do-rel.h: Add another parameter nrelative, replacing the
36823         local variable with the same name.  Change name of the function
36824         to end in Rel or Rela (uppercase).
36825         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36826         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
36827         elf_dynamic_do_##reloc function.
36829 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36831         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36832         is sufficient, at least on modern CPUs.
36834         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36836         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36837         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36839         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36840         __expl_finite.
36841         * math/bits/math-finite.h: Add entries for exp.
36842         * math/e_expl.c: Add __*_finite alias.
36843         * sysdeps/i386/fpu/e_exp.S: Likewise.
36844         * sysdeps/i386/fpu/e_expf.S: Likewise.
36845         * sysdeps/i386/fpu/e_expl.c: Likewise.
36846         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36847         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36848         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36849         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36850         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36851         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36852         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36854         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36855         is sufficient, at least on modern CPUs.
36857         * ctype/ctype-info.c (__ctype_init): Define.
36858         * include/ctype.h (__ctype_init): Declare.
36859         (__ctype_b_loc): The variable is always initialized.
36860         (__ctype_toupper_loc): Likewise.
36861         (__ctype_tolower_loc): Likewise.
36862         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36863         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36865 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
36867         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36869         * configure.in: Also look in $cxxmachine/include for C++ system
36870         headers.
36872 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36874         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36875         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36876         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36877         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
36878         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36879         (USE_AS_WMEMCMP): New macro.
36880         Fixing indents.
36881         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36882         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36883         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36884         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36885         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36886         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36887         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36888         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36889         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36890         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36891         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36892         (USE_AS_WMEMCMP): New macro.
36893         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36894         * sysdeps/string/test-memcmp.c: Update.
36895         Fix simple_wmemcmp.
36896         Add new tests.
36897         * wcsmbs/wmemcmp.c: Update.
36898         (WMEMCMP): New macro.
36899         Fix overflow bug.
36901 2011-10-12  Andreas Jaeger  <aj@suse.de>
36903         [BZ #13268]
36904         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36906 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36908         * libio/iofwide.c (do_length): Avoid warning.
36910         * ctype/ctype.h (__isctype_f): Add missing __THROW.
36912 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
36914         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36916         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36917         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36918         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36919         * sysdeps/i386/i686/fpu/e_log.S: New file.
36920         * sysdeps/i386/i686/fpu/e_logf.S: New file.
36921         * sysdeps/i386/i686/fpu/e_logl.S: New file.
36923         * ctype/ctype.h: Add support for inlined isXXX functions when
36924         compiling C++ code.
36926 2011-10-14  Andreas Schwab  <schwab@redhat.com>
36928         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36930         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36932 2011-10-13  Roland McGrath  <roland@hack.frob.com>
36934         [BZ #13291]
36935         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36937 2011-10-13  Andreas Schwab  <schwab@redhat.com>
36939         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36940         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36941         feraiseexcept.
36943         * sysdeps/x86_64/memrchr.S: Check for zero size.
36945         * string/stratcliff.c: Add memrchr tests.
36947 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36949         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36950         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36951         rawmemchr-sse2 rawmemchr-sse2-bsf.
36952         * sysdeps/i386/i686/multiarch/memchr.S: New file.
36953         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36954         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36955         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36956         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36957         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36958         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36959         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36960         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36961         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36962         * string/memrchr.c (MEMRCHR): New macro.
36964 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
36966         Add integration with gcc's -ffinite-math-only and optimize wrapper
36967         functions in libm.
36968         * Versions.def: Define GLIBC_2.15 version for libm.
36969         * math/Makefile (headers): Add bits/math-finite.h.
36970         * math/bits/math-finite.h: New file.
36971         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36972         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36973         * math/e_acoshl.c: Add __*_finite alias.
36974         * math/e_acosl.c: Likewise.
36975         * math/e_asinl.c: Likewise.
36976         * math/e_atan2l.c: Likewise.
36977         * math/e_atanhl.c: Likewise.
36978         * math/e_coshl.c: Likewise.
36979         * math/e_exp10.c: Likewise.
36980         * math/e_exp10f.c: Likewise.
36981         * math/e_exp10l.c: Likewise.
36982         * math/e_exp2l.c: Likewise.
36983         * math/e_fmodl.c: Likewise.
36984         * math/e_gammal_r.c: Likewise.
36985         * math/e_hypotl.c: Likewise.
36986         * math/e_j0l.c: Likewise.
36987         * math/e_j1l.c: Likewise.
36988         * math/e_jnl.c: Likewise.
36989         * math/e_lgammal_r.c: Likewise.
36990         * math/e_log10l.c: Likewise.
36991         * math/e_log2l.c: Likewise.
36992         * math/e_logl.c: Likewise.
36993         * math/e_powl.c: Likewise.
36994         * math/e_sinhl.c: Likewise.
36995         * math/e_sqrtl.c: Likewise.
36996         * math/e_scalb.c: Completely rewritten and optimized.
36997         * math/e_scalbf.c: Likewise.
36998         * math/e_scalbl.c: Likewise.
36999         * math/w_acos.c: Likewise.
37000         * math/w_acosf.c: Likewise.
37001         * math/w_acosl.c: Likewise.
37002         * math/w_acosh.c: Likewise.
37003         * math/w_acoshf.c: Likewise.
37004         * math/w_acoshl.c: Likewise.
37005         * math/w_asin.c: Likewise.
37006         * math/w_asinf.c: Likewise.
37007         * math/w_asinl.c: Likewise.
37008         * math/w_atan2.c: Likewise.
37009         * math/w_atan2f.c: Likewise.
37010         * math/w_atan2l.c: Likewise.
37011         * math/w_atanh.c: Likewise.
37012         * math/w_atanhf.c: Likewise.
37013         * math/w_atanhl.c: Likewise.
37014         * math/w_exp10.c: Likewise.
37015         * math/w_exp10f.c: Likewise.
37016         * math/w_exp10l.c: Likewise.
37017         * math/w_fmod.c: Likewise.
37018         * math/w_fmodf.c: Likewise.
37019         * math/w_fmodl.c: Likewise.
37020         * math/w_j0.c: Likewise.
37021         * math/w_j0f.c: Likewise.
37022         * math/w_j0l.c: Likewise.
37023         * math/w_j1.c: Likewise.
37024         * math/w_j1f.c: Likewise.
37025         * math/w_j1l.c: Likewise.
37026         * math/w_jn.c: Likewise.
37027         * math/w_jnf.c: Likewise.
37028         * math/w_log.c: Likewise.
37029         * math/w_logf.c: Likewise.
37030         * math/w_logl.c: Likewise.
37031         * math/w_log10.c: Likewise.
37032         * math/w_log10f.c: Likewise.
37033         * math/w_log10l.c: Likewise.
37034         * math/w_log2.c: Likewise.
37035         * math/w_log2f.c: Likewise.
37036         * math/w_log2l.c: Likewise.
37037         * math/w_pow.c: Likewise.
37038         * math/w_powf.c: Likewise.
37039         * math/w_powl.c: Likewise.
37040         * math/w_remainder.c: Likewise.
37041         * math/w_remainderf.c: Likewise.
37042         * math/w_remainderl.c: Likewise.
37043         * math/w_scalb.c: Likewise.
37044         * math/w_scalbf.c: Likewise.
37045         * math/w_scalbl.c: Likewise.
37046         * math/w_sqrt.c: Likewise.
37047         * math/w_sqrtf.c: Likewise.
37048         * math/w_sqrtl.c: Likewise.
37049         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37050         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
37051         used.
37052         * math/math_private.h: Declare __kernel_standard_f.
37053         * math/w_cosh.c: Remove cruft and optimize a bit.
37054         * math/w_coshf.c: Likewise.
37055         * math/w_coshl.c: Likewise.
37056         * math/w_exp2.c: Likewise.
37057         * math/w_exp2f.c: Likewise.
37058         * math/w_exp2l.c: Likewise.
37059         * math/w_hypot.c: Likewise.
37060         * math/w_hypotf.c: Likewise.
37061         * math/w_hypotl.c: Likewise.
37062         * math/w_lgamma.c: Likewise.
37063         * math/w_lgamma_r.c: Likewise.
37064         * math/w_lgammaf.c: Likewise.
37065         * math/w_lgammaf_r.c: Likewise.
37066         * math/w_lgammal.c: Likewise.
37067         * math/w_lgammal_r.c: Likewise.
37068         * math/w_sinh.c: Likewise.
37069         * math/w_sinhf.c: Likewise.
37070         * math/w_sinhl.c: Likewise.
37071         * math/w_tgamma.c: Likewise.
37072         * math/w_tgammaf.c: Likewise.
37073         * math/w_tgammal.c: Likewise.
37074         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37075         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37076         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37077         Minor optimizations.  Pretty printing.  Remove cruft.
37078         * sysdeps/i386/fpu/e_acosf.S: Likewise.
37079         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37080         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37081         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37082         * sysdeps/i386/fpu/e_acosl.c: Likewise.
37083         * sysdeps/i386/fpu/e_asin.S: Likewise.
37084         * sysdeps/i386/fpu/e_asinf.S: Likewise.
37085         * sysdeps/i386/fpu/e_atan2.S: Likewise.
37086         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37087         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37088         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37089         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37090         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37091         * sysdeps/i386/fpu/e_exp10.S: Likewise.
37092         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37093         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37094         * sysdeps/i386/fpu/e_exp2.S: Likewise.
37095         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37096         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37097         * sysdeps/i386/fpu/e_fmod.S: Likewise.
37098         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37099         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37100         * sysdeps/i386/fpu/e_hypot.S: Likewise.
37101         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37102         * sysdeps/i386/fpu/e_log.S: Likewise.
37103         * sysdeps/i386/fpu/e_log10.S: Likewise.
37104         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37105         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37106         * sysdeps/i386/fpu/e_log2.S: Likewise.
37107         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37108         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37109         * sysdeps/i386/fpu/e_logf.S: Likewise.
37110         * sysdeps/i386/fpu/e_logl.S: Likewise.
37111         * sysdeps/i386/fpu/e_pow.S: Likewise.
37112         * sysdeps/i386/fpu/e_powf.S: Likewise.
37113         * sysdeps/i386/fpu/e_powl.S: Likewise.
37114         * sysdeps/i386/fpu/e_remainder.S: Likewise.
37115         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37116         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37117         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37118         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37119         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37120         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37121         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37122         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37123         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37124         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37125         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37126         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37127         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37128         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37129         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37130         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37131         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37132         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37133         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37134         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37135         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37136         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37137         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37138         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37139         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37140         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37141         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37142         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37143         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37144         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37145         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37146         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37147         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37148         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37149         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37150         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37151         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37152         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37153         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37154         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37155         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37156         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37157         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37158         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37159         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37160         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37161         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37162         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37163         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37164         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37165         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37166         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37167         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37168         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37169         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37170         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37171         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37172         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37173         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37174         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37175         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37176         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37177         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37178         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37179         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37180         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37181         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37182         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37183         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37184         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37185         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37186         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37187         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37188         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37189         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37190         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37191         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37192         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37193         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37194         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37195         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37196         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37197         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37198         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37199         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37200         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37201         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37202         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37203         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37204         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37205         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37206         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37207         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37208         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37209         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37210         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37211         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37212         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37213         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37214         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37215         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37216         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37217         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37218         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37219         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37220         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37221         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37222         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37223         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37224         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37225         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37226         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37227         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37228         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37229         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37230         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37231         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37232         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37233         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
37234         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37235         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37236         (__isnanf): Likewise.
37237         (__isinf_ns): Likewise.
37238         (__isinf_nsf): Likewise.
37239         (__finite): Likewise.
37240         (__finitef): Likewise.
37241         (__ieee754_sqrt): Define as macro.
37242         (__ieee754_sqrtf): Define as macro.
37243         (__ieee754_sqrtl): Define as macro.
37244         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37245         inlined copy.
37246         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37247         __FINITE_MATH_ONLY__ consistent.
37248         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37250 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
37252         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37253         of rawmemchr.
37255         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37257 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
37259         * po/ja.po: Update from translation team.
37261 2011-10-08  Roland McGrath  <roland@hack.frob.com>
37263         * locale/programs/locarchive.c (prepare_address_space): New function.
37264         (create_archive, enlarge_archive, open_archive): Use it.
37266         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37267         inside [SHARED], where it is used.
37269         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37271         * nss/getent.c (netgroup_keys): Remove unused variable.
37272         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37274 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
37276         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37277         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37278         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37279         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37280         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37281         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37282         * math/Makefile (libm-calls): Add s_isinf_ns.
37283         * math/divtc3.c: Use __isinf_nsl instead of isinf.
37284         * math/multc3.c: Likewise.
37285         * math/s_casin.c: Likewise.
37286         * math/s_casinf.c: Likewise.
37287         * math/s_casinl.c: Likewise.
37288         * math/s_ccos.c: Likewise.
37289         * math/s_ccosf.c: Likewise.
37290         * math/s_ccosl.c: Likewise.
37291         * math/s_ctan.c: Likewise.
37292         * math/s_ctanf.c: Likewise.
37293         * math/s_ctanh.c: Likewise.
37294         * math/s_ctanhf.c: Likewise.
37295         * math/s_ctanhl.c: Likewise.
37296         * math/s_ctanl.c: Likewise.
37297         * math/w_fmod.c: Likewise.
37298         * math/w_fmodf.c: Likewise.
37299         * math/w_fmodl.c: Likewise.
37300         * math/w_remainder.c: Likewise.
37301         * math/w_remainderf.c: Likewise.
37302         * math/w_remainderl.c: Likewise.
37303         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37304         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37305         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37306         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37307         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37308         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37309         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37310         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37312         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37313         of the number.
37314         * stdio-common/printf_fphex.c: Likewise.
37315         * stdio-common/printf_size.c: Likewise.
37317         * math/e_exp10.c: Include math_private.h using <...> not "...".
37318         * math/e_exp10f.c: Likewise.
37319         * math/e_exp10l.c: Likewise.
37320         * math/e_exp2l.c: Likewise.
37321         * math/e_j0l.c: Likewise.
37322         * math/e_j1l.c: Likewise.
37323         * math/e_jnl.c: Likewise.
37324         * math/e_lgammal_r.c: Likewise.
37325         * math/e_rem_pio2l.c: Likewise.
37326         * math/e_scalb.c: Likewise.
37327         * math/e_scalbf.c: Likewise.
37328         * math/e_scalbl.c: Likewise.
37329         * math/k_cosl.c: Likewise.
37330         * math/k_sinl.c: Likewise.
37331         * math/k_tanl.c: Likewise.
37332         * math/s_cacoshf.c: Likewise.
37333         * math/s_catan.c: Likewise.
37334         * math/s_catanf.c: Likewise.
37335         * math/s_catanh.c: Likewise.
37336         * math/s_catanhf.c: Likewise.
37337         * math/s_catanhl.c: Likewise.
37338         * math/s_catanl.c: Likewise.
37339         * math/s_ccosh.c: Likewise.
37340         * math/s_ccoshf.c: Likewise.
37341         * math/s_ccoshl.c: Likewise.
37342         * math/s_cexp.c: Likewise.
37343         * math/s_cexpf.c: Likewise.
37344         * math/s_cexpl.c: Likewise.
37345         * math/s_clog.c: Likewise.
37346         * math/s_clog10.c: Likewise.
37347         * math/s_clog10f.c: Likewise.
37348         * math/s_clog10l.c: Likewise.
37349         * math/s_clogf.c: Likewise.
37350         * math/s_clogl.c: Likewise.
37351         * math/s_csin.c: Likewise.
37352         * math/s_csinf.c: Likewise.
37353         * math/s_csinh.c: Likewise.
37354         * math/s_csinhf.c: Likewise.
37355         * math/s_csinhl.c: Likewise.
37356         * math/s_csinl.c: Likewise.
37357         * math/s_csqrt.c: Likewise.
37358         * math/s_csqrtf.c: Likewise.
37359         * math/s_csqrtl.c: Likewise.
37360         * math/s_ctan.c: Likewise.
37361         * math/s_ctanf.c: Likewise.
37362         * math/s_ctanh.c: Likewise.
37363         * math/s_ctanhf.c: Likewise.
37364         * math/s_ctanhl.c: Likewise.
37365         * math/s_ctanl.c: Likewise.
37366         * math/s_ldexp.c: Likewise.
37367         * math/s_ldexpf.c: Likewise.
37368         * math/s_ldexpl.c: Likewise.
37369         * math/s_significand.c: Likewise.
37370         * math/s_significandf.c: Likewise.
37371         * math/s_significandl.c: Likewise.
37372         * math/w_acos.c: Likewise.
37373         * math/w_acosf.c: Likewise.
37374         * math/w_acosh.c: Likewise.
37375         * math/w_acoshf.c: Likewise.
37376         * math/w_acoshl.c: Likewise.
37377         * math/w_acosl.c: Likewise.
37378         * math/w_asin.c: Likewise.
37379         * math/w_asinf.c: Likewise.
37380         * math/w_asinl.c: Likewise.
37381         * math/w_atan2.c: Likewise.
37382         * math/w_atan2f.c: Likewise.
37383         * math/w_atan2l.c: Likewise.
37384         * math/w_atanh.c: Likewise.
37385         * math/w_atanhf.c: Likewise.
37386         * math/w_atanhl.c: Likewise.
37387         * math/w_cosh.c: Likewise.
37388         * math/w_coshf.c: Likewise.
37389         * math/w_coshl.c: Likewise.
37390         * math/w_dremf.c: Likewise.
37391         * math/w_exp10.c: Likewise.
37392         * math/w_exp10f.c: Likewise.
37393         * math/w_exp10l.c: Likewise.
37394         * math/w_exp2.c: Likewise.
37395         * math/w_exp2f.c: Likewise.
37396         * math/w_fmod.c: Likewise.
37397         * math/w_fmodf.c: Likewise.
37398         * math/w_fmodl.c: Likewise.
37399         * math/w_hypot.c: Likewise.
37400         * math/w_hypotf.c: Likewise.
37401         * math/w_hypotl.c: Likewise.
37402         * math/w_j0.c: Likewise.
37403         * math/w_j0f.c: Likewise.
37404         * math/w_j0l.c: Likewise.
37405         * math/w_j1.c: Likewise.
37406         * math/w_j1f.c: Likewise.
37407         * math/w_j1l.c: Likewise.
37408         * math/w_jn.c: Likewise.
37409         * math/w_jnf.c: Likewise.
37410         * math/w_jnl.c: Likewise.
37411         * math/w_lgamma.c: Likewise.
37412         * math/w_lgamma_r.c: Likewise.
37413         * math/w_lgammaf.c: Likewise.
37414         * math/w_lgammaf_r.c: Likewise.
37415         * math/w_lgammal.c: Likewise.
37416         * math/w_lgammal_r.c: Likewise.
37417         * math/w_log.c: Likewise.
37418         * math/w_log10.c: Likewise.
37419         * math/w_log10f.c: Likewise.
37420         * math/w_log10l.c: Likewise.
37421         * math/w_log2.c: Likewise.
37422         * math/w_log2f.c: Likewise.
37423         * math/w_log2l.c: Likewise.
37424         * math/w_logf.c: Likewise.
37425         * math/w_logl.c: Likewise.
37426         * math/w_pow.c: Likewise.
37427         * math/w_powf.c: Likewise.
37428         * math/w_powl.c: Likewise.
37429         * math/w_remainder.c: Likewise.
37430         * math/w_remainderf.c: Likewise.
37431         * math/w_remainderl.c: Likewise.
37432         * math/w_scalb.c: Likewise.
37433         * math/w_scalbf.c: Likewise.
37434         * math/w_scalbl.c: Likewise.
37435         * math/w_sinh.c: Likewise.
37436         * math/w_sinhf.c: Likewise.
37437         * math/w_sinhl.c: Likewise.
37438         * math/w_sqrt.c: Likewise.
37439         * math/w_sqrtf.c: Likewise.
37440         * math/w_sqrtl.c: Likewise.
37441         * math/w_tgamma.c: Likewise.
37442         * math/w_tgammaf.c: Likewise.
37443         * math/w_tgammal.c: Likewise.
37445         * po/ja.po: Update from translation team.
37447 2011-09-29  Andreas Jaeger  <aj@suse.de>
37449         [BZ #13179]
37450         * sunrpc/netname.c (netname2host): Fix logic.
37452         [BZ #6779]
37453         [BZ #6783]
37454         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37455         correctly.
37456         * math/w_remainder.c (__remainder): Likewise.
37457         * math/w_remainderf.c (__remainderf): Likewise.
37458         * math/libm-test.inc (remainder_test): Add test cases.
37460 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37462         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
37463         sdiv_qrnnd.
37465 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37467         * string/test-memcmp.c: Avoid unncessary #defines.
37468         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37470 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37472         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37473         Use new sse2 version for core i3 - i7 as it's faster
37474         than sse42 version.
37475         (bit_Prefer_PMINUB_for_stringop): New.
37476         * sysdeps/x86_64/rawmemchr.S: Update.
37477         Replace with faster SSE2 version.
37478         * sysdeps/x86_64/memrchr.S: New file.
37479         * sysdeps/x86_64/memchr.S: Update.
37480         Replace with faster SSE2 version.
37482 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
37484         * elf/dl-load.c (lose): Add cast to avoid warning.
37486 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37488         * po/ca.po: Update from translation team.
37490         * inet/getnetgrent_r.c: Hook up nscd.
37491         * nscd/Makefile (routines): Add nscd_netgroup.
37492         (nscd-modules): Add netgroupcache.
37493         (CFLAGS-netgroupcache.c): Define.
37494         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37495         (cache_search): Add const to second parameter.
37496         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37497         INNETGR.
37498         (dbs): Add netgrdb entry.
37499         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37500         (verify_persistent_db): Handle netgrdb.
37501         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37502         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37503         GETFDNETGR.
37504         (netgroup_response_header): Define.
37505         (innetgroup_response_header): Define.
37506         (datahead): Add netgroup_response_header and innetgroup_response_header
37507         elements.
37508         * nscd/nscd.conf: Add entries for netgroup cache.
37509         * nscd/nscd.h (dbtype): Add netgrdb.
37510         (_PATH_NSCD_NETGROUP_DB): Define.
37511         (netgroup_iov_disabled): Declare.
37512         (xmalloc, xcalloc, xrealloc): Move declarations here.
37513         (cache_search): Adjust prototype.
37514         Add netgroup-related prototypes.
37515         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37516         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37517         (__nscd_innetgr): Declare.
37518         * nscd/selinux.c (perms): Use access_vector_t as element type and
37519         add netgroup-related initializers.
37520         * nscd/netgroupcache.c: New file.
37521         * nscd/nscd_netgroup.c: New file.
37522         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37523         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37524         For four parameters use innetgr.
37525         * nss/nss_files/files-init.c: Add definition and callback for netgr.
37526         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37527         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37528         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37530         * nscd/connections.c (register_traced_file): Don't register file
37531         for disabled databases.
37533 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
37535         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37537         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37538         from tree and freeing node.
37540 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
37542         * nss/nsswitch.c (__nss_database_lookup): Handle
37543         nss_parse_service_list out of memory case.
37545 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
37547         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37548         out of memory case.
37550 2011-10-04  Andreas Schwab  <schwab@redhat.com>
37552         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37553         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37554         pass it down.
37555         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37556         elf_machine_rela, elf_machine_lazy_rel.
37557         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37558         (ELF_DYNAMIC_DO_REL): Likewise.
37559         (ELF_DYNAMIC_DO_RELA): Likewise.
37560         (ELF_DYNAMIC_RELOCATE): Likewise.
37561         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37562         to ELF_DYNAMIC_DO_REL.
37563         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37564         (dl_main): In trace mode always set __RTLD_NOIFUNC.
37565         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37566         elf_machine_rela.
37567         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37568         skip_ifunc, don't call ifunc function if non-zero.
37569         (elf_machine_rela): Likewise.
37570         (elf_machine_lazy_rel): Likewise.
37571         (elf_machine_lazy_rela): Likewise.
37572         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37573         (elf_machine_lazy_rel): Likewise.
37574         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37575         Likewise.
37576         (elf_machine_lazy_rel): Likewise.
37577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37578         Likewise.
37579         (elf_machine_lazy_rel): Likewise.
37580         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37581         (elf_machine_lazy_rel): Likewise.
37582         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37583         (elf_machine_lazy_rel): Likewise.
37584         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37585         (elf_machine_lazy_rel): Likewise.
37586         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37587         (elf_machine_lazy_rel): Likewise.
37588         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37589         (elf_machine_lazy_rel): Likewise.
37590         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37591         (elf_machine_lazy_rel): Likewise.
37593 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
37595         * nss/nss_files/files-init.c (_nss_files_init): Use static
37596         initialization for all the *_traced_file variables.
37598 2011-09-28  Andreas Schwab  <schwab@redhat.com>
37600         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37602 2011-09-27  Roland McGrath  <roland@hack.frob.com>
37604         [BZ #13226]
37605         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37607 2011-09-27  Andreas Schwab  <schwab@redhat.com>
37609         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37610         Reread the line before reparsing it.
37612 2011-09-26  Andreas Schwab  <schwab@redhat.com>
37614         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37616 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
37617             Maxim Kuvyrkov  <maxim@codesourcery.com>
37618             Joseph Myers  <joseph@codesourcery.com>
37620         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37621         if needed for __stack_chk_guard.
37623 2011-09-19  Roland McGrath  <roland@hack.frob.com>
37625         * sysdeps/posix/spawni.c (script_execute): Always define it.
37626         It will be optimized away if unused.
37627         (maybe_script_execute): New function.
37628         (__spawni): Call it.
37630         * Makerules: Don't include tls.make.
37631         (config-tls): Always set to thread.
37632         * tls.make.c: File removed.
37634 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
37636         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37637         * config.make.in (CPPFLAGS-config): New substituted variable.
37639 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37641         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37643         [BZ #13192]
37644         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37645         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37647 2011-09-15  Roland McGrath  <roland@hack.frob.com>
37649         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37650         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37651         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37652         (CALL_FAIL): Likewise.
37653         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37654         (CALL_FAIL): Macro removed.
37655         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37657 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37659         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37660         for __FINITE_MATH_ONLY__ == 1.
37662 2011-09-15  Andreas Schwab  <schwab@redhat.com>
37664         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37665         __ieee754_sqrt instead of sqrt.
37666         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37667         __ieee754_sqrtf instead of sqrtf.
37668         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37669         __floorf instead of floorf.
37670         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37671         __floorf, __truncf instead of floorf, truncf.
37673 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
37675         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37677         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37678         __extern_always_inline.
37679         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37680         32-bit.
37682 2011-09-14  Andreas Schwab  <schwab@redhat.com>
37684         * elf/rtld.c (dl_main): Also relocate in dependency order when
37685         doing symbol dependency testing.
37687 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
37689         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37690         Always define `refsym'.
37692 2011-09-13  Andreas Schwab  <schwab@redhat.com>
37694         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37695         (__FD_ELT): Renamed from __FDELT.
37696         * misc/bits/select2.h (__FD_ELT): Likewise.
37697         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37698         __FD_MASK instead of __FDELT, __FDMASK.
37699         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37700         Likewise.
37701         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37702         Likewise.
37704         * elf/Makefile (gen-ldd): Fix pattern.
37706         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37707         (init_tls): Likewise.
37709 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
37711         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37713 2011-09-12  Andreas Schwab  <schwab@redhat.com>
37715         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37716         `struct cmsghdr *' instead of `void *'.
37717         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37718         Likewise.
37720 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
37722         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37723         if non-absolute.
37724         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37725         ldd_rewrite_script.
37727 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
37729         * configure.in: Remove --with-tls option.
37730         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37731         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37732         out in case it is missing.
37733         * sysdeps/ia64/elf/configure.in: Likewise.
37734         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37735         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37736         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37737         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37738         * sysdeps/sh/elf/configure.in: Likewise.
37739         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37740         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37741         * sysdeps/x86_64/elf/configure.in: Likewise.
37742         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37743         * sysdeps/mach/hurd/tls.h: Likewise.
37745         [BZ #13067]
37746         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37748         [BZ #13090]
37749         * configure.in: Fix use of AC_INIT.
37751         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37753 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
37755         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37756         __set_errno.
37757         * malloc/hooks.c: Likewise.
37759         [BZ #11929]
37760         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
37761         variables statically.
37762         (narenas): Initialize.
37763         (list_lock): Initialize.
37764         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
37765         initializtion of main_arena and list_lock.  Small cleanups.
37766         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37767         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
37768         Add initializers to main_arena and mp_.
37769         (malloc_state): Remove pagesize member.  Change all users to use
37770         GLRO(dl_pagesize).
37772         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37773         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
37774         is always initialized.
37776         * malloc/malloc.c: Removed unused configurations and dead code.
37777         * malloc/arena.c: Likewise.
37778         * malloc/hooks.c: Likewise.
37779         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
37781         * include/tls.h: Removed.  USE___THREAD must always be defined.
37782         * bits/libc-tsd.h: Don't handle !USE___THREAD.
37783         * elf/dl-libc.c: Likewise.
37784         * elf/dl-tsd.c: Likewise.
37785         * include/errno.h: Likewise.
37786         * include/netdb.h: Likewise.
37787         * include/resolv.h: Likewise.
37788         * inet/herrno-loc.c: Likewise.
37789         * inet/herrno.c: Likewise.
37790         * malloc/arena.c: Likewise.
37791         * malloc/hooks.c: Likewise.
37792         * malloc/malloc.c: Likewise.
37793         * resolv/res-state.c: Likewise.
37794         * resolv/res_libc.c: Likewise.
37795         * sysdeps/i386/dl-machine.h: Likewise.
37796         * sysdeps/ia64/dl-machine.h: Likewise.
37797         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37798         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37799         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37800         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37801         * sysdeps/sh/dl-machine.h: Likewise.
37802         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37803         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37804         * sysdeps/unix/i386/sysdep.S: Likewise.
37805         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37806         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37807         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37808         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37809         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37810         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37811         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37812         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37813         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37814         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37815         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37816         * sysdeps/x86_64/dl-machine.h: Likewise.
37817         * tls.make.c: Likewise.
37819         * configure.in: Remove --with-__thread option.  Make tests for
37820         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37821         tls_model attribute fail if no support is available.  Remove
37822         USE_IN_LIBIO.
37823         * Makeconfig: Adjust for dropped configure option.  All features are
37824         now mandatory.
37825         * Makerules: Likewise.
37826         * Versions.def: Likewise.
37827         * argp/argp-fmtstream.c: Likewise.
37828         * argp/argp-fmtstream.h: Likewise.
37829         * argp/argp-help.c: Likewise.
37830         * assert/assert.c: Likewise.
37831         * config.h.in: Likewise.
37832         * config.make.in: Likewise.
37833         * configure: Likewise.
37834         * configure.in: Likewise.
37835         * csu/Versions: Likewise.
37836         * csu/init.c: Likewise.
37837         * elf/tst-audit2.c: Likewise.
37838         * elf/tst-tls10.c: Likewise.
37839         * elf/tst-tls10.h: Likewise.
37840         * elf/tst-tls11.c: Likewise.
37841         * elf/tst-tls12.c: Likewise.
37842         * elf/tst-tls14.c: Likewise.
37843         * elf/tst-tlsmod11.c: Likewise.
37844         * elf/tst-tlsmod12.c: Likewise.
37845         * elf/tst-tlsmod13.c: Likewise.
37846         * elf/tst-tlsmod13a.c: Likewise.
37847         * elf/tst-tlsmod14a.c: Likewise.
37848         * elf/tst-tlsmod15b.c: Likewise.
37849         * elf/tst-tlsmod16a.c: Likewise.
37850         * elf/tst-tlsmod16b.c: Likewise.
37851         * elf/tst-tlsmod7.c: Likewise.
37852         * elf/tst-tlsmod8.c: Likewise.
37853         * elf/tst-tlsmod9.c: Likewise.
37854         * gmon/gmon.c: Likewise.
37855         * grp/fgetgrent_r.c: Likewise.
37856         * grp/putgrent.c: Likewise.
37857         * hurd/fopenport.c: Likewise.
37858         * include/libc-symbols.h: Likewise.
37859         * include/tls.h: Likewise.
37860         * intl/gettextP.h: Likewise.
37861         * intl/loadinfo.h: Likewise.
37862         * locale/global-locale.c: Likewise.
37863         * locale/localeinfo.h: Likewise.
37864         * mach/devstream.c: Likewise.
37865         * malloc/arena.c: Likewise.
37866         * malloc/set-freeres.c: Likewise.
37867         * misc/err.c: Likewise.
37868         * misc/getttyent.c: Likewise.
37869         * misc/mntent_r.c: Likewise.
37870         * posix/getopt.c: Likewise.
37871         * posix/wordexp.c: Likewise.
37872         * pwd/fgetpwent_r.c: Likewise.
37873         * resolv/Versions: Likewise.
37874         * resolv/res_hconf.c: Likewise.
37875         * shadow/fgetspent_r.c: Likewise.
37876         * shadow/putspent.c: Likewise.
37877         * stdio-common/printf_fphex.c: Likewise.
37878         * stdio-common/tmpfile.c: Likewise.
37879         * stdlib/abort.c: Likewise.
37880         * stdlib/fmtmsg.c: Likewise.
37881         * sunrpc/auth_unix.c: Likewise.
37882         * sunrpc/clnt_perr.c: Likewise.
37883         * sunrpc/clnt_tcp.c: Likewise.
37884         * sunrpc/clnt_udp.c: Likewise.
37885         * sunrpc/clnt_unix.c: Likewise.
37886         * sunrpc/openchild.c: Likewise.
37887         * sunrpc/svc_simple.c: Likewise.
37888         * sunrpc/svc_tcp.c: Likewise.
37889         * sunrpc/svc_udp.c: Likewise.
37890         * sunrpc/svc_unix.c: Likewise.
37891         * sunrpc/xdr.c: Likewise.
37892         * sunrpc/xdr_array.c: Likewise.
37893         * sunrpc/xdr_rec.c: Likewise.
37894         * sunrpc/xdr_ref.c: Likewise.
37895         * sunrpc/xdr_stdio.c: Likewise.
37897 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37899         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37901 2011-07-03  Andreas Jaeger  <aj@suse.de>
37903         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37904         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37905         regenerate with gen-libm-tests.pl.
37907 2010-05-12  Petr Baudis  <pasky@suse.cz>
37909         [BZ #11589]
37910         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37911         around j0() zero points by switching to j1().
37912         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37913         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37914         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37915         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37917 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37919         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37920         instead of 0.
37921         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37922         instead of 0.
37923         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37924         Patch in part by Pavel Roskin <proski@gnu.org>.
37926         [BZ #13138]
37927         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37928         realloc.
37929         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
37930         Free memory block if necessary.
37932         [BZ #12847]
37933         * libio/genops.c (INTDEF): For string streams the _lock pointer can
37934         be NULL.  Don't lock in this case.
37936 2011-09-09  Roland McGrath  <roland@hack.frob.com>
37938         * elf/elf.h (ELFOSABI_GNU): New macro.
37939         (ELFOSABI_LINUX): Define to that.
37941 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
37943         * string/strncat.c (strncat): Undef the symbol in case it has been
37944         defined in bits/string.h.
37946 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37948         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37950         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37951         link map.
37953 2011-08-17  Andreas Jaeger  <aj@suse.de>
37955         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37957 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37958             Ian Lance Taylor  <iant@google.com>
37960         * math/libm-test.inc (lround_test): New testcase.
37961         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37963 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
37965         * Makefile: Remove support for automatic cvs check-ins.
37966         * Makerules: Likewise.
37967         * config.make.in: Likewise.
37968         * configure.in: Likewise.
37969         * intl/Makefile: Likewise.
37970         * locale/Makefile: Likewise.
37971         * po/Makefile: Likewise.
37972         * posix/Makefile: Likewise.
37973         * sysdeps/gnu/Makefile: Likewise.
37974         * sysdeps/mach/hurd/Makefile: Likewise.
37975         * sysdeps/sparc/sparc32/Makefile: Likewise.
37977         [BZ #13118]
37978         * posix/Makefile (bug-regex32-ENV): Define.
37979         Patch by John Stanley <jpsinthemix@verizon.net>.
37981         * misc/Makefile (headers): Add bits/select2.h.
37982         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37983         * misc/bits/select2.h: New file.
37984         * include/bits/select2.h: New file.
37985         * debug/Makefile (routines): Add fdelt_chk.
37986         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37987         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37988         FD_ISSET.
37989         * debug/fdelt_chk.c: New file.
37991         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
37992         * wcsmbs/test-wmemcmp.c: Likewise.
37993         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37994         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37996 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37998         * string/Makefile (strop-tests): Add memcmp.
37999         * string/test-wmemcmp.c: New file.
38000         * string/test-memcmp.c: Add wmemcmp support.
38002 2011-09-08  Roland McGrath  <roland@hack.frob.com>
38004         [BZ #13153]
38005         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38006         2011-07-19 change.
38008         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38009         garbage value in a __mach_port_mod_refs call in the cases of the
38010         task-self and thread-self ports.
38012 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38014         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38016 2011-09-08  Andreas Schwab  <schwab@redhat.com>
38018         * elf/dl-load.c (lose): Check for non-null L.
38020 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38022         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38024         * elf/dl-libc.c (dlerror_run): Pass back error code from
38025         dl_catch_error.
38027         [BZ #13123]
38028         * elf/dl-load.c (lose): Free l_origin if it is valid.
38030         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38031         names.
38032         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38033         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38034         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38035         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38036         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38037         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38039 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38041         * sysdeps/powerpc/fpu/e_hypot.c: New file.
38042         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38043         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38044         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38045         * sysdeps/powerpc/fpu/k_cosf.c: New file.
38046         * sysdeps/powerpc/fpu/k_sinf.c: New file.
38047         * sysdeps/powerpc/fpu/s_cosf.c: New file.
38048         * sysdeps/powerpc/fpu/s_sinf.c: New file.
38049         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38050         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38052 2011-08-15  Alan Modra  <amodra@gmail.com>
38054         [BZ #13092]
38055         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38056         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38057         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
38058         ppc_mcount to static-only-routines.
38059         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38060         __mcount_internal.
38061         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38062         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
38064 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
38066         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38067         for finite and infinity parameters.
38069 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
38071         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38072         and add nop instructions for throughput optimization.
38073         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38075 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
38077         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38078         aligned copy for power7 with vector-scalar instructions.
38079         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38081 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
38083         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38084         AVX check.
38086 2011-09-07  Andreas Schwab  <schwab@redhat.com>
38088         [BZ #13144]
38089         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38090         last change.
38092 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
38094         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38095         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38096         syscall wrapper around clock_gettime in __vdso_clock_gettime.
38097         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38098         clock_gettime.
38100 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38102         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38103         Forgot to demangle the pointer.
38105         * sysdeps/i386/sysdep.h: Define atom_text_section.
38106         * sysdeps/x86_64/sysdep.h: Likewise.
38107         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38108         section with atom_text_section.
38109         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38110         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38111         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38112         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38113         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38115         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38116         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38117         already be defined.  Change to take two parameters and don't assign
38118         result to variable.  Adjust all users.
38119         Define INTERNAL_GETTIME if not already defined.
38120         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38121         call.
38122         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38123         HAVE_CLOCK_GETTIME_VSYSCALL.
38124         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38126         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38127         gettimeofday vsyscall, just use time.
38129 2011-09-06  Andreas Schwab  <schwab@redhat.com>
38131         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38132         <errno.h>.
38134 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
38136         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38137         syscall on x86-64.
38138         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38139         syscall.
38140         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38141         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38142         syscall if possible.
38144 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38146         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38147         e_ident.  Don't pass to find_mapsXX.
38148         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38150 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38153         strchr-sse2-no-bsf strrchr-sse2-no-bsf
38154         * sysdeps/x86_64/multiarch/strchr.S: Update.
38155         Check bit_slow_BSF bit.
38156         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38157         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38158         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38160 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38162         [BZ #13134]
38163         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38164         before glibc 2.15.
38165         (tryshell): Define.
38166         (__spawni): Change last parameter to be flag.  Test
38167         SPAWN_XFLAGS_USE_PATH flag to use path or not.
38168         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38169         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38170         * posix/spawni.c: Likewise.
38171         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38172         * posix/spawnp.c: Likewise.  Change normal version to use
38173         SPAWN_XFLAGS_USE_PATH.
38174         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38175         SPAWN_XFLAGS_TRY_SHELL.
38177         [BZ #13150]
38178         * posix/glob.h: Remove gcc 1.x support.
38180         [BZ #13068]
38181         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38183 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38185         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38186         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38187         strrchr-sse2-bsf
38188         * sysdeps/i386/i686/multiarch/strchr.S: New file.
38189         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38190         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38191         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38192         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38193         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38195 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38197         * sysdeps/x86_64/wcscmp.S: New file.
38199         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38200         wcscmp-c wcscmp-sse2
38201         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38202         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38203         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38204         * wcsmbs/wcscmp.c: Allow renaming.
38206 2011-09-05  David S. Miller  <davem@davemloft.net>
38208         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38209         stack slot, rather than the struct return pointer slot.
38210         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38211         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38213         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38215 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38217         * po/ja.po: Update from translation team.
38219         [BZ #13144]
38220         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38221         kernel in 64-bit binaries.
38223 2011-09-01  David S. Miller  <davem@davemloft.net>
38225         * elf/elf.h (HWCAP_SPARC_*): Move to..
38226         * sysdeps/sparc/sysdep.h: this new file and add new values.
38227         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38228         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38229         _DL_HWCAP_COUNT to 24.
38230         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38231         entries.
38232         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38233         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38234         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38235         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38236         instead of magic constants.
38237         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38239 2011-08-31  David S. Miller  <davem@davemloft.net>
38241         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38243         Reimplement to do errno handling inline.
38244         (SYSCALL_ERROR_HANDLER): New macro.
38245         (__SYSCALL_STRING): Do not do errno handling in asm.
38246         (__CLONE_SYSCALL_STRING): Delete.
38247         (__INTERNAL_SYSCALL_STRING): Delete.
38248         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38249         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38250         (PSEUDO): Reimplement to do errno handling inline.
38251         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38252         (SYSCALL_ERROR_HANDLER): New macro.
38253         (__SYSCALL_STRING): Do not do errno handling in asm.
38254         (__CLONE_SYSCALL_STRING): Delete.
38255         (__INTERNAL_SYSCALL_STRING): Delete.
38256         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38257         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38258         i386.
38259         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38260         (inline_syscall*): Add 'err' argument.
38261         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38262         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38263         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38264         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38266         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38267         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38269 2011-08-30  Andreas Schwab  <schwab@redhat.com>
38271         * elf/rtld.c (dl_main): Relocate objects in dependency order.
38273 2011-08-29  Jiri Olsa <jolsa@redhat.com>
38275         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38276         directive.
38278 2011-08-24  David S. Miller  <davem@davemloft.net>
38280         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38282 2011-08-24  Andreas Schwab  <schwab@redhat.com>
38284         * elf/Makefile: Add rules to build and run unload8 test.
38285         * elf/unload8.c: New file.
38286         * elf/unload8mod1.c: New file.
38287         * elf/unload8mod1x.c: New file.
38288         * elf/unload8mod2.c: New file.
38289         * elf/unload8mod3.c: New file.
38291         * elf/dl-close.c (_dl_close_worker): Reset private search list if
38292         it wasn't used.
38294 2011-08-23  David S. Miller  <davem@davemloft.net>
38296         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38297         subtract stack bias.
38298         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38299         %sp not %fp in calculations.
38300         (_JMPBUF_UNWINDS_ADJ): Likewise.
38302         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38303         (aio_suspend): Call it to force an exception region around the
38304         AIO_MISC_WAIT() invocation.
38306 2011-08-23  Andreas Schwab  <schwab@redhat.com>
38308         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38309         backslash.
38311 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
38313         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38314         protection macro.
38315         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38316         and <dl-machine.h>.
38317         (Elf64_FuncDesc): Remove.
38319 2011-08-22  David S. Miller  <davem@davemloft.net>
38321         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38322         sigaltstack check, add missing cfi directives.
38323         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38324         missing cfi directives, and sigaltstack handling.
38326 2011-08-16  Andreas Schwab  <schwab@redhat.com>
38328         [BZ #11724]
38329         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38330         object is seen twice.
38331         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38333         * elf/Makefile (distribute): Add tst-initorder2.c.
38334         (tests): Add tst-initorder2.
38335         (modules-names): Add tst-initorder2a tst-initorder2b
38336         tst-initorder2c tst-initorder2d.  Add rules to build them.
38337         ($(objpfx)tst-initorder2.out): New rule.
38338         * elf/tst-initorder2.c: New file.
38339         * elf/tst-initorder2.exp: New file.
38341 2011-08-22  Andreas Schwab  <schwab@redhat.com>
38343         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38345         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38346         dependencies back to end of function.
38348         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38349         $(elfobjdir)/ld.so.
38351 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
38353         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38354         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38355         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38356         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38357         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38358         of __vdso_gettimeofday.
38359         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38360         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
38361         attribute_hidden.
38362         (_libc_vdso_platform_setup): Remove initialization of
38363         __vdso_gettimeofday and __vdso_time.
38365 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38367         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38368         and fgetc_unlocked.
38369         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38370         getc_unlocked.
38372         * elf/dl-open.c (add_to_global): Report additions to the global scope
38373         for LD_DEBUG=scopes.
38374         (dl_open_worker): Also print scope of newly loaded dependencies.
38375         (_dl_show_scope): Indicate if there is no scope.
38377         [BZ #13114]
38378         * stdio-common/Makefile (tests): Add bug24.
38379         * stdio-common/bug24.c: New file.
38381 2011-08-19  Andreas Jaeger  <aj@suse.de>
38383         [BZ #13114]
38384         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38385         non-existant file when using close-on-exec mode.
38387 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38389         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38390         the very first instruction.
38392         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38393         the CFI state in the end.
38394         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38395         inclusion of dl-trampoline.h.
38396         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38398 2011-08-19  Andreas Schwab  <schwab@redhat.com>
38400         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38401         expectations for long double.
38403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38404         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38406 2011-08-14  David S. Miller  <davem@davemloft.net>
38408         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38409         artificual limit depends upon the system page size.
38411 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38413         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38414         * resolv/Makefile: Define CFLAGS-libresolv.
38416 2011-08-17  Andreas Schwab  <schwab@redhat.com>
38418         * nss/makedb.c (compute_tables): Make variables used in nested
38419         function static.
38421 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38423         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38424         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38425         if buffer was too small.
38427         * elf/pldd.c (main): Attach to all threads in the process.
38428         Rewrite /proc handling to use *at functions.
38430 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
38432         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38433         specifies first scope to show.
38434         (dl_open_worker): Update callers.  Move printing scope of new
38435         object to before the relocation.
38436         * elf/rtld.c (dl_main): Update _dl_show_scope call.
38437         * sysdeps/generic/ldsodefs.h: Update declaration.
38439         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38440         string for the scope number.
38442 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
38444         * nscd/servicescache.c (cache_addserv): Make sure written is always
38445         initialized.
38447 2011-08-14  Roland McGrath  <roland@hack.frob.com>
38449         * sysdeps/i386/i486/bits/atomic.h
38450         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38451         statement expression, so as to suppress "set but not used" warning.
38452         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38454         * string/strncat.c (STRNCAT): Use prototype definition.
38456         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38457         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38458         -Iprograms here.
38459         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38460         (localedef-modules): Add localedef.
38461         (locale-modules): Add locale.
38463         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38464         * elf/rtld.c (dl_main): Invert order of assignment in last change,
38465         to avoid a warning.
38467 2011-08-14  David S. Miller  <davem@davemloft.net>
38469         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38470         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38472 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
38474         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38475         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38476         * elf/rtld.c (dl_main): Set l_name of vDSO.
38477         Call _dl_show_scope when DL_DEBUG_SCOPES.
38478         (process_dl_debug): Recognize scopes flag and also set it for all.
38479         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38480         Declare _dl_show_scope.
38482         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38483         (do_dlopen): Pass caller_dlopen to dl_open.
38484         (__libc_dlopen_mode): Initialize caller_dlopen.
38486         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38487         of libc.  Make tolower call locale-independent.  Optimize a bit by
38488         using isdigit instead of isalnum.
38489         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38491 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
38493         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38494         was a dependency or dynamically loaded.
38496 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
38498         * intl/l10nflist.c: Allow architecture-specific pop function.
38499         * sysdeps/x86_64/l10nflist.c: New file.
38501         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38502         classification.
38504 2011-08-10  Andreas Schwab  <schwab@redhat.com>
38506         * include/dirent.h: Add libc_hidden_proto for scandirat and
38507         scandirat64.  Don't declare __scandirat64.
38508         * dirent/scandirat.c: Add libc_hidden_def.
38509         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38510         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38512 2011-08-10  David S. Miller  <davem@davemloft.net>
38514         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38515         enum.
38516         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38517         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38518         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38520 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
38522         * Versions.def [libc]: Add GLIBC_2.15.
38523         * dirent/Makefile (routines): Add scandirat and scandirat64.
38524         * dirent/Versions [libc]: Export scandirat and scandirat64 for
38525         GLIBC_2.15.
38526         * dirent/dirent.h: Declare scandirat and scandirat64.
38527         * dirent/scandirat.c: New file.
38528         * dirent/scandirat64.c: New file.
38529         * sysdeps/wordsize-64/scandirat.c: New file.
38530         * sysdeps/wordsize-64/scandirat64.c: New file.
38531         * dirent/opendir.c: Define opendirat.
38532         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
38533         using scandirat.
38534         * dirent/scandir64.c: Adjust for scandir.c change.
38535         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
38536         __scandirat64, and __scandir_cancel_handler.
38537         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
38538         additional parameter and use openat instead of open (outside of ld.so).
38539         Add new __opendir as wrapper around __opendirat.
38540         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38541         here without requiring old scandirat implementation.
38543 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
38545         * dirent/scandir.c (cancel_handler): Renamed to
38546         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
38547         defined.  Adjust users.
38548         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38549         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38551 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
38553         * string/test-string.h (IMPL): Use __STRING to expand name and then
38554         stringify it.
38556         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
38557         of cleanups.
38559 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38561         * string/Makefile: Update.
38562         (strop-tests): Append strncat.
38563         * string/test-wcscmp.c: New file.
38564         New comprehensive test for wcscmp.
38565         * string/test-strcmp.c: Update.
38566         (WIDE): New define.
38568 2011-07-22  Andreas Schwab  <schwab@redhat.com>
38570         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38571         line.
38573 2011-07-26  Andreas Schwab  <schwab@redhat.com>
38575         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38576         encoding to ACE if AI_IDN.
38578 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
38580         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38581         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38583 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38585         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38586         Fix overflow bug in strncat.
38587         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38589         * string/test-strncat.c: Update.
38590         Add new tests for checking overflow bugs.
38592 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38594         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38595         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38596         * sysdeps/i386/i686/multiarch/strcat.S: New file.
38597         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38598         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38599         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38600         * sysdeps/i386/i686/multiarch/strncat.S: New file.
38601         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38602         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38604         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38605         (USE_AS_STRCAT): Define.
38606         Add strcat and strncat support.
38607         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38609 2011-07-25  Andreas Schwab  <schwab@redhat.com>
38611         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38612         __n bigger than INT_MAX+1.
38613         (__strncmp_g): Likewise.
38615 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
38617         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38618         * libio/stido.h: Likewise.
38620         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38621         (AF_NFC): Define.
38622         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38623         (AF_NFC): Define.
38625         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38626         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38627         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38628         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38629         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38631         [BZ #13021]
38632         * scripts/test-installation.pl: Don't expect libnss_test1 to be
38633         installed.
38635         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38636         typo.
38637         (_dl_x86_64_save_sse): Likewise.
38639 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
38641         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38642         OSXSAVE.
38643         (_dl_x86_64_save_sse): Likewise.
38645         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38647         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38649 2011-07-21  Andreas Schwab  <schwab@redhat.com>
38651         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38652         change.
38653         (_dl_x86_64_save_sse): Use correct AVX check.
38655 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38657         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38658         bug in strncpy/strncat.
38659         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38661 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
38663         * string/tester.c (test_strcat): Add tests for different alignments
38664         of source and destination.
38665         (test_strncat): Likewise.
38667 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38669         [BZ #12852]
38670         * posix/glob.c (glob): Check passed in values before using them in
38671         expressions to avoid some overflows.
38672         (glob_in_dir): Likewise.
38674         [BZ #13007]
38675         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38676         check for AVX enablement so that we don't crash with old kernels and
38677         new hardware.
38678         * elf/tst-audit4.c: Add same checks here.
38679         * elf/tst-audit6.c: Likewise.
38681         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38683 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
38685         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38687 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38689         * po/cs.po: Update from translation team.
38690         * po/bg.po: Likewise.
38692 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
38694         * misc/sys/cdefs.h: Add support for const attribute.
38695         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38696         to gnu_dev_{major,minor,makedev} functions.
38698 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
38700         * intl/dcigettext.c (get_output_charset): Add missing bracket.
38702 2011-07-20  Andreas Schwab  <schwab@redhat.com>
38704         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38705         strlen results.
38707 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38709         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38710         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38711         register in order to avoid conflicts with the soft frame pointer
38712         being held in r11 when necessary.
38713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38714         (INTERNAL_VSYSCALL_NCS): Likewise.
38716 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
38718         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38719         * elf/dl-fini.c (_dl_fini): Adjust caller.
38720         * elf/dl-close.c (_dl_close_worker): Likewise.
38721         * sysdeps/generic/ldsodefs.h: Adjust declaration.
38723 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
38725         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38726         "aux_cache->nlibs < 0".
38728         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38729         in the reload-count case.
38731 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38734         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38735         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38736         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38737         * sysdeps/x86_64/multiarch/strcat.S: New file.
38738         * sysdeps/x86_64/multiarch/strncat.S: New file.
38739         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38740         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38741         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38742         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38743         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38744         (USE_AS_STRCAT): Define.
38745         Add strcat and strncat support.
38746         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38747         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38748         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38749         * string/strncat.c: Update.
38750         (USE_AS_STRNCAT): Define.
38751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38752         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38753         and i7.
38754         * sysdeps/x86_64/multiarch/init-arch.h
38755         (bit_Prefer_PMINUB_for_stringop): New.
38756         (index_Prefer_PMINUB_for_stringop): Likewise.
38757         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38758         bit_Prefer_PMINUB_for_stringop.
38760 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
38762         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38763         buffer64.
38764         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38765         of casting of buffer.
38766         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38767         buffer32 and buffer64.
38768         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38769         writes instead of casting of buffer.
38770         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38771         buffer32.
38772         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38773         casting of buffer.
38775 2011-07-19  Andreas Schwab  <schwab@redhat.com>
38777         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38779 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
38781         * nscd/nscd.c (termination_handler): Don't do anything for a database
38782         if it has not yet been initialized.
38784 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
38786         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38788 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
38790         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38792 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
38794         * po/nl.po: Update from translation team.
38795         * po/sv.po: Likewise.
38797 2011-07-16  Roland McGrath  <roland@hack.frob.com>
38799         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38800         now disallowed by GCC.
38802         * configure.in (use-default-link): Default to yes if a test -shared
38803         link meets our qualifications.
38804         * configure: Regenerated.
38806         * config.make.in (output-format): New variable.
38807         * configure.in: Check for ld --print-output-format support.
38808         * configure: Regenerated.
38809         * Makerules ($(common-objpfx)format.lds)
38810         [$(output-format) != unknown]: Just use $(output-format),
38811         instead of the linker-script munging.
38813 2011-07-14  Roland McGrath  <roland@hack.frob.com>
38815         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38816         of $(common-objpfx)shlib.lds.
38817         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38819         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38820         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38822         * configure.in (-z relro check): Adjust test code to add a large
38823         writable data section after it.
38824         * configure: Regenerated.
38826 2011-07-11  Roland McGrath  <roland@hack.frob.com>
38828         * configure.in (-z relro check): Fix test code to make the variable
38829         truly const.
38830         * configure: Regenerated.
38832 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
38834         * nscd/nscd.h (struct traced_file): Define.
38835         (struct database_dyn): Remove inotify_descr, reset_res, and filename
38836         elements.  Add traced_files.
38837         (inotify_fd): Declare.
38838         (register_traced_file): Declare.
38839         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38840         (inotify_fd): Export.
38841         (resolv_conf_descr): Remove.
38842         (nscd_init): Move inotify descriptor creation to main.
38843         Don't register files for notification here.
38844         (register_traced_file): New function.
38845         (invalidate_cache): Don't use reset_res to determine whether to call
38846         res_init, go through the list of registered files.
38847         (main_loop_poll): The inotify descriptors are now stored in the
38848         structures for the traced files.
38849         (main_loop_epoll): Likewise
38850         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
38851         to __nss_disable_nscd.
38852         * nscd/cache.c (prune_cache): There is no single inotify descriptor
38853         for a database anymore.  Check the records for all the registered
38854         files instead.
38855         * nss/Makefile (libnss_files-routines): Add files-init.
38856         (libnss_db-routines): Add db-init.
38857         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38858         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38859         * nss/nss_db/db-init.c: New file.
38860         * nss/nss_files/files-init.c: New file.
38861         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
38862         __nss_lookup_function.
38863         (__nss_lookup_function): Call nss_load_library.
38864         (nss_load_all_libraries): New function.
38865         (__nss_disable_nscd): Take parameter with callback function for files
38866         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
38867         used for the cached services.
38868         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38869         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38870         options for features to all the files in nscd.
38872         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38874 2011-07-10  Roland McGrath  <roland@hack.frob.com>
38876         * csu/elf-init.c (__libc_csu_init): Comment typo.
38878 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
38880         * po/pl.po: Update from translation team.
38881         * po/ja.po: Likewise.
38882         * po/ru.po: Likewise.
38883         * po/ko.po: Likewise.
38884         * po/fr.po: Likewise.
38886 2011-07-09  Roland McGrath  <roland@hack.frob.com>
38888         * configure.in (.ctors/.dtors header and trailer check):
38889         Use an empirical test on a built program.
38890         * configure: Regenerated.
38892         * configure.in (-z relro check): Use an empirical test on a built DSO.
38893         Detect, but do not require, on ia64.
38894         * configure: Regenerated.
38896         * configure.in (READELF): Find it with AC_CHECK_TOOL.
38897         Update tests that use readelf to use $READELF instead.
38898         * configure: Regenerated.
38900 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
38902         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38903         if the result is not used.
38905 2011-07-05  Andreas Jaeger  <aj@suse.de>
38907         [BZ#9696]
38908         * stdlib/tst-strtod.c: Add testcase.
38910 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
38912         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38913         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38914         The latter has a higher limit.  Take additional parameter to pass to
38915         the new function.
38916         (__pathconf): Pass file to __statfs_link_max.
38917         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38918         __statfs_link_max.
38919         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38920         __statfs_link_max.
38922         [BZ #12868]
38923         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38924         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38925         Handle Lustre.
38926         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38927         (__statfs_filesize_max): Likewise.
38928         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38930 2011-07-05  Andreas Jaeger  <aj@suse.de>
38932         * resolv/res_comp.c (dn_skipname): Remove unused variable.
38934 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
38936         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38937         `status' variable.
38938         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38939         Likewise.
38941 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
38943         * Makefile (strop-tests): Add strncat.
38944         * string/test-strncat.c: New file.
38946 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
38948         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38950 2011-06-21  Andreas Jaeger  <aj@suse.de>
38952         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38953         Copy rule from iconvdata/Makefile.
38955 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38957         [BZ #12922]
38958         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38959         but no long options are defined, just return 'W'.
38961 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
38963         [BZ #9696]
38964         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38966 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38968         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38969         netgroups to read.
38970         (innetgr): Likewise.
38972 2011-07-05  Roland McGrath  <roland@hack.frob.com>
38974         * config.make.in (install_root): Default to $(DESTDIR).
38976 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
38978         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38980 2011-07-02  Roland McGrath  <roland@hack.frob.com>
38982         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38984         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38985         containing directory rather than embedding absolute directory names.
38987         * scripts/check-local-headers.sh: Rewritten using awk.
38988         Match by word, not by line.  Print error messages for matches.
38989         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38991         * Makerules [shlib-lds-flags empty]:
38992         ($(common-objpfx)libc_pic.opts): New target.
38993         ($(common-objpfx)libc_pic.os.clean): New target.
38994         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38996         * config.make.in (OBJCOPY): New variable.
38997         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38998         * configure: Regenerated.
39000         * config.make.in (use-default-link): New variable.
39001         * configure.in (use_default_link): Grok --with-default-link to set it.
39002         * configure: Regenerated.
39003         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39004         (shlib-lds, shlib-lds-flags): Define to empty.
39006         * Makerules (shlib-lds): New variable.
39007         (shlib-lds-flags): New variable.
39008         (build-shlib, build-moduile, build-module-asneeded): Use it.
39009         ($(common-objpfx)libc.so): Use $(shlib-lds).
39010         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39011         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39013         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39014         DT_FLAGS/DT_FLAGS_1 with zero flags.
39016         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39017         linker script munging.
39019 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
39021         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39022         as 128-bit value.
39023         * crypt/sha512.c (sha512_process_block): Perform total addition using
39024         128-bit if possible.
39025         (__sha512_finish_ctx): Likewise.
39026         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39027         as 64-bit value.
39028         * crypt/sha256.c (SWAP64): Define.
39029         (sha256_process_block): Perform total addition using 64-bit if
39030         possible.
39031         (__sha256_finish_ctx): Likewise.
39033 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
39035         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
39036         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39037         * nscd/hstcache.c (cache_addhst): Likewise.
39038         * nscd/grpcache.c (cache_addgr): Likewise.
39039         * nscd/aicache.c (addhstaiX): Likewise
39040         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39042 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
39044         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39045         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39046         * nscd/hstcache.c (cache_addhst): Likewise.
39047         * nscd/grpcache.c (cache_addgr): Likewise.
39048         * nscd/aicache.c (addhstaiX): Likewise
39050 2011-07-01  Andreas Schwab  <schwab@redhat.com>
39052         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39053         domain only when needed.
39055 2011-06-30  Andreas Schwab  <schwab@redhat.com>
39057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39058         is always restored.
39060 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
39062         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39063         are re-adding the entry.
39064         * nscd/servicescache.c (cache_addserv): Likewise.
39066 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
39068         * sysdeps/generic/dl-irel.h: fix protection against multiple
39069         inclusions.
39070         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39072 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
39074         [BZ #12935]
39075         * malloc/memusage.sh: Fix quoting in message.
39076         * debug/xtrace.sh: Likewise.
39078         * configure.in: Remove support for --experimental-malloc option, make
39079         it the default.
39080         * config.make.in: Likewise.
39081         * malloc/Makefile: Likewise.
39083 2011-06-27  Andreas Schwab  <schwab@redhat.com>
39085         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39086         two-byte characters.
39088 2011-06-27  Roland McGrath  <roland@hack.frob.com>
39090         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39091         AC_CACHE_CHECK invocation.
39092         * configure: Regenerated.
39094         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39096 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
39098         [BZ #12350]
39099         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
39100         bit from old_res_options.
39102         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39104         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39105         value type for setfct.
39107 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
39109         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39110         __gettimeofday instead of gettimeofday.
39112 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
39114         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39116 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
39118         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39120         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39121         info.
39123 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39126         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39127         strcpy-sse2-unaligned strncpy-sse2-unaligned
39128         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39129         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39130         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39131         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39132         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39133         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39134         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39135         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39136         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39137         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39138         (STRCPY): Support SSE2 and SSSE3 versions.
39140 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
39142         [BZ #12874]
39143         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39144         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39145         kernels which artificially limit size of requests.
39147 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
39149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39150         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39151         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39152         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39153         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39154         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39155         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39156         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39157         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39158         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39159         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39160         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39161         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39162         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39163         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39164         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39165         Enable unaligned load optimization for Intel Core i3, i5 and i7
39166         processors.
39167         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39168         Define.
39169         (index_Fast_Unaligned_Load): Define.
39170         (HAS_FAST_UNALIGNED_LOAD): Define.
39172 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
39174         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39176 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39178         [BZ #12907]
39179         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39180         until it is clear that the information is realy needed.
39181         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39183 2011-06-22  Andreas Schwab  <schwab@redhat.com>
39185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39187 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39189         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39190         /sys/devices/system/cpu/online if it is usable.
39192         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39193         reading the information from the /proc filesystem to once a second.
39195 2011-06-21  Andreas Jaeger  <aj@suse.de>
39197         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39198         NULL after inclusion of kernel headers.
39200 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
39202         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39203         calls to internal_setent.
39205         [BZ #12885]
39206         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39207         addresses using gethostbyname4_r ignore IPv4 addresses.
39209         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39210         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
39212         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39214 2011-06-20  David S. Miller  <davem@davemloft.net>
39216         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39217         inclusions.
39218         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39220         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39221         (elf_irel): Use it.
39222         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39223         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39224         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39225         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39226         * sysdeps/x86_64/dl-irel.h: Likewise.
39228         * elf/dl-runtime.c: Use elf_ifunc_invoke.
39229         * elf/dl-sym.c: Likewise.
39231 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39233         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
39234         need to dereference resplen2.
39236 2011-06-14  Andreas Schwab  <schwab@redhat.com>
39238         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39240 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39242         * Makeconfig: Define vardbdir and inst_vardbdir.
39243         * nss/Makefile: Add rules to install db-Makefile.
39245         * nss/nss_db/db-XXX.c: Cleanup.
39247         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39248         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39249         GLIBC_PRIVATE.
39250         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39251         * nss/makedb.c: Implement -g option to specify that value strings
39252         are generated and should not be added to table iterated over for
39253         get*ent calls.
39254         * nss/nss_db/db-initgroups.c: New file.
39256         * nss/getent.c: Add support for initgroups lookups through getgrouplist
39257         interface.
39259         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39260         (internal_getgrouplist): Adjust to name change.
39261         Update use_initgroups_entry if this is not the first call.
39262         * nss/databases.def: Add initgroups entry.
39264         * nss/makedb.c (compute_tables): Check result of multiple hash table
39265         sizes to minimize maximum chain length.
39267 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
39269         * Versions.def: Add entry for libnss_db.
39270         * shlib-versions: Likewise.
39271         * nss/Makefile: Add rules to build libnss_db.
39272         * nss/Versions: Add libnss_db information.  Organize libnss_files
39273         entries better.
39274         * nss/db-Makefile: Add gshadow support.  Change rules for the new
39275         makedb progra.  Some minor improvements to generate smaller files.
39276         * nss/nss_db/nss_db.h: Move NSS database header data structures to
39277         here from...
39278         * nss/makedb.c: ...here.
39279         Improve database format to be smaller and require less memory at
39280         runtime.
39281         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
39282         db anymore.
39283         * nss/nss_db/db-netgrp.c: Likewise.
39284         * nss/nss_db/db-open.c: Likewise.
39285         * nss/nss_files/flies-XXX.x: Adjust comments.
39286         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39287         * nss/nss_files/files-grp.c: Likewise.
39288         * nss/nss_files/files-hosts.c: Likewise.
39289         * nss/nss_files/files-network.c: Likewise.
39290         * nss/nss_files/files-proto.c: Likewise.
39291         * nss/nss_files/files-pwd.c: Likewise.
39292         * nss/nss_files/files-rpc.c: Likewise.
39293         * nss/nss_files/files-service.c: Likewise.
39294         * nss/nss_files/files-sgrp.c: Likewise.
39295         * nss/nss_files/files-spwd.c: Likewise.
39296         * nss/nss_db/db-alias.c: Removed.
39297         * nss/nss_db/dummy-db.h: Removed.
39299 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
39301         * nss/makedb.c: Rewritten to not use database library.
39302         * nss/Makefile: Update to build new makedb program.
39304 2011-06-14  Andreas Jaeger  <aj@suse.de>
39306         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39307         memset declaration.
39309 2011-06-10  Andreas Schwab  <schwab@redhat.com>
39311         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39312         tmpbuf.
39314 2011-06-10  Roland McGrath  <roland@hack.frob.com>
39316         * Makerules (shlib.lds): Fail if the linker script comes out empty.
39317         * elf/Makefile ($(objpfx)ld.so): Likewise.
39319         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39320         Don't list ld.so twice in dependencies.
39322         * posix/bug-regex31.c: Include <stdlib.h>.
39324         * nscd/hstcache.c (cache_addhst): Remove unused variable.
39326         * nis/nss_compat/compat-spwd.c
39327         (getspent_next_nss_netgr): Remove unused variable.
39328         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39330         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39331         nonmembers" output to use the right array.
39333         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39335         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39337         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39338         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39339         * catgets/gencat.c (read_input_file): Likewise.
39340         * locale/programs/locarchive.c (enlarge_archive): Likewise.
39342         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39343         variable definition inside #if's controlling its use.
39345         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39347         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39349         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39351         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39352         unreachable code.
39354         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39356         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39357         * configure: Regenerated.
39359         * Makerules: Revert last change.
39360         * elf/Makefile: Likewise.
39362 2011-06-09  Roland McGrath  <roland@hack.frob.com>
39364         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39365         * elf/Makefile ($(objpfx)librtld.os): Likewise.
39366         (reloc-link): Likewise.
39368 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
39370         * elf/Makefile: Add rules to build pldd.
39371         * elf/pldd.c: New file.
39372         * elf/pldd-xx.c: New file.
39374 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
39376         * version.h: Update for 2.15 development version.
39378 2011-06-07  David S. Miller  <davem@davemloft.net>
39380         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39381         ifuncs.
39382         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39383         elf_machine_lazy_rel): Likewise.
39384         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39385         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39386         elf_machine_lazy_rel): Likewise.
39387         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39388         dl_hwcap via passed in argument.
39389         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39390         Likewise.
39392 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39394         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
39396 2011-06-06  Roland McGrath  <roland@hack.frob.com>
39398         [BZ #12849]
39399         * manual/fdl-1.1.texi: New file, verbatim from:
39400         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39401         * manual/lgpl-2.1.texi: New file, verbatim from:
39402         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39403         * manual/Makefile (licenses): New variable, list those new file names.
39404         (texis): Use it.
39405         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39407         * manual/fdl.texi: File removed.
39408         * manual/lesser.texi: File removed.
39409         * manual/libc.texinfo (Copying, Documentation License):
39410         Use new @include file names, put @appendix directive before @include.
39412 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
39414         [BZ #12841]
39415         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39416         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39417         (mq_open): Add __NTH.
39419 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
39421         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39422         Assume Intel Core i3/i5/i7 processor if AVX is available.
39424 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39426         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39427         typo.
39429 2011-05-31  Andreas Schwab  <schwab@redhat.com>
39431         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39432         memory.  Use alloca_account.  Fix memory leak when retrying.
39434 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39436         * version.h (RELEASE): Bump for 2.14 release.
39437         * include/features.h (__GLIBC_MINOR__): Bump to 14.
39439         * config.make.in (RANLIB): Remove entry.
39441 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
39443         * po/Makefile (po-sed-cmd): Add ksh to extensions.
39444         (libc.pot): Work around missing support for .ksh extension in xgettext.
39446         [BZ #12684]
39447         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39448         if both request failed.
39449         (send_dg): In case of server errors clear resplen or *resplen2.
39451         [BZ #12454]
39452         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39453         when there are multiple maps.
39454         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39455         (_dl_fini): Remove test here.
39457         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39459 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
39461         [BZ #12350]
39462         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39463         bit from old_res_options.
39464         (gaih_inet): Likewise.
39466         [BZ #11099]
39467         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39468         as signed.
39470         * resolv/res_init.c (res_setoptions): Make the code more compact.
39472         [BZ #11558]
39473         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39474         set RES_USEVC.
39476         [BZ #11634]
39477         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39479         * malloc/malloc.h: Mark malloc hook variables as deprecated.
39481         [BZ #11781]
39482         * malloc/malloc.h: Declare malloc hook variables as volatile.
39484         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39485         in last patch.
39487         [BZ #11799]
39488         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39489         raise in the comment.
39490         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39491         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39492         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39494 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
39496         [BZ #12811]
39497         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39498         grow the buffers more if it already has to be sufficient.
39499         (build_wcs_upper_buffer): Likewise.
39500         * posix/regexec.c (check_matching): Likewise.
39501         (clean_state_log_if_needed): Likewise.
39502         (extend_buffers): Don't enlarge buffers beyond size of the input
39503         buffer.
39504         Patches mostly by Emil Wojak <emil@wojak.eu>.
39505         * posix/bug-regex32.c: New file.
39506         * posix/Makefile (tests): Add bug-regex32.
39508         * locale/findlocale.c (_nl_find_locale): Return right away if
39509         _nl_explode_name failed.
39510         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39512         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39514         * debug/xtrace.sh: Unify messages.
39515         * malloc/memusage.sh: Likewise.
39517         [BZ #12813]
39518         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39519         time symbol from vDSO.  Substitute with vsyscall if not available.
39520         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39521         __vdso_time.
39523         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39524         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39525         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39526         Add sendmmsg and internal_sendmmsg.
39527         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39528         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39529         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39531         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39532         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39533         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39535 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
39537         [BZ #12813]
39538         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39539         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
39540         available.
39541         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39542         __vdso_getcpu.
39544         [BZ #12814]
39545         * iconvdata/Makefile (tests): Add bug-iconv9.
39546         * iconvdata/bug-iconv9.c: New file.
39548 2011-05-27  Andreas Schwab  <schwab@redhat.com>
39550         [BZ #12814]
39551         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39553 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
39555         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39556         (struct user_regs_struct): Change intcs field back to cs.
39558 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
39560         * po/ja.po: Update from translation team.
39562 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
39564         [BZ #12795]
39565         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39566         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39568 2011-05-20  Andreas Schwab  <schwab@redhat.com>
39570         * stdlib/longlong.h: Update from GCC.
39572 2011-05-23  Andreas Schwab  <schwab@redhat.com>
39574         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39575         parameter name.
39576         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39577         Add parameter name.
39578         (__sysconf): Pass it down.
39580 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
39582         [BZ #12671]
39583         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39584         some situations.
39585         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39586         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39587         add in in __libc_use_alloca calls.  Adjust callers.
39588         (glob): Use malloc in some situations.
39590         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39591         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39592         pltexit.
39594 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
39596         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39597         and CLOCK_BOOTTIME_ALARM.
39599         [BZ #12782]
39600         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39601         is returned.
39603         * string/_strerror.c (__strerror_r): Print negative errors as signed
39604         numbers.
39606         [BZ #12777]
39607         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39608         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39609         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39611         * configure.in: Fix typo in redirection and correct removal of test
39612         files in two cases.
39614         [BZ #12788]
39615         * locale/setlocale.c (new_composite_name): Fix test to check for
39616         identical name of all categories.
39618         [BZ #12792]
39619         * libio/filedoalloc.c (local_isatty): New function.
39620         (_IO_file_doallocate): Use local_isatty.
39621         * stdio-common/perror.c (perror): In case a new stream is used
39622         forward the stream error.
39623         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39624         error flag.
39626 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
39628         [BZ #11869]
39629         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39630         alloca.
39631         * include/alloca.h (extend_alloca_account): Define.
39633         [BZ #11857]
39634         * posix/regex.h: Fix comments with documentation of user-accessible
39635         fields after compilation and describe correct free'ing of pattern
39636         after re_compile_pattern.
39637         Patch by Reuben Thomas <rrt@sc3d.org>.
39639 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
39641         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39642         and -mno-altivec to prevent the compiler from using Altivec and/or
39643         VSX instructions when the corresponding registers are not available.
39645 2011-05-19  Andreas Schwab  <schwab@redhat.com>
39647         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39649 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
39651         * libio/freopen.c (freopen): Use __dup2, not dup2.
39652         * libio/freopen64.c (freopen64): Likewise.
39654 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39656         [BZ #12775]
39657         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39658         * math/Makefile (tests): Add test-powl.
39659         (CFLAGS-test-powl.c): Define.
39660         * math/test-powl.c: New file.
39662 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39664         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39666 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
39668         [BZ #11837]
39669         * iconvdata/gb18030.c: Update to GB18020-2005.
39671 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
39673         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39674         RE_SYNTAX_POSIX_AWK): Update to match recent development.
39675         Patch by Aharon Robbins <arnold@skeeve.com>.
39677         [BZ #11892]
39678         * stdlib/putenv.c (putenv): Don't always create copy of the variable
39679         on the stack.
39681         [BZ #11895]
39682         * misc/pselect.c (__pselect): Handle timeout value errors hidden
39683         through underflows.
39685         [BZ #12766]
39686         * misc/error.c (error_at_line): Ensure file_name and old_file_name
39687         point to strings before performing equality test for error_one_per_line
39688         mode.
39690         [BZ #11697]
39691         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39693         [BZ #11820]
39694         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39695         (struct user_fpregs_struct): Avoid __uint*_t types.
39697         [BZ #6420]
39698         * malloc/mtrace.c (tr_where): Add additional parameter to point to
39699         symbol info.  Use it instead of calling _dl_addr locally.
39700         (lock_and_info): New function.
39701         (tr_freehook): Call lock_and_info and pass symbol info as additional
39702         parameter to tr_where.
39703         (tr_mallochook): Likewise.
39704         (tr_reallochook): Likewise.
39705         (tr_memalignhook): Likewise.
39707         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
39708         used and couldn't be at all thread-safe.
39710 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
39712         * libio/freopen.c (freopen): Don't close old file descriptor
39713         before the new one is opened.  Instead dup the new file descriptor
39714         to the old one after the new stream is created.
39715         * libio/freopen64.c (freopen64): Likewise.
39716         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39717         * libio/fileops.c (_IO_new_file_close_it): Handle new
39718         _IO_FLAGS2_NOCLOSE flag.
39719         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39720         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39721         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39722         _IO_FLAGS2_NOCLOSE flag.
39723         * include/unistd.h: Add hidden_proto for dup3.
39724         Define __have_dup3.
39725         * io/dup3.c: Define hidden symbol.
39726         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39728         [BZ #7101]
39729         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39730         when an incomplete long option is used.
39731         * posix/tst-getopt_long1.c: New file.
39732         * posix/Makefile (tests): Add tst-getopt_long1.
39734         [BZ #10138]
39735         * scripts/config.guess: Update from autoconf-2.68.
39736         * scripts/config.sub: Likewise.
39738         [BZ #10157]
39739         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39740         tests into ...
39741         (has_cpuclock): ...this.  New function.
39742         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39743         macro here based on has_cpuclock code.
39745         [BZ #10149]
39746         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39747         First byte (not low byte) is now always NUL.
39748         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39750         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39751         Use non-cancelable interfaces.
39753         [BZ #9809]
39754         * locale/iso-639.def: Add entry for Sorani.
39756         [BZ #11901]
39757         * include/stdlib.h: Move include protection to the right place.
39758         Define abort_msg_s.  Declare __abort_msg with it.
39759         * stdlib/abort.c (__abort_msg): Adjust type.
39760         * assert/assert.c (__assert_fail_base): New function.  Majority
39761         of code from __assert_fail.  Allocate memory for __abort_msg with
39762         mmap.
39763         (__assert_fail): Now call __assert_fail_base.
39764         * assert/assert-perr.c: Remove bulk of implementation.  Use
39765         __assert_fail_base.
39766         * include/assert.hL Declare __assert_fail_base.
39767         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39768         mmap.
39769         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39771 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
39773         [BZ #11952]
39774         [BZ #12453]
39775         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39776         until all modules are registered in the DTV.
39777         * elf/Makefile: Add rules to build and run tst-tls19.
39778         * elf/tst-tls19.c: New file.
39779         * elf/tst-tls19mod1.c: New file.
39780         * elf/tst-tls19mod2.c: New file.
39781         * elf/tst-tls19mod3.c: New file.
39782         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39784         [BZ #12083]
39785         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39786         correctly.
39788         [BZ #12601]
39789         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39790         two-byte sequence errors.
39791         * iconvdata/Makefile (tests): Add bug-iconv8.
39792         * iconvdata/bug-iconv8.c: New file.
39794         [BZ #12626]
39795         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39796         buf2 definition.
39798         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39800         [BZ #12432]
39801         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39802         (dummy_getcfa): New function.
39803         (init): Get _Unwind_GetCFA address, use dummy if not found.
39804         (backtrace_helper): In recursion check, also check whether CFA changes.
39805         (__backtrace): Completely initialize arg.
39807         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
39808         storing incomplete byte sequence in state object.  Avoid testing for
39809         guaranteed too small input if we know there is enough data available.
39811 2011-05-11  Andreas Schwab  <schwab@redhat.com>
39813         * Makeconfig (+link-pie): Indent.
39814         * Rules (binaries-pie): Define if $(have-fpie) and
39815         $(build-shared).
39816         (binaries-shared): Also filter out $(binaries-pie).
39817         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39818         * nscd/Makefile (others-pie): Add nscd.
39819         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39820         ($(objpfx)nscd): Remove command override.
39821         * login/Makefile (others-pie): Add pt_chown.
39822         ($(objpfx)pt_chown): Remove command override.
39823         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39824         remove command overrides.
39826 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
39828         * libio/tst_putwc.c: Fix error messages.
39830         [BZ #12724]
39831         * libio/fileops.c (_IO_new_file_close_it): Always flush when
39832         currently writing and seek to current position when not.
39833         * libio/Makefile (tests): Add bug-fclose1.
39834         * libio/bug-fclose1.c: New file.
39836 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
39838         [BZ #12511]
39839         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39840         don't set DF_1_NODELETE here.
39841         (do_lookup_x): When entering new entry test for copy relocation
39842         and if necessary set DF_1_NODELETE flag.
39843         * elf/tst-unique4.cc: New file.
39844         * elf/tst-unique4.h: New file.
39845         * elf/tst-unique4lib.cc: New file.
39846         * elf/Makefile: Add rules to build and run tst-unique4.
39847         Patch by Piotr Bury <pbury@goahead.com>.
39849 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
39851         [BZ #12052]
39852         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39854         [BZ #12625]
39855         * misc/mntent_r.c (addmntent): Flush the stream after the output
39857         [BZ #12393]
39858         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39859         (is_trusted_path_normalize): Skip initial colon.  Append slash
39860         to empty buffer.  Duplicate is_trusted_path code but allow
39861         constructed patch to be prefix.
39862         (is_dst): Allow $ORIGIN followed by /.
39863         (_dl_dst_substitute): Correct clearing of check_for_trusted.
39864         Correct testing of result of is_trusted_path_normalize
39865         (decompose_rpath): Fix warning.
39867 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
39869         [BZ #11257]
39870         * grp/initgroups.c (internal_getgrouplist): When we found the service
39871         list through the initgroups entry in nsswitch.conf do not always
39872         continue on a successful lookup.  Don't always use the
39873         __nss_group_database value if it is set.
39874         * nss/nsswitch.conf (initgroups): Change action for successful db
39875         lookup to continue for compatibility.
39877 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
39879         [BZ #11532]
39880         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39881         and CP774 modules.
39882         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39883         and CP774 modules.
39884         * iconvdata/tst-tables.sh: Likewise.
39885         * iconvdata/cp770.c: New file.
39886         * iconvdata/cp771.c: New file.
39887         * iconvdata/cp772.c: New file.
39888         * iconvdata/cp773.c: New file.
39889         * iconvdata/cp774.c: New file.
39890         * iconvdata/testdata/CP770: New file.
39891         * iconvdata/testdata/CP770..UTF8: New file.
39892         * iconvdata/testdata/CP771: New file.
39893         * iconvdata/testdata/CP771..UTF8: New file.
39894         * iconvdata/testdata/CP772: New file.
39895         * iconvdata/testdata/CP772..UTF8: New file.
39896         * iconvdata/testdata/CP773: New file.
39897         * iconvdata/testdata/CP773..UTF8: New file.
39898         * iconvdata/testdata/CP774: New file.
39899         * iconvdata/testdata/CP774..UTF8: New file.
39901         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39902         END CHARMAP line.
39903         * iconvdata/gen-8bit-gap.sh: Likewise.
39904         * iconvdata/gen-8bit.sh: Likewise.
39906         * locale/iso-639.def: Add ary entry.
39908         [BZ #11258]
39909         * locale/C-translit.h.in: Add U20A1 transliteration.
39911         [BZ #12178]
39912         * locale/iso-639.def: Add wae entry.
39913         Patch by Kevin Bortis <bortis@translate-wae.ch>.
39915         [BZ #12545]
39916         * locale/programs/localedef.c (construct_output_path): Use ssize_t
39917         for n.
39919         [BZ #12711]
39920         * locale/C-translit.h.in: Add entry for U20B9.
39921         Patch by pravin.d.s@gmail.com.
39923 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
39925         [BZ #12713]
39926         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39927         ENAMETOOLONG use generic getcwd.
39928         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
39929         in rtld.  Use *stat64.
39930         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39931         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39932         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39933         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39934         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39935         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39936         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39937         __fstatat64 macros.
39938         * include/dirent.h: Add libc_hidden_proto for rewinddir.
39939         * dirent/rewinddir.c: Add libc_hidden_def.
39940         * sysdeps/mach/hurd/rewinddir.c: Likewise.
39941         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
39943         * include/dirent.h (__alloc_dir): Add flags parameter.
39944         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39945         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39946         __alloc_dir.
39947         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
39948         from fdopendir if O_CLOEXEC is already set.
39950 2011-03-15  Alan Modra  <amodra@gmail.com>
39952         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39953         l_tls_firstbyte_offset non-zero.  Save padding offset in
39954         l_tls_firstbyte_offset for later use.
39955         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39956         freeing static tls block.
39958 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
39960         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39961         where #ifdef was intended.  The intent is to prevent ARG_MAX from
39962         being defined by the kernel headers.
39964 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
39966         [BZ #12734]
39967         * resolv/resolv.h: Define RES_NOTLDQUERY.
39968         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39969         no-tld-query and set RES_NOTLDQUERY.
39970         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39971         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39972         modern BIND to search name as TLD unless forbidden.
39974 2011-05-07  Petr Baudis  <pasky@suse.cz>
39975             Ulrich Drepper  <drepper@gmail.com>
39977         [BZ #12393]
39978         * elf/dl-load.c (fillin_rpath): Move trusted path check...
39979         (is_trusted_path): ...to here.
39980         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39981         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39982         using is_trusted_path_normalize() in setuid scripts.
39984 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39986         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39987         __BEGIN/__END_DECLS.
39989 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
39991         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39992         NSS_STATUS_NOTFOUND if no record was found.
39994 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39996         * sunrpc/Makefile (headers): Add rpc/netdb.h.
39997         (headers-not-in-tirpc): Remove rpc/netdb.h
39998         * resolv/netdb.h: Revert last change.
40000 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40002         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40003         circular dependency between libgcc.a and libc.a.
40005 2011-05-05  Andreas Schwab  <schwab@redhat.com>
40007         * resolv/netdb.h: Don't include <rpc/netdb.h>.
40008         * nis/Makefile: Don't install rpcsvc/*.
40009         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40010         instead of <rpc/types.h>.
40011         (MAXHOSTNAMELEN): Define.
40013 2011-05-03  Andreas Schwab  <schwab@redhat.com>
40015         * elf/ldconfig.c (add_dir): Don't crash on empty path.
40017 2011-04-28  Maciej Babinski  <mbabinski@google.com>
40019         [BZ #12714]
40020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40021         gethostbyname4_r when IPv6 results are possible.
40023 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
40025         [BZ #12723]
40026         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40027         _PC_PIPE_BUF handling.
40029 2011-04-30  Bruno Haible  <bruno@clisp.org>
40031         [BZ #12717]
40032         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40033         * resolv/netdb.h (getnameinfo): Change type of flags parameter
40034         to 'int'.
40035         * inet/getnameinfo.c (getnameinfo): Likewise.
40037 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
40039         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40040         to groups setting in database lookup.
40041         * nss/nsswitch.conf: Add initgroups entry.
40043 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
40045         [BZ #12685]
40046         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40047         mode string.
40048         Patch by Eric Blake <eblake@redhat.com>.
40050 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
40052         * sunrpc/Makefile (need-export-routines): Add svc_run.
40053         (routines): Remove svc_run.
40054         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40055         * sunrpc/clnt_perr.c (clnt_perrno): Export.
40056         * sunrpc/svc_run.c (svc_run): Likewise.
40057         * sunrpc/svc_udp.c (svcudp_create): Likewise.
40059 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
40061         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40062         problem in reallocation in last patch.
40064 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
40066         * sunrpc/Makefile: Move inclusion of Rules.
40068 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40070         * nss/nss_files/files-initgroups.c: New file.
40071         * nss/Makefile (libnss_files-routines): Add files-initgroups.
40072         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40073         _nss_files_initgroups_dyn.
40075 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
40077         * elf/elf.h (R_ARM_IRELATIVE): Define.
40079 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
40081         * po/ru.po: Update from translation team.
40083 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40085         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40086         dependencies.
40088 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
40090         [BZ #12653]
40091         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40092         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40093         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40094         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40095         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40097 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
40099         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40100         differing bytes.
40101         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40102         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40103         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40105 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
40107         [BZ #12420]
40108         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40109         storing it.
40110         * stdlib/bug-getcontext.c: New file.
40111         * stdlib/Makefile: Add rules to build and run bug-getcontext.
40113 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40115         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40116         instructions into .machine "z9-109".
40117         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40118         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40120 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40122         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40123         between environment variables and auxiliary vector.
40125 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
40127         * Makefile: Add rules to build linkobj/libc.so.
40128         * include/libc-symbols.h: Define libc_hidden_nolink.
40129         * include/rpc/auth.h: Mark functions which are to be hidden.
40130         * include/rpc/auth_des.h: Likewise.
40131         * include/rpc/auth_unix.h: Likewise.
40132         * include/rpc/clnt.h: Likewise.
40133         * include/rpc/des_crypt.h: Likewise.
40134         * include/rpc/key_prot.h: Likewise.
40135         * include/rpc/pmap_clnt.h: Likewise.
40136         * include/rpc/pmap_prot.h: Likewise.
40137         * include/rpc/pmap_rmt.h: Likewise.
40138         * include/rpc/rpc_msg.h: Likewise.
40139         * include/rpc/svc.h: Likewise.
40140         * include/rpc/svc_auth.h: Likewise.
40141         * include/rpc/xdr.h: Likewise.
40142         * nis/Makefile: Link all DSOs against linkobj/libc.so.
40143         * nss/Makefile: Likewise.
40144         * sunrpc/Makefile: Don't install headers.  Build library with normal
40145         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
40146         * sunrpc/auth_des.c: Hide exported symbols by default, export some
40147         for the compat linking library.  Remove use of INTDEF/INTUSE.
40148         * sunrpc/auth_none.c: Likewise.
40149         * sunrpc/auth_unix.c: Likewise.
40150         * sunrpc/authdes_prot.c: Likewise.
40151         * sunrpc/authuxprot.c: Likewise.
40152         * sunrpc/clnt_gen.c: Likewise.
40153         * sunrpc/clnt_perr.c: Likewise.
40154         * sunrpc/clnt_raw.c: Likewise.
40155         * sunrpc/clnt_simp.c: Likewise.
40156         * sunrpc/clnt_tcp.c: Likewise.
40157         * sunrpc/clnt_udp.c: Likewise.
40158         * sunrpc/clnt_unix.c: Likewise.
40159         * sunrpc/des_crypt.c: Likewise.
40160         * sunrpc/des_soft.c: Likewise.
40161         * sunrpc/get_myaddr.c: Likewise.
40162         * sunrpc/key_call.c: Likewise.
40163         * sunrpc/key_prot.c: Likewise.
40164         * sunrpc/netname.c: Likewise.
40165         * sunrpc/pm_getmaps.c: Likewise.
40166         * sunrpc/pm_getport.c: Likewise.
40167         * sunrpc/pmap_clnt.c: Likewise.
40168         * sunrpc/pmap_prot.c: Likewise.
40169         * sunrpc/pmap_prot2.c: Likewise.
40170         * sunrpc/pmap_rmt.c: Likewise.
40171         * sunrpc/publickey.c: Likewise.
40172         * sunrpc/rpc_cmsg.c: Likewise.
40173         * sunrpc/rpc_common.c: Likewise.
40174         * sunrpc/rpc_dtable.c: Likewise.
40175         * sunrpc/rpc_prot.c: Likewise.
40176         * sunrpc/rpc_thread.c: Likewise.
40177         * sunrpc/rtime.c: Likewise.
40178         * sunrpc/svc.c: Likewise.
40179         * sunrpc/svc_auth.c: Likewise.
40180         * sunrpc/svc_authux.c: Likewise.
40181         * sunrpc/svc_raw.c: Likewise.
40182         * sunrpc/svc_run.c: Likewise.
40183         * sunrpc/svc_simple.c: Likewise.
40184         * sunrpc/svc_tcp.c: Likewise.
40185         * sunrpc/svc_udp.c: Likewise.
40186         * sunrpc/svc_unix.c: Likewise.
40187         * sunrpc/svcauth_des.c: Likewise.
40188         * sunrpc/xcrypt.c: Likewise.
40189         * sunrpc/xdr.c: Likewise.
40190         * sunrpc/xdr_array.c: Likewise.
40191         * sunrpc/xdr_float.c: Likewise.
40192         * sunrpc/xdr_intXX_t.c: Likewise.
40193         * sunrpc/xdr_mem.c: Likewise.
40194         * sunrpc/xdr_rec.c: Likewise.
40195         * sunrpc/xdr_ref.c: Likewise.
40196         * sunrpc/xdr_sizeof.c: Likewise.
40197         * sunrpc/xdr_stdio.c: Likewise.
40199 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
40201         [BZ #12650]
40202         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40203         * sysdeps/ia64/dl-tls.h: Likewise.
40204         * sysdeps/powerpc/dl-tls.h: Likewise.
40205         * sysdeps/s390/dl-tls.h: Likewise.
40206         * sysdeps/sh/dl-tls.h: Likewise.
40207         * sysdeps/sparc/dl-tls.h: Likewise.
40208         * sysdeps/x86_64/dl-tls.h: Likewise.
40209         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40211 2011-03-14  Andreas Schwab  <schwab@redhat.com>
40213         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40214         rpath element also skip the following colon.
40215         (expand_dynamic_string_token): Add is_path parameter and pass
40216         down to DL_DST_REQUIRED and _dl_dst_substitute.
40217         (decompose_rpath): Call expand_dynamic_string_token with
40218         non-zero is_path.  Ignore empty rpaths.
40219         (_dl_map_object_from_fd): Call expand_dynamic_string_token
40220         with zero is_path.
40222 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
40224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40225         Make cancelable.
40227 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
40229         [BZ #12655]
40230         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40231         Patch by Filipe David Manana <fdmanana@apache.org>.
40233 2011-04-07  Andreas Schwab  <schwab@redhat.com>
40235         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40236         Maintain aligned stack.
40237         (CHECK_RSP): Remove unused macro.
40239 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
40241         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40242         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40244 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
40246         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40248         * include/features.h: Mention __USE_XOPEN2K8 in comment.
40250 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
40252         [BZ #12518]
40253         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40254         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40255         * sysdeps/x86_64/memmove.c: New file.
40256         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40257         (memcpy): Renamed to ...
40258         (__new_memcpy): This.
40259         (memcpy): Provide GLIBC_2_14 memcpy.
40260         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40261         (memcpy): Provide GLIBC_2_2_5 memcpy.
40263 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40265         [BZ #12631]
40266         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40268 2011-03-30  Andreas Schwab  <schwab@redhat.com>
40270         * misc/syncfs.c: New file.
40271         * misc/Makefile (routines): Add syncfs.
40272         * posix/unistd.h: Declare syncfs.
40273         * sysdeps/unix/syscalls.list: Add syncfs.
40275 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40277         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40278         open_by_handle_at.
40279         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40280         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40281         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40282         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40283         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40284         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40285         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40287 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40289         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40290         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40291         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40292         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40293         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40294         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40295         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40297         * io/Makefile: Compile fallocate.c, fallocate64.c, and
40298         sync_file_range.c with -fexceptions.
40299         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40300         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40301         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40302         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40303         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40304         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40305         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40306         sync_file_range as cancellation point
40307         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
40308         now a wrapper around __call_sync_file_range with cancellation handling.
40309         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40310         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
40311         function name to __call_sync_file_range.
40312         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40313         Add call_sync_file_range.
40315 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40318         bits/timex.h.
40320 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40322         * iconv/iconv.h: Fix typo in comment.
40323         * io/fcntl.h: Likewise.
40324         * libio/stdio.h: Likewise.
40325         * posix/spawn.h: Likewise.
40326         * posix/unistd.h: Likewise.
40327         * stdlib/stdlib.h: Likewise.
40328         * time/time.h: Likewise.
40329         * wcsmbs/wchar.h: Likewise.
40331         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40332         open_by_handle): Add.
40333         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40334         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
40335         Augment a few comments.
40336         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40337         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40338         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40339         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40340         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40341         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40342         open_by_handle.
40344         * io/fcntl.h (AT_EMPTY_PATH): Define.
40346 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
40348         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40349         * sysdeps/unix/sysv/linux/bits/time.h: New file.
40350         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40351         to...
40352         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
40353         * Versions.def: Add GLIBC_2.14.
40354         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40355         Export.
40357 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
40359         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40360         round counter.
40361         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40363 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40365         [BZ #12597]
40366         * string/test-strncmp.c (do_page_test): New function.
40367         (check2): Likewise.
40368         (test_main): Call check2.
40369         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40371 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
40373         [BZ #12587]
40374         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40375         Handle cache information in CPU leaf 4.
40376         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40378 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
40380         [BZ #12583]
40381         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40382         character representation.
40383         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40385 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
40387         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40388         END(__isnan) to END(__isnanf) to match function entry point/label
40389         EALIGN(__isnanf,...).
40391 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
40393         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40395 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
40397         [BZ #12510]
40398         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40399         copy from the symbol referenced in the relocation to initialize the
40400         used variable.
40401         Patch by Piotr Bury <pbury@goahead.com>.
40402         * elf/Makefile: Add rules to build and tst-unique3.
40403         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40404         * elf/tst-unique3.cc: New file.
40405         * elf/tst-unique3.h: New file.
40406         * elf/tst-unique3lib.cc: New file.
40407         * elf/tst-unique3lib2.cc: New file.
40409         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40411 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
40413         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40414         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
40415         to _start.
40417 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
40419         * elf/dl-load.c (_dl_map_object): If we are looking for the first
40420         to-be-loaded object along a path to loader is ld.so.
40422 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40423             Ulrich Drepper  <drepper@gmail.com>
40425         * sysdeps/x86_64/memset.S: After aligning destination, code
40426         branches to different locations depending on the value of
40427         misalignment, when multiarch is enabled. Fix this.
40429 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40431         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40432         Set _x86_64_preferred_memory_instruction for AMD processsors.
40433         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40434         Set bit_Prefer_SSE_for_memop for AMD processors.
40436 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
40438         * libio/fmemopen.c (fmemopen): Optimize a bit.
40440 2011-03-03  Andreas Schwab  <schwab@redhat.com>
40442         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40444 2011-03-03  Roland McGrath  <roland@redhat.com>
40446         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40448 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
40450         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40451         __bzero_ultra1 instead of __memset_ultra1.
40453 2011-02-23  Andreas Schwab  <schwab@redhat.com>
40454             Ulrich Drepper  <drepper@gmail.com>
40456         [BZ #12509]
40457         * include/link.h (struct link_map): Add l_orig_initfini.
40458         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40459         returning unsuccessfully.
40460         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40461         close of a file loaded at startup, restore the original l_initfini
40462         list.
40463         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40464         list, store the pointer.
40465         * elf/Makefile ($(objpfx)noload-mem): New rule.
40466         (noload-ENV): Define.
40467         (tests): Add $(objpfx)noload-mem.
40468         * elf/noload.c: Include <memcheck.h>.
40469         (main): Call mtrace.  Close all opened handles.
40471 2011-02-17  Andreas Schwab  <schwab@redhat.com>
40473         [BZ #12454]
40474         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40475         dependencies are missing.
40477 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40479         Fix __if_freereq crash: Unlike the generic version which uses free,
40480         Hurd needs munmap.
40481         * sysdeps/mach/hurd/ifreq.h: New file.
40483 2011-01-27  Petr Baudis  <pasky@suse.cz>
40484             Ulrich Drepper  <drepper@gmail.com>
40486         [BZ 12445]#
40487         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40488         to extend_alloca().
40489         * stdio-common/bug23.c: New file.
40490         * stdio-common/Makefile (tests): Add bug23.
40492 2010-09-28  Andreas Schwab  <schwab@redhat.com>
40493             Ulrich Drepper  <drepper@gmail.com>
40495         [BZ #12489]
40496         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40497         before performing relro protection.  At old place add assertion
40498         to make sure nothing changed.
40500 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
40501             Glauber de Oliveira Costa  <glommer@gmail.com>
40503         * elf/elf.h: Add new ARM TLS relocs.
40505 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
40507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40508         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40509         cast from r3.
40510         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
40511         'tests' variable.
40512         * sysdeps/wordsize-64/tst-writev.c: New file.
40514 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
40516         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40517         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40518         insns in _dl_start to prevent a TOC reference before relocs are
40519         resolved.
40521 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
40523         [BZ #12469]
40524         * Makeconfig: Remove RANLIB definition.
40525         * Makerules: Don't use RANLIB.
40526         * aclocal.m4: Remove ranlib test.
40527         * configure.in: No need to check for ranlib.
40528         * elf/rtld-Rules: Don't use RANLIB.
40530 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40532         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40533         protection macro.
40534         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40535         inclusion protection macro.
40537         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40538         SIGRTMIN and SIGRTMAX and print information in that case only when
40539         SIGRTMIN is defined.
40541 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
40543         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40544         arginfo fn returning -1.
40546         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40547         and thousands string is zero terminated.
40549 2011-02-03  Andreas Schwab  <schwab@redhat.com>
40551         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40552         sysdeps/unix/sysv/linux/bits/socket.h.
40554 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40556         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40557         (__CPU_COUNT): Remove old macros.
40558         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40559         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40560         (__CPU_ALLOC, __CPU_FREE): Add macros.
40561         (__sched_cpualloc, __sched_cpufree): Add declarations.
40563 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
40565         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40566         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40567         * nscd/aicache.c (addhstaiX): Return timeout of added value.
40568         (readdhstai): Return value of addhstaiX call.
40569         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40570         (addgrbyX): Return value returned by cache_addgr.
40571         (readdgrbyname): Return value returned by addgrbyX.
40572         (readdgrbygid): Likewise.
40573         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40574         (addpwbyX): Return value returned by cache_addpw.
40575         (readdpwbyname): Return value returned by addhstbyX.
40576         (readdpwbyuid): Likewise.
40577         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40578         (addservbyX): Return value returned by cache_addserv.
40579         (readdservbyname): Return value returned by addservbyX:
40580         (readdservbyport): Likewise.
40581         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40582         (addhstbyX): Return value returned by cache_addhst.
40583         (readdhstbyname): Return value returned by addhstbyX.
40584         (readdhstbyaddr): Likewise.
40585         (readdhstbynamev6): Likewise.
40586         (readdhstbyaddrv6): Likewise.
40587         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40588         (readdinitgroups): Return value returned by addinitgroupsX.
40589         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40590         (prune_cache): Keep track of timeout value of re-added entries.
40591         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40592         * nscd/nscd.h: Adjust prototypes of readd* functions.
40594 2011-02-04  Roland McGrath  <roland@redhat.com>
40596         * nis/nis_server.c (nis_servstate): Use the right name for 0.
40597         (nis_stats): Likewise.
40598         * nis/nis_modify.c (nis_modify): Likewise.
40599         * nis/nis_remove.c (nis_remove): Likewise.
40600         * nis/nis_add.c (nis_add): Likewise.
40602         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40604         * posix/fnmatch_loop.c: Add some consts.
40606         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40608 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
40610         [BZ #12460]
40611         * config.make.in (config-cflags-novzeroupper): Define.
40612         * configure.in: Substitute libc_cv_cc_novzeroupper.
40613         * elf/Makefile (AVX-CFLAGS): Define.
40614         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40615         (CFLAGS-tst-auditmod4a.c): Likewise.
40616         (CFLAGS-tst-auditmod4b.c): Likewise.
40617         (CFLAGS-tst-auditmod6b.c): Likewise.
40618         (CFLAGS-tst-auditmod6c.c): Likewise.
40619         (CFLAGS-tst-auditmod7b.c): Likewise.
40620         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40622 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
40624         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40625         function to the callback.
40626         Patch partly by Jiri Olsa <jolsa@redhat.com>.
40628 2011-02-02  Andreas Schwab  <schwab@redhat.com>
40630         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40631         of errno.
40633 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
40635         [BZ #11724]
40636         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40637         of constructors.
40638         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40639         of destructors.
40640         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40642         [BZ #11724]
40643         * elf/Makefile: Add rules to build and run new test.
40644         * elf/tst-initorder.c: New file.
40645         * elf/tst-initorder.exp: New file.
40646         * elf/tst-initordera1.c: New file.
40647         * elf/tst-initordera2.c: New file.
40648         * elf/tst-initordera3.c: New file.
40649         * elf/tst-initordera4.c: New file.
40650         * elf/tst-initorderb1.c: New file.
40651         * elf/tst-initorderb2.c: New file.
40652         * elf/tst-order-a1.c: New file.
40653         * elf/tst-order-a2.c: New file.
40654         * elf/tst-order-a3.c: New file.
40655         * elf/tst-order-a4.c: New file.
40656         * elf/tst-order-b1.c: New file.
40657         * elf/tst-order-b2.c: New file.
40658         * elf/tst-order-main.c: New file.
40659         New test case by George Gensure <werkt0@gmail.com>.
40661 2010-10-01  Andreas Schwab  <schwab@redhat.com>
40663         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40664         decoding ACE if AI_CANONIDN.
40666 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
40668         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40670 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
40672         * version.h (RELEASE): Bump for 2.13 release.
40673         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40675         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40677         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40678         MADV_NOHUGEPAGE.
40679         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40680         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40681         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40682         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40683         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40684         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40686         * posix/getconf.c: Update copyright year.
40687         * catgets/gencat.c: Likewise.
40688         * csu/version.c: Likewise.
40689         * debug/catchsegv.sh: Likewise.
40690         * debug/xtrace.sh: Likewise.
40691         * elf/ldconfig.c: Likewise.
40692         * elf/ldd.bash.in: Likewise.
40693         * elf/sprof.c (print_version): Likewise.
40694         * iconv/iconv_prog.c: Likewise.
40695         * iconv/iconvconfig.c: Likewise.
40696         * locale/programs/locale.c: Likewise.
40697         * locale/programs/localedef.c: Likewise.
40698         * malloc/memusage.sh: Likewise.
40699         * malloc/mtrace.pl: Likewise.
40700         * nscd/nscd.c (print_version): Likewise.
40701         * nss/getent.c: Likewise.
40703         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40704         PF_CAIF, and PF_ALG.
40705         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40707 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
40709         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40710         (modules-names): Use them.
40711         (ifunc-test-modules, ifunc-pie-tests): Define.
40712         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40713         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40714         (test-extras): Likewise.
40715         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40716         $(compile-command.c).
40717         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40718         (all-built-dso): Define.
40719         (check-textrel.out, check-execstack.out): Depend on it.
40721         * configure.in: Don't override --enable-multi-arch.
40723 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
40725         [BZ #6812]
40726         * nscd/hstcache.c (tryagain): Define.
40727         (cache_addhst): Return tryagain not notfound for temporary errors.
40728         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40729         failed.
40731 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
40733         [BZ #10563]
40734         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40735         to make the syscall.
40736         * sysdeps/unix/sysv/linux/setgroups.c: New file.
40738         [BZ #12378]
40739         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40740         and fall back to matching as normal character if the string ends before
40741         the matching ']' is found.  This is what POSIX requires.
40742         * posix/testfnm.c: Adjust test result.
40743         * posix/globtest.sh: Adjust test result.  Add new test.
40744         * posix/tst-fnmatch.input: Likewise.
40745         * posix/tst-fnmatch2.c: Add new test.
40747 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
40749         * elf/Makefile (check-execstack): Revert last change.  Depend on
40750         check-execstack.h.
40751         (check-execstack.h): New target.
40752         (generated): Add check-execstack.h.
40753         * elf/check-execstack.c: Include "check-execstack.h".
40754         (main): Revert last change.
40755         (handle_file): Return zero if GNU_STACK is absent and
40756         DEFAULT_STACK_PERMS doesn't include PF_X.
40758 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
40760         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40761         in child fails because the descriptor is already closed.
40762         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40763         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40764         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
40766         [BZ #12397]
40767         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40768         syscall.
40770         [BZ #10484]
40771         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40772         temporary buffer used to handle multi lookups locally.
40773         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40775 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
40777         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40778         loader is ld.so.
40780 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
40782         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40783         alignment for SSE2.
40785 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
40787         [BZ #12394]
40788         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40789         characters.  When rounding increased number of integer digits recompute
40790         number of groups.
40791         * stdio-common/tst-grouping.c: New file.
40792         * stdio-common/Makefile: Add rules to build and run tst-grouping.
40794 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
40796         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40797         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
40799         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40800         void.
40801         * bits/select.h: Likewise.
40803 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
40805         * po/ja.po: Update from translation team.
40807 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
40809         [BZ #11155]
40810         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40811         implementation just like for lxstat, fxstatat, et al.
40813 2010-12-27  Jim Meyering  <meyering@redhat.com>
40815         [BZ #12348]
40816         * posix/regexec.c (build_trtable): Return failure indication upon
40817         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
40819 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
40821         [BZ #12201]
40822         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40823         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40824         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40825         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40827         [BZ #12207]
40828         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40830         [BZ #12204]
40831         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40832         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40834 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
40836         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40837         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40838         script has SORT_BY_INIT_PRIORITY.
40839         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40840         NO_CTORS_DTORS_SECTIONS is defined.
40841         * elf/soinit.c: Likewise.
40842         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40843         NO_CTORS_DTORS_SECTIONS is defined.
40844         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40845         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40846         * sysdeps/sh/init-first.c: Likewise.
40847         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40849 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
40851         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40852         always use the slow path.
40854 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
40856         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40857         similar rule which adds the sysdep directories to the header search in
40858         order to pick up the correct platform stackinfo.h.
40859         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40860         perform test if it is, otherwise return successfully without testing.
40861         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40862         DEFAULT_STACK_PERMS define in stackinfo.h.
40863         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40864         defined in stackinfo.h.
40865         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40866         DEFAULT_STACK_PERMS defined in stackinfo.h.
40867         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40868         * sysdeps/ia64/stackinfo.h: Likewise.
40869         * sysdeps/s390/stackinfo.h: Likewise.
40870         * sysdeps/sh/stackinfo.h: Likewise.
40871         * sysdeps/sparc/stackinfo.h: Likewise.
40872         * sysdeps/x86_64/stackinfo.h: Likewise.
40873         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40874         PF_X for powerpc64.  Retain PF_X for powerpc32.
40876 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
40878         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40879         accurately.
40880         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40881         GETDENTS_64BIT_ALIGNED.
40883 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
40885         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40887 2010-12-10  Andreas Schwab  <schwab@redhat.com>
40889         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40890         _GNU_SOURCE.
40892         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40893         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40894         Remove __restrict.
40895         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40896         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40898 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
40900         [BZ #11655]
40901         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40902         are initialized.
40904 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
40906         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40908 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
40910         * po/it.po: Update from translation team.
40912 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
40914         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40915         unused codes.
40917 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
40919         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40921 2010-11-24  Andreas Schwab  <schwab@redhat.com>
40923         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40924         specially.
40925         (gaih_getanswer_slice): Likewise.
40927 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
40929         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40931 2010-05-31  Petr Baudis  <pasky@suse.cz>
40933         [BZ #11149]
40934         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40935         silently even in the chroot mode.
40937 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
40939         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40940         last patch a bit.  Pretty printing
40942 2010-05-31  Petr Baudis <pasky@suse.cz>
40944         [BZ #10085]
40945         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40946         initialization of skip_initgroups_dyn.
40948 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
40950         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40951         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40953 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
40955         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40957 2010-11-11  Andreas Schwab  <schwab@redhat.com>
40959         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40960         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40961         (tst-fnmatch-ENV): Set MALLOC_TRACE.
40962         ($(objpfx)tst-fnmatch-mem): New rule.
40963         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40964         * posix/tst-fnmatch.c (main): Call mtrace.
40966 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
40968         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40969         Support Intel processor model 6 and model 0x2c.
40971 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
40973         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40974           signed comparison.
40976 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
40978         [BZ #12205]
40979         * string/test-strncasecmp.c (check_result): New function.
40980         (do_one_test): Use it.
40981         (check1): New function.
40982         (test_main): Use it.
40983         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40984         Support strcasecmp and strncasecmp.
40986 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
40988         [BZ #12194]
40989         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40990         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40992 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40994         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40995         IFUNC support.
40996         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40997         memset-x86-64.
40998         * sysdeps/x86_64/multiarch/bzero.S: New file.
40999         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41000         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41001         * sysdeps/x86_64/multiarch/memset.S: New file.
41002         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41003         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41004         Set bit_Prefer_SSE_for_memop for Intel processors.
41005         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41006         Define.
41007         (index_Prefer_SSE_for_memop): Define.
41008         (HAS_PREFER_SSE_FOR_MEMOP): Define.
41010 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
41012         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41013         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41015 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
41017         [BZ #12191]
41018         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41019         (__x86_64_raw_data_cache_size_half): Likewise.
41020         (__x86_64_raw_shared_cache_size): Likewise.
41021         (__x86_64_raw_shared_cache_size_half): Likewise.
41023         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41024         (__x86_64_raw_data_cache_size_half): Likewise.
41025         (__x86_64_raw_shared_cache_size): Likewise.
41026         (__x86_64_raw_shared_cache_size_half): Likewise.
41027         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41028         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41029         and __x86_64_raw_shared_cache_size_half.  Round
41030         __x86_64_data_cache_size_half, __x86_64_data_cache_size
41031         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41032         to multiple of 256 bytes.
41034 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
41036         [BZ #12167]
41037         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41038         of inacessible symlinks.  Verify result of symlink before returning it.
41039         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41040         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41042 2010-10-28  Erich Ritz  <erichritz@gmail.com>
41044         * math/math.h (isinf): Fix typo in comment.
41046 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
41048         * po/da.po: Update from translation team.
41050 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
41052         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41053         is added to the list.
41055 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41056             Ulrich Drepper  <drepper@gmail.com>
41058         * elf/dl-object.c (_dl_new_object): Don't append the new object to
41059         the global list here.  Move code to...
41060         (_dl_add_to_namespace_list): ...here.  New function.
41061         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41062         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41063         * elf/dl-load.c (lose): Don't remove the element from the list.
41064         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41065         (_dl_map_object): Likewise.
41067 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
41069         [BZ #12159]
41070         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41071         into all bytes of SSE register.
41072         Patch by Richard Li <richardpku@gmail.com>.
41074 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
41076         [BZ #12140]
41077         * malloc/malloc.c (_int_free): Fill correct number of bytes when
41078         perturbing.
41080 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
41082         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41083         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41084         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41085         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41087         submachine.
41088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41090 2010-10-22  Andreas Schwab  <schwab@redhat.com>
41092         * include/dlfcn.h (__RTLD_SECURE): Define.
41093         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
41094         mode & __RTLD_SECURE instead.
41095         (open_path): Rename preloaded parameter to secure.
41096         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41097         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41098         * elf/dl-deps.c (openaux): Likewise.
41099         * elf/rtld.c (struct map_args): Remove is_preloaded.
41100         (map_doit): Don't use it.
41101         (dl_main): Likewise.
41102         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41103         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41105 2010-09-09  Andreas Schwab  <schwab@redhat.com>
41107         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41108         (sysd-rules-targets): Remove duplicates.
41109         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41110         rtld-%.$o dependency.
41112 2010-10-18  Andreas Schwab  <schwab@redhat.com>
41114         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41115         _dl_map_object do it.
41117 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
41119         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41120         fast fma builtins, define the macros in the C99 standard.
41121         (FP_FAST_FMAF): Likewise.
41122         (FP_FAST_FMAL): Likewise.
41123         * sysdeps/x86_64/bits/mathdef.h: Likewise.
41125         * bits/mathdef.h: Update copyright year.
41126         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41128 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
41130         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41131         builtins, define the macros in the C99 standard.
41132         (FP_FAST_FMAF): Likewise.
41133         (FP_FAST_FMAL): Likewise.
41134         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41135         multiply/add.
41136         (FP_FAST_FMAF): Likewise.
41138 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
41140         [BZ #3268]
41141         * math/libm-test.inc (fma_test): Some new testcases.
41142         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41143         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41144         y and infinite z.  Do multiplication by C already in long double.
41145         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41147         y and infinite z.  Do bitwise or of inexact bit into u.d.
41148         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41149         * sysdeps/i386/fpu/s_fmaf.S: Removed.
41150         * sysdeps/i386/fpu/s_fma.S: Removed.
41151         * sysdeps/i386/fpu/s_fmal.S: Removed.
41153 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
41155         [BZ #3268]
41156         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41157         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41158         computation is not scheduled after fetestexcept.  Fix value
41159         of minimum denormal long double.
41161 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
41163         [BZ #3268]
41164         * math/libm-test.inc (fma_test): Add some more tests.
41165         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41166         correctly.
41168 2010-10-15  Andreas Schwab  <schwab@redhat.com>
41170         * scripts/data/localplt-s390-linux-gnu.data: New file.
41171         * scripts/data/localplt-s390x-linux-gnu.data: New file.
41173 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
41175         [BZ #3268]
41176         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41177         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41178         instead of dbl-64.
41179         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41180         inlines.
41181         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41182         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41183         if one of x and y is very large and the other is subnormal.
41184         * sysdeps/s390/fpu/s_fmaf.c: New file.
41185         * sysdeps/s390/fpu/s_fma.c: New file.
41186         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41187         * sysdeps/powerpc/fpu/s_fma.S: New file.
41188         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41189         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41190         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41192 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
41194         [BZ #3268]
41195         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41196         fma tests.
41197         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41198         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41199         * sysdeps/i386/i686/multiarch/s_fma.c: Include
41200         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41201         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41202         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41203         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41205 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
41207         [BZ #12078]
41208         * posix/regcomp.c (parse_branch): One more memory leak plugged.
41209         * posix/bug-regex31.input: Add test case.
41211 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41213         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41214         * posix/bug-regex31.input: New file.
41216         [BZ #12078]
41217         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41218         (parse_sub_exp): Fix last change, use postorder.
41220         * posix/bug-regex31.c: New file.
41221         * posix/Makefile: Add rules to build and run bug-regex31.
41223         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41225         [BZ #12078]
41226         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41228         [BZ #12108]
41229         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41230         to have entries in sys_siglist.
41232         [BZ #12093]
41233         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41234         be NULL.
41236 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
41238         [BZ #3268]
41239         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41240         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41241         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41242         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41243         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41244         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41245         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41246         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41247         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41248         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41249         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41250         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41251         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41252         * math/ftestexcept.c (fetestexcept): Likewise.
41253         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41254         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41255         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41256         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41257         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41258         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41259         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41261 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41263         [BZ #12107]
41264         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41265         newline.
41267 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
41269         * string/bug-strstr1.c: New file.
41270         * string/Makefile: Add rules to build and run bug-strstr1.
41272 2010-10-05  Eric Blake  <eblake@redhat.com>
41274         [BZ #12092]
41275         * string/str-two-way.h (two_way_long_needle): Always clear memory
41276         when skipping input due to the shift table.
41278 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
41280         [BZ #12005]
41281         * malloc/mcheck.c: Handle large requests.
41283         [BZ #12077]
41284         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41285         for strncmp and strncasecmp.
41286         * string/stratcliff.c: Add tests for strcmp and strncmp.
41287         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41289 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41291         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41292         __set_fpscr.
41294 2010-09-30  Andreas Jaeger  <aj@suse.de>
41296         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41297         (CGROUP_SUPER_MAGIC): Define.
41298         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41299         Handle btrfs and cgroup file systems.
41300         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41301         Likewise.
41303 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
41305         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41306         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41308 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41310         [BZ #12067]
41311         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41312         trying to locate the ELF header.
41314 2010-09-27  Andreas Schwab  <schwab@redhat.com>
41316         [BZ #11611]
41317         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41318         Mask out sign-bit copies when constructing f_fsid.
41320 2010-09-24  Petr Baudis <pasky@suse.cz>
41322         * debug/stack_chk_fail_local.c: Add missing licence exception.
41323         * debug/warning-nop.c: Likewise.
41325 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
41327         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41328         implementing getdents64 using getdents syscall, set d_type if
41329         __ASSUME_GETDENTS32_D_TYPE.
41331 2010-09-16  Andreas Schwab  <schwab@redhat.com>
41333         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41334         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41336 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
41338         [BZ #12037]
41339         * posix/unistd.h: Undo change of feature selection for ftruncate from
41340         2010-01-11.
41342 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
41344         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41345         detection.
41347 2010-09-20  Andreas Schwab  <schwab@redhat.com>
41349         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41350         fanotify_mark.
41351         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41353 2010-09-14  Andreas Schwab  <schwab@redhat.com>
41355         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41356         variables after CHECK_SP call.
41357         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41359 2010-09-13  Andreas Schwab  <schwab@redhat.com>
41360             Ulrich Drepper  <drepper@redhat.com>
41362         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41363         re-relocationg ld.so.
41364         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41365         _dl_init_paths call.
41366         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
41367         here anymore.
41369 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
41371         * resolv/res_init.c (__res_vinit): Count the default server we added.
41373 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
41374             Ulrich Drepper  <drepper@redhat.com>
41376         [BZ #11968]
41377         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41378         (____longjmp_chk): Use %ebx for saving value across system call.
41379         Add unwind info.
41381 2010-09-06  Andreas Schwab  <schwab@redhat.com>
41383         * manual/Makefile: Don't mix pattern rules with normal rules.
41385 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41387         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41388         operation.
41389         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41390         * libio/iofopncook.c (_IO_cookie_init): Likewise.
41391         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41392         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41393         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41394         Likewise.
41396 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
41398         [BZ #11979]
41399         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41400         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41402 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
41404         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41405         * sysdeps/x86_64/addmul_1.S: Likewise.
41406         * sysdeps/x86_64/lshift.S: Likewise.
41407         * sysdeps/x86_64/mul_1.S: Likewise.
41408         * sysdeps/x86_64/rshift.S: Likewise.
41409         * sysdeps/x86_64/sub_n.S: Likewise.
41410         * sysdeps/x86_64/submul_1.S: Likewise.
41412 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41414         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41415         Define __sched_param instead of SCHED_* and sched_param when
41416         <bits/sched.h> is included with __need_schedparam defined.
41417         * bits/sched.h [__need_schedparam]
41418         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41419         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41420         (__defined_schedparam): Define to 1.
41421         (__sched_param): New structure, identical to sched_param.
41422         (__need_schedparam): Undefine.
41424 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
41426         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41427         (epoll_create1): Declare.
41429         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41431 2010-08-31  Andreas Schwab  <schwab@redhat.com>
41433         [BZ #7066]
41434         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41435         shifting retval into place.
41437 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
41439         * nis/rpcsvc/nis.h: Update copyright notice.
41440         * nis/rpcsvc/nis.x: Likewise.
41441         * nis/rpcsvc/nis_callback.h: Likewise.
41442         * nis/rpcsvc/nis_callback.x: Likewise.
41443         * nis/rpcsvc/nis_object.x: Likewise.
41444         * nis/rpcsvc/nis_tags.h: Likewise.
41445         * nis/rpcsvc/yp.h: Likewise.
41446         * nis/rpcsvc/yp.x: Likewise.
41447         * nis/rpcsvc/ypupd.h: Likewise.
41448         * nis/yp_xdr.c: Likewise.
41449         * nis/ypupdate_xdr.c: Likewise.
41451         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
41452         mainly the body of pmap_getport.  Add parameters to specify timeouts.
41453         (pmap_getport): Use __libc_rpc_getport.
41454         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41455         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41456         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41458 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
41460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41461         fanotify_mark.
41463 2010-08-27  Roland McGrath  <roland@redhat.com>
41465         * sysdeps/i386/i686/multiarch/Makefile
41466         (CFLAGS-varshift.c): New variable.
41468 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
41470         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41471         * sysdeps/i386/i686/multiarch/varshift.c: New file.
41473         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41475         * sysdeps/x86_64/strlen.S: Minimal code improvement.
41477 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
41479         * sysdeps/x86_64/strlen.S: Unroll the loop.
41480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41481         strlen-sse2 strlen-sse2-bsf.
41482         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41483         __strlen_no_bsf if bit_Slow_BSF is set.
41484         (__strlen_sse42): Removed.
41485         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41486         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41488 2010-08-25  Roland McGrath  <roland@redhat.com>
41490         * sysdeps/x86_64/multiarch/varshift.S: File removed.
41491         * sysdeps/x86_64/multiarch/varshift.c: New file.
41492         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41493         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41494         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41495         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41497 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
41499         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41500         strlen-sse2 strlen-sse2-bsf.
41501         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41502         __strlen_sse2_bsf if bit_Slow_BSF is unset.
41503         (__strlen_sse2): Removed.
41504         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41505         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41507         bit_Slow_BSF for Atom.
41508         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41509         (index_Slow_BSF): Define.
41510         (HAS_SLOW_BSF): Define.
41512 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
41514         [BZ #10851]
41515         * resolv/res_init.c (__res_vinit): When no server address at all
41516         is given default to loopback.
41518 2010-08-24  Roland McGrath  <roland@redhat.com>
41520         * configure.in: Remove config-name.h generation.
41521         * configure: Regenerated.
41522         * config-name.in: File removed.
41523         * scripts/config-uname.sh: New file.
41524         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41525         ($(objdir)config-name.h): New target.
41527         * sunrpc/rpc_parse.h: Avoid nested comment.
41529 2010-08-24  Richard Henderson  <rth@redhat.com>
41530             Ulrich Drepper  <drepper@redhat.com>
41531             H.J. Lu  <hongjiu.lu@intel.com>
41533         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41535         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41536         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
41537         _mm_alignr_epi8 with _mm_loadu_si128.
41538         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41539         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41540         (__m128i_shift_right): Removed.
41541         * sysdeps/i386/i686/multiarch/varshift.h: New file.
41542         * sysdeps/i386/i686/multiarch/varshift.S: New file.
41543         * sysdeps/x86_64/multiarch/varshift.h: New file.
41544         * sysdeps/x86_64/multiarch/varshift.S: New file.
41546 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
41548         * configure.in: Move assembler checks to before sysdep dir checking.
41550 2010-08-20  Petr Baudis  <pasky@suse.cz>
41552         * LICENSES: Sync the sunrpc license.
41554 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
41556         * sunrpc/auth_des.c: Update copyright notice once again.
41557         * sunrpc/auth_none.c: Likewise.
41558         * sunrpc/auth_unix.c: Likewise.
41559         * sunrpc/authdes_prot.c: Likewise.
41560         * sunrpc/authuxprot.c: Likewise.
41561         * sunrpc/bindrsvprt.c: Likewise.
41562         * sunrpc/clnt_gen.c: Likewise.
41563         * sunrpc/clnt_perr.c: Likewise.
41564         * sunrpc/clnt_raw.c: Likewise.
41565         * sunrpc/clnt_simp.c: Likewise.
41566         * sunrpc/clnt_tcp.c: Likewise.
41567         * sunrpc/clnt_udp.c: Likewise.
41568         * sunrpc/clnt_unix.c: Likewise.
41569         * sunrpc/des_crypt.c: Likewise.
41570         * sunrpc/des_soft.c: Likewise.
41571         * sunrpc/get_myaddr.c: Likewise.
41572         * sunrpc/getrpcport.c: Likewise.
41573         * sunrpc/key_call.c: Likewise.
41574         * sunrpc/key_prot.c: Likewise.
41575         * sunrpc/openchild.c: Likewise.
41576         * sunrpc/pm_getmaps.c: Likewise.
41577         * sunrpc/pm_getport.c: Likewise.
41578         * sunrpc/pmap_clnt.c: Likewise.
41579         * sunrpc/pmap_prot.c: Likewise.
41580         * sunrpc/pmap_prot2.c: Likewise.
41581         * sunrpc/pmap_rmt.c: Likewise.
41582         * sunrpc/rpc/auth.h: Likewise.
41583         * sunrpc/rpc/auth_unix.h: Likewise.
41584         * sunrpc/rpc/clnt.h: Likewise.
41585         * sunrpc/rpc/des_crypt.h: Likewise.
41586         * sunrpc/rpc/key_prot.h: Likewise.
41587         * sunrpc/rpc/netdb.h: Likewise.
41588         * sunrpc/rpc/pmap_clnt.h: Likewise.
41589         * sunrpc/rpc/pmap_prot.h: Likewise.
41590         * sunrpc/rpc/pmap_rmt.h: Likewise.
41591         * sunrpc/rpc/rpc.h: Likewise.
41592         * sunrpc/rpc/rpc_des.h: Likewise.
41593         * sunrpc/rpc/rpc_msg.h: Likewise.
41594         * sunrpc/rpc/svc.h: Likewise.
41595         * sunrpc/rpc/svc_auth.h: Likewise.
41596         * sunrpc/rpc/types.h: Likewise.
41597         * sunrpc/rpc/xdr.h: Likewise.
41598         * sunrpc/rpc_clntout.c: Likewise.
41599         * sunrpc/rpc_cmsg.c: Likewise.
41600         * sunrpc/rpc_common.c: Likewise.
41601         * sunrpc/rpc_cout.c: Likewise.
41602         * sunrpc/rpc_dtable.c: Likewise.
41603         * sunrpc/rpc_hout.c: Likewise.
41604         * sunrpc/rpc_main.c: Likewise.
41605         * sunrpc/rpc_parse.c: Likewise.
41606         * sunrpc/rpc_parse.h: Likewise.
41607         * sunrpc/rpc_prot.c: Likewise.
41608         * sunrpc/rpc_sample.c: Likewise.
41609         * sunrpc/rpc_scan.c: Likewise.
41610         * sunrpc/rpc_scan.h: Likewise.
41611         * sunrpc/rpc_svcout.c: Likewise.
41612         * sunrpc/rpc_tblout.c: Likewise.
41613         * sunrpc/rpc_util.c: Likewise.
41614         * sunrpc/rpc_util.h: Likewise.
41615         * sunrpc/rpcinfo.c: Likewise.
41616         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41617         * sunrpc/rpcsvc/key_prot.x: Likewise.
41618         * sunrpc/rpcsvc/klm_prot.x: Likewise.
41619         * sunrpc/rpcsvc/mount.x: Likewise.
41620         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41621         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41622         * sunrpc/rpcsvc/rex.x: Likewise.
41623         * sunrpc/rpcsvc/rstat.x: Likewise.
41624         * sunrpc/rpcsvc/rusers.x: Likewise.
41625         * sunrpc/rpcsvc/sm_inter.x: Likewise.
41626         * sunrpc/rpcsvc/spray.x: Likewise.
41627         * sunrpc/rpcsvc/yppasswd.x: Likewise.
41628         * sunrpc/rtime.c: Likewise.
41629         * sunrpc/svc.c: Likewise.
41630         * sunrpc/svc_auth.c: Likewise.
41631         * sunrpc/svc_authux.c: Likewise.
41632         * sunrpc/svc_raw.c: Likewise.
41633         * sunrpc/svc_run.c: Likewise.
41634         * sunrpc/svc_simple.c: Likewise.
41635         * sunrpc/svc_tcp.c: Likewise.
41636         * sunrpc/svc_udp.c: Likewise.
41637         * sunrpc/svc_unix.c: Likewise.
41638         * sunrpc/svcauth_des.c: Likewise.
41639         * sunrpc/xcrypt.c: Likewise.
41640         * sunrpc/xdr.c: Likewise.
41641         * sunrpc/xdr_array.c: Likewise.
41642         * sunrpc/xdr_float.c: Likewise.
41643         * sunrpc/xdr_mem.c: Likewise.
41644         * sunrpc/xdr_rec.c: Likewise.
41645         * sunrpc/xdr_ref.c: Likewise.
41646         * sunrpc/xdr_sizeof.c: Likewise.
41647         * sunrpc/xdr_stdio.c: Likewise.
41649         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41650         handling.
41652 2010-08-19  Andreas Schwab  <schwab@redhat.com>
41654         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41656 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
41658         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41659         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41660         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41661         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41662         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41663         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41664         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41665         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41666         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41667         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41668         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41669         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41670         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41671         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41673 2010-07-26  Anton Blanchard  <anton@samba.org>
41675         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41676         * malloc/arena.c (heap_trim): Likewise.
41678 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
41680         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41681         here.  Not...
41682         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41683         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41685 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41687         * sysdeps/i386/elf/Makefile: New file.
41689 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41691         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41692         from fanotify_init.
41693         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41694         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41696 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
41698         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41699         of strncasecmp_l.
41700         * sysdeps/multiarch/strcmp.S: Likewise.
41702 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
41704         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41705         strncase_l-nonascii.
41706         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41707         Add strncase_l-ssse3.
41708         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41709         * sysdeps/x86_64/strcmp.S: Likewise.
41710         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41711         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41712         * sysdeps/x86_64/strncase.S: New file.
41713         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41714         * sysdeps/x86_64/strncase_l.S: New file.
41715         * string/Makefile (strop-tests): Add strncasecmp.
41716         * string/test-strncasecmp.c: New file.
41718         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41719         warning.
41721         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41722         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41724 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41726         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41728 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
41730         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41731         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41732         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41734 2010-05-01  Alan Modra  <amodra@gmail.com>
41736         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41737         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41738         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41739         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41740         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41741         tidying.  Don't tail-call __sigjmp_save for static lib.
41742         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41743         save location.
41744         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41745         (CALL_MCOUNT): Add eh info, and nop after bl.
41746         (TAIL_CALL_SYSCALL_ERROR): New macro.
41747         (PSEUDO_RET): Use it.
41748         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41749         Correct save location of integer regs and cr.
41750         (_dl_profile_resolve): Correct cr save location.  Delete nops
41751         after bl when SHARED.  Reduce cfi size a little by better
41752         placement of cfi directives.
41753         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41754         make a stack frame.  Instead use parm save area as a temp.
41755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41756         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
41757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41758         Don't make a stack frame for parent, use parm save area.
41759         Increase child stack frame to 112 bytes.  Don't save unused reg,
41760         and adjust reg usage.  Set up cfi on error recovery and
41761         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41763         (__makecontext): Add dummy nop after jump to exit.
41764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41765         Use correct parm save area and cr save, reduce stack frame.
41766         Correct cfi for possible PSEUDO_RET frame setup.
41767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41768         Branch to local label emitted by PSEUDO_RET rather than
41769         __syscall_error.
41771 2010-08-12  Andreas Schwab  <schwab@redhat.com>
41773         [BZ #11904]
41774         * locale/programs/locale.c (print_assignment): New function.
41775         (show_locale_vars): Use it.
41777 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
41779         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41780         field.
41781         (struct statfs64): Likewise.
41782         (_STATFS_F_FLAGS): Define.
41783         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41784         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41785         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41786         (ST_VALID): Define locally.
41787         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41788         __statvfs_getflags, use the provided value.
41789         * sysdeps/unix/sysv/linux/kernel-features.h: Define
41790         __ASSUME_STATFS_F_FLAGS.
41792         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41794         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41795         Add sys/fanotify.h.
41796         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41797         fanotify_mask for GLIBC_2.13.
41798         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41799         fanotify_init and fanotify_mark.
41800         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41801         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41803         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41804         Add prlimit.
41805         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41806         prlimit64 for GLIBC_2.13.
41807         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41808         prlimit64.
41809         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41810         syscall.
41811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41812         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41813         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41814         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41815         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
41816         add prlimit alias.
41817         * sysdeps/unix/sysv/linux/prlimit.c: New file.
41819         [BZ #11903]
41820         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41821         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41823         * nss/Makefile: Add rules to build and run tst-nss-test1.
41824         * shlib-versions: Add entry for libnss_test1.
41825         * nss/nss_test1.c: New file.
41826         * nss/tst-nss-test1.c: New file.
41828         * nss/nsswitch.c (__nss_database_custom): Define new variable.
41829         (__nss_configure_lookup): Set appropriate entry in
41830         __nss_configure_lookup to true.
41831         * nss/nsswitch.h: Define enum with indeces of databases in
41832         databases and __nss_database_custom arrays.  Declare
41833         __nss_database_custom.
41834         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41835         to avoid using nscd when custom rules are installed.
41836         * nss/getXXbyYY_r.c: Likewise.
41837         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41839         * nss/nss_files/files-parse.c: Whitespace fixes.
41841 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
41843         [BZ #11883]
41844         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41845         * posix/fnmatch_loop.c: Likewise.
41847 2010-07-17  Andi Kleen  <ak@linux.intel.com>
41849         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41850         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41851         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41852         * Versions.def [GLIBC_2.13]: Add.
41854 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
41856         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41857         Also fail if tpwd after pwuid call is NULL.
41859 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41861         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41862         when converting to ms.
41864 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41866         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41867         EOPNOTSUPP errors with ENOTTY.
41868         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41869         EOPNOTSUPP errors with ENOTTY.
41871 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
41873         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41874         Add strcasecmp_l-ssse3.
41875         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41876         strcasecmp.
41877         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41878         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41879         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41881 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
41883         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41885         * string/Makefile (strop-tests): Add strcasecmp.
41886         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41887         strcasecmp_l-nonascii.
41888         (gen-as-const-headers): Add locale-defines.sym.
41889         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41890         * sysdeps/x86_64/strcasecmp.S: New file.
41891         * sysdeps/x86_64/strcasecmp_l.S: New file.
41892         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41893         * sysdeps/x86_64/locale-defines.sym: New file.
41894         * string/test-strcasecmp.c: New file.
41896         * string/test-strcasestr.c: Test both ends of the range of characters.
41897         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41899 2010-07-29  Roland McGrath  <roland@redhat.com>
41901         [BZ #11856]
41902         * manual/locale.texi (Yes-or-No Questions): Fix example code.
41904 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
41906         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41907         for ld.so.
41909 2010-07-27  Andreas Schwab  <schwab@redhat.com>
41911         * manual/memory.texi (Malloc Tunable Parameters): Document
41912         M_PERTURB.
41914 2010-07-26  Roland McGrath  <roland@redhat.com>
41916         [BZ #11840]
41917         * configure.in (-fgnu89-inline check): Set and substitute
41918         gnu89_inline, not libc_cv_gnu89_inline.
41919         * configure: Regenerated.
41920         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41922 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
41924         * string/test-strnlen.c: New file.
41925         * string/Makefile (strop-tests): Add strnlen.
41926         * string/tester.c (test_strnlen): Add a few more test cases.
41927         * string/tst-strlen.c: Better error reporting.
41929         * sysdeps/x86_64/strnlen.S: New file.
41931 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
41933         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41934         lower-latency instructions.
41936 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
41938         * string/test-strcasestr.c: New file.
41939         * string/test-strstr.c: New file.
41940         * string/Makefile (strop-tests): Add strstr and strcasestr.
41941         * string/str-two-way.h: Don't undefine MAX.
41942         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41944 2010-07-21  Andreas Schwab  <schwab@redhat.com>
41946         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41947         strcasestr-nonascii.
41948         (CFLAGS-strcasestr-nonascii.c): Define.
41949         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41950         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41951         Remove unused attribute.
41953 2010-07-20  Roland McGrath  <roland@redhat.com>
41955         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41956         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
41957         ld.so.cache was broken.  With it, there is no way to disable dsocaps
41958         like LD_HWCAP_MASK can disable hwcaps.
41960 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41962         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41964 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
41966         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41967         call in strcasestr.
41968         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41969         __strcasestr_sse42_nonascii.
41970         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41971         strcasestr-nonascii.c.
41972         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41974 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
41976         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41977         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41978         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41979         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41981 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
41983         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41984         fcntl.
41986 2010-07-06  Andreas Schwab  <schwab@redhat.com>
41988         [BZ #11577]
41989         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41990         dl_signal_cerror.
41992 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
41994         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41995         _PC_PIPE_BUF using F_GETPIPE_SZ.
41997 2010-07-05  Roland McGrath  <roland@redhat.com>
41999         * manual/arith.texi (Rounding Functions): Fix rint description
42000         implicit in round description.
42002 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
42004         * elf/Makefile: Fix linking for a few tests to make recent linker
42005         happy.
42007 2010-06-30  Andreas Schwab  <schwab@redhat.com>
42009         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42010         $(common-objpfx)libc_nonshared.a.
42012 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
42014         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42015         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42016         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42017         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42018         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42019         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42020         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42021         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42036         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42037         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42038         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42039         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42040         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42041         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42042         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42043         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42044         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42045         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42046         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42047         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42063 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
42065         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42066         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
42067         * string/memmove.c (memmove): Renamed to ...
42068         (MEMMOVE): ...this.  Default to memmove.
42069         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42070         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42071         (END_CHK): Define.
42072         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42073         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42074         mempcpy-ssse3-back memmove-ssse3-back.
42075         * sysdeps/x86_64/multiarch/bcopy.S: New file .
42076         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42077         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42078         * sysdeps/x86_64/multiarch/memcpy.S: New file.
42079         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42080         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42081         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42082         * sysdeps/x86_64/multiarch/memmove.c: New file.
42083         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42084         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42085         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42086         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42087         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42088         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42089         Define.
42090         (index_Fast_Copy_Backward): Define.
42091         (HAS_ARCH_FEATURE): Define.
42092         (HAS_FAST_REP_STRING): Define.
42093         (HAS_FAST_COPY_BACKWARD): Define.
42095 2010-06-21  Andreas Schwab  <schwab@redhat.com>
42097         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42098         Restore proper fallback handling.
42100 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
42102         [BZ #11701]
42103         * posix/group_member.c (__group_member): Correct checking loop.
42105         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42106         OOM in getpwuid_r correctly.  Return error number when the caller
42107         should return, otherwise -1.
42108         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42109         call returning > 0 value.
42110         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42112 2010-06-07  Andreas Schwab  <schwab@redhat.com>
42114         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42115         libc_nonshared.a from targets in modules-names.
42117 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
42119         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42120         requires it.
42122 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
42124         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42125         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42126         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42127         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42129 2010-06-02  Andreas Schwab  <schwab@redhat.com>
42131         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42133 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
42135         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42136         and F_GETPIPE_SZ.
42137         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42138         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42139         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42140         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42141         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42142         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42144 2010-06-14  Roland McGrath  <roland@redhat.com>
42146         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42148 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
42150         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42151         __REDIRECT followed by __THROW.
42152         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42153         * posix/getopt.h (getopt): Likewise.
42155 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
42157         * hurd/lookup-at.c (__file_name_lookup_at): Accept
42158         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
42159         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42160         in AT_FLAGS.
42161         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42162         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42164 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
42166         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42168 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
42170         [BZ #11640]
42171         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42172         Properly check family and model.
42174 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
42176         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42178 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
42180         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42182 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
42184         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42185         symbol reference.
42187 2010-05-19  Andreas Schwab  <schwab@redhat.com>
42189         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42190         symbol reference.
42192 2010-05-21  Andreas Schwab  <schwab@redhat.com>
42194         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42195         and internal_recvmmsg.
42196         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42197         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42198         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42199         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42201         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42202         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42203         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42205 2010-05-20  Andreas Schwab  <schwab@redhat.com>
42207         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42209 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
42211         POWER7 optimizations.
42212         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42213         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42215 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
42217         * version.h: Update for 2.13 development version.
42219 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
42221         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42222         exceptions.  Return 0.
42224 2010-05-07  Roland McGrath  <roland@redhat.com>
42226         * elf/ldconfig.c (main): Add a const.
42228 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
42230         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42231         (args_options): Add no-idn option.
42232         (ahosts_keys_int): Add idn_flags to ai_flags.
42233         (parse_option): Handle 'i' option to clear idn_flags.
42235         * malloc/malloc.c (_int_free): Possible race in the most recently
42236         added check.  Only act on the data if no current modification
42237         happened.
42239 See ChangeLog.17 for earlier changes.