Mark packed structure element used with atomic operation aligned.
[glibc.git] / ChangeLog
blob4ca386461d811828c436aa7bf2387d457cca1734
1 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
2             Joseph Myers  <joseph@codesourcery.com>
4         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5         as being properly aligned.
7 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
9         * dlfcn/modstatic5.c: New file.
10         * dlfcn/tststatic5.c: New file.
11         * dlfcn/Makefile (tests): Add tststatic5.
12         (tests-static): Likewise.
13         (modules-names): Add modstatic5.
14         (tststatic5-ENV): New variable.
15         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17         [BZ #15022]
18         * elf/dl-support.c (_dl_main_map): New variable.
19         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20         (_dl_nns, _dl_load_adds): Set to 1.
21         (_dl_initial_searchlist): Refer to _dl_main_map.
22         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24         call to _dl_get_origin.
25         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26         around call_map.
27         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28         * dlfcn/modstatic3.c: New file.
29         * dlfcn/tststatic3.c: New file.
30         * dlfcn/tststatic4.c: New file.
31         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
32         (tests-static): Likewise.
33         (modules-names): Add modstatic3.
34         (tststatic3-ENV, tststatic4-ENV): New variables.
35         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
36         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
38 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
40         * configure.in (CC): Require GCC version 4.4 or later.
41         * configure: Regenerated.
42         * manual/install.texi (Tools for Compilation): Update GCC version
43         requirement.
44         * INSTALL: Regenerated.
46 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48         [BZ #15674]
49         * string/test-memcmp.c (check2): New.
50         (main): Call check2.
52         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
56         [BZ #15022]
57         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
58         over to...
59         (dl_open_worker) [!SHARED]: ... here.
61 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
65 2013-06-25  Richard Henderson  <rth@redhat.com>
67         * locale/programs/locarchive.c: Include <libc-internal.h>
69 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
71         * manual/texinfo.tex: Update to version 2013-06-21.17, with
72         trailing whitespace removed.
74 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
76         [BZ #10283]
77         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
78         * locale/programs/locarchive.c: Include libc-mmap.h.
79         (prepare_address_space): Take two new outputs (the mmap base and len).
80         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
81         values.
82         (create_archive): Declare new mmap base and len values for
83         prepare_address_space, and store the result in ah.
84         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
85         (enlarge_archive): If ah->mmap_base is not NULL, use that and
86         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
87         Declare new mmap base and len values for
88         prepare_address_space, and store the result in new_ah.
89         (open_archive): Declare new mmap base and len values for
90         prepare_address_space, and store the result in ah.
91         (close_archive): If ah->mmap_base is not NULL, use that and
92         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
93         * sysdeps/generic/libc-mmap.h: New file.
95 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
97         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
98         (ALIGN_UP): Likewise.
99         (PTR_ALIGN_DOWN): Likewise.
100         (PTR_ALIGN_UP): Likewise.
102 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
104         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
105         entry mapped to PPC_PLATFORM_POWER8.
106         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
107         POWER8.
108         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
109         (_dl_string_platform): Add case for exporting platform position for
110         POWER8.
111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
112         search path to sysdeps/powerpc/powerpc32/power8 directory.
113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
114         search path to sysdeps/powerpc/powerpc64/power8 directory.
115         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
116         power7 directories.
117         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
118         power7 directories.
120 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
122         * INSTALL: Regenerate.
124         * nscd/connections.c (nscd_init): Fix comment.
126 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
128         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
130         [BZ #15667]
131         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
132         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
134 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
136         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
137         DL_DST_REQ_STATIC.
138         (DL_DST_REQ_STATIC): Remove macro.
140 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
142         [BZ #7006]
143         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
144         with a shift of 0 bits.
146 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
148         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
149         $(tststatic-ENV).
151 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
153         [BZ #15655]
154         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
156 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
158         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
159         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
160         accepts -fno-tree-loop-distribute-patterns.
161         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
162         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
163         recursive call.
164         * string/memset.c (memset): Likewise.
165         * string/test-memmove.c (simple_memmove): Disable loop transformation
166         to library calls.
167         * string/test-memset.c (simple_memset): Likewise.
168         * benchtests/bench-memmove.c (simple_memmove): Likewise.
169         * benchtests/bench-memset.c (simple_memset): Likewise.
170         * configure: Regenerated.
172 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
174         * math/test-misc.c (main): Ignore fesetround failure when failures
175         of subsequent rounding tests would be ignored.
177         [BZ #15654]
178         * math/fedisblxcpt.c (fedisableexcept): Return 0.
179         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
180         * math/fegetenv.c (__fegetenv): Return 0.
181         * math/fegetexcept.c (fegetexcept): Return 0.
182         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
183         FE_TONEAREST.
184         * math/feholdexcpt.c (feholdexcept): Return 0.
185         * math/fesetenv.c (__fesetenv): Return 0.
186         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
187         argument FE_TONEAREST.
188         * math/feupdateenv.c (__feupdateenv): Return 0.
189         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
191 2013-06-18  Roland McGrath  <roland@hack.frob.com>
193         * elf/rtld-Rules (rtld-compile-command.S): New variable.
194         (rtld-compile-command.s, rtld-compile-command.c): New variables.
195         ($(objpfx)rtld-%.os rules): Use them.
197 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
199         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
200         fields.
202 2013-06-17  Roland McGrath  <roland@hack.frob.com>
204         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
205         length of target pattern, then descending length of dependency pattern.
206         * configure.in (AWK): Require gawk 3.1.2 or newer.
207         * manual/install.texi (Tools for Compilation): Say that we do.
208         * configure: Regenerated.
210         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
211         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
212         * scripts/sysd-rules.awk: ... this new script.
213         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
214         than a glob-style pattern.
216 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
218         * math/test-misc.c (main): Do not treat incorrectly rounded
219         conversions as failure unless ROUNDING_TESTS passes.
221 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
223         [BZ #15631]
224         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
225         restore exception state around main square root computation, then
226         check for inexactness explicitly.
228         * math/libm-test.inc (fma_test_data): Add another test.
230 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
232         * manual/threads.texi (Non-POSIX Extensions): New document
233         node.  Document pthread_getattr_default_np and
234         pthread_setattr_default_np.
236         * Versions.def (libpthread): Add GLIBC_2.18.
237         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
239         Likewise.
240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
241         Likewise.
242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
243         Likewise.
244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
245         Likewise.
246         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
247         Likewise.
248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
249         Likewise.
250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
251         Likewise.
252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
253         Likewise.
254         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
255         Likewise.
257 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
259         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
260         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
262 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
263             H.J. Lu  <hjl.tools@gmail.com>
265         [BZ #15627]
266         * sysdeps/x86_64/rtld-memset.c: Remove file.
267         * sysdeps/x86_64/rtld-memset.S: New file.
269 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
271         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
272         (test_in_one_mode): Take arguments for whether the rounding mode
273         is supported for each floating-point type.
274         (do_test): Pass new arguments to test_in_one_mode using
275         ROUNDING_TESTS.
277 2013-06-13  Roland McGrath  <roland@hack.frob.com>
279         * posix/tst-waitid.c (do_test): Distinguish different instances of
280         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
281         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
282         before entering the kernel for waitpid.
284 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
286         * NEWS: Fix note on clock function precision.  Text by Roland
287         McGrath.
289 2013-06-13  Roland McGrath  <roland@hack.frob.com>
291         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
292         it into place only when and if the sanity check passes.
294 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
296         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
297         output for whether conversion result is exact.  Take argument
298         indicating whether type is IBM long double.
299         (round_for_all): Change need_exact field to ibm_ld.
300         * stdlib/tst-strtod-round.c (struct exactness): New type.
301         (struct test): Change bool ld_ok field to struct exactness exact.
302         (TEST): Update all definitions for change to field.
303         (tests): Regenerate array contents.
304         (test_in_one_mode): Take pointer to new field instead of old ld_ok
305         field value.  Check for IBM long double here.
306         (do_test): Update calls to test_in_one_mode.
308 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
310         [BZ #12515]
311         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
312         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
314 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
316         [BZ #15605]
317         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
318         generated by the compiler on loop optimizations.
319         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
320         general definitions.
322 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
324         * math/bug-nextafter.c: Include <math-tests.h>.
325         (main): Only test for exceptions if EXCEPTION_TESTS is true for
326         the relevant type.
327         * math/bug-nexttoward.c: Include <math-tests.h>.
328         (main): Only test for exceptions if EXCEPTION_TESTS is true for
329         the relevant type.
330         * math/test-misc.c: Include <math-tests.h>.
331         (main): Only test for exceptions if EXCEPTION_TESTS is true for
332         the relevant type.
334 2013-06-12  Andreas Jaeger  <aj@suse.de>
336         * po/ia.po: Update Interlingua translation from translation
337         project.
339 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
341         * include/fenv.h: Include stdbool.h.
342         (struct rm_ctx): New structure.
343         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
344         Define macro.
345         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
346         (SET_RESTORE_ROUNDF): Likewise.
347         (SET_RESTORE_ROUNDL): Likewise.
348         (SET_RESTORE_ROUND_NOEX): Likewise.
349         (SET_RESTORE_ROUND_NOEXF): Likewise.
350         (SET_RESTORE_ROUND_NOEXL): Likewise.
351         (SET_RESTORE_ROUND_53BIT): Likewise.
352         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
353         (libc_feresetround_noexf_ctx): Likewise.
354         (libc_feresetround_noexl_ctx): Likewise.
355         (libc_feholdsetround_53bit_ctx): Likewise.
356         (libc_feresetround_53bit_ctx): Likewise.
357         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
358         (libc_feholdexcept_setround_sse_ctx): New function.
359         (libc_fesetenv_sse_ctx): Likewise.
360         (libc_feupdateenv_sse_ctx): Likewise.
361         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
362         (libc_feholdexcept_setround_387_ctx): Likewise.
363         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
364         (libc_feholdsetround_387_prec_ctx): Likewise.
365         (libc_feholdsetround_387_ctx): Likewise.
366         (libc_feholdsetround_387_53bit_ctx): Likewise.
367         (libc_feholdsetround_sse_ctx): Likewise.
368         (libc_feresetround_sse_ctx): Likewise.
369         (libc_feresetround_387_ctx): Likewise.
370         (libc_feupdateenv_387_ctx): Likewise.
371         (libc_feholdexcept_setroundf_ctx): Define macro.
372         (libc_fesetenvf_ctx): Likewise.
373         (libc_feupdateenvf_ctx): Likewise.
374         (libc_feholdsetroundf_ctx): Likewise.
375         (libc_feresetroundf_ctx): Likewise.
376         (libc_feholdexcept_setround_ctx): Likewise.
377         (libc_fesetenv_ctx): Likewise.
378         (libc_feupdateenv_ctx): Likewise.
379         (libc_feholdsetround_ctx): Likewise.
380         (libc_feresetround_ctx): Likewise.
381         (libc_feholdexcept_setroundl_ctx): Likewise.
382         (libc_feupdateenvl_ctx): Likewise.
383         (libc_feholdsetroundl_ctx): Likewise.
384         (libc_feresetroundl_ctx): Likewise.
385         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
386         (libc_feresetround_53bit_ctx): Likewise.
388 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
390         * locale/iso-639.def: Convert to UTF-8.
392 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
394         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
395         (EXCEPTION_TESTS_double): Likewise.
396         (EXCEPTION_TESTS_long_double): Likewise.
397         (EXCEPTION_TESTS): Likewise.
398         * math/libm-test.inc (test_exceptions): Only test exceptions if
399         EXCEPTION_TESTS (FLOAT).
401 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
403         * benchtests/Makefile (string-bench): Add strcpy_chk and
404         stpcpy_chk.
405         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
406         * benchtests/bench-stpcpy_chk.c: New file.
407         * benchtests/bench-strcpy_chk-ifunc.c: New file.
408         * benchtests/bench-strcpy_chk.c: New file.
409         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
410         code.
411         (do_test): Likewise.
413 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
415         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
416         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
417         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
418         with tabs where appropriate.
419         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
420         dl-procinfo.h.
421         [PPC_PLATFORM_PPC440]: Likewise.
422         [PPC_PLATFORM_PPC464]: Likewise.
423         [PPC_PLATFORM_PPC476]: Likewise.
424         (_dl_string_platform): Add support for detecting ppc405, ppc440,
425         ppc464, and ppc476 platform strings merging from ports/
426         dl-procinfo.h.
428 2013-06-11  Andreas Schwab  <schwab@suse.de>
430         [BZ #14991]
431         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
432         (from_ucs4_idx): Regenerate.
433         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
434         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
435         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
436         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
437         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
438         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
439         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
440         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
441         from FROM_LOOP and TO_LOOP specific macros.
442         (BODY): Handle combining characters.
443         * iconvdata/BIG5HKSCS.irreversible: Update.
444         * iconvdata/BIG5HKSCS.precomposed: New file.
445         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
446         characters.
447         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
449 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
451         * include/sys/time.h: Fix indentation and add copyright header.
453         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
454         (do_test): Likewise.
455         * string/test-memchr.c (do_one_test): Likewise.
456         (do_test): Likewise.
457         * string/test-memcmp.c (do_one_test): Likewise.
458         (do_test): Likewise.
459         * string/test-memcpy.c (do_one_test): Likewise.
460         (do_test): Likewise.
461         * string/test-memmem.c (do_one_test): Likewise.
462         (do_test): Likewise.
463         (do_random_tests): Likewise.
464         * string/test-memmove.c (do_one_test): Likewise.
465         (do_test): Likewise.
466         * string/test-memset.c (do_one_test): Likewise.
467         (do_test): Likewise.
468         * string/test-rawmemchr.c (do_one_test): Likewise.
469         (do_test): Likewise.
470         * string/test-strcasecmp.c (do_one_test): Likewise.
471         (do_test): Likewise.
472         * string/test-strcasestr.c (do_one_test): Likewise.
473         (do_test): Likewise.
474         * string/test-strcat.c (do_one_test): Likewise.
475         (do_test): Likewise.
476         * string/test-strchr.c (do_one_test): Likewise.
477         (do_test): Likewise.
478         * string/test-strcmp.c (do_one_test): Likewise.
479         (do_test): Likewise.
480         * string/test-strcpy.c (do_one_test): Likewise.
481         (do_test): Likewise.
482         * string/test-string.h: Likewise.
483         (test_init): Likewise.
484         * string/test-strlen.c (do_one_test): Likewise.
485         (do_test): Likewise.
486         * string/test-strncasecmp.c (do_one_test): Likewise.
487         (do_test): Likewise.
488         * string/test-strncat.c (do_one_test): Likewise.
489         (do_test): Likewise.
490         * string/test-strncmp.c (do_one_test): Likewise.
491         (do_test_limit): Likewise.
492         (do_test): Likewise.
493         * string/test-strncpy.c (do_one_test): Likewise.
494         (do_test): Likewise.
495         * string/test-strnlen.c (do_one_test): Likewise.
496         (do_test): Likewise.
497         * string/test-strpbrk.c (do_one_test): Likewise.
498         (do_test): Likewise.
499         * string/test-strrchr.c (do_one_test): Likewise.
500         (do_test): Likewise.
501         * string/test-strspn.c (do_one_test): Likewise.
502         (do_test): Likewise.
503         * string/test-strstr.c (do_one_test): Likewise.
504         (do_test): Likewise.
506         * benchtests/Makefile (string-bench): Add string benchmarks.
507         * benchtests/bench-bcopy-ifunc.c: New file.
508         * benchtests/bench-bcopy.c: New file.
509         * benchtests/bench-bzero-ifunc.c: New file.
510         * benchtests/bench-bzero.c: New file.
511         * benchtests/bench-memccpy-ifunc.c: New file.
512         * benchtests/bench-memccpy.c: New file.
513         * benchtests/bench-memchr-ifunc.c: New file.
514         * benchtests/bench-memchr.c: New file.
515         * benchtests/bench-memcmp-ifunc.c: New file.
516         * benchtests/bench-memcmp.c: New file.
517         * benchtests/bench-memmem-ifunc.c: New file.
518         * benchtests/bench-memmem.c: New file.
519         * benchtests/bench-memmove-ifunc.c: New file.
520         * benchtests/bench-memmove.c: New file.
521         * benchtests/bench-mempcpy-ifunc.c: New file.
522         * benchtests/bench-mempcpy.c: New file.
523         * benchtests/bench-memset-ifunc.c: New file.
524         * benchtests/bench-memset.c: New file.
525         * benchtests/bench-rawmemchr-ifunc.c: New file.
526         * benchtests/bench-rawmemchr.c: New file.
527         * benchtests/bench-stpcpy-ifunc.c: New file.
528         * benchtests/bench-stpcpy.c: New file.
529         * benchtests/bench-stpncpy-ifunc.c: New file.
530         * benchtests/bench-stpncpy.c: New file.
531         * benchtests/bench-strcasecmp-ifunc.c: New file.
532         * benchtests/bench-strcasecmp.c: New file.
533         * benchtests/bench-strcasestr-ifunc.c: New file.
534         * benchtests/bench-strcasestr.c: New file.
535         * benchtests/bench-strcat-ifunc.c: New file.
536         * benchtests/bench-strcat.c: New file.
537         * benchtests/bench-strchr-ifunc.c: New file.
538         * benchtests/bench-strchr.c: New file.
539         * benchtests/bench-strchrnul-ifunc.c: New file.
540         * benchtests/bench-strchrnul.c: New file.
541         * benchtests/bench-strcmp-ifunc.c: New file.
542         * benchtests/bench-strcmp.c: New file.
543         * benchtests/bench-strcpy-ifunc.c: New file.
544         * benchtests/bench-strcpy.c: New file.
545         * benchtests/bench-strcspn-ifunc.c: New file.
546         * benchtests/bench-strcspn.c: New file.
547         * benchtests/bench-strlen-ifunc.c: New file.
548         * benchtests/bench-strlen.c: New file.
549         * benchtests/bench-strncasecmp-ifunc.c: New file.
550         * benchtests/bench-strncasecmp.c: New file.
551         * benchtests/bench-strncat-ifunc.c: New file.
552         * benchtests/bench-strncat.c: New file.
553         * benchtests/bench-strncmp-ifunc.c: New file.
554         * benchtests/bench-strncmp.c: New file.
555         * benchtests/bench-strncpy-ifunc.c: New file.
556         * benchtests/bench-strncpy.c: New file.
557         * benchtests/bench-strnlen-ifunc.c: New file.
558         * benchtests/bench-strnlen.c: New file.
559         * benchtests/bench-strpbrk-ifunc.c: New file.
560         * benchtests/bench-strpbrk.c: New file.
561         * benchtests/bench-strrchr-ifunc.c: New file.
562         * benchtests/bench-strrchr.c: New file.
563         * benchtests/bench-strspn-ifunc.c: New file.
564         * benchtests/bench-strspn.c: New file.
565         * benchtests/bench-strstr-ifunc.c: New file.
566         * benchtests/bench-strstr.c: New file.
568         * benchtests/Makefile: Disable parallel execution of targets.
569         (string-bench): Add memcpy.
570         (benchset): New variable to store a list of benchmark sets.
571         (bench-func): Renamed from bench.
572         (bench-set): New target.
573         (bench): Depend on bench-func and bench-set.
574         * benchtests/README: Add section on benchmark sets.
575         * benchtests/bench-memcpy-ifunc.c: New file.
576         * benchtests/bench-memcpy.c: New file.
577         * benchtests/bench-string.h: New file.
579 2013-06-11  Andreas Schwab  <schwab@suse.de>
581         [BZ #15577]
582         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
583         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
584         values in the triple.
585         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
586         terminator in the group key.
588 2013-06-11  Andreas Jaeger  <aj@suse.de>
590         * po/zh_TW.po: Update Chinese (traditional) translation from
591         translation project.
593 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
595         * include/time.h (__clock_gettime): Add libc_hidden_proto.
596         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
597         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
598         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
599         (clock_getcpuclockid): Likewise.
600         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
601         Add weak_alias and libc_hidden_def.
602         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
603         * rt/clock_gettime.c (clock_gettime): Rename to
604         __clock_gettime.  Add weak_alias and libc_hidden_def.
605         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
606         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
607         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
608         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
609         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
610         Likewise.
611         * rt/clock_settime.c (clock_settime): Rename to
612         __clock_settime.  Add weak_alias and libc_hidden_def.
613         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
615 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
617         * mach/err_boot.sub: Remove trailing whitespace.
618         * mach/err_ipc.sub: Likewise.
619         * mach/err_mach.sub: Likewise.
621         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
622         (ROUNDING_TESTS_double): Likewise.
623         (ROUNDING_TESTS_long_double): Likewise.
624         (ROUNDING_TESTS): Likewise.
625         * math/libm-test.inc: Include <math-tests.h>.
626         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
627         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
628         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
629         (IF_ROUND_INIT_FE_UPWARD): Likewise.
631 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
633         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
634         of assigning.
636 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
638         * sysdeps/gnu/errlist.awk: Do not generate space at end of
639         otherwise empty TRANS lines.
640         * sysdeps/gnu/errlist.c: Regenerated.
642         * catgets/gencat.c (error_print): Use (void) in function
643         definition.
644         * crypt/crypt_util.c (__init_des): Likewise.
645         * crypt/speeds.c (Stop): Likewise.
646         (main): Likewise.
647         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
648         * inet/ruserpass.c (token): Likewise.
649         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
650         * intl/localealias.c (extend_alias_table): Likewise.
651         * intl/plural-exp.c (init_germanic_plural): Likewise.
652         * libio/fcloseall.c (__fcloseall): Likewise.
653         * libio/genops.c (_IO_flush_all): Likewise.
654         (_IO_flush_all_linebuffered): Likewise.
655         (_IO_cleanup): Likewise.
656         (_IO_iter_begin): Likewise.
657         (_IO_iter_end): Likewise.
658         (_IO_list_lock): Likewise.
659         (_IO_list_unlock): Likewise.
660         (_IO_list_resetlock): Likewise.
661         * libio/getchar.c (getchar): Likewise.
662         * libio/getchar_u.c (getchar_unlocked): Likewise.
663         * libio/getwchar.c (getwchar): Likewise.
664         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
665         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
666         * login/getpt.c (__getpt): Likewise.
667         * login/tst-utmp.c (main): Likewise.
668         * malloc/hooks.c (__malloc_check_init): Likewise.
669         * malloc/malloc.c (__malloc_stats): Likewise.
670         * malloc/mtrace.c (tr_break): Likewise.
671         (mtrace): Likewise.
672         (muntrace): Likewise.
673         * misc/fstab.c (endfsent): Likewise.
674         * misc/getclktck.c (__getclktck): Likewise.
675         * misc/getdtsz.c (__getdtablesize): Likewise.
676         * misc/gethostid.c (gethostid): Likewise.
677         * misc/getpagesize.c (__getpagesize): Likewise.
678         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
679         (__get_nprocs): Likewise.
680         (__get_phys_pages): Likewise.
681         (__get_avphys_pages): Likewise.
682         * misc/getttyent.c (getttyent): Likewise.
683         (setttyent): Likewise.
684         (endttyent): Likewise.
685         * misc/getusershell.c (getusershell): Likewise.
686         (endusershell): Likewise.
687         (setusershell): Likewise.
688         (initshells): Likewise.
689         * misc/hsearch.c (__hdestroy): Likewise.
690         * misc/sync.c (sync): Likewise.
691         * misc/syslog.c (closelog_internal): Likewise.
692         (closelog): Likewise.
693         * misc/ttyslot.c (ttyslot): Likewise.
694         * misc/vhangup.c (vhangup): Likewise.
695         * posix/fork.c (__fork): Likewise.
696         * posix/getegid.c (__getegid): Likewise.
697         * posix/geteuid.c (__geteuid): Likewise.
698         * posix/getgid.c (__getgid): Likewise.
699         * posix/getpid.c (__getpid): Likewise.
700         * posix/getppid.c (__getppid): Likewise.
701         * posix/getuid.c (__getuid): Likewise.
702         * posix/pause.c (pause): Likewise.
703         * posix/setpgrp.c (setpgrp): Likewise.
704         * posix/setsid.c (__setsid): Likewise.
705         * posix/test-vfork.c (noop): Likewise.
706         * resolv/gethnamaddr.c (_endhtent): Likewise.
707         (_gethtent): Likewise.
708         (ht_endhostent): Likewise.
709         (gethostent): Likewise.
710         (dns_service): Likewise.
711         * stdlib/drand48.c (drand48): Likewise.
712         * stdlib/lrand48.c (lrand48): Likewise.
713         * stdlib/mrand48.c (mrand48): Likewise.
714         * stdlib/rand.c (rand): Likewise.
715         * stdlib/random.c (__random): Likewise.
716         * stdlib/setenv.c (clearenv): Likewise.
717         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
718         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
719         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
720         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
721         (__get_nprocs): Likewise.
722         (__get_phys_pages): Likewise.
723         (__get_avphys_pages): Likewise.
724         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
725         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
726         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
727         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
728         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
729         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
730         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
731         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
732         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
733         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
734         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
735         * sysdeps/mach/hurd/sync.c (sync): Likewise.
736         * sysdeps/posix/clock.c (clock): Likewise.
737         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
738         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
739         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
740         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
741         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
742         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
743         (__get_nprocs_conf): Likewise.
744         (__get_phys_pages): Likewise.
745         (__get_avphys_pages): Likewise.
746         * time/clock.c (clock): Likewise.
747         * time/tzset.c (__tzname_max): Likewise.
749 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
751         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
752         (__bswap_32): Do not use "register".
753         * crypt/crypt.c (_ufc_doit_r): Likewise.
754         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
755         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
756         * gmon/gmon.c (__monstartup): Likewise.
757         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
758         * hurd/hurdmalloc.c (more_memory): Likewise.
759         (malloc): Likewise.
760         (free): Likewise.
761         (realloc): Likewise.
762         (malloc_fork_prepare): Likewise.
763         (malloc_fork_parent): Likewise.
764         (malloc_fork_child): Likewise.
765         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
766         (_svcauth_des): Likewise.
767         * inet/inet_lnaof.c (inet_lnaof): Likewise.
768         * inet/inet_net.c (inet_network): Likewise.
769         * inet/inet_netof.c (inet_netof): Likewise.
770         * inet/rcmd.c (__validuser2_sa): Likewise.
771         * io/fts.c (fts_open): Likewise.
772         (fts_load): Likewise.
773         (fts_close): Likewise.
774         (fts_read): Likewise.
775         (fts_children): Likewise.
776         (fts_build): Likewise.
777         (fts_stat): Likewise.
778         (fts_sort): Likewise.
779         (fts_alloc): Likewise.
780         (fts_lfree): Likewise.
781         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
782         (_IO_file_xsgetn): Likewise.
783         (_IO_file_xsgetn_mmap): Likewise.
784         * libio/iofopncook.c (_IO_cookie_read): Likewise.
785         (_IO_cookie_write): Likewise.
786         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
787         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
788         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
789         * malloc/obstack.c (_obstack_begin): Likewise.
790         (_obstack_begin_1): Likewise.
791         (_obstack_newchunk): Likewise.
792         (_obstack_allocated_p): Likewise.
793         (obstack_free): Likewise.
794         (_obstack_memory_used): Likewise.
795         * misc/getttyent.c (getttynam): Likewise.
796         (getttyent): Likewise.
797         (skip): Likewise.
798         (value): Likewise.
799         * misc/getusershell.c (initshells): Likewise.
800         * misc/syslog.c (__vsyslog_chk): Likewise.
801         * misc/ttyslot.c (ttyslot): Likewise.
802         * nis/nis_hash.c (__nis_hash): Likewise.
803         * posix/fnmatch_loop.c (FCT): Likewise.
804         * posix/getconf.c (print_all): Likewise.
805         (main): Likewise.
806         * posix/getopt.c (exchange): Likewise.
807         * posix/glob.c (globfree): Likewise.
808         (prefix_array): Likewise.
809         (__glob_pattern_type): Likewise.
810         * resolv/arpa/nameser.h (NS_GET16): Likewise.
811         (NS_GET32): Likewise.
812         (NS_PUT16): Likewise.
813         (NS_PUT32): Likewise.
814         * resolv/gethnamaddr.c (getanswer): Likewise.
815         (gethostbyname2): Likewise.
816         (gethostbyaddr): Likewise.
817         (_gethtent): Likewise.
818         (_gethtbyname2): Likewise.
819         (_gethtbyaddr): Likewise.
820         * resolv/ns_print.c (dst_s_get_int16): Likewise.
821         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
822         * resolv/res_init.c (__res_vinit): Likewise.
823         (net_mask): Likewise.
824         * resolv/res_mkquery.c (outchar): Likewise.
825         (PRINT): Likewise.
826         * stdio-common/printf_fp.c (outchar): Likewise.
827         (PRINT): Likewise.
828         * stdio-common/printf_fphex.c (outchar): Likewise.
829         (PRINT): Likewise.
830         * stdio-common/printf_size.c (outchar): Likewise.
831         (PRINT): Likewise.
832         * stdio-common/test_rdwr.c (main): Likewise.
833         * stdio-common/tfformat.c (matches): Likewise.
834         * stdio-common/vfprintf.c (outchar): Likewise.
835         (printf_unknown): Likewise.
836         (buffered_vfprintf): Likewise.
837         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
838         * stdio-common/xbug.c (AppendToBuffer): Likewise.
839         (ReadFile): Likewise.
840         * stdlib/qsort.c (SWAP): Likewise.
841         (_quicksort): Likewise.
842         * stdlib/setenv.c (__add_to_environ): Likewise.
843         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
844         * stdlib/strtol_l.c (__strtol_l): Likewise.
845         * stdlib/tst-strtod.c (main): Likewise.
846         * stdlib/tst-strtol.c (main): Likewise.
847         * stdlib/tst-strtoll.c (main): Likewise.
848         * string/bits/string2.h (__strcmp_cc): Likewise.
849         (__strcmp_cg): Likewise.
850         (__strcspn_c1): Likewise.
851         (__strcspn_c2): Likewise.
852         (__strcspn_c3): Likewise.
853         (__strspn_c1): Likewise.
854         (__strspn_c2): Likewise.
855         (__strspn_c3): Likewise.
856         (__strsep_1c): Likewise.
857         (__strsep_2c): Likewise.
858         (__strsep_3c): Likewise.
859         * string/memccpy.c (__memccpy): Likewise.
860         * string/stpcpy.c (__stpcpy): Likewise.
861         * string/strcmp.c (strcmp): Likewise.
862         * string/strrchr.c (strrchr): Likewise.
863         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
864         Likewise.
865         * sysdeps/mach/hurd/getcwd.c
866         (_hurd_canonicalize_directory_name_internal): Likewise.
867         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
868         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
869         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
870         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
871         Likewise, in both definitions.
872         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
873         definitions.
874         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
875         64] (__bswap_64): Likewise.
876         * time/test_time.c (main): Likewise.
877         * time/tzfile.c (__tzfile_read): Likewise.
878         (__tzfile_compute): Likewise.
879         * time/tzset.c (__tzset_parse_tz): Likewise.
880         (tzset_internal): Likewise.
881         (compute_change): Likewise.
882         * wcsmbs/wcscat.c (__wcscat): Likewise.
883         * wcsmbs/wcschr.c (wcschr): Likewise.
884         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
885         * wcsmbs/wcscspn.c (wcscspn): Likewise.
886         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
887         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
888         * wcsmbs/wcsspn.c (wcsspn): Likewise.
889         * wcsmbs/wcsstr.c (wcsstr): Likewise.
890         * wcsmbs/wmemchr.c (wmemchr): Likewise.
891         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
892         * wcsmbs/wmemset.c (wmemset): Likewise.
894 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
896         * scripts/config.guess: Update to version 2013-05-16.
897         * scripts/config.sub: Update to version 2013-04-24.
898         * scripts/install-sh: Update to version 2011-11-20.07.
899         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
900         * scripts/move-if-change: Update to version 2012-01-06 07:23.
902 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
904         * debug/fgetws_u_chk.c: Fix leading whitespaces.
905         * elf/sln.c: Likewise.
906         * hurd/hurd/ioctl.h: Likewise.
907         * hurd/hurdmalloc.c: Likewise.
908         * hurd/xattr.c: Likewise.
909         * include/shlib-compat.h: Likewise.
910         * inet/ruserpass.c: Likewise.
911         * libio/iofgets_u.c: Likewise.
912         * libio/iofgetws_u.c: Likewise.
913         * locale/programs/ld-identification.c: Likewise.
914         * locale/programs/ld-time.c: Likewise.
915         * mach/msg-destroy.c: Likewise.
916         * nss/nss_files/files-netgrp.c: Likewise.
917         * resolv/res_data.c: Likewise.
918         * soft-fp/op-1.h: Likewise.
919         * soft-fp/op-2.h: Likewise.
920         * soft-fp/op-4.h: Likewise.
921         * soft-fp/op-common.h: Likewise.
922         * stdio-common/printf_fphex.c: Likewise.
923         * stdlib/strtod_l.c: Likewise.
924         * sunrpc/rpc/clnt.h: Likewise.
925         * sysdeps/generic/framestate.c: Likewise.
926         * sysdeps/i386/bsd-_setjmp.S: Likewise.
927         * sysdeps/i386/bsd-setjmp.S: Likewise.
928         * sysdeps/i386/__longjmp.S: Likewise.
929         * sysdeps/i386/setjmp.S: Likewise.
930         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
931         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
932         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
933         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
934         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
935         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
936         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
937         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
938         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
939         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
940         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
941         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
942         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
943         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
944         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
945         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
946         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
947         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
948         * sysdeps/ieee754/support.c: Likewise.
949         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
950         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
951         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
952         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
953         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
954         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
955         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
956         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
957         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
958         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
959         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
960         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
961         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
962         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
963         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
964         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
965         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
968 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
970         * posix/transbug.c: Remove executable mode.
972 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
974         * crypt/speeds.c: Remove trailing whitespace.
975         * dlfcn/default.c: Likewise.
976         * elf/ifuncdep2.c: Likewise.
977         * elf/ifuncmain1.c: Likewise.
978         * elf/ifuncmain1vis.c: Likewise.
979         * elf/testobj.h: Likewise.
980         * elf/tst-stackguard1.c: Likewise.
981         * gmon/sys/gmon.h: Likewise.
982         * hurd/hurdmsg.c: Likewise.
983         * hurd/new-fd.c: Likewise.
984         * hurd/ports-get.c: Likewise.
985         * iconvdata/ibm1008_420.c: Likewise.
986         * inet/tst-getni1.c: Likewise.
987         * inet/tst-getni2.c: Likewise.
988         * libio/ioungetc.c: Likewise.
989         * libio/wfiledoalloc.c: Likewise.
990         * manual/libm-err-tab.pl: Likewise.
991         * math/w_dremf.c: Likewise.
992         * misc/ftruncate.c: Likewise.
993         * posix/bug-glob2.c: Likewise.
994         * posix/tst-pcre.c: Likewise.
995         * posix/wait4.c: Likewise.
996         * resolv/README: Likewise.
997         * resolv/res_debug.h: Likewise.
998         * resolv/tst-inet_ntop.c: Likewise.
999         * setjmp/bug269-setjmp.c: Likewise.
1000         * soft-fp/extended.h: Likewise.
1001         * soft-fp/op-1.h: Likewise.
1002         * soft-fp/op-2.h: Likewise.
1003         * soft-fp/op-4.h: Likewise.
1004         * soft-fp/op-8.h: Likewise.
1005         * soft-fp/testit.c: Likewise.
1006         * stdio-common/bug16.c: Likewise.
1007         * stdlib/random.c: Likewise.
1008         * sunrpc/rpcsvc/rquota.x: Likewise.
1009         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1010         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1011         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1012         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1013         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1014         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1015         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1016         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1017         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1018         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1019         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1020         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1021         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1022         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1023         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1024         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1025         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1026         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1027         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1028         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1029         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1030         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1031         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1032         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1033         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1034         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1035         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1036         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1037         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1038         * sysdeps/ieee754/s_lib_version.c: Likewise.
1039         * sysdeps/mach/hurd/check_fds.c: Likewise.
1040         * sysdeps/mach/hurd/getsockname.c: Likewise.
1041         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1042         * sysdeps/mach/hurd/recvfrom.c: Likewise.
1043         * sysdeps/powerpc/bits/link.h: Likewise.
1044         * sysdeps/powerpc/dl-procinfo.c: Likewise.
1045         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1046         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1047         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1048         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1049         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1050         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1051         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1052         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1053         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1054         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1055         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1056         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1057         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1058         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1059         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1060         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1061         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1062         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1063         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1064         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1065         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1066         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1067         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1068         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1069         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1070         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1071         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1072         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1073         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1074         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1075         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1076         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1077         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1078         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1079         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1080         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1081         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1082         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1083         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1084         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1085         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1086         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1087         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1088         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1089         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1090         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1091         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1092         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1093         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1094         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1095         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1096         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1097         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1098         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1099         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1100         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1101         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1102         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1103         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1104         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1105         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1106         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1107         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1108         * sysdeps/powerpc/sysdep.h: Likewise.
1109         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1110         * sysdeps/s390/s390-64/sub_n.S: Likewise.
1111         * sysdeps/sh/dl-trampoline.S: Likewise.
1112         * sysdeps/sh/memset.S: Likewise.
1113         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1114         * sysdeps/sh/strlen.S: Likewise.
1115         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1116         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1117         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1118         * sysdeps/sparc/sparc32/rem.S: Likewise.
1119         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1120         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1121         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1122         * sysdeps/sparc/sparc32/udiv.S: Likewise.
1123         * sysdeps/sparc/sparc32/urem.S: Likewise.
1124         * sysdeps/sparc/sparc64/add_n.S: Likewise.
1125         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1126         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1127         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1128         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1129         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1130         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1131         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1132         * sysdeps/unix/bsd/times.c: Likewise.
1133         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1134         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1138         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1139         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1140         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1141         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1142         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1143         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1144         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1145         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1146         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1147         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1148         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1149         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1150         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1151         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1152         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1153         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1154         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1155         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1156         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1157         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1158         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1159         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1160         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1161         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1162         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1163         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1164         * sysdeps/x86_64/strcspn.S: Likewise.
1166 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1168         * locale/C-translit.h: Revert #include <stdint.h> because this is a
1169         generated file.  Regenerate properly from gen-translit.pl.
1170         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
1171         locale/C-translit.h.
1173 2013-06-05  Andreas Schwab  <schwab@suse.de>
1175         [BZ #15100]
1176         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1177         week as 6 instead of -1.
1178         * time/tst-strptime.c (day_tests): Add test case.
1180 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1182         * sysdeps/generic/math_private.h
1183         (libc_feholdexcept_setround_53bit): Replace with
1184         libc_feholdsetround_53bit.
1185         (libc_feupdateenv_53bit): Replace with
1186         libc_feresetround_53bit.
1187         (SET_RESTORE_ROUND_53BIT): Adjust.
1189 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1191         * string/test-strchrnul.c: Add copyright header.
1193         * posix/tst-getaddrinfo4.c: Increase test timeout.
1195 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
1197         [BZ #15536]
1198         * math/libm-test.inc (MAX_EXP): Remove
1199         (MIN_EXP): Define.
1200         (ulp): Use MIN_EXP - MANT_DIG.
1201         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1203 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
1205         * po/be.po: Revert last change.
1206         * po/zh_CN.po: Likewise.
1207         * po/header.pot: Likewise.
1209 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
1211         * Makefile ($(common-objpfx)linkobj/libc.so): Define
1212         link-libc-deps to empty as target-specific variable.
1213         * Makerules (link-libc-args): New variable.
1214         (libc-for-link): Likewise.
1215         (link-libc-deps): Likewise.
1216         (lib%.so): Depend on $(link-libc-deps).  Link with
1217         $(link-libc-args).
1218         (build-module): Link with $(link-libc-args).
1219         (build-module-asneeded): Likewise.
1220         (build-module-helper-objlist): Filter out $(link-libc-deps) from
1221         list of objects.
1222         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1223         target-specific variable.
1224         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1225         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1226         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1227         libc.
1228         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1229         libc and ld.so.
1230         ($(objpfx)libpcprofile.so): Likewise.
1231         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1232         libc_nonshared.a.
1233         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1234         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1235         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1236         $(link-libc-deps).
1237         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1238         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1239         * login/Makefile ($(objpfx)libutil.so): Likewise.
1240         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1241         * math/Makefile ($(objpfx)libm.so): Likewise.
1242         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1243         $(objpfx)libnsl.so): Define libc-for-link as target-specific
1244         variable instead of depending directly on libc.
1245         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1246         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1247         $(link-libc-deps).
1248         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1249         libc.
1250         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1251         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1252         ($(objpfx)libanl.so): Likewise.
1253         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1254         ld.so.
1255         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1256         $(link-libc-deps).
1257         * sysdeps/i386/fpu/Makefile: Remove file.
1258         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1259         ($(objpfx)libm.so): Remove dependency on ld.so.
1261 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
1263         [BZ # 15553]
1264         * nis/yp_xdr.c (XDRMAXNAME): Define.
1265         (XDRMAXRECORD): Define.
1266         (xdr_domainname): Use XDRMAXNAME.
1267         (xdr_mapname): Likewise.
1268         (xdr_peername): Likewise.
1269         (xdr_keydat): Use XDRMAXRECORD.
1270         (xdr_valdat): Likewise.
1272 2013-05-30  Jeff Law  <law@redhat.com>
1274         [BZ #14256]
1275         * manual/errno.texi (ESTALE): Update to account for more than
1276         just NFS file systems.
1277         * sysdeps/gnu/errlist.c: Regenerated.
1279 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1281         [BZ #15465]
1282         * elf/Makefile (tests): Add tst-null-argv.
1283         (modules-names):  Add tst-null-argv-lib.
1284         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1285         (tst-null-argv-ENV): Set environment for tst-null-argv.
1286         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1287         (RTLD_PROGNAME): New macro.
1288         * elf/tst-null-argv.c: New test case.
1289         * elf/tst-null-argv-lib.c: Library for test case.
1290         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1291         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1292         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1293         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1294         * elf/dl-init.c (call_init): Likewise.
1295         (_dl_init): Likewise.
1296         * elf/dl-load.c (print_search_path): Likewise.
1297         (_dl_map_object): Likewise.
1298         * elf/dl-lookup.c (do_lookup_x): Likewise.
1299         (add_dependency): Likewise.
1300         (_dl_lookup_symbol_x): Likewise.
1301         (_dl_debug_bindings): Likewise.
1302         * elf/dl-open.c (_dl_show_scope): Likewise.
1303         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1304         * elf/dl-version.c (match_symbol): Likewise.
1305         (_dl_check_map_versions): Likewise.
1306         * elf/rtld.c (dl_main): Likewise.
1307         (print_unresolved): Use RTLD_PROGNAME.
1308         (print_missing_version): Likewise.
1309         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1310         (elf_machine_rela): Likewise.
1311         * sysdeps/powerpc/powerpc32/dl-machine.c
1312         (__process_machine_rela): Likewise.
1313         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1314         Likewise.
1315         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1316         Likewise.
1317         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1318         Likewise.
1319         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1320         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1321         Likewise.
1322         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1323         Likewise.
1324         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1326 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
1328         * po/be.po: Add descriptive title.
1329         * po/zh_CN.po: Likewise.
1330         * po/header.pot: Likewise.
1332 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
1334         * locale/programs/locarchive.c (create_archive): Inlucde fname in
1335         error message.
1336         (enlarge_archive): Likewise.
1338 2013-05-28  Ben North  <ben@redfrontdoor.org>
1340         * manual/arith.texi (frexp): It is the magnitude of the return
1341         value which lies in [0.5, 1), not the return value itself.
1343 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1347 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
1349         * stdio-common/bug26.c (main): Correct fscanf template.
1351         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1352         declare _dl_skip_args.
1354         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1355         Don't declare.
1357         * manual/platform.texi: Add missing @end deftypefun.
1359 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1361         [BZ #15529]
1362         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1363         bit of mantissa of 2^16382.
1364         * math/libm-test.inc (hypot_test_data): Add more tests.
1366         * math/libm-test.inc: Add drem and pow10 to list of tested
1367         functions.
1368         (pow10_test): New function.
1369         (drem_test): Likewise.
1370         (drem_test_tonearest): Likewise.
1371         (drem_test_towardzero): Likewise.
1372         (drem_test_downward): Likewise.
1373         (drem_test_upward): Likewise.
1374         (main): Call the new functions.
1376         * math/libm-test.inc (finite_test_data): Remove.
1377         (finite_test): Run tests from isfinite_test_data.
1378         (gamma_test_data): Remove.
1379         (gamma_test): Run tests from lgamma_test_data.
1380         * sysdeps/i386/fpu/libm-test-ulps: Update.
1381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1383 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1385         * manual/platform.texi: Add PowerPC PPR function set documentation.
1386         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1387         implementation.
1389 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
1391         * math/libm-test.inc (MAX_EXP): Define.
1392         (ULPDIFF): Define.
1393         (ulp): New function.
1394         (check_float_internal): Use ULPDIFF.
1395         (cpow_test): Disable failing test.
1396         (check_ulp): Test ulp() implemetnation.
1397         (main): Call check_ulp before starting tests.
1399 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1401         * math/gen-libm-test.pl (generate_testfile): Do not handle
1402         START_DATA and END_DATA.
1403         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1404         END_DATA.
1405         (acos_tonearest_test_data): Likewise.
1406         (acos_towardzero_test_data): Likewise.
1407         (acos_downward_test_data): Likewise.
1408         (acos_upward_test_data): Likewise.
1409         (acosh_test_data): Likewise.
1410         (asin_test_data): Likewise.
1411         (asin_tonearest_test_data): Likewise.
1412         (asin_towardzero_test_data): Likewise.
1413         (asin_downward_test_data): Likewise.
1414         (asin_upward_test_data): Likewise.
1415         (asinh_test_data): Likewise.
1416         (atan_test_data): Likewise.
1417         (atanh_test_data): Likewise.
1418         (atan2_test_data): Likewise.
1419         (cabs_test_data): Likewise.
1420         (cacos_test_data): Likewise.
1421         (cacosh_test_data): Likewise.
1422         (carg_test_data): Likewise.
1423         (casin_test_data): Likewise.
1424         (casinh_test_data): Likewise.
1425         (catan_test_data): Likewise.
1426         (catanh_test_data): Likewise.
1427         (cbrt_test_data): Likewise.
1428         (ccos_test_data): Likewise.
1429         (ccosh_test_data): Likewise.
1430         (ceil_test_data): Likewise.
1431         (cexp_test_data): Likewise.
1432         (cimag_test_data): Likewise.
1433         (clog_test_data): Likewise.
1434         (clog10_test_data): Likewise.
1435         (conj_test_data): Likewise.
1436         (copysign_test_data): Likewise.
1437         (cos_test_data): Likewise.
1438         (cos_tonearest_test_data): Likewise.
1439         (cos_towardzero_test_data): Likewise.
1440         (cos_downward_test_data): Likewise.
1441         (cos_upward_test_data): Likewise.
1442         (cosh_test_data): Likewise.
1443         (cosh_tonearest_test_data): Likewise.
1444         (cosh_towardzero_test_data): Likewise.
1445         (cosh_downward_test_data): Likewise.
1446         (cosh_upward_test_data): Likewise.
1447         (cpow_test_data): Likewise.
1448         (cproj_test_data): Likewise.
1449         (creal_test_data): Likewise.
1450         (csin_test_data): Likewise.
1451         (csinh_test_data): Likewise.
1452         (csqrt_test_data): Likewise.
1453         (ctan_test_data): Likewise.
1454         (ctan_tonearest_test_data): Likewise.
1455         (ctan_towardzero_test_data): Likewise.
1456         (ctan_downward_test_data): Likewise.
1457         (ctan_upward_test_data): Likewise.
1458         (ctanh_test_data): Likewise.
1459         (ctanh_tonearest_test_data): Likewise.
1460         (ctanh_towardzero_test_data): Likewise.
1461         (ctanh_downward_test_data): Likewise.
1462         (ctanh_upward_test_data): Likewise.
1463         (erf_test_data): Likewise.
1464         (erfc_test_data): Likewise.
1465         (exp_test_data): Likewise.
1466         (exp_tonearest_test_data): Likewise.
1467         (exp_towardzero_test_data): Likewise.
1468         (exp_downward_test_data): Likewise.
1469         (exp_upward_test_data): Likewise.
1470         (exp10_test_data): Likewise.
1471         (exp2_test_data): Likewise.
1472         (expm1_test_data): Likewise.
1473         (fabs_test_data): Likewise.
1474         (fdim_test_data): Likewise.
1475         (finite_test_data): Likewise.
1476         (floor_test_data): Likewise.
1477         (fma_test_data): Likewise.
1478         (fma_towardzero_test_data): Likewise.
1479         (fma_downward_test_data): Likewise.
1480         (fma_upward_test_data): Likewise.
1481         (fmax_test_data): Likewise.
1482         (fmin_test_data): Likewise.
1483         (fmod_test_data): Likewise.
1484         (fpclassify_test_data): Likewise.
1485         (frexp_test_data): Likewise.
1486         (gamma_test_data): Likewise.
1487         (hypot_test_data): Likewise.
1488         (ilogb_test_data): Likewise.
1489         (isfinite_test_data): Likewise.
1490         (isgreater_test_data): Likewise.
1491         (isgreaterequal_test_data): Likewise.
1492         (isinf_test_data): Likewise.
1493         (isless_test_data): Likewise.
1494         (islessequal_test_data): Likewise.
1495         (islessgreater_test_data): Likewise.
1496         (isnan_test_data): Likewise.
1497         (isnormal_test_data): Likewise.
1498         (issignaling_test_data): Likewise.
1499         (isunordered_test_data): Likewise.
1500         (j0_test_data): Likewise.
1501         (j1_test_data): Likewise.
1502         (jn_test_data): Likewise.
1503         (ldexp_test_data): Likewise.
1504         (lgamma_test_data): Likewise.
1505         (lrint_test_data): Likewise.
1506         (lrint_tonearest_test_data): Likewise.
1507         (lrint_towardzero_test_data): Likewise.
1508         (lrint_downward_test_data): Likewise.
1509         (lrint_upward_test_data): Likewise.
1510         (llrint_test_data): Likewise.
1511         (llrint_tonearest_test_data): Likewise.
1512         (llrint_towardzero_test_data): Likewise.
1513         (llrint_downward_test_data): Likewise.
1514         (llrint_upward_test_data): Likewise.
1515         (log_test_data): Likewise.
1516         (log10_test_data): Likewise.
1517         (log1p_test_data): Likewise.
1518         (log2_test_data): Likewise.
1519         (logb_test_data): Likewise.
1520         (logb_downward_test_data): Likewise.
1521         (lround_test_data): Likewise.
1522         (llround_test_data): Likewise.
1523         (modf_test_data): Likewise.
1524         (nearbyint_test_data): Likewise.
1525         (nextafter_test_data): Likewise.
1526         (nexttoward_test_data): Likewise.
1527         (pow_test_data): Likewise.
1528         (pow_tonearest_test_data): Likewise.
1529         (pow_towardzero_test_data): Likewise.
1530         (pow_downward_test_data): Likewise.
1531         (pow_upward_test_data): Likewise.
1532         (remainder_test_data): Likewise.
1533         (remainder_tonearest_test_data): Likewise.
1534         (remainder_towardzero_test_data): Likewise.
1535         (remainder_downward_test_data): Likewise.
1536         (remainder_upward_test_data): Likewise.
1537         (remquo_test_data): Likewise.
1538         (rint_test_data): Likewise.
1539         (rint_tonearest_test_data): Likewise.
1540         (rint_towardzero_test_data): Likewise.
1541         (rint_downward_test_data): Likewise.
1542         (rint_upward_test_data): Likewise.
1543         (round_test_data): Likewise.
1544         (scalb_test_data): Likewise.
1545         (scalbn_test_data): Likewise.
1546         (scalbln_test_data): Likewise.
1547         (signbit_test_data): Likewise.
1548         (sin_test_data): Likewise.
1549         (sin_tonearest_test_data): Likewise.
1550         (sin_towardzero_test_data): Likewise.
1551         (sin_downward_test_data): Likewise.
1552         (sin_upward_test_data): Likewise.
1553         (sincos_test_data): Likewise.
1554         (sinh_test_data): Likewise.
1555         (sinh_tonearest_test_data): Likewise.
1556         (sinh_towardzero_test_data): Likewise.
1557         (sinh_downward_test_data): Likewise.
1558         (sinh_upward_test_data): Likewise.
1559         (sqrt_test_data): Likewise.
1560         (tan_test_data): Likewise.
1561         (tan_tonearest_test_data): Likewise.
1562         (tan_towardzero_test_data): Likewise.
1563         (tan_downward_test_data): Likewise.
1564         (tan_upward_test_data): Likewise.
1565         (tanh_test_data): Likewise.
1566         (tgamma_test_data): Likewise.
1567         (trunc_test_data): Likewise.
1568         (y0_test_data): Likewise.
1569         (y1_test_data): Likewise.
1570         (yn_test_data): Likewise.
1571         (significand_test_data): Likewise.
1573         * math/gen-libm-test.pl (@functions): Remove variable.
1574         (generate_testfile): Don't handle START and END lines.
1575         * math/libm-test.inc (START): New macro.
1576         (END): Likewise.
1577         (END_COMPLEX): Likewise.
1578         (acos_test): Use END macro without arguments.
1579         (acos_test_tonearest): Likewise.
1580         (acos_test_towardzero): Likewise.
1581         (acos_test_downward): Likewise.
1582         (acos_test_upward): Likewise.
1583         (acosh_test): Likewise.
1584         (asin_test): Likewise.
1585         (asin_test_tonearest): Likewise.
1586         (asin_test_towardzero): Likewise.
1587         (asin_test_downward): Likewise.
1588         (asin_test_upward): Likewise.
1589         (asinh_test): Likewise.
1590         (atan_test): Likewise.
1591         (atanh_test): Likewise.
1592         (atan2_test): Likewise.
1593         (cabs_test): Likewise.
1594         (cacos_test): Use END_COMPLEX macro without arguments.
1595         (cacosh_test): Likewise.
1596         (carg_test): Use END macro without arguments.
1597         (casin_test): Use END_COMPLEX macro without arguments.
1598         (casinh_test): Likewise.
1599         (catan_test): Likewise.
1600         (catanh_test): Likewise.
1601         (cbrt_test): Use END macro without arguments.
1602         (ccos_test): Use END_COMPLEX macro without arguments.
1603         (ccosh_test): Likewise.
1604         (ceil_test): Use END macro without arguments.
1605         (cexp_test): Use END_COMPLEX macro without arguments.
1606         (cimag_test): Use END macro without arguments.
1607         (clog_test): Use END_COMPLEX macro without arguments.
1608         (clog10_test): Likewise.
1609         (conj_test): Likewise.
1610         (copysign_test): Use END macro without arguments.
1611         (cos_test): Likewise.
1612         (cos_test_tonearest): Likewise.
1613         (cos_test_towardzero): Likewise.
1614         (cos_test_downward): Likewise.
1615         (cos_test_upward): Likewise.
1616         (cosh_test): Likewise.
1617         (cosh_test_tonearest): Likewise.
1618         (cosh_test_towardzero): Likewise.
1619         (cosh_test_downward): Likewise.
1620         (cosh_test_upward): Likewise.
1621         (cpow_test): Use END_COMPLEX macro without arguments.
1622         (cproj_test): Likewise.
1623         (creal_test): Use END macro without arguments.
1624         (csin_test): Use END_COMPLEX macro without arguments.
1625         (csinh_test): Likewise.
1626         (csqrt_test): Likewise.
1627         (ctan_test): Likewise.
1628         (ctan_test_tonearest): Likewise.
1629         (ctan_test_towardzero): Likewise.
1630         (ctan_test_downward): Likewise.
1631         (ctan_test_upward): Likewise.
1632         (ctanh_test): Likewise.
1633         (ctanh_test_tonearest): Likewise.
1634         (ctanh_test_towardzero): Likewise.
1635         (ctanh_test_downward): Likewise.
1636         (ctanh_test_upward): Likewise.
1637         (erf_test): Use END macro without arguments.
1638         (erfc_test): Likewise.
1639         (exp_test): Likewise.
1640         (exp_test_tonearest): Likewise.
1641         (exp_test_towardzero): Likewise.
1642         (exp_test_downward): Likewise.
1643         (exp_test_upward): Likewise.
1644         (exp10_test): Likewise.
1645         (exp2_test): Likewise.
1646         (expm1_test): Likewise.
1647         (fabs_test): Likewise.
1648         (fdim_test): Likewise.
1649         (finite_test): Likewise.
1650         (floor_test): Likewise.
1651         (fma_test): Likewise.
1652         (fma_test_towardzero): Likewise.
1653         (fma_test_downward): Likewise.
1654         (fma_test_upward): Likewise.
1655         (fmax_test): Likewise.
1656         (fmin_test): Likewise.
1657         (fmod_test): Likewise.
1658         (fpclassify_test): Likewise.
1659         (frexp_test): Likewise.
1660         (gamma_test): Likewise.
1661         (hypot_test): Likewise.
1662         (ilogb_test): Likewise.
1663         (isfinite_test): Likewise.
1664         (isgreater_test): Likewise.
1665         (isgreaterequal_test): Likewise.
1666         (isinf_test): Likewise.
1667         (isless_test): Likewise.
1668         (islessequal_test): Likewise.
1669         (islessgreater_test): Likewise.
1670         (isnan_test): Likewise.
1671         (isnormal_test): Likewise.
1672         (issignaling_test): Likewise.
1673         (isunordered_test): Likewise.
1674         (j0_test): Likewise.
1675         (j1_test): Likewise.
1676         (jn_test): Likewise.
1677         (ldexp_test): Likewise.
1678         (lgamma_test): Likewise.
1679         (lrint_test): Likewise.
1680         (lrint_test_tonearest): Likewise.
1681         (lrint_test_towardzero): Likewise.
1682         (lrint_test_downward): Likewise.
1683         (lrint_test_upward): Likewise.
1684         (llrint_test): Likewise.
1685         (llrint_test_tonearest): Likewise.
1686         (llrint_test_towardzero): Likewise.
1687         (llrint_test_downward): Likewise.
1688         (llrint_test_upward): Likewise.
1689         (log_test): Likewise.
1690         (log10_test): Likewise.
1691         (log1p_test): Likewise.
1692         (log2_test): Likewise.
1693         (logb_test): Likewise.
1694         (logb_test_downward): Likewise.
1695         (lround_test): Likewise.
1696         (llround_test): Likewise.
1697         (modf_test): Likewise.
1698         (nearbyint_test): Likewise.
1699         (nextafter_test): Likewise.
1700         (nexttoward_test): Likewise.
1701         (pow_test): Likewise.
1702         (pow_test_tonearest): Likewise.
1703         (pow_test_towardzero): Likewise.
1704         (pow_test_downward): Likewise.
1705         (pow_test_upward): Likewise.
1706         (remainder_test): Likewise.
1707         (remainder_test_tonearest): Likewise.
1708         (remainder_test_towardzero): Likewise.
1709         (remainder_test_downward): Likewise.
1710         (remainder_test_upward): Likewise.
1711         (remquo_test): Likewise.
1712         (rint_test): Likewise.
1713         (rint_test_tonearest): Likewise.
1714         (rint_test_towardzero): Likewise.
1715         (rint_test_downward): Likewise.
1716         (rint_test_upward): Likewise.
1717         (round_test): Likewise.
1718         (scalb_test): Likewise.
1719         (scalbn_test): Likewise.
1720         (scalbln_test): Likewise.
1721         (signbit_test): Likewise.
1722         (sin_test): Likewise.
1723         (sin_test_tonearest): Likewise.
1724         (sin_test_towardzero): Likewise.
1725         (sin_test_downward): Likewise.
1726         (sin_test_upward): Likewise.
1727         (sincos_test): Likewise.
1728         (sinh_test): Likewise.
1729         (sinh_test_tonearest): Likewise.
1730         (sinh_test_towardzero): Likewise.
1731         (sinh_test_downward): Likewise.
1732         (sinh_test_upward): Likewise.
1733         (sqrt_test): Likewise.
1734         (tan_test): Likewise.
1735         (tan_test_tonearest): Likewise.
1736         (tan_test_towardzero): Likewise.
1737         (tan_test_downward): Likewise.
1738         (tan_test_upward): Likewise.
1739         (tanh_test): Likewise.
1740         (tgamma_test): Likewise.
1741         (trunc_test): Likewise.
1742         (y0_test): Likewise.
1743         (y1_test): Likewise.
1744         (yn_test): Likewise.
1745         (significand_test): Likewise.
1747 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
1749         [BZ #15381]
1750         * libio/genops.c (_IO_no_init): Initialize wide struct info.
1752 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1754         [BZ #14894]
1755         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1756         __ppc_mdoio and __ppc_mdoom.
1757         * manual/platform.texi: Document new functions __ppc_yield,
1758         __ppc_mdoio and __ppc_mdoom.
1760 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
1762         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1763         (main): Mention "tls" pseudo-hwcap is legacy.
1764         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1766 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1768         * math/gen-libm-test.pl (parse_args): Output only string of
1769         arguments as text for test name, not full call or descriptions of
1770         tests for extra outputs.
1771         (generate_testfile): Do not pass function name to parse_args.
1772         Generate this_func variable from START.
1773         * math/libm-test.inc (struct test_f_f_data): Rename test_name
1774         field to arg_str.
1775         (struct test_ff_f_data): Likewise.
1776         (test_ff_f_data_nexttoward): Likewise.
1777         (struct test_fi_f_data): Likewise.
1778         (struct test_fl_f_data): Likewise.
1779         (struct test_if_f_data): Likewise.
1780         (struct test_fff_f_data): Likewise.
1781         (struct test_c_f_data): Likewise.
1782         (struct test_f_f1_data): Likewise.  Remove field extra_name.
1783         (struct test_fF_f1_data): Likewise.
1784         (struct test_ffI_f1_data): Likewise.
1785         (struct test_c_c_data): Rename test_name field to arg_str.
1786         (struct test_cc_c_data): Likewise.
1787         (struct test_f_i_data): Likewise.
1788         (struct test_ff_i_data): Likewise.
1789         (struct test_f_l_data): Likewise.
1790         (struct test_f_L_data): Likewise.
1791         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
1792         and extra2_name.
1793         (COMMON_TEST_SETUP): New macro.
1794         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1795         (COMMON_TEST_CLEANUP): Likewise.
1796         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1797         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
1798         macros.
1799         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1800         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
1801         macros.
1802         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1803         (RUN_TEST_fff_f): Take argument string.  Call new setup and
1804         cleanup macros.
1805         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1806         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
1807         macros.
1808         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1809         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
1810         macros.
1811         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1812         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
1813         cleanup macros.
1814         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1815         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
1816         cleanup macros.
1817         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1818         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
1819         cleanup macros.
1820         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1821         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
1822         macros.
1823         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1824         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
1825         macros.
1826         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1827         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
1828         macros.
1829         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1830         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
1831         cleanup macros.
1832         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1833         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
1834         cleanup macros.
1835         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1836         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
1837         macros.
1838         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1839         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
1840         cleanup macros.
1841         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1842         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
1843         macros.
1844         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1845         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
1846         macros.
1847         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1848         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
1849         cleanup macros.
1850         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1852 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1854         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1855         to _sifields.sigfault.
1856         (si_addr_lsb): Define new macro.
1857         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1858         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1859         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1861 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
1863         [BZ #15441]
1864         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1865         returns -1.
1866         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1867         null return -1.
1868         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1869         loading the domain.
1871 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1873         * math/gen-libm-test.pl (parse_args): Do not include expected
1874         result in test name.
1875         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1876         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1877         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1878         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1879         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1882 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1884         * benchtests/Makefile: Sort function entries.
1886         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1887         tanh, asinh, acosh, atanh.
1888         * benchtests/acos-inputs: New file.
1889         * benchtests/acosh-inputs: New file.
1890         * benchtests/asin-inputs: New file.
1891         * benchtests/asinh-inputs: New file.
1892         * benchtests/atanh-inputs: New file.
1893         * benchtests/cosh-inputs: New file.
1894         * benchtests/log-inputs: New file.
1895         * benchtests/sinh-inputs: New file.
1896         * benchtests/tanh-inputs: New file.
1898 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
1900         [BZ #15339]
1901         * posix/tst-getaddrinfo4.c: New test.
1902         * posix/Makefile (tests): Add it.
1904 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1906         [BZ #15339]
1907         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1908         when no services were used.
1909         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1910         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1912 2013-05-21  Andreas Schwab  <schwab@suse.de>
1914         [BZ #15014]
1915         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1916         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1917         successful.
1918         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1919         redundant variable declarations and reallocation of buffer when
1920         parsing as IPv6 address.  Always set NSS status when called from
1921         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
1922         buffer too small.  Correct computation of needed size.
1923         * nss/Makefile (tests): Add test-digits-dots.
1924         * nss/test-digits-dots.c: New test.
1926 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1928         * benchtests/Makefile: Remove instructions for adding
1929         benchmark tests.
1930         * benchtests/README: New file to explain how to execute and
1931         enhance the benchmark tests.
1933 2013-05-21  Andreas Schwab  <schwab@suse.de>
1935         [BZ #15493]
1936         * setjmp/Makefile (tests): Add tst-sigsetjmp.
1937         * setjmp/tst-sigsetjmp.c: New test.
1939 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1941         * sysdeps/x86_64/memset.S (memset): New implementation.
1942         (__bzero): Likewise.
1943         (__memset_tail): New function.
1945 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1947         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1948         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1949         __memcpy_sse2_unaligned ifunc selection.
1950         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1951         Add memcpy-sse2-unaligned.S.
1952         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1953         Add: __memcpy_sse2_unaligned.
1955 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
1957         [BZ #15490]
1958         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1959         math_force_eval before restoring floating-point envrionment.
1960         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1961         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1962         Likewise.
1963         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1964         <math_private.h>.
1965         (__nearbyintl): Use math_force_eval before restoring
1966         floating-point environment.
1967         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1969         * math/gen-libm-test.pl (special_functions): Remove.
1970         (parse_args): Don't handle TEST_extra.  Handle functions with no
1971         return value.
1972         * math/libm-test.inc (struct test_sincos_data): Replace with
1973         struct test_fFF_11_data.
1974         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1975         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1976         (sincos_test_data): Change element type to struct
1977         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
1978         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1979         RUN_TEST_LOOP_sincos.
1980         * math/README.libm-test: Don't mention special handling of
1981         individual functions.
1982         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1983         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1984         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1985         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1986         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1989         * math/gen-libm-test.pl (get_variable): Remove function.
1990         (parse_args): Don't show pointer parameters to call in test
1991         names.  Use "extra output N" in test names for extra outputs
1992         rather than naming variables.
1994 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
1996         [BZ #15488]
1997         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1998         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1999         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2000         double tests.
2001         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2002         disable.
2003         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2004         check_long_double.
2006         * math/gen-libm-test.pl (@tests): Remove variable.
2007         ($count): Likewise.
2008         (new_test): Remove function.
2009         (show_exceptions): New function.
2010         (special_functions): Use show_exceptions instead of new_test.
2011         (parse_args): Likewise.
2012         (generate_testfile): Pass only function name in generated call to
2013         print_max_error or print_complex_max_error.
2014         (get_ulps): Do not handle complex tests specially.
2015         (output_test): Rename to ...
2016         (get_all_ulps_for_test): ... this.  Return a string rather than
2017         printing to a file.  Require ulps to be present.
2018         (output_ulps): Generate arrays rather than #defines.
2019         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2020         (struct ulp_data): New type.
2021         (BUILD_COMPLEX_ULP): Remove macro.
2022         (compare_ulp_data): New function.
2023         (find_ulps): Likewise.
2024         (find_test_ulps): Likewise.
2025         (find_function_ulps): Likewise.
2026         (find_complex_function_ulps): Likewise.
2027         (print_max_error): Determine allowed ulps using
2028         find_function_ulps.
2029         (print_complex_max_error): Determine allowed ulps using
2030         find_complex_function_ulps.
2031         (check_float_internal): Determine max ulps using find_test_ulps.
2032         (check_float): Do not take max_ulp parameter.  Update call to
2033         check_float_internal.
2034         (check_complex): Likewise.
2035         (check_int): Do not take max_ulp parameter.
2036         (check_long): Likewise.
2037         (check_bool): Likewise.
2038         (check_longlong): Likewise.
2039         (struct test_f_f_data): Remove max_ulp field.
2040         (struct test_ff_f_data): Likewise.
2041         (struct test_ff_f_data_nexttoward): Likewise.
2042         (struct test_fi_f_data): Likewise.
2043         (struct test_fl_f_data): Likewise.
2044         (struct test_if_f_data): Likewise.
2045         (struct test_fff_f_data): Likewise.
2046         (struct test_c_f_data): Likewise.
2047         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2048         (struct test_fF_f1_data): Likewise.
2049         (struct test_ffI_f1_data): Likewise.
2050         (struct test_c_c_data): Remove max_ulp field.
2051         (struct test_cc_c_data): Likewise.
2052         (struct test_f_i_data): Likewise.
2053         (struct test_ff_i_data): Likewise.
2054         (struct test_f_l_data): Likewise.
2055         (struct test_f_L_data): Likewise.
2056         (struct test_sincos_data): Likewise.
2057         (RUN_TEST_f_f): Do not handle ulps.
2058         (RUN_TEST_LOOP_f_f): Likewise.
2059         (RUN_TEST_2_f): Likewise.
2060         (RUN_TEST_LOOP_2_f): Likewise.
2061         (RUN_TEST_fff_f): Likewise.
2062         (RUN_TEST_LOOP_fff_f): Likewise.
2063         (RUN_TEST_c_f): Likewise.
2064         (RUN_TEST_LOOP_c_f): Likewise.
2065         (RUN_TEST_f_f1): Likewise.
2066         (RUN_TEST_LOOP_f_f1): Likewise.
2067         (RUN_TEST_fF_f1): Likewise.
2068         (RUN_TEST_LOOP_fF_f1): Likewise.
2069         (RUN_TEST_fI_f1): Likewise.
2070         (RUN_TEST_LOOP_fI_f1): Likewise.
2071         (RUN_TEST_ffI_f1): Likewise.
2072         (RUN_TEST_LOOP_ffI_f1): Likewise.
2073         (RUN_TEST_c_c): Likewise.
2074         (RUN_TEST_LOOP_c_c): Likewise.
2075         (RUN_TEST_cc_c): Likewise.
2076         (RUN_TEST_LOOP_cc_c): Likewise.
2077         (RUN_TEST_f_i): Likewise.
2078         (RUN_TEST_LOOP_f_i): Likewise.
2079         (RUN_TEST_f_i_tg): Likewise.
2080         (RUN_TEST_LOOP_f_i_tg): Likewise.
2081         (RUN_TEST_ff_i_tg): Likewise.
2082         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2083         (RUN_TEST_f_b): Likewise.
2084         (RUN_TEST_LOOP_f_b): Likewise.
2085         (RUN_TEST_f_b_tg): Likewise.
2086         (RUN_TEST_LOOP_f_b_tg): Likewise.
2087         (RUN_TEST_f_l): Likewise.
2088         (RUN_TEST_LOOP_f_l): Likewise.
2089         (RUN_TEST_f_L): Likewise.
2090         (RUN_TEST_LOOP_f_L): Likewise.
2091         (RUN_TEST_sincos): Likewise.
2092         (RUN_TEST_LOOP_sincos): Likewise.
2094 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
2096         [BZ #15480]
2097         [BZ #15485]
2098         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2099         main case of finite arguments, set rounding mode to FE_TONEAREST
2100         and discard exceptions.
2101         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2102         exceptions.
2103         (remainder_tonearest_test_data): New variable.
2104         (remainder_test_tonearest): New function.
2105         (remainder_towardzero_test_data): New variable.
2106         (remainder_test_towardzero): New function.
2107         (remainder_downward_test_data): New variable.
2108         (remainder_test_downward): New function.
2109         (remainder_upward_test_data): New variable.
2110         (remainder_test_upward): New function.
2111         (main): Call the new test functions.
2113         * math/libm-test.inc (struct test_f_f1_data): Remove field
2114         extra_init.
2115         (struct test_fF_f1_data): Likewise.
2116         (struct test_ffI_f1_data): Likewise.
2117         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
2118         based on value of EXTRA_EXPECTED.
2119         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2120         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
2121         EXTRA_VAR based on value of EXTRA_EXPECTED.
2122         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2123         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
2124         EXTRA_VAR based on value of EXTRA_EXPECTED.
2125         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2126         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
2127         EXTRA_VAR based on value of EXTRA_EXPECTED.
2128         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2129         * math/gen-libm-test.pl (parse_args): Don't output initializers
2130         for extra output values.
2132         * math/libm-test.inc (check_int): Expect result to be exactly
2133         equal to expected value and do not handle ulps.
2134         (check_long): Likewise.
2135         (check_longlong): Likewise.
2137         * math/libm-test.inc (ceil_test_data): Test for "inexact"
2138         exceptions.
2139         (cimag_test_data): Likewise.
2140         (conj_test_data): Likewise.
2141         (copysign_test_data): Likewise.
2142         (cproj_test_data): Likewise.
2143         (creal_test_data): Likewise.
2144         (fabs_test_data): Likewise.
2145         (fdim_test_data): Likewise.
2146         (finite_test_data): Likewise.
2147         (floor_test_data): Likewise.
2148         (fmax_test_data): Likewise.
2149         (fmin_test_data): Likewise.
2150         (fmod_test_data): Likewise.
2151         (fpclassify_test_data): Likewise.
2152         (frexp_test_data): Likewise.
2153         (ilogb_test_data): Likewise.
2154         (isfinite_test_data): Likewise.
2155         (isgreater_test_data): Likewise.
2156         (isgreaterequal_test_data): Likewise.
2157         (isinf_test_data): Likewise.
2158         (isless_test_data): Likewise.
2159         (islessequal_test_data): Likewise.
2160         (islessgreater_test_data): Likewise.
2161         (isnan_test_data): Likewise.
2162         (isnormal_test_data): Likewise.
2163         (issignaling_test_data): Likewise.
2164         (isunordered_test_data): Likewise.
2165         (ldexp_test_data): Likewise.
2166         (lrint_test_data): Likewise.
2167         (lrint_test_data) [TEST_FLOAT]: Disable one test.
2168         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2169         (lrint_tonearest_test_data): Test for "inexact" exceptions.
2170         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2171         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2172         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2173         test input.
2174         (lrint_towardzero_test_data): Test for "inexact" exceptions.
2175         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2176         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2177         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2178         that test input.
2179         (lrint_downward_test_data): Test for "inexact" exceptions.
2180         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2181         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2182         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2183         test input.
2184         (lrint_upward_test_data): Test for "inexact" exceptions.
2185         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2186         test input.
2187         (llrint_test_data): Test for "inexact" exceptions.
2188         (llrint_test_data) [TEST_FLOAT]: Disable one test.
2189         (llrint_tonearest_test_data): Test for "inexact" exceptions.
2190         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2191         (llrint_towardzero_test_data): Test for "inexact" exceptions.
2192         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2193         (llrint_downward_test_data): Test for "inexact" exceptions.
2194         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2195         (llrint_upward_test_data): Test for "inexact" exceptions.
2196         (logb_test_data): Likewise.
2197         (logb_downward_test_data): Likewise.
2198         (nextafter_test_data): Likewise.
2199         (nexttoward_test_data): Likewise.
2200         (remainder_test_data): Likewise.
2201         (remquo_test_data): Likewise.
2202         (scalbn_test_data): Likewise.
2203         (scalbln_test_data): Likewise.
2204         (signbit_test_data): Likewise.
2205         (sqrt_test_data): Likewise.
2206         (significand_test_data): Likewise.
2208 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2210         [BZ #15424]
2211         * benchtests/bench-modf.c (struct args): Mark arg0 as
2212         volatile.
2213         * scripts/bench.pl: Mark members of struct args as volatile.
2215 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2217         [BZ # 15497]
2218         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2219         negative infinity on POWER6 or lower.
2220         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2222 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2224         [BZ #15442]
2225         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2226         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2227         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2228         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2229         (_FP_SETQNAN): New macro.
2230         (_FP_SETQNAN_SEMIRAW): Likewise.
2231         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2232         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2233         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2234         (FP_EXTEND): Use _FP_FRAC_SNANP.
2235         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2236         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2237         into account.
2238         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2239         New macro.
2240         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2241         Likewise.
2243 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2245         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2246         with DIVIDE_BY_ZERO_EXCEPTION.
2247         (gamma_test_data): Likewise.
2248         (lgamma_test_data): Likewise.
2249         (log_test_data): Likewise.
2250         (log10_test_data): Likewise.
2251         (log2_test_data): Likewise.
2252         (tgamma_test_data): Likewise.
2254         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2255         (acos_test_tonearest): Likewise.
2256         (acos_test_towardzero): Likewise.
2257         (acos_test_downward): Likewise.
2258         (acos_test_upward): Likewise.
2259         (acosh_test): Likewise.
2260         (asin_test): Likewise.
2261         (asin_test_tonearest): Likewise.
2262         (asin_test_towardzero): Likewise.
2263         (asin_test_downward): Likewise.
2264         (asin_test_upward): Likewise.
2265         (asinh_test): Likewise.
2266         (atan_test): Likewise.
2267         (atanh_test): Likewise.
2268         (atan2_test): Likewise.
2269         (cabs_test): Likewise.
2270         (cacos_test): Likewise.
2271         (cacosh_test): Likewise.
2272         (casin_test): Likewise.
2273         (casinh_test): Likewise.
2274         (catan_test): Likewise.
2275         (catanh_test): Likewise.
2276         (cbrt_test): Likewise.
2277         (ccos_test): Likewise.
2278         (ccosh_test): Likewise.
2279         (cexp_test): Likewise.
2280         (clog_test): Likewise.
2281         (clog10_test): Likewise.
2282         (cos_test): Likewise.
2283         (cos_test_tonearest): Likewise.
2284         (cos_test_towardzero): Likewise.
2285         (cos_test_downward): Likewise.
2286         (cos_test_upward): Likewise.
2287         (cosh_test): Likewise.
2288         (cosh_test_tonearest): Likewise.
2289         (cosh_test_towardzero): Likewise.
2290         (cosh_test_downward): Likewise.
2291         (cosh_test_upward): Likewise.
2292         (cpow_test): Likewise.
2293         (csin_test): Likewise.
2294         (csinh_test): Likewise.
2295         (csqrt_test): Likewise.
2296         (ctan_test): Likewise.
2297         (ctan_test_tonearest): Likewise.
2298         (ctan_test_towardzero): Likewise.
2299         (ctan_test_downward): Likewise.
2300         (ctan_test_upward): Likewise.
2301         (ctanh_test): Likewise.
2302         (ctanh_test_tonearest): Likewise.
2303         (ctanh_test_towardzero): Likewise.
2304         (ctanh_test_downward): Likewise.
2305         (ctanh_test_upward): Likewise.
2306         (erf_test): Likewise.
2307         (erfc_test): Likewise.
2308         (exp_test): Likewise.
2309         (exp_test_tonearest): Likewise.
2310         (exp_test_towardzero): Likewise.
2311         (exp_test_downward): Likewise.
2312         (exp_test_upward): Likewise.
2313         (exp10_test): Likewise.
2314         (exp2_test): Likewise.
2315         (expm1_test): Likewise.
2316         (fmod_test): Likewise.
2317         (gamma_test): Likewise.
2318         (hypot_test): Likewise.
2319         (j0_test): Likewise.
2320         (j1_test): Likewise.
2321         (jn_test): Likewise.
2322         (lgamma_test): Likewise.
2323         (log_test): Likewise.
2324         (log10_test): Likewise.
2325         (log1p_test): Likewise.
2326         (log2_test): Likewise.
2327         (logb_test_downward): Likewise.
2328         (pow_test): Likewise.
2329         (pow_test_tonearest): Likewise.
2330         (pow_test_towardzero): Likewise.
2331         (pow_test_downward): Likewise.
2332         (pow_test_upward): Likewise.
2333         (remainder_test): Likewise.
2334         (remquo_test): Likewise.
2335         (sin_test): Likewise.
2336         (sin_test_tonearest): Likewise.
2337         (sin_test_towardzero): Likewise.
2338         (sin_test_downward): Likewise.
2339         (sin_test_upward): Likewise.
2340         (sincos_test): Likewise.
2341         (sinh_test): Likewise.
2342         (sinh_test_tonearest): Likewise.
2343         (sinh_test_towardzero): Likewise.
2344         (sinh_test_downward): Likewise.
2345         (sinh_test_upward): Likewise.
2346         (sqrt_test): Likewise.
2347         (tan_test): Likewise.
2348         (tan_test_tonearest): Likewise.
2349         (tan_test_towardzero): Likewise.
2350         (tan_test_downward): Likewise.
2351         (tan_test_upward): Likewise.
2352         (tanh_test): Likewise.
2353         (tgamma_test): Likewise.
2354         (y0_test): Likewise.
2355         (y1_test): Likewise.
2356         (yn_test): Likewise.
2358         * math/gen-libm-test.pl (adjust_arg): Remove function.
2359         (special_function): Remove argument $in_func.  Only handle
2360         generating output for tables of tests, not inside functions.
2361         (parse_args): Likewise.
2362         (generate_testfile): Remove variable $in_func.  Update call to
2363         parse_args.
2364         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2365         (MINUS_ZERO_INIT): Rename macro to minus_zero.
2366         (PLUS_INFTY_INIT): Rename macro to plus_infty.
2367         (MINUS_INFTY_INIT): Rename macro to minus_infty.
2368         (QNAN_VALUE_INIT): Rename macro to qnan_value.
2369         (MAX_VALUE_INIT): Rename macro to max_value.
2370         (MIN_VALUE_INIT): Rename macro to min_value.
2371         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2372         (plus_zero): Remove variable.
2373         (minus_zero): Likewise.
2374         (plus_infty): Likewise.
2375         (minus_infty): Likewise.
2376         (qnan_value): Likewise.
2377         (max_value): Likewise.
2378         (min_value): Likewise.
2379         (min_subnorm_value): Likewise.
2381 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2383         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2384         uint64_t or uint32_t usage.
2385         * crypt/sha256-block.c: Likewise.
2386         * crypt/sha256-crypt.c: Likewise.
2387         * crypt/sha256.c: Likewise.
2388         * crypt/sha512-block.c: Likewise.
2389         * crypt/sha512-crypt.c: Likewise.
2390         * crypt/sha512.c: Likewise.
2391         * debug/backtrace-tst.c: Likewise.
2392         * debug/pcprofiledump.c: Likewise.
2393         * elf/cache.c: Likewise.
2394         * elf/dl-cache.c: Likewise.
2395         * elf/dl-misc.c: Likewise.
2396         * elf/dl-profile.c: Likewise.
2397         * elf/dl-support.c: Likewise.
2398         * elf/ldconfig.c: Likewise.
2399         * elf/sprof.c: Likewise.
2400         * iconv/dummy-repertoire.c: Likewise.
2401         * iconv/iconv_charmap.c: Likewise.
2402         * iconv/skeleton.c: Likewise.
2403         * iconvdata/8bit-generic.c: Likewise.
2404         * iconvdata/cp737.h: Likewise.
2405         * iconvdata/cp775.h: Likewise.
2406         * iconvdata/ibm1008.h: Likewise.
2407         * iconvdata/ibm1025.h: Likewise.
2408         * iconvdata/ibm1046.h: Likewise.
2409         * iconvdata/ibm1097.h: Likewise.
2410         * iconvdata/ibm1112.h: Likewise.
2411         * iconvdata/ibm1122.h: Likewise.
2412         * iconvdata/ibm1123.h: Likewise.
2413         * iconvdata/ibm1124.h: Likewise.
2414         * iconvdata/ibm1129.h: Likewise.
2415         * iconvdata/ibm1130.h: Likewise.
2416         * iconvdata/ibm1132.h: Likewise.
2417         * iconvdata/ibm1133.h: Likewise.
2418         * iconvdata/ibm1137.h: Likewise.
2419         * iconvdata/ibm1140.h: Likewise.
2420         * iconvdata/ibm1141.h: Likewise.
2421         * iconvdata/ibm1142.h: Likewise.
2422         * iconvdata/ibm1143.h: Likewise.
2423         * iconvdata/ibm1144.h: Likewise.
2424         * iconvdata/ibm1145.h: Likewise.
2425         * iconvdata/ibm1146.h: Likewise.
2426         * iconvdata/ibm1147.h: Likewise.
2427         * iconvdata/ibm1148.h: Likewise.
2428         * iconvdata/ibm1149.h: Likewise.
2429         * iconvdata/ibm1153.h: Likewise.
2430         * iconvdata/ibm1154.h: Likewise.
2431         * iconvdata/ibm1155.h: Likewise.
2432         * iconvdata/ibm1156.h: Likewise.
2433         * iconvdata/ibm1157.h: Likewise.
2434         * iconvdata/ibm1158.h: Likewise.
2435         * iconvdata/ibm1160.h: Likewise.
2436         * iconvdata/ibm1161.h: Likewise.
2437         * iconvdata/ibm1162.h: Likewise.
2438         * iconvdata/ibm1163.h: Likewise.
2439         * iconvdata/ibm1164.h: Likewise.
2440         * iconvdata/ibm1166.h: Likewise.
2441         * iconvdata/ibm1167.h: Likewise.
2442         * iconvdata/ibm12712.h: Likewise.
2443         * iconvdata/ibm1390.h: Likewise.
2444         * iconvdata/ibm1399.h: Likewise.
2445         * iconvdata/ibm16804.h: Likewise.
2446         * iconvdata/ibm4517.h: Likewise.
2447         * iconvdata/ibm4899.h: Likewise.
2448         * iconvdata/ibm4909.h: Likewise.
2449         * iconvdata/ibm4971.h: Likewise.
2450         * iconvdata/ibm5347.h: Likewise.
2451         * iconvdata/ibm803.h: Likewise.
2452         * iconvdata/ibm856.h: Likewise.
2453         * iconvdata/ibm901.h: Likewise.
2454         * iconvdata/ibm902.h: Likewise.
2455         * iconvdata/ibm9030.h: Likewise.
2456         * iconvdata/ibm9066.h: Likewise.
2457         * iconvdata/ibm921.h: Likewise.
2458         * iconvdata/ibm922.h: Likewise.
2459         * iconvdata/ibm9448.h: Likewise.
2460         * iconvdata/isiri-3342.h: Likewise.
2461         * iconvdata/jis0201.h: Likewise.
2462         * include/link.h: Likewise.
2463         * include/netdb.h: Likewise.
2464         * inet/check_native.c: Likewise.
2465         * inet/check_pf.c: Likewise.
2466         * inet/getipv4sourcefilter.c: Likewise.
2467         * inet/getnameinfo.c: Likewise.
2468         * inet/getsourcefilter.c: Likewise.
2469         * inet/htonl.c: Likewise.
2470         * inet/setipv4sourcefilter.c: Likewise.
2471         * inet/setsourcefilter.c: Likewise.
2472         * inet/test-inet6_opt.c: Likewise.
2473         * inet/tst-network.c: Likewise.
2474         * locale/C-collate.c: Likewise.
2475         * locale/C-ctype.c: Likewise.
2476         * locale/C-time.c: Likewise.
2477         * locale/C-translit.h: Likewise.
2478         * locale/loadarchive.c: Likewise.
2479         * locale/programs/3level.h: Likewise.
2480         * locale/programs/charmap.c: Likewise.
2481         * locale/programs/charmap.h: Likewise.
2482         * locale/programs/ld-address.c: Likewise.
2483         * locale/programs/ld-collate.c: Likewise.
2484         * locale/programs/ld-ctype.c: Likewise.
2485         * locale/programs/ld-identification.c: Likewise.
2486         * locale/programs/ld-measurement.c: Likewise.
2487         * locale/programs/ld-messages.c: Likewise.
2488         * locale/programs/ld-monetary.c: Likewise.
2489         * locale/programs/ld-name.c: Likewise.
2490         * locale/programs/ld-numeric.c: Likewise.
2491         * locale/programs/ld-paper.c: Likewise.
2492         * locale/programs/ld-telephone.c: Likewise.
2493         * locale/programs/ld-time.c: Likewise.
2494         * locale/programs/linereader.c: Likewise.
2495         * locale/programs/locale.c: Likewise.
2496         * locale/programs/locarchive.c: Likewise.
2497         * locale/programs/locfile.h: Likewise.
2498         * locale/programs/repertoire.c: Likewise.
2499         * locale/programs/simple-hash.c: Likewise.
2500         * locale/programs/simple-hash.h: Likewise.
2501         * malloc/memusage.c: Likewise.
2502         * malloc/memusagestat.c: Likewise.
2503         * nis/nis_defaults.c: Likewise.
2504         * nis/nis_hash.c: Likewise.
2505         * nis/nis_print.c: Likewise.
2506         * nis/nis_xdr.c: Likewise.
2507         * nscd/connections.c: Likewise.
2508         * nscd/hstcache.c: Likewise.
2509         * nscd/nscd_gethst_r.c: Likewise.
2510         * nscd/nscd_getserv_r.c: Likewise.
2511         * nscd/nscd_helper.c: Likewise.
2512         * nscd/servicescache.c: Likewise.
2513         * nss/makedb.c: Likewise.
2514         * nss/nss_db/db-XXX.c: Likewise.
2515         * nss/nss_db/db-initgroups.c: Likewise.
2516         * nss/nss_db/db-netgrp.c: Likewise.
2517         * nss/nss_files/files-network.c: Likewise.
2518         * nss/nss_files/files-parse.c: Likewise.
2519         * posix/bug-regex5.c: Likewise.
2520         * posix/fnmatch_loop.c: Likewise.
2521         * posix/regcomp.c: Likewise.
2522         * posix/regexec.c: Likewise.
2523         * posix/tst-rfc3484-2.c: Likewise.
2524         * posix/tst-rfc3484-3.c: Likewise.
2525         * posix/tst-rfc3484.c: Likewise.
2526         * resolv/nss_dns/dns-canon.c: Likewise.
2527         * resolv/nss_dns/dns-network.c: Likewise.
2528         * resolv/res_init.c: Likewise.
2529         * resolv/res_mkquery.c: Likewise.
2530         * resolv/tst-aton.c: Likewise.
2531         * stdlib/cxa_atexit.c: Likewise.
2532         * stdlib/cxa_finalize.c: Likewise.
2533         * stdlib/gen-fpioconst.c: Likewise.
2534         * stdlib/strtol_l.c: Likewise.
2535         * string/tst-endian.c: Likewise.
2536         * sunrpc/auth_des.c: Likewise.
2537         * sunrpc/clnt_udp.c: Likewise.
2538         * sunrpc/rtime.c: Likewise.
2539         * sunrpc/svcauth_des.c: Likewise.
2540         * sunrpc/xdr.c: Likewise.
2541         * sunrpc/xdr_intXX_t.c: Likewise.
2542         * sunrpc/xdr_rec.c: Likewise.
2543         * sysdeps/generic/ldconfig.h: Likewise.
2544         * sysdeps/generic/ldsodefs.h: Likewise.
2545         * sysdeps/generic/memusage.h: Likewise.
2546         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2547         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2548         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2549         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2550         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2551         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2552         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2553         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2554         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2555         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2556         * sysdeps/posix/getaddrinfo.c: Likewise.
2557         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2558         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2559         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2560         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2561         * sysdeps/powerpc/test-gettimebase.c: Likewise.
2562         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2563         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2564         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2565         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2566         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2567         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2568         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2569         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2570         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2571         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2572         * sysdeps/x86_64/dl-tls.h: Likewise.
2573         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2574         * time/alt_digit.c: Likewise.
2575         * time/era.c: Likewise.
2576         * wcsmbs/tst-c16c32-1.c: Likewise.
2578 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2580         * math/libm-test.inc (struct test_sincos_data): New type.
2581         (RUN_TEST_LOOP_sincos): New macro.
2582         (sincos_test_data): New variable.
2583         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2585 2013-05-16  Richard Henderson  <rth@redhat.com>
2587         * math/atest-exp2.c (LIMB64): New macro.
2588         (CONSTSZ): New macro.
2589         (mp_exp1, mp_exp_m1, mp_log2): New variables.
2590         (hexdig): Move ...
2591         (print_mpn_fp): ... to function scope.
2592         (read_mpn_hex): Remove.
2593         (get_log2): Remove.
2594         (exp2_mpn): Use mp_log2.
2595         (main): Use mp_exp1.
2597 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2599         * math/libm-test.inc: Remove comment about not testing "inexact"
2600         exceptions.
2601         (INEXACT_EXCEPTION): New macro.
2602         (NO_INEXACT_EXCEPTION): Likewise.
2603         (INVALID_EXCEPTION_OK): Update value.
2604         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2605         (OVERFLOW_EXCEPTION_OK): Likewise.
2606         (UNDERFLOW_EXCEPTION_OK): Likewise.
2607         (IGNORE_ZERO_INF_SIGN): Likewise.
2608         (ERRNO_UNCHANGED): Likewise.
2609         (ERRNO_EDOM): Likewise.
2610         (ERRNO_ERANGE): Likewise.
2611         (test_exceptions): Handle testing "inexact" exceptions.
2612         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2613         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2614         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2615         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2616         INEXACT_EXCEPTION.
2617         (rint_towardzero_test_data): Likewise.
2618         (rint_downward_test_data): Likewise.
2619         (rint_upward_test_data): Likewise.
2621         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2622         with OVERFLOW_EXCEPTION.
2623         (exp10_test_data): Likewise.
2624         (exp2_test_data): Likewise.
2625         (expm1_test_data): Likewise.
2626         (lgamma_test_data): Likewise.
2627         (pow_test_data): Likewise.
2628         (tgamma_test_data): Likewise.
2629         (yn_test_data): Remove duplicate test of overflow.
2631         * math/libm-test.inc (struct test_cc_c_data): New type.
2632         (RUN_TEST_LOOP_cc_c): New macro.
2633         (cpow_test_data): New variable.
2634         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2636         * math/libm-test.inc (struct test_f_L_data): New type.
2637         (RUN_TEST_LOOP_f_L): New macro.
2638         (llrint_test_data): New variable.
2639         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2640         (llrint_tonearest_test_data): New variable.
2641         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2642         (llrint_towardzero_test_data): New variable.
2643         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2644         (llrint_downward_test_data): New variable.
2645         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2646         (llrint_upward_test_data): New variable.
2647         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2648         (llround_test_data): New variable.
2649         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2651 2013-05-13  Peter Collingbourne  <pcc@google.com>
2653         * math/atest-exp2.c (get_log2): Remove const attribute.
2655 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2657         * math/libm-test.inc (struct test_f_l_data): New type.
2658         (RUN_TEST_LOOP_f_l): New macro.
2659         (lrint_test_data): New variable.
2660         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2661         (lrint_tonearest_test_data): New variable.
2662         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2663         (lrint_towardzero_test_data): New variable.
2664         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2665         (lrint_downward_test_data): New variable.
2666         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2667         (lrint_upward_test_data): New variable.
2668         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2669         (lround_test_data): New variable.
2670         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2672 2013-05-15  Peter Collingbourne  <pcc@google.com>
2674         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2675         (EXTRACT_WORDS64) Use where appropriate.
2676         (INSERT_WORDS64) Likewise.
2678         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2679         constraints with x constraints.
2680         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2682         * malloc/obstack.c (_obstack_compat): Add initializer.
2684 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2686         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2687         si_trapno and add si_addr_lsb to _sifields.sigfault.
2688         (si_trapno): Remove macro.
2689         (si_addr_lsb): Define new macro.
2690         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2692 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2694         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2695         instead of TEST_f_l.
2696         (llrint_test_tonearest): Likewise.
2697         (llrint_test_towardzero): Likewise.
2698         (llrint_test_downward): Likewise.
2699         (llrint_test_upward): Likewise.
2700         (llround_test): Likewise.
2702         * math/libm-test.inc (struct test_f_i_data): Add comment.
2703         (RUN_TEST_LOOP_f_b): New macro.
2704         (RUN_TEST_LOOP_f_b_tg): Likewise.
2705         (finite_test_data): New variable.
2706         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2707         (isfinite_test_data): New variable.
2708         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2709         (isinf_test_data): New variable.
2710         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2711         (isnan_test_data): New variable.
2712         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2713         (isnormal_test_data): New variable.
2714         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2715         (issignaling_test_data): New variable.
2716         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2717         (signbit_test_data): New variable.
2718         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2720         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2721         with INVALID_EXCEPTION.
2722         (acosh_test_data): Likewise.
2723         (asin_test_data): Likewise.
2724         (atanh_test_data): Likewise.
2725         (fmod_test_data): Likewise.
2726         (log_test_data): Likewise.
2727         (log10_test_data): Likewise.
2728         (log2_test_data): Likewise.
2729         (pow_test_data): Likewise.
2730         (sqrt_test_data): Likewise.
2731         (y0_test_data): Likewise.
2732         (y1_test_data): Likewise.
2733         (yn_test_data): Likewise.
2735         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2736         function contents.
2738         * math/libm-test.inc (struct test_ff_i_data): New type.
2739         (RUN_TEST_LOOP_ff_i_tg): New macro.
2740         (isgreater_test_data): New variable.
2741         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2742         (isgreaterequal_test_data): New variable.
2743         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2744         (isless_test_data): New variable.
2745         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2746         (islessequal_test_data): New variable.
2747         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2748         (islessgreater_test_data): New variable.
2749         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2750         (isunordered_test_data): New variable.
2751         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2753 2013-05-14  David S. Miller  <davem@davemloft.net>
2755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2757 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
2759         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2761         * math/libm-test.inc (struct test_fF_f1_data): Change type of
2762         extra_test to int.
2763         (struct test_f_i_data): Change type of max_ulp to int.
2765         * math/libm-test.inc (test_ffI_f1_data): New type.
2766         (RUN_TEST_LOOP_ffI_f1): New macro.
2767         (remquo_test_data): New variable.
2768         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2770         * setjmp/tst-setjmp-fp.c: New file.
2771         * setjmp/Makefile (tests): Add tst-setjmp-fp.
2772         (link-libm): New variable.
2773         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2775         * math/libm-test.inc (struct test_f_i_data): New type.
2776         (RUN_TEST_LOOP_f_i): New macro.
2777         (RUN_TEST_LOOP_f_i_tg): Likewise.
2778         (fpclassify_test_data): New variable.
2779         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2780         (ilogb_test_data): New variable.
2781         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2783         * math/libm-test.inc (scalbln_test): Correct function name in END
2784         call.
2786         * math/libm-test.inc (struct test_f_f1_data): Add comment.
2787         (RUN_TEST_LOOP_fI_f1): New macro.
2788         (frexp_test_data): New variable.
2789         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2791         * math/libm-test.inc (struct test_fF_f1_data): New type.
2792         (RUN_TEST_LOOP_fF_f1): New macro.
2793         (modf_test_data): New variable.
2794         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2796         * math/libm-test.inc (struct test_f_f1_data): New type.
2797         (RUN_TEST_LOOP_f_f1): New macro.
2798         (gamma_test_data): New variable.
2799         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2800         (lgamma_test_data): New variable.
2801         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2803 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
2805         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2806         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2807         (main): Comment "tls" pseudo-hwcap.
2809 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
2811         * math/libm-test.inc (struct test_fl_f_data): New type.
2812         (RUN_TEST_LOOP_fl_f): New variable.
2813         (scalbln_test_data): New variable.
2814         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2816         * math/libm-test.inc (struct test_fi_f_data): New type.
2817         (RUN_TEST_LOOP_fi_f): New macro.
2818         (ldexp_test_data): New variable.
2819         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2820         (scalbn_test_data): New variable.
2821         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2823         * math/libm-test.inc (struct test_c_f_data): New type.
2824         (RUN_TEST_LOOP_c_f): New macro.
2825         (cabs_test_data): New variable.
2826         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2827         (carg_test_data): New variable.
2828         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2829         (cimag_test_data): New variable.
2830         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2831         (creal_test_data): New variable.
2832         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2834         * math/libm-test.inc (struct test_if_f_data): New type.
2835         (RUN_TEST_LOOP_if_f): New macro.
2836         (jn_test_data): New variable.
2837         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2838         (yn_test_data): New variable.
2839         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2841         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2843 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2845         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2846         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2848 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2850         * benchtests/Makefile (CPPFLAGS-nonlib): Add
2851         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2852         (bench-deps): Add bench-timing.h.
2853         * benchtests-bench-skeleton.c: Include bench-timing.h.
2854         (main): Use TIMING_* macros instead of clock_gettime.
2855         * benchtests/bench-timing.h: New file.
2857         [BZ #14582]
2858         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2859         Renamed from _LIB_VERSION.
2860         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2862 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
2864         * math/libm-test.inc (struct test_fff_f_data): New type.
2865         (RUN_TEST_LOOP_fff_f): New macro.
2866         (fma_test_data): New variable.
2867         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2868         (fma_towardzero_test_data): New variable.
2869         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2870         (fma_downward_test_data): New variable.
2871         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2872         (fma_upward_test_data): New variable.
2873         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2875         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2876         (struct test_c_c_data): New type.
2877         (RUN_TEST_LOOP_c_c): New macro.
2878         (cacos_test_data): New variable.
2879         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2880         (cacosh_test_data): New variable.
2881         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2882         (casin_test_data): New variable.
2883         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2884         (casinh_test_data): New variable.
2885         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2886         (catan_test_data): New variable.
2887         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2888         (catanh_test_data): New variable.
2889         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2890         (ccos_test_data): New variable.
2891         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2892         (ccosh_test_data): New variable.
2893         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2894         (cexp_test_data): New variable.
2895         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2896         (clog_test_data): New variable.
2897         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2898         (clog10_test_data): New variable.
2899         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2900         (conj_test_data): New variable.
2901         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2902         (cproj_test_data): New variable.
2903         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2904         (csin_test_data): New variable.
2905         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2906         (csinh_test_data): New variable.
2907         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2908         (csqrt_test_data): New variable.
2909         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2910         (ctan_test_data): New variable.
2911         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2912         (ctan_tonearest_test_data): New variable.
2913         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2914         (ctan_towardzero_test_data): New variable.
2915         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2916         (ctan_downward_test_data): New variable.
2917         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2918         (ctan_upward_test_data): New variable.
2919         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2920         (ctanh_test_data): New variable.
2921         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2922         (ctanh_tonearest_test_data): New variable.
2923         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2924         (ctanh_towardzero_test_data): New variable.
2925         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2926         (ctanh_downward_test_data): New variable.
2927         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2928         (ctanh_upward_test_data): New variable.
2929         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2930         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2931         of BUILD_COMPLEX.
2933         * math/libm-test.inc (struct test_ff_f_data): New type.
2934         (struct test_ff_f_data_nexttoward): Likewise.
2935         (RUN_TEST_LOOP_2_f): New macro.
2936         (RUN_TEST_LOOP_ff_f): Likewise.
2937         (atan2_test_data): New variable.
2938         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2939         (copysign_test_data): New variable.
2940         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2941         (fdim_test_data): New variable.
2942         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2943         (fmax_test_data): New variable.
2944         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2945         (fmin_test_data): New variable.
2946         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2947         (fmod_test_data): New variable.
2948         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2949         (hypot_test_data): New variable.
2950         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2951         (nextafter_test_data): New variable.
2952         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2953         (nexttoward_test_data): New variable.
2954         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2955         (pow_test_data): New variable.
2956         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2957         (pow_tonearest_test_data): New variable.
2958         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2959         (pow_towardzero_test_data): New variable.
2960         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2961         (pow_downward_test_data): New variable.
2962         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2963         (pow_upward_test_data): New variable.
2964         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2965         (remainder_test_data): New variable.
2966         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2967         (scalb_test_data): New variable.
2968         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2969         * sysdeps/i386/fpu/libm-test-ulps: Update.
2971 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
2973         * math/libm-test.inc (fma_test): Use max_value instead of local
2974         variable fltmax.
2975         (nextafter_test): Likewise.
2977         * math/libm-test.inc (acos_towardzero_test_data): New variable.
2978         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2979         (acos_downward_test_data): New variable.
2980         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2981         (acos_upward_test_data): New variable.
2982         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2983         (acosh_test_data): New variable.
2984         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2985         (asin_test_data): New variable.
2986         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2987         (asin_tonearest_test_data): New variable.
2988         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2989         (asin_towardzero_test_data): New variable.
2990         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2991         (asin_downward_test_data): New variable.
2992         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2993         (asin_upward_test_data): New variable.
2994         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2995         (asinh_test_data): New variable.
2996         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2997         (atan_test_data): New variable.
2998         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2999         (atanh_test_data): New variable.
3000         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3001         (cbrt_test_data): New variable.
3002         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3003         (ceil_test_data): New variable.
3004         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3005         (cos_test_data): New variable.
3006         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3007         (cos_tonearest_test_data): New variable.
3008         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3009         (cos_towardzero_test_data): New variable.
3010         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3011         (cos_downward_test_data): New variable.
3012         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3013         (cos_upward_test_data): New variable.
3014         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3015         (cosh_test_data): New variable.
3016         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3017         (cosh_tonearest_test_data): New variable.
3018         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3019         (cosh_towardzero_test_data): New variable.
3020         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3021         (cosh_downward_test_data): New variable.
3022         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3023         (cosh_upward_test_data): New variable.
3024         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3025         (erf_test_data): New variable.
3026         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3027         (erfc_test_data): New variable.
3028         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3029         (exp_test_data): New variable.
3030         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3031         (exp_tonearest_test_data): New variable.
3032         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3033         (exp_towardzero_test_data): New variable.
3034         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3035         (exp_downward_test_data): New variable.
3036         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3037         (exp_upward_test_data): New variable.
3038         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3039         (exp10_test_data): New variable.
3040         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3041         (exp2_test_data): New variable.
3042         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3043         (expm1_test_data): New variable.
3044         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3045         (fabs_test_data): New variable.
3046         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3047         (floor_test_data): New variable.
3048         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3049         (j0_test_data): New variable.
3050         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3051         (j1_test_data): New variable.
3052         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3053         (log_test_data): New variable.
3054         (log_test): Run tests with RUN_TEST_LOOP_f_f.
3055         (log10_test_data): New variable.
3056         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3057         (log1p_test_data): New variable.
3058         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3059         (log2_test_data): New variable.
3060         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3061         (logb_test_data): New variable.
3062         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3063         (logb_downward_test_data): New variable.
3064         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3065         (nearbyint_test_data): New variable.
3066         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3067         (rint_test_data): New variable.
3068         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3069         (rint_tonearest_test_data): New variable.
3070         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3071         (rint_towardzero_test_data): New variable.
3072         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3073         (rint_downward_test_data): New variable.
3074         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3075         (rint_upward_test_data): New variable.
3076         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3077         (round_test_data): New variable.
3078         (round_test): Run tests with RUN_TEST_LOOP_f_f.
3079         (sin_test_data): New variable.
3080         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3081         (sin_tonearest_test_data): New variable.
3082         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3083         (sin_towardzero_test_data): New variable.
3084         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3085         (sin_downward_test_data): New variable.
3086         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3087         (sin_upward_test_data): New variable.
3088         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3089         (sinh_test_data): New variable.
3090         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3091         (sinh_tonearest_test_data): New variable.
3092         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3093         (sinh_towardzero_test_data): New variable.
3094         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3095         (sinh_downward_test_data): New variable.
3096         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3097         (sinh_upward_test_data): New variable.
3098         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3099         (sqrt_test_data): New variable.
3100         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3101         (tan_test_data): New variable.
3102         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3103         (tan_tonearest_test_data): New variable.
3104         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3105         (tan_towardzero_test_data): New variable.
3106         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3107         (tan_downward_test_data): New variable.
3108         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3109         (tan_upward_test_data): New variable.
3110         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3111         (tanh_test_data): New variable.
3112         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3113         (tgamma_test_data): New variable.
3114         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3115         (trunc_test_data): New variable.
3116         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3117         (y0_test_data): New variable.
3118         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3119         (y1_test_data): New variable.
3120         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3121         (significand_test_data): New variable.
3122         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3124 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
3126         [BZ #12387]
3127         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3129 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3131         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3133 2013-05-10  Andreas Jaeger  <aj@suse.de>
3135         [BZ #15448]
3136         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3137         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3139 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3141         * math/gen-libm-test.pl (adjust_arg): New function.
3142         (special_functions): Handle generating output in both functions
3143         and arrays.
3144         (parse_args): Likewise.
3145         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
3146         $in_func argument to parse_args.
3147         * math/libm-test.inc (struct test_f_f_data): New type.
3148         (IF_ROUND_INIT_): New macro.
3149         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3150         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3151         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3152         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3153         (ROUND_RESTORE_): Likewise.
3154         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3155         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3156         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3157         (ROUND_RESTORE_FE_UPWARD): Likewise.
3158         (RUN_TEST_LOOP_f_f): New macro.
3159         (acos_test_data): New variable.
3160         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3161         (acos_tonearest_test_data): New variable.
3162         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3164 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3166         * benchtests/bench-skeleton.c (startup): Fix coding style.
3168 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3170         [BZ #6809]
3171         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3172         negative infinity argument.
3173         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3174         negative infinity argument.
3175         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3176         negative infinity argument.
3177         * math/libm-test.inc (tgamma_test): Expect errno to be set for
3178         domain errors.
3180 2013-05-10  Florian Weimer  <fweimer@redhat.com>
3182         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3183         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3184         * iconv/iconv_prog.c (main): Likewise.
3185         * locale/programs/charmap-dir.c (charmap_readdir)
3186         (fopen_uncompressed): Likewise.
3187         * locale/programs/locfile.c (siblings_uncached)
3188         (write_locale_data): Use lstat64 instead of lstat.
3189         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3190         stat.
3192 2013-05-10  Andreas Jaeger  <aj@suse.de>
3194         [BZ #15395]
3195         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3196         localization.
3197         Include <locale.h>.
3199 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
3201         * elf/dl-close.c (_dl_close_worker): Add comments.
3203 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
3205         [BZ #15359]
3206         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3207         high part of pi/2.
3208         (__ieee754_rem_pio2l): Update comments.
3210         [BZ #15429]
3211         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3212         high part of pi/2.
3213         (__ieee754_rem_pio2l): Update comments.
3215         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3216         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3218         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3219         M_PI_4l.
3221         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3222         (M_PI_34_LOG10El): Likewise.
3223         (M_PI2_LOG10El): Likewise.
3224         (M_PI4_LOG10El): Likewise.
3225         (M_PI_LOG10El): Likewise.
3227 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3231 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
3233         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3234         (MINUS_ZERO_INIT): Likewise.
3235         (PLUS_INFTY_INIT): Likewise.
3236         (MINUS_INFTY_INIT): Likewise.
3237         (QNAN_VALUE_INIT): Likewise.
3238         (MAX_VALUE_INIT): Likewise.
3239         (MIN_VALUE_INIT): Likewise.
3240         (MIN_SUBNORM_VALUE_INIT): Likewise.
3241         (plus_zero): Initialize with PLUS_ZERO_INIT.
3242         (minus_zero): Initialize with MINUS_ZERO_INIT.
3243         (plus_infty): Initialize with PLUS_INFTY_INIT.
3244         (minus_infty): Initialize with MINUS_INFTY_INIT.
3245         (qnan_value): Initialize with QNAN_VALUE_INIT.
3246         (max_value): Initialize with MAX_VALUE_INIT.
3247         (min_value): Initialize with MIN_VALUE_INIT.
3248         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3250         * math/libm-test.inc (RUN_TEST_if_f): New macro.
3251         (jn_test): Use TEST_if_f instead of TEST_ff_f.
3252         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3253         (yn_test): Use TEST_if_f instead of TEST_ff_f.
3255         * math/libm-test.inc (RUN_TEST_f_f): New macro.
3256         (RUN_TEST_2_f): Likewise.
3257         (RUN_TEST_ff_f): Likewise.
3258         (RUN_TEST_fi_f): Likewise.
3259         (RUN_TEST_fl_f): Likewise.
3260         (RUN_TEST_fff_f): Likewise.
3261         (RUN_TEST_c_f): Likewise.
3262         (RUN_TEST_f_f1): Likewise.
3263         (RUN_TEST_fF_f1): Likewise.
3264         (RUN_TEST_fI_f1): Likewise.
3265         (RUN_TEST_ffI_f1): Likewise.
3266         (RUN_TEST_c_c): Likewise.
3267         (RUN_TEST_cc_c): Likewise.
3268         (RUN_TEST_f_i): Likewise.
3269         (RUN_TEST_f_i_tg): Likewise.
3270         (RUN_TEST_ff_i_tg): Likewise.
3271         (RUN_TEST_f_b): Likewise.
3272         (RUN_TEST_f_b_tg): Likewise.
3273         (RUN_TEST_f_l): Likewise.
3274         (RUN_TEST_f_L): Likewise.
3275         (RUN_TEST_sincos): Likewise.
3276         * math/gen-libm-test.pl (new_test): Take new argument to indicate
3277         whether to show exceptions.  Do not include ");\n" in return
3278         value.
3279         (special_functions): Output call to RUN_TEST_sincos instead of
3280         check_float calls.  Update calls to new_test.
3281         (parse_args): Output call to single RUN_TEST_* macro instead of
3282         check_* calls and other assignments.  Update calls to new_test.
3284         [BZ #2546]
3285         [BZ #2560]
3286         [BZ #5159]
3287         [BZ #15426]
3288         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3289         input to result for tgamma overflow.
3290         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3291         (gamma_coeff): New variable.
3292         (NCOEFF): New macro.
3293         (gamma_positive): New function.
3294         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3295         underflow here.  Use gamma_positive instead of exp (lgamma) for
3296         other arguments.
3297         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3298         (gamma_coeff): New variable.
3299         (NCOEFF): New macro.
3300         (gammaf_positive): New function.
3301         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3302         underflow here.  Use gamma_positive instead of exp (lgamma) for
3303         other arguments.
3304         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3305         (gamma_coeff): New variable.
3306         (NCOEFF): New macro.
3307         (gammal_positive): New function.
3308         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3309         underflow here.  Use gamma_positive instead of exp (lgamma) for
3310         other arguments.
3311         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3312         (gamma_coeff): New variable.
3313         (NCOEFF): New macro.
3314         (gammal_positive): New function.
3315         (__ieee754_gammal_r): Handle positive infinity, overflow and
3316         underflow here.  Handle NaN the same as positive infinity.  Remove
3317         check x < 0xffffffff for negative integers.  Use gamma_positive
3318         instead of exp (lgamma) for other arguments.
3319         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3320         (gamma_coeff): New variable.
3321         (NCOEFF): New macro.
3322         (gammal_positive): New function.
3323         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3324         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3325         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3326         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3327         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3328         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3329         * sysdeps/generic/math_private.h (__gamma_productf): New
3330         prototype.
3331         (__gamma_product): Likewise.
3332         (__gamma_productl): Likewise.
3333         * math/Makefile (libm-calls): Add gamma_product.
3334         * math/libm-test.inc (tgamma_test): Add more tests.
3335         * sysdeps/i386/fpu/libm-test-ulps: Update.
3336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3338 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
3340         * benchtests/bench-skeleton.c (main): Preheat CPU.
3342 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
3344         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3346 2013-05-07  Roland McGrath  <roland@hack.frob.com>
3348         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3349         and _dl_skip_args_internal.
3351 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
3353         * manual/message.texi (Message Translation): Talk about users.
3354         Message to key mapping impacts design.
3356 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3358         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3360         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3362         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3363         * sysdeps/wordsize-64/glob64.c: ... here.
3365         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3366         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3367         New macros.
3369         * debug/getlogin_r_chk.c: Moved to ...
3370         * login/getlogin_r_chk.c: ... here.
3371         * debug/Makefile (routines): Move getlogin_r_chk to ...
3372         * login/Makefile (routines): ... here.
3373         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3374         * login/Versions (libc: GLIBC_2.4): ... here.
3376         * io/poll.c (__poll): Renamed from poll.
3377         Add libc_hidden_def.
3378         (poll): Define as weak alias.
3380         * debug/ptsname_r_chk.c: Moved to ...
3381         * login/ptsname_r_chk.c: ... here.
3382         * debug/Makefile (routines): Move ptsname_r_chk to ...
3383         * login/Makefile (routines): ... here.
3384         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3385         * login/Versions (libc: GLIBC_2.4): ... here.
3387         * posix/getlogin.c: Moved to ...
3388         * login/getlogin.c: ... here.
3389         * posix/getlogin_r.c: Moved to ...
3390         * login/getlogin_r.c: ... here.
3391         * posix/getlogin_r.c: Moved to ...
3392         * login/getlogin_r.c: ... here.
3393         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3394         * login/Makefile (routines): ... here.
3395         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3396         * login/Versions (libc: GLIBC_2.0): ... here.
3398         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3399         (setrlimit): Define as weak alias.
3401         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3402         Call __ names for open, ftruncate, and close.
3403         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3404         (truncate): Define as weak alias.
3406 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
3408         * math/gen-libm-test.pl (parse_args): Initialize x before each
3409         test of frexp, modf and remquo.
3411         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3412         test signgam value.
3414 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3416         [BZ #15418]
3417         [BZ #15419]
3418         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3419         internal tests.
3420         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3422 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3424         * elf/dl-writev.h: New file.
3425         * elf/dl-misc.c: Include it.
3426         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3427         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3429 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
3431         * math/libm-test.inc (noXFails): Remove variable.
3432         (noXPasses): Likewise.
3433         (BUILD_COMPLEX_INT): Remove macro.
3434         (print_screen): Remove xfail argument.
3435         (print_screen_max_error): Likewise.
3436         (update_stats): Likewise.
3437         (print_max_error): Likewise.  Update calls to other affected
3438         functions.
3439         (print_complex_max_error): Likewise.
3440         (test_single_exception): Update calls to print_screen.
3441         (test_single_errno): Likewise.
3442         (check_float_internal): Remove xfail argument.  Update calls to
3443         other affected functions.
3444         (check_float): Likewise.
3445         (check_complex): Likewise.
3446         (check_int): Likewise.
3447         (check_long): Likewise.
3448         (check_bool): Likewise.
3449         (check_longlong): Likewise.
3450         (main): Don't print noXFails and noXPasses.
3451         * math/gen-libm-test.pl (top level): Don't mention expected
3452         failure handling in comment.
3453         (new_test): Don't handle expected failures.
3454         (parse_args): Don't mention expected failure handling in comment.
3455         (generate_testfile): Don't handle expected failures.
3456         (parse_ulps): Likewise.
3457         (print_ulps_file): Likewise.
3458         (get_failure): Remove function.
3459         (output_test): Don't handle expected failures.
3460         * make/README.libm-test: Don't mention expected failure handling.
3462         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
3463         (minus_zero): Likewise.
3464         (plus_infty): Likewise.
3465         (minus_infty): Likewise.
3466         (qnan_value): Likewise.
3467         (max_value): Likewise.
3468         (min_value): Likewise.
3469         (min_subnorm_value): Likewise.
3470         (initialize): Do not initialize those variables dynamically.
3472 2013-05-03  Roland McGrath  <roland@hack.frob.com>
3474         * io/open.c (__open_2): Moved to ...
3475         * io/open_2.c: ... this new file.
3476         * io/open64.c (__open64_2): Moved to ...
3477         * io/open64_2.c: ... this new file.
3478         * io/openat.c (__openat_2): Moved to ...
3479         * io/openat_2.c: ... this new file.
3480         * io/openat64.c (__openat64_2): Moved to ...
3481         * io/openat64_2.c: ... this new file.
3482         * io/Makefile (routines): Add them.
3483         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3484         * sysdeps/unix/sysv/linux/open_2.c: File removed.
3485         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3486         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3487         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3488         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3489         (__openat64): Add hidden_ver.
3490         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3491         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3493         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3494         Separately conditionalize setting of GLRO(dl_sysinfo) so
3495         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3496         as well, but the actual setting is only under [NEED_DL_SYSINFO].
3498 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3500         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3501         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3502         definition.
3503         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3504         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3505         (_libc_vdso_platform_setup): Add __vdso_time initialization.
3506         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3507         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3509 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
3511         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3512         test signgam value.
3514         * math/libm-test.inc (hypot_test): Do not use
3515         IGNORE_ZERO_INF_SIGN.
3517 2013-05-03  Andreas Jaeger  <aj@suse.de>
3519         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3520         Linux 3.9.
3521         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3522         (PF_MAX): Adjust for VSOCK change.
3524 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3528 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
3530         [BZ #15264]
3531         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3532         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3533         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3535 2013-05-02  David S. Miller  <davem@davemloft.net>
3537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3539 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
3541         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3543 2013-05-01  Roland McGrath  <roland@hack.frob.com>
3545         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3547 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
3549         [BZ #14952]
3550         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3551         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3552         Use __attribute__ ((__gnu_inline__)).
3553         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3554         Don't use __attribute__ ((__gnu_inline__)).
3556 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
3558         [BZ #15423]
3559         * math/s_catan.c (__catan): Handle small real or imaginary part of
3560         input specially to avoid spurious underflow.
3561         * math/s_catanf.c (__catanf): Likewise.
3562         * math/s_catanh.c (__catanh): Likewise.
3563         * math/s_catanhf.c (__catanhf): Likewise.
3564         * math/s_catanhl.c (__catanhl): Likewise.
3565         * math/s_catanl.c (__catanl): Likewise.
3566         * math/libm-test.inc (catan_test): Add more tests.
3567         (catanh_test): Likewise.
3568         * sysdeps/i386/fpu/libm-test-ulps: Update.
3569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3571 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3575 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
3577         [BZ #15416]
3578         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3579         accurately for denominator in atan2.
3580         * math/s_catanf.c (__catanf): Likewise.
3581         * math/s_catanh.c (__catanh): Likewise.
3582         * math/s_catanhf.c (__catanhf): Likewise.
3583         * math/s_catanhl.c (__catanhl): Likewise.
3584         * math/s_catanl.c (__catanl): Likewise.
3585         * math/libm-test.inc (catan_test): Add more tests.
3586         (catanh_test): Likewise.
3587         * sysdeps/i386/fpu/libm-test-ulps: Update.
3588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3590 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3592         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3594         * benchtests/Makefile (bench): Remove slow benchmarks.
3595         * benchtests/atan-inputs: Add slow benchmark inputs.
3596         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3597         (BENCH_FUNC): Accept variant offset.
3598         (VARIANT): Define.
3599         * benchtests/bench-skeleton.c (main): Run benchmark for each
3600         variant.
3601         * benchtests/cos-inputs: Add slow benchmark inputs.
3602         * benchtests/exp-inputs: Likewise.
3603         * benchtests/pow-inputs: Likewise.
3604         * benchtests/sin-inputs: Likewise.
3605         * benchtests/slowatan-inputs: Remove.
3606         * benchtests/slowatan.c: Remove.
3607         * benchtests/slowcos-inputs: Remove.
3608         * benchtests/slowcos.c: Remove.
3609         * benchtests/slowexp-inputs: Remove.
3610         * benchtests/slowexp.c: Remove.
3611         * benchtests/slowpow-inputs: Remove.
3612         * benchtests/slowpow.c: Remove.
3613         * benchtests/slowsin-inputs: Remove.
3614         * benchtests/slowsin.c: Remove.
3615         * benchtests/slowtan-inputs: Remove.
3616         * benchtests/slowtan.c: Remove.
3617         * benchtests/tan-inputs: Add slow benchmark inputs.
3618         * scripts/bench.pl: Parse comments and directives.
3620         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
3621         in CPPFLAGS.
3622         ($(objpfx)bench-%.c): Remove *-ITER.
3623         * benchtests/bench-modf.c: Remove definition of ITER.
3624         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3625         (main): Loop for DURATION seconds instead of fixed number of
3626         iterations.
3627         * scripts/bench.pl: Don't expect iterations in parameters.
3629 2013-04-29  Roland McGrath  <roland@hack.frob.com>
3631         * io/fchdir.c (__fchdir): Renamed from fchdir.
3632         (fchdir): Define as weak alias.
3634 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3636         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3637         (ERRNO_EDOM): Likewise.
3638         (ERRNO_ERANGE): Likewise.
3639         (noErrnoTests): New variable.
3640         (init_max_error): Set errno to 0.
3641         (test_single_errno): New function.
3642         (test_errno): Likewise.
3643         (check_float_internal): Call test_errno.  Set errno to 0.
3644         (check_complex): Refer to errno tests in comment.
3645         (check_int): Call test_errno.  Set errno to 0.
3646         (check_long): Likewise.
3647         (check_bool): Likewise.
3648         (check_longlong): Likewise.
3649         (cos_test): Use ERRNO_* flags for errno tests instead of
3650         check_int.
3651         (expm1_test): Likewise.
3652         (fmod_test): Likewise.
3653         (ilogb_test): Likewise.
3654         (lgamma_test): Likewise.
3655         (pow_test): Likewise.
3656         (remainder_test): Likewise.
3657         (sin_test): Likewise.
3658         (tan_test): Likewise.
3659         (yn_test): Likewise.
3660         (initialize): Set errno to 0.
3661         (main): Print number of errno tests.
3662         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3664 2013-04-29  Andreas Jaeger  <aj@suse.de>
3666         [BZ #15084]
3667         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3668         and RES_USEVC.
3670         [BZ #15085]
3671         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3672         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3673         unimplemented.
3675         [BZ #15380]
3676         * stdlib/random.c (__initstate): Return NULL if
3677         __initstate fails.
3679         [BZ #15086]
3680         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3681         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3682         RES_SNGLKUPREOP.
3684 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3688 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3690         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3691         of individual tests.
3692         (casin_test): Likewise.
3693         (casinh_test): Likewise.
3695 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
3697         [BZ #15409]
3698         * math/s_catan.c (__catan): Handle arguments with large real or
3699         imaginary part separately without squaring.
3700         * math/s_catanf.c (__catanf): Likewise.
3701         * math/s_catanh.c (__catanh): Likewise.
3702         * math/s_catanhf.c (__catanhf): Likewise.
3703         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3704         and redefine.
3705         (__catanhl): Handle arguments with large real or imaginary part
3706         separately without squaring.
3707         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3708         and redefine.
3709         (__catanl): Handle arguments with large real or imaginary part
3710         separately without squaring.
3711         * math/libm-test.inc (catan_test): Add more tests.
3712         (catanh_test): Likewise.
3713         * sysdeps/i386/fpu/libm-test-ulps: Update.
3714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3716 2013-04-27  Andreas Jaeger  <aj@suse.de>
3718         [BZ #15007]
3719         * stdlib/stdlib.h: Update guards for qecvt.
3720         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3721         <stdlib.h>.
3723 2013-04-27  Allan McRae  <allan@archlinux.org>
3725         * sysdeps/i386/fpu/libm-test-ulps: Update.
3727 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
3729         [BZ #15406]
3730         * math/s_catan.c: Include <float.h>.
3731         (__catan): Ensure underflow exception occurs for underflowed
3732         result.
3733         * math/s_catanf.c: Include <float.h>.
3734         (__catanf): Ensure underflow exception occurs for underflowed
3735         result.
3736         * math/s_catanh.c: Include <float.h>.
3737         (__catanh): Ensure underflow exception occurs for underflowed
3738         result.
3739         * math/s_catanhf.c: Include <float.h>.
3740         (__catanhf): Ensure underflow exception occurs for underflowed
3741         result.
3742         * math/s_catanhl.c: Include <float.h>.
3743         (__catanhl): Ensure underflow exception occurs for underflowed
3744         result.
3745         * math/s_catanl.c: Include <float.h>.
3746         (__catanl): Ensure underflow exception occurs for underflowed
3747         result.
3748         * math/libm-test.inc (catan_test): Add more tests.
3749         (catanh_test): Likewise.
3751         [BZ #15405]
3752         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3753         underflowed result.
3754         * math/s_ccoshf.c (__ccoshf): Likewise.
3755         * math/s_ccoshl.c (__ccoshl): Likewise.
3756         * math/s_csin.c (__csin): Likewise.
3757         * math/s_csinf.c (__csinf): Likewise.
3758         * math/s_csinh.c (__csinh): Likewise.
3759         * math/s_csinhf.c (__csinhf): Likewise.
3760         * math/s_csinhl.c (__csinhl): Likewise.
3761         * math/s_csinl.c (__csinl): Likewise.
3762         * math/libm-test.inc (ccos_test): Add more tests.
3763         (ccosh_test): Likewise.
3764         (csin_test): Likewise.
3765         (csinh_test): Likewise.
3767 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3769         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3770         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3771         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3772         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3773         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3774         powerpc/power5+/fpu folders.
3775         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3778 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3782 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
3784         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3785         additions to variable.
3786         [$(config-machine) = x86_64] (modules-names): Likewise.
3787         ($(objpfx)tst-audit3): Remove dependency.
3788         ($(objpfx)tst-audit3.out): Likewise.
3789         ($(objpfx)tst-audit4): Likewise.
3790         ($(objpfx)tst-audit4.out): Likewise.
3791         ($(objpfx)tst-audit5): Likewise.
3792         ($(objpfx)tst-audit5.out): Likewise.
3793         ($(objpfx)tst-audit6): Likewise.
3794         ($(objpfx)tst-audit6.out): Likewise.
3795         ($(objpfx)tst-audit7): Likewise.
3796         ($(objpfx)tst-audit7.out): Likewise.
3797         (tst-audit3-ENV): Remove variable.
3798         (tst-audit4-ENV): Likewise.
3799         (tst-audit5-ENV): Likewise.
3800         (tst-audit6-ENV): Likewise.
3801         (tst-audit7-ENV): Likewise.
3802         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3803         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3804         addition to variable.
3805         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3806         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3807         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3808         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3809         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3810         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3811         tst-audit3, tst-audit4 and tst-audit5.
3812         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3813         tst-audit6 and tst-audit7.
3814         [$(subdir) = elf] (modules-names): Add audit modules for those
3815         tests.
3816         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3817         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3818         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3819         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3820         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3821         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3822         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3823         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3824         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3825         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3826         [$(subdir) = elf] (tst-audit3-ENV): New variable.
3827         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3828         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3829         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3830         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3831         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3832         Likewise.
3833         [$(subdir) = elf && $(config-cflags-avx) = yes]
3834         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3835         [$(subdir) = elf && $(config-cflags-avx) = yes]
3836         (CFLAGS-tst-auditmod4a.c): Likewise.
3837         [$(subdir) = elf && $(config-cflags-avx) = yes]
3838         (CFLAGS-tst-auditmod4b.c): Likewise.
3839         [$(subdir) = elf && $(config-cflags-avx) = yes]
3840         (CFLAGS-tst-auditmod6b.c): Likewise.
3841         [$(subdir) = elf && $(config-cflags-avx) = yes]
3842         (CFLAGS-tst-auditmod6c.c): Likewise.
3843         [$(subdir) = elf && $(config-cflags-avx) = yes]
3844         (CFLAGS-tst-auditmod7b.c): Likewise.
3845         * elf/tst-audit3.c: Move to ...
3846         * sysdeps/x86_64/tst-audit3.c: ... here.
3847         * elf/tst-audit4.c: Move to ...
3848         * sysdeps/x86_64/tst-audit4.c: ... here.
3849         * elf/tst-audit5.c: Move to ...
3850         * sysdeps/x86_64/tst-audit5.c: ... here.
3851         * elf/tst-audit6.c: Move to ...
3852         * sysdeps/x86_64/tst-audit6.c: ... here.
3853         * elf/tst-audit7.c: Move to ...
3854         * sysdeps/x86_64/tst-audit7.c: ... here.
3855         * elf/tst-auditmod3a.c: Move to ...
3856         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3857         * elf/tst-auditmod3b.c: Move to ...
3858         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3859         * elf/tst-auditmod4a.c: Move to ...
3860         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3861         * elf/tst-auditmod4b.c: Move to ...
3862         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3863         * elf/tst-auditmod5a.c: Move to ...
3864         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3865         * elf/tst-auditmod5b.c: Move to ...
3866         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3867         * elf/tst-auditmod6a.c: Move to ...
3868         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3869         * elf/tst-auditmod6b.c: Move to ...
3870         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3871         * elf/tst-auditmod6c.c: Move to ...
3872         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3873         * elf/tst-auditmod7a.c: Move to ...
3874         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3875         * elf/tst-auditmod7b.c: Move to ...
3876         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3878 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
3880         [BZ #15366]
3881         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3882         define unconditionally.
3883         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3884         define unconditionally.
3885         (INT8_C, INT16_C, etc.): Likewise.
3887 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
3889         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3890         __ehdr_start with hidden visibility.
3892         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3894 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
3896         * math/libm-test.inc (cos_test): Use accurate hex constants.
3897         (sincost_test): Likewise.
3899 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
3901         * math/libm-test.inc (catan_test): Add more tests.
3902         (catanh_test): Likewise.
3904         * math/s_catanf.c (__catanf): Use suffixed floating-point
3905         constants.
3906         * math/s_catanhf.c (__catanhf): Likewise.
3907         * math/s_catanhl.c (__catanhl): Likewise.
3908         * math/s_catanl.c (__catanl): Likewise.
3910         [BZ #15394]
3911         * math/s_catan.c (__catan): Calculate imaginary part of result
3912         with log1p not log unless computing log of number close to 0.
3913         * math/s_catanf.c (__catanf): Likewise.
3914         * math/s_catanl.c (__catanl): Likewise.
3915         * math/s_catanh.c (__catanh): Calculate real part of result with
3916         log1p not log unless computing log of number close to 0.
3917         * math/s_catanhf.c (__catanhf): Likewise.
3918         * math/s_catanhl.c (__catanhl): Likewise.
3919         * math/libm-test.inc (catan_test): Add more tests.
3920         (catanh_test): Likewise.
3921         * sysdeps/i386/fpu/libm-test-ulps: Update.
3922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3924 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3926         * benchtests/Makefile: Mention files in which fast and slow
3927         paths of math functions are implemented.
3929 2013-04-23  Roland McGrath  <roland@hack.frob.com>
3931         * sysdeps/posix/timespec_get.c: New file.
3933 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3935         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3936         POWER.
3937         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3938         for POWER.
3939         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3940         powerpc/power5/fpu folders.
3941         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3942         * benchtests/Makefile: Add modf testcase.
3943         * benchtests/bench-modf.c: New file: Benchmark test for mo
3945 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3947         [BZ #14888]
3948         * time/Makefile (tests): Add tst-strptime-whitespace.
3949         * time/strptime_l.c (get_number): Use ISSPACE.
3950         (__strptime_internal): Likewise.
3951         * time/tst-strptime-whitespace.c: New test case.
3953 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
3955         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3956         member.
3957         (_nss_files_init): Set it here.
3959 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
3961         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3962         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3963         unsigned.
3965 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
3967         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3969 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3971         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3972         size just once.
3974 2013-04-21  David S. Miller  <davem@davemloft.net>
3976         * po/ru.po: Update Russion translation from translation project.
3978 2013-04-17  Adam Conrad  <adconrad@0c3.net>
3980         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3981         and setfsgid.
3983 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
3985         * configure.in: Remove i386 configure warning. Remove i386 case.
3986         * configure: Regenerate.
3987         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3988         Add example to error message.
3989         * sysdeps/i386/configure: Regenerate.
3991 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3993         * benchtests/Makefile (bench): Add cos, tan, slowcos and
3994         slowtan.
3995         * benchtests/cos-inputs: New file.
3996         * benchtests/slowcos-inputs: New file.
3997         * benchtests/slowcos.c: New file.
3998         * benchtests/slowtan-inputs: New file.
3999         * benchtests/slowtan.c: New file.
4000         * benchtests/tan-inputs: New file.
4002 2013-04-16  Roland McGrath  <roland@hack.frob.com>
4004         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4005         considered kosher.
4007 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4009         * benchtests/Makefile: Include cppflags-iterator.mk to add
4010         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4012         * Makefile.in (bench-clean): New target.
4013         * benchtests/Makefile (bench-clean): Likewise.
4015 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
4017         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4019 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
4021         * stdio-common/tstdiomisc.c: Fix coding-style violation.
4023 2013-04-15  Andreas Schwab  <schwab@suse.de>
4025         * nscd/grpcache.c (cache_addgr): Properly check for short write.
4026         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4027         * nscd/pwdcache.c (cache_addpw): Likewise.
4028         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
4029         more than recsize.
4031 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4033         * benchtests/Makefile (bench): Write all output to
4034         bench-out.tmp together.
4036 2013-04-15  Andreas Schwab  <schwab@suse.de>
4038         * nscd/nscd.c (main): Don't fork again after closing files.
4040 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4042         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4044         * benchtests/Rules (bench-deps): Collect dependencies into a
4045         single variable.  Add Makefile to dependencies.
4046         ($(objpfx)bench-%.c): Depend on bench-deps.
4048 2013-04-12  Roland McGrath  <roland@hack.frob.com>
4049             Xavier Roche  <roche+kml2@exalead.com>
4051         [BZ #15361]
4052         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4053         just that it's a file descriptor.
4054         * manual/llio.texi (Synchronizing AIO Operations): Update description
4055         for EBADF error from aio_fsync.
4057 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4059         * Rules (bench): Move target definition...
4060         * benchtests/Makefile: ... here.
4062 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
4064         * math/libm-test.inc (cos_test): Fix PI/2 test.
4065         (sincos_test): Likewise.
4066         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4067         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4069 2013-04-11  Andreas Schwab  <schwab@suse.de>
4071         [BZ #13988]
4072         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4073         accept exponent character only when digits were seen.
4074         * stdio-common/Makefile (tests): Add bug26.
4075         * stdio-common/bug26.c: New file.
4077         [BZ #14293]
4078         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4079         non-freeable.
4081 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4083         * Makeconfig (rtld-prefix): Define built linker prefix.
4084         * Rules (run-bench): Use it.
4085         * math/Makefile (run-regen-ulps): Likewise.
4087         * Rules (bench): Remove eval.
4089 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4090             Roland McGrath  <roland@hack.frob.com>
4091             Ondrej Bilka  <neleai@seznam.cz>
4093         [BZ #15346]
4094         * time/getdate.c: Include ctype.h and alloca.h.
4095         (__getdate_r): Trim leading and trailing spaces of input.
4096         * time/tst-getdate.c (tests): Add tests with leading and
4097         trailing spaces.
4099 2013-04-08  Roland McGrath  <roland@hack.frob.com>
4101         [BZ #14280]
4102         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4103         when computing value.
4105 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4107         * math/README.libm-test (How can I generate "libm-test-ulps"?):
4108         Use testrun.sh to run libm tests.
4110         [BZ #15309]
4111         * elf/dl-open.c (dl_open_worker): memset all of seen array.
4113 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
4115         [BZ #15264]
4116         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4118 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4120         * Makefile.in (regen-ulps): New target.
4121         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4122         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4123         [ifneq (no,$(PERL)] (regen-ulps): New target.
4124         [ifeq (no,$(PERL)] (regen-ulps): New target.
4125         * math/libm-test.inc (ulps_file_name): Define.
4126         (output_dir): New variable.
4127         (options): Add "output-dir" option.
4128         (parse_opt): Handle 'o' case.
4129         (main): If output_dir is non-NULL use it as a prefix
4130         otherwise use "".
4131         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4133 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4135         [BZ #10060, #10062]
4136         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4137         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4138         fail configure if __sync_val_compare_and_swap is not inlined.
4139         * sysdeps/i386/configure: Regenerate.
4140         * configure.in: Build for i686 when configured for i386.
4141         * configure: Regenerate.
4142         * README: Remove i386 reference.
4144 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4146         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4147         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4149 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
4151         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4152         (lmsnanval): New variables.
4153         (F): Add conversion tests.
4154         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4155         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4157         * stdio-common/tstdiomisc.c (F): Properly collect individual
4158         tests' results.
4160         [BZ #14686, #15336]
4161         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4162         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4163         Instead, use input NaN values or generate a qNaN by arithmetic
4164         operation.  Also fix bugs to comply with the standard.
4165         * math/libm-test.inc (remainder_test): Add more tests.
4167         [BZ #15335, #15342]
4168         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4169         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4170         input NaN values or generate a qNaN by arithmetic operation.
4172         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4173         unreachable code.
4175         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4176         definitions.
4178 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
4180         [BZ #14478]
4181         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4182         underflowed result.
4183         * math/s_cexpf.c (__cexpf): Likewise.
4184         * math/s_cexpl.c (__cexpl): Likewise.
4185         * math/libm-test.inc (cexp_test): Add more tests.
4187 2013-04-03  Andreas Schwab  <schwab@suse.de>
4189         [BZ #15330]
4190         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4191         order arrays from heap if bigger than alloca cutoff.
4193 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
4195         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4196         (SNAN_TESTS_double): Refer to GCC PR56831.
4197         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4198         GCC PR56828.
4200 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4202         * Rules (bench): Move bench.out after the run is complete.
4204         * Rules (bench): Echo currently running benchmark.
4206         * benchtests/Makefile (bench): Add atan and slowatan.
4207         * benchtests/atan-inputs: New file.
4208         * benchtests/slowatan-inputs: New file.
4209         * benchtests/slowatan.c: New file.
4211         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4212         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4213         its value.
4215         [BZ #15305]
4216         * sysdeps/unix/sysv/linux/kernel-features.h
4217         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4218         __ASSUME_XFS_RESTRICTED_CHOWN.
4219         * sysdeps/unix/sysv/linux/pathconf.c
4220         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4221         Save and restore errno.
4223 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
4225         [BZ #15327]
4226         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4227         arguments using __kernel_casinh.
4228         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4229         arguments using __kernel_casinhf.
4230         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4231         arguments using __kernel_casinhl.
4232         * math/libm-test.inc (cacosh_test): Add more tests.
4233         * sysdeps/i386/fpu/libm-test-ulps: Update.
4234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4236 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4238         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4239         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4241         * bench/Makefile (bench): Add sin and slowsin.
4242         * benchtests/sin-inputs: New file.
4243         * benchtests/slowsin-inputs: New file.
4244         * benchtests/slowsin.c: New file.
4246         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4247         (bench): Add slowexp and slowpow.
4248         (exp-ITER): Increase iterations.
4249         (pow-ITER): Likewise.
4250         * benchtests/exp-inputs: Change input.
4251         * benchtests/pow-inputs: Likewise.
4252         * benchtests/slowexp-inputs: New file.
4253         * benchtests/slowexp.c: New file.
4254         * benchtests/slowpow-inputs: New file.
4255         * benchtests/slowpow.c: New file.
4257 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4259         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4260         instructions.
4261         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4262         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4263         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4264         * benchtests/Makefile: Add rint benchtest.
4265         * benchtests/rint-inputs: Input for rint benchtest.
4267 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
4269         * Versions.def (libm): Add GLIBC_2.18.
4270         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4271         hidden libm prototypes.
4272         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4273         * math/Makefile (libm-calls): Add s_issignaling.
4274         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4275         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
4276         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4277         declaration.
4278         * math/math.h [__USE_GNU] (issignaling): New macro.
4279         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4280         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4281         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4282         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4283         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4284         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4285         * manual/arith.texi (issignaling): New section.
4286         * manual/libm-err-tab.pl (@all_functions): Update comment.
4287         * math/gen-libm-test.pl (parse_args): Apply special handling for
4288         issignaling.
4289         * math/libm-test.inc (print_float, issignaling_test): New
4290         functions.
4291         (check_float_internal): Add issignaling checks.
4292         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4293         default definition.
4294         * sysdeps/powerpc/math-tests.h: New file.
4295         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4296         tests.
4297         * math/test-snan.c (TEST_FUNC): Likewise.
4299 2013-03-30  David S. Miller  <davem@davemloft.net>
4301         * po/de.po: Update from translation team.
4303 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
4305         [BZ #10357]
4306         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4307         imaginary part less than 1.0 and real part less than 0.5
4308         specially.
4309         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4310         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4311         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4312         (cacos_test): Add more tests.
4313         (casin_test): Likewise.
4314         (casinh_test): Likewise.
4315         * sysdeps/i386/fpu/libm-test-ulps: Update.
4316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4318 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4320         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4321         ONE with its value.
4323         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4324         (__pow_mp): Replace ONE and MONE with their values.
4325         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4326         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4327         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4328         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4329         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4330         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4332         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4334         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4335         (__pow_mp): Replace ZERO and MZERO with their values.
4336         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4337         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4338         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4339         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4340         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4341         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4342         (__sqr): Likewise.
4344         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4346         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4348 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4350         * include/stdlib.h [!SHARED] (__call_tls_dtors):
4351         Declare with __attribute__ ((weak)).
4352         * stdlib/exit.c (__libc_atexit) [!SHARED]:
4353         Call __call_tls_dtors only if it's not NULL.
4355 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4357         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4358         didn't do it already, then set _dl_phdr and _dl_phnum based on the
4359         magic __ehdr_start linker symbol if it's defined.
4360         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4361         them up here if it was already done.
4363         * elf/dl-support.c (_dl_phdr): Make pointer to const.
4364         (_dl_aux_init): Use const in cast when setting it.
4365         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4366         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4367         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4369         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4370         Declare them here.
4371         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4372         * csu/libc-tls.c: Nor here.
4373         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4375         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4376         (__libc_message): Never call vsyslog.
4378 2013-03-28  Alan Modra  <amodra@gmail.com>
4380         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4381         Define as empty.
4382         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4383         Likewise.
4385 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4387         [BZ #15214]
4388         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4389         underflow.
4390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4392 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4394         [BZ #15304]
4395         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4396         Don't add gid passed as argument.
4398         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4400 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
4402         [BZ #15307]
4403         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4404         imaginary part between 1.0 and 1.5 and real part less than 0.5
4405         specially.
4406         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4407         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4408         * math/libm-test.inc (cacos_test): Add more tests.
4409         (casin_test): Likewise.
4410         (casinh_test): Likewise.
4411         * sysdeps/i386/fpu/libm-test-ulps: Update.
4412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4414 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4416         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4417         constants.
4418         (norm): Likewise.
4419         (denorm): Likewise.
4420         (__dbl_mp): Likewise.
4421         (add_magnitudes): Likewise.
4422         (sub_magnitudes): Likewise.
4423         (__add): Likewise.
4424         (__sub): Likewise.
4425         (__mul): Likewise.
4426         (__sqr): Likewise.
4427         (__inv): Likewise.
4428         (__dvd): Likewise.
4430         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4431         commented code.
4432         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4433         (__dubcos): Likewise.
4434         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4435         (__ieee754_acos): Likewise.
4436         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4437         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4438         (__exp1): Likewise.
4439         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4440         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4441         (log1): Likewise.
4442         (my_log2): Likewise.
4443         (checkint): Likewise.
4444         * sysdeps/ieee754/dbl-64/e_remainder.c
4445         (__ieee754_remainder): Likewise.
4446         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4447         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4448         (bsloww): Likewise.
4449         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4451         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4452         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4453         MANTISSA_STORE_T to store computations on mantissa.  Use
4454         macros for rounding and division.
4455         (denorm): Likewise.
4456         (__dbl_mp): Likewise.
4457         (add_magnitudes): Likewise.
4458         (sub_magnitudes): Likewise.
4459         (__mul): Likewise.
4460         (__sqr): Likewise.
4461         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4462         powers of two in terms of TWOPOW macro.
4463         (mp_no): Make type of mantissa as MANTISSA_T.
4464         [!RADIXI]: Define RADIXI.
4465         [!TWO52]: Define TWO52.
4466         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4468 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4470         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4471         llroundl symbol when building for PPC32.
4473 2013-03-24  Mark H Weaver  <mhw@netris.org>
4475         * manual/arith.texi (Normalization Functions): Fix prototypes for
4476         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4478 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4480         [BZ #13889]
4481         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4482         high value to check if expl overflow.
4483         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4484         to check for underflow and overflow.
4485         * math/libm-test.inc: Add exp test.
4487 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
4489         [BZ #11120]
4490         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4491         with NOT_IN_libc.
4493 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4495         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4496         symbol.
4498 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4500         * math/gen-libm-test.pl (parse_args, special_functions): Properly
4501         wrap blocks consisting of several statements.
4503         * sysdeps/generic/math-tests.h: New file.
4504         * sysdeps/i386/fpu/math-tests.h: Likewise.
4505         * math/test-snan.c: Include it.
4506         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4508 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4510         [BZ #15285]
4511         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4512         (__ieee754_j0l): Do not improve calculations using cos of twice
4513         input for inputs above LDBL_MAX / 2.0L.
4514         (__ieee754_y0l): Likewise.
4515         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4516         (__ieee754_j1l): Do not improve calculations using cos of twice
4517         input for inputs above LDBL_MAX / 2.0L.
4518         (__ieee754_y1l): Likewise.
4519         * math/libm-test.inc (j0_test): Add another test.
4520         (j1_test): Likewise.
4521         (y0_test): Likewise.
4522         (y1_test): Likewise.
4523         * sysdeps/i386/fpu/libm-test-ulps: Update.
4525 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4527         * Rules ($(objpfx)bench-%.c): Include code from a C source
4528         file.
4530 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4532         [BZ #15287]
4533         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4534         imaginary part 1.0 and real part less than 0.5 specially.
4535         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4536         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4537         * math/libm-test.inc (cacos_test): Add more tests.
4538         (casin_test): Likewise.
4539         (casinh_test): Likewise.
4540         * sysdeps/i386/fpu/libm-test-ulps: Update.
4541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4543 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4545         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4546         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4548 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
4550         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4551         * config.make.in (config-cflags-sse4): Remove variable.
4552         (config-cflags-avx): Likewise.
4553         (config-cflags-sse2avx): Likewise.
4554         (config-cflags-novzeroupper): Likewise.
4555         (config-asflags-i686): Likewise.
4556         (have-mfma4): Likewise.
4557         (have-as-vis3): Likewise.
4558         (MIG): Likewise.
4559         * configure.in (MIG): Do not AC_SUBST.
4560         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4561         (libc_cv_cc_sse4): Do not AC_SUBST.
4562         (libc_cv_cc_avx): Likewise.
4563         (libc_cv_cc_sse2avx): Likewise.
4564         (libc_cv_cc_novzeroupper): Likewise.
4565         (libc_cv_cc_fma4): Likewise.
4566         (libc_cv_as_i686): Likewise.
4567         (libc_cv_sparc_as_vis3): Likewise.
4568         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4569         LIBC_CONFIG_VAR.
4570         (config-asflags-i686): Likewise.
4571         (config-cflags-avx): Likewise.
4572         (config-cflags-sse2avx): Likewise.
4573         (have-mfma4): Likewise.
4574         (config-cflags-novzeroupper): Likewise.
4575         * sysdeps/mach/configure.in (MIG): Likewise.
4576         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4577         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4578         LIBC_CONFIG_VAR.
4579         (config-cflags-avx): Likewise.
4580         (config-cflags-sse2avx): Likewise.
4581         (have-mfma4): Likewise.
4582         (config-cflags-novzeroupper): Likewise.
4583         * configure: Regenerated.
4584         * sysdeps/i386/configure: Likewise.
4585         * sysdeps/mach/configure: Likewise.
4586         * sysdeps/sparc/configure: Likewise.
4587         * sysdeps/x86_64/configure: Likewise.
4589 2013-03-20  Roland McGrath  <roland@hack.frob.com>
4591         [BZ #14812]
4592         * locale/programs/localedef.c (options): Put N_ translation marker
4593         on argument names, not just descriptions.
4595 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4597         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4599 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
4601         [BZ #14176]
4602         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4604 2013-03-19  Roland McGrath  <roland@hack.frob.com>
4606         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4607         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4608         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4609         [!BEFORE_ABORT] (before_abort): New function.
4610         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4611         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4612         (writev_for_fatal): New function.
4613         (WRITEV_FOR_FATAL): New macro; call that.
4614         (backtrace_and_maps): New function.
4615         (BEFORE_ABORT): New macro; call that.
4616         (struct str_list): Type removed.
4617         (__libc_message, __libc_fatal): Functions removed.
4618         Include <sysdeps/posix/libc_fatal.c> instead.
4620 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
4622         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4623         constants.
4624         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4625         double constants.
4627 2013-03-19  Andreas Schwab  <schwab@suse.de>
4629         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4630         * sysdeps/gnu/configure: Regenerate.
4632         * configure.in: Substitute libc_cv_rtlddir.
4633         * configure: Regenerate.
4634         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4635         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4636         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4637         * elf/Makefile (install-others, CFLAGS-interp.c)
4638         (ldso_install, common-ldd-rewrite): Likewise.
4639         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4640         $(inst_slibdir)/$(rtld-installed-name).
4641         * scripts/rellns-sh: Add -p option.
4642         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4643         for source.
4645 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4647         * manual/nptl.texi: Renamed to ...
4648         * manual/threads.texi: ... this.
4649         * manual/Makefile (chapters): Update.
4651 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4653         [BZ #14812]
4654         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4655         on argument names, not just descriptions.
4656         * malloc/memusagestat.c (options): Likewise.
4657         * nss/getent.c (options): Likewise.
4659 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4661         [BZ #14812]
4662         * iconv/iconv_prog.c (options): Put N_ translation marker
4663         on argument names, not just descriptions.
4664         * iconv/iconvconfig.c (options): Likewise.
4666 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4668         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4669         implementation which is faster on all x86_64 architectures.
4670         Tested on AMD, Intel Nehalem, SNB, IVB.
4671         * sysdeps/x86_64/strnlen.S: Likewise.
4673         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4674         Remove all multiarch strlen and strnlen versions.
4675         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4676         Remove strlen and strnlen related parts.
4678         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4679         Inline strlen part.
4680         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4682         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4683         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4684         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4685         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4686         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4687         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4689 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
4691         * manual/memory.texi (Malloc Tunable Parameters):
4692         Sort parameters alphabetically. Add comments for missing entries.
4694 2013-03-17  David S. Miller  <davem@davemloft.net>
4696         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4698 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
4700         [BZ #15283]
4701         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4702         for arguments at most half maximum finite value.
4703         * math/libm-test.inc (j0_test): Add more tests.
4704         (j1_test): Likewise.
4705         (y0_test): Likewise.
4706         (y1_test): Likewise.
4707         * sysdeps/i386/fpu/libm-test-ulps: Update.
4708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4710         [BZ #14155]
4711         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4712         1 / x and functions P and Q for arguments above 0x1p256L.
4713         (__ieee754_y0l): Likewise.
4714         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4715         (__ieee754_y1l): Likewise.
4716         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4717         (j1_test): Likewise.
4718         (y0_test): Likewise.
4719         (y1_test): Likewise.
4721 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
4723         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4724         variable.
4726 2013-03-15  Roland McGrath  <roland@hack.frob.com>
4728         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4729         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4730         zero since it's initialized to EXEC_PAGESIZE.
4732         * sysdeps/unix/sysv/linux/ldsodefs.h
4733         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4734         * sysdeps/generic/ldsodefs.h: ... here.
4736 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
4738         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4740         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4741         math/test-snan.c.
4742         * math/test-snan.c: Renamed from
4743         sysdeps/powerpc/fpu/test-powerpc-snan.c.
4744         * math/Makefile (tests): Add test-snan.
4745         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4746         test-powerpc-snan.
4748         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4749         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
4750         functions.
4751         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
4752         __builtin_nan family of functions.
4753         * math/libm-test.inc (initialize): Initialize qnan_value with
4754         __builtin_nan family of functions.
4755         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4756         Remove variables.
4757         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4758         Remove functions.
4759         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
4760         storage class.  Initialize qNaN_var and sNaN_var with
4761         __builtin_nan and __builtin_nans families of functions,
4762         respectively.
4764         * math/libm-test.inc (acosh_test): Also test with qNaN input.
4765         (sqrt_test): Remove duplicate test with qNaN input.
4766         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4767         (round_test, signbit_test, significand_test): Note missing +/-Inf
4768         as well as qNaN tests.
4770         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4771         qNaN_var.  Fix a few strings, too.
4772         * math/libm-test.inc (nan_value): Rename to qnan_value.
4773         * math/gen-libm-test.pl (%beautify): Adjust to that.
4774         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4775         * math/test-misc.c (main): Likewise.
4776         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4777         to __qnan_bytes, and __qnan_union, respectively.
4778         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4779         Likewise.
4780         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4781         and lqnanval, respectively.
4782         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4783         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4784         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4785         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4787         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4788         * math/test-misc.c (main) [__x86_64__]: Enable test for long
4789         doubles.
4791         * math/test-misc.c (main): Fix copy'n'pastos.
4792         * misc/tst-efgcvt.c (special): Likewise.
4794         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4795         Remove declarations.
4797 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4799         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4800         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4801         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4802         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4804 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4806         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4807         macro to return vdso values correctly in IFUNC implementations.
4808         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4809         Optimization by using IFUNC.
4811 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4812             Richard Henderson  <rth@redhat.com>
4813             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4815         * Makefile.in (bench): New target.
4816         * NEWS: Mention the benchmark framework.
4817         * Rules (bench): Likewise.
4818         (binaries-bench): Generate binaries for functions to
4819         benchmark.
4820         * benchtests/Makefile: New makefile for benchmark tests.
4821         * benchtests/bench-skeleton.c: New skeleton file for benchmark
4822         programs.
4823         * benchtests/exp-inputs: New input file for EXP function.
4824         * benchtests/pow-inputs: New input file for POW function.
4825         * scripts/bench.pl: New script to generate source files for
4826         benchmark programs.
4828 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4830         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4831         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4832         computations on mantissa.  Use macros for rounding and
4833         division.
4834         (denorm): Likewise.
4835         (__dbl_mp): Likewise.
4836         (add_magnitudes): Likewise.
4837         (sub_magnitudes): Likewise.
4838         (__mul): Likewise.
4839         (__sqr): Likewise.
4840         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4841         powers of two in terms of TWOPOW macro.
4842         (mp_no): Make type of mantissa as MANTISSA_T.
4843         [!RADIXI]: Define RADIXI.
4844         [!TWO52]: Define TWO52.
4845         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4847         * manual/nptl.texi (cindex): Modify threads to pthreads.
4849 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
4851         * sysdeps/x86_64/preconfigure: Regenerated.
4853 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
4855         [BZ #14155]
4856         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4857         0x1p28 and above.
4858         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4859         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4860         0x1p28 and above.
4861         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4862         * math/libm-test.inc (j0_test): Do not allow one spurious
4863         underflow exception.
4864         (y1_test): Likewise.
4866 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4868         * manual/Makefile (chapters): Add nptl.
4869         * manual/debug.texi (Debugging Support): Add link to Threads
4870         chapter.
4871         * manual/nptl.texi: New file.
4873         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4875 2013-03-14  Petr Baudis  <pasky@ucw.cz>
4877         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4878         for non-NULL pointer before the memory validity test. Pointed
4879         out by Holger Brunck <holger.brunck@keymile.com>.
4881 2013-03-13  Andreas Schwab  <schwab@suse.de>
4883         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4884         instead of .os.
4886 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
4888         * timezone/zic.c: Update from tzcode 2013b.
4890 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
4892         * manual/install.texi (Configuring and compiling):
4893         Mention i686 and i586.
4894         * INSTALL: Regenerate.
4896 2013-03-12  Roland McGrath  <roland@hack.frob.com>
4898         * sysdeps/init_array/elf-init.c: New file.
4899         * csu/elf-init.c
4900         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4901         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4903         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4904         __gmon_start__ as global, but as static with a .preinit_array pointer.
4905         * sysdeps/init_array/gmon-start.c: New file.  Use that.
4906         * sysdeps/init_array/crti.S: New file, empty except for comments.
4907         * sysdeps/init_array/crtn.S: Likewise.
4909 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
4911         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4912         definining bcopy.
4913         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4914         Remove Prefer_SSE_for_memop.
4915         * sysdeps/x86_64/multiarch/init-arch.h: Remove
4916         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4917         HAS_PREFER_SSE_FOR_MEMOP.
4918         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4919         memset-x86-64.
4920         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4921         Remove bzero, memset ifunc support.
4922         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4923         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4924         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4925         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4927 2013-03-11  Andreas Schwab  <schwab@suse.de>
4929         [BZ #15234]
4930         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4931         by SHLIB_COMPAT.
4932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4933         (GLIBC_2.16): Remove pthread_atfork.
4935 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4937         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4938         (ptestcases.h): Likewise.
4940 2013-03-08  Roland McGrath  <roland@hack.frob.com>
4942         * Makeconfig ($(common-objpfx)config.status): Depend on
4943         sysdeps/*/preconfigure{,.in} too.
4945 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
4947         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4948         (__free_hook): Use void * instead of __malloc_ptr_t.
4949         (__malloc_hook): Likewise.
4950         (__realloc_hook): Likewise.
4951         (__memalign_hook): Likewise.
4952         (__after_morecore_hook): Likewise.
4953         * malloc/arena.c (save_malloc_hook): Likewise.
4954         (save_free_hook): Likewise.
4955         * malloc/hooks.c (malloc_hook_ini): Likewise.
4956         (realloc_hook_ini): Likewise.
4957         (memalign_hook_ini): Likewise.
4958         * malloc/malloc.c (malloc_hook_ini): Likewise.
4959         (realloc_hook_ini): Likewise.
4960         (memalign_hook_ini): Likewise.
4961         (__free_hook): Likewise.
4962         (__malloc_hook): Likewise.
4963         (__realloc_hook): Likewise.
4964         (__memalign_hook): Likewise.
4965         (__libc_malloc): Likewise.
4966         (__libc_free): Likewise.
4967         (__libc_realloc): Likewise.
4968         (__libc_memalign): Likewise.
4969         (__libc_valloc): Likewise.
4970         (__libc_pvalloc): Likewise.
4971         (__libc_calloc): Likewise.
4972         (__posix_memalign): Likewise.
4973         * malloc/morecore.c (__sbrk): Likewise.
4974         (__default_morecore): Likewise.
4976         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4978         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4979         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4980         __malloc_ptrdiff_t.
4982         * malloc/malloc.h (__malloc_size_t): Remove macro.
4983         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4984         __malloc_size_t.
4985         (old_memalign_hook): Likewise.
4986         (old_realloc_hook): Likewise.
4987         (struct hdr): Likewise.
4988         (flood): Likewise.
4989         (mallochook): Likewise.
4990         (memalignhook): Likewise.
4991         (reallochook): Likewise.
4992         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4993         (tr_old_realloc_hook): Likewise.
4994         (tr_old_memalign_hook): Likewise.
4995         (tr_mallochook): Likewise.
4996         (tr_reallochook): Likewise.
4997         (tr_memalignhook): Likewise.
4999 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5001         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5002         default_ldbl_pack and using as default implementation.
5003         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5004         implementation.
5005         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5006         redundant definition.
5007         (ldbl_insert_mantissa): Likewise.
5008         (ldbl_canonicalize): Likewise.
5009         (ldbl_nearbyint): Likewise.
5010         (ldbl_pack): Rename to ldbl_pack_ppc.
5011         (ldbl_unpack): Rename to ldbl_unpack_ppc.
5012         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5013         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5015 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5017         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5018         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5019         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5020         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5021         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5022         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5023         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5024         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5026 2013-03-07  Andreas Jaeger  <aj@suse.de>
5028         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5029         bits/mman-linux.h.
5031 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5033         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5034         Include mpa.h and declare __MPEXP.
5035         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5036         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5037         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5038         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5039         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5040         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5041         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5043         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5044         (__slowpow): Use long double EXPL and LOGL functions to
5045         compute POW.
5046         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5047         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5048         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5049         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5050         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5051         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5054         intermediate variable to calculate exponent.
5055         (__sqr): Likewise.
5056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5057         Likewise.
5058         (__sqr): Likewise.
5060         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5061         [!NO__SQR]: Define __sqr.
5062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5063         and NO__SQR.  Remove all code except __mul and __sqr.  Include
5064         sysdeps/ieee754/dbl-64/mpa.c.
5065         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5067         [BZ #12723]
5068         * posix/Makefile (tests): Add tst-pathconf.
5069         * posix/tst-pathconf.c: New test case.
5070         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5071         _PC_PIPE_BUF.
5072         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5074 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
5076         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5078 2013-03-06  Andreas Jaeger  <aj@suse.de>
5080         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5081         definition via __MAP_ANONYMOUS.
5083         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5084         it's not part of Linux headers.
5086         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5087         (MAP_HUGE_MASK): Define.
5089         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5090         Define.
5091         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5092         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5093         Define.
5094         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5095         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5096         Define.
5097         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5098         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5099         Define.
5100         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5102         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5103         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5104         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5105         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5106         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5107         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5109         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5110         Handle f2fs.
5112         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5113         Handle f2fs and efivarfs.
5115         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5116         f2fs.
5118         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5119         (EFIVARFS_MAGIC): Add.
5120         (F2FS_LINK_MAX): Add.
5122 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5124         * stdio-common/vfprintf.c: Replace __builtin_expect with
5125         __glibc_unlikely.
5127 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
5129         [BZ #13550]
5130         * sysdeps/generic/bp-sym.h: Remove file.
5131         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5132         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5133         <bp-sym.h> and <bp-asm.h>.
5134         (__longjmp): Don't use BP_SYM.
5135         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5136         and <bp-asm.h>.
5137         (memcpy): Don't use BP_SYM.
5138         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5139         <bp-sym.h> and <bp-asm.h>.
5140         (memcpy): Don't use BP_SYM.
5141         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5142         <bp-asm.h>.
5143         (memcpy): Don't use BP_SYM.
5144         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5145         <bp-asm.h>.
5146         (memset): Don't use BP_SYM.
5147         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5148         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5149         (__bzero): Don't use BP_SYM.
5150         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5151         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5152         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5153         <bp-sym.h> and <bp-asm.h>.
5154         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5155         pointers.
5156         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5157         <bp-sym.h> and <bp-asm.h>.
5158         (memcpy): Don't use BP_SYM.
5159         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5160         <bp-sym.h> and <bp-asm.h>.
5161         (memset): Don't use BP_SYM.
5162         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5163         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5164         (__bzero): Don't use BP_SYM.
5165         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5166         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5167         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5168         <bp-sym.h> and <bp-asm.h>.
5169         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5170         pointers.
5171         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5172         <bp-sym.h> and <bp-asm.h>.
5173         (memcpy): Don't use BP_SYM.
5174         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5175         <bp-sym.h> and <bp-asm.h>.
5176         (memset): Don't use BP_SYM.
5177         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5178         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5179         (__bzero): Don't use BP_SYM.
5180         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5181         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5182         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5183         <bp-sym.h> and <bp-asm.h>.
5184         (__memchr): Don't use BP_SYM.
5185         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5186         <bp-sym.h> and <bp-asm.h>.
5187         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5188         pointers.
5189         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5190         <bp-sym.h> and <bp-asm.h>.
5191         (memcpy): Don't use BP_SYM.
5192         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5193         <bp-sym.h> and <bp-asm.h>.
5194         (__mempcpy): Don't use BP_SYM.
5195         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5196         <bp-sym.h> and <bp-asm.h>.
5197         (__memrchr): Don't use BP_SYM.
5198         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5199         <bp-sym.h> and <bp-asm.h>.
5200         (memset): Don't use BP_SYM.
5201         (__bzero): Likewise.
5202         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5203         <bp-sym.h> and <bp-asm.h>.
5204         (__rawmemchr): Don't use BP_SYM.
5205         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5206         <bp-sym.h> and <bp-asm.h>.
5207         (__STRCMP): Don't use BP_SYM.
5208         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5209         <bp-sym.h> and <bp-asm.h>.
5210         (strchr): Don't use BP_SYM.
5211         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5212         <bp-sym.h> and <bp-asm.h>.
5213         (__strchrnul): Don't use BP_SYM.
5214         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5215         <bp-sym.h> and <bp-asm.h>.
5216         (strlen): Don't use BP_SYM.
5217         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5218         <bp-sym.h> and <bp-asm.h>.
5219         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5220         pointers.
5221         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5222         <bp-sym.h> and <bp-asm.h>.
5223         (__strnlen): Don't use BP_SYM.
5224         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5225         <bp-sym.h> and <bp-asm.h>.
5226         (__GI__setjmp): Don't use BP_SYM.
5227         (_setjmp): Likewise.
5228         (__sigsetjmp): Likewise.
5229         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5230         (L(start_addresses)): Don't use BP_SYM.
5231         (_start): Likewise.
5232         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5233         <bp-asm.h>.
5234         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5235         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5236         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5237         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5238         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5239         <bp-asm.h>.
5240         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5241         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
5242         about bounded pointers.
5243         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5244         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5245         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5246         <bp-asm.h>.
5247         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5248         about bounded pointers.  Remove GKM FIXME comments.
5249         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5250         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5251         <bp-asm.h>.
5252         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5253         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
5254         Remove GKM FIXME comments.
5255         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5256         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5257         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5258         <bp-asm.h>.
5259         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5260         about bounded pointers.  Remove GKM FIXME comment.
5261         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5262         and <bp-asm.h>.
5263         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5264         pointers.
5265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5266         <bp-sym.h> and <bp-asm.h>.
5267         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5269         <bp-sym.h> and <bp-asm.h>.
5270         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5271         comment.
5273 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5275         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5276         call free(NULL).
5278 2013-03-05  David S. Miller  <davem@davemloft.net>
5280         * po/es.po: Update from translation team.
5282 2013-03-05  Andreas Jaeger  <aj@suse.de>
5284         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5285         <bits/mman-linux.h>.
5286         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5287         is fine.
5288         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5289         <bits/mman-linux.h> to end of file.
5290         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5291         is fine.
5292         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5293         <bits/mman-linux.h> to end of file.
5294         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5295         is fine.
5296         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5297         <bits/mman-linux.h> to end of file.
5299         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5300         (MCL_CURRENT, MCL_FUTURE): Define here.
5302 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5304         [BZ #15232]
5305         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5306         attribute_hidden.
5307         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5309 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5311         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5312         fourth parameter needed for rt_sigprocmask syscall.
5313         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5314         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5315         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5316         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5317         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5318         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5320 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
5322         [BZ #13550]
5323         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5324         comment about bounded pointers.
5325         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5326         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5328 2013-03-04  Andreas Jaeger  <aj@suse.de>
5330         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5331         common definitions.
5333         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5334         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5335         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5336         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5337         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5338         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5340 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5342         [BZ #15055]
5343         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5344         __ieee754_sqrl instead of __sqrl.
5346 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
5348         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5349         * sysdeps/powerpc/fpu_control.h: ... here.
5350         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5351         * sysdeps/powerpc/bits/fenvinline.h: ... here.
5352         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5353         * sysdeps/powerpc/bits/mathinline.h: ... here.
5355 2013-03-01  Roland McGrath  <roland@hack.frob.com>
5357         * elf/dl-hwcaps.c (_dl_important_hwcaps):
5358         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5359         to just [NEED_DL_SYSINFO_DSO].
5360         * elf/dl-support.c: Likewise.
5361         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5362         * elf/rtld.c (dl_main): Likewise.
5363         * elf/setup-vdso.h (setup_vdso): Likewise.
5364         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5365         * sysdeps/unix/sysv/linux/dl-sysdep.c
5366         (_dl_discover_osversion): Likewise.
5368 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
5370         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5371         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5373 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5375         * NEWS: Mention libm performance improvements and non-x86 PI
5376         futex support.
5378         * csu/libc-start.c (__pthread_initialize_minimal): Change
5379         function arguments.
5380         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5382 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
5384         [BZ #13550]
5385         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5386         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5387         <bp-sym.h> and <bp-asm.h>.
5388         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5389         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5390         and <bp-asm.h>.
5391         (memcpy): Don't use BP_SYM.
5392         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5393         <bp-asm.h>.
5394         (__mpn_add_n): Don't use BP_SYM.
5395         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5396         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5397         and <bp-asm.h>.
5398         (__mpn_addmul_1): Don't use BP_SYM.
5399         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5400         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5401         <bp-sym.h>.
5402         (_setjmp): Don't use BP_SYM.
5403         (__novmx_setjmp): Likewise.
5404         (__GI__setjmp): Likewise.
5405         (__vmx_setjmp): Likewise.
5406         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5407         <bp-sym.h>.
5408         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5409         (__bzero): Don't use BP_SYM.
5410         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5411         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5412         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5413         <bp-sym.h> and <bp-asm.h>.
5414         (memcpy): Don't use BP_SYM.
5415         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5416         <bp-sym.h> and <bp-asm.h>.
5417         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5418         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5419         <bp-sym.h> and <bp-asm.h>.
5420         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5421         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5422         <bp-asm.h>.
5423         (__mpn_lshift): Don't use BP_SYM.
5424         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5425         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5426         <bp-asm.h>.
5427         (memset): Don't use BP_SYM.
5428         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5429         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5430         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5431         <bp-asm.h>.
5432         (__mpn_mul_1): Don't use BP_SYM.
5433         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5434         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5435         <bp-sym.h> and <bp-asm.h>.
5436         (memcmp): Don't use BP_SYM.
5437         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5438         <bp-sym.h> and <bp-asm.h>.
5439         (memcpy): Don't use BP_SYM.
5440         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5441         <bp-sym.h> and <bp-asm.h>.
5442         (memset): Don't use BP_SYM.
5443         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5444         <bp-sym.h> and <bp-asm.h>.
5445         (strncmp): Don't use BP_SYM.
5446         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5447         <bp-sym.h> and <bp-asm.h>.
5448         (memcpy): Don't use BP_SYM.
5449         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5450         <bp-sym.h> and <bp-asm.h>.
5451         (memset): Don't use BP_SYM.
5452         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5453         <bp-sym.h> and <bp-asm.h>.
5454         (__memchr): Don't use BP_SYM.
5455         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5456         <bp-sym.h> and <bp-asm.h>.
5457         (memcmp): Don't use BP_SYM.
5458         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5459         <bp-sym.h> and <bp-asm.h>.
5460         (memcpy): Don't use BP_SYM.
5461         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5462         <bp-sym.h> and <bp-asm.h>.
5463         (__mempcpy): Don't use BP_SYM.
5464         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5465         <bp-sym.h> and <bp-asm.h>.
5466         (__memrchr): Don't use BP_SYM.
5467         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5468         <bp-sym.h> and <bp-asm.h>.
5469         (memset): Don't use BP_SYM.
5470         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5471         <bp-sym.h> and <bp-asm.h>.
5472         (__rawmemchr): Don't use BP_SYM.
5473         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5474         <bp-sym.h> and <bp-asm.h>.
5475         (__STRCMP): Don't use BP_SYM.
5476         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5477         <bp-sym.h> and <bp-asm.h>.
5478         (strchr): Don't use BP_SYM.
5479         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5480         <bp-sym.h> and <bp-asm.h>.
5481         (__strchrnul): Don't use BP_SYM.
5482         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5483         <bp-sym.h> and <bp-asm.h>.
5484         (strlen): Don't use BP_SYM.
5485         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5486         <bp-sym.h> and <bp-asm.h>.
5487         (strncmp): Don't use BP_SYM.
5488         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5489         <bp-sym.h> and <bp-asm.h>.
5490         (__strnlen): Don't use BP_SYM.
5491         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5492         <bp-asm.h>.
5493         (__mpn_rshift): Don't use BP_SYM.
5494         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5495         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5496         <bp-sym.h> and <bp-asm.h>.
5497         (__sigsetjmp): Don't use BP_SYM.
5498         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5499         (L(start_addresses)): Don't use BP_SYM.
5500         (_start): Likewise.
5501         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5502         <bp-asm.h>.
5503         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5504         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5505         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5506         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5507         <bp-asm.h>.
5508         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5509         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5510         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5511         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5512         <bp-asm.h>.
5513         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5514         comments.
5515         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5516         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5517         <bp-asm.h>.
5518         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
5519         FIXME comments.
5520         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5521         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5522         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5523         <bp-asm.h>.
5524         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5525         comment.
5526         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5527         and <bp-asm.h>.
5528         (strncmp): Don't use BP_SYM,
5529         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5530         <bp-asm.h>.
5531         (__mpn_sub_n): Don't use BP_SYM.
5532         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5533         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5534         and <bp-asm.h>.
5535         (__mpn_submul_1): Don't use BP_SYM.
5536         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5538         <bp-sym.h> and <bp-asm.h>.
5539         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5541         <bp-sym.h> and <bp-asm.h>.
5542         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5543         comment.
5545 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5548         Use ZK to minimize writes to Z.
5549         (sub_magnitudes): Simplify code a bit.
5550         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5551         Use ZK to minimize writes to Z.
5552         (sub_magnitudes): Simplify code a bit.
5554 2013-02-27  Roland McGrath  <roland@hack.frob.com>
5556         * csu/gmon-start.c: Add special exception to license text.
5558 2013-02-27  Richard Henderson  <rth@redhat.com>
5560         * scripts/config.guess: Update from config.git.
5561         * scripts/config.sub: Likewise.
5563 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5565         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5567         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5569         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5571         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5573         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5575 2013-02-26  Roland McGrath  <roland@hack.frob.com>
5577         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5578         [$(build-shared = yes].
5580 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5582         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5583         (__mul): Reduce iterations for calculating mantissa.
5585         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5586         MPTWO.
5587         (__mpranred): Likewise.
5589         [BZ #15160]
5590         * malloc/memusagestat.c (main): Draw graphs for heap and stack
5591         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5593 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
5595         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5596         Define __attribute__.
5598 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5600         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5601         unused.
5602         * posix/regex_internal.h (__attribute): Remove.
5603         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5604         (re_string_context_at): Likewise.
5605         (bitset_not): Use __attribute__ and mark function as possibly
5606         unused.
5607         (bitset_merge): Likewise.
5608         (bitset_mask): Likewise.
5609         (re_string_char_size_at): Likewise.
5610         (re_string_wchar_at): Likewise.
5611         (re_string_elem_size_at): Likewise.
5613 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5615         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5616         code.
5617         (cc32): Likewise.
5619         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5620         (__acr): Likewise.
5621         (__cpy): Likewise.
5622         (norm): Likewise.
5623         (denorm): Likewise.
5624         (__dbl_mp): Likewise.
5625         (add_magnitudes): Likewise.
5626         (sub_magnitudes): Likewise.
5627         (__mul): Likewise.
5628         (__inv): Likewise.
5630         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5631         style.
5633         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5634         style.
5636         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5637         code.
5639         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5640         up changes with default code.
5641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5642         Likewise.
5644 2013-02-24  Allan McRae  <allan@archlinux.org>
5646         * manual/socket.texi (The Internet Namespace): Order menu items
5647         to match that in the file.
5649         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5650         node listing of the info page menu.
5652 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5654         [BZ #13550]
5655         * sysdeps/i386/bp-asm.h: Remove file.
5656         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5657         (PARMS): Do not use macros from bp-asm.h.
5658         (S1): Likewise.
5659         (S2): Likewise.
5660         (SIZE): Likewise.
5661         (__mpn_add_n): Do not use BP_SYM
5662         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5663         "bp-asm.h".
5664         (PARMS): Do not use macros from bp-asm.h.
5665         (S1): Likewise.
5666         (SIZE): Likewise.
5667         (__mpn_addmul_1): Do not use BP_SYM
5668         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5669         "bp-asm.h".
5670         (PARMS): Do not use macros from bp-asm.h.
5671         (SIGMSK): Likewise.
5672         (_setjmp): Likewise.  Do not use BP_SYM.
5673         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5674         "bp-asm.h".
5675         (PARMS): Do not use macros from bp-asm.h.
5676         (SIGMSK): Likewise.
5677         (setjmp): Likewise.  Do not use BP_SYM.
5678         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5679         "bp-asm.h".
5680         (PARMS): Do not use macros from bp-asm.h.
5681         (__frexp): Do not use BP_SYM.
5682         (frexp): Likewise.
5683         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5684         "bp-asm.h".
5685         (PARMS): Do not use macros from bp-asm.h.
5686         (__frexpf): Do not use BP_SYM.
5687         (frexpf): Likewise.
5688         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5689         "bp-asm.h".
5690         (PARMS): Do not use macros from bp-asm.h.
5691         (__frexpl): Do not use BP_SYM.
5692         (frexpl): Likewise.
5693         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5694         "bp-asm.h".
5695         (PARMS): Do not use macros from bp-asm.h.
5696         (__remquo): Do not use BP_SYM.
5697         (remquo): Likewise.
5698         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5699         "bp-asm.h".
5700         (PARMS): Do not use macros from bp-asm.h.
5701         (__remquof): Do not use BP_SYM.
5702         (remquof): Likewise.
5703         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5704         "bp-asm.h".
5705         (PARMS): Do not use macros from bp-asm.h.
5706         (__remquol): Do not use BP_SYM.
5707         (remquol): Likewise.
5708         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5709         "bp-asm.h".
5710         (PARMS): Do not use macros from bp-asm.h.
5711         (DEST): Likewise.
5712         (SRC): Likewise.
5713         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
5714         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5715         "bp-asm.h".
5716         (PARMS): Do not use macros from bp-asm.h.
5717         (strlen): Do not use BP_SYM.
5718         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5719         "bp-asm.h".
5720         (PARMS): Do not use macros from bp-asm.h.
5721         (S1): Likewise.
5722         (S2): Likewise.
5723         (SIZE): Likewise.
5724         (__mpn_add_n): Do not use BP_SYM.
5725         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5726         "bp-asm.h".
5727         (PARMS): Do not use macros from bp-asm.h.
5728         (S1): Likewise.
5729         (SIZE): Likewise.
5730         (__mpn_addmul_1): Do not use BP_SYM.
5731         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5732         weak_alias.
5733         (bzero): Likewise.
5734         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5735         "bp-asm.h".
5736         (PARMS): Do not use macros from bp-asm.h.
5737         (S): Likewise.
5738         (SIZE): Likewise.
5739         (__mpn_lshift): Do not use BP_SYM.
5740         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5741         "bp-asm.h".
5742         (PARMS): Do not use macros from bp-asm.h.
5743         (DEST): Likewise.
5744         (SRC): Likewise.
5745         (LEN): Likewise.
5746         (memcpy): Likewise.  Do not use BP_SYM.
5747         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5748         libc_hidden_def and weak_alias.
5749         (mempcpy): Do not use BP_SYM in weak_alias.
5750         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5751         "bp-asm.h".
5752         (PARMS): Do not use macros from bp-asm.h.
5753         (DEST): Likewise.
5754         (LEN): Likewise.
5755         [!BZERO_P] (CHR): Likewise.
5756         (memset): Likewise.  Do not use BP_SYM.
5757         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5758         "bp-asm.h".
5759         (PARMS): Do not use macros from bp-asm.h.
5760         (S1): Likewise.
5761         (SIZE): Likewise.
5762         (__mpn_mul_1): Do not use BP_SYM.
5763         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5764         "bp-asm.h".
5765         (PARMS): Do not use macros from bp-asm.h.
5766         (S): Likewise.
5767         (SIZE): Likewise.
5768         (__mpn_rshift): Do not use BP_SYM.
5769         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5770         "bp-asm.h".
5771         (PARMS): Do not use macros from bp-asm.h.
5772         (STR): Likewise.
5773         (CHR): Likewise.
5774         (strchr): Likewise.  Do not use BP_SYM.
5775         (index): Do not use BP_SYM in weak_alias.
5776         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5777         "bp-asm.h".
5778         (PARMS): Do not use macros from bp-asm.h.
5779         (DEST): Likewise.
5780         (SRC): Likewise.
5781         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
5782         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5783         "bp-asm.h".
5784         (PARMS): Do not use macros from bp-asm.h.
5785         (strlen): Do not use BP_SYM.
5786         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5787         "bp-asm.h".
5788         (PARMS): Do not use macros from bp-asm.h.
5789         (S1): Likewise.
5790         (S2): Likewise.
5791         (SIZE): Likewise.
5792         (__mpn_sub_n): Do not use BP_SYM.
5793         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5794         "bp-asm.h".
5795         (PARMS): Do not use macros from bp-asm.h.
5796         (S1): Likewise.
5797         (SIZE): Likewise.
5798         (__mpn_submul_1): Do not use BP_SYM.
5799         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5800         "bp-asm.h".
5801         (PARMS): Do not use macros from bp-asm.h.
5802         (S1): Likewise.
5803         (S2): Likewise.
5804         (SIZE): Likewise.
5805         (__mpn_add_n): Do not use BP_SYM.
5806         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5807         weak_alias.
5808         (bzero): Likewise.
5809         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5810         "bp-asm.h".
5811         (PARMS): Do not use macros from bp-asm.h.
5812         (BLK2): Likewise.
5813         (LEN): Likewise.
5814         (memcmp): Do not use BP_SYM.
5815         (bcmp): Do not use BP_SYM in weak_alias.
5816         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5817         "bp-asm.h".
5818         (PARMS): Do not use macros from bp-asm.h.
5819         (DEST): Likewise.
5820         (SRC): Likewise.
5821         (LEN): Likewise.
5822         (memcpy): Likewise.  Do not use BP_SYM.
5823         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5824         "bp-asm.h".
5825         (PARMS): Do not use macros from bp-asm.h.
5826         (DEST): Likewise.
5827         (SRC): Likewise.
5828         (LEN): Likewise.
5829         (memmove): Likewise.  Do not use BP_SYM.
5830         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5831         "bp-asm.h".
5832         (PARMS): Do not use macros from bp-asm.h.
5833         (DEST): Likewise.
5834         (SRC): Likewise.
5835         (LEN): Likewise.
5836         (__mempcpy): Likewise.  Do not use BP_SYM.
5837         (mempcpy): Do not use BP_SYM in weak_alias.
5838         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5839         "bp-asm.h".
5840         (PARMS): Do not use macros from bp-asm.h.
5841         (DEST): Likewise.
5842         (LEN): Likewise.
5843         [!BZERO_P] (CHR): Likewise.
5844         (memset): Likewise.  Do not use BP_SYM.
5845         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5846         "bp-asm.h".
5847         (PARMS): Do not use macros from bp-asm.h.
5848         (STR2): Likewise.
5849         (strcmp): Do not use BP_SYM.
5850         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5851         "bp-asm.h".
5852         (PARMS): Do not use macros from bp-asm.h.
5853         (STR): Likewise.
5854         (DELIM): Likewise.
5855         [USE_AS_STRTOK_R] (SAVE): Likewise.
5856         (FUNCTION): Likewise.  Do not use BP_SYM.
5857         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5858         aliases.
5859         (strtok_r): Likewise.
5860         (__GI___strtok_r): Likewise.
5861         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5862         (PARMS): Do not use macros from bp-asm.h.
5863         (S): Likewise.
5864         (SIZE): Likewise.
5865         (__mpn_lshift): Do not use BP_SYM.
5866         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5867         (PARMS): Do not use macros from bp-asm.h.
5868         (STR): Likewise.
5869         (CHR): Likewise.
5870         (__memchr): Do not use BP_SYM.
5871         (memchr): Do not use BP_SYM in weak_alias.
5872         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5873         (PARMS): Do not use macros from bp-asm.h.
5874         (BLK2): Likewise.
5875         (LEN): Likewise.
5876         (memcmp): Do not use BP_SYM.
5877         (bcmp): Do not use BP_SYM in weak_alias.
5878         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5879         (PARMS): Do not use macros from bp-asm.h.
5880         (S1): Likewise.
5881         (SIZE): Likewise.
5882         (__mpn_mul_1): Do not use BP_SYM.
5883         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5884         "bp-asm.h".
5885         (PARMS): Do not use macros from bp-asm.h.
5886         (STR): Likewise.
5887         (CHR): Likewise.
5888         (__rawmemchr): Do not use BP_SYM.
5889         (rawmemchr): Do not use BP_SYM in weak_alias.
5890         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5891         (PARMS): Do not use macros from bp-asm.h.
5892         (S): Likewise.
5893         (SIZE): Likewise.
5894         (__mpn_rshift): Do not use BP_SYM.
5895         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5896         (PARMS): Do not use macros from bp-asm.h.
5897         (SIGMSK): Likewise.
5898         (__sigsetjmp): Likewise.  Do not use BP_SYM.
5899         * sysdeps/i386/start.S: Do not include "bp-sym.h".
5900         (_start): Do not use BP_SYM.
5901         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5902         (PARMS): Do not use macros from bp-asm.h.
5903         (DEST): Likewise.
5904         (SRC): Likewise.
5905         (__stpcpy): Likewise.  Do not use BP_SYM.
5906         (stpcpy): Do not use BP_SYM in weak_alias.
5907         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5908         "bp-asm.h".
5909         (PARMS): Do not use macros from bp-asm.h.
5910         (DEST): Likewise.
5911         (SRC): Likewise.
5912         (LEN): Likewise.
5913         (__stpncpy): Likewise.  Do not use BP_SYM.
5914         (stpncpy): Do not use BP_SYM in weak_alias.
5915         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5916         (PARMS): Do not use macros from bp-asm.h.
5917         (STR): Likewise.
5918         (CHR): Likewise.
5919         (strchr): Likewise.  Do not use BP_SYM.
5920         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5921         "bp-asm.h".
5922         (PARMS): Do not use macros from bp-asm.h.
5923         (STR): Likewise.
5924         (CHR): Likewise.
5925         (__strchrnul): Likewise.  Do not use BP_SYM.
5926         (strchrnul): Do not use BP_SYM in weak_alias.
5927         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5928         "bp-asm.h".
5929         (PARMS): Do not use macros from bp-asm.h.
5930         (STOP): Likewise.
5931         (strcspn): Do not use BP_SYM.
5932         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5933         "bp-asm.h".
5934         (PARMS): Do not use macros from bp-asm.h.
5935         (STR): Likewise.
5936         (STOP): Likewise.
5937         (strpbrk): Likewise.  Do not use BP_SYM.
5938         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5939         "bp-asm.h".
5940         (PARMS): Do not use macros from bp-asm.h.
5941         (STR): Likewise.
5942         (CHR): Likewise.
5943         (strrchr): Likewise.  Do not use BP_SYM.
5944         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5945         (PARMS): Do not use macros from bp-asm.h.
5946         (SKIP): Likewise.
5947         (strspn): Do not use BP_SYM.
5948         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5949         (PARMS): Do not use macros from bp-asm.h.
5950         (STR): Likewise.
5951         (DELIM): Likewise.
5952         (SAVE): Likewise.
5953         (FUNCTION): Likewise.  Do not use BP_SYM.
5954         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5955         aliases.
5956         (strtok_r): Likewise.
5957         (__GI___strtok_r): Likewise.
5958         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5959         (PARMS): Do not use macros from bp-asm.h.
5960         (S1): Likewise.
5961         (S2): Likewise.
5962         (SIZE): Likewise.
5963         (__mpn_sub_n): Do not use BP_SYM.
5964         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5965         "bp-asm.h".
5966         (PARMS): Do not use macros from bp-asm.h.
5967         (S1): Likewise.
5968         (SIZE): Likewise.
5969         (__mpn_submul_1): Do not use BP_SYM.
5970         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5971         <bp-sym.h>.
5972         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5973         and <bp-asm.h>.
5974         (PARMS): Do not use macros from bp-asm.h.
5975         (FLAGS): Likewise.
5976         (PTID): Likewise.
5977         (TLS): Likewise.
5978         (CTID): Likewise.
5979         (__clone): Do not use BP_SYM.
5980         (clone): Do not use BP_SYM in weak_alias.
5981         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5982         and <bp-asm.h>.
5983         (PARMS): Do not use macros from bp-asm.h.
5984         (LEN): Likewise.
5985         (__mmap64): Do not use BP_SYM.
5986         (mmap64): Do not use BP_SYM in weak_alias.
5987         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5988         <bp-sym.h> and <bp-asm.h>.
5989         (PARMS): Do not use macros from bp-asm.h.
5990         (__posix_fadvise64_l64): Do not use BP_SYM.
5991         * sysdeps/unix/sysv/linux/i386/semtimedop.S
5992         (PARMS): Do not use macros from bp-asm.h.
5993         (NSOPS): Likewise.
5994         (semtimedop): Do not use BP_SYM.
5995         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5996         and <bp-asm.h>.
5998 2013-02-21  Allan McRae  <allan@archlinux.org>
6000         * manual/message.texi (Charset conversion in gettext):
6001         Move @end statement to beginning of line.
6003 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6005         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6006         static.
6007         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6008         Likewise.
6010         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6011         (denorm): Likewise.
6012         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6013         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6015 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6017         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6018         tail-call to the resolved function if pltexit isn't needed.
6020 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6023         or Y being zero as being unlikely.
6024         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6025         Likewise.
6027 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
6029         * manual/nss.texi (System Databases and Name Service Switch):
6030         Remove frobnicate @pxref.
6032 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6034         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6035         __attribute__ ((unused)) to __attribute__ ((__unused__)).
6037 2013-02-20  Petr Machata  <pmachata@redhat.com>
6039         * elf/elf.h (R_ARM_TARGET1): New macro.
6040         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6041         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6042         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6043         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6044         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6045         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6046         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6047         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6048         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6049         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6050         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6051         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6052         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6053         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6054         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6055         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6056         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6057         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6058         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6059         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6060         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6061         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6062         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6063         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6064         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6065         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6066         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6067         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6068         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6069         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6070         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6071         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6072         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6073         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6074         (R_ARM_THM_GOT_BREL12): Likewise.
6075         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6076         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6077         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6078         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6079         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6080         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6081         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6082         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6083         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6085 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6087         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6088         __attribute_used__ to __attribute__ ((unused)).
6090 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6092         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6093         powerpc mpa.c.
6094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6095         comment formatting.
6096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6098 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
6100         [BZ #13550]
6101         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6102         Remove macro.
6103         (ENTER): Remove both macro definitions.
6104         (LEAVE): Likewise.
6105         (CHECK_BOUNDS_LOW): Likewise.
6106         (CHECK_BOUNDS_HIGH): Likewise.
6107         (CHECK_BOUNDS_BOTH): Likewise.
6108         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6109         (RETURN_BOUNDED_POINTER): Likewise.
6110         (RETURN_NULL_BOUNDED_POINTER): Likewise.
6111         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6112         (POP_ERRNO_LOCATION_RETURN): Likewise.
6113         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6114         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6115         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6116         macros.
6117         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6118         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6119         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6120         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6121         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6122         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6123         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6124         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6125         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6126         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6127         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6128         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6129         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6130         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6131         removed macros.
6132         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6133         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6134         macros.
6135         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6136         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6137         * sysdeps/i386/i586/memset.S (memset): Likewise.
6138         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6139         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6140         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6141         macros.
6142         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6143         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6144         Change uses of L(2) to L(out).
6145         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6146         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6147         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6148         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6149         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6150         removed macros.
6151         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6152         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6153         macros.
6154         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6155         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6156         (RETURN): Do not use macro LEAVE.
6157         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6158         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6159         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6160         * sysdeps/i386/i686/memset.S (memset): Likewise.
6161         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6162         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6163         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6164         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6165         Likewise.
6166         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6167         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
6168         L(1_2) and L(1_3) into L(1).
6169         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6170         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6171         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6172         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6173         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6174         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6175         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6176         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6177         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6178         macros.
6179         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6180         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6181         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6182         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6183         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6184         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6185         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6186         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6187         * sysdeps/i386/strcspn.S (strcspn): Likewise.
6188         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6189         * sysdeps/i386/strrchr.S (strrchr): Likewise.
6190         * sysdeps/i386/strspn.S (strspn): Likewise.
6191         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6192         conditional code.
6193         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6194         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6195         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6196         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
6197         L(1_3) into L(1_1).
6198         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6199         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6200         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6201         macros.
6202         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6204 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
6206         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6207         macro.
6209 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6211         * math/atest-exp.c (exp_mpn): Remove ROUND.
6212         * math/atest-exp2.c (exp_mpn): Likewise.
6213         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6215         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6216         * stdlib/tst-tls-atexit-lib.c: Likewise.
6217         * stdlib/tst-tls-atexit.c: Likewise.
6219 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6221         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6222         and __attribute_alloc_size__.
6224 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6226         * include/programs/xmalloc.h: Change __attribute_alloc_size to
6227         __attribute_alloc_size__.
6228         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6229         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6231 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6233         * include/programs/xmalloc.h: New file.
6234         * catgets/gencat.c: Include it.
6235         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6236         * elf/pldd.c: Likewise.
6237         * iconv/iconv_charmap.c: Likewise.
6238         * iconv/iconvconfig.c: Likewise.
6239         * iconv/strtab.c: Likewise.
6240         * locale/programs/locale.c: Likewise.
6241         * locale/programs/localedef.h: Likewise.
6242         * locale/programs/simple-hash.c: Likewise.
6243         * nscd/nscd.h: Likewise.
6244         * nss/makedb.c: Likewise.
6245         * sysdeps/generic/ldconfig.h: Likewise.
6247 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6249         * Versions.def: Add GLIBC_2.18.
6250         * include/link.h (struct link_map): New member l_tls_dtor_count.
6251         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6252         (__call_tls_dtors): Likewise.
6253         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6254         __cxa_thread_atexit_impl.
6255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6256         Likewise.
6257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6258         Likewise.
6259         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6260         Likewise.
6261         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6262         Likewise.
6263         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6264         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6265         Likewise.
6266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6267         Likewise.
6268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6270         Likewise.
6271         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6272         (tests): Add test case tst-tls-atexit.
6273         (modules-names): Add shared library for tst-tls-atexit.
6274         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6275         (GLIBC_PRIVATE): Add __call_tls_dtors.
6276         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6277         for libstdc++.
6278         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6279         * stdlib/tst-tls-atexit.c: New test case.
6280         * stdlib/tst-tls-atexit-lib.c: New test case.
6282         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6284         * elf/Versions (ld): Add _dl_find_dso_for_object.
6285         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6286         * elf/dl-open.c (_dl_find_dso_for_object): New function.
6287         (dl_open_worker): Use _dl_find_dso_for_object.
6288         * elf/dl-sym.c (do_sym): Likewise.
6289         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6291 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6293         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6294         Syntactic changes only.
6295         (_dl_runtime_profile): Do a tail-call to the resolved function.
6297 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
6299         [BZ #13550]
6300         * sysdeps/x86_64/bp-asm.h: Remove file.
6301         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6302         <bp-sym.h> and <bp-asm.h>.
6303         (__clone): Do not use BP_SYM.
6304         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6305         <bp-sym.h> and <bp-asm.h>.
6306         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6307         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6308         "bp-asm.h".
6309         (_setjmp): Do not use BP_SYM.
6310         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6311         "bp-asm.h".
6312         (setjmp): Do not use BP_SYM.
6313         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6314         libc_hidden_def.
6315         (mempcpy): Do not use BP_SYM in weak_alias.
6316         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6317         "bp-asm.h".
6318         (strchr): Do not use BP_SYM.
6319         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6320         "bp-asm.h".
6321         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6322         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6323         (_start): Do not use BP_SYM.
6324         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6325         "bp-asm.h".
6326         (strcat): Do not use BP_SYM.
6327         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6328         "bp-asm.h".
6329         (STRCMP): Do not use BP_SYM.
6330         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6331         "bp-asm.h".
6332         (STRCPY): Do not use BP_SYM.
6333         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6334         "bp-asm.h".
6335         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6336         "bp-asm.h".
6337         (FUNCTION): Do not use BP_SYM.
6338         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6339         weak_alias.
6340         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6342 2013-02-17  Andreas Jaeger  <aj@suse.de>
6344         * time/Versions: Sort entries.
6345         * string/Versions: Likewise.
6346         * resolv/Versions: Likewise.
6347         * posix/Versions: Likewise.
6348         * iconv/Versions: Likewise.
6349         * elf/Versions: Likewise.
6350         * wcsmbs/Versions: Likewise.
6352 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6354         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6355         loop termination condition.
6357         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6358         variable to calculate EZ.
6359         (__sqr): Likewise.
6361         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6362         the lower precision input.
6364 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
6366         [BZ #13550]
6367         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6368         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6369         (run-via-rtld-prefix): Do not handle %-bp tests.
6370         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6371         (all-object-suffixes): Remove .ob.
6372         (bppfx): Remove variable.
6373         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6374         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6375         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6376         [$(build-bounded) = yes] (libtype.ob): Likewise.
6377         * Makerules (elide-routines.ob): Remove variable.
6378         (do-tests-clean): Do not handle *-bp.out.
6379         (common-mostlyclean): Do not handle *-bp and *-bp.out.
6380         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6381         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6382         (tests): Do not include $(tests-bp.out).
6383         (xtests): Do not include $(xtests-bp.out).
6384         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6385         [$(build-bounded) = yes] ($(addprefix
6386         $(objpfx),$(binaries-bounded))): Remove rule.
6387         ($(objpfx)%-bp.out): Remove rule.
6388         * config.make.in (build-bounded): Remove variable.
6389         * crypt/Makefile [$(build-bounded) = yes]
6390         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6391         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6392         append to variable.
6393         [$(build-bounded) = yes] (install-lib): Likewise.
6394         [$(build-bounded) = yes] (generated): Likewise.
6395         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6396         Remove rule.
6397         * intl/Makefile [$(build-bounded) = yes]
6398         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6399         * math/Makefile [$(build-bounded) = yes]
6400         ($(tests:%=$(objpfx)%-bp): Likewise.
6401         * misc/Makefile [$(build-bounded) = yes]
6402         ($(objpfx)tst-tsearch-bp): Likewise.
6403         * nptl/Makeconfig (bounded-thread-library): Remove variable.
6404         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6405         Remove dependency.
6406         * string/Makefile (o-objects.ob): Remove variable.
6407         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6408         (CFLAGS-.ob): Remove variable.
6409         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6410         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6411         both definitions of variable.
6412         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6413         (ASFLAGS-.ob): Remove variable.
6415 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
6417         [BZ #13550]
6418         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6419         Remove __BOUNDED_POINTERS__ from condition.
6420         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6421         * string/bits/string2.h [!__NO_STRING_INLINES &&
6422         !__BOUNDED_POINTERS__]: Likewise.
6423         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6424         Likewise.
6425         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6426         Remove conditional code.
6427         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6428         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6429         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6430         condition.
6432         [BZ #13550]
6433         * csu/libc-start.c: Do not include <bp-sym.h>.
6434         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6435         * elf/dl-open.c: Do not include <bp-sym.h>.
6436         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6437         * math/fegetenv.c: Do not include <bp-sym.h>.
6438         (fegetenv): Do not use BP_SYM in versioned symbols.
6439         * nptl/sysdeps/pthread/bits/libc-lockP.h
6440         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6441         <bp-sym.h>.
6442         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6443         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6444         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6445         (__pthread_mutex_destroy): Likewise.
6446         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6447         (__pthread_mutex_lock): Likewise.
6448         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6449         (__pthread_mutex_trylock): Likewise.
6450         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6451         (__pthread_mutex_unlock): Likewise.
6452         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6453         (__pthread_mutexattr_init): Likewise.
6454         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6455         (__pthread_mutexattr_destroy): Likewise.
6456         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6457         (__pthread_mutexattr_settype): Likewise.
6458         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6459         (__pthread_rwlock_init): Likewise.
6460         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6461         (__pthread_rwlock_destroy): Likewise.
6462         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6463         (__pthread_rwlock_rdlock): Likewise.
6464         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6465         (__pthread_rwlock_tryrdlock): Likewise.
6466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6467         (__pthread_rwlock_wrlock): Likewise.
6468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6469         (__pthread_rwlock_trywrlock): Likewise.
6470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6471         (__pthread_rwlock_unlock): Likewise.
6472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6473         (__pthread_key_create): Likewise.
6474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6475         (__pthread_setspecific): Likewise.
6476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6477         (__pthread_getspecific): Likewise.
6478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6479         Likewise.
6480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6481         (_pthread_cleanup_push_defer): Likewise.
6482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6483         (_pthread_cleanup_pop_restore): Likewise.
6484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6485         (pthread_setcancelstate): Likewise.
6486         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6487         <bp-sym.h>.
6488         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6489         (memchr): Do not use BP_SYM in weak_alias.
6490         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6491         (fegetenv): Do not use BP_SYM in versioned symbols.
6492         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6493         (fesetenv): Do not use BP_SYM in versioned symbols.
6494         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6495         (feupdateenv): Do not use BP_SYM in versioned symbols.
6496         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6497         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6498         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6499         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6500         (open64): Do not use BP_SYM in weak_alias.
6501         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6502         (fegetenv): Do not use BP_SYM in versioned symbols.
6503         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6504         (fesetenv): Do not use BP_SYM in versioned symbols.
6505         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6506         (feupdateenv): Do not use BP_SYM in versioned symbols.
6507         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6508         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6509         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6510         (feraiseexcept): Do not use BP_SYM in versioned symbols.
6511         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6512         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6513         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6514         <bp-sym.h>.
6515         (__libc_start_main): Do not use BP_SYM.
6517 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6519         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6520         redundant return line.
6521         (norm): Likewise.
6522         (denorm): Likewise.
6523         (dbl_mp): Likewise.
6524         (sub_magnitudes): Likewise.
6525         (__add): Likewise.
6526         (__sub): Likewise.
6527         (__mul): Likewise.
6528         (__inv): Likewise.
6529         (__dvd): Likewise.
6530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6531         (norm): Likewise.
6532         (denorm): Likewise.
6533         (dbl_mp): Likewise.
6534         (sub_magnitudes): Likewise.
6535         (__add): Likewise.
6536         (__sub): Likewise.
6537         (__mul): Likewise.
6538         (__inv): Likewise.
6539         (__dvd): Likewise.
6541         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6542         instead of __mul.
6543         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6544         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6545         (cc32): Likewise.
6547         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6548         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6549         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6550         of __mul for squares.
6551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6552         function
6553         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6554         Likewise.
6555         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6556         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6558 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
6560         [BZ #13550]
6561         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6562         code.
6563         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6564         prototype or function definition.  Rename ubp_* variables and
6565         parameters.  Remove argv definitions conditional on
6566         [__BOUNDED_POINTERS__].
6567         * debug/backtrace.c (__backtrace): Do not use __unbounded.
6568         * elf/dl-runtime.c (_dl_fixup): Likewise.
6569         * include/set-hooks.h (RUN_HOOK): Likewise.
6570         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6571         definition.
6572         * string/strcpy.c (strcpy): Do not use __unbounded.
6573         * sysdeps/generic/frame.h (struct layout): Likewise.
6574         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6575         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6576         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6577         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6578         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6579         (__backtrace): Likewise.
6580         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6581         use __ptrvalue.
6582         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6583         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6584         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6585         Likewise.
6586         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6587         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6588         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6589         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6590         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6591         Do not use __unbounded.
6592         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6593         Rename __unboundedrlimits parameter to rlimits in prototype.
6594         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6595         Do not use __unbounded.
6596         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6597         not use __ptrvalue.
6598         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6599         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6600         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6601         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6602         __ptrvalue or __unbounded.
6603         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6604         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6605         use __unbounded.
6606         (__new_msgctl): Do not use __ptrvalue.
6607         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6608         __unbounded.
6609         (__libc_msgrcv): Do not use __ptrvalue.
6610         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6611         startup_info): Do not use __unbounded.
6612         (__libc_start_main): Likewise.  Rename ubp_* variables and
6613         parameters.  Remove argv definitions conditional on
6614         [__BOUNDED_POINTERS__].
6615         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6616         __ptrvalue.
6617         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6618         use __unbounded.
6619         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6620         or __ptrvalue.
6621         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6622         use __unbounded.
6623         (__new_shmctl): Do not use __ptrvalue.
6624         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6625         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6626         Likewise.
6627         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6628         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6629         (__libc_sigaction): Likewise.
6630         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6631         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6632         Likewise.
6633         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6635 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6637         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6639         * string/mempcpy.c: Implement by calling memcpy.
6641 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6643         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6645         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6646         evaluation.
6648         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6649         values in the mantissa.
6651         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6652         minimize writes to Z.
6653         (sub_magnitudes): Simplify code a bit.
6655 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6657         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6658         from the message.  The linker prefixes all warnings with that already.
6660 2013-02-12  Andreas Schwab  <schwab@suse.de>
6662         [BZ #15078]
6663         * posix/regexec.c (extend_buffers): Add parameter min_len.
6664         (check_matching): Pass minimum needed length.
6665         (clean_state_log_if_needed): Likewise.
6666         (get_subexp): Likewise.
6667         * posix/Makefile (tests): Add bug-regex34.
6668         (bug-regex34-ENV): Define.
6669         * posix/bug-regex34.c: New file.
6671         [BZ #11561]
6672         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6673         elements compare against the byte sequence of it, not its name.
6674         * posix/Makefile (tests): Add bug-regex35.
6675         (bug-regex35-ENV): Define.
6676         * posix/bug-regex35.c: New file.
6678 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6680         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6681         comment.
6682         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6683         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6684         (CHECK_EOL): Add undef.
6686 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
6688         * bits/stdlib-bsearch.h: New file.
6689         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6690         * stdlib/stdlib.h: Likewise.
6692 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6694         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6695         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6696         declaration.
6697         * manual/search.texi (Array Search Function): Add missing const in
6698         lfind prototype.
6699         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6700         declaration to use rlim_t.
6701         (Basic Scheduling Functions): Remove erroneous const from
6702         sched_getparam prototype.  Remove erroneous * from
6703         sched_get_priority_max and sched_get_priority_min prototypes.
6704         (Resource Usage): Fix summary @comment on vtimes to refer to
6705         sys/vtimes.h rather than vtimes.h.
6706         Add missing *s in vtimes prototype.
6707         (Limits on Resources): Fix ulimit prototype to return long int.
6708         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6709         prototypes to use long int rather than double.
6710         (BSD Random): Fix initstate and setstate to use char *, not void *.
6711         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6712         prototype to make second argument 'struct aiocb64 *const[]'.
6713         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6714         (Status of AIO Operations): Remove erroneous const in aio_return and
6715         aio_return64 prototypes.
6716         (Synchronizing I/O): Fix sync prototype to return void.
6717         * manual/startup.texi (Suboptions): Remove an erroneous const in
6718         getsubopt prototype.
6719         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6720         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6721         use size_t rather than int.
6722         (Scanning All Users): Likewise for getpwent_r.
6723         (Setting Groups): Add missing const to setgroups prototype.
6724         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6725         * manual/socket.texi (Host Names): Fix gethostbyaddr and
6726         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6727         'const void *' rather than 'const char *'.
6728         (Host Address Functions): Likewise for inet_ntop.
6729         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6730         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6731         ssize_t for return value.
6732         (Sending Data): Likewise for send, sendto, sendmsg.
6733         (Socket Option Functions): Add a missing const in setsockopt prototype.
6734         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6735         use wchar_t for the argument.
6736         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6737         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6738         take no arguments.
6739         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6740         double/float/long double for second argument.
6741         Fix return types of significand, significandf, significandl.
6742         * manual/filesys.texi (Setting Permissions): Use mode_t for second
6743         argument in fchmod prototype.
6744         (File Owner): Use uid_t and gid_t in fchown prototype.
6745         (File Times): Add const to utimes, futimes, and lutimes prototypes.
6746         (Making Special Files): Use mode_t and dev_t in mknod prototype.
6747         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6748         use 'const struct dirent **' as argument types to CMP function pointer
6749         argument.
6750         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6751         (File Times): Fix summary magic @comment for struct utimbuf and utime
6752         to refer to utime.h, not time.h.
6753         * manual/string.texi (Argz Functions): Add missing const in
6754         argz_extract and argz_next prototypes.
6755         (Finding Tokens in a String): Likewise for basename.
6756         (String/Array Comparison): Fix typo in wcscasecmp prototype.
6757         (Copying and Concatenation): Fix typo in wmemmove prototype.
6758         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6759         (Signal Stack): Remove erroneous const in sigstack prototype.
6760         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6761         prototype.
6762         (Simple Calendar Time): Likewise for stime.
6763         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6764         prototype.
6765         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6766         say sys/sysctl.h instead.
6767         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6768         and vsyslog prototypes.
6770 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6772         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6773         Remove.
6775 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6777         * misc/sys/mman.h: Fix typo in mremap comment.
6779 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6781         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6782         the '\0' terminator.
6784 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6786         [BZ #13550]
6787         * debug/segfault.c: Don't include <bp-checks.h>.
6788         * sysdeps/generic/bp-checks.h: Remove file.
6789         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6790         (__GETDENTS): Don't use CHECK_N.
6791         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6792         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6793         (__getgroups): Don't use CHECK_N.
6794         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6795         (setgroups): Don't use CHECK_N.
6796         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6797         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6798         (__libc_msgrcv): Don't use CHECK_N.
6799         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6800         (__libc_msgsnd): Don't use CHECK_N.
6801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6802         <bp-checks.h>.
6803         (__libc_pread): Don't use CHECK_N.
6804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6805         include <bp-checks.h>.
6806         (__libc_pread64): Don't use CHECK_N.
6807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6808         include <bp-checks.h>.
6809         (__libc_pwrite): Don't use CHECK_N.
6810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6811         include <bp-checks.h>.
6812         (__libc_pwrite64): Don't use CHECK_N.
6813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6814         <bp-checks.h>.
6815         (__libc_pread): Don't use CHECK_N.
6816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6817         include <bp-checks.h>.
6818         (__libc_pread64): Don't use CHECK_N.
6819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6820         include <bp-checks.h>.
6821         (__libc_pwrite): Don't use CHECK_N.
6822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6823         include <bp-checks.h>.
6824         (__libc_pwrite64): Don't use CHECK_N.
6825         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6826         (do_pread): Don't use CHECK_N.
6827         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6828         (do_pread64): Don't use CHECK_N.
6829         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6830         (do_pwrite): Don't use CHECK_N.
6831         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6832         (do_pwrite64): Don't use CHECK_N.
6833         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6834         (__libc_readv): Don't use CHECK_N.
6835         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6836         (semop): Don't use CHECK_N.
6837         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6838         <bp-checks.h>.
6839         (semtimedop): Don't use CHECK_N.
6840         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6841         (__libc_pread): Don't use CHECK_N.
6842         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6843         <bp-checks.h>.
6844         (__libc_pread64): Don't use CHECK_N.
6845         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6846         <bp-checks.h>.
6847         (__libc_pwrite): Don't use CHECK_N.
6848         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6849         <bp-checks.h>.
6850         (__libc_pwrite64): Don't use CHECK_N.
6851         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6852         <bp-checks.h>.
6853         (__libc_msgrcv): Don't use CHECK_N.
6854         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6855         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
6856         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6857         (__libc_writev): Don't use CHECK_N.
6859 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6861         * string/strcpy.c: Removed unused variable.
6863         * Makeconfig (+sysdep-includes): Define with := rather than =.
6864         Use an existing include/ subdir of each sysdeps dir before it.
6866 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6868         * nscd/connection.c (register_traced_file): Comment function.
6869         [HAVE_INOTIFY] (union __inev): Define.
6870         [HAVE_INOTIFY] (inotify_check_files): New function.
6871         [HAVE_INOTIFY] (clear_db_cache): Likewise.
6872         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6873         clear_db_cache.
6874         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6876 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6878         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6879         loaded if not already and that a failure is permanent.
6881 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6883         [BZ #15006]
6884         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6885         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6887 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6889         [BZ #13550]
6890         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6891         (CHECK_1_NULL_OK): Likewise.
6892         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6893         (__fxstat): Do not use CHECK_1.
6894         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6895         <bp-checks.h>.
6896         (___fxstat64): Do not use CHECK_1.
6897         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6898         <bp-checks.h>.
6899         (__fxstatat): Do not use CHECK_1.
6900         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6901         <bp-checks.h>.
6902         (__fxstatat64): Do not use CHECK_1.
6903         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6904         <bp-checks.h>.
6905         (__fxstat): Do not use CHECK_1.
6906         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6907         <bp-checks.h>.
6908         (__fxstatat): Do not use CHECK_1.
6909         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6910         <bp-checks.h>.
6911         (__getresgid): Do not use CHECK_1.
6912         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6913         <bp-checks.h>.
6914         (__getresuid): Do not use CHECK_1.
6915         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6916         <bp-checks.h>.
6917         (__lxstat): Do not use CHECK_1.
6918         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6919         <bp-checks.h>.
6920         (__old_msgctl): Do not use CHECK_1.
6921         (__new_msgctl): Likewise.
6922         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6923         <bp-checks.h>.
6924         (__new_setrlimit): Do not use CHECK_1.
6925         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6926         <bp-checks.h>.
6927         (__old_shmctl): Do not use CHECK_1.
6928         (__new_shmctl): Likewise.
6929         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6930         <bp-checks.h>.
6931         (__xstat): Do not use CHECK_1.
6932         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6933         (__lxstat): Do not use CHECK_1.
6934         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6935         <bp-checks.h>.
6936         (___lxstat64): Do not use CHECK_1.
6937         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6938         (__old_msgctl): Do not use CHECK_1.
6939         (__new_msgctl): Likewise.
6940         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6941         <bp-checks.h>.
6942         (__gettimeofday): Do not use CHECK_1.
6943         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6944         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6945         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6946         <bp-checks.h>.
6947         (__gettimeofday): Do not use CHECK_1.
6948         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6949         (__old_shmctl): Do not use CHECK_1_NULL_OK.
6950         (__new_shmctl): Do not use CHECK_1.
6951         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6952         <bp-checks.h>.
6953         (do_sigtimedwait): Do not use CHECK_1.
6954         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6955         <bp-checks.h>.
6956         (do_sigwaitinfo): Do not use CHECK_1.
6957         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6958         <bp-checks.h>.
6959         (msgctl): Do not use CHECK_1.
6960         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6961         <bp-checks.h>.
6962         (shmctl): Do not use CHECK_1.
6963         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6964         (ustat): Do not use CHECK_1.
6965         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6966         <bp-checks.h>.
6967         (__fxstat): Do not use CHECK_1.
6968         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6969         <bp-checks.h>.
6970         (__fxstatat): Do not use CHECK_1.
6971         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6972         <bp-checks.h>.
6973         (__lxstat): Do not use CHECK_1.
6974         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6975         <bp-checks.h>.
6976         (__xstat): Do not use CHECK_1.
6977         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6978         (__xstat): Do not use CHECK_1.
6979         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6980         (___xstat64): Do not use CHECK_1.
6982         [BZ #13550]
6983         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6984         definitions.
6985         (CHECK_BOUNDS_HIGH): Likewise.
6986         * string/strcpy.c: Do not include <bp-checks.h>.
6987         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6989 2013-02-07  Roland McGrath  <roland@hack.frob.com>
6991         * nscd/nscd-client.h (__nscd_drop_map_ref):
6992         Add __attribute__ ((unused)).
6993         * nis/nss-nisplus.h (niserr2nss): Likewise.
6995         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6996         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6998         * csu/libc-tls.c (init_static_tls, init_slotinfo):
6999         Remove inline keyword.
7000         * include/rounding-mode.h (round_away): Likewise.
7001         * libio/wfileops.c (adjust_wide_data): Likewise.
7002         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7003         (__m128i_strloadu_tolower): Likewise.
7004         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7005         (__m128i_strloadu_tolower): Likewise.
7006         * time/mktime.c (ydhms_diff): Likewise.
7007         * locale/elem-hash.h (elem_hash): Likewise.
7008         * locale/setlocale.c (setdata): Likewise.
7009         * posix/regex_internal.h (re_string_char_size_at): Likewise.
7010         (re_string_wchar_at): Likewise.
7011         (bitset_not, bitset_merge, bitset_mask): Likewise.
7012         [!(__GNUC__ > 3)] (inline): Remove macro.
7013         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7014         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7015         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7016         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7017         * string/memcmp.c (memcmp_bytes): Likewise.
7018         * locale/programs/locarchive.c (compute_hashval): Likewise.
7019         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7020         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7021         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7022         * nss/getent.c (print_rpc, print_protocols): Likewise.
7023         (print_passwd, print_group, print_aliases): Likewise.
7024         * nis/nss-nisplus.h (niserr2nss): Likewise.
7025         * nscd/connections.c (restart_p): Likewise.
7026         Change return type to bool.
7028 2013-02-05  Roland McGrath  <roland@hack.frob.com>
7030         * Makeconfig (all-Depend-files): Add existing
7031         $(sorted-subdirs:=/Depend) files.
7032         (all-subdirs): Remove nss.
7033         * sysdeps/unix/inet/Subdirs: Add it here instead.
7034         * hesiod/Depend: New file.
7036         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7037         instead of calling alloca.
7039         * io/lseek.c (__lseek): Rename to __libc_lseek.
7040         Define __lseek as an alias.
7042         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7044 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
7046         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7047         else clause and remove check for non-standard endianness.
7049 2013-02-04  David S. Miller  <davem@davemloft.net>
7051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7053 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
7055         [BZ #13550]
7056         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7057         (__ubp_memchr): Remove prototype.
7058         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7059         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7060         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7061         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7062         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7063         Remove alias.
7064         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7065         (__ubp_memchr): Likewise.
7066         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7067         (__ubp_memchr): Likewise.
7068         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7069         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7070         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7071         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7072         CHECK_STRING.
7073         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7074         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7075         (__getcwd): Do not use CHECK_STRING.
7076         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7077         <bp-checks.h>.
7078         (__real_chown): Do not use CHECK_STRING.
7079         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7080         <bp-checks.h>.
7081         (fchownat): Do not use CHECK_STRING.
7082         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7083         CHECK_STRING.
7084         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7085         <bp-checks.h>.
7086         (__lchown): Do not use CHECK_STRING.
7087         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7088         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7089         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7090         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7092         include <bp-checks.h>.
7093         (truncate64): Do not use CHECK_STRING.
7094         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7095         <bp-checks.h>.
7096         (__real_chown): Do not use CHECK_STRING.
7097         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7098         <bp-checks.h>.
7099         (__lchown): Do not use CHECK_STRING.
7100         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7101         <bp-checks.h>.
7102         (__chown): Do not use CHECK_STRING.
7103         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7104         <bp-checks.h>.
7105         (truncate64): Do not use CHECK_STRING.
7106         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7107         Likewise.
7108         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7109         (__xmknod): Do not use CHECK_STRING.
7110         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7111         <bp-checks.h>.
7112         (__xmknodat): Do not use CHECK_STRING.
7113         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7114         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7116 2013-02-04  Andreas Schwab  <schwab@suse.de>
7118         [BZ #14142]
7119         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7120         * include/netdb.h: Likewise for h_errno.
7121         * elf/tst-stackguard1.c: Include <tls.h>.
7123 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7125         * elf/link.h (struct link_map): Extend the l_addr comment.
7126         * include/link.h (struct link_map): Likewise.
7128 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
7130         [BZ #13550]
7131         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7132         (BOUNDED_1): Remove macro.
7133         * debug/backtrace.c: Don't include <bp-checks.h>.
7134         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7135         (__backtrace): Likewise.
7136         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7137         <bp-checks.h>.
7138         (__backtrace): Don't use BOUNDED_1.
7139         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7140         <bp-checks.h>.
7141         (__backtrace): Don't use BOUNDED_1.
7142         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7143         (__backtrace): Don't use BOUNDED_1.
7144         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7145         (shmat): Don't use BOUNDED_N.
7147 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
7149         [BZ #13550]
7150         * sysdeps/generic/bp-start.h: Remove file.
7151         * csu/libc-start.c: Don't include <bp-start.h>.
7152         (LIBC_START_MAIN): Set up __environ directly instead of using
7153         INIT_ARGV_and_ENVIRON.
7154         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7155         <bp-start.h>.
7157         [BZ #13550]
7158         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7159         definitions.
7160         (CHECK_FCNTL): Likewise.
7161         (CHECK_N_PAGES): Likewise.
7163         [BZ #13550]
7164         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7165         definitions.
7166         (CHECK_SIGSET_NULL_OK): Likewise.
7167         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7168         <bp-checks.h>.
7169         (sigpending): Don't use CHECK_SIGSET.
7170         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7171         <bp-checks.h>.
7172         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7173         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7174         <bp-checks.h>.
7175         (do_sigsuspend): Don't use CHECK_SIGSET.
7176         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7177         use CHECK_SIGSET.
7178         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7179         (do_sigwait): Don't use CHECK_SIGSET.
7180         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7181         use CHECK_SIGSET.
7182         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7183         include <bp-checks.h>.
7184         (sigpending): Don't use CHECK_SIGSET.
7185         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7186         include <bp-checks.h>.
7187         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7188         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7189         <bp-checks.h>.
7190         (sigpending): Don't use CHECK_SIGSET.
7191         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7192         <bp-checks.h>.
7193         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7195         [BZ #13550]
7196         * sysdeps/generic/bp-semctl.h: Remove file.
7197         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7198         <bp-checks.h> and <bp-semctl.h>.
7199         (__old_semctl): Don't use CHECK_SEMCTL.
7200         (__new_semctl): Likewise.
7201         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7202         and <bp-semctl.h>.
7203         (__old_semctl): Don't use CHECK_SEMCTL.
7204         (__new_semctl): Likewise.
7205         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7206         <bp-checks.h> and <bp-semctl.h>.
7207         (__old_semctl): Don't use CHECK_SEMCTL.
7208         (__new_semctl): Likewise.
7209         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7210         <bp-checks.h> and <bp-semctl.h>.
7211         (semctl): Don't use CHECK_SEMCTL.
7213         [BZ #13550]
7214         * Makerules (elide-bp-thunks): Remove variable.
7215         (elide-routines.oS): Don't use $(elide-bp-thunks).
7216         (elide-routines.os): Likewise.
7217         (elide-routines.o): Likewise.
7218         (elide-routines.op): Likewise.
7219         (elide-routines.og): Likewise.
7220         (objects): Don't use $(bp-thunks).
7221         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7222         include.
7223         (common-generated): Do not add s-proto-bp.d.
7224         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7225         (int): Likewise.
7226         (typ): Likewise.
7227         Do not generate makefile rules for bounded-pointer thunks.
7228         * sysdeps/generic/bp-thunks.h: Remove file.
7229         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7230         * sysdeps/unix/s-proto-bp.S: Likewise.
7232         [BZ #15062]
7233         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7234         parts of result separately when argument is not close to line from
7235         -i to i and one part of argument is small.
7236         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7237         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7238         * math/libm-test.inc (cacos_test): Add more tests.
7239         (casin_test): Likewise.
7240         (casinh_test): Likewise.
7241         * sysdeps/i386/fpu/libm-test-ulps: Update.
7242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7244 2013-01-31  David S. Miller  <davem@davemloft.net>
7246         * po/de.po: Update from translation team.
7248 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
7250         * time/tzfile.c: Include stdint.h for SIZE_MAX.
7252 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
7254         * configure.in (_AC_PROG_CC_C89): New definition.
7255         * configure: Regenerate.
7257         * configure.in (AC_PROG_CPP): New definition.
7258         * configure: Regenerate.
7260 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7262         * debug/tst-backtrace.h: New file.
7263         * debug/tst-backtrace2.c: Include tst-backtrace.h.
7264         (ret): Remove variable.
7265         (x): Likewise.
7266         (FAIL): Remove macro.
7267         (NO_INLINE): Likewise.
7268         (fn1): Use match function instead of strstr.
7269         * debug/tst-backtrace3.c: Include tst-backtrace.h.
7270         (ret): Remove variable.
7271         (x): Likewise.
7272         (FAIL): Remove macro.
7273         (NO_INLINE): Likewise.
7274         (fn): Use match function instead of strstr.
7275         * debug/tst-backtrace4.c: Include tst-backtrace.h.
7276         (ret): Remove variable.
7277         (x): Likewise.
7278         (FAIL): Remove macro.
7279         (NO_INLINE): Likewise.
7280         (handle_signal): Use match function instead of strstr.
7281         * debug/tst-backtrace5.c: Include tst-backtrace.h.
7282         (ret): Remove variable.
7283         (x): Likewise.
7284         (FAIL): Remove macro.
7285         (NO_INLINE): Likewise.
7286         (handle_signal): Use match function instead of strstr.
7288 2013-01-23  Roland McGrath  <roland@hack.frob.com>
7290         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7292 2013-01-23  David S. Miller  <davem@davemloft.net>
7294         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7295         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7296         argument of CAS if possible.
7297         * sysdeps/sparc/sparc64/bits/atomic.h
7298         (__arch_compare_and_exchange_val_32_acq): Likewise.
7299         (__arch_compare_and_exchange_val_64_acq): Likewise.
7301 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
7303         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7304         * sysdeps/posix/ulimit.c: ... this.
7305         Include <limits.h>.
7306         * sysdeps/unix/bsd/ulimit.c: Remove file.
7308 2013-01-23  Adam Conrad  <adconrad@0c3.net>
7310         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7311         (LDFLAGS-tst-array5): Likewise.
7313 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7315         [BZ #15036]
7316         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7317         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7318         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7319         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7321 2013-01-21  David S. Miller  <davem@davemloft.net>
7323         * sysdeps/sparc/backtrace.c: New file.
7324         * sysdeps/sparc/sparc32/backtrace.h: New file.
7325         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7326         * sysdeps/sparc/sparc64/backtrace.h: New file.
7327         * sysdeps/sparc/sparc64/backtrace.c: Delete.
7328         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7329         -funwind-tables.
7331 2013-01-21  Andreas Schwab  <schwab@suse.de>
7333         [BZ #15020]
7334         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7335         closed its stdout.
7337 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
7339         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7340         "mpa2.h".
7341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7343 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
7344             Mark Mitchell  <mark@codesourcery.com>
7345             Tom de Vries  <tom@codesourcery.com>
7346             Paul Pluzhnikov  <ppluzhnikov@google.com>
7348         * debug/tst-backtrace2.c: New file.
7349         * debug/tst-backtrace3.c: Likewise.
7350         * debug/tst-backtrace4.c: Likewise.
7351         * debug/tst-backtrace5.c: Likewise.
7352         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7353         (CFLAGS-tst-backtrace3.c): Likewise.
7354         (CFLAGS-tst-backtrace4.c): Likewise.
7355         (CFLAGS-tst-backtrace5.c): Likewise.
7356         (LDFLAGS-tst-backtrace2): Likewise.
7357         (LDFLAGS-tst-backtrace3): Likewise.
7358         (LDFLAGS-tst-backtrace4): Likewise.
7359         (LDFLAGS-tst-backtrace5): Likewise.
7360         (tests): Add new tests tst-backtrace2, tst-backtrace3,
7361         tst-backtrace4 and tst-backtrace5.
7363 2013-01-18  Anton Blanchard  <anton@samba.org>
7364             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7366         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7367         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7368         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7369         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7371         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7372         "+r" and remove output regs list as redundant.  Add explicit inline
7373         asm to specify register of return val to work around compiler codegen
7374         bug.  Remove (int) cast on return value.  Add return type parameter to
7375         use in macro so that this macro does not truncate return value for
7376         64-bit values.
7377         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7378         pass to INTERNAL_VSYSCALL_NCS.
7379         (INLINE_VSYSCALL): Add 'long int' as return type to
7380         INTERNAL_VSYSCALL_NCS macro invocation.
7381         (INTERNAL_VSYSCALL): Add 'long int' as return type to
7382         INTERNAL_VSYSCALL_NCS macro invocation.
7383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7385 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7387         [BZ #14496]
7388         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7389         Fix application of SIMD FP exception mask.
7391         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7392         mp_no from a power of two.
7393         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7394         __mpexp_twomm1.  Use __pow_mp.
7396         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7397         multiplication.
7399 2013-01-17  David S. Miller  <davem@davemloft.net>
7401         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7403 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7405         [BZ #15023]
7406         * include/complex.h: Condition contents on [!_COMPLEX_H].
7407         (__kernel_casinhf): New prototype.
7408         (__kernel_casinh): Likewise.
7409         (__kernel_casinhl): Likewise.
7410         * math/Makefile (libm_calls): Add k_casinh.
7411         * math/k_casinh.c: New file.
7412         * math/k_casinhf.c: Likewise.
7413         * math/k_casinhl.c: Likewise.
7414         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7415         finite nonzero arguments.
7416         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7417         finite nonzero arguments.
7418         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7419         finite nonzero arguments.
7420         * math/s_casinh.c: Do not include <float.h>.
7421         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7422         * math/s_casinhf.c: Do not include <float.h>.
7423         (__casinhf): Move code for finite nonzero arguments to
7424         k_casinhf.c.
7425         * math/s_casinhl.c: Do not include <float.h>.
7426         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7427         redefine.
7428         (__casinhl): Move code for finite nonzero arguments to
7429         k_casinhl.c.
7430         * math/libm-test.inc (cacos_test): Add more tests.
7431         * sysdeps/i386/fpu/libm-test-ulps: Update.
7432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7434 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
7436         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7437         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7438         [!HAVE_MREMAP]: Remove [defined linux] case.
7439         * malloc/arena.c: Do not include <malloc-sysdep.h>.
7441 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7443         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7445 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
7447         * elf/elf.h (R_386_SIZE32): New relocation.
7448         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7449         R_386_SIZE32.
7450         (elf_machine_rela): Likewise.
7451         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7452         R_X86_64_SIZE64 and R_X86_64_SIZE32.
7454 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7456         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7457         (FP_FAST_FMA): Do not define.
7458         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7459         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7460         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7461         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7462         !_SOFT_FLOAT]: Likewise.
7463         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7464         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7465         value.
7466         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7467         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7468         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7469         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7470         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7471         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7472         file.
7474 2013-01-16  Andreas Schwab  <schwab@suse.de>
7476         [BZ #14327]
7477         * include/stdlib.h (__mktemp): Add declaration.
7478         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7479         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7481 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7483         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7484         definitions.
7485         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7486         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7487         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7488         definitions here.
7489         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7490         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7491         definitions.
7492         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7493         and ONE.
7494         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7495         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7496         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7497         definitions.
7498         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7499         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7500         definitions.
7501         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7503         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7505 2013-01-15  David S. Miller  <davem@davemloft.net>
7507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7508         trunc{,f} to libm-sysdep_routes.
7509         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7511         file.
7512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7514         file.
7515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7516         file.
7517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7519         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7520         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7521         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7522         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7523         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7524         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7527         nearbyint{,f} to libm-sysdep_routes.
7528         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7530         New file.
7531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7532         file.
7533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7534         New file.
7535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7536         file.
7537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7539         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7540         file.
7541         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7542         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7543         file.
7544         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7545         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7546         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7548         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7549         libc_feholdexcept and libc_fesetenv.
7551 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
7553         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7555 2013-01-14  David S. Miller  <davem@davemloft.net>
7557         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7558         (SPARC_ASM_VIS2_IFUNC): Likewise.
7559         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7561         use of 'siam' instruction.
7562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7563         Likewise.
7564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7565         Likewise.
7566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7567         Likewise.
7568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7569         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7570         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7571         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7573         file.
7574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7575         file.
7576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7577         file.
7578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7579         file.
7580         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7581         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7582         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7583         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7585         new VIS2 routines.
7586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7589         Likewise.
7590         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7591         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7595         routines to libm-sysdep_routines.
7596         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7599         fdim/fdimf to libm-sysdep_routines.
7600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7601         file.
7602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7604         file.
7605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7606         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7607         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7608         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7609         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7610         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7611         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7613 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7615         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7616         to optimize copies.
7618         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7619         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7620         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7623         local variable MPTWO.
7624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7625         Likewise.
7627 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7629         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7630         GLOB_NOESCAPE.
7632 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7634         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7636 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7638         * manual/pattern.texi (glob_t): Document gl_flags.
7639         (glob64_t): Likewise.
7641 2013-01-11  David S. Miller  <davem@davemloft.net>
7643         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7644         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7645         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7646         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7647         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7648         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7649         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7650         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7651         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7652         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7653         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7654         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7655         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7657         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7658         sparc V9 rather than using V8 code.
7659         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7660         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7662         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7663         Move to...
7664         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7665         Here.
7667 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7669         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7670         not in the main loop.
7671         * configure: Regenerated.
7673 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7675         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7676         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7677         to just #else.
7678         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7679         [!__GLIBC_HAVE_LONG_LONG] case.
7680         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7681         condition to just #else.
7682         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7683         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7684         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7685         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7686         unconditional.
7687         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7688         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7689         #elif condition to just #else.
7690         * sysdeps/unix/sysv/linux/sys/sysmacros.h
7691         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7692         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7693         #elif condition to just #else.
7695 2013-01-11  Steve Ellcey  <sellcey@mips.com>
7697         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7698         (EF_MIPS_ARCH_64): Fix value.
7699         (EF_MIPS_ARCH_32R2): New.
7700         (EF_MIPS_ARCH_64R2): New.
7702 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
7704         * Makeconfig (+link-pie-before-libc): New.
7705         (+link-pie-after-libc): Likewise.
7706         (+link-pie-tests): Likewise.
7707         (+link-pie): Rewritten.
7708         (link-before-libc): Remove $(config-LDFLAGS).
7709         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7710         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7711         (config-LDFLAGS): Renamed to ...
7712         (rtld-LDFLAGS): This.
7713         (rtld-tests-LDFLAGS): New macro.
7714         (link-libc-rpath-link): Likewise.
7715         (link-libc-tests-rpath-link): Likewise.
7716         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7717         (link-libc): Prepand $(link-libc-rpath-link).
7718         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7719         (test-program-prefix): New macro.
7720         (test-via-rtld-prefix): Likewise.
7721         (test-program-cmd): Likewise.
7722         (host-test-program-cmd): Likewise.
7723         * Makefile ($(common-objpfx)testrun.sh): Replace
7724         $(run-program-prefix) with $(test-program-prefix).
7725         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7726         $(rtld-LDFLAGS).
7727         ($(common-objpfx)shlib.lds): Likewise.
7728         (build-module-helper): Likewise.
7729         ($(common-objpfx)format.lds): Likewise.
7730         * Rules (binaries-pie-tests): New.
7731         (binaries-pie-notests): Likewise.
7732         (binaries-pie): Rewritten.
7733         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7734         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7735         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7736         (make-test-out): Replace $(host-built-program-cmd) with
7737         $(host-test-program-cmd).
7738         * config.make.in (build-hardcoded-path-in-tests): New variable.
7739         * configure.in (--enable-hardcoded-path-in-tests): New configure
7740         option.
7741         (hardcoded_path_in_tests): New AC_SUBST.
7742         * configure: Regenerated.
7743         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7744         $(built-program-cmd) with $(test-program-cmd).
7745         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7746         (test_program_cmd): This.
7747         * elf/Makefile ($(objpfx)order.out): Run test with
7748         $(test-program-prefix).
7749         ($(objpfx)order2.out): Likewise.
7750         ($(objpfx)tst-initorder.out): Likewise.
7751         ($(objpfx)tst-initorder2.out): Likewise.
7752         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7753         $(test-program-cmd).
7754         ($(objpfx)tst-array1-static.out): Likewise.
7755         ($(objpfx)tst-array2.out): Likewise.
7756         ($(objpfx)tst-array3.out): Likewise.
7757         ($(objpfx)tst-array4.out): Likewise.
7758         ($(objpfx)tst-array5.out): Likewise.
7759         ($(objpfx)tst-array5-static.out): Likewise.
7760         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7761         $(test-program-cmd).
7762         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7763         $(run-program-prefix) with $(test-program-prefix).
7764         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7765         (test_program_prefix): This.
7766         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7767         $(run-program-prefix) with $(test-program-prefix).
7768         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7769         (test_program_prefix): This.
7770         * iconvdata/tst-tables.sh: Likewise.
7771         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7772         $(run-program-prefix) with $(test-program-prefix).
7773         ($(objpfx)tst-translit.out): Likewise.
7774         ($(objpfx)tst-gettext2.out): Likewise.
7775         ($(objpfx)tst-gettext4.out): Likewise.
7776         ($(objpfx)tst-gettext6.out): Likewise.
7777         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7778         (test_program_prefix): This.
7779         * intl/tst-gettext2.sh: Likewise.
7780         * intl/tst-gettext4.sh  Likewise.
7781         * intl/tst-gettext6.sh: Likewise.
7782         * intl/tst-translit.sh: Likewise.
7783         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7784         with $(test-program-cmd).
7785         * libio/Makefile ($(objpfx)test-freopen.out): Replace
7786         $(run-program-prefix) with $(test-program-prefix).
7787         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7788         (test_program_prefix): This.
7789         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7790         $(run-program-prefix) with $(test-program-prefix).
7791         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7792         (test_program_prefix): This.
7793         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7794         * posix/Makefile ($(objpfx)globtest.out): Replace
7795         $(run-via-rtld-prefix) and $(test-wrapper) with
7796         $(test-program-prefix) and $(test-via-rtld-prefix).
7797         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7798         $(test-program-prefix).
7799         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7800         $(host-test-program-cmd).
7801         (tst-spawn-ARGS): Likewise.
7802         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7803         $(test-program-prefix).
7804         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7805         (test_via_rtld_prefix): This.
7806         (test_wrapper): Renamed to ...
7807         (test_program_prefix): This.
7808         (run_program_prefix): Replaced by test_program_prefix.
7809         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7810         (test_program_prefix): This.
7811         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7812         with $(host-test-program-cmd).
7813         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7814         $(run-program-prefix) with $(test-program-prefix).
7815         ($(objpfx)tst-printf.out): Likewise.
7816         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7817         $(test-program-cmd).
7818         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7819         (test_program_prefix): This.
7820         * stdio-common/tst-unbputc.sh: Likewise.
7821         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7822         $(run-program-prefix) with $(test-program-prefix).
7823         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7824         (test_program_prefix): This.
7825         * string/Makefile ($(objpfx)tst-svc.out):  Replace
7826         $(built-program-cmd) with $(test-program-cmd).
7828 2013-01-11  Andreas Jaeger  <aj@suse.de>
7830         [BZ #15003]
7831         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7832         value. Sync with Linux 3.7.
7834 2013-01-10  David S. Miller  <davem@davemloft.net>
7836         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7837         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7838         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7840 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7842         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7843         never set.
7844         * configure: Regenerated.
7846 2013-01-10  David S. Miller  <davem@davemloft.net>
7848         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7849         sparc V9 rather than using V8 code.
7850         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7851         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7853 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7855         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7856         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7857         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7858         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7859         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7860         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7861         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7862         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7863         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7864         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7865         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7866         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7867         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7868         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7869         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7870         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7871         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7872         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7873         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7874         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7875         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7876         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7877         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7878         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7879         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7880         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7881         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7883 2013-01-10  David S. Miller  <davem@davemloft.net>
7885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7887 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7889         * posix/Makefile (tests-static): New variable.
7890         (tests): Add $(tests-static).
7891         (tst-exec-static-ARGS): New variable.
7892         (tst-spawn-static-ARGS): Likewise.
7893         * posix/tst-exec-static.c: New file.
7894         * posix/tst-spawn-static.c: Likewise.
7895         * posix/tst-exec.c: Support run directly.
7896         * posix/tst-spawn.c: Likewise.
7898 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
7900         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7901         long.
7902         * math/bits/mathcalls.h (llrint): Likewise.
7903         (llround): Likewise.
7904         * stdlib/stdlib.h (struct drand48_data): Likewise.
7905         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7906         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7907         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7908         Likewise.
7909         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7910         Likewise.
7911         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7912         (elf_greg_t): Likewise.
7913         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7914         (__jmp_buf): Likewise.
7915         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7916         definitions.
7917         (llrint): Likewise, for all definitions.
7918         (llrintl): Likewise.
7920         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7921         Remove [__GNUC__] condition.
7922         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7923         condition to just [__USE_ISOC99].
7924         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7926 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7928         [BZ #14200]
7929         * sysdeps/unix/sysv/linux/x86/bits/environments.h
7930         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7931         defined.
7932         (_POSIX_V6_ILP32_OFF32): Likewise.
7933         (_XBS5_ILP32_OFF32): Likewise.
7934         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7935         (__ILP32_OFFBIG_LDFLAGS): Likewise.
7937 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7939         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7942         doubles __mpexp_twomm1.  Adjust usage.
7943         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7944         Remove.
7946 2013-01-10  Andreas Schwab  <schwab@suse.de>
7948         [BZ #14964]
7949         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7950         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7952 2013-01-09  David S. Miller  <davem@davemloft.net>
7954         [BZ #15003]
7955         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7956         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7957         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7958         TCP_FASTOPEN): Define.
7959         (tcp_repair_opt): New structure.
7960         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7961         enum values.
7962         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7963         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7964         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7965         (tcp_cookie_transactions): New structure.
7967 2013-01-09  Anton Blanchard  <anton@samba.org>
7969         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7970         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7971         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7972         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7974 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
7976         * include/features.h (__USE_ANSI): Remove.
7978 2013-01-09  Roland McGrath  <roland@hack.frob.com>
7980         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7982         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7984 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7986         * sysdeps/s390/fpu/libm-test-ulps: Update.
7988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7990         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7991         (__acr): Likewise.
7992         (__cpy): Likewise.
7993         (norm): Likewise.
7994         (denorm): Likewise.
7995         (__mp_dbl): Likewise.
7996         (__dbl_mp): Likewise.
7997         (add_magnitudes): Likewise.
7998         (sub_magnitudes): Likewise.
7999         (__add): Likewise.
8000         (__sub): Likewise.
8001         (__mul): Likewise.
8002         (__inv): Likewise.
8003         (__dvd): Likewise.
8004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8005         (__acr): Likewise.
8006         (__cpy): Likewise.
8007         (norm): Likewise.
8008         (denorm): Likewise.
8009         (__mp_dbl): Likewise.
8010         (__dbl_mp): Likewise.
8011         (add_magnitudes): Likewise.
8012         (sub_magnitudes): Likewise.
8013         (__add): Likewise.
8014         (__sub): Likewise.
8015         (__mul): Likewise.
8016         (__inv): Likewise.
8017         (__dvd): Likewise.
8018         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8019         (__acr): Likewise.
8020         (__cpy): Likewise.
8021         (norm): Likewise.
8022         (denorm): Likewise.
8023         (__mp_dbl): Likewise.
8024         (__dbl_mp): Likewise.
8025         (add_magnitudes): Likewise.
8026         (sub_magnitudes): Likewise.
8027         (__add): Likewise.
8028         (__sub): Likewise.
8029         (__mul): Likewise.
8030         (__inv): Likewise.
8031         (__dvd): Likewise.
8033 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
8035         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8036         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8037         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8038         2 && __USE_EXTERN_INLINES]: Likewise.
8040 2013-01-08  Andreas Jaeger  <aj@suse.de>
8042         [BZ# 14985]
8043         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8044         Remove.
8045         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8046         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8048 2013-01-07  Anton Blanchard  <anton@samba.org>
8050         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8051         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8052         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8053         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8054         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8055         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8056         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8057         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8058         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8059         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8060         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8061         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8062         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8063         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8064         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8065         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8066         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8067         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8068         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8069         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8070         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8071         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8072         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8073         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8074         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8075         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8076         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8077         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8078         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8079         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8080         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8081         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8082         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8083         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8084         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8085         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8086         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8087         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8088         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8089         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8090         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8091         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8092         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8094 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
8096         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8097         (__MALLOC_PMT): Likewise.
8098         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8099         [__GNUC__], only on [_LIBC].
8100         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8101         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8102         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8103         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8104         forward declaration.
8105         (realloc_hook_ini): Likewise.
8106         (memalign_hook_ini): Likewise.
8107         (__libc_memalign): Do not use __MALLOC_PMT in variable
8108         declaration.
8109         (__libc_valloc): Likewise.
8110         (__libc_pvalloc): Likewise.
8111         (__libc_calloc): Likewise.
8112         (__posix_memalign): Likewise.
8114         [BZ #14996]
8115         * math/s_casinh.c: Include <float.h>.
8116         (__casinh): Do not do computation with squaring and square root
8117         for large arguments.
8118         * math/s_casinhf.c: Include <float.h>.
8119         (__casinhf): Do not do computation with squaring and square root
8120         for large arguments.
8121         * math/s_casinhl.c: Include <float.h>.
8122         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8123         (__casinhl): Do not do computation with squaring and square root
8124         for large arguments.
8125         * math/libm-test.inc (casin_test): Add more tests.
8126         (casinh_test): Likewise.
8127         * sysdeps/i386/fpu/libm-test-ulps: Update.
8128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8130 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
8132         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8133         (__x86_64_raw_data_cache_size): Likewise.
8134         (__x86_64_data_cache_size_half): Likewise.
8135         (__x86_64_raw_data_cache_size_half): Likewise.
8136         (__x86_64_shared_cache_size): Likewise.
8137         (__x86_64_raw_shared_cache_size): Likewise.
8138         (__x86_64_shared_cache_size_half): Likewise.
8139         (__x86_64_raw_shared_cache_size_half): Likewise.
8140         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8141         to ...
8142         (__x86_data_cache_size): This.
8143         (__x86_64_raw_data_cache_size): Renamed to ...
8144         (__x86_raw_data_cache_size): This.
8145         (__x86_64_data_cache_size_half): Renamed to ...
8146         (__x86_data_cache_size_half): This.
8147         (__x86_64_raw_data_cache_size_half): Renamed to ...
8148         (__x86_raw_data_cache_size_half): This.
8149         (__x86_64_shared_cache_size): Renamed to ...
8150         (__x86_shared_cache_size): This.
8151         (__x86_64_raw_shared_cache_size): Renamed to ...
8152         (__x86_raw_shared_cache_size): This.
8153         (__x86_64_shared_cache_size_half): Renamed to ...
8154         (__x86_shared_cache_size_half): This.
8155         (__x86_64_raw_shared_cache_size_half): Renamed to ...
8156         (__x86_raw_shared_cache_size_half): This.
8157         * sysdeps/x86_64/memcpy.S: Updated.
8158         * sysdeps/x86_64/memset.S: Likewise.
8159         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8160         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8161         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8163 2013-01-04  David S. Miller  <davem@davemloft.net>
8165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8167 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
8169         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8170         1 to avoid redefinition warning.
8171         (__USE_GNU): Don't define.
8172         (init_signaling_nan): Protoize.
8174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8176 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8178         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8179         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8180         (__cpymn): Likewise.
8181         (norm): Remove commented code.
8182         (denorm): Likewise.
8183         (__mp_dbl): Likewise.
8184         (__inv): Likewise.
8185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8186         (__cpymn): Likewise.
8187         (norm): Remove commented code.
8188         (denorm): Likewise.
8189         (__mp_dbl): Likewise.
8190         (__inv): Likewise.
8192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8193         mp_no value for 1.0 and 2.0.
8194         (norm): Use RADIXI instead of radixi.d.
8195         (denorm): Likewise.
8196         (__mul): Use 0.0 instead of zero.d.
8197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8198         mp_no value for 1.0 and 2.0.
8199         (norm): Use RADIXI instead of radixi.d.
8200         (denorm): Likewise.
8201         (__mul): Use 0.0 instead of zero.d.
8203 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
8205         [BZ #14994]
8206         * math/s_casinh.c (__casinh): Reduce finite argument to first
8207         quadrant then set signs of results at the end.
8208         * math/s_casinhf.c (__casinhf): Likewise.
8209         * math/s_casinhl.c (__casinhl): Likewise.
8210         * math/libm-test.inc (casin_test): Add more tests.
8211         (casinh_test): Likewise.
8212         * sysdeps/i386/fpu/libm-test-ulps: Update.
8213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8215 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8217         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8219         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8221         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8222         declarations.
8223         (denorm): Likewise.
8224         (__mp_dbl): Likewise.
8225         (__inv): Likewise.
8227         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8228         and adjust the header comment.
8230         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8231         variable name from declaration.
8233 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
8235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8236         Initialize COMMON_CPUID_INDEX_7 element.
8237         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8238         (CPUID_RTM): Likewise.
8239         (HAS_RTM): Likewise.
8240         (COMMON_CPUID_INDEX_7): New enum.
8242 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
8244         [BZ #14981]
8245         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8246         size is zero, record memory as freed.
8248 2013-01-03  Andreas Jaeger  <aj@suse.de>
8250         * po/ia.po: Add new Interlingua translation.
8252 2012-01-03  Allan McRae  <allan@archlinux.org>
8254         * locale/programs/localedef.c: Fix description of '--posix' flag.
8256 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
8258         * NEWS: Update dates in second copyright notice.
8259         * README: Update copyright dates in example.
8260         * manual/libc.texinfo: Update copyright dates.
8261         * scripts/test-installation.pl: Update copyright date in --version
8262         output.
8264         * hurd/ctty-input.c: Fix copyright notice formatting.
8265         * hurd/ctty-output.c: Likewise.
8266         * hurd/dtable.c: Likewise.
8267         * hurd/hurd-raise.c: Likewise.
8268         * hurd/hurdprio.c: Likewise.
8269         * hurd/msgportdemux.c: Likewise.
8270         * misc/sys/file.h: Likewise.
8271         * misc/sys/ioctl.h: Likewise.
8272         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8273         * sysdeps/mach/hurd/chdir.c: Likewise.
8274         * sysdeps/mach/hurd/fchdir.c: Likewise.
8275         * sysdeps/mach/hurd/rename.c: Likewise.
8276         * sysdeps/mach/hurd/rmdir.c: Likewise.
8277         * sysdeps/mach/hurd/seekdir.c: Likewise.
8278         * sysdeps/mach/hurd/setsid.c: Likewise.
8279         * sysdeps/posix/wait3.c: Likewise.
8281         * All files with FSF copyright notices: Update copyright dates
8282         using scripts/update-copyrights.
8283         * intl/plural.c: Regenerated.
8284         * locale/programs/charmap-kw.h: Likewise.
8285         * locale/programs/locfile-kw.h: Likewise.
8287 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8289         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8290         four values.
8292         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8293         calculation loop and add branch prediction.
8295         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8296         check access beyond bounds of m1np.
8298         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8299         MPTWO.
8300         (__inv): Remove local variable MPTWO to use the global
8301         constant.
8302         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8303         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8304         variable MPTWO.
8305         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8306         MP3HALFS static const.
8308 2013-01-01  David S. Miller  <davem@davemloft.net>
8310         * po/ca.po: Update from translation team.
8312 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
8314         * scripts/update-copyrights: New file.
8315         * Makeconfig: Reformat copyright notice.
8316         * ctype/ctype.h: Likewise.
8317         * debug/swprintf_chk.c: Likewise.
8318         * elf/dl-cache.c: Likewise.
8319         * elf/dl-debug.c: Likewise.
8320         * elf/dl-object.c: Likewise.
8321         * grp/initgroups.c: Likewise.
8322         * hurd/Makefile: Likewise.
8323         * hurd/hurd/signal.h: Likewise.
8324         * hurd/hurdfault.c: Likewise.
8325         * hurd/hurdioctl.c: Likewise.
8326         * hurd/hurdlookup.c: Likewise.
8327         * hurd/intr-msg.c: Likewise.
8328         * iconv/gconv_open.c: Likewise.
8329         * libio/swprintf.c: Likewise.
8330         * locale/lc-ctype.c: Likewise.
8331         * locale/nl_langinfo.c: Likewise.
8332         * mach/Machrules: Likewise.
8333         * mach/Makefile: Likewise.
8334         * malloc/obstack.h: Likewise.
8335         * manual/Makefile: Likewise.
8336         * manual/tsort.awk: Likewise.
8337         * misc/bits/stab.def: Likewise.
8338         * nis/nis_print_group_entry.c: Likewise.
8339         * nis/nis_table.c: Likewise.
8340         * nis/nss_compat/compat-pwd.c: Likewise.
8341         * nis/nss_compat/compat-spwd.c: Likewise.
8342         * po/Makefile: Likewise.
8343         * posix/fnmatch.c: Likewise.
8344         * posix/regex.h: Likewise.
8345         * resolv/Makefile: Likewise.
8346         * resolv/nss_dns/dns-network.c: Likewise.
8347         * resolv/res_hconf.c: Likewise.
8348         * scripts/gen-sorted.awk: Likewise.
8349         * soft-fp/soft-fp.h: Likewise.
8350         * stdio-common/printf.h: Likewise.
8351         * stdlib/monetary.h: Likewise.
8352         * stdlib/random.c: Likewise.
8353         * stdlib/random_r.c: Likewise.
8354         * sysdeps/generic/Makefile: Likewise.
8355         * sysdeps/gnu/Makefile: Likewise.
8356         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8357         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8358         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8359         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8360         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8362         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8363         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8364         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8365         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8366         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8367         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8368         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8369         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8370         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8371         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8372         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8373         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8374         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8375         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8376         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8377         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8378         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8379         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8380         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8381         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8382         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8383         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8384         * sysdeps/mach/hurd/errnos.awk: Likewise.
8385         * sysdeps/mach/hurd/fork.c: Likewise.
8386         * sysdeps/mach/hurd/getcwd.c: Likewise.
8387         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8388         * sysdeps/mach/hurd/mmap.c: Likewise.
8389         * sysdeps/mach/hurd/utimes.c: Likewise.
8390         * sysdeps/mach/hurd/xmknod.c: Likewise.
8391         * sysdeps/posix/profil.c: Likewise.
8392         * sysdeps/posix/readdir_r.c: Likewise.
8393         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8394         * sysdeps/powerpc/bits/setjmp.h: Likewise.
8395         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8396         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8397         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8398         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8399         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8400         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8402         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8403         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8404         * sysdeps/pthread/lio_listio.c: Likewise.
8405         * sysdeps/sparc/dl-procinfo.h: Likewise.
8406         * sysdeps/unix/i386/sysdep.S: Likewise.
8407         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8408         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8409         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8410         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8412         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8413         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8414         * sysdeps/unix/sysv/linux/speed.c: Likewise.
8415         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8416         * sysdeps/wordsize-32/divdi3.c: Likewise.
8417         * time/sys/time.h: Likewise.
8418         * wcsmbs/Makefile: Likewise.
8420 2013-01-01  David S. Miller  <davem@davemloft.net>
8422         * po/fr.po: Update from translation team.
8424         * catgets/gencat.c: Update copyright year.
8425         * csu/version.c: Likewise.
8426         * debug/catchsegv.sh: Likewise.
8427         * debug/pcprofiledump.c: Likewise.
8428         * debug/xtrace.sh: Likewise.
8429         * elf/ldconfig.c: Likewise.
8430         * elf/ldd.bash.in: Likewise.
8431         * elf/pldd.c: Likewise.
8432         * elf/sotruss.ksh: Likewise.
8433         * elf/sprof.c: Likewise.
8434         * iconv/iconv_prog.c: Likewise.
8435         * iconv/iconvconfig.c: Likewise.
8436         * locale/programs/locale.c: Likewise.
8437         * locale/programs/localedef.c: Likewise.
8438         * login/programs/pt_chown.c: Likewise.
8439         * malloc/memusage.sh: Likewise.
8440         * malloc/memusagestat.c: Likewise.
8441         * malloc/mtrace.pl: Likewise.
8442         * nscd/nscd.c: Likewise.
8443         * nss/getent.c: Likewise.
8444         * nss/makedb.c: Likewise.
8445         * posix/getconf.c: Likewise.
8447 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8449         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8450         numbers.
8452 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
8454         * math/bits/mathcalls.h (modf): Use __nonnull.
8456 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8458         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8459         (split): Use macro CN instead of the bare value.
8460         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8461         could be used.
8462         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8463         instead of the bare value.
8464         (power1): Likewise.
8466 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8468         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8469         __ATAN_TWOM.
8470         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8472         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8473         their values.
8474         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8475         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8476         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8477         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8479 2012-12-28  Andreas Jaeger  <aj@suse.de>
8481         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
8482         values are from Linux 3.7.
8484         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8485         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
8487 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8489         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8490         TRUE case.
8492         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8493         (norm): Likewise.
8494         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8495         variables with preprocessor constants.
8496         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8497         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8498         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8500 2012-12-27  Bruno Haible  <bruno@clisp.org>
8502         [BZ #14317]
8503         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8504         only if needed.
8506 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8508         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8509         and use variable directly.
8510         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8512         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8513         MPONE.
8514         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8515         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8516         variable MPONE.
8517         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8518         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8519         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8520         include directive.  Remove local variable MPONE.
8521         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8522         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8523         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8525 2012-12-25  David S. Miller  <davem@davemloft.net>
8527         * version.h (RELEASE): Set to "development".
8528         (VERSION): Set to "2.17.90".
8529         * NEWS: Add 2.18 section.
8531 2012-12-21  David S. Miller  <davem@davemloft.net>
8533         * po/hr.po: Update from translation team.
8535 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8537         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8539 2012-12-19  Steve Ellcey  <sellcey@mips.com>
8541         * NEWS:  Mention new memcpy for MIPS.
8543 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8545         * manual/contrib.texi (Contributors): Spelling correction.
8547 2012-12-15  David S. Miller  <davem@davemloft.net>
8549         * po/ru.po: Update from translation team.
8551 2012-12-13  David S. Miller  <davem@davemloft.net>
8553         * NEWS: Mention IFUNC testsuite enhancements.
8555         * po/pl.po: Update from translation team.
8556         * po/bg.po: Likewise.
8558         * manual/contrib.texi (Contributors): Update entries for Hongjiu
8559         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
8561 2012-12-11  David S. Miller  <davem@davemloft.net>
8563         * po/sv.po: Update from translation team.
8565         * po/vi.po: Update from translation team.
8567         * po/cs.po: Update from translation team.
8569         * po/de.po: Update from translation team.
8570         * po/eo.po: Likewise.
8571         * po/nl.po: Likewise.
8573 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8575         [BZ #14246]
8576         * manual/argp.texi (Argp Helper Functions): Move node to follow
8577         Argp Parsing State.
8579         [BZ #14872]
8580         * manual/conf.texi (Limits on File System Capacity): Mention if
8581         terminating null is included in the max size.
8583 2012-12-10  Andreas Jaeger  <aj@suse.de>
8585         * po/cs.po: Update from translation team.
8587 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8589         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8590         void pointer and cast to uintptr_t.
8591         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8592         path.
8593         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8594         * sysdeps/s390/s390-64/memset.S: Likewise.
8596 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
8598         [BZ #14833]
8599         * menual/message.texi (Message Translation): Fix typos.
8600         (Helper programs for gettext): Likewise.
8602 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
8604         [BZ #14898]
8605         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8606         Change to -1.
8608 2012-12-07  David S. Miller  <davem@davemloft.net>
8610         * po/libc.pot: Update.
8612 2012-12-07  Richard Henderson  <rth@redhat.com>
8614         [BZ #10114]
8615         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8616         normal/normal case to before the switch.
8617         (_FP_DIV): Likewise.
8619 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
8620             Mike Frysinger  <vapier@gentoo.org>
8622         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8623         check for __NR_fadvise64_64.
8625 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
8627         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8628         0, not just to plain "0" as a statement.
8629         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8630         with cw.
8632 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
8634         * NEWS: Use sourceware.org in Bugzilla URL.
8636 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8639         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8641         * stdio-common/tst-put-error.c (do_test): Add newline to the
8642         padded test to ensure flush.
8644 2012-12-05  Jeff Law  <law@redhat.com>
8646         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8648 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8650         * README: Don't refer to ports add-on as distributed separately.
8651         Mention AArch64 in list of systems supported in the ports add-on.
8653         * LICENSES: Add more non-FSF copyright and license notices.
8655         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8656         ((unused)).
8658         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8660         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8661         10000 as width of padded output.
8663 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8665         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8667         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8668         variable LX with __attribute__ ((unused)).
8669         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8670         Likewise.
8671         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8672         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8673         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8674         with __attribute__ ((unused)).
8676 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8678         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8680 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8682         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8683         (CFLAGS-nldbl-acos.c): New variable.
8684         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8685         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8686         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8687         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8688         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8689         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8690         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8691         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8692         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8693         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8694         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8695         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8696         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8697         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8698         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8699         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8700         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8701         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8702         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8703         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8704         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8705         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8706         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8707         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8708         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8709         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8710         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8711         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8712         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8713         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8714         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8715         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8716         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8717         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8718         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8719         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8720         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8721         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8722         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8723         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8724         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8725         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8726         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8727         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8728         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8729         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8730         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8731         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8732         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8733         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8734         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8735         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8736         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8737         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8738         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8739         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8740         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8741         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8742         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8743         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8744         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8745         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8746         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8747         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8748         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8749         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8750         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8751         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8752         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8753         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8754         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8755         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8756         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8757         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8758         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8759         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8760         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8761         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8762         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8763         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8764         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8765         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8766         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8767         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8768         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8769         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8770         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8771         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8772         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8773         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8774         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8775         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8776         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8777         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8778         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8779         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8780         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8783         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8785         [BZ #14914]
8786         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8787         whole low double instead of just low 47 bits when splitting values
8788         into two parts.
8790 2012-12-03  Allan McRae  <allan@archlinux.org>
8792         * manual/stdio.texi (Predefined Printf Handlers): Remove
8793         @hsep and @vsep usage.
8795 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
8797         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8798         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8800 2012-12-03  Jeff Law  <law@redhat.com>
8802         * time/sys/time.h (settimeofday): Do not mark TV argument
8803         as __nonnull.
8805 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
8807         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8808         when currently writing and seek to current position when not.
8809         * libio/Makefile (tests): Remove bug-fclose1.
8810         * libio/bug-fclose1.c: Delete.
8812 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
8814         * manual/arith.texi (feenableexcept): Fix typo.
8815         (fedisableexcept): Likewise.
8817 2012-11-30  Roland McGrath  <roland@hack.frob.com>
8819         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8820         second, differently-typed declaration, rather than a cast.
8822 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8824         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8825         * include/rpc/svc.h: ... here.
8827 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
8829         [BZ #13013]
8830         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8831         depending n and resplen2 to catch cases where answer
8832         equals answerp2.
8834 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
8836         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8837         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8839 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
8841         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8843 2012-11-29  Roland McGrath  <roland@hack.frob.com>
8845         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8847 2012-11-28  Jeff Law  <law@redhat.com>
8849         [BZ #13761]
8850         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8851         dataset_temporary.  Track alloca usage into alloca_used.
8852         If dataset is large allocate and release it via malloc/free.
8854 2012-06-04  Florian Weimer  <fweimer@redhat.com>
8856         [BZ #14197]
8857         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8859 2012-11-28  David S. Miller  <davem@davemloft.net>
8861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8863 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8865         [BZ #14803]
8866         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8867         of pi/2 rounded to nearest to 64 bits.
8868         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8869         nearest to 64 bits.
8870         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8871         bits.
8873 2012-11-28  Jeff Law <law@redhat.com>
8874             Martin Osvald <mosvald@redhat.com>
8876         [BZ #14889]
8877         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8878         * sunrpc/svc.c: Include time.h.
8879         (__svc_accept_failed): New function.
8880         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8881         any reason other than EINTR, call __svc_accept_failed.
8882         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8883         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8885 2012-11-28  Andreas Schwab  <schwab@suse.de>
8887         * scripts/abilist.awk: Also handle indirect functions in .opd
8888         section.
8890 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8892         [BZ #13881]
8893         * sysdeps/x86/fpu/powl_helper.c: New file.
8894         * sysdeps/x86/fpu/Makefile: Likewise.
8895         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8896         (p3): New object.
8897         (__ieee754_powl): Use __powl_helper for finite arguments except
8898         integer exponents below 8.
8899         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8900         (p3): New object.
8901         (__ieee754_powl): Use __powl_helper for finite arguments except
8902         integer exponents below 8.
8903         * math/libm-test.inc (pow_test): Add more tests and enable some
8904         previously disabled tests.
8905         * sysdeps/i386/fpu/libm-test-ulps: Update.
8906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8908 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8909             Carlos O'Donell  <carlos_odonell@mentor.com>
8911         * nss/makedb.c (is_prime): Assert that input is odd and greater
8912         than 4.  Note that fact in a comment too.
8913         (next_prime): Add 4 to input.
8915 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8917         [BZ #11741]
8918         * libio/Makefile (tests): Add test case tst-fwrite-error.
8919         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8920         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8921         * libio/tst-fwrite-error.c: New test case.
8923 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
8925         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8926         before casting to void *.
8927         * include/libc-internal.h (__pointer_type): New macro.
8928         (__integer_if_pointer_type_sub): Likewise.
8929         (__integer_if_pointer_type): Likewise.
8930         (cast_to_integer): Likewise.
8931         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8932         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8933         before casting to atomic64_t.
8934         (atomic_exchange_acq): Likewise.
8935         (__arch_exchange_and_add_body): Likewise.
8936         (__arch_add_body): Likewise.
8937         (atomic_add_negative): Likewise.
8938         (atomic_add_zero): Likewise.
8940 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
8942         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8943         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8944         (add_fdes): Likewise.
8945         (linear_search_fdes): Likewise.
8946         (binary_search_unencoded_fdes): Likewise.
8948 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
8950         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8952 2012-11-24  Adam Conrad  <adconrad@0c3.net>
8954         * configure.in: Autodetect C++ header directories.
8955         * configure: Regenerated.
8957 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
8959         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8961 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
8963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8965 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
8967         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8968         LDBL_MANT_DIG == 106]: Disable some tests.
8969         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8970         Likewise.
8971         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8972         Likewise.
8974         [BZ #14871]
8975         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8976         input for small inputs.  Return +/- pi/2 for large inputs.
8977         * math/libm-test.inc (atan_test): Add more tests.
8979         * sysdeps/generic/unwind-dw2-fde-glibc.c
8980         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8981         __attribute__ ((unused)).
8983         [BZ #14645]
8984         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8985         x * y if x and y are nonzero and z is zero.
8987         [BZ #14811]
8988         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8989         nonzero exponents with absolute value below 0x1p-117 to +/-
8990         0x1p-117.
8992         [BZ #14869]
8993         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8994         up arguments below 2**-450, not just those below 2**-500.
8995         * math/libm-test.inc (hypot_test): Add another test.
8997         [BZ #14868]
8998         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8999         Return a+b for ratio over 2**120, not 2**60.
9000         * math/libm-test.inc (hypot_test): Add another test.
9002         * math/libm-test.inc (clog_test): Use
9003         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9004         (clog10_test): Likewise.
9006         [BZ #6778]
9007         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9009 2012-11-22  Andreas Schwab  <schwab@suse.de>
9011         * sysdeps/i386/fpu/libm-test-ulps: Update.
9013 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
9015         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9016         printf output with newline.
9018 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
9020         [BZ #14865]
9021         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9022         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9023         -z nodlopen, -z initfirst and -z execstack support.
9024         * configure: Regenerated.
9026         * elf/elf.h (DF_1_NODIRECT): New macro.
9027         (DF_1_IGNMULDEF): Likewise.
9028         (DF_1_NOKSYMS): Likewise.
9029         (DF_1_NOHDR): Likewise.
9030         (DF_1_EDITED): Likewise.
9031         (DF_1_NORELOC): Likewise.
9032         (DF_1_SYMINTPOSE): Likewise.
9033         (DF_1_GLOBAUDIT): Likewise.
9034         (DF_1_SINGLETON): Likewise.
9035         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9036         DT_1_SUPPORTED_MASK bits.
9037         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9039 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
9041         * sysdeps/unix/make-syscalls.sh: Document prefixes.
9043 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
9045         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9046         macro.
9048         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9049         (sendmmsg): Move declarations...
9050         * socket/sys/socket.h: ... here.
9051         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9052         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9053         include it from...
9054         * socket/recvmmsg.c: ... this new file.
9055         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9056         (sendmmsg): Rename to __sendmmsg, create weak alias and make
9057         definition of __sendmmsg hidden.
9058         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9059         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9060         Move ENOSYS stub into and include it from...
9061         * socket/sendmmsg.c: ... this new file.
9062         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9063         (sysdep_routines): Move recvmmsg and sendmmsg...
9064         * socket/Makefile (routines): ... here.
9065         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9066         (GLIBC_PRIVATE): Add __sendmmsg.
9067         * include/sys/socket.h (__sendmmsg): Add declarations.
9068         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9069         sendmmsg.
9071 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
9073         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9074         variable I1 with __attribute__ ((unused)).
9075         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9077 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9079         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9080         DUMMY variables with __attribute__ ((unused)).
9082         * bits/byteswap.h: Include <bits/types.h>.
9083         (__bswap_64): Use __uint64_t instead of unsigned long long int.
9085 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9087         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9088         string_t.  Do not manually set errno.
9089         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9090         length with __strnlen.  Make sure to both set errno and return it on
9091         failure.
9093 2012-11-19  David S. Miller  <davem@davemloft.net>
9095         With help from Joseph Myers.
9096         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9097         very large arguments properly.
9098         * math/libm-test.inc (atan_test): New tests.
9099         (atan2_test): New tests.
9100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9101         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9103 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9105         [BZ #14856]
9106         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9107         Define to 3.
9109         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9110         [POSIX] (EADDRNOTAVAIL): Likewise.
9111         [POSIX] (EAFNOSUPPORT): Likewise.
9112         [POSIX] (EALREADY): Likewise.
9113         [POSIX] (ECONNABORTED): Likewise.
9114         [POSIX] (ECONNREFUSED): Likewise.
9115         [POSIX] (ECONNRESET): Likewise.
9116         [POSIX] (EDESTADDRREQ): Likewise.
9117         [POSIX] (EDQUOT): Likewise.
9118         [POSIX] (EHOSTUNREACH): Likewise.
9119         [POSIX] (EIDRM): Likewise.
9120         [POSIX] (EISCONN): Likewise.
9121         [POSIX] (ELOOP): Likewise.
9122         [POSIX] (EMULTIHOP): Likewise.
9123         [POSIX] (ENETDOWN): Likewise.
9124         [POSIX] (ENETUNREACH): Likewise.
9125         [POSIX] (ENOBUFS): Likewise.
9126         [POSIX] (ENODATA): Likewise.
9127         [POSIX] (ENOLINK): Likewise.
9128         [POSIX] (ENOMSG): Likewise.
9129         [POSIX] (ENOPROTOOPT): Likewise.
9130         [POSIX] (ENOSR): Likewise.
9131         [POSIX] (ENOSTR): Likewise.
9132         [POSIX] (ENOTCONN): Likewise.
9133         [POSIX] (ENOTSOCK): Likewise.
9134         [POSIX] (EOPNOTSUPP): Likewise.
9135         [POSIX] (EOVERFLOW): Likewise.
9136         [POSIX] (EPROTO): Likewise.
9137         [POSIX] (EPROTONOSUPPORT): Likewise.
9138         [POSIX] (EPROTOTYPE): Likewise.
9139         [POSIX] (ESTALE): Likewise.
9140         [POSIX] (ETIME): Likewise.
9141         [POSIX] (ETXTBSY): Likewise.
9142         [POSIX] (EWOULDBLOCK): Likewise.
9143         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9144         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9145         [POSIX] (SEEK_CUR): Likewise.
9146         [POSIX] (SEEK_END): Likewise.
9147         [POSIX || UNIX98] (mode_t): Do not require.
9148         [POSIX] (off_t): Likewise.
9149         [POSIX] (pid_t): Likewise.
9150         [POSIX] (sys/stat.h): Do not allow header.
9151         [POSIX] (unistd.h): Likewise.
9152         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9153         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9154         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9155         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9156         require.
9157         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9158         sigevent): Specify elements.
9159         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9160         entry.
9161         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9162         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9164         * conform/data/cpio.h-data [POSIX]: Disable whole file.
9165         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9166         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9167         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9168         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9169         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9170         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9171         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9172         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9173         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9174         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9175         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9176         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9177         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9178         Likewise.
9179         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9180         Likewise.
9181         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9182         Likewise.
9183         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9184         Likewise.
9185         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9186         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9187         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9188         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9189         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9190         Specify lower bound on value.
9191         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9192         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9193         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9194         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9195         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9196         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9197         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9198         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9199         value.
9200         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9201         as optional.
9202         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9203         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9204         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9205         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9206         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9207         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9208         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9209         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9210         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9211         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9212         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9213         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9214         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9215         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9216         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9217         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9218         entry.
9219         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9220         optional.
9221         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9222         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9223         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9224         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9225         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9226         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9227         Likewise.
9228         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9229         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9230         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9231         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9232         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
9233         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9234         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9235         as optional.
9236         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9237         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9238         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9239         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9240         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9241         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9242         specify as optional.
9243         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9244         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9245         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9246         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9247         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9248         [XPG3] (NL_LANGMAX): Likewise.
9249         [POSIX || XPG3] (NL_MSGMAX): Likewise.
9250         [POSIX || XPG3] (NL_NMAX): Likewise.
9251         [POSIX || XPG3] (NL_SETMAX): Likewise.
9252         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9253         [XPG3] (NZERO): Likewise.
9254         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9255         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9256         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9257         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9258         (REG_ERANGE): Expect.
9259         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9260         optional-constant.
9261         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9262         Use (void) in prototype.
9263         [POSIX] (*_t): Allow.
9264         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9265         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9266         (WRDE_BADVAL): Expect.
9268         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9269         expect.
9270         [XPG3 || XPG4] (O_RSYNC): Likewise.
9271         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9272         Likewise.
9273         [XPG3 || XPG4] (pthread_sigmask): Likewise.
9274         [XPG3 || XPG4] (sigqueue): Likewise.
9275         [XPG3 || XPG4] (sigtimedwait): Likewise.
9276         [XPG3 || XPG4] (sigwaitinfo): Likewise.
9277         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9278         [XPG3 || XPG4] (vsnprintf): Likewise.
9279         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9280         Likewise.
9281         [XPG3 || XPG4] (blksize_t): Likewise.
9282         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9283         Likewise.
9284         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9285         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9286         [XPG3 || XPG4] (struct itimerspec): Likewise.
9287         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9288         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9289         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9290         [XPG3 || XPG4] (clockid_t): Likewise.
9291         [XPG3 || XPG4] (timer_t): Likewise.
9292         [XPG3 || XPG4] (clock_getres): Likewise.
9293         [XPG3 || XPG4] (clock_gettime): Likewise.
9294         [XPG3 || XPG4] (clock_settime): Likewise.
9295         [XPG3 || XPG4] (nanosleep): Likewise.
9296         [XPG3 || XPG4] (timer_create): Likewise.
9297         [XPG3 || XPG4] (timer_delete): Likewise.
9298         [XPG3 || XPG4] (timer_gettime): Likewise.
9299         [XPG3 || XPG4] (timer_getoverrun): Likewise.
9300         [XPG3 || XPG4] (timer_settime): Likewise.
9301         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9302         [XPG3 || XPG4] (getlogin_r): Likewise.
9303         [XPG3 || XPG4] (pread): Likewise.
9304         [XPG3 || XPG4] (pthread_atfork): Likewise.
9305         [XPG3 || XPG4] (pwrite): Likewise.
9307         [BZ #14835]
9308         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9309         <bits/siginfo.h>.
9311 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9313         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9314         finalizing MALLSTREAM.
9316         * sysdeps/mach/hurd/syncfs.c: New file.
9318 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9320         [BZ #14719]
9321         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9322         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9323         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9324         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9325         (_nss_dns_gethostbyname4_r): Likewise.
9326         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9327         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9329 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
9331         [BZ #13763]
9332         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9334 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
9336         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9337         * elf/cache.c (print_entry): Print ",AArch64" for
9338         FLAG_AARCH64_LIB64
9340         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9341         * elf/cache.c (print_entry): Print ",hard-float" for
9342         FLAG_ARM_LIBHF.
9344 2012-11-18  David S. Miller  <davem@davemloft.net>
9346         With help from Joseph Myers.
9347         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9348         cutoff to 2**-13.
9349         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9350         cutoff to 2**-25.
9351         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9352         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9353         small.
9354         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9355         * math/libm-test.inc (y0_test): New tests.
9356         (y1_test): New tests.
9357         * sysdeps/i386/fpu/libm-test-ulps: Update.
9358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9361 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
9363         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9364         64-bit targets.
9365         * configure: Regenerated.
9367 2012-11-17  David S. Miller  <davem@davemloft.net>
9369         [BZ #14811]
9370         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9371         nonzero exponents with absolute value below 0x1p-128 to +/-
9372         0x1p-128.
9374 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
9376         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9378         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9380         * posix/getconf-speclist.c: New file.
9381         * posix/posix-envs.def: Likewise.
9382         * posix/confstr.c (START_ENV_GROUP): New macro.
9383         (END_ENV_GROUP): Likewise.
9384         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9385         (KNOWN_PRESENT_ENV_STRING): Likewise.
9386         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9387         (UNKNOWN_ENVIRONMENT): Likewise.
9388         (confstr): Include posix-envs.def instead of handling
9389         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9390         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9391         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9392         (END_ENV_GROUP): Likewise.
9393         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9394         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9395         (UNKNOWN_ENVIRONMENT): Likewise.
9396         (__sysconf): Include posix-envs.def instead of handling associated
9397         cases directly here.
9398         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9399         preprocessing getconf-speclist.c rather than running getconf or
9400         generating empty file.
9402 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
9404         * scripts/check-local-headers.sh: Ignore 'mach' headers.
9406 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
9408         [BZ #14672]
9409         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9411 2012-11-16  David S. Miller  <davem@davemloft.net>
9413         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9414         smaller than LDBL_EPSILON/2.0L, just return xm1.
9416 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
9418         * elf/tst-array1.c (init): Set constructor priority to 1000.
9419         (fini): Set destructor priority to 1000.
9420         * elf/tst-array2dep.c: Likewise.
9422 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9424         [BZ #11741]
9425         * libio/fileops.c (_IO_new_file_write): Correctly return error.
9426         (_IO_new_file_xsputn): Also return EOF if none of the input
9427         data was written when overflow failed.
9428         * libio/iopadn.c (_IO_padn): Likewise.
9429         * libio/iowpadn.c (_IO_wpadn): Likewise.
9430         * stdio-common/tst-put-error.c: Add copyright notice.
9431         (do_test): Add case for printing padded string.
9432         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9433         _IO_padn returned error.
9434         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9435         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9436         return EOF.
9438 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9440         * libio/libioP.h: Add comment note that the references to C++
9441         bits are now obsolete.
9443 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9445         * math/libm-test.inc (check_complex): Use asprintf.
9447 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
9449         * debug/pcprofiledump.c (print_version): Update copyright year.
9450         * malloc/memusagestat.c (print_version): Likewise.
9452 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9454         [BZ #14831]
9455         * elf/Makefile (tests): Add tst-audit8.
9456         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9457         ($(objpfx)tst-audit8.out): New target.
9458         (tst-audit8-ENV): New variable.
9459         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9460         audit if l_reloc_result is NULL.
9461         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9462         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9463         * elf/tst-audit8.c: New file.
9465 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9467         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9468         * misc/Makefile (CFLAGS-select.c): Define.
9469         * posix/Makefile (CFLAGS-pause.c): Define.
9471 2012-11-13  David S. Miller  <davem@davemloft.net>
9473         * crypt/Makefile: Move test targets after toplevel Rules
9474         inclusion.  Grab any necessary sysdep routines when linking.
9475         * crypt/md5.c (md5_process_block): Remove define, we will always
9476         name it __md5_process_block.
9477         (md5_finish_ctx): Update md5_process_block call.
9478         (md5_stream): Likewise.
9479         (md5_process_bytes): Likewise.
9480         (md5_process_block): Rename to __md5_process_block and move to ...
9481         * crypt/md5-block.c: ... here.
9482         * crypt/sha256.c (sha256_process_block): Move to ...
9483         * crypt/sha256-block.c: ... here.
9484         * crypt/sha512.c (sha512_process_block): Move to ...
9485         * crypt/sha512-block.c: ... here.
9486         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9487         path.
9488         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9489         * sysdeps/sparc/sparc64/multiarch/Makefile
9490         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9491         crypt subdir.
9492         (localedef-aux): Add md5 crypto assembler when in locale subdir.
9493         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9494         multiarch changes.
9495         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9496         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9497         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9498         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9499         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9500         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9501         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9502         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9503         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9504         file.
9505         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9506         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9507         file.
9508         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9510 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
9512         * timezone/tzselect.ksh: Update from tzcode git revision
9513         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9514         * timezone/zdump.c: Likewise.
9515         * timezone/zic.c: Likewise.
9516         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9517         in TZVERSION setting, not $(PKGVERSION).
9518         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
9519         REPORT_BUGS_TO settings.
9521         [BZ #14838]
9522         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9523         macro.
9525 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9527         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9528         detection to immediately after _FP_ROUND().
9529         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9530         bits are 0.
9532 2012-11-11  David S. Miller  <davem@davemloft.net>
9534         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9535         inttypes.h
9536         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9537         __close rather than their public counterparts.
9539 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
9541         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9542         file.
9543         [UNIX98] (sem_timedwait): Do not expect.
9544         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9545         [XPG4 || UNIX98] (sockatmark): Do not expect.
9546         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9547         (clock_getcpuclockid): Do not expect.
9548         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9549         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9550         Do not expect.
9551         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9552         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9553         [UNIX98] (vwscanf): Likewise.
9554         [UNIX98] (vswscanf): Likewise.
9556 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
9558         * timezone/version.h: Remove file.
9559         * timezone/README: Do not refer to version.h.
9560         * timezone/Makefile ($(objpfx)zic.o): New dependency on
9561         $(objpfx)version.h.
9562         ($(objpfx)zdump.o): Likewise.
9563         ($(objpfx)version.h): New target.
9565         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9566         2012i.
9567         * timezone/README: Don't mention modification to tzselect.ksh.
9568         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9569         work on unmodified tzselect.ksh.  Substitute version numbers in
9570         tzselect.ksh.
9572         * Makefile (format-me): Remove.
9573         (INSTALL): Adjust indentation.  Use commands directly instead of
9574         using $(format-me).
9576         * aclocal.m4 (ACX_PKGVERSION): New macro.
9577         (ACX_BUGURL): Likewise.
9578         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9579         (PKGVERSION): New AC_DEFINE_UNQUOTED.
9580         (REPORT_BUGS_TO): Likewise.
9581         * configure: Regenerated.
9582         * config.h.in (PKGVERSION): New macro.
9583         (REPORT_BUGS_TO): Likewise.
9584         * config.make.in (PKGVERSION): New variable.
9585         (PKGVERSION_TEXI): Likewise.
9586         (REPORT_BUGS_TO): Likewise.
9587         (REPORT_BUGS_TEXI): Likewise.
9588         * Makefile (format-me): Use -I$(common-objpfx)manual.
9589         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9590         ($(common-objpfx)manual/%): New target.
9591         (manual/%): Remove target.
9592         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9593         (print_version): Use PKGVERSION.
9594         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9595         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9596         and REPORT_BUGS_TO.
9597         ($(objpfx)xtrace): Likewise.
9598         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9599         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9600         (print_version): Use PKGVERSION.
9601         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9602         (do_version): Use PKGVERSION.
9603         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9604         REPORT_BUGS_TO.
9605         (common-ldd-rewrite): Likewise.
9606         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9607         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9608         (print_version): Use PKGVERSION.
9609         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9610         * elf/pldd.c (argp_program_bug_address): Remove variable.
9611         (more_help): New function.
9612         (argp): Use more_help.
9613         (print_version): Use PKGVERSION.
9614         * elf/sln.c (main): Use PKGVERSION.
9615         (usage): Use REPORT_BUGS_TO.
9616         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9617         (top level): Use PKGVERSION.
9618         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9619         (print_version): Use PKGVERSION.
9620         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9621         (print_version): Use PKGVERSION.
9622         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9623         (print_version): Use PKGVERSION.
9624         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9625         (print_version): Use PKGVERSION.
9626         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9627         (print_version): Use PKGVERSION.
9628         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9629         (print_version): Use PKGVERSION.
9630         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9631         and BUGURL.
9632         ($(objpfx)memusage): Likewise.
9633         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9634         (do_version): Use PKGVERSION.
9635         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9636         (print_version): Use PKGVERSION.
9637         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9638         ($PKGVERSION): New variable.
9639         ($REPORT_BUGS_TO): Likewise.
9640         (usage): Use $REPORT_BUGS_TO.
9641         (top level): Use $PKGVERSION.
9642         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9643         ($(objpfx)pkgvers.texi): New rule.
9644         ($(objpfx)stamp-pkgvers): Likewise.
9645         * manual/install.texi: Include pkgvers.texi.
9646         (--with-pkgversion): Document new configure option.
9647         (--with-bugurl): Likewise.
9648         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9649         than necessarily for this particular distribution.  Use
9650         REPORT_BUGS_TO for where to report bugs.
9651         * INSTALL: Regenerated.
9652         * manual/libc.texinfo: Include pkgvers.texi.
9653         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9654         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9655         (print_version): Use PKGVERSION.
9656         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9657         (print_version): Use PKGVERSION.
9658         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9659         (print_version): Use PKGVERSION.
9660         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9661         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9662         macro.
9663         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9664         (print_version): Use PKGVERSION.
9665         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9666         (print_version): Use PKGVERSION.
9667         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9668         and PKGVERSION.
9670         * timezone/checktab.awk: Update from tzcode 2012i.
9671         * timezone/ialloc.c: Likewise.
9672         * timezone/private.h: Likewise.
9673         * timezone/scheck.c: Likewise.
9674         * timezone/tzfile.h: Likewise.
9675         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9676         (TZVERSION): Hardcode tzcode version number.
9677         * timezone/zdump.c: Update from tzcode 2012i.
9678         * timezone/zic.c: Likewise.
9679         * timezone/version.h: New file.
9680         * timezone/README: Describe version.h.  Update upstream location.
9682         [BZ #14824]
9683         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9684         (mktemp): Enable declaration.
9685         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9686         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9687         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9688         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9689         Likewise.
9690         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9691         Likewise.
9692         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9693         Likewise.
9694         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9695         Likewise.
9696         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9697         Likewise.
9698         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9699         Likewise.
9701         [BZ #14821]
9702         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9703         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
9704         for copies of such integer values.
9705         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9706         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9708 2012-11-09  Andreas Jaeger  <aj@suse.de>
9710         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9711         definitions and declarations that are provided by
9712         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9714 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9716         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9717         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9718         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9719         definition.
9721 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9723         * elf/elf.h: Update comment before AArch64 relocations.
9725 2012-11-07  David S. Miller  <davem@davemloft.net>
9727         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9728         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9729         (__start_context): Declare.
9730         (__makecontext_ret): Delete.
9731         (__makecontext): Hook up __start_context instead of
9732         __makecontext_ret.
9733         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9734         (sysdep_routines): Add __start_context when in stdlib.
9736 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9738         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9739         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9740         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
9741         hardcoded "nm".
9742         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
9743         (READELF): New variable.  Use it instead of hardcoded "readelf".
9745 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9747         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9748         * sysdeps/x86/Makefile: Here.
9749         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9750         * sysdeps/x86/tst-xmmymm.sh: This.
9752 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9754         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9755         expectations.
9756         [UNIX98] (pthread_barrier_t): Do not expect.
9757         [UNIX98] (pthread_barrierattr_t): Likewise.
9758         [UNIX98] (pthread_spinlock_t): Likewise.
9759         [UNIX98] (pthread_barrier_destroy): Likewise.
9760         [UNIX98] (pthread_barrier_init): Likewise.
9761         [UNIX98] (pthread_barrier_wait): Likewise.
9762         [UNIX98] (pthread_barrierattr_destroy): Likewise.
9763         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9764         [UNIX98] (pthread_barrierattr_init): Likewise.
9765         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9766         [UNIX98] (pthread_getcpuclockid): Likewise.
9767         [UNIX98] (pthread_mutex_timedlock): Likewise.
9768         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9769         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9770         [UNIX98] (pthread_sigmask): Likewise.
9771         [UNIX98] (pthread_spin_destroy): Likewise.
9772         [UNIX98] (pthread_spin_init): Likewise.
9773         [UNIX98] (pthread_spin_lock): Likewise.
9774         [UNIX98] (pthread_spin_trylock): Likewise.
9775         [UNIX98] (pthread_spin_unlock): Likewise.
9776         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9777         Do not expect.
9778         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9779         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9780         [XPG3 || XPG4] (pthread_cond_t): Likewise.
9781         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9782         [XPG3 || XPG4] (pthread_key_t): Likewise.
9783         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9784         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9785         [XPG3 || XPG4] (pthread_once_t): Likewise.
9786         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9787         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9788         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9789         [XPG3 || XPG4] (pthread_t): Likewise.
9791         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9792         not expect.
9793         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9795         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9796         Change function return type to int.
9798         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9799         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9800         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9801         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9802         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9803         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9804         [!POSIX] (posix_madvise): Likewise.
9805         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9806         && !UNIX98].
9807         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9808         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9809         (mode_t): Likewise.
9810         (posix_mem_offset): Likewise.
9811         (posix_typed_mem_get_info): Likewise.
9812         (posix_typed_mem_open): Likewise.
9814         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9815         Change condition to [XOPEN2K8].
9817         * conform/conformtest.pl: Preprocess allow-header data with -x c
9818         instead of from stdin.
9819         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9820         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9821         [C99-based standards] (cerfc): Likewise.
9822         [C99-based standards] (cexp2): Likewise.
9823         [C99-based standards] (cexpm1): Likewise.
9824         [C99-based standards] (clog10): Likewise.
9825         [C99-based standards] (clog1p): Likewise.
9826         [C99-based standards] (clog2): Likewise.
9827         [C99-based standards] (clgamma): Likewise.
9828         [C99-based standards] (ctgamma): Likewise.
9829         [C99-based standards] (cerff): Likewise.
9830         [C99-based standards] (cerfcf): Likewise.
9831         [C99-based standards] (cexp2f): Likewise.
9832         [C99-based standards] (cexpm1f): Likewise.
9833         [C99-based standards] (clog10f): Likewise.
9834         [C99-based standards] (clog1pf): Likewise.
9835         [C99-based standards] (clog2f): Likewise.
9836         [C99-based standards] (clgammaf): Likewise.
9837         [C99-based standards] (ctgammaf): Likewise.
9838         [C99-based standards] (cerfl): Likewise.
9839         [C99-based standards] (cerfcl): Likewise.
9840         [C99-based standards] (cexp2l): Likewise.
9841         [C99-based standards] (cexpm1l): Likewise.
9842         [C99-based standards] (clog10l): Likewise.
9843         [C99-based standards] (clog1pl): Likewise.
9844         [C99-based standards] (clog2l): Likewise.
9845         [C99-based standards] (clgammal): Likewise.
9846         [C99-based standards] (ctgammal): Likewise.
9847         * conform/data/inttypes.h-data [C99-based standards]: Include
9848         stdint.h-data.  Remove all expectations for stdint.h contents.
9849         [C99-based standards] (PRI*): Do not allow.
9850         [C99-based standards] (SCN*): Likewise.
9851         [C99-based standards] (*_t): Likewise.
9852         [C99-based-standards] (PRId8): Expect macro.
9853         [C99-based-standards] (PRIi8): Likewise.
9854         [C99-based-standards] (PRIo8): Likewise.
9855         [C99-based-standards] (PRIu8): Likewise.
9856         [C99-based-standards] (PRIx8): Likewise.
9857         [C99-based-standards] (PRIX8): Likewise.
9858         [C99-based-standards] (SCNd8): Likewise.
9859         [C99-based-standards] (SCNi8): Likewise.
9860         [C99-based-standards] (SCNo8): Likewise.
9861         [C99-based-standards] (SCNu8): Likewise.
9862         [C99-based-standards] (SCNx8): Likewise.
9863         [C99-based-standards] (PRIdLEAST8): Likewise.
9864         [C99-based-standards] (PRIiLEAST8): Likewise.
9865         [C99-based-standards] (PRIoLEAST8): Likewise.
9866         [C99-based-standards] (PRIuLEAST8): Likewise.
9867         [C99-based-standards] (PRIxLEAST8): Likewise.
9868         [C99-based-standards] (PRIXLEAST8): Likewise.
9869         [C99-based-standards] (SCNdLEAST8): Likewise.
9870         [C99-based-standards] (SCNiLEAST8): Likewise.
9871         [C99-based-standards] (SCNoLEAST8): Likewise.
9872         [C99-based-standards] (SCNuLEAST8): Likewise.
9873         [C99-based-standards] (SCNxLEAST8): Likewise.
9874         [C99-based-standards] (PRIdFAST8): Likewise.
9875         [C99-based-standards] (PRIiFAST8): Likewise.
9876         [C99-based-standards] (PRIoFAST8): Likewise.
9877         [C99-based-standards] (PRIuFAST8): Likewise.
9878         [C99-based-standards] (PRIxFAST8): Likewise.
9879         [C99-based-standards] (PRIXFAST8): Likewise.
9880         [C99-based-standards] (SCNdFAST8): Likewise.
9881         [C99-based-standards] (SCNiFAST8): Likewise.
9882         [C99-based-standards] (SCNoFAST8): Likewise.
9883         [C99-based-standards] (SCNuFAST8): Likewise.
9884         [C99-based-standards] (SCNxFAST8): Likewise.
9885         [C99-based-standards] (PRId16): Likewise.
9886         [C99-based-standards] (PRIi16): Likewise.
9887         [C99-based-standards] (PRIo16): Likewise.
9888         [C99-based-standards] (PRIu16): Likewise.
9889         [C99-based-standards] (PRIx16): Likewise.
9890         [C99-based-standards] (PRIX16): Likewise.
9891         [C99-based-standards] (SCNd16): Likewise.
9892         [C99-based-standards] (SCNi16): Likewise.
9893         [C99-based-standards] (SCNo16): Likewise.
9894         [C99-based-standards] (SCNu16): Likewise.
9895         [C99-based-standards] (SCNx16): Likewise.
9896         [C99-based-standards] (PRIdLEAST16): Likewise.
9897         [C99-based-standards] (PRIiLEAST16): Likewise.
9898         [C99-based-standards] (PRIoLEAST16): Likewise.
9899         [C99-based-standards] (PRIuLEAST16): Likewise.
9900         [C99-based-standards] (PRIxLEAST16): Likewise.
9901         [C99-based-standards] (PRIXLEAST16): Likewise.
9902         [C99-based-standards] (SCNdLEAST16): Likewise.
9903         [C99-based-standards] (SCNiLEAST16): Likewise.
9904         [C99-based-standards] (SCNoLEAST16): Likewise.
9905         [C99-based-standards] (SCNuLEAST16): Likewise.
9906         [C99-based-standards] (SCNxLEAST16): Likewise.
9907         [C99-based-standards] (PRIdFAST16): Likewise.
9908         [C99-based-standards] (PRIiFAST16): Likewise.
9909         [C99-based-standards] (PRIoFAST16): Likewise.
9910         [C99-based-standards] (PRIuFAST16): Likewise.
9911         [C99-based-standards] (PRIxFAST16): Likewise.
9912         [C99-based-standards] (PRIXFAST16): Likewise.
9913         [C99-based-standards] (SCNdFAST16): Likewise.
9914         [C99-based-standards] (SCNiFAST16): Likewise.
9915         [C99-based-standards] (SCNoFAST16): Likewise.
9916         [C99-based-standards] (SCNuFAST16): Likewise.
9917         [C99-based-standards] (SCNxFAST16): Likewise.
9918         [C99-based-standards] (PRId32): Likewise.
9919         [C99-based-standards] (PRIi32): Likewise.
9920         [C99-based-standards] (PRIo32): Likewise.
9921         [C99-based-standards] (PRIu32): Likewise.
9922         [C99-based-standards] (PRIx32): Likewise.
9923         [C99-based-standards] (PRIX32): Likewise.
9924         [C99-based-standards] (SCNd32): Likewise.
9925         [C99-based-standards] (SCNi32): Likewise.
9926         [C99-based-standards] (SCNo32): Likewise.
9927         [C99-based-standards] (SCNu32): Likewise.
9928         [C99-based-standards] (SCNx32): Likewise.
9929         [C99-based-standards] (PRIdLEAST32): Likewise.
9930         [C99-based-standards] (PRIiLEAST32): Likewise.
9931         [C99-based-standards] (PRIoLEAST32): Likewise.
9932         [C99-based-standards] (PRIuLEAST32): Likewise.
9933         [C99-based-standards] (PRIxLEAST32): Likewise.
9934         [C99-based-standards] (PRIXLEAST32): Likewise.
9935         [C99-based-standards] (SCNdLEAST32): Likewise.
9936         [C99-based-standards] (SCNiLEAST32): Likewise.
9937         [C99-based-standards] (SCNoLEAST32): Likewise.
9938         [C99-based-standards] (SCNuLEAST32): Likewise.
9939         [C99-based-standards] (SCNxLEAST32): Likewise.
9940         [C99-based-standards] (PRIdFAST32): Likewise.
9941         [C99-based-standards] (PRIiFAST32): Likewise.
9942         [C99-based-standards] (PRIoFAST32): Likewise.
9943         [C99-based-standards] (PRIuFAST32): Likewise.
9944         [C99-based-standards] (PRIxFAST32): Likewise.
9945         [C99-based-standards] (PRIXFAST32): Likewise.
9946         [C99-based-standards] (SCNdFAST32): Likewise.
9947         [C99-based-standards] (SCNiFAST32): Likewise.
9948         [C99-based-standards] (SCNoFAST32): Likewise.
9949         [C99-based-standards] (SCNuFAST32): Likewise.
9950         [C99-based-standards] (SCNxFAST32): Likewise.
9951         [C99-based-standards] (PRId64): Likewise.
9952         [C99-based-standards] (PRIi64): Likewise.
9953         [C99-based-standards] (PRIo64): Likewise.
9954         [C99-based-standards] (PRIu64): Likewise.
9955         [C99-based-standards] (PRIx64): Likewise.
9956         [C99-based-standards] (PRIX64): Likewise.
9957         [C99-based-standards] (SCNd64): Likewise.
9958         [C99-based-standards] (SCNi64): Likewise.
9959         [C99-based-standards] (SCNo64): Likewise.
9960         [C99-based-standards] (SCNu64): Likewise.
9961         [C99-based-standards] (SCNx64): Likewise.
9962         [C99-based-standards] (PRIdLEAST64): Likewise.
9963         [C99-based-standards] (PRIiLEAST64): Likewise.
9964         [C99-based-standards] (PRIoLEAST64): Likewise.
9965         [C99-based-standards] (PRIuLEAST64): Likewise.
9966         [C99-based-standards] (PRIxLEAST64): Likewise.
9967         [C99-based-standards] (PRIXLEAST64): Likewise.
9968         [C99-based-standards] (SCNdLEAST64): Likewise.
9969         [C99-based-standards] (SCNiLEAST64): Likewise.
9970         [C99-based-standards] (SCNoLEAST64): Likewise.
9971         [C99-based-standards] (SCNuLEAST64): Likewise.
9972         [C99-based-standards] (SCNxLEAST64): Likewise.
9973         [C99-based-standards] (PRIdFAST64): Likewise.
9974         [C99-based-standards] (PRIiFAST64): Likewise.
9975         [C99-based-standards] (PRIoFAST64): Likewise.
9976         [C99-based-standards] (PRIuFAST64): Likewise.
9977         [C99-based-standards] (PRIxFAST64): Likewise.
9978         [C99-based-standards] (PRIXFAST64): Likewise.
9979         [C99-based-standards] (SCNdFAST64): Likewise.
9980         [C99-based-standards] (SCNiFAST64): Likewise.
9981         [C99-based-standards] (SCNoFAST64): Likewise.
9982         [C99-based-standards] (SCNuFAST64): Likewise.
9983         [C99-based-standards] (SCNxFAST64): Likewise.
9984         [C99-based-standards] (PRIdMAX): Likewise.
9985         [C99-based-standards] (PRIiMAX): Likewise.
9986         [C99-based-standards] (PRIoMAX): Likewise.
9987         [C99-based-standards] (PRIuMAX): Likewise.
9988         [C99-based-standards] (PRIxMAX): Likewise.
9989         [C99-based-standards] (PRIXMAX): Likewise.
9990         [C99-based-standards] (SCNdMAX): Likewise.
9991         [C99-based-standards] (SCNiMAX): Likewise.
9992         [C99-based-standards] (SCNoMAX): Likewise.
9993         [C99-based-standards] (SCNuMAX): Likewise.
9994         [C99-based-standards] (SCNxMAX): Likewise.
9995         [C99-based-standards] (PRIdPTR): Likewise.
9996         [C99-based-standards] (PRIiPTR): Likewise.
9997         [C99-based-standards] (PRIoPTR): Likewise.
9998         [C99-based-standards] (PRIuPTR): Likewise.
9999         [C99-based-standards] (PRIxPTR): Likewise.
10000         [C99-based-standards] (PRIXPTR): Likewise.
10001         [C99-based-standards] (SCNdPTR): Likewise.
10002         [C99-based-standards] (SCNiPTR): Likewise.
10003         [C99-based-standards] (SCNoPTR): Likewise.
10004         [C99-based-standards] (SCNuPTR): Likewise.
10005         [C99-based-standards] (SCNxPTR): Likewise.
10006         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10007         allow.
10008         * conform/data/stdint.h-data: Update comments to clarify
10009         requirements.
10010         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
10011         type.
10012         [C99-based standards] (INT8_MAX): Likewise.
10013         [C99-based standards] (INT16_MIN): Likewise.
10014         [C99-based standards] (INT16_MAX): Likewise.
10015         [C99-based standards] (INT32_MIN): Likewise.
10016         [C99-based standards] (INT32_MAX): Likewise.
10017         [C99-based standards] (INT64_MIN): Likewise.
10018         [C99-based standards] (INT64_MAX): Likewise.
10019         [C99-based standards] (UINT8_MAX): Likewise.
10020         [C99-based standards] (UINT16_MAX): Likewise.
10021         [C99-based standards] (UINT32_MAX): Likewise.
10022         [C99-based standards] (UINT64_MAX): Likewise.
10023         [C99-based standards] (INT_LEAST8_MIN): Likewise.
10024         [C99-based standards] (INT_LEAST8_MAX): Likewise.
10025         [C99-based standards] (INT_LEAST16_MIN): Likewise.
10026         [C99-based standards] (INT_LEAST16_MAX): Likewise.
10027         [C99-based standards] (INT_LEAST32_MIN): Likewise.
10028         [C99-based standards] (INT_LEAST32_MAX): Likewise.
10029         [C99-based standards] (INT_LEAST64_MIN): Likewise.
10030         [C99-based standards] (INT_LEAST64_MAX): Likewise.
10031         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10032         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10033         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10034         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10035         [C99-based standards] (INT_FAST8_MIN): Likewise.
10036         [C99-based standards] (INT_FAST8_MAX): Likewise.
10037         [C99-based standards] (INT_FAST16_MIN): Likewise.
10038         [C99-based standards] (INT_FAST16_MAX): Likewise.
10039         [C99-based standards] (INT_FAST32_MIN): Likewise.
10040         [C99-based standards] (INT_FAST32_MAX): Likewise.
10041         [C99-based standards] (INT_FAST64_MIN): Likewise.
10042         [C99-based standards] (INT_FAST64_MAX): Likewise.
10043         [C99-based standards] (UINT_FAST8_MAX): Likewise.
10044         [C99-based standards] (UINT_FAST16_MAX): Likewise.
10045         [C99-based standards] (UINT_FAST32_MAX): Likewise.
10046         [C99-based standards] (UINT_FAST64_MAX): Likewise.
10047         [C99-based standards] (INTPTR_MIN): Likewise.
10048         [C99-based standards] (INTPTR_MAX): Likewise.
10049         [C99-based standards] (UINTPTR_MAX): Likewise.
10050         [C99-based standards] (INTMAX_MIN): Likewise.
10051         [C99-based standards] (INTMAX_MAX): Likewise.
10052         [C99-based standards] (UINTMAX_MAX): Likewise.
10053         [C99-based standards] (PTRDIFF_MIN): Likewise.
10054         [C99-based standards] (PTRDIFF_MAX): Likewise.
10055         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10056         [C99-based standards] (SIZE_MAX): Likewise.
10057         [C99-based standards] (WCHAR_MAX): Likewise.
10058         [C99-based standards] (WINT_MAX): Likewise.
10059         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
10060         constraint on value.
10061         [C99-based standards] (WCHAR_MIN): Likewise.
10062         [C99-based standards] (WINT_MIN): Likewise.
10063         [C99-based standards] (*_t): Allow.
10064         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10065         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10066         Include math.h-data and complex.h-data.  Remove all expectations
10067         of math.h and complex.h contents.
10068         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10069         at end of line.
10070         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10071         (struct tm): Expect tag.
10072         [C99-based-standards] (wcstof): Expect function.
10073         [C99-based-standards] (wcstold): Likewise.
10074         [C99-based-standards] (wcstoll): Likewise.
10075         [C99-based-standards] (wcstoull): Likewise.
10076         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10077         macro-int-constant.  Specify type.
10078         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
10079         constraint on value.
10080         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10081         Specify type.
10082         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10083         Specify value.
10084         [ISO C standards]: Do not allow headers.
10085         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10086         wcs[abcdefghijklmnopqrstuvwxyz]*.
10087         [ISO C standards] (*_t): Do not allow.
10088         * conform/data/wctype.h-data [C99-based standards] (iswblank):
10089         Expect function.
10090         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10091         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10092         Specify type.
10093         [ISO C standards]: Do not allow headers.
10094         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10095         is[abcdefghijklmnopqrstuvwxyz]*.
10096         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10097         to[abcdefghijklmnopqrstuvwxyz]*.
10098         [ISO C standards] (*_t): Do not allow.
10099         * conform/data/stdalign.h-data: New file.
10100         * conform/data/stdbool.h-data: Likewise.
10101         * conform/data/stdnoreturn.h-data: Likewise.
10103 2012-11-07  Roland McGrath  <roland@hack.frob.com>
10105         [BZ #14815]
10106         * manual/filesys.texi (Directory Entries): Typo fix.
10107         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10109 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10111         * elf/elf.h (EM_AARCH64): New macro.
10112         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10113         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10114         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10115         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10116         (R_AARCH64_TLSDESC): Likewise.
10117         (NT_ARM_TLS): Likewise.
10118         (NT_ARM_HW_BREAK): Likewise.
10119         (NT_ARM_HW_WATCH): Likewise.
10121 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10123         [BZ #14811]
10124         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10125         (__ieee754_powl): Saturate nonzero exponents with absolute value
10126         below 0x1p-79 to +/- 0x1p-79.
10127         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10128         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10129         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10130         nonzero exponents with absolute value below 0x1p-32 to +/-
10131         0x1p-32.
10132         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10133         (__ieee754_powl): Saturate nonzero exponents with absolute value
10134         below 0x1p-79 to +/- 0x1p-79.
10135         * math/libm-test.inc (pow_test): Add more tests.
10137 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10139         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10140         _dl_s390_cap_flags with kernel. Increase string length.
10141         (_dl_s390_platforms): Add z196 and zEC12.
10143 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10145         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10146         Change XOPEN21K to XOPEN2K.
10148 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
10150         * string/memmove.c: Use memcpy when possible.
10152 2012-11-06  Andreas Jaeger  <aj@suse.de>
10154         * po/eo.po: Update from translation team.
10156 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
10158         [BZ #14793]
10159         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10160         exponent and small x and y exponents, scale x or y up.  Increase
10161         by 2 the exponent used in scaling up.
10162         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10163         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10164         * math/libm-test.inc (fma_test): Add more tests.
10165         (fma_test_towardzero): Likewise.
10166         (fma_test_downward): Likewise.
10167         (fma_test_upward): Likewise.
10169 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
10171         [BZ #14805]
10172         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10173         fenv_t *.
10175         [BZ #14801]
10176         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10177         namespace for names of struct fields.
10178         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10179         fenv_t fields.
10180         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10181         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10183 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10185         [BZ #3665]
10186         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10188 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10190         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10191         PTR_DEMANGLE.
10193         [BZ #5246]
10194         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10195         PTR_DEMANGLE.
10197 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
10199         [BZ #14797]
10200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10201         definitely overflow as x * y not x * y + z.
10202         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10203         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10204         * math/libm-test.inc (fma_test): Add more tests.
10205         (fma_test_towardzero): Likewise.
10206         (fma_test_downward): Likewise.
10207         (fma_test_upward): Likewise.
10209 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10211         [BZ #157]
10213         * include/stub-tag.h: Remove file.
10214         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10215         '#include' of it.
10216         * manual/maint.texi (Porting): Don't reference it.
10217         * Makerules ($(objpfx)stubs): Likewise.
10218         * dirent/closedir.c: Don't include <stub-tag.h>.
10219         * dirent/dirfd.c: Likewise.
10220         * dirent/fdopendir.c: Likewise.
10221         * dirent/getdents.c: Likewise.
10222         * dirent/getdents64.c: Likewise.
10223         * dirent/opendir.c: Likewise.
10224         * dirent/readdir.c: Likewise.
10225         * dirent/readdir64.c: Likewise.
10226         * dirent/readdir64_r.c: Likewise.
10227         * dirent/readdir_r.c: Likewise.
10228         * dirent/rewinddir.c: Likewise.
10229         * dirent/seekdir.c: Likewise.
10230         * dirent/telldir.c: Likewise.
10231         * gmon/profil.c: Likewise.
10232         * grp/setgroups.c: Likewise.
10233         * inet/if_index.c: Likewise.
10234         * io/access.c: Likewise.
10235         * io/chdir.c: Likewise.
10236         * io/chmod.c: Likewise.
10237         * io/chown.c: Likewise.
10238         * io/close.c: Likewise.
10239         * io/dup.c: Likewise.
10240         * io/dup2.c: Likewise.
10241         * io/dup3.c: Likewise.
10242         * io/euidaccess.c: Likewise.
10243         * io/faccessat.c: Likewise.
10244         * io/fchdir.c: Likewise.
10245         * io/fchmod.c: Likewise.
10246         * io/fchmodat.c: Likewise.
10247         * io/fchown.c: Likewise.
10248         * io/fchownat.c: Likewise.
10249         * io/fcntl.c: Likewise.
10250         * io/flock.c: Likewise.
10251         * io/fstatfs.c: Likewise.
10252         * io/fstatfs64.c: Likewise.
10253         * io/fstatvfs.c: Likewise.
10254         * io/fstatvfs64.c: Likewise.
10255         * io/futimens.c: Likewise.
10256         * io/fxstat.c: Likewise.
10257         * io/fxstat64.c: Likewise.
10258         * io/fxstatat.c: Likewise.
10259         * io/fxstatat64.c: Likewise.
10260         * io/getcwd.c: Likewise.
10261         * io/isatty.c: Likewise.
10262         * io/lchmod.c: Likewise.
10263         * io/lchown.c: Likewise.
10264         * io/link.c: Likewise.
10265         * io/linkat.c: Likewise.
10266         * io/lseek.c: Likewise.
10267         * io/lseek64.c: Likewise.
10268         * io/lxstat64.c: Likewise.
10269         * io/mkdir.c: Likewise.
10270         * io/mkdirat.c: Likewise.
10271         * io/mkfifo.c: Likewise.
10272         * io/mkfifoat.c: Likewise.
10273         * io/open.c: Likewise.
10274         * io/open64.c: Likewise.
10275         * io/openat.c: Likewise.
10276         * io/openat64.c: Likewise.
10277         * io/pipe.c: Likewise.
10278         * io/pipe2.c: Likewise.
10279         * io/poll.c: Likewise.
10280         * io/posix_fadvise.c: Likewise.
10281         * io/posix_fadvise64.c: Likewise.
10282         * io/posix_fallocate.c: Likewise.
10283         * io/posix_fallocate64.c: Likewise.
10284         * io/read.c: Likewise.
10285         * io/readlink.c: Likewise.
10286         * io/readlinkat.c: Likewise.
10287         * io/rmdir.c: Likewise.
10288         * io/sendfile.c: Likewise.
10289         * io/sendfile64.c: Likewise.
10290         * io/statfs.c: Likewise.
10291         * io/statfs64.c: Likewise.
10292         * io/statvfs.c: Likewise.
10293         * io/statvfs64.c: Likewise.
10294         * io/symlink.c: Likewise.
10295         * io/symlinkat.c: Likewise.
10296         * io/ttyname.c: Likewise.
10297         * io/ttyname_r.c: Likewise.
10298         * io/umask.c: Likewise.
10299         * io/unlink.c: Likewise.
10300         * io/unlinkat.c: Likewise.
10301         * io/utime.c: Likewise.
10302         * io/utimensat.c: Likewise.
10303         * io/write.c: Likewise.
10304         * io/xmknod.c: Likewise.
10305         * io/xmknodat.c: Likewise.
10306         * io/xstat.c: Likewise.
10307         * io/xstat64.c: Likewise.
10308         * login/getpt.c: Likewise.
10309         * login/grantpt.c: Likewise.
10310         * login/unlockpt.c: Likewise.
10311         * math/e_acoshl.c: Likewise.
10312         * math/e_acosl.c: Likewise.
10313         * math/e_asinl.c: Likewise.
10314         * math/e_atan2l.c: Likewise.
10315         * math/e_atanhl.c: Likewise.
10316         * math/e_coshl.c: Likewise.
10317         * math/e_expl.c: Likewise.
10318         * math/e_fmodl.c: Likewise.
10319         * math/e_gammal_r.c: Likewise.
10320         * math/e_hypotl.c: Likewise.
10321         * math/e_j0l.c: Likewise.
10322         * math/e_j1l.c: Likewise.
10323         * math/e_jnl.c: Likewise.
10324         * math/e_lgammal_r.c: Likewise.
10325         * math/e_log10l.c: Likewise.
10326         * math/e_log2l.c: Likewise.
10327         * math/e_logl.c: Likewise.
10328         * math/e_powl.c: Likewise.
10329         * math/e_rem_pio2l.c: Likewise.
10330         * math/e_sinhl.c: Likewise.
10331         * math/e_sqrtl.c: Likewise.
10332         * math/fclrexcpt.c: Likewise.
10333         * math/fedisblxcpt.c: Likewise.
10334         * math/feenablxcpt.c: Likewise.
10335         * math/fegetenv.c: Likewise.
10336         * math/fegetexcept.c: Likewise.
10337         * math/fegetround.c: Likewise.
10338         * math/feholdexcpt.c: Likewise.
10339         * math/fesetenv.c: Likewise.
10340         * math/fesetround.c: Likewise.
10341         * math/feupdateenv.c: Likewise.
10342         * math/fgetexcptflg.c: Likewise.
10343         * math/fraiseexcpt.c: Likewise.
10344         * math/fsetexcptflg.c: Likewise.
10345         * math/ftestexcept.c: Likewise.
10346         * math/k_cosl.c: Likewise.
10347         * math/k_rem_pio2l.c: Likewise.
10348         * math/k_sinl.c: Likewise.
10349         * math/k_tanl.c: Likewise.
10350         * math/s_asinhl.c: Likewise.
10351         * math/s_atanl.c: Likewise.
10352         * math/s_cbrtl.c: Likewise.
10353         * math/s_erfl.c: Likewise.
10354         * math/s_expm1l.c: Likewise.
10355         * math/s_log1pl.c: Likewise.
10356         * math/s_tanhl.c: Likewise.
10357         * misc/acct.c: Likewise.
10358         * misc/brk.c: Likewise.
10359         * misc/chflags.c: Likewise.
10360         * misc/chroot.c: Likewise.
10361         * misc/fchflags.c: Likewise.
10362         * misc/fgetxattr.c: Likewise.
10363         * misc/flistxattr.c: Likewise.
10364         * misc/fremovexattr.c: Likewise.
10365         * misc/fsetxattr.c: Likewise.
10366         * misc/fsync.c: Likewise.
10367         * misc/ftruncate.c: Likewise.
10368         * misc/futimes.c: Likewise.
10369         * misc/futimesat.c: Likewise.
10370         * misc/getdomain.c: Likewise.
10371         * misc/getdtsz.c: Likewise.
10372         * misc/gethostid.c: Likewise.
10373         * misc/gethostname.c: Likewise.
10374         * misc/getloadavg.c: Likewise.
10375         * misc/getpagesize.c: Likewise.
10376         * misc/getsysstats.c: Likewise.
10377         * misc/getxattr.c: Likewise.
10378         * misc/gtty.c: Likewise.
10379         * misc/ioctl.c: Likewise.
10380         * misc/lgetxattr.c: Likewise.
10381         * misc/listxattr.c: Likewise.
10382         * misc/llistxattr.c: Likewise.
10383         * misc/lremovexattr.c: Likewise.
10384         * misc/lsetxattr.c: Likewise.
10385         * misc/lutimes.c: Likewise.
10386         * misc/madvise.c: Likewise.
10387         * misc/mincore.c: Likewise.
10388         * misc/mlock.c: Likewise.
10389         * misc/mlockall.c: Likewise.
10390         * misc/mmap.c: Likewise.
10391         * misc/mprotect.c: Likewise.
10392         * misc/msync.c: Likewise.
10393         * misc/munlock.c: Likewise.
10394         * misc/munlockall.c: Likewise.
10395         * misc/munmap.c: Likewise.
10396         * misc/preadv.c: Likewise.
10397         * misc/preadv64.c: Likewise.
10398         * misc/ptrace.c: Likewise.
10399         * misc/pwritev.c: Likewise.
10400         * misc/pwritev64.c: Likewise.
10401         * misc/readv.c: Likewise.
10402         * misc/reboot.c: Likewise.
10403         * misc/remap_file_pages.c: Likewise.
10404         * misc/removexattr.c: Likewise.
10405         * misc/revoke.c: Likewise.
10406         * misc/select.c: Likewise.
10407         * misc/setdomain.c: Likewise.
10408         * misc/setegid.c: Likewise.
10409         * misc/seteuid.c: Likewise.
10410         * misc/sethostid.c: Likewise.
10411         * misc/sethostname.c: Likewise.
10412         * misc/setregid.c: Likewise.
10413         * misc/setreuid.c: Likewise.
10414         * misc/setxattr.c: Likewise.
10415         * misc/sstk.c: Likewise.
10416         * misc/stty.c: Likewise.
10417         * misc/swapoff.c: Likewise.
10418         * misc/swapon.c: Likewise.
10419         * misc/sync.c: Likewise.
10420         * misc/syncfs.c: Likewise.
10421         * misc/syscall.c: Likewise.
10422         * misc/truncate.c: Likewise.
10423         * misc/ualarm.c: Likewise.
10424         * misc/usleep.c: Likewise.
10425         * misc/ustat.c: Likewise.
10426         * misc/utimes.c: Likewise.
10427         * misc/vhangup.c: Likewise.
10428         * misc/writev.c: Likewise.
10429         * posix/_exit.c: Likewise.
10430         * posix/alarm.c: Likewise.
10431         * posix/execve.c: Likewise.
10432         * posix/fexecve.c: Likewise.
10433         * posix/fork.c: Likewise.
10434         * posix/fpathconf.c: Likewise.
10435         * posix/getaddrinfo.c: Likewise.
10436         * posix/getegid.c: Likewise.
10437         * posix/geteuid.c: Likewise.
10438         * posix/getgid.c: Likewise.
10439         * posix/getgroups.c: Likewise.
10440         * posix/getlogin.c: Likewise.
10441         * posix/getlogin_r.c: Likewise.
10442         * posix/getpgid.c: Likewise.
10443         * posix/getpid.c: Likewise.
10444         * posix/getppid.c: Likewise.
10445         * posix/getresgid.c: Likewise.
10446         * posix/getresuid.c: Likewise.
10447         * posix/getsid.c: Likewise.
10448         * posix/getuid.c: Likewise.
10449         * posix/glob64.c: Likewise.
10450         * posix/nanosleep.c: Likewise.
10451         * posix/pathconf.c: Likewise.
10452         * posix/pause.c: Likewise.
10453         * posix/posix_madvise.c: Likewise.
10454         * posix/pread.c: Likewise.
10455         * posix/pread64.c: Likewise.
10456         * posix/pwrite.c: Likewise.
10457         * posix/pwrite64.c: Likewise.
10458         * posix/sched_getaffinity.c: Likewise.
10459         * posix/sched_getp.c: Likewise.
10460         * posix/sched_gets.c: Likewise.
10461         * posix/sched_primax.c: Likewise.
10462         * posix/sched_primin.c: Likewise.
10463         * posix/sched_rr_gi.c: Likewise.
10464         * posix/sched_setaffinity.c: Likewise.
10465         * posix/sched_setp.c: Likewise.
10466         * posix/sched_sets.c: Likewise.
10467         * posix/sched_yield.c: Likewise.
10468         * posix/setgid.c: Likewise.
10469         * posix/setlogin.c: Likewise.
10470         * posix/setpgid.c: Likewise.
10471         * posix/setresgid.c: Likewise.
10472         * posix/setresuid.c: Likewise.
10473         * posix/setsid.c: Likewise.
10474         * posix/setuid.c: Likewise.
10475         * posix/sleep.c: Likewise.
10476         * posix/spawni.c: Likewise.
10477         * posix/sysconf.c: Likewise.
10478         * posix/times.c: Likewise.
10479         * posix/wait.c: Likewise.
10480         * posix/wait3.c: Likewise.
10481         * posix/wait4.c: Likewise.
10482         * posix/waitpid.c: Likewise.
10483         * resolv/gai_sigqueue.c: Likewise.
10484         * resource/getpriority.c: Likewise.
10485         * resource/getrlimit.c: Likewise.
10486         * resource/getrusage.c: Likewise.
10487         * resource/nice.c: Likewise.
10488         * resource/setpriority.c: Likewise.
10489         * resource/setrlimit.c: Likewise.
10490         * resource/ulimit.c: Likewise.
10491         * rt/aio_cancel.c: Likewise.
10492         * rt/aio_fsync.c: Likewise.
10493         * rt/aio_read.c: Likewise.
10494         * rt/aio_sigqueue.c: Likewise.
10495         * rt/aio_suspend.c: Likewise.
10496         * rt/aio_write.c: Likewise.
10497         * rt/clock_getres.c: Likewise.
10498         * rt/clock_gettime.c: Likewise.
10499         * rt/clock_nanosleep.c: Likewise.
10500         * rt/clock_settime.c: Likewise.
10501         * rt/lio_listio.c: Likewise.
10502         * rt/mq_close.c: Likewise.
10503         * rt/mq_getattr.c: Likewise.
10504         * rt/mq_notify.c: Likewise.
10505         * rt/mq_open.c: Likewise.
10506         * rt/mq_receive.c: Likewise.
10507         * rt/mq_send.c: Likewise.
10508         * rt/mq_setattr.c: Likewise.
10509         * rt/mq_timedreceive.c: Likewise.
10510         * rt/mq_timedsend.c: Likewise.
10511         * rt/mq_unlink.c: Likewise.
10512         * rt/shm_open.c: Likewise.
10513         * rt/shm_unlink.c: Likewise.
10514         * rt/timer_create.c: Likewise.
10515         * rt/timer_delete.c: Likewise.
10516         * rt/timer_getoverr.c: Likewise.
10517         * rt/timer_gettime.c: Likewise.
10518         * rt/timer_settime.c: Likewise.
10519         * setjmp/__longjmp.c: Likewise.
10520         * setjmp/setjmp.c: Likewise.
10521         * signal/kill.c: Likewise.
10522         * signal/killpg.c: Likewise.
10523         * signal/raise.c: Likewise.
10524         * signal/sigaction.c: Likewise.
10525         * signal/sigaltstack.c: Likewise.
10526         * signal/sigblock.c: Likewise.
10527         * signal/sigignore.c: Likewise.
10528         * signal/sigintr.c: Likewise.
10529         * signal/signal.c: Likewise.
10530         * signal/sigpause.c: Likewise.
10531         * signal/sigpending.c: Likewise.
10532         * signal/sigqueue.c: Likewise.
10533         * signal/sigreturn.c: Likewise.
10534         * signal/sigset.c: Likewise.
10535         * signal/sigsetmask.c: Likewise.
10536         * signal/sigstack.c: Likewise.
10537         * signal/sigsuspend.c: Likewise.
10538         * signal/sigtimedwait.c: Likewise.
10539         * signal/sigvec.c: Likewise.
10540         * signal/sigwait.c: Likewise.
10541         * signal/sigwaitinfo.c: Likewise.
10542         * signal/sysv_signal.c: Likewise.
10543         * socket/accept.c: Likewise.
10544         * socket/accept4.c: Likewise.
10545         * socket/bind.c: Likewise.
10546         * socket/connect.c: Likewise.
10547         * socket/getpeername.c: Likewise.
10548         * socket/getsockname.c: Likewise.
10549         * socket/getsockopt.c: Likewise.
10550         * socket/isfdtype.c: Likewise.
10551         * socket/listen.c: Likewise.
10552         * socket/recv.c: Likewise.
10553         * socket/recvfrom.c: Likewise.
10554         * socket/recvmsg.c: Likewise.
10555         * socket/send.c: Likewise.
10556         * socket/sendmsg.c: Likewise.
10557         * socket/sendto.c: Likewise.
10558         * socket/setsockopt.c: Likewise.
10559         * socket/shutdown.c: Likewise.
10560         * socket/sockatmark.c: Likewise.
10561         * socket/socket.c: Likewise.
10562         * socket/socketpair.c: Likewise.
10563         * stdio-common/ctermid.c: Likewise.
10564         * stdio-common/cuserid.c: Likewise.
10565         * stdio-common/remove.c: Likewise.
10566         * stdio-common/rename.c: Likewise.
10567         * stdio-common/renameat.c: Likewise.
10568         * stdio-common/tempname.c: Likewise.
10569         * stdlib/getcontext.c: Likewise.
10570         * stdlib/makecontext.c: Likewise.
10571         * stdlib/setcontext.c: Likewise.
10572         * stdlib/swapcontext.c: Likewise.
10573         * stdlib/system.c: Likewise.
10574         * streams/fattach.c: Likewise.
10575         * streams/fdetach.c: Likewise.
10576         * streams/getmsg.c: Likewise.
10577         * streams/getpmsg.c: Likewise.
10578         * streams/putmsg.c: Likewise.
10579         * streams/putpmsg.c: Likewise.
10580         * sysdeps/unix/bsd/getpt.c: Likewise.
10581         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10582         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10583         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10585         Likewise.
10586         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10587         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10588         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10589         * sysvipc/msgctl.c: Likewise.
10590         * sysvipc/msgget.c: Likewise.
10591         * sysvipc/msgrcv.c: Likewise.
10592         * sysvipc/msgsnd.c: Likewise.
10593         * sysvipc/semctl.c: Likewise.
10594         * sysvipc/semget.c: Likewise.
10595         * sysvipc/semop.c: Likewise.
10596         * sysvipc/semtimedop.c: Likewise.
10597         * sysvipc/shmat.c: Likewise.
10598         * sysvipc/shmctl.c: Likewise.
10599         * sysvipc/shmdt.c: Likewise.
10600         * sysvipc/shmget.c: Likewise.
10601         * termios/tcdrain.c: Likewise.
10602         * termios/tcflow.c: Likewise.
10603         * termios/tcflush.c: Likewise.
10604         * termios/tcgetattr.c: Likewise.
10605         * termios/tcgetpgrp.c: Likewise.
10606         * termios/tcsendbrk.c: Likewise.
10607         * termios/tcsetattr.c: Likewise.
10608         * termios/tcsetpgrp.c: Likewise.
10609         * time/adjtime.c: Likewise.
10610         * time/clock.c: Likewise.
10611         * time/getitimer.c: Likewise.
10612         * time/gettimeofday.c: Likewise.
10613         * time/setitimer.c: Likewise.
10614         * time/settimeofday.c: Likewise.
10615         * time/stime.c: Likewise.
10616         * time/time.c: Likewise.
10618 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
10620         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10621         /usr/old/bin.
10623         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10624         instead of spaces.
10625         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10627 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
10629         [BZ #14796]
10630         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10631         FE_TONEAREST before applying Dekker multiplication and Knuth
10632         addition.  Clear inexact exceptions and check for exact zero
10633         results afterwards.
10634         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10635         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10636         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10637         * math/libm-test.inc (fma_test): Add more tests.
10638         (fma_test_towardzero): Likewise.
10639         (fma_test_downward): Likewise.
10640         (fma_test_upward): Likewise.
10641         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10642         function.
10643         (libc_fesetround): New macro.
10644         (libc_fesetroundf): Likewise.
10645         (libc_fesetroundl): Likewise.
10646         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10647         function.
10648         (libc_fesetround_387): Likewise.
10649         (libc_fesetroundf): New macro.
10650         (libc_fesetround): Likewise.
10651         (libc_fesetroundl): Likewise.
10652         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10653         function.
10654         (libc_fesetroundf): New macro.
10655         (libc_fesetround): Likewise.
10656         (libc_fesetroundl): Likewise.
10657         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10658         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10659         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10660         libm_hidden_ver.
10661         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10662         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10663         libm_hidden_def.
10664         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10665         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10666         libm_hidden_ver.
10667         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10668         libm_hidden_def.
10670         [BZ #3439]
10671         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10672         integer constant usable in #if and use that to give value to enum
10673         constant.
10674         (FE_DIVBYZERO): Likewise.
10675         (FE_UNDERFLOW): Likewise.
10676         (FE_OVERFLOW): Likewise.
10677         (FE_INVALID): Likewise.
10678         (FE_INVALID_SNAN): Likewise.
10679         (FE_INVALID_ISI): Likewise.
10680         (FE_INVALID_IDI): Likewise.
10681         (FE_INVALID_ZDZ): Likewise.
10682         (FE_INVALID_IMZ): Likewise.
10683         (FE_INVALID_COMPARE): Likewise.
10684         (FE_INVALID_SOFTWARE): Likewise.
10685         (FE_INVALID_SQRT): Likewise.
10686         (FE_INVALID_INTEGER_CONVERSION): Likewise.
10687         (FE_TONEAREST): Likewise.
10688         (FE_TOWARDZERO): Likewise.
10689         (FE_UPWARD): Likewise.
10690         (FE_DOWNWARD): Likewise.
10691         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10692         (FE_DIVBYZERO): Likewise.
10693         (FE_OVERFLOW): Likewise.
10694         (FE_UNDERFLOW): Likewise.
10695         (FE_INEXACT): Likewise.
10696         (FE_TONEAREST): Likewise.
10697         (FE_DOWNWARD): Likewise.
10698         (FE_UPWARD): Likewise.
10699         (FE_TOWARDZERO): Likewise.
10700         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10701         (FE_UNDERFLOW): Likewise.
10702         (FE_OVERFLOW): Likewise.
10703         (FE_DIVBYZERO): Likewise.
10704         (FE_INVALID): Likewise.
10705         (FE_TONEAREST): Likewise.
10706         (FE_TOWARDZERO): Likewise.
10707         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10708         (FE_OVERFLOW): Likewise.
10709         (FE_UNDERFLOW): Likewise.
10710         (FE_DIVBYZERO): Likewise.
10711         (FE_INEXACT): Likewise.
10712         (FE_TONEAREST): Likewise.
10713         (FE_TOWARDZERO): Likewise.
10714         (FE_UPWARD): Likewise.
10715         (FE_DOWNWARD): Likewise.
10716         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10717         (FE_DIVBYZERO): Likewise.
10718         (FE_OVERFLOW): Likewise.
10719         (FE_UNDERFLOW): Likewise.
10720         (FE_INEXACT): Likewise.
10721         (FE_TONEAREST): Likewise.
10722         (FE_DOWNWARD): Likewise.
10723         (FE_UPWARD): Likewise.
10724         (FE_TOWARDZERO): Likewise.
10726 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
10728         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10730 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
10732         * scripts/cross-test-ssh.sh (command): Use newlines to separate
10733         commands.  Quote $PWD.
10734         (blacklist_exports): Don't use remove_newlines.  Replace "declare
10735         -x" by "export".
10736         (remove_newlines): Remove.
10738 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
10740         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10741         * stdlib/stdlib.h (atof): Moved to ...
10742         * include/bits/stdlib-float.h: Here.  New file.
10743         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10744         * stdlib/bits/stdlib-float.h: New file.
10745         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10746         -mno-sse -mno-mmx.
10747         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10748         <xmmintrin.h>.
10750 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10752         * conform/conformtest.pl (@headers): Add fenv.h.
10753         * conform/data/fenv.h-data: New file.
10754         * include/fenv.h [_ISOMAC]: Disable all contents of file except
10755         include of <math/fenv.h>.
10757         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10758         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10759         && !UNIX98].  Enables tests for XOPEN2K8.
10760         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10761         POSIX2008]: Likewise.
10763         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10764         (struct rusage): Do not expect type or its members.
10766         [BZ #3439]
10767         * math/math.h (FP_NAN): Define macro to integer constant usable in
10768         #if and use that to give value to enum constant.
10769         (FP_INFINITE): Likewise.
10770         (FP_ZERO): Likewise.
10771         (FP_SUBNORMAL): Likewise.
10772         (FP_NORMAL): Likewise.
10774 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
10776         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10777         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10778         arguments.
10780 2012-11-02  Roland McGrath  <roland@hack.frob.com>
10782         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10783         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10784         autoconf-time if not.
10785         * configure.in: Remove AC_PREREQ.
10787 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10789         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10790         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10791         of the internal implementation.
10793 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10795         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10796         except include of <misc/sys/syslog.h>.
10798 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10801         function returns with a NULL context exit with zero.
10803 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10805         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10807 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
10809         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10810         (run_program_cmd): This.
10811         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10812         (tst_langinfo): New variable.  Use it.
10814 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
10816         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10817         floating point opcodes.
10819 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10821         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10822         variable.
10824         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10826         * sysdeps/mach/hurd/powerpc: Remove directory.
10827         * sysdeps/mach/powerpc: Likewise.
10829 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10831         * scripts/check-local-headers.sh: Ignore c++ headers.
10833 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10835         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10836         __libc_cleanup_region_start argument.
10838 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
10840         [BZ #14784]
10841         [BZ #14785]
10842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10843         x * y using scaling, not as x * y + z.
10844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10846         * math/libm-test.inc (fma_test): Add more tests.
10847         (fma_test_towardzero): Likewise.
10848         (fma_test_downward): Likewise.
10849         (fma_test_upward): Likewise.
10851 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10853         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10855 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10857         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10858         New variable.
10860 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
10862         * rt/tst-shm.c (worker): Correct checking for mmap failure.
10864 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10867         Fix sort order.
10868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10869         Likewise.
10871 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10874         Fix the order of the list for glibc 2.17.
10875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10876         Likewise.
10878 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10882 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10884         [BZ #14610]
10885         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10886         for low part of x being zero before using __atanl (y).
10887         * math/libm-test.inc (atan2_test): Add another test.
10889         * manual/install.texi (Configuring and compiling): Document
10890         general use of test-wrapper and test-wrapper-env.
10891         * INSTALL: Regenerated.
10893         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10894         (__fma): Do not extract and scale down low bits on after-rounding
10895         systems when result rounded to normal precision would have normal
10896         exponent.
10897         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10898         (__fmal): Do not extract and scale down low bits on after-rounding
10899         systems when result rounded to normal precision would have normal
10900         exponent.
10901         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10902         (__fmal): Do not extract and scale down low bits on after-rounding
10903         systems when result rounded to normal precision would have normal
10904         exponent.
10905         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10906         macro.
10907         (fma_test): Add more tests.
10908         (fma_test_towardzero): Likewise.
10909         (fma_test_downward): Likewise.
10910         (fma_test_upward): Likewise.
10912 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
10914         * sysdeps/i386/tininess.h: Renamed to ...
10915         * sysdeps/x86/tininess.h: This.
10916         * sysdeps/x86_64/tininess.h: Removed.
10918 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10920         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10921         input.  Use $(build-program-cmd).
10922         ($(objpfx)tst-array1-static.out): Likewise.
10923         ($(objpfx)tst-array2.out): Likewise.
10924         ($(objpfx)tst-array3.out): Likewise.
10925         ($(objpfx)tst-array4.out): Likewise.
10926         ($(objpfx)tst-array5.out): Likewise.
10927         ($(objpfx)tst-array5-static.out): Likewise.
10929 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
10931         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10932         if defined.
10934         * nss/nsswitch.h (nss_interface_function): Provide new
10935         macro for use with NSS functions.
10936         * grp/initgroups.c: Use new macro.
10937         * nss/getXXbyYY.c: Likewise.
10938         * nss/getXXbyYY_r.c: Likewise.
10939         * nss/getXXent.c: Likewise.
10940         * nss/getXXent_r.c: Likewise.
10941         * sysdeps/posix/getaddrinfo.c: Likewise.
10943 2012-10-30  Andreas Jaeger  <aj@suse.de>
10945         * po/ru.po: Update Russion translation from translation project.
10947 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10949         [BZ #14152]
10950         [BZ #14783]
10951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10952         result and shift together with sticky bit instead of replicating
10953         round-to-nearest rounding.
10954         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10955         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10956         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
10957         missing underflow exceptions.
10958         (fma_test_towardzero): Add more tests.
10959         (fma_test_downward): Likewise.
10960         (fma_test_upward): Likewise.
10962         [BZ #14047]
10963         * sysdeps/generic/tininess.h: New file.
10964         * sysdeps/i386/tininess.h: Likewise.
10965         * sysdeps/sh/tininess.h: Likewise.
10966         * sysdeps/x86_64/tininess.h: Likewise.
10967         * stdlib/tst-strtod-underflow.c: Likewise.
10968         * stdlib/tst-tininess.c: Likewise.
10969         * stdlib/strtod_l.c: Include <tininess.h>.
10970         (round_and_return): Do not set errno for exact underflow cases.
10971         Force an underflow exception when setting errno for underflow.
10972         Determine underflow based on rounding to normal precision if
10973         TININESS_AFTER_ROUNDING.
10974         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10975         ERANGE for exact underflow cases.
10976         * stdlib/Makefile (tests): Add tst-tininess and
10977         tst-strtod-underflow.
10978         ($(objpfx)tst-tininess): Use $(link-libm).
10979         ($(objpfx)tst-strtod-underflow): Likewise.
10981 2012-10-30  Andreas Jaeger  <aj@suse.de>
10983         [BZ#14767]
10984         * elf/Makefile (tests): Remove conditional for have-initfini-array
10985         since this is now always required and the variable does not exist
10986         anymore.
10987         (tests-static): Likewise.
10988         (modules-names): Likewise.
10990         * po/eo.po: Add Esperanto translation from translation project.
10992         * elf/tst-array1.c (fini_array): Make writeable so that it can be
10993         merged with constructor/destructor.
10994         (init_array): Likewise.
10995         * elf/tst-array2dep.c (fini_array): Likewise.
10996         (init_array): Likewise.
10998 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
11000         * manual/message.texi: Delete @cartouche tags.
11002 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
11004         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11005         EOPNOTSUPP.
11006         * sysdeps/mach/hurd/fsync.c: Likewise.
11008         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11009         [_POSIX_REALTIME_SIGNALS]: Change condition to
11010         [_POSIX_REALTIME_SIGNALS > 0].
11012 2012-10-27  Andreas Jaeger  <aj@suse.de>
11014         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11015         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11016         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11017         [__WORDSIZE != 64]: Likewise.
11019 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
11021         *  iconvdata/tst-table.sh: Remove ${SHELL}.
11022         *  iconvdata/tst-tables.sh: Likewise.
11024 2012-10-25  David S. Miller  <davem@davemloft.net>
11026         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11027         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11028         of strtoull.
11030         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11031         ifunc-impl-list.c
11032         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11033         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11034         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11035         file.
11037 2012-10-25  Roland McGrath  <roland@hack.frob.com>
11039         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11040         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11041         __getdirentries.
11043 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11044             Jim Blandy  <jimb@codesourcery.com>
11046         * scripts/cross-test-ssh.sh: New file.
11047         * manual/install.texi (Configuring and compiling): Document use of
11048         cross-test-ssh.sh.
11049         * INSTALL: Regenerated.
11051 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
11053         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11054         EOPNOTSUPP.
11056 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11058         * Makeconfig (run-program-prefix): Fix comment.
11060 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11061             Jim Blandy  <jimb@codesourcery.com>
11063         * Makeconfig (test-wrapper): New variable,
11064         (test-wrapper-env): Likewise.
11065         [$(cross-compiling) = yes && $(test-wrapper) != ""]
11066         (run-built-tests): Define to yes.
11067         (run-program-prefix): Use $(test-wrapper).
11068         (built-program-cmd): Likewise.
11069         * Rules (make-test-out): Use $(test-wrapper-env) and
11070         $(host-built-program-cmd).
11071         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11072         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11073         tst-pathopt.sh.
11074         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11075         $(test-wrapper-env) to tst-rtld-load-self.sh.
11076         ($(objpfx)order2.out): Use $(test-wrapper).
11077         ($(objpfx)tst-initorder.out): Likewise.
11078         ($(objpfx)tst-initorder2.out): Likewise.
11079         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11080         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11081         (test_wrapper_env): New variable.  Use it to run ld.so.
11082         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11083         Use it to run ld.so.
11084         (test_wrapper_env): Likewise.
11085         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11086         $(test-wrapper) to run-iconv-test.sh.
11087         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11088         (ICONV): Use $test_wrapper.
11089         * posix/Makefile ($(objpfx)globtest.out): Pass
11090         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11091         globtest.sh, not $(run-program-prefix).
11092         * posix/globtest.sh (run_via_rtld_prefix): New variable.
11093         (test_wrapper): Likewise.
11094         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
11095         set together with run_via_rtld_prefix.
11096         (run_program_prefix): Define in terms of test_wrapper and
11097         run_via_rtld_prefix.
11099 2012-10-24  Roland McGrath  <roland@hack.frob.com>
11101         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11102         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11103         Targets removed.
11105         [BZ #14743]
11106         * include/time.h: Remove librt_hidden_proto (clock_gettime).
11107         Declare __clock_getres, __clock_gettime, __clock_settime,
11108         __clock_nanosleep, and __clock_getcpuclockid.
11109         * rt/clock_gettime.c: Define __clock_gettime as an alias.
11110         Remove librt_hidden_def (clock_gettime).
11111         * sysdeps/unix/clock_gettime.c: Likewise.
11112         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11113         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11114         * rt/clock_getres.c: Define __clock_getres as an alias.
11115         * sysdeps/posix/clock_getres.c: Likewise.
11116         * rt/clock_settime.c: Define __clock_settime as an alias.
11117         * sysdeps/unix/clock_settime.c: Likewise.
11118         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11119         * sysdeps/unix/clock_nanosleep.c: Likewise.
11120         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11121         * rt/clock-compat.c: New file.
11122         * rt/Makefile (librt-routines): Add clock-compat and move
11123         $(clock-routines) to ...
11124         (routines): ... here, new variable.
11125         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11126         Don't add get_clockfreq here.
11127         * rt/Versions (libc: GLIBC_2.17): New version set.
11128         Add clock_* symbols here.
11129         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
11130         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11131         (GLIBC_2.17): Add clock_* symbols.
11132         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11134         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11136         Likewise.
11137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11138         Likewise.
11139         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11143         * NEWS: Mention the move.
11145         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11146         Use __open, __read, __close rather than their public counterparts.
11147         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11148         (__get_clockfreq_via_cpuinfo): Likewise.
11149         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11150         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11152         * config.h.in (HAVE_IFUNC): New #undef.
11153         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11154         was successful.
11155         * configure: Regenerated.
11157 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11159         * configure.in: Move READELF check to start of file.
11160         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11161         libc_cv_asm_gnu_indirect_function in the process.
11162         * configure: Regenerated.
11164 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11166         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11167         send the output to /dev/null.
11168         (libc_cv_cc_with_libunwind): Likewise.
11169         (libc_cv_as_noexecstack): Likewise.
11170         * configure: Regenerate.
11172 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11174         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11176         * posix/globtest.sh (TMPDIR): Do not set.
11177         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11178         (testout): Likewise.
11180 2012-10-24  Andreas Jaeger  <aj@suse.de>
11182         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11183         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11184         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11185         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11186         posix_fadvise64, posix_fallocate64.
11188         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11189         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11190         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11191         Likewise.
11192         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11193         Likewise.
11194         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11196         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11197         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11198         <bits/fcntl-linux.h>.
11199         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11201         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11202         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11203         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11204         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11205         [__WORDSIZE != 64]: Likewise.
11207 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11209         * Makeconfig (run-built-tests): New variable.
11210         * Rules [$(cross-compiling) = yes]: Change condition to
11211         [$(run-built-tests) = no].
11212         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11213         to [$(run-built-tests) = yes].
11214         * elf/Makefile [$(cross-compiling) = no]: Likewise
11215         * grp/Makefile [$(cross-compiling) = no]: Likewise.
11216         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11217         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11218         * intl/Makefile [$(cross-compiling) = no]: Likewise.
11219         * io/Makefile [$(cross-compiling) = no]: Likewise.
11220         * libio/Makefile [$(cross-compiling) = no]: Likewise.
11221         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11222         * misc/Makefile [$(cross-compiling) = no]: Likewise.
11223         * posix/Makefile [$(cross-compiling) = no]: Likewise.
11224         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11225         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11226         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11227         * string/Makefile [$(cross-compiling) = no]: Likewise.
11229         * posix/Makefile ($(objpfx)globtest.out): Pass
11230         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11231         $(rtld-installed-name).
11232         * posix/globtest.sh (elf_objpfx): Remove variable.
11233         (rtld_installed_name): Likewise.
11234         (library_path): Likewise.
11235         (run_program_prefix): New variable.  Use for running globtest
11236         binary.
11238 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
11239             Joseph Myers  <joseph@codesourcery.com>
11241         * Makeconfig (host-built-program-cmd): New variable.
11242         * elf/Makefile (tst-stackguard1-ARGS): Use
11243         $(host-built-program-cmd).
11244         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11245         (tst-spawn-ARGS): Likewise.
11246         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11248 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11249             Jim Blandy  <jimb@codesourcery.com>
11251         * Makeconfig (run-via-rtld-prefix): New variable.
11252         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11253         (built-program-cmd): Likewise.
11255 2012-10-22  Andreas Jaeger  <aj@suse.de>
11257         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11258         __O_RSYNC if it exists, otherwise to O_SYNC.
11260 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
11261             Joseph Myers  <joseph@codesourcery.com>
11263         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11264         /dev/null.
11265         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11266         from /dev/null
11267         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11268         /dev/null.
11270 2012-10-22  Andreas Jaeger  <aj@suse.de>
11272         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11273         Define always.
11274         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11276         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11277         bits/fcntl-linux.h.
11279         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11280         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11282         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11283         to __O_LARGEFILE.
11284         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11285         to __O_LARGEFILE.
11287 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
11288             Joseph Myers  <joseph@codesourcery.com>
11290         * config.make.in (NM): New variable.
11292 2012-10-21  Andreas Jaeger  <aj@suse.de>
11294         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11295         definitions and declarations that are provided by
11296         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11298 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11300         [BZ #14683]
11301         * elf/Makefile (tests-static): Add tst-leaks1-static.
11302         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11303         ($(objpfx)tst-leaks1-static): New rule.
11304         ($(objpfx)tst-leaks1-static-mem): Likewise.
11305         (tst-leaks1-static-ENV): New macro.
11306         * elf/dl-open.c (dl_open_worker): Check the main application
11307         only if SHARED is defined.
11308         * elf/tst-leaks1-static.c: New file.
11310 2012-10-20  Andreas Jaeger  <aj@suse.de>
11312         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11313         generic values for Linux.
11314         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11315         and declarations that are provided by <bits/fcntl-linux.h> and
11316         include <bits/fcntl-linux.h>.
11317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11320 2012-10-20  Roland McGrath  <roland@hack.frob.com>
11322         * io/fcntl.h: Move include of <bits/types.h> to the top and
11323         include it unconditionally.
11325 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11327         * wcsmbs/Makefile (tests-ifunc): New variable.
11328         (tests): Add $(tests-ifunc).
11329         * wcsmbs/test-wcschr-ifunc.c: New file.
11330         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11331         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11332         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11333         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11334         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11336         * string/Makefile (tests-ifunc): New variable.
11337         (tests): Add $(tests-ifunc).
11338         * string/test-memccpy.c (TEST_NAME): New macro.
11339         * string/test-memchr.c (TEST_NAME): Likewise.
11340         * string/test-memcmp.c (TEST_NAME): Likewise.
11341         * string/test-memcpy.c (TEST_NAME): Likewise.
11342         * string/test-memmem.c (TEST_NAME): Likewise.
11343         * string/test-memmove.c (TEST_NAME): Likewise.
11344         * string/test-memset.c (TEST_NAME): Likewise.
11345         * string/test-rawmemchr.c (TEST_NAME): Likewise.
11346         * string/test-stpcpy.c (TEST_NAME): Likewise.
11347         * string/test-stpncpy.c (TEST_NAME): Likewise.
11348         * string/test-strcasecmp.c (TEST_NAME): Likewise.
11349         * string/test-strcasestr.c (TEST_NAME): Likewise.
11350         * string/test-strcat.c (TEST_NAME): Likewise.
11351         * string/test-strchr.c (TEST_NAME): Likewise.
11352         * string/test-strcmp.c(TEST_NAME): Likewise.
11353         * string/test-strcpy.c (TEST_NAME): Likewise.
11354         * string/test-strcspn.c (TEST_NAME): Likewise.
11355         * string/test-strlen.c (TEST_NAME): Likewise.
11356         * string/test-strncasecmp.c (TEST_NAME): Likewise.
11357         * string/test-strncmp.c (TEST_NAME): Likewise.
11358         * string/test-strncpy.c (TEST_NAME): Likewise.
11359         * string/test-strnlen.c (TEST_NAME): Likewise.
11360         * string/test-strpbrk.c (TEST_NAME): Likewise.
11361         * string/test-strrchr.c (TEST_NAME): Likewise.
11362         * string/test-strspn.c (TEST_NAME): Likewise.
11363         * string/test-strstr.c (TEST_NAME): Likewise.
11364         * string/test-bcopy-ifunc.c: New file.
11365         * string/test-bzero-ifunc.c: Likewise.
11366         * string/test-memccpy-ifunc.c: Likewise.
11367         * string/test-memchr-ifunc.c: Likewise.
11368         * string/test-memcmp-ifunc.c: Likewise.
11369         * string/test-memcpy-ifunc.c: Likewise.
11370         * string/test-memmem-ifunc.c: Likewise.
11371         * string/test-memmove-ifunc.c: Likewise.
11372         * string/test-mempcpy-ifunc.c: Likewise.
11373         * string/test-memset-ifunc.c: Likewise.
11374         * string/test-rawmemchr-ifunc.c: Likewise.
11375         * string/test-stpcpy-ifunc.c: Likewise.
11376         * string/test-stpncpy-ifunc.c: Likewise.
11377         * string/test-strcasecmp-ifunc.c: Likewise.
11378         * string/test-strcasestr-ifunc.c: Likewise.
11379         * string/test-strcat-ifunc.c: Likewise.
11380         * string/test-strchr-ifunc.c: Likewise.
11381         * string/test-strchrnul-ifunc.c: Likewise.
11382         * string/test-strcmp-ifunc.c: Likewise.
11383         * string/test-strcpy-ifunc.c: Likewise.
11384         * string/test-strcspn-ifunc.c: Likewise.
11385         * string/test-strlen-ifunc.c: Likewise.
11386         * string/test-strncasecmp-ifunc.c: Likewise.
11387         * string/test-strncat-ifunc.c: Likewise.
11388         * string/test-strncmp-ifunc.c: Likewise.
11389         * string/test-strncpy-ifunc.c: Likewise.
11390         * string/test-strnlen-ifunc.c: Likewise.
11391         * string/test-strpbrk-ifunc.c: Likewise.
11392         * string/test-strrchr-ifunc.c: Likewise.
11393         * string/test-strspn-ifunc.c: Likewise.
11394         * string/test-strstr-ifunc.c: Likewise.
11396         * debug/Makefile (tests-ifunc): New variable.
11397         (tests): Add $(tests-ifunc).
11398         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11399         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11400         * debug/test-stpcpy_chk-ifunc.c: New file.
11401         * debug/test-strcpy_chk-ifunc.c: Likewise.
11403 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11405         [BZ #13601]
11406         * elf/dl-load.c (open_verify): Retry read if the entire ELF
11407         header is not read in.
11409 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
11411         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
11412         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
11413         directly.  Pass built executable to script as
11414         $(built-program-cmd).
11415         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
11416         $testprogram without using LD_LIBRARY_PATH and $ldso.
11418         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11419         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11420         $(rtld-installed-name).
11421         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11422         (rtld_installed_name): Likewise.
11423         (library_path): Likewise.
11424         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
11425         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11426         $(run-program-prefix) to tst-tables.sh.
11427         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
11428         it to run tst-table-from and tst-table-to.
11429         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11430         Pass it to tst-table.sh.
11431         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11432         $(run-program-prefix) to tst-gettext.sh.
11433         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11434         tst-translit.sh.
11435         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11436         tst-gettext2.sh.
11437         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
11438         to run tst-gettext.
11439         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
11440         to run tst-gettext2.
11441         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
11442         to run tst-translit.
11443         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11444         $(run-program-prefix) to tst-mtrace.sh.
11445         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
11446         to run tst-mtrace.
11447         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11448         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11449         $(rtld-installed-name).
11450         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11451         (rtld_installed_name): Likewise.
11452         (run_program_prefix): New variable.  Use it to run wordexp-test.
11454         * Makeconfig (ARCH): Remove all definitions.
11455         (machine): Likewise.
11456         [ARCH]: Remove conditional code.
11457         [!objdir]: Give error.
11458         [!objdir] (objpfx): Remove.
11459         [!objdir] (common-objpfx): Likewise.
11460         [!objdir] (common-objdir): Likewise.
11461         * configure.in (config_makefile): Remove.  Hardcode Makefile in
11462         AC_CONFIG_FILES call.
11463         * configure: Regenerated.
11465         [BZ #13888]
11466         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11467         or TMPDIR.
11468         (testout): Likewise.
11470         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11471         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11472         $(rtld-installed-name).
11473         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11474         (rtld_installed_name): Likwise.
11475         (runit): Remove function.
11476         (run_getconf): New variable,  Use it for running getconf binary.
11478 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
11480         [BZ #14716]
11481         * string/test-memmem.c (check_result): New function.
11482         (do_one_test): Use it.
11483         (check1): New function.
11484         (test_main): Use it.
11486 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
11488         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11490 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
11492         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11493         (_G_LSEEK64): Likewise.
11494         (_G_MMAP64): Likewise.
11495         (_G_FSTAT64): Likewise.
11496         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11497         (_G_LSEEK64): Likewise.
11498         (_G_MMAP64): Likewise.
11499         (_G_FSTAT64): Likewise.
11500         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11501         unconditional.  Call __mmap64 directly.
11502         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11503         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
11504         __lseek64 directly.
11505         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11506         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
11507         __mmap64 directly.
11508         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11509         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11510         __lseek64 directly.
11511         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11512         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11513         __lseek64 directly.
11514         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11515         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
11516         __lseek64 directly.
11517         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11518         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
11519         __fxstat64 directly.
11520         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11521         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11522         unconditional.
11523         (freopen64) [!_G_OPEN64]: Remove conditional code.
11524         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11525         unconditional.
11526         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11527         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11528         unconditional.
11529         (ftello64) [!_G_LSEEK64]: Remove conditional code.
11530         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11531         unconditional.
11532         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11533         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11534         unconditional.
11535         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11536         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11537         unconditional.
11538         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11539         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11540         unconditional.
11541         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11542         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11543         unconditional.
11544         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11546 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11548         [BZ #12140]
11549         * manual/memory.texi (Malloc Tunable Parameters): Add note
11550         about free list pointers overwriting some perturb bytes.
11551         Wording suggested by Roland McGrath.
11553 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
11555         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11556         (lgamma_test): Likewise.
11557         (tgamma_test): Likewise.
11559 2012-10-16  Florian Weimer  <fweimer@redhat.com>
11561         [BZ #14700]
11562         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11563         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11565 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
11567         * NEWS: Mention BZ #14716.
11568         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11569         when removing AVAILABLE1_USES_J macro.
11571 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11573         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11574         (__bswap_64): __uint64_t for unsigned 64-bit int.
11576 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
11578         * include/string.h (memmem): Declare libc hidden alias.
11579         * string/memmem.c (memmem): Define libc hidden alias.
11580         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11581         __read, __close instead of open, read, close.
11583 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
11585         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11586         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11587         global and hidden.
11588         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11589         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11590         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11591         Likewise.
11592         (__rawmemchr_sse2): Likewise.
11593         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11594         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11595         (__strchr_sse2): Likewise.
11596         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11597         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11598         (__strcasecmp_sse2): Likewise.
11599         (__strncasecmp_sse2): Likewise.
11600         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11601         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11602         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11603         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11604         (__strrchr_sse2): Likewise.
11605         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11606         ifunc-impl-list.c.
11607         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11608         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11609         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11610         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11611         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11612         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11613         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11614         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11615         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11616         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11617         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11618         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11619         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11620         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11621         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11622         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11623         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11624         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11625         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11626         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11627         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11628         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11629         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11630         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11631         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11632         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11633         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11634         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11635         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11636         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11638         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11639         global and hidden.
11640         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11641         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11642         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11643         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11644         Likewise.
11645         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11646         Likewise.
11647         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11648         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11649         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11650         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11651         ifunc-impl-list.c.
11652         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11653         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11654         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11655         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11656         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11657         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11658         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11659         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11660         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11661         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11662         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11663         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11664         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11665         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11666         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11667         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11668         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11669         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11670         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11671         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11672         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11673         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11674         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11675         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11676         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11677         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11678         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11679         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11680         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11681         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11682         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11683         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11684         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11685         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11686         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11687         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11688         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11689         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11690         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11691         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11692         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11694         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11695         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11696         * include/ifunc-impl-list.h: New file.
11697         * misc/ifunc-impl-list.c: Likewise.
11698         * misc/Makefile (routines): Add ifunc-impl-list.
11699         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11700         * string/test-string.h: Include <ifunc-impl-list.h>.
11701         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11702         impl_array): New variables.
11703         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11704         are defined.
11705         (test_init): Call __libc_ifunc_impl_list to initialize
11706         func_list if TEST_IFUNC and TEST_NAME are defined.
11708         * string/Makefile (strop-tests): Add bcopy and bzero.
11709         * string/test-bcopy.c: New file.
11710         * string/test-bzero.c: Likewise.
11711         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11712         defined.
11713         * string/test-memset.c: Support bzero test if TEST_BZERO is
11714         defined.
11715         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11716         __libc_memmove.
11717         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11718         __libc_memset.
11719         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11720         of memset.
11722 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
11724         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11725         * configure: Regenerated.
11727         * Makeconfig (+link-static-before-libc): Don't include
11728         $(link-static-libc).
11730         * libio/libio.h (_IO_pos_t): Remove.
11732 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11734         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
11735         McGrath.
11737 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11739         * crypt/crypt-entry.c: Include fips-private.h.
11740         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11741         * crypt/md5c-test.c (main): Tolerate disabled MD5.
11742         * sysdeps/unix/sysv/linux/fips-private.h: New file.
11743         * sysdeps/generic/fips-private.h: New file, dummy fallback.
11745 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11747         * crypt/crypt-private.h: Include stdbool.h.
11748         (_ufc_setup_salt_r): Return bool.
11749         * crypt/crypt-entry.c: Include errno.h.
11750         (__crypt_r): Return NULL with EINVAL for bad salt.
11751         * crypt/crypt_util.c (bad_for_salt): New.
11752         (_ufc_setup_salt_r): Check that salt is long enough and within
11753         the specified alphabet.
11754         * crypt/badsalttest.c: New file.
11755         * crypt/Makefile (tests): Add it.
11756         ($(objpfx)badsalttest): New.
11758 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
11760         * NEWS: Add entry for BZ #14602.
11762 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11764         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11765         type-generic.
11766         * math/libm-test.inc: Update comment listing what functions and
11767         macros are tested.
11768         (isgreater_test): New function.
11769         (isgreaterequal_test): Likewise.
11770         (isless_test): Likewise.
11771         (islessequal_test): Likewise.
11772         (islessgreater_test): Likewise.
11773         (isunordered_test): Likewise.
11774         (main): Call the new functions.
11776 2012-10-09  Roland McGrath  <roland@hack.frob.com>
11778         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11779         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11780         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11781         * sysdeps/i386/configure: Regenerated.
11782         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11783         * sysdeps/mach/configure: Regenerated.
11784         * sysdeps/mach/hurd/configure: Regenerated.
11785         * sysdeps/powerpc/configure: Regenerated.
11786         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11787         * sysdeps/powerpc/powerpc64/configure: Regenerated.
11788         * sysdeps/s390/s390-32/configure: Regenerated.
11789         * sysdeps/s390/s390-64/configure: Regenerated.
11790         * sysdeps/sh/configure: Regenerated.
11791         * sysdeps/sparc/configure: Regenerated.
11792         * sysdeps/unix/sysv/linux/configure: Regenerated.
11793         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11794         * sysdeps/x86_64/configure: Regenerated.
11796         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11797         defined.  Don't check if MAP is NULL.
11799 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11801         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11802         (_G_stat64): Likewise.
11803         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11804         (_G_stat64): Likewise.
11805         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11806         instead of struct _G_stat64.
11807         * libio/fileops.c (mmap_remap_check): Likewise.
11808         (decide_maybe_mmap): Likewise.
11809         (_IO_new_file_seekoff): Likewise.
11810         (_IO_file_stat): Likewise.
11811         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11812         _G_off64_t.
11813         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11814         instead of struct _G_stat64.
11815         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11817 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
11819         [BZ #14602]
11820         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11821         Replace with ...
11822         (CHECK_EOL): New macro.
11823         (two_way_short_needle): Check beginning of haystack for EOL.  Use
11824         CHECK_EOL.
11825         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11826         Replace with CHECK_EOL.
11827         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11828         Replace with CHECK_EOL.
11830 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
11832         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11833         type-generic.
11834         * math/libm-test.inc: Update comment listing what functions and
11835         macros are tested.
11836         (finite_test): New function.
11837         (isinf_test): Likewise.
11838         (isnan_test): Likewise.
11839         (fpclassify_test): Test subnormal input.
11840         (isfinite_test): Likewise.
11841         (isnormal_test): Likewise.
11842         (main): Call the new functions.
11844 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
11846         [BZ #14660]
11847         * Makerules (%.dynsym): Force C locale when running
11848         $(OBJDUMP) --dynamic-syms.
11850 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
11852         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11853         <stdint.h>.
11855 2012-10-06  David S. Miller  <davem@davemloft.net>
11857         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11858         upper 32-bits of the length value in %o2 since we use branch-on-register
11859         tests which consider the entire 64-bit register.
11861 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
11863         * string/test-strstr.c (check2): Add a test for page boundary.
11865 2012-10-05  David S. Miller  <davem@davemloft.net>
11867         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11868         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11869         file.
11870         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11871         sysdep_routines.
11872         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11873         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11874         and bzero when HWCAP_SPARC_CRYPTO is present.
11876 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
11878         [BZ #14602]
11879         * string/test-strstr.c (check2): New function.
11880         (test_main): Call check2.
11882         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11883         and bug-strchr1.
11884         * string/bug-strcasestr1.c (do_test): Moved to ...
11885         * string/test-strcasestr.c (check1): Here.  New function.
11886         (do_one_test): Break out result checking code into ...
11887         (check_result): This.  New function.
11888         (do_one_test): Call check_result.
11889         (test_main): Call check1.
11890         * string/bug-strchr1.c (do_test): Moved to ...
11891         * string/test-strchr.c (check1): Here.  New function.
11892         (do_one_test): Break out result checking code into ...
11893         (check_result): This.  New function.
11894         (do_one_test): Call check_result.
11895         (test_main): Call check1.
11896         * string/bug-strstr1.c (main): Moved to ...
11897         * string/test-strstr.c (check1): Here.  New function.
11898         (do_one_test): Break out result checking code into ...
11899         (check_result): This.  New function.
11900         (do_one_test): Call check_result.
11901         (test_main): Call check1.
11902         * string/bug-strcasestr1.c: Removed.
11903         * string/bug-strchr1.c: Likewise.
11904         * string/bug-strstr1.c: Likewise.
11906         * elf/Makefile (dl-routines): Add hwcaps.
11907         * elf/dl-support.c (_dl_important_hwcaps): Removed.
11908         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11909         (_dl_important_hwcaps): Moved to ...
11910         * elf/dl-hwcaps.c: Here.  New file.
11911         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11913         [BZ #14557]
11914         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11915         if IS_IN_rtld isn't defined.
11917         * elf/dl-support.c (_dl_sysinfo_map): New.
11918         Include "get-dynamic-info.h" and "setup-vdso.h".
11919         (_dl_non_dynamic_init): Call setup_vdso.
11920         * elf/dynamic-link.h: Don't include <assert.h>.
11921         (elf_get_dynamic_info): Moved to ...
11922         * elf/get-dynamic-info.h: Here.  New file.
11923         * elf/dynamic-link.h: Include "get-dynamic-info.h".
11924         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11925         * elf/setup-vdso.h: Here.  New file.
11926         * elf/rtld.c: Include "setup-vdso.h".
11927         (dl_main): Call setup_vdso.
11929 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
11931         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11932         creal in comment listing functions tested.  List finite, isinf,
11933         isnan, isless, islessequal, isgreater, isgreaterequal,
11934         islessgreater, isunordered, lgamma_r and pow10 as functions and
11935         macros not tested.  Mention which functions not tested are aliases
11936         for other functions.  Fix typo.  Note that signs of NaNs are not
11937         tested.
11939         * scripts/config.guess: Update from config.git.
11940         * scripts/config.sub: Likewise.
11942 2012-10-04  Roland McGrath  <roland@hack.frob.com>
11944         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11945         * misc/madvise.c (madvise): Renamed to __madvise.
11946         Make madvise a weak alias.
11947         * include/sys/mman.h: Declare __madvise.
11948         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11949         * sysdeps/unix/syscalls.list
11950         (madvise): Make __madvise the strong name, and madvise a weak alias.
11951         * sysdeps/unix/sysv/linux/syscalls.list
11952         (madvise, mmap): Remove redundant entries.
11953         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11954         * malloc/malloc.c (mtrim): Likewise.
11955         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11957 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11959         * sysdeps/mach/hurd/dl-cache.c: File removed.
11960         * config.h.in (USE_LDCONFIG): New #undef.
11961         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11962         * configure: Regenerated.
11963         * elf/Makefile (dl-routines): Add dl-cache only under
11964         [$(use-ldconfig) = yes].
11965         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11966         cache on [USE_LDCONFIG].
11967         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11968         [USE_LDCONFIG].
11969         * elf/rtld.c (dl_main): Likewise.
11971 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
11973         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11974         _SC_LEVEL4_CACHE_LINESIZE.
11976 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11978         * sysdeps/unix/bsd/confstr.h: File removed.
11980 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
11982         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11983         sys/sdt-config.h.
11985 2012-10-02  Roland McGrath  <roland@hack.frob.com>
11987         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11988         Make 'mapoff' field ElfW(Off) rather than off_t.
11990 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
11992         * nscd/Makefile: Remove nscd-cflags and all its users.
11993         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11994         (CFLAGS-nonlib): Add compiler flags for nscd modules.
11996         [BZ #10631]
11997         * malloc.c (malloc_printerr): Clarify error message.
11999 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
12001         [BZ #14648]
12002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12003         Set bit_FMA_Usable if FMA is supported.
12004         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12005         macro.
12006         (bit_FMA4_Usable): Updated.
12007         (index_FMA_Usable): New macro.
12008         (CPUID_FMA): Likewise
12009         (HAS_FMA): Defined with bit_FMA_Usable.
12011 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12013         * bits/types.h (__swblk_t): Type removed.
12014         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12015         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12016         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12017         (__SWBLK_T_TYPE): Likewise.
12018         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12019         (__SWBLK_T_TYPE): Likewise.
12020         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12021         (__SWBLK_T_TYPE): Likewise.
12022         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12023         (__SWBLK_T_TYPE): Likewise.
12025 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
12026             Honza Horak <hhorak@redhat.com>
12028         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12029         (xdr_mapname): Use YPMAXMAP as maxsize.
12030         (xdr_peername): Use YPMAXPEER as maxsize.
12031         (xdr_keydat): Use YPAXRECORD as maxsize.
12032         (xdr_valdat): Use YPMAXRECORD as maxsize.
12034 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12036         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12038         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12039         * csu/init-first.c: ... here.
12040         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12041         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12042         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12043         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12044         * sysdeps/i386/init-first.c: File removed.
12045         * sysdeps/sh/init-first.c: File removed.
12047 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
12049         [BZ #14645]
12050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12051         if x * y might underflow to zero and z is zero.
12052         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12053         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12054         * math/libm-test.inc (min_subnorm_value): New variable.
12055         (fma_test): Add more tests.
12056         (fma_test_towardzero): Likewise.
12057         (fma_test_downward): Likewise
12058         (fma_test_upward): Likewise.
12059         (initialize): Set min_subnorm_value.
12061 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
12063         [BZ #14638]
12064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12065         0 + 0.
12066         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12067         mode for addition resulting in exact zero.
12068         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12069         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12070         exact 0 + 0.
12071         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12072         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12073         * math/libm-test.inc (fma_test): Add more tests.
12074         (fma_test_towardzero): New function.
12075         (fma_test_downward): Likewise.
12076         (fma_test_upward): Likewise.
12077         (main): Call the new functions.
12079 2012-09-28  David S. Miller  <davem@davemloft.net>
12081         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12083 2012-09-28  Roland McGrath  <roland@hack.frob.com>
12085         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12086         instead of SIGALRM.
12088         * sysdeps/gnu/_G_config.h: Moved to ...
12089         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12090         * sysdeps/mach/hurd/_G_config.h: Moved to ...
12091         * sysdeps/generic/_G_config.h: ... here.
12093         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
12095         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12097         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12098         Conditionalize target on [libnss_test1.so-version].
12100         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12102         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12103         (elfobjdir): Move out of conditionals.
12105         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12106         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12107         (__nss_lookup_function): Conditionalize label remove_from_tree on
12108         [!DO_STATIC_NSS || SHARED], matching its only use.
12110 2012-09-28  David S. Miller  <davem@davemloft.net>
12112         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12113         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12114         file.
12115         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12116         sysdep_routines.
12117         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12118         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12119         when HWCAP_SPARC_CRYPTO is present.
12121 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12123         * io/tst-mknodat.c: Create a FIFO instead of a socket.
12125 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12127         [BZ #6530]
12128         * stdio-common/vfprintf.c (process_string_arg): Revert
12129         2000-07-22 change.
12131 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
12133         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12134         for testcase.
12135         * stdio-common/tst-sprintf.c: Include <locale.h>
12136         (main): Test sprintf's handling of incomplete multibyte
12137         characters.
12139 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
12141         * elf/dl-runtime.c (VERSYMIDX): Removed.
12142         * elf/dl-version.c (VERSYMIDX): Likewise.
12143         * elf/do-rel.h (VERSYMIDX): Likewise.
12144         (VALIDX): Likewise.
12145         * elf/dynamic-link.h (VERSYMIDX): Likewise.
12146         * elf/rtld.c (VALIDX): Likewise.
12147         (ADDRIDX): Likewise.
12148         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12149         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12150         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12151         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12152         (VALIDX): Likewise.
12153         (ADDRIDX): Likewise.
12155 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12157         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12159 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
12161         [BZ #11438]
12162         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12163         to global scope.
12164         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12165         addresses are in the same scope as 192.0.2/24.
12166         * posix/gai.conf: Document new scope table defaults.
12168 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12170         [BZ #5298]
12171         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12172         for ftell.  Compute offsets from write pointers instead.
12173         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12175 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12177         [BZ #14543]
12178         * libio/Makefile (tests): New test case tst-fseek.
12179         * libio/tst-fseek.c: New test case to verify that fseek/ftell
12180         combination works in wide mode.
12181         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12182         state when the external buffer state changes.
12184 2012-09-27  David S. Miller  <davem@davemloft.net>
12186         [BZ #14376]
12187         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12188         pass reloc->r_addend in as the 'high' argument to
12189         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12193 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12195         * rt/tst-aio2.c: Include <pthread.h>.
12196         * rt/tst-aio3.c: Likewise.
12198 2012-09-27  Steve Ellcey  <sellcey@mips.com>
12200         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12202 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12204         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12205         contents on [SHARED].
12207 2012-09-26  Marek Polacek  <polacek@redhat.com>
12209         [BZ #14530]
12210         [BZ #13741]
12211         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12212         for C++ and GCC <4.3 as well as for non GCC compilers.
12214 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12216         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12218 2012-09-25  Roland McGrath  <roland@hack.frob.com>
12220         * Makefile.in (all, install): Declare with .PHONY.
12221         Reported by Michael Hope <michael.hope@linaro.org>.
12223 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12225         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12226         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12227         system header.
12228         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12229         Likewise.
12230         (sydep_routines): Add the new and the internal functions.
12231         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12232         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12234         (GLIBC_2.17): Add the new function.
12235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12236         (GLIBC_2.17): Likewise.
12237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12238         (GLIBC_2.17): Likewise.
12239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12240         (GLIBC_2.17): Likewise.
12241         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12243 2012-09-25  Alan Modra  <amodra@gmail.com>
12245         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12246         Add release barrier before setting once_control to say
12247         initialisation is done.  Add hints on lwarx.  Use macro in
12248         place of isync.
12249         (clear_once_control): Add release barrier.
12251 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12253         [BZ #13629]
12254         * math/s_clog.c (__clog): Handle more values close to |z| = 1
12255         specially.
12256         * math/s_clog10.c (__clog10): Likewise.
12257         * math/s_clog10f.c (__clog10f): Likewise.
12258         * math/s_clog10l.c (__clog10l): Likewise.
12259         * math/s_clogf.c (__clogf): Likewise.
12260         * math/s_clogl.c (__clogl): Likewise.
12261         * math/Makefile (libm-calls): Add x2y2m1.
12262         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12263         (__x2y2m1): Likewise.
12264         (__x2y2m1l): Likewise.
12265         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12266         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12267         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12268         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12269         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12270         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12271         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12272         * sysdeps/i386/fpu/libm-test-ulps: Update.
12273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12275         [BZ #14621]
12276         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12277         int as type of variable DEPTH.
12278         (glob): Use size_t instead of int as type of variables NEWCOUNT
12279         and OLD_PATHC.
12281 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12283         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12284         Add s_sincosf-sse2.
12285         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12286         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12287         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12288         macros for using routine as __sincosf_ia32.
12289         Use macro for function declaration and weak_alias.
12290         * sysdeps/i386/fpu/libm-test-ulps: Update.
12292         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12293         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12295         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12296         subnormal argument.
12297         * math/s_cexpf.c (__cexpf): Likewise.
12298         * math/s_csinf.c (__csinf): Likewise.
12299         * math/s_csinhf.c (__csinhf): Likewise.
12300         * math/s_ctanf.c (__ctanf): Likewise.
12301         * math/s_ctanhf.c (__ctanhf): Likewise.
12302         * math/s_ccosh.c (__ccoshf): Likewise.
12303         * math/s_cexp.c (__cexpl): Likewise.
12304         * math/s_csin.c (__csin): Likewise.
12305         * math/s_csinh.c (__csinh): Likewise.
12306         * math/s_ctan.c (__ctan): Likewise.
12307         * math/s_ctanh.c (ctanh): Likewise.
12308         * math/s_ccoshl.c (__ccoshl): Likewise.
12309         * math/s_cexpl.c (__cexpl): Likewise.
12310         * math/s_csinl.c (__csinl): Likewise.
12311         * math/s_csinhl.c (__csinhl): Likewise.
12312         * math/s_ctanl.c (__ctanl): Likewise.
12313         * math/s_ctanhl.c (__ctanhl): Likewise.
12315 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12317         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12318         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12319         (_IO_off_t): Define to __off_t, not _G_off_t.
12320         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12321         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12322         (_IO_wint_t): Define to wint_t, not _G_wint_t.
12323         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12324         type of __dummy and __dummy2 fields.
12325         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12326         (_G_ssize_t): Likewise.
12327         (_G_off_t): Likewise.
12328         (_G_pid_t): Likewise.
12329         (_G_uid_t): Likewise.
12330         (_G_wchar_t): Likewise.
12331         (_G_wint_t): Likewise.
12332         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12333         (_G_ssize_t): Likewise.
12334         (_G_off_t): Likewise.
12335         (_G_pid_t): Likewise.
12336         (_G_uid_t): Likewise.
12337         (_G_wchar_t): Likewise.
12338         (_G_wint_t): Likewise.
12339         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12340         (_G_ssize_t): Likewise.
12341         (_G_off_t): Likewise.
12342         (_G_pid_t): Likewise.
12343         (_G_uid_t): Likewise.
12344         (_G_wchar_t): Likewise.
12345         (_G_wint_t): Likewise.
12347 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12349         * malloc/arena.c: Include malloc-sysdep.h.
12350         (shrink_heap): Use check_may_shrink_heap to decide if madvise
12351         is sufficient to shrink the heap or an unmap is needed.
12352         * sysdeps/generic/malloc-sysdep.h: New file.  Define
12353         new function check_may_shrink_heap.
12354         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
12355         new function check_may_shrink_heap.
12357 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12359         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12360         comments.
12362 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
12364         * catgets/test-gencat.sh: Add "set -e".
12365         * elf/tst-pathopt.sh: Likewise.
12366         * grp/tst_fgetgrent.sh: Likewise.
12367         * iconvdata/run-iconv-test.sh: Likewise.
12368         * intl/tst-gettext.sh: Likewise.
12369         * intl/tst-gettext2.sh: Likewise.
12370         * intl/tst-gettext4.sh: Likewise.
12371         * intl/tst-gettext6.sh: Likewise.
12372         * intl/tst-translit.sh: Likewise.
12373         * io/ftwtest-sh: Likewise.
12374         * libio/test-freopen.sh: Likewise.
12375         * malloc/tst-mtrace.sh: Likewise.
12376         * posix/globtest.sh: Likewise.
12377         * posix/tst-getconf.sh: Likewise.
12378         * posix/wordexp-tst.sh: Likewise.
12379         * stdio-common/tst-printf.sh: Likewise.
12380         * stdio-common/tst-unbputc.sh: Likewise.
12381         * stdlib/tst-fmtmsg.sh: Likewise.
12382         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12383         * catgets/Makefile: Do not specify -e option when running
12384         testsuite shell scripts.
12385         * elf/Makefile: Likewise.
12386         * grp/Makefile: Likewise.
12387         * iconvdata/Makefile: Likewise.
12388         * intl/Makefile: Likewise.
12389         * io/Makefile: Likewise.
12390         * libio/Makefile: Likewise.
12391         * malloc/Makefile: Likewise.
12392         * posix/Makefile: Likewise.
12393         * stdio-common/Makefile: Likewise.
12394         * stdlib/Makefile: Likewise.
12395         * sysdeps/x86_64/Makefile: Likewise.
12397         * io/ftwtest-sh: Add copyright header.
12398         * posix/globtest.sh: Likewise.
12399         * posix/tst-getconf.sh: Likewise.
12400         * posix/wordexp-tst.sh: Likewise.
12401         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12403 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
12405         [BZ #13679]
12406         * Makeconfig (+link): Defined as $(+link-static) if
12407         $(build-shared) isn't yes.
12408         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12409         isn't yes.
12410         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12412         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12414         [BZ #14562]
12415         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12416         new chunk size with MALLOC_ALIGN_MASK.
12418 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
12420         [BZ #5044]
12421         * stdio-common/printf_fphex.c: Include <stdbool.h> and
12422         <rounding-mode.h>.
12423         (__printf_fphex): Determine rounding using get_rounding_mode and
12424         round_away.
12425         * stdio-common/tst-printf-round.c (struct hex_test): New
12426         structure.
12427         (hex_tests): New variable.
12428         (test_hex_in_one_mode): New function.
12429         (do_test): Also run tests for hex float output.
12431 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
12433         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12434         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12435         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12436         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12437         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12438         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12439         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12440         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12442 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
12444         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12445         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12446         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12447         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12449 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
12451         [BZ #14579]
12452         * elf/rtld.c (dl_main): Limit the check for self loading to normal
12453         mode only.
12454         * elf/tst-rtld-load-self.sh: New test.
12455         * elf/Makefile: Run it.
12457 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
12459         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12460         (tst-writev-ENV): Remove.
12461         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12463 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
12465         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12467 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
12469         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12470         unconditional.
12471         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12472         Likewise.
12473         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12474         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12475         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12476         Likewise.
12478 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12480         [BZ #14587]
12481         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12482         * config.make.in (have-cpp-asm-debuginfo): Removed.
12483         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12484         * configure: Regenerated.
12486 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
12488         [BZ #5044]
12489         * stdio-common/printf_fp.c: Include <stdbool.h> and
12490         <rounding-mode.h>.
12491         (___printf_fp): Determine rounding using get_rounding_mode and
12492         round_away.
12493         * stdio-common/tst-printf-round.c: New file.
12494         * stdio-common/Makefile (tests): Add tst-printf-round.
12495         (link-libm): New variable.
12496         ($(objpfx)tst-printf-round): Depend in $(link-libm).
12498 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
12500         [BZ #14576]
12501         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12502         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12503         Likewise.
12504         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12505         Likewise.
12507 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
12509         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12510         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12511         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12512         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12514 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
12516         [BZ #14518]
12517         * include/rounding-mode.h: New file.
12518         * sysdeps/generic/get-rounding-mode.h: Likewise.
12519         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12520         * stdlib/strtod_l.c: Include <rounding-mode.h>.
12521         (MAX_VALUE): New macro.
12522         (MIN_VALUE): Likewise.
12523         (overflow_value): New function.
12524         (underflow_value): Likewise.
12525         (round_and_return): Use overflow_value and underflow_value to
12526         determine return values in overflow and underflow cases.  Use
12527         round_away to determine rounding depending on rounding mode.
12528         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12529         determine return values in overflow and underflow cases.
12530         * stdlib/tst-strtod-round.c: Include <fenv.h>.
12531         (struct test_results): New structure.
12532         (struct test): Use struct test_results to store expected results
12533         for all rounding modes.
12534         (TEST): Include expected results for all rounding modes.
12535         (test_in_one_mode): New function.
12536         (do_test): Use test_in_one_mode to compute and check results.
12537         Check results for all rounding modes.
12538         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12539         $(link-libm).
12541 2012-12-09  Allan McRae  <allan@archlinux.org>
12543         * sysdeps/i386/fpu/libm-test-ulps: Update
12545 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
12547         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12548         (_G_int32_t): Likewise.
12549         (_G_uint16_t): Likewise.
12550         (_G_uint32_t): Likewise.
12551         (_G_HAVE_BOOL): Likewise.
12552         (_G_HAVE_ATEXIT): Likewise.
12553         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12554         (_G_HAVE_IO_FILE_OPEN): Likewise.
12555         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12556         (_G_int32_t): Likewise.
12557         (_G_uint16_t): Likewise.
12558         (_G_uint32_t): Likewise.
12559         (_G_HAVE_BOOL): Likewise.
12560         (_G_HAVE_ATEXIT): Likewise.
12561         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12562         (_G_HAVE_IO_FILE_OPEN): Likewise.
12563         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12564         (_G_int32_t): Likewise.
12565         (_G_uint16_t): Likewise.
12566         (_G_uint32_t): Likewise.
12567         (_G_HAVE_BOOL): Likewise.
12568         (_G_HAVE_ATEXIT): Likewise.
12569         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12570         (_G_HAVE_IO_FILE_OPEN): Likewise.
12572 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
12574         * csu/libc-tls.c: Update copyright years.
12576 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
12578         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12579         [!_G_USING_THUNKS]: Remove conditional code.
12580         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12581         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12583         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12584         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12585         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12586         (_G_VTABLE_LABEL_PREFIX): Likewise.
12587         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12588         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12589         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12590         (_G_VTABLE_LABEL_PREFIX): Likewise.
12591         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12592         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12593         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12594         (_G_VTABLE_LABEL_PREFIX): Likewise.
12595         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12597 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
12599         * libio/Makefile: Include ../Makeconfig before tests.
12600         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12601         only if $(build-shared) is yes.
12603         * iconv/gconv_db.c: Update copyright years.
12605 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12607         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12608         unwind info if defined PIC. Fix special cases description.
12609         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12611         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12612         DP_HI_MASK entry.
12613         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12615 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
12617         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12619         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12620         is NULL.
12622         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12623         (LDLIBS-tst-chk4): This.
12624         (LDFLAGS-tst-chk5): Renamed to ...
12625         (LDLIBS-tst-chk5): This.
12626         (LDFLAGS-tst-chk6): Renamed to ...
12627         (LDLIBS-tst-chk6): This.
12628         (LDFLAGS-tst-lfschk4): Renamed to ...
12629         (LDLIBS-tst-lfschk4): This.
12630         (LDFLAGS-tst-lfschk5): Renamed to ...
12631         (LDLIBS-tst-lfschk5): This.
12632         (LDFLAGS-tst-lfschk6): Renamed to ...
12633         (LDLIBS-tst-lfschk6): This.
12635         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12636         on $(common-objpfx)soversions.mk.
12638 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12640         [BZ #10014]
12641         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12642         example host name.
12644 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12646         * malloc/arena.c (arena_get_retry): New function that gets
12647         another arena for the caller to try its request on.
12648         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12649         current arena cannot fulfill the request.
12650         (__libc_memalign): Likewise.
12651         (__libc_memalign): Likewise.
12652         (__libc_pvalloc): Likewise.
12653         (__libc_calloc): Likewise.
12655 2012-09-05  John Tobey  <john.tobey@gmail.com>
12657         [BZ #13542]
12658         * manual/arith.texi (Operations on Complex): Fix description
12659         of carg branch cut.
12661 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12663         [BZ #10014]
12664         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12665         host name.
12667         [BZ #10038]
12668         * manual/memory.texi (Memory): Make order of menu items match
12669         order of sections.
12671 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12673         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12674         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12675         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12677 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12679         * csu/libc-tls.c (static_dtv): Renamed to ...
12680         (_dl_static_dtv): This.  Make it global.
12681         (_dl_initial_dtv): Removed.
12682         (__libc_setup_tls): Updated.
12683         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12684         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12685         DL_INITIAL_DTV.
12687 2012-09-06  Petr Machata  <pmachata@redhat.com>
12689         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12690         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12691         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12692         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12694 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12696         [BZ #14545]
12697         * csu/libc-tls.c (_dl_initial_dtv): New variable.
12698         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12699         freeing dtv[-1].
12701 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12703         [BZ #14544]
12704         * Makeconfig (link-static-before-libc): Replace $(+prector)
12705         with $(+prectorT).
12706         (link-static-after-libc): Replace $(+postctor) with
12707         $(+postctorT).
12708         (link-bounded): Replace $(+prector)/$(+postctor) with
12709         $(+prectorT)/$(+postctorT).
12710         (+prectorT): New macro.
12711         (+postctorT): Likewise.
12713 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12715         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12716         (round_str): Handle values above the maximum for IBM long double
12717         as inexact.
12718         * stdlib/tst-strtod-round.c (tests): Regenerated.
12720 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12722         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12723         assembler flag.
12724         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12725         zarch_nohighgprs around the zarch optimized routines.
12726         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12727         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12728         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12729         for zarch.
12731 2012-09-05  David S. Miller  <davem@davemloft.net>
12733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12735         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12736         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12737         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12738         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12739         entries.
12741 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12743         * malloc/arena.c: Fold copyright years.
12744         * malloc/mcheck.c, malloc/memusage.c: Likewise.
12746 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12748         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12750 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12752         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
12754 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12756         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12757         change internal state upon failure.
12759 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12761         * malloc/mcheck.c (mcheck_check_all): Fix typo.
12762         * malloc/memusage.c (mmap): Likewise.
12763         (mmap64, mremap): Likewise.  Adjust name in comment.
12765 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12767         * libio/fileops.c: Fix typos in comments.
12768         * libio/oldfileops.c: Likewise.
12769         * libio/wfileops.c: Likewise.
12771 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12773         [BZ #1349]
12774         * malloc/Makefile (tests): Add tst-malloc-usable test case.
12775         (tst-malloc-usable-ENV): Set environment for test case.
12776         * malloc/hooks.c (malloc_check_get_size): New function to get
12777         requested size.
12778         * malloc/malloc.c (musable): Use malloc_check_get_size.
12779         * malloc/tst-malloc-usable.c: New test case.
12781 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12783         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12785 2012-09-05  Allan McRae  <allan@archlinux.org>
12787         [BZ #13966]
12788         * configure.in (CXX_SYSINCLUDES): Use compiler output to
12789         determine header location.
12790         * configure: Regenerated.
12792 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12794         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12795         float format.
12796         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12797         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12798         format.
12799         (test): Regenerate.
12801 2012-09-04  David S. Miller  <davem@davemloft.net>
12803         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12804         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12805         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12807 2012-09-04  Florian Weimer  <fweimer@redhat.com>
12809         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12810         failures.
12812         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12814 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
12816         [BZ #9914]
12817         * libio/iogetdelim.c: Include <limits.h>.
12818         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12819         + len + 1 would overflow.
12821 2012-09-03  Andreas Jaeger  <aj@suse.de>
12823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12824         * sysdeps/i386/fpu/libm-test-ulps: Update.
12826 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12828         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12829         Add s_sinf-sse2, s_conf-sse2.
12831         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12832         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12833         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12834         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12836         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12837         for using routine as __sinf_ia32.
12838         Use macro for function declaration and weak_alias.
12839         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12840         for using routine as __cosf_ia32.
12841         Use macro for function declaration and weak_alias.
12843         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12844         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12846         * sysdeps/x86_64/fpu/s_sinf.S: New file.
12847         * sysdeps/x86_64/fpu/s_cosf.S: New file.
12848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12850         * math/libm-test.inc (cos_test): Add more test cases.
12851         (sin_test): Likewise.
12852         (sincos_test): Likewise.
12854 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12856         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12857         (IFUNC_RESOLVE): Make pointers to the specialized implementations
12858         hidden.
12859         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12861 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
12863         [BZ #14538]
12864         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12865         first element of the GOT.
12866         (elf_machine_load_address): Return the difference between
12867         the runtime address of _DYNAMIC and elf_machine_dynamic ().
12869 2012-09-01  Allan McRae  <allan@archlinux.org>
12871         [BZ #13412]
12872         * configure.in (AWK): Require gawk version 3.0 or later.
12873         * configure: Regenerated.
12875 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
12877         * sysdeps/unix/sysv/linux/kernel-features.h
12878         (__ASSUME_POSIX_CPU_TIMERS): Remove.
12879         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12880         [__NR_clock_getres]: Make code unconditional.
12881         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12882         (clock_getcpuclockid): Remove code left unreachable by removal of
12883         conditionals.
12884         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12885         code unconditional.
12886         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12887         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12888         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12889         Make code unconditional.
12890         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12891         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12892         * sysdeps/unix/sysv/linux/clock_settime.c
12893         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12894         conditional code.
12895         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12896         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12898 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
12900         [BZ #14476]
12901         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12902         scripts/test-installation.pl.
12904         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12905         and $ld_so_version if it is set.
12907 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12909         [BZ #14516]
12910         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12911         failure if reading from procfs failed.
12912         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12914 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12916         * sysdeps/unix/sysv/linux/kernel-features.h
12917         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12918         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12919         Remove conditional code.
12920         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12921         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12922         Remove conditional code.
12923         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12924         * sysdeps/unix/sysv/linux/i386/fxstat.c
12925         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12926         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12927         * sysdeps/unix/sysv/linux/i386/fxstatat.c
12928         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12929         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12930         * sysdeps/unix/sysv/linux/i386/lxstat.c
12931         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12932         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12933         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12934         Remove conditional code.
12935         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12936         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12937         Remove conditional code.
12938         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12939         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12940         <kernel-features.h>.
12941         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12942         Remove.
12943         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12944         Remove conditional code.
12945         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12946         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12947         Remove conditional.
12949 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
12951         [BZ #5400]
12952         * NEWS: Add fixed bug number.
12954 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12956         [BZ #14519]
12957         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12958         underflowing exponent in case of negative sign.
12959         * stdlib/tst-strtod-round-data: Add more tests.
12960         * stdlib/tst-strtod-round.c (tests): Regenerated.
12962         [BZ #3479]
12963         * stdlib/strtod_l.c (NDIG): Remove.
12964         (HEXNDIG): Likewise.
12965         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12966         smallest representable value.
12967         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12968         lie within an exact representation of 1/2 ulp of the result.
12969         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12970         unconditionally.
12971         (TENS_P9_IDX): Define unconditionally.
12972         (TENS_P9_SIZE): Likewise.
12973         (TENS_P10_IDX): Likewise.
12974         (TENS_P10_SIZE): Likewise.
12975         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12976         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12977         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12978         entries for 10^2^13 and 10^2^14.
12979         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12980         (TENS_P13_IDX): Define.
12981         (TENS_P13_SIZE): Likewise.
12982         (TENS_P14_IDX): Likewise.
12983         (TENS_P14_SIZE): Likewise.
12984         (_fpioconst_pow10): Change array size to
12985         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
12986         unconditional.
12987         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12988         1024]: Add entries for 10^2^13 and 10^2^14.
12989         [LAST_POW10 > _LAST_POW10]: Remove #error.
12990         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12991         (_fpioconst_pow10): Change array size to
12992         FPIOCONST_POW10_ARRAY_SIZE.
12993         * stdlib/gen-fpioconst.c: New file.
12994         * stdlib/gen-tst-strtod-round.c: Likewise.
12995         * stdlib/tst-strtod-round-data: Likewise.
12996         * stdlib/tst-strtod-round.c: Likewise.
12997         * stdlib/Makefile (tests): Add tst-strtod-round.
12999         [BZ #14459]
13000         * stdlib/strtod_l.c: Include <stdint.h>.
13001         (NDEBUG): Do not define.
13002         (round_and_return): Change EXPONENT parameter to type intmax_t.
13003         Rearrange calculations to avoid internal overflow possibilities.
13004         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13005         Rearrange calculations to avoid internal overflow possibilities.
13006         Assert that number fits inside MPNSIZE limbs.
13007         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13008         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
13009         calculations and add assertions to avoid internal overflow
13010         possibilities.  Add casts to avoid signed/unsigned operations.
13011         * stdlib/tst-strtod-overflow.c: New file.
13012         * stdlib/Makefile (tests): Add tst-strtod-overflow.
13014 2012-08-25  Marek Polacek  <polacek@redhat.com>
13016         * time/time.h: Fix some typos in comments.
13018 2012-08-23  Roland McGrath  <roland@hack.frob.com>
13020         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13021         * posix/tst-rfc3484-2.c: Likewise.
13022         * posix/tst-rfc3484-3.c: Likewise.
13024 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
13026         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13027         (EF_ARM_ABI_FLOAT_HARD): Likewise.
13029 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
13031         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13032         #include of fxstatat64.c.
13034 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13036         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13037         * shadow/getspent_r.c: Likewise.
13038         * shadow/getspnam.c: Likewise.
13039         * shadow/getspnam_r.c: Likewise.
13040         * gshadow/getsgent.c: Likewise.
13041         * gshadow/getsgent_r.c: Likewise.
13042         * gshadow/getsgnam.c: Likewise.
13043         * gshadow/getsgnam_r.c: Likewise.
13044         * inet/getnetbyad.c: Likewise.
13045         * inet/getnetbyad_r.c: Likewise.
13046         * inet/getnetbynm.c: Likewise.
13047         * inet/getnetbynm_r.c: Likewise.
13048         * inet/getnetent.c: Likewise.
13049         * inet/getnetent_r.c: Likewise.
13050         * inet/getproto.c: Likewise.
13051         * inet/getproto_r.c: Likewise.
13052         * inet/getprtent.c: Likewise.
13053         * inet/getprtent_r.c: Likewise.
13054         * inet/getprtname.c: Likewise.
13055         * inet/getprtname_r.c: Likewise.
13056         * inet/getrpcbyname.c: Likewise.
13057         * inet/getrpcbyname_r.c: Likewise.
13058         * inet/getrpcbynumber.c: Likewise.
13059         * inet/getrpcbynumber_r.c: Likewise.
13060         * inet/getrpcent.c: Likewise.
13061         * inet/getrpcent_r.c: Likewise.
13062         * inet/getaliasent.c: Likewise.
13063         * inet/getaliasent_r.c: Likewise.
13064         * inet/getaliasname.c: Likewise.
13065         * inet/getaliasname_r.c: Likewise.
13066         * nscd/getgrgid_r.c: Likewise.
13067         * nscd/getgrnam_r.c: Likewise.
13068         * nscd/gethstbyad_r.c: Likewise.
13069         * nscd/gethstbynm3_r.c: Likewise.
13070         * nscd/getpwnam_r.c: Likewise.
13071         * nscd/getpwuid_r.c: Likewise.
13072         * nscd/getsrvbynm_r.c: Likewise.
13073         * nscd/getsrvbypt_r.c: Likewise.
13074         * nscd/gai.c: Likewise.
13076         * configure.in (build_nscd): New substituted variable, set
13077         by --disable-build-nscd and defaults to $use_nscd.
13078         * configure: Regenerated.
13079         * config.make.in (build-nscd): New substituted variable.
13080         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13081         Change conditional to require [$(build-nscd) = yes] as well.
13082         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13084         [BZ# 13696]
13085         * configure.in (use_nscd): New substituted variable, set by
13086         --disable-nscd.  If enabled, define USE_NSCD.
13087         * configure: Regenerated.
13088         * config.h.in: Add USE_NSCD.
13089         * config.make.in (use-nscd): New substituted variable.
13090         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13091         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13092         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13093         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13094         (CFLAGS-getgrnam_r.c): Likewise.
13095         (CFLAGS-initgroups.c): Likewise.
13096         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13097         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13098         Variables removed.
13099         * inet/getnetgrent_r.c
13100         (nscd_setnetgrent): New function, broken out of ...
13101         (setnetgrent): ... here.  Call it.
13102         (innetgr): Conditionalize nscd bits on [USE_NSCD].
13103         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13104         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13105         * nscd/Makefile (routines, aux): Move definitions after include of
13106         Makeconfig.  Conditionalize on [$(use-nscd) != no].
13107         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13108         Conditionalize on [USE_NSCD].
13109         (is_nscd, nscd_init_cb): Likewise.
13110         (nss_load_library): Conditionalize init callback on [USE_NSCD].
13111         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13112         * nss/nss_db/db-init.c: Likewise.
13113         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13114         [USE_NSCD].
13115         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13116         (make_request): Use it.
13117         (cache_valid_p): New function.
13118         (__check_pf): Use it.
13119         * NEWS: Add item for --disable-nscd.
13121 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
13123         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13124         to support sed >= 4.2.1-20-ga9bf076.
13125         * configure: Regenerated.
13127 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13129         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13130         Conditionalize whole body on [IREL].
13132 2012-08-22  Jeff Law <law@redhat.com>
13134         [BZ #14505]
13135         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13136         if the family is PF_UNSPEC.
13138 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
13140         * Makerules (lib-version): Rename from V.
13141         (install-lib-nosubdir): Change V to lib-version.
13143 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
13145         [BZ #14252]
13146         * powerpc32/power6/wcschr.c: New file.
13147         * powerpc32/power6/wcscpy.c: New file.
13148         * powerpc32/power6/wcsrchr.c: New file.
13149         * powerpc64/power6/wcschr.c: New file.
13150         * powerpc64/power6/wcscpy.c: New file.
13151         * powerpc64/power6/wcsrchr.c: New file.
13153 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13155         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13156         (two_way_short_needle): Use it.
13157         * string/strstr.c (AVAILABLE1_USES_J): Define.
13158         * string/strcasestr.c: Likewise.
13160         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13161         array references.
13162         * string/strcasestr.c (TOLOWER): Make side-effect safe.
13164         [BZ #11607]
13165         * NEWS: Add an entry.
13166         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13167         define their defaults.
13168         (two_way_short_needle): Detect end-of-string on-the-fly.
13169         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13170         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13171         * string/bug-strcasestr1.c: New test.
13172         * string/Makefile: Run it.
13174 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13176         [BZ #11607]
13177         * string/str-two-way.h (two_way_short_needle): Optimize matching of
13178         the first character.
13180 2012-08-21  Roland McGrath  <roland@hack.frob.com>
13182         * csu/elf-init.c (__libc_csu_irel): Function removed.
13183         * csu/libc-start.c (apply_irel): New function.
13184         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13186 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
13188         * sysdeps/unix/sysv/linux/kernel-features.h
13189         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13190         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13191         <kernel-features.h>.
13192         [__NR_fadvise64_64]: Make code unconditional.
13193         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13194         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13195         !__NR_fadvise64_64)]: Likewise.
13196         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13197         !__NR_fadvise64_64))]: Likewise.
13198         [__NR_fadvise64]: Make code unconditional.
13199         [!__NR_fadvise64]: Remove conditional code.
13200         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13201         <kernel-features.h>.
13202         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13203         unconditional.
13204         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13205         conditional code.
13206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13207         not include <kernel-features.h>.
13208         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13209         unconditional.
13210         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13211         conditional code.
13212         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13213         include <kernel-features.h>.
13214         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13215         unconditional.
13216         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13217         conditional code.
13219 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13221         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13222         slight instruction rearrangements per scrollpipe analysis.
13223         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13225 2012-08-20  Roland McGrath  <roland@hack.frob.com>
13227         * manual/syslog.texi (syslog; vsyslog, closelog):
13228         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13229         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13231         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13232         DSOCAPS to match condition on defining it.
13234 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
13236         * sysdeps/unix/sysv/linux/kernel-features.h
13237         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13239         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13240         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13242         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13243         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13245         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13246         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13248         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13249         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13251         * sysdeps/unix/sysv/linux/kernel-features.h
13252         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13253         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13254         unconditional.
13255         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13256         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13257         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13258         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13259         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13260         Make code unconditional.
13261         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13262         (__mmap64) [!__NR_mmap2]: Likewise.
13263         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13264         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13265         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13266         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13267         [__NR_mmap2]: Make code unconditional.
13268         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13269         (__mmap64) [!__NR_mmap2]: Likewise.
13271 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13273         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13275 2012-08-18  Andreas Jaeger  <aj@suse.de>
13277         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13279 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13281         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13282         * include/unistd.h (__have_sock_cloexec): Likewise.
13283         (__have_pipe2): Likewise.
13284         (__have_dup3): Likewise.
13286 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13288         [BZ #9685]
13289         * include/unistd.h (__have_pipe2): Change define into an extern int.
13290         (__have_dup3): Likewise.
13291         * socket/have_sock_cloexec.c: Include fcntl.h.
13292         (__have_pipe2): New variable.
13293         (__have_dup3): Likewise.
13295 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
13297         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13299 2012-08-17  Marek Polacek  <polacek@redhat.com>
13301         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13302         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13304 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13306         * configure.in: Add AC_SUBST for sysheaders.
13307         * configure: Regenerated.
13308         * config.make.in (sysheaders): New substituted variable.
13310         * sysdeps/unix/mkfifo.c: Moved ...
13311         * sysdeps/posix/mkfifo.c: ... here.
13312         * sysdeps/unix/mkfifoat.c: Moved ...
13313         * sysdeps/posix/mkfifoat.c: ... here.
13315         * sysdeps/unix/utime.c: Moved ...
13316         * sysdeps/posix/utime.c: ... here.
13318         * sysdeps/unix/time.c: Moved ...
13319         * sysdeps/posix/time.c: ... here.
13320         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13321         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13323         * sysdeps/unix/nice.c: Moved ...
13324         * sysdeps/posix/nice.c: ... here.
13326         * sysdeps/unix/alarm.c: Moved ...
13327         * sysdeps/posix/alarm.c: ... here.
13329         * intl/Makefile ($(codeset_mo)): Depend on the input file.
13331 2012-08-17  Jeff Law <law@redhat.com>
13333         * intl/Makefile (codeset_mo): New variable.
13334         ($(codeset_mo)): New target.
13335         (tst-codeset.out): Depend on that.  Remove explicit rule.
13336         (tst-gettext3.out, tst-gettext5.out): Likewise.
13337         (LOCPATH-ENV, tst-codeset-ENV): New variables.
13338         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13339         * intl/tst-codeset.sh: Remove.
13340         * intl/tst-gettext3.sh: Likewise.
13341         * intl/tst-gettext5.sh: Likewise.
13343 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13345         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
13346         * sysdeps/unix/syscalls.list: ... here.
13348         * sysdeps/posix/getaddrinfo.c
13349         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13350         (gaiconf_init, gaiconf_reload): Use them.
13351         [!_STATBUF_ST_NSEC]
13352         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13353         Define using time_t rather than struct timespec.
13355         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13356         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13357         Macros removed.
13358         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13359         [!NO_THREADS].
13360         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13361         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13362         Likewise.
13364         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13365         __libc_cleanup_push argument.
13367         * bits/param.h: New file.
13368         * misc/sys/param.h: New file.
13369         * include/sys/param.h: New file.
13370         * misc/Makefile (headers): Add bits/param.h.
13371         * sysdeps/generic/sys/param.h: File removed.
13372         * sysdeps/unix/sysv/linux/bits/param.h: New file.
13373         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13374         * sysdeps/mach/hurd/bits/param.h: New file.
13375         * sysdeps/mach/hurd/sys/param.h: File removed.
13377         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13378         last change.
13380         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13381         [_IO_MTSAFE_IO].
13382         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13383         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13384         New macros.
13386         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13387         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13388         rather than -D_IO_MTSAFE_IO conditionally.
13389         * stdio-common/Makefile (CPPFLAGS): Likewise.
13390         * wcsmbs/Makefile (CPPFLAGS): Likewise.
13391         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13392         Use $(libio-mtsafe).
13393         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13394         of -D_IO_MTSAFE_IO.
13395         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13396         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13397         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13398         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13399         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13400         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13401         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13402         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13403         (CFLAGS-fread_u_chk.c): Likewise.
13404         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13405         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13406         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13407         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13408         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13409         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13410         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13411         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13412         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13414         * libio/Makefile: Test [$(libc-reentrant) = yes]
13415         instead of [$(filter %REENTRANT, $(defines)) nonempty].
13417         * Makeconfig
13418         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13419         * sysdeps/pthread/configure: File removed.
13420         * sysdeps/pthread/Makeconfig: New file.
13421         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13422         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13424 2012-08-16  Gary Benson  <gbenson@redhat.com>
13426         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13427         unmapping the first object in a namespace.
13429 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13431         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13432         (__internal_setnetgrent): ... this.  Add internal_function to
13433         definition.  Add libc_hidden_def.
13434         (setnetgrent): Update caller.
13435         (internal_endnetgrent): Renamed to ...
13436         (__internal_endnetgrent): ... this.  Add internal_function to
13437         definition.  Add libc_hidden_def.
13438         (endnetgrent): Update caller.
13439         (internal_getnetgrent_r): Renamed to ...
13440         (__internal_getnetgrent_r): ... this.  Add internal_function to
13441         definition.  Add libc_hidden_def.
13442         (__getnetgrent_r): Update caller.
13443         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
13445 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13447         * stdlib/longlong.h: Update from GCC.
13449 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13451         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13452         on _QL, which is set by umul_ppmm but never used.
13453         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13454         variables, which are set by GMP macros but never used.
13455         * stdio-common/_itowa.c (_itowa): Likewise.
13456         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13457         * stdlib/mod_1.c (mpn_mod_1): Likewise.
13459 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
13461         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13462         struct La_sh_regs is not constant.
13463         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13464         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13465         and struct La_sparc64_regs are not constant.
13467 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13469         * sysdeps/unix/sysv/linux/kernel-features.h
13470         (__ASSUME_POSIX_TIMERS): Remove.
13471         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13472         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13473         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13474         Make code unconditional.
13475         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13476         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13477         Make code unconditional.
13478         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13479         * sysdeps/unix/sysv/linux/clock_nanosleep.c
13480         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13481         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13482         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13483         Make code unconditional.
13484         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13485         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13486         (__libc_missing_posix_timers): Remove.
13488 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13490         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13491         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13493         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13495         * elf/dl-sym.c: Include <stdlib.h>.
13497         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13498         constants, which avoids warnings in 32-bit builds.
13500         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13501         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13503         * misc/lseek.c: File moved to ...
13504         * io/lseek.c: ... here.
13506         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13508         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13509         shifting LEN more than 31 bits at once.
13511 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13513         [BZ #14195]
13514         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13515         segmentation fault for a case of two empty input strings.
13516         * string/test-strncasecmp.c (check1): Renamed to...
13517         (bz12205): ...this.
13518         (bz14195): Add new testcase for two empty input strings and N > 0.
13519         (test_main): Call new testcase, adapt for renamed function.
13521 2012-08-15  Andreas Jaeger  <aj@suse.de>
13523         [BZ #14090]
13524         * crypt/md5test2.c: New test, based on test supplied by Serge
13525         Belyshev <belyshev@depni.sinp.msu.ru>.
13526         * crypt/Makefile (xtests): Add md5test-giant..
13527         * crypt/Makefile ($(objpfx)md5test-giant): Add.
13529 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
13531         [BZ #14090]
13532         * crypt/md5.c (md5_process_block): Don't assume the buffer
13533         length is less than 2**32.
13534         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13535         length is less than 2**64.
13537 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13539         * string/str-two-way.h: Include <sys/param.h>.
13540         (MAX): Macro removed.
13542         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13543         Move #define and #undef of memmove to just before and after
13544         including <string.h>.
13546         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13547         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13548         and after including <string.h>.  Move declarations of
13549         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13550         to before #include "string/memmove.c".
13552         * include/dirent.h: Declare __getdirentries.
13554         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13555         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13557 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
13559         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13560         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13561         * sysdeps/i386/configure: Regenerated.
13562         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13563         STABS_CURRENT_FILE, and STABS_FUN.
13564         (END): Remove call to STABS_FUN_END.
13565         (STABS_CURRENT_FILE1): Delete.
13566         (STABS_CURRENT_FILE): Likewise.
13567         (STABS_FUN): Likewise.
13568         (STABS_FUN_END): Likewise.
13569         (STABS_FUN2): Likewise.
13570         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13571         * sysdeps/x86_64/configure: Regenerated.
13573 2012-08-14  Roland McGrath  <roland@hack.frob.com>
13575         * elf/dl-open.c: Include <atomic.h>.
13576         * elf/dl-lookup.c: Likewise.
13578 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
13580         * sysdeps/unix/sysv/linux/kernel-features.h
13581         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13582         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13583         unconditionally.
13584         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13585         unconditionally.
13586         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13587         condition on __ASSUME_CLONE_THREAD_FLAGS.
13589 2012-08-14  Andreas Jaeger  <aj@suse.de>
13591         * sysdeps/i386/fpu/libm-test-ulps: Update.
13593 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
13595         * include/atomic.h (atomic_exchange_and_add): Split into ...
13596         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13597         New atomic macros.
13599 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
13601         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13603 2012-08-13  Jeff Law <law@redhat.com>
13605         * manual/stdio.texi (snprintf): Clarify handling of the trailing
13606         null byte in the output string.
13608 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
13610         * sysdeps/unix/sysv/linux/kernel-features.h
13611         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13612         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13613         (__ASSUME_ARG_MAX_STACK_BASED): Define.
13614         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13615         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13616         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
13617         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13619 2012-08-09  Jeff Law <law@redhat.com>
13621         [BZ #13939]
13622         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13623         When avoid_arena is set, don't retry in the that arena.  Pick the
13624         next one, whatever it might be.
13625         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13626         (arena_lock): Pass in new parameter to arena_get2.
13627         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13628         arena_get2.
13629         (__libc_malloc): Unify retrying after main arena failure with
13630         __libc_memalign version.
13631         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13633 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13635         [BZ #14166]
13636         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13637         to __redirect_strstr.
13638         (__strstr_sse42): Use typeof __redirect_strstr.
13639         (__strstr_ia32): Likewise.
13640         (__libc_strstr): New prototype.
13641         (strstr): Renamed to ...
13642         (__libc_strstr): This.
13643         (strstr): New strong alias of __libc_strstr.
13644         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13645         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13646         __redirect_time.
13647         Include <time.h>.
13648         (__libc_time): New prototype.
13649         (time_ifunc): Replace time with __libc_time.
13650         (time): New strong alias and hidden definition of __libc_time.
13651         (__GI_time): Remove strong alias.
13652         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13653         Include <stddef.h>.
13654         (memmove): Redefined to __redirect_memmove.
13655         (__memmove_sse2): Use typeof __redirect_memmove.
13656         (__memmove_ssse3): Likewise.
13657         (__memmove_ssse3_back): Likewise.
13658         (__libc_memmove): New prototype.
13659         (memmove): Renamed to ...
13660         (__libc_memmove): This.
13661         (memmove): New strong alias of __libc_memmove.
13663 2012-08-08  Mark Salter  <msalter@redhat.com>
13665         * elf/elf.h
13666         (R_MN10300_TLS_GD): Define.
13667         (R_MN10300_TLS_LD): Likewise.
13668         (R_MN10300_TLS_LDO): Likewise.
13669         (R_MN10300_TLS_GOTIE): Likewise.
13670         (R_MN10300_TLS_IE): Likewise.
13671         (R_MN10300_TLS_LE): Likewise.
13672         (R_MN10300_TLS_DTPMOD): Likewise.
13673         (R_MN10300_TLS_DTPOFF): Likewise.
13674         (R_MN10300_TLS_TPOFF): Likewise.
13675         (R_MN10300_SYM_DIFF): Likewise.
13676         (R_MN10300_ALIGN): Likewise.
13677         (R_MN10300_NUM): Update.
13679 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13681         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13682         Remove.
13684 2012-08-08  Roland McGrath  <roland@hack.frob.com>
13686         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13688         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13689         sysdeps/unix -> sysdeps/posix move.
13690         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13692 2012-08-07      Allan McRae     <allan@archlinux.org>
13694         [BZ #14303]
13695         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13696         (SUNOS_CPP): Likewise.
13697         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13698         not found.
13699         (open_input): Call CPP using execvp.
13701 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13703         * sysdeps/unix/sysv/linux/kernel-features.h
13704         (__ASSUME_PROT_GROWSUPDOWN): Remove.
13705         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13706         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13707         (__ASSUME_WAITID_SYSCALL): Likewise.
13708         * sysdeps/unix/sysv/linux/dl-execstack.c
13709         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13710         code unconditional.
13711         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13712         conditional code.
13713         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13714         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13715         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13716         code.
13717         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13718         unconditional.
13719         [__ASSUME_WAITID_SYSCALL]: Likewise.
13720         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13722 2012-08-07  Roland McGrath  <roland@hack.frob.com>
13724         * sysdeps/unix/closedir.c: Renamed to ...
13725         * sysdeps/posix/closedir.c: ... here.
13726         * sysdeps/unix/dirfd.c: Renamed to ...
13727         * sysdeps/posix/dirfd.c: ... here.
13728         * sysdeps/unix/dirstream.h: Renamed to ...
13729         * sysdeps/posix/dirstream.h: ... here.
13730         * sysdeps/unix/fdopendir.c: Renamed to ...
13731         * sysdeps/posix/fdopendir.c: ... here.
13732         * sysdeps/unix/opendir.c: Renamed to ...
13733         * sysdeps/posix/opendir.c: ... here.
13734         * sysdeps/unix/readdir.c: Renamed to ...
13735         * sysdeps/posix/readdir.c: ... here.
13736         * sysdeps/unix/readdir_r.c: Renamed to ...
13737         * sysdeps/posix/readdir_r.c: ... here.
13738         * sysdeps/unix/rewinddir.c: Renamed to ...
13739         * sysdeps/posix/rewinddir.c: ... here.
13740         * sysdeps/unix/seekdir.c: Renamed to ...
13741         * sysdeps/posix/seekdir.c: ... here.
13742         * sysdeps/unix/telldir.c: Renamed to ...
13743         * sysdeps/posix/telldir.c: ... here.
13744         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13745         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13746         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13747         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13749         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13750         * bits/fcntl.h: ... here.
13752         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13753         not 0.
13754         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13755         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13756         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13757         (struct flock): Move l_start, l_len to the beginning.
13758         Use __pid_t for l_pid.
13759         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13760         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13761         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13762         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13763         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13764         [__USE_LARGEFILE64] (struct flock64): New type.
13765         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13767         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13768         * bits/dirent.h: ... here.
13770         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13771         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13773 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13775         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13776         Change from 2.6.0 to 2.6.16.
13777         * sysdeps/unix/sysv/linux/configure: Regenerated.
13778         * sysdeps/unix/sysv/linux/kernel-features.h
13779         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13780         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13781         version.
13782         (__ASSUME_UTIMES): Likewise.
13783         (__ASSUME_CLONE_STOPPED): Remove.
13784         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13785         architectures, not kernel version.
13786         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13787         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13788         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13789         (__ASSUME_WAITID_SYSCALL): Likewise.
13790         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13791         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13792         * README: State 2.6.16 as minimum Linux kernel version.  Do not
13793         refer to older versions.
13795 2012-08-06  Roland McGrath  <roland@hack.frob.com>
13797         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13798         Define alphasort64 as an alias.
13799         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13800         Define versionsort64 as an alias.
13801         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13802         Define scandir64 as an alias.
13803         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13804         Define scandirat64 as an alias.
13805         * dirent/alphasort64.c (alphasort64):
13806         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13807         * dirent/versionsort64.c: Likewise.
13808         * dirent/scandir64.c: Likewise.
13809         * dirent/scandirat64.c: Likewise.
13810         * sysdeps/wordsize-64/alphasort.c: File removed.
13811         * sysdeps/wordsize-64/alphasort64.c: File removed.
13812         * sysdeps/wordsize-64/scandir.c: File removed.
13813         * sysdeps/wordsize-64/scandir64.c: File removed.
13814         * sysdeps/wordsize-64/scandirat.c: File removed.
13815         * sysdeps/wordsize-64/scandirat64.c: File removed.
13816         * sysdeps/wordsize-64/versionsort.c: File removed.
13817         * sysdeps/wordsize-64/versionsort64.c: File removed.
13818         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13819         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13820         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13821         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13822         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13823         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13824         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13825         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13827         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13828         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13829         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13830         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13831         [defined __arch64__ || defined __sparcv9]
13832         (__INO_T_MATCHES_INO64_T): New macro.
13833         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13834         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13835         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13836         * sysdeps/unix/sysv/linux/bits/dirent.h
13837         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13838         (_DIRENT_MATCHES_DIRENT64): New macro.
13840         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13841         Define lockf64 as an alias.
13842         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13843         Define fseeko64 as an alias.
13844         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13845         Define ftello64 as an alias.
13846         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13847         Define _IO_fgetpos64 and fgetpos64 as aliases.
13848         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13849         Define _IO_fsetpos64 and fsetpos64 as aliases.
13850         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13851         Conditionalize body on this.
13852         * libio/fseeko64.c: Likewise.
13853         * libio/ftello64.c: Likewise.
13854         * libio/iofgetpos64.c: Likewise.
13855         * libio/iofsetpos64.c: Likewise.
13856         * sysdeps/wordsize-64/lockf.c: File removed.
13857         * sysdeps/wordsize-64/lockf64.c: File removed.
13858         * sysdeps/wordsize-64/fseeko.c: File removed.
13859         * sysdeps/wordsize-64/fseeko64.c: File removed.
13860         * sysdeps/wordsize-64/ftello.c: File removed.
13861         * sysdeps/wordsize-64/ftello64.c: File removed.
13862         * sysdeps/wordsize-64/iofgetpos.c: File removed.
13863         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13864         * sysdeps/wordsize-64/iofsetpos.c: File removed.
13865         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13866         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13867         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13868         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13869         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13870         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13871         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13872         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13873         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13874         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13875         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13877         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13878         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13879         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13880         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13881         [defined __arch64__ || defined __sparcv9]
13882         (__OFF_T_MATCHES_OFF64_T): New macro.
13883         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13884         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13885         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13886         (__OFF_T_MATCHES_OFF64_T): New macro.
13888 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13890         * stdlib/secure-getenv.c (__secure_getenv): Replace
13891         GLIBC_2_16 with GLIBC_2_17.
13893 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13895         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13896         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13898 2012-08-03  David S. Miller  <davem@davemloft.net>
13900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13902 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13904         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13905         Remove.
13906         (__ASSUME_CORRECT_SI_PID): Likewise.
13907         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13908         (__ASSUME_TMPFS_NAME): Likewise.
13909         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13910         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13911         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13912         (HAVE_AUX_SECURE): Make definition unconditional.
13913         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13914         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13916 2012-08-03  Roland McGrath  <roland@hack.frob.com>
13918         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13919         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13920         * sysdeps/mach/hurd/eloop-threshold.h: New file.
13921         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13922         __eloop_threshold instead of SYMLOOP_MAX.
13924         * sysdeps/generic/eloop-threshold.h: New file.
13925         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13926         of MAXSYMLINKS.
13927         * elf/chroot_canon.c (chroot_canon): Likewise.
13929 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13931         [BZ #13717]
13932         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13933         Change to 2.6.0 everywhere.
13934         * sysdeps/unix/sysv/linux/configure: Regenerated.
13935         * sysdeps/unix/sysv/linux/kernel-features.h
13936         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13937         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13938         kernel versions.
13939         (__ASSUME_POSIX_TIMERS): Define unconditionally.
13940         (__ASSUME_FUTEX_REQUEUE): Remove.
13941         (__ASSUME_STATFS64): Define unconditionally.
13942         (__ASSUME_AT_SECURE): Likewise.
13943         (__ASSUME_CORRECT_SI_PID): Likewise.
13944         (__ASSUME_TGKILL): Define without depending on kernel version for
13945         i386.
13946         (__ASSUME_UTIMES): Likewise.
13947         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13948         kernel version.
13949         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13950         (__ASSUME_TMPFS_NAME): Likewise.
13951         * README: Update reference to Linux kernel versions.
13953 2012-08-02  Marek Polacek  <polacek@redhat.com>
13955         [BZ# 14150]
13956         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
13957         libc_cv_asm_type_prefix with %.
13958         * configure: Regenerated.
13959         * include/libc-symbols.h: Remove comment about
13960         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13961         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13962         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13963         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13964         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13965         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13966         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13967         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13968         * elf/tst-unique2mod1.c: Likewise.
13969         * elf/tst-unique1mod2.c: Likewise.
13970         * elf/tst-unique1mod1.c: Likewise.
13971         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13972         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13973         Replace ASM_TYPE_DIRECTIVE with .type.
13974         * sysdeps/s390/s390-64/sysdep.h: Likewise.
13975         * sysdeps/i386/sysdep.h: Likewise.
13976         * sysdeps/x86_64/sysdep.h: Likewise.
13977         * sysdeps/sh/sysdep.h: Likewise.
13978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13979         Do not define ASM_TYPE_DIRECTIVE.
13980         * sysdeps/powerpc/sysdep.h: Likewise.
13981         * sysdeps/powerpc/powerpc32/sysdep.h:
13982         Replace ASM_TYPE_DIRECTIVE with .type.
13983         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13984         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13985         * sysdeps/i386/fpu/e_powf.S: Likewise.
13986         * sysdeps/i386/fpu/e_expl.S: Likewise.
13987         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13988         * sysdeps/i386/fpu/e_acosh.S: Likewise.
13989         * sysdeps/i386/fpu/e_pow.S: Likewise.
13990         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13991         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13992         * sysdeps/i386/fpu/s_expm1.S: Likewise.
13993         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13994         * sysdeps/i386/fpu/e_log2.S: Likewise.
13995         * sysdeps/i386/fpu/e_log2l.S: Likewise.
13996         * sysdeps/i386/fpu/e_scalb.S: Likewise.
13997         * sysdeps/i386/fpu/e_powl.S: Likewise.
13998         * sysdeps/i386/fpu/e_log10f.S: Likewise.
13999         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14000         * sysdeps/i386/fpu/e_logl.S: Likewise.
14001         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14002         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14003         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14004         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14005         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14006         * sysdeps/i386/fpu/e_log.S: Likewise.
14007         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14008         * sysdeps/i386/fpu/e_logf.S: Likewise.
14009         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14010         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14011         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14012         * sysdeps/i386/fpu/e_log10.S: Likewise.
14013         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14014         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14015         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14016         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14017         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14018         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14019         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14020         * sysdeps/i386/i686/strtok.S: Likewise.
14021         * sysdeps/i386/i386-mcount.S: Likewise.
14022         * sysdeps/i386/strtok.S: Likewise.
14023         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14024         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14025         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14026         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14027         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14028         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14029         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14030         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14031         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14032         * sysdeps/x86_64/_mcount.S: Likewise.
14033         * sysdeps/x86_64/strtok.S: Likewise.
14034         * sysdeps/sh/_mcount.S: Likewise.
14036 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14038         * libio/iofopen.c: Include <fcntl.h>.
14039         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14040         (_IO_fopen64, fopen64): Define as aliases.
14041         * libio/iofopen64.c: Include <fcntl.h>.
14042         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14043         Conditionalize body on this.
14044         * sysdeps/wordsize-64/iofopen.c: File removed.
14045         * sysdeps/wordsize-64/iofopen64.c: File removed.
14047 2012-08-01  Marek Polacek  <polacek@redhat.com>
14049         * libc/Makeconfig: Use elf in place of binfmt-subdir.
14050         Use dlfcn directly instead of a variable.
14051         (binfmt-subdir): Do not define.
14052         (dlfcn): Likewise.
14054 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
14056         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14057         Remove all definitions.
14058         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14059         <kernel-features.h>.
14060         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14061         (miss_F_GETOWN_EX): Remove all definitions.
14062         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14063         macro definition.
14064         [!__ASSUME_FCNTL64]: Remove conditional code.
14065         [__ASSUME_FCNTL64]: Make code unconditional.
14066         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14067         <kernel-features.h>.
14068         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14069         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14070         (lockf64) [__NR_fcntl64]: Make code unconditional.
14071         (lockf64) [__ASSUME_FCNTL64]: Likewise.
14073         * sysdeps/unix/sysv/linux/kernel-features.h
14074         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14075         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14076         Make code unconditional.
14077         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14078         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14080         [__NR_vfork]: Make code unconditional.
14081         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14082         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14084         [__NR_vfork]: Make code unconditional.
14085         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14086         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14088 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14090         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14091         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14093         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14094         Define mkstemp64 as an alias.
14095         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14096         Define mkstemps64 as an alias.
14097         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14098         Define mkostemp64 as an alias.
14099         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14100         Define mkostemps64 as an alias.
14101         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14102         Conditionalize body on this.
14103         * misc/mkostemp64.c: Likewise.
14104         * misc/mkostemps64.c: Likewise.
14105         * misc/mkstemps64.c: Likewise.
14106         * sysdeps/wordsize-64/mkstemp64.c: File removed.
14107         * sysdeps/wordsize-64/mkostemp64.c: File removed.
14108         * sysdeps/wordsize-64/mkostemp.c: File removed.
14109         * sysdeps/wordsize-64/mkstemp.c: File removed.
14110         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14111         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14112         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14113         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14115         [BZ #14138]
14116         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14117         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14118         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14119         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14121         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14122         compat_symbol macros from <shlib-compat.h> rather than the underlying
14123         default_symbol_version and symbol_version macros, so that DEFAULT
14124         lines in shlib-versions are respected.
14125         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14127 2012-08-01  Florian Weimer  <fweimer@redhat.com>
14129         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14130         Declare with warn_unused_result.
14131         (setgid, setregid, setegid, setresgid): Likewise.
14132         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14133         Likewise.
14134         * WUR-REPORT: Remove set*id functions.
14136 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
14138         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14140 2012-07-31  Roland McGrath  <roland@hack.frob.com>
14142         [BZ #10191]
14143         * include/sys/socket.h (__libc_accept, __libc_accept4):
14144         Add attribute_hidden.
14145         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14147         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14148         use of PTR_MANGLE.
14149         * inet/getnetgrent_r.c (setup): Likewise.
14151         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14153 2012-07-31  David S. Miller  <davem@davemloft.net>
14155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14157 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
14159         [BZ #13629]
14160         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14161         value between 1.0 and 2.0 and smaller part has absolute value less
14162         than 1.0.
14163         * math/s_clog10.c (__clog10): Likewise.
14164         * math/s_clog10f.c (__clog10f): Likewise.
14165         * math/s_clog10l.c (__clog10l): Likewise.
14166         * math/s_clogf.c (__clogf): Likewise.
14167         * math/s_clogl.c (__clogl): Likewise.
14168         * math/libm-test.inc (clog_test): Add more tests.
14169         (clog10_test): Likewise.
14170         * sysdeps/i386/fpu/libm-test-ulps: Update.
14171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14173 2012-07-31  Florian Weimer  <fweimer@redhat.com>
14175         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14176         Exit with zero in case no suitable GID is found, and write a
14177         message to standard error.
14179 2012-07-30  Roland McGrath  <roland@hack.frob.com>
14181         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14182         rather than to 1.
14183         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14184         (MAXPATHLEN): Removed.
14185         (NOGROUP, NODEV): New macros.
14186         (setbit, clrbit, isset, isclr): New macros.
14187         (howmany, roundup, powerof2): New macros.
14188         (DEV_BSIZE): New macro.
14190         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14191         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14193         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14194         definition on [!__NO_LONG_DOUBLE_MATH].
14196         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14197         PTR_MANGLE and PTR_DEMANGLE.
14199         * socket/accept4.c (accept4): Rename to __libc_accept4.
14200         Define accept4 as a weak alias.
14202         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14203         on [_DIRENT_HAVE_D_TYPE].
14204         * io/ftw.c (ftw_dir): Likewise.
14206         * io/xmknod.c (__xmknod): Don't check PATH for being null.
14208         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14210         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14211         Use the BSD numbers rather than the arbitrary ones we had.
14212         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14213         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14214         (SIGXCPU, SIGXFSZ): New macros.
14215         (_NSIG): Now 32.
14217         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14218         initializer on [_LIBC_REENTRANT].
14220         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14221         definitions inside [_POSIX_MAPPED_FILES].
14223         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14225         * dirent/opendir.c: Include <fcntl.h>.
14227         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14228         (__libc_getspecific): Likewise.
14229         (__libc_key_create): Likewise.
14231         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14232         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14233         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14234         (tmpfile64): Define as alias.
14235         * sysdeps/wordsize-64/tmpfile.c: File removed.
14236         * sysdeps/wordsize-64/tmpfile64.c: File removed.
14237         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14238         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14240         * stdio-common/vfscanf.c: Include <stdbool.h>.
14241         * nss/makedb.c: Likewise.
14242         * stdio-common/_i18n_number.h: Likewise.
14243         * argp/argp-help.c: Likewise.
14244         * posix/wordexp.c: Likewise.
14245         * sysdeps/posix/spawni.c: Likewise.
14246         * nss/nss_files/files-initgroups.c: Likewise.
14247         * stdio-common/reg-modifier.c: Include <stdlib.h>.
14248         * nss/nss_files/files-initgroups.c: Likewise.
14249         * nss/nss_db/db-netgrp.c: Likewise.
14250         * nss/nss_db/db-initgroups.c: Likewise.
14251         * io/fchmodat.c: Include <sys/stat.h>.
14253         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14254         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14256         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14257         [HAVE_MMAP].
14259         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14260         Add multiple inclusion protection.
14262 2012-07-27  David S. Miller  <davem@davemloft.net>
14264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14266 2012-07-27  Gary Benson  <gbenson@redhat.com>
14268         [BZ #14298]
14269         * elf/rtld.c: Include <stap-probe.h>.
14270         (dl_main): Added static probes "init_start" and "init_complete".
14271         * elf/dl-load.c: Include <stap-probe.h>.
14272         (lose): Take new parameter "nsid".
14273         Added static probe "map_failed".
14274         (_dl_map_object_from_fd): Pass namespace id to lose.
14275         Added static probe "map_start".
14276         (open_verify): Pass namespace id to lose.
14277         * elf/dl-open.c: Include <stap-probe.h>.
14278         (dl_open_worker) Added static probes "map_complete", "reloc_start"
14279         and "reloc_complete".
14280         * elf/dl-close.c: Include <stap-probe.h>.
14281         (_dl_close_worker): Added static probes "unmap_start" and
14282         "unmap_complete".
14283         * elf/rtld-debugger-interface.txt: New file documenting the above.
14285 2012-07-26  Roland McGrath  <roland@hack.frob.com>
14287         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14288         rather than a string variable.
14289         * sunrpc/rpc_main.c (h_output): Likewise.
14290         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14292 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
14294         * inet/check_native.c: New file.
14296 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
14298         [BZ #13629]
14299         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14300         if larger part has absolute value 1.0.
14301         * math/s_clog10.c (__clog10): Likewise.
14302         * math/s_clog10f.c (__clog10f): Likewise.
14303         * math/s_clog10l.c (__clog10l): Likewise.
14304         * math/s_clogf.c (__clogf): Likewise.
14305         * math/s_clogl.c (__clogl): Likewise.
14306         * math/libm-test.inc (clog_test): Add more tests.
14307         (clog10_test): Likewise.
14308         * sysdeps/i386/fpu/libm-test-ulps: Update.
14309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14311         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14312         (pltexit): Likewise.
14313         (La_regs): Likewise.
14314         (La_retval): Likewise.
14315         (int_retval): Likewise.
14316         Update #error for removed macros to refer only to definitions in
14317         tst-audit.h.
14318         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14319         macro.
14320         (pltexit): Likewise.
14321         (La_regs): Likewise.
14322         (La_retval): Likewise.
14323         (int_retval): Likewise.
14324         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14325         macro.
14326         (pltexit): Likewise.
14327         (La_regs): Likewise.
14328         (La_retval): Likewise.
14329         (int_retval): Likewise.
14330         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14331         macro.
14332         (pltexit): Likewise.
14333         (La_regs): Likewise.
14334         (La_retval): Likewise.
14335         (int_retval): Likewise.
14336         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14337         macro.
14338         (pltexit): Likewise.
14339         (La_regs): Likewise.
14340         (La_retval): Likewise.
14341         (int_retval): Likewise.
14342         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14343         macro.
14344         (pltexit): Likewise.
14345         (La_regs): Likewise.
14346         (La_retval): Likewise.
14347         (int_retval): Likewise.
14348         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14349         macro.
14350         (pltexit): Likewise.
14351         (La_regs): Likewise.
14352         (La_retval): Likewise.
14353         (int_retval): Likewise.
14354         * sysdeps/generic/tst-audit.h: Update comment to refer only to
14355         macro definitions in tst-audit.h.
14356         * sysdeps/i386/tst-audit.h: New file.
14357         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14358         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14359         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14360         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14361         * sysdeps/sh/tst-audit.h: Likewise.
14362         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14363         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14364         * sysdeps/x86_64/tst-audit.h: Likewise.
14366 2012-07-26  Andreas Jaeger  <aj@suse.de>
14368         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14369         ptrace.
14371         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14372         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14373         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14374         PTRACE_O_MASK.
14375         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14376         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14377         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14379         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14380         value.
14382         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14383         _sigsys.
14384         (si_call_addr, si_syscall, si_arch): Define new macro.
14385         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14386         _sigsys.
14387         (si_call_addr, si_syscall, si_arch): Define new marcro.
14388         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14389         _sigsys.
14390         (si_call_addr, si_syscall, si_arch): Define new macro.
14391         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14392         _sigsys.
14393         (si_call_addr, si_syscall, si_arch): Define new macro.
14395 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14397         [BZ #13717]
14398         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14399         Change to 2.4.21 where previously 2.4.1.
14400         * sysdeps/unix/sysv/linux/configure: Regenerated.
14401         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14402         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14403         Linux kernel version.
14404         (__ASSUME_STD_AUXV): Remove.
14405         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14406         kernel version.
14407         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14408         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14409         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14410         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14411         (__ASSUME_NETLINK_SUPPORT): Likewise.
14412         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14413         (__no_netlink_support): Remove conditional definition.
14414         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14415         Remove.
14416         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14417         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14418         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14419         (if_nameindex_ioctl): Remove.
14420         (if_nameindex_netlink): Do not handle __no_netlink_support.
14421         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14422         code.
14423         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14424         Remove conditional code.
14425         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14426         code.
14427         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14428         unconditional.
14429         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14430         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14431         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14432         Remove.
14433         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14434         [!__ASSUME_STD_AUXV]: Remove conditional code.
14435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14436         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14437         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14439         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14440         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14441         code.
14442         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14444         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14445         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14446         conditional code.
14447         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14449         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14450         code.
14451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14452         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14453         conditional code.
14454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14455         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14456         code unconditional.
14457         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14458         conditional code.
14459         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14460         unconditional.
14461         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14462         conditional code.
14463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14464         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14465         unconditional.
14466         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14467         conditional code.
14468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14469         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14470         code unconditional.
14471         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14472         conditional code.
14473         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14474         unconditional.
14475         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14476         conditional code.
14477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14478         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14479         code unconditional.
14480         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14481         conditional code.
14482         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14483         unconditional.
14484         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14485         conditional code.
14487 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
14489         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14490         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14491         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14492         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14493         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14494         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14495         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14496         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14497         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14498         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14499         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14500         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14501         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14502         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14503         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14504         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14505         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14506         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14507         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14509         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14510         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14511         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14513 2012-07-25  Florian Weimer  <fweimer@redhat.com>
14515         * Versions.def: Add GLIBC_2.17.
14516         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14517         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14518         Introduce __libc_secure_getenv.
14519         * stdlib/Versions (2.17): Add secure_getenv
14520         (GLIBC_PRIVATE): Add __libc_secure_getenv.
14521         * stdlib/secure-getenv.c: Rename __secure_getenv to
14522         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
14523         symbol __secure_getenv for GLIBC_2.0.
14524         * stdlib/tst-secure-getenv.c: New.
14525         * stdlib/Makefile (tests): Add testcase.
14526         * manual/startup.texi (Environment Access): Document
14527         secure_getenv.
14528         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14529         __libc_secure_getenv.
14530         * inet/ruserpass.c (ruserpass): Likewise.
14531         * malloc/mtrace.c (mtrace): Likewise.
14532         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14533         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14534         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14535         * sysdeps/posix/tempname.c: Likewise.  Evaluate
14536         HAVE_SECURE_GETENV.
14537         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14538         __secure_getenv to __libc_secure_getenv.
14539         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14541         Likewise.
14542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14543         Likewise.
14544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14545         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14546         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14549         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14552 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14554         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14555         (struct La_i86_retval): Likewise.
14556         (struct La_x86_64_regs): Likewise.
14557         (struct La_x86_64_retval): Likewise.
14558         (struct La_x32_regs): Likewise.
14559         (struct La_x32_retval): Likewise.
14560         (struct La_ppc32_regs): Likewise.
14561         (struct La_ppc32_retval): Likewise.
14562         (struct La_ppc64_regs): Likewise.
14563         (struct La_ppc64_retval): Likewise.
14564         (struct La_sh_regs): Likewise.
14565         (struct La_sh_retval): Likewise.
14566         (struct La_s390_32_regs): Likewise.
14567         (struct La_s390_32_retval): Likewise.
14568         (struct La_s390_64_regs): Likewise.
14569         (struct La_s390_64_retval): Likewise.
14570         (struct La_sparc32_regs): Likewise.
14571         (struct La_sparc32_retval): Likewise.
14572         (struct La_sparc64_regs): Likewise.
14573         (struct La_sparc64_retval): Likewise.
14574         (struct audit_ifaces): Remove architecture-specific pltenter and
14575         pltexit members.
14576         * sysdeps/i386/ldsodefs.h: New file.
14577         * sysdeps/powerpc/ldsodefs.h: Likewise.
14578         * sysdeps/s390/ldsodefs.h: Likewise.
14579         * sysdeps/sh/ldsodefs.h: Likewise.
14580         * sysdeps/sparc/ldsodefs.h: Likewise.
14581         * sysdeps/x86_64/ldsodefs.h: Likewise.
14583 2012-07-25  Marek Polacek  <polacek@redhat.com>
14585         [BZ #6808]
14586         * math/libm-test.inc (yn_test): Add another test.
14587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14588         to ERANGE when the result is +-Inf.
14589         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14590         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14591         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14592         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14594 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
14596         * conform/data/time.h-data (NULL): Use macro-constant.  Require
14597         equal to 0.
14598         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
14599         clock_t.
14600         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
14602 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
14604         * configure.in <sysdeps resolving>: Correct printing
14605         Implies_before.
14606         * configure: Regenerate.
14608 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
14610         * math/w_ilogb.c: Include <limits.h>.
14611         * math/w_ilogbl.c: Likewise.
14613 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14615         * manual/lang.texi (__va_copy): Document primarily as ISO C99
14616         va_copy.  Document allowing for unavailable va_copy only as
14617         pre-C99 compatibility.
14618         * manual/string.texi (Copying and Concatenation): Use va_copy
14619         instead of __va_copy in concat example.
14621 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
14623         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14624         (__sendto): Use create_address_port.  Initialize APORT and deallocate
14625         it if not null.
14627         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14628         with O_NOLINK passed to __file_name_lookup.
14630         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14631         with O_NOLINK passed to __file_name_lookup.
14633         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14634         negative N or less than NGIDS.
14636         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14637         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14638         enough.  Use memcpy instead of strncpy.
14640 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14642         * elf/Makefile (check-data): Remove.
14643         (localplt.data): New vpath directive.
14644         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14645         instead of $(check-data).
14646         * scripts/data/localplt-generic.data: Move to ...
14647         * sysdeps/generic/localplt.data: ... here.
14648         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14649         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14650         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14652         ... here.
14653         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14655         ... here.
14656         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14658         ... here.
14659         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14661         ... here.
14662         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14664         ... here.
14665         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14667         ... here.
14669 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14671         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14672         PPC32 and PPC64 files.
14673         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14674         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14676 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14678         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14679         __makecontext_ret to ...
14680         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14681         ... here and call exit if uc_link is NULL.  New file.
14682         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14683         __makecontext_ret.S.
14684         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14685         __makecontext_ret to ...
14686         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14687         ... here and call exit if uc_link is NULL.  New file.
14688         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14689         __makecontext_ret.S.
14691 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14693         * elf/elf.h (R_390_IRELATIVE): New definition.
14694         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14695         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
14696         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14697         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14698         (elf_machine_lazy_rel): Likewise.
14699         * sysdeps/s390/dl-irel.h: New file.
14700         * sysdeps/s390/s390-64/memcpy.S: New asm code.
14701         * sysdeps/s390/s390-64/memset.S: New asm code.
14702         * sysdeps/s390/s390-64/memcmp.S: New asm code.
14703         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14704         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14705         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14706         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14707         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14708         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14709         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14710         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14711         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14712         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14713         * sysdeps/s390/s390-32/memcpy.S: New asm code.
14714         * sysdeps/s390/s390-32/memset.S: New asm code.
14715         * sysdeps/s390/s390-32/memcmp.S: New asm code.
14717 2012-07-17  Marek Polacek  <polacek@redhat.com>
14719         [BZ #14349]
14720         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14721         * sysdeps/s390/s390-64/configure.in: Likewise.
14722         * sysdeps/sparc/configure.in: Likewise.
14723         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14724         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14725         * sysdeps/i386/configure.in: Likewise.
14726         * sysdeps/x86_64/configure.in: Likewise.
14727         * sysdeps/sh/configure.in: Likewise.
14728         * sysdeps/s390/s390-32/configure: Regenerated.
14729         * sysdeps/s390/s390-64/configure: Likewise.
14730         * sysdeps/x86_64/configure: Likewise.
14731         * sysdeps/sh/configure: Likewise.
14732         * sysdeps/powerpc/powerpc64/configure: Likewise.
14733         * sysdeps/powerpc/powerpc32/configure: Likewise.
14734         * sysdeps/sparc/configure: Likwise.
14735         * sysdeps/i386/configure: Likewise.
14737         * elf/dl-open.c: Comment fixes.
14739 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
14741         * Makefile [CXX] (check-data): Remove.
14742         [CXX] (c++-types.data): New vpath directive.
14743         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14744         vpath.  Do not allow for C++ type data being missing.
14745         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14746         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14747         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14748         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14749         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14750         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14751         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14753         ... here.
14754         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14756         ... here.
14757         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14758         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14759         ... here.
14760         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14762         ... here.
14763         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14765         ... here.
14766         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14768         ... here.
14769         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14771         ... here.
14772         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14775         * elf/tls-macros.h (TLS_LE): Move architecture-specific
14776         definitions to architecture-specific files.
14777         (TLS_IE): Likewise.
14778         (TLS_LD): Likewise.
14779         (TLS_GD): Likewise.
14780         * sysdeps/i386/tls-macros.h: New file.
14781         * sysdeps/powerpc/tls-macros.h: Likewise.
14782         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14783         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14784         * sysdeps/sh/tls-macros.h: Likewise.
14785         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14786         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14787         * sysdeps/x86_64/tls-macros.h: Likewise.
14789 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14791         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14792         zero value for regular exit case.
14794         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14795         (__start_context): Preserve zero value for regular exit case.
14797 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14798             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14800         * manual/setjmp.texi (setcontext): Clarify normal process
14801         termination when uc_link is the null pointer.
14802         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14803         exit call.
14805 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
14807         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14808         preprocessor.  Test for each exception mask separately.
14810 2012-07-16  Andreas Jaeger  <aj@suse.de>
14812         * po/ru.po: Update from translation team.
14814 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
14816         * conform/data/string.h-data (NULL): Use macro-constant.  Require
14817         equal to 0.
14818         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14819         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14820         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14821         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14822         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14824 2012-07-13  Andreas Jaeger  <aj@suse.de>
14826         * po/fr.po: Update from translation team.
14828 2012-07-12  Marek Polacek  <polacek@redhat.com>
14830         [BZ #14173]
14831         * math/libm-test.inc (yn_test): Add test for BZ #14173.
14832         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14833         loop condition.
14835 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
14837         [BZ #13717]
14838         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14839         Change to 2.4.1 where previously 2.4.0.
14840         * sysdeps/unix/sysv/linux/configure: Regenerated.
14841         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14842         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14843         version.
14844         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14845         (__ASSUME_AT_CLKTCK): Remove.
14846         (__ASSUME_AT_PAGESIZE): Likewise.
14847         (__ASSUME_AT_XID): Likewise.
14848         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14849         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14850         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14851         unconditionally.
14852         (HAVE_AUX_PAGESIZE): Likewise.
14853         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14854         [__ASSUME_AT_CLKTCK]: Make code unconditional.
14855         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14857 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
14859         [BZ #14307]
14860         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14861         the temporary buffer used to invoke __gethostbyname2_r,
14862         __gethostbyaddr_r and gethostbyname4_r to make room for struct
14863         host_data / struct gaih_addrtuple.
14864         * resolv/nss_dns/dns-host.c (global scope): Move definition of
14865         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14866         header file nss/nsswitch.h.
14867         * nss/nsswitch.h (global scope): Add definition of implementation
14868         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14869         resolv/nss_dns/dns-host.c).
14871 2012-07-11  Andreas Jaeger  <aj@suse.de>
14873         * po/fr.po: Update from translation team.
14875         * po/sv.po: Update from translation team
14876         * po/fr.po: Another update from translation team.
14878 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14880         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14881         for subnormals or multiply small sinh result by itself.
14882         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14885 2012-07-11  David S. Miller  <davem@davemloft.net>
14887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14889 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
14891         [BZ #14347]
14892         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14893         (INTERNAL_MARK): Shift it here.
14895 2012-07-10  Marek Polacek  <polacek@redhat.com>
14897         [BZ #14151]
14898         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
14899         libc_cv_asm_global_directive with .globl.
14900         * configure: Regenerated.
14901         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14902         with .globl.
14903         * sysdeps/i386/configure: Regenerated.
14904         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14905         with .globl.
14906         * sysdeps/x86_64/configure: Regenerated.
14907         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14908         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14909         * elf/tst-unique2mod2.c: Likewise.
14910         * elf/tst-unique2mod1.c: Likewise.
14911         * elf/tst-unique1mod2.c: Likewise.
14912         * elf/tst-unique1mod1.c: Likewise.
14913         * sysdeps/s390/s390-32/sysdep.h: Likewise.
14914         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14915         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14916         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14917         * sysdeps/mach/sysdep.h: Likewise.
14918         * sysdeps/i386/sysdep.h: Likewise.
14919         * sysdeps/i386/i386-mcount.S: Likewise.
14920         * sysdeps/x86_64/_mcount.S: Likewise.
14921         * sysdeps/x86_64/sysdep.h: Likewise.
14922         * sysdeps/sh/_mcount.S: Likewise.
14923         * sysdeps/sh/sysdep.h: Likewise.
14924         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14925         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14926         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14927         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14928         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14929         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14930         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14931         * locale/localeinfo.h: Likewise.
14932         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14933         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14935 2012-07-09  Roland McGrath  <roland@hack.frob.com>
14937         [BZ #14336]
14938         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14939         system".
14940         * manual/message.texi (The Uniforum approach): Likewise.
14941         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14942         (glibc iconv Implementation): Likewise.
14944 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
14946         [BZ #14337]
14947         * math/s_clog.c (__clog): Avoid scaling a value down where that
14948         could result in underflow.
14949         * math/s_clog10.c (__clog10): Likewise.
14950         * math/s_clog10f.c (__clog10f): Likewise.
14951         * math/s_clog10l.c (__clog10l): Likewise.
14952         * math/s_clogf.c (__clogf): Likewise.
14953         * math/s_clogl.c (__clogl): Likewise.
14954         * math/libm-test.inc (clog_test): Add more tests.
14955         (clog10_test): Likewise.
14956         * sysdeps/i386/fpu/libm-test-ulps: Update.
14957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14959 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
14961         [BZ #14283]
14962         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14963         by 7 not 8 to examine high bit of fractional part.
14965         [BZ #14042]
14966         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14967         for call to __mcount_internal.
14968         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14969         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14970         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14972 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
14974         [BZ #14154]
14975         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14976         approximation for values within 0x1p-13f of an odd multiple of
14977         pi/4.
14978         * math/libm-test.inc (tan_test): Do not allow spurious underflow
14979         exception.  Add more tests.
14980         * sysdeps/i386/fpu/libm-test-ulps: Update.
14982         [BZ #6778]
14983         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14984         inputs and return -1 for them.  Do not check for +Inf in case not
14985         reachable for +Inf.
14986         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14987         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14988         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14989         and return -1 for them.  Do not check for +Inf in case not
14990         reachable for +Inf.
14991         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14992         define.
14993         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14994         and return -1 for them.  Do not check for +Inf in case not
14995         reachable for +Inf.
14996         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
14997         spurious underflow.
14998         * sysdeps/i386/fpu/libm-test-ulps: Update.
14999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15001 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
15003         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15005 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
15007         [BZ #14157]
15008         [BZ #14331]
15009         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15010         could result in spurious underflow.  Scale down values above
15011         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15012         * math/s_csqrtf.c (__csqrtf): Likewise.
15013         * math/s_csqrtl.c (__csqrtl): Likewise.
15014         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
15015         spurious underflow.
15016         * sysdeps/i386/fpu/libm-test-ulps: Update.
15017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15019 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15021         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15022         xopen-msg.sed.
15023         * catgets/xopen-msg.awk: New file.
15024         * catgets/xopen-msg.sed: Removed.
15026         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15027         po2text.sed.
15028         * intl/po2test.awk: New file.
15029         * intl/po2test.sed: Removed.
15031 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
15033         [BZ #14328]
15034         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15035         or multiply small sinh result by itself.
15036         * math/s_ctanf.c (__ctanf): Likewise.
15037         * math/s_ctanh.c (__ctanh): Likewise.
15038         * math/s_ctanhf.c (__ctanhf): Likewise.
15039         * math/s_ctanhl.c (__ctanhl): Likewise.
15040         * math/s_ctanl.c (__ctanl): Likewise.
15041         * math/libm-test.inc (ctan_test_tonearest): New function.
15042         (ctan_test_towardzero): Likewise.
15043         (ctan_test_downward): Likewise.
15044         (ctan_test_upward): Likewise.
15045         (ctanh_test_tonearest): Likewise.
15046         (ctanh_test_towardzero): Likewise.
15047         (ctanh_test_downward): Likewise.
15048         (ctanh_test_upward): Likewise.
15049         (main): Call these new functions.
15050         * sysdeps/i386/fpu/libm-test-ulps: Update.
15051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15053 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
15055         * .gitignore: Delete /ports entry.
15057 2012-07-03  Andreas Jaeger  <aj@suse.de>
15059         * po/bg.po: Update from translation team.
15060         * po/cs.po: Likewise.
15061         * po/de.po: Likewise.
15062         * po/hr.po: Likewise.
15063         * po/nl.pl: Likewise.
15064         * po/pl.po: Likewise.
15065         * po/vi.po: Likewise.
15067 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
15069         * Makeconfig [!+link] (+link-before-libc): New variable.
15070         [!+link] (+link-after-libc): Likewise.
15071         [!+link] (+link-tests): Likewise.
15072         [!+link] (+link): Define in terms of $(+link-before-libc) and
15073         $(+link-after-libc).
15074         [!+link-static] (+link-static-before-libc): New variable.
15075         [!+link-static] (+link-static-after-libc): Likewise.
15076         [!+link-static] (+link-static-tests): Likewise.
15077         [!+link-static] (+link-static): Define in terms of
15078         $(+link-static-before-libc) and $(+link-static-after-libc).
15079         [build-shared] (link-libc-before-gnulib): New variable.
15080         [build-shared] (link-libc-tests): Likewise.
15081         [build-shared] (link-libc): Define in terms of
15082         $(link-libc-before-gnulib).
15083         [!build-shared] (link-libc-tests): New variable.
15084         (link-libc-static-tests): New variable.
15085         [!gnulib] (gnulib-arch): New variable.
15086         [!gnulib] (gnulib-tests): Likewise.
15087         [!gnulib] (static-gnulib-arch): Likewise.
15088         [!gnulib] (static-gnulib-tests): Likewise.
15089         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
15090         Define with "=" instead of ":=".
15091         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
15092         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
15093         * Rules (binaries-all-notests): New variable.
15094         (binaries-all-tests): Likewise.
15095         (binaries-static-notests): Likewise.
15096         (binaries-static-tests): Likewise.
15097         (binaries-all): Define using $(binaries-all-notests) and
15098         $(binaries-all-tests).
15099         (binaries-static): Define using $(binaries-static-notests) and
15100         $(binaries-static-tests).
15101         (binaries-shared-tests): New variable.
15102         (binaries-shared-notests): Likewise.
15103         (binaries-shared): Remove variable.
15104         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15105         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15106         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15107         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15108         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15109         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15110         * elf/Makefile (sln-modules): New variable.
15111         (extra-objs): Add $(sln-modules:=.o).
15112         (ldconfig-modules): Add static-stubs.
15113         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15114         * elf/static-stubs.c: New file.
15116         [BZ #14283]
15117         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15118         by 7 not 8 to examine high bit of fractional part.  Use volatile
15119         variables when splitting into final array of floats if
15120         __FLT_EVAL_METHOD__ != 0.
15121         * math/libm-test.inc (cos_test): Add another test.
15122         (sin_test): Likewise.
15123         * sysdeps/i386/fpu/libm-test-ulps: Update.
15125         [BZ #14273]
15126         * math/libm-test.inc (cosh_test): Add more tests.
15128         * version.h (RELEASE): Set to "development".
15129         (VERSION): Set to "2.16.90".
15131 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
15133         * NEWS: Update copyright. Remove last-updated date.
15134         Mention math library bug fixes and timezone data changes.
15135         * README: Mention GNU/Hurd, x32, and HPPA support status.
15137 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
15139         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15141 2012-06-27  Andreas Jaeger  <aj@suse.de>
15143         * manual/contrib.texi (Contributors): Add Samuel Thibault.
15145 2012-06-25  Andreas Jaeger  <aj@suse.de>
15147         * sysdeps/s390/fpu/libm-test-ulps: Update.
15149 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
15150             Thomas Schwinge  <thomas@codesourcery.com>
15152         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15153         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15154         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15155         fanotify_mark.
15157 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
15159         * sysdeps/mach/start.c: Remove file.
15160         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15161         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15162         * sysdeps/sh/init-first.c: Likewise.
15164         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15165         registers for frame unwinding purposes, add CFI directives.
15166         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15167         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15168         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15169         Likewise.
15171         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15172         __fortify_fail returning.
15173         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15175         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15176         sysdeps/sh/____longjmp_chk.S.
15177         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15178         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15179         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15180         (gen-as-const-headers): Append sigaltstack-offsets.sym.
15182         * sysdeps/sh/abort-instr.h: New file.
15183         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15184         process in case exit returns.
15186         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15187         initialize the GOT register before use.
15189         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15190         calculation of ARGC > 4.
15192         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15193         meaningful names to some local labels.
15195 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15196             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15198         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15199         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15200         (__arch_compare_and_exchange_val_16_acq): Likewise.
15201         (__arch_compare_and_exchange_val_32_acq): Likewise.
15202         (atomic_exchange_and_add): Fix gUSA sequence.
15203         (atomic_add): Likewise.
15204         (atomic_add_negative): Likewise.
15205         (atomic_add_zero): Likewise.
15206         (atomic_bit_test_set): Likewise.
15208 2012-06-22  Andreas Schwab  <schwab@redhat.com>
15210         [BZ #13579]
15211         * include/link.h (struct link_map): Add l_free_initfini.
15212         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15213         l_initfini.
15214         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15215         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15216         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15217         set.
15219 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
15221         * configure.in: Use AC_LANG_SOURCE.
15222         * configure: Regenerate.
15224 2012-06-22  Roland McGrath  <roland@hack.frob.com>
15226         * configure.in (libc_cv_localstatedir): New substituted variable.
15227         * configure: Regenerated.
15228         * config.make.in (localstatedir): New variable, substituted from
15229         libc_cv_localstatedir.
15230         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15231         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15232         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15233         * sysdeps/gnu/configure: Regenerated.
15235 2012-06-21  Jeff Law  <law@redhat.com>
15237         [BZ #14277]
15238         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15239         free.  Simplify list management for _LIBC case.
15241 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
15243         [BZ #14273]
15244         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15245         Clear sign bit of 64-bit integer value before comparing against
15246         overflow value.
15248         * sysdeps/mach/configure: Regenerated.
15250 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
15252         [BZ #14278]
15253         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15255 2012-06-21  Jeff Law  <law@redhat.com>
15257         [BZ #13882]
15258         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
15259         uint16_t for elements in the "seen" array to avoid char overflows.
15260         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15261         * elf/dl-open.c (dl_open_worker): Likewise.
15263 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
15265         * scripts/list-sources.sh: Scan PORTS for translations.
15266         * po/libc.pot: Regenerated.
15268 2012-06-21  Andreas Jaeger  <aj@suse.de>
15270         [BZ #12194]
15271         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15272         warning.
15273         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15274         * bits/byteswap-16.h (__bswap_16): Likewise.
15275         * bits/byteswap.h (__bswap_constant_16): Likewise.
15277 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
15279         [BZ #14117]
15280         * sysdeps/i386/fpu_control.h: Removed.
15281         * sysdeps/x86_64/fpu_control.h: Moved to ...
15282         * sysdeps/x86/fpu_control.h: Here.
15284         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15285         (_FPU_SETCW): Likewise.
15287 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
15289         [BZ #14117]
15290         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15291         * sysdeps/x86/fpu/bits/mathinline.h: This.
15292         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15294         [BZ #14050]
15295         [BZ #14117]
15296         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15297         functions if __x86_64__ is defined.
15299 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
15301         * string/endian.h: Add !__ASSEMBLER__ condition for including
15302         conversion interfaces.
15304 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
15306         [BZ #14241]
15307         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15308         of ABS(x) in calculating zero to negative powers other than odd
15309         integers.
15310         * math/libm-test.inc (pow_test): Add more tests.
15312 2012-06-15  Andreas Jaeger  <aj@suse.de>
15314         * manual/contrib.texi (Contributors): Update entry of Liubov
15315         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15316         Machado Filho.
15318 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
15320         * string/string.h: Add __wur to GNU version of strerror_r.
15322 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
15324         [BZ #14229]
15325         * string/Makefile (tests): Add tst-strtok_r.
15326         * string/tst-strtok_r.c: New file.
15327         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15328         RAX_LP/RDX_LP on SAVE_PTR.
15330 2012-06-14  Roland McGrath  <roland@hack.frob.com>
15332         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15334 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
15336         * libm_test.inc (csqrt_test): Allow more spurious underflow
15337         exceptions.
15338         (j0_test): Likewise.
15339         (j1_test): Likewise.
15340         (y0_test): Likewise.
15341         (y1_test): Likewise.
15343 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
15345         * po/Makefile (libc.pot): Use UTF-8 charset.
15347 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
15349         [BZ #14210]
15350         Suppress sign-conversion warning from FD_SET.
15351         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15352         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15353         not unsigned long int.
15354         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15356 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
15358         [BZ #14050]
15359         [BZ #14117]
15360         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15361         __extern_always_inline instead of __extern_inline.
15362         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15363         (__signbit): Likewise.
15364         (__signbitl): Support C++ namespace.
15365         (lrintf): New inline function.
15366         (lrint): Likewise.
15367         (llrintf): Likewise.
15368         (llrint): Likewise.
15369         (fmaxf): Likewise.
15370         (fmax): Likewise.
15371         (fminf): Likewise.
15372         (fmin): Likewise.
15373         (rint): Likewise.
15374         (rintf): Likewise.
15375         (ceil): Likewise.
15376         (ceilf): Likewise.
15377         (floor): Likewise.
15378         (floorf): Likewise.
15379         (nearbyint): Likewise.
15380         (nearbyintf): Likewise.
15382 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
15384         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15385         non-default versions.
15387 2012-06-11  Roland McGrath  <roland@hack.frob.com>
15389         [BZ #14218]
15390         * manual/argp.texi (Argp): Reword argp_parse description slightly.
15392 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
15394         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15395         (FE_UPWARD, FE_DOWNWARD): Don't define.
15396         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15397         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15399         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15400         reading it.
15401         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15402         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15404 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15406         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15407         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15408         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15409         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15411 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15413         [BZ #14117]
15414         * sysdeps/i386/fpu/bits/fenv.h: Removed.
15415         * sysdeps/i386/fpu/Implies: New file.
15416         * sysdeps/x86_64/fpu/Implies: Likewise.
15417         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15418         * sysdeps/x86/fpu/bits/fenv.h: This.
15420         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15421         __SSE_MATH__.
15423 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15425         [BZ #14134]
15426         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15427         character 0xffff that matches the last element of the
15428         conversion table.
15430 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15432         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15433         fmodl commit.
15435 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15437         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15438         values higher than 25.6283.
15440 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15442         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15443         subnormal exponent extraction and add some __builtin_expect.
15444         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15445         Fix for subnormal mantissa calculation.
15447 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
15449         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15450         cpu2 is -1 and errno is not ENOSYS.
15452 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
15454         [BZ #14117]
15455         * sysdeps/i386/i486/bits/string.h: Renamed to ...
15456         * sysdeps/x86/bits/string.h: This.
15457         * sysdeps/x86_64/bits/string.h: Removed.
15459         * sysdeps/i386/i486/bits/string.h: Define inline functions only
15460         if not compiling for x86-64, but compiling for >= i486.
15462         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15463         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15465         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15466         New macro from Linux kernel 3.4.0.
15467         (FP_XSTATE_MAGIC2): Likewise.
15468         (FP_XSTATE_MAGIC2_SIZE): Likewise.
15469         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15470         (struct _fpx_sw_bytes): New struct.
15471         (struct _xsave_hdr): Likewise.
15472         (struct _ymmh_state): Likewise.
15473         (struct _xstate): Likewise.
15475         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15476         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15477         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15478         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15479         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15480         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15482         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15483         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15484         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15485         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15486         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15487         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15489 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15491         [BZ #13743]
15492         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15493         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15494         (sysdep_headers): Include sys/platform/ppc.h.
15495         * sysdeps/powerpc/test-gettimebase.c: Test for
15496         __ppc_get_timebase() to catch future ISA opcode/insn changes.
15497         * manual/Makefile (appendices): Include platform.texi.
15498         * manual/contrib.texi (Contributors): Update @node pointers.
15499         * manual/maint.texi (Maintenance): Likewise.
15500         (Platform): New node.
15501         * manual/platform.texi: New file.  Document the new features.
15503 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15504             Jakub Jelinek  <jakub@redhat.com>
15506         [BZ #14188]
15507         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15508         where __builtin_expect is unavailable.
15510 2012-06-03  David S. Miller  <davem@davemloft.net>
15512         * stdlib/longlong.h: Updated from GCC.
15514 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
15516         [BZ #14042]
15517         * sysdeps/powerpc/powerpc32/mcount.c: New file.
15518         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15519         __mcount_internal.
15520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15521         (GLIBC_2.16): Likewise.
15523 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15525         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15527 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15530         (default-abi): New variable.
15531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15532         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15533         variable.
15534         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15535         Likewise.
15536         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15537         Likewise.
15538         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15539         Likewise.
15541         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15542         definition.  Document in comment.
15544 2012-06-01  David S. Miller  <davem@davemloft.net>
15546         * stdlib/longlong.h: Updated from GCC.
15548 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15550         [BZ #14117]
15551         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15552         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15553         sys/debugreg.h sys/io.h here.
15554         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15555         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15556         sys/io.h.
15557         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15558         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15559         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15560         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15561         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15562         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15564         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15565         Define only if __x86_64__ is defined.
15567 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15569         [BZ #14048]
15570         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15571         Use int64_t for variable i.
15572         * math/libm-test.inc (fmod_test): Add more tests.
15574         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15575         z computation is not scheduled after fetestexcept.
15576         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15577         Use math_force_eval instead of asm to ensure calculation scheduled
15578         before exception test.
15579         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15580         Ensure a1 + u.d computation is not scheduled after fetestexcept.
15582 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
15584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15585         computation is not scheduled after fetestexcept.
15587 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15589         [BZ #14117]
15590         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15591         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15593 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15595         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15596         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15598 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15600         [BZ #14117]
15601         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15602         <bits/wordsize.h>.
15603         (__WCHAR_MIN): Support __WORDSIZE == 64.
15604         (__WCHAR_MAX): Likewise.
15606         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15607         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15609         [BZ #14183]
15610         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15611         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15613         [BZ #14117]
15614         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15615         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15617         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15618         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15620         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15621         Defined to 1 if __x86_64__ isn't defined.
15622         (_STAT_VER_LINUX_OLD): New.
15623         (st_atime): Remove duplicate.
15624         (st_mtime): Likewise.
15625         (st_ctime): Likewise.
15627 2012-05-31  David S. Miller  <davem@davemloft.net>
15629         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15630         entries.
15632 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
15634         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15635         gen-libm-test.pl.
15637         [BZ #14132]
15638         * elf/dl-reloc.c: Include <_itoa.h>.
15639         (_dl_reloc_bad_type): Remove use of INTUSE.
15640         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15641         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15642         * stdio-common/psiginfo.c (psiginfo): Likewise.
15643         * stdio-common/psignal.c (psignal): Likewise.
15644         * string/strsignal.c (strsignal): Likewise.
15645         * include/signal.h (_sys_siglist): Declare hidden proto.
15646         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15647         INTVARDEF with libc_hidden_data_def.
15648         * stdio-common/itoa-udigits.c: Likewise.
15649         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15650         (_itoa_lower_digits_internal): Remove declaration.
15651         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15652         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15653         (_sys_sigabbrev_internal): Remove aliases.
15654         (_sys_siglist): Define hidden alias.
15656 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15658         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15659         bits/sysctl.h.
15661 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15663         [BZ #14117]
15664         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15665         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15667         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15668         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15669         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15670         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15671         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15672         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15674         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15675         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15676         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15678         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15679         with __addr.
15680         (insw): Likewise.
15681         (insl): Likewise.
15682         (outsb): Likewise.
15683         (outsw): Likewise.
15684         (outsl): Likewise.
15686         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15687         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15688         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15690         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15691         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15692         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15693         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15694         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15695         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15697         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15698         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15700         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15701         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15703         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15704         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15705         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15707         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15708         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15709         to ...
15710         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15712         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15713         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15714         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15716         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15717         for x86-64.
15718         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15720 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
15722         * math/math.h (M_El): Use two more decimal places.
15723         (M_LOG2El): Likewise.
15724         (M_LOG10El): Likewise.
15725         (M_LN2l): Likewise.
15726         (M_LN10l): Likewise.
15727         (M_PIl): Likewise.
15728         (M_PI_2l): Likewise.
15729         (M_PI_4l): Likewise.
15730         (M_1_PIl): Likewise.
15731         (M_2_PIl): Likewise.
15732         (M_2_SQRTPIl): Likewise.
15733         (M_SQRT2l): Likewise.
15734         (M_SQRT1_2l): Likewise.
15736 2012-05-31  David S. Miller  <davem@davemloft.net>
15738         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15739         values between float registers.
15740         * sysdeps/sparc/sparc64/memset.S: Likewise.
15741         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15743 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
15745         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15746         -D_FORTIFY_SOURCE=1.
15747         (CPPFLAGS-tst-longjmp_chk.c): Define.
15748         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15749         (CPPFLAGS-tst-longjmp_chk2.c): Define.
15750         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15751         CFLAGS-tst-wchar-h.c.
15753 2012-05-31  Marek Polacek  <polacek@redhat.com>
15755         [BZ #14132]
15756         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15757         __endmntent_internal): Remove declaration.
15758         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15759         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15760         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15762 2012-05-30  David S. Miller  <davem@davemloft.net>
15764         * sysdeps/sparc/sparc32/soft-fp/q_util.c
15765         (___Q_simulate_exceptions): Use real FP ops rather than writing
15766         into the %fsr.
15767         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15768         Likewise.
15770 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15772         [BZ #14117]
15773         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15774         * sysdeps/x86/bits/xtitypes.h: This.
15776         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15777         * sysdeps/x86/bits/wordsize.h: This.
15779         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15780         * sysdeps/x86/bits/huge_vall.h: This.
15782         * sysdeps/i386/bits/select.h: Removed.
15783         * sysdeps/x86_64/bits/select.h: Renamed to ...
15784         * sysdeps/x86/bits/select.h: This.
15786         * sysdeps/i386/bits/setjmp.h: Removed.
15787         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15788         * sysdeps/x86/bits/setjmp.h: This.
15790         * sysdeps/i386/bits/mathdef.h: Removed.
15791         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15792         * sysdeps/x86/bits/mathdef.h: This.
15794 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
15796         [BZ #14132]
15797         * include/sys/socket.h (__connect_internal)
15798         (__libc_sa_len_internal): Remove declaration.
15799         (__connect, __libc_sa_len): Declare hidden_proto.
15800         (SA_LEN): Remove use of INTUSE.
15801         * socket/connect.c: Add libc_hidden_def.
15802         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15803         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15804         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15805         alias.
15806         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15807         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15808         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15809         of adding _internal alias.
15811 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15813         [BZ #14117]
15814         * sysdeps/i386/bits/link.h: Removed.
15815         * sysdeps/i386/bits/linkmap.h: Likewise.
15816         * sysdeps/x86_64/bits/link.h: Renamed to ...
15817         * sysdeps/x86/bits/link.h: This.
15818         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15819         * sysdeps/x86/bits/linkmap.h: This.
15821         * sysdeps/i386/bits/endian.h: Removed.
15822         * sysdeps/x86_64/bits/endian.h: Renamed to ...
15823         * sysdeps/x86/bits/endian.h: This.
15825         * sysdeps/i386/bits/byteswap.h: Removed.
15826         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15827         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15828         * sysdeps/x86/bits/byteswap.h: This.
15829         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15830         * sysdeps/x86/bits/byteswap-16.h: This.
15831         * sysdeps/i386/Implies: Add x86.
15832         * sysdeps/x86_64/Implies: Likewise.
15834 2012-05-30  David S. Miller  <davem@davemloft.net>
15836         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15837         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15838         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15839         (FP_TRAPPING_EXCEPTIONS): Define.
15840         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15841         (FP_TRAPPING_EXCEPTIONS): Define.
15842         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15843         subnormals only when inexact has been signalled or underflow
15844         exceptions are enabled.
15845         (_FP_PACK_CANONICAL): Likewise.
15847 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15849         [BZ #14183]
15850         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15851         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15853 2012-05-30  Richard Henderson  <rth@twiddle.net>
15855         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15856         with #ifndef NOT_IN_libc.
15858         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
15859         marked to avoid plt entry.
15861 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15863         [BZ #14112]
15864         * Makeconfig (default-abi): New macro.
15865         (abi-includes): Likewise.
15866         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
15867         $(abi-$(default-abi)-lib-soname) for soname if defined.
15868         ($(common-objpfx)gnu/lib-names.stmp): Generate from
15869         abi-variants.
15870         * Makefile (installed-stubs): Likewise.
15871         * include/stubs-biarch.h: Removed.
15872         * scripts/lib-names.awk: Only handle one library at a time.
15873         * scripts/soversions.awk: Remove WORDSIZE support.
15874         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15875         entries.
15876         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15877         Removed.
15878         (syscall-list-default-condition): Likewise.
15879         (syscall-list-default-condition): Likewise.
15880         (syscall-list-includes): Likewise.
15881         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15882         syscall-list-* with abi-*.  Handle undefined abi-variants.
15883         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15884         * sysdeps/unix/sysv/linux/i386/Implies: New file.
15885         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15886         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15887         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15888         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15889         Removed.
15890         (syscall-list-32-options): Likewise.
15891         (syscall-list-32-condition): Likewise.
15892         (syscall-list-64-options): Likewise.
15893         (syscall-list-64-condition): Likewise.
15894         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15895         macro.
15896         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15897         Renamed to ...
15898         (abi-*): This.
15899         (abi-64-ld-soname): New macro.
15900         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15901         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15902         Renamed to ...
15903         (abi-*): This.
15904         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15905         * sysdeps/x86_64/x32/shlib-versions: Likewise.
15907 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
15909         * sysdeps/unix/sysv/linux/kernel-features.h
15910         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15911         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15912         include <kernel-features.h>.
15913         [!__NR_ftruncate64]: Remove conditional code.
15914         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15915         [__NR_ftruncate64]: Make code unconditional.
15916         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15917         * sysdeps/unix/sysv/linux/truncate64.c: Do not
15918         include <kernel-features.h>.
15919         [!__NR_ftruncate64]: Remove conditional code.
15920         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15921         [__NR_ftruncate64]: Make code unconditional.
15922         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15924         include <kernel-features.h>.
15925         [!__NR_ftruncate64]: Remove conditional code.
15926         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15927         [__NR_ftruncate64]: Make code unconditional.
15928         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15930         include <kernel-features.h>.
15931         [!__NR_ftruncate64]: Remove conditional code.
15932         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15933         [__NR_ftruncate64]: Make code unconditional.
15934         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15936         * configure.in (libc_cv_fpie): Weaken to a compile test using
15937         LIBC_TRY_CC_OPTION.
15938         * configure: Regenerated.
15940 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15943         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15946         Refreshed.
15947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15953         Refreshed.
15955 2012-05-27  David S. Miller  <davem@davemloft.net>
15957         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15958         (___Q_zero): New.
15959         (__Q_simulate_exceptions): Return void.  Change to simulate
15960         exceptions by writing into the %fsr.
15961         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15962         (__Qp_handle_exceptions): Likewise.
15963         (numbers): Delete.
15964         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15965         __Qp_handle_exceptions.
15966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15967         __Qp_handle_exceptions.
15968         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15969         as unused and give dummy FP_RND_NEAREST initializer.
15970         (FP_INHIBIT_RESULTS): Define.
15971         (___Q_simulate_exceptions): Update declaration.
15972         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15973         formatting.
15974         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15975         as unused and give dummy FP_RND_NEAREST initializer.
15976         (__Qp_handle_exceptions): Update declaration.
15977         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15978         formatting.
15980 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
15982         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15983         the temporary FPU control word.
15984         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15985         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15986         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15987         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15988         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15989         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15990         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15991         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15992         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15993         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15994         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15996 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15998         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15999         fields.
16001 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
16003         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16004         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16005         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16006         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16007         Likewise.
16008         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16009         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16010         Likewise.
16012 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
16014         * po/h.po: Update from translation team.
16016 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
16018         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16020         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16021         handling of denormals.
16022         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16023         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16024         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16025         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16026         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16027         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16028         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16029         Likewise.
16031 2012-05-26  Marek Polacek  <polacek@redhat.com>
16033         [BZ #14152]
16034         * math/libm-test.inc (fma_test): Don't always expect underflow
16035         exception.
16037 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16039         [BZ #12416]
16040         * elf/tst-execstack.c: Include stackinfo.h.
16041         (do_test): Adjust test case to ensure that pthread_getattr_np
16042         behaviour remains the same after marking stack executable.
16044 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16046         * sysdeps/unix/sysv/linux/kernel-features.h
16047         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16048         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16049         kernel-features.h.
16050         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16051         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16052         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16053         kernel-features.h.
16054         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16055         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16057 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
16059         * configure.in: Define the default includes to being none.
16060         * configure: Regenerated.
16062 2012-05-25  Roland McGrath  <roland@hack.frob.com>
16064         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16065         * sysdeps/x86_64/setjmp.S: Likewise.
16066         * sysdeps/i386/bsd-setjmp.S: Likewise.
16067         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16068         * sysdeps/i386/setjmp.S: Likewise.
16069         * sysdeps/i386/__longjmp.S: Likewise.
16070         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16071         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16073         * include/stap-probe.h: New file.
16074         * configure.in: Handle --enable-systemtap.
16075         * configure: Regenerated.
16076         * config.h.in (USE_STAP_PROBE): New #undef.
16077         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16078         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16079         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16081 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16083         [BZ #13717]
16084         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16085         to 2.4.0 where earlier.
16086         * sysdeps/unix/sysv/linux/configure: Regenerated.
16087         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16088         <kernel-features.h>.
16089         [__ASSUME_32BITUIDS]: Make code unconditional.
16090         [!__ASSUME_32BITUIDS]: Remove conditional code.
16091         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16092         <kernel-features.h>.
16093         [__ASSUME_32BITUIDS]: Make code unconditional.
16094         [!__ASSUME_32BITUIDS]: Remove conditional code.
16095         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16096         [__ASSUME_32BITUIDS]: Make code unconditional.
16097         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16098         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16099         <kernel-features.h>.
16100         [__ASSUME_32BITUIDS]: Make code unconditional.
16101         [!__ASSUME_32BITUIDS]: Remove conditional code.
16102         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16103         <kernel-features.h>.
16104         [__ASSUME_32BITUIDS]: Make code unconditional.
16105         [!__ASSUME_32BITUIDS]: Remove conditional code.
16106         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16107         <kernel-features.h>.
16108         [__ASSUME_32BITUIDS]: Make code unconditional.
16109         [!__ASSUME_32BITUIDS]: Remove conditional code.
16110         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16111         <kernel-features.h>.
16112         [__ASSUME_32BITUIDS]: Make code unconditional.
16113         [!__ASSUME_32BITUIDS]: Remove conditional code.
16114         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16115         <kernel-features.h>.
16116         [__ASSUME_32BITUIDS]: Make code unconditional.
16117         [!__ASSUME_32BITUIDS]: Remove conditional code.
16118         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16119         <kernel-features.h>.
16120         [__ASSUME_32BITUIDS]: Make code unconditional.
16121         [!__ASSUME_32BITUIDS]: Remove conditional code.
16122         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16123         <kernel-features.h>.
16124         [__ASSUME_32BITUIDS]: Make code unconditional.
16125         [!__ASSUME_32BITUIDS]: Remove conditional code.
16126         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16127         <kernel-features.h>.
16128         [__ASSUME_32BITUIDS]: Make code unconditional.
16129         [!__ASSUME_32BITUIDS]: Remove conditional code.
16130         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16131         <kernel-features.h>.
16132         [__ASSUME_32BITUIDS]: Make code unconditional.
16133         [!__ASSUME_32BITUIDS]: Remove conditional code.
16134         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16135         <kernel-features.h>.
16136         [__ASSUME_32BITUIDS]: Make code unconditional.
16137         [!__ASSUME_32BITUIDS]: Remove conditional code.
16138         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16139         <kernel-features.h>.
16140         [__NR_setresgid] (__setresgid): Do not declare.
16141         [__ASSUME_32BITUIDS]: Make code unconditional.
16142         [!__ASSUME_32BITUIDS]: Remove conditional code.
16143         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16144         <kernel-features.h>.
16145         [__NR_setresuid] (__setresuid): Do not declare.
16146         [__ASSUME_32BITUIDS]: Make code unconditional.
16147         [!__ASSUME_32BITUIDS]: Remove conditional code.
16148         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16149         <kernel-features.h>.
16150         [__ASSUME_32BITUIDS]: Make code unconditional.
16151         [!__ASSUME_32BITUIDS]: Remove conditional code.
16152         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16153         <kernel-features.h>.
16154         [__ASSUME_32BITUIDS]: Make code unconditional.
16155         [!__ASSUME_32BITUIDS]: Remove conditional code.
16156         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16157         <kernel-features.h>.
16158         [__ASSUME_32BITUIDS]: Make code unconditional.
16159         [!__ASSUME_32BITUIDS]: Remove conditional code.
16160         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16161         <kernel-features.h>.
16162         [__ASSUME_32BITUIDS]: Make code unconditional.
16163         [!__ASSUME_32BITUIDS]: Remove conditional code.
16164         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16165         <kernel-features.h>.
16166         [__ASSUME_32BITUIDS]: Make code unconditional.
16167         [!__ASSUME_32BITUIDS]: Remove conditional code.
16168         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16169         <kernel-features.h>.
16170         [__ASSUME_32BITUIDS]: Make code unconditional.
16171         [!__ASSUME_32BITUIDS]: Remove conditional code.
16172         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16173         <kernel-features.h>.
16174         [__ASSUME_32BITUIDS]: Make code unconditional.
16175         [!__ASSUME_32BITUIDS]: Remove conditional code.
16176         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16177         <kernel-features.h>.
16178         [__ASSUME_32BITUIDS]: Make code unconditional.
16179         [!__ASSUME_32BITUIDS]: Remove conditional code.
16180         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16181         <kernel-features.h>.
16182         [__ASSUME_32BITUIDS]: Make code unconditional.
16183         [!__ASSUME_32BITUIDS]: Remove conditional code.
16184         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16185         <kernel-features.h>.
16186         [__ASSUME_32BITUIDS]: Make code unconditional.
16187         [!__ASSUME_32BITUIDS]: Remove conditional code.
16188         * sysdeps/unix/sysv/linux/kernel-features.h
16189         (__ASSUME_SETRESUID_SYSCALL): Remove.
16190         (__ASSUME_SETRESGID_SYSCALL): Likewise.
16191         (__ASSUME_32BITUIDS): Likewise.
16192         (__ASSUME_LDT_WORKS): Likewise.
16193         (__ASSUME_O_DIRECTORY): Likewise.
16194         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16195         architecture but not kernel version.
16196         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16197         (__ASSUME_MMAP2_SYSCALL): Likewise.
16198         (__ASSUME_STAT64_SYSCALL): Likewise.
16199         (__ASSUME_IPC64): Likewise.
16200         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16201         <kernel-features.h>.
16202         [__ASSUME_32BITUIDS]: Make code unconditional.
16203         [!__ASSUME_32BITUIDS]: Remove conditional code.
16204         * sysdeps/unix/sysv/linux/opendir.c: Do not include
16205         <kernel-features.h>.
16206         [__ASSUME_O_DIRECTORY]: Make code unconditional.
16207         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16208         132096]: Remove conditional code.
16209         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16210         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16211         <kernel-features.h>.
16212         [__ASSUME_32BITUIDS]: Make code unconditional.
16213         [!__ASSUME_32BITUIDS]: Remove conditional code.
16214         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16215         <kernel-features.h>.
16216         [__ASSUME_32BITUIDS]: Make code unconditional.
16217         [!__ASSUME_32BITUIDS]: Remove conditional code.
16218         * sysdeps/unix/sysv/linux/setegid.c: Do not include
16219         <kernel-features.h>.
16220         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16221         unconditional.
16222         (__setresgid): Do not declare.
16223         [__ASSUME_32BITUIDS]: Make code unconditional.
16224         [!__ASSUME_32BITUIDS]: Remove conditional code.
16225         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16226         <kernel-features.h>.
16227         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16228         unconditional.
16229         (__setresuid): Do not declare.
16230         [__ASSUME_32BITUIDS]: Make code unconditional.
16231         [!__ASSUME_32BITUIDS]: Remove conditional code.
16232         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16233         <kernel-features.h>.
16234         [__ASSUME_32BITUIDS]: Make code unconditional.
16235         [!__ASSUME_32BITUIDS]: Remove conditional code.
16236         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16237         <kernel-features.h>.
16238         [__ASSUME_32BITUIDS]: Make code unconditional.
16239         [!__ASSUME_32BITUIDS]: Remove conditional code.
16241 2012-05-25  Richard Henderson  <rth@twiddle.net>
16243         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16244         dl_hwcap to ifunc resolver.
16245         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16246         elf_ifunc_invoke.
16247         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16248         dl_hwcap to ifunc resolver.
16249         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16251 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16253         [BZ #14153]
16254         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16255         for |x| <= 2**-26, not 2**-57.
16256         * math/libm-test.inc (acos_test): Do not allow spurious underflow
16257         exception.
16259 2012-05-24  Jeff Law  <law@redhat.com>
16261         * stdio-common/Makefile (tests): Add bug25.
16262         * stdio-common/bug25.c: New test.
16264 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16266         [BZ #13576]
16267         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16268         multiple of MALLOC_ALIGNMENT in size.
16269         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16271 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16273         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16274         Require >= 256.
16275         (FILENAME_MAX): Use macro-int-constant.
16276         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
16277         (_IOFBF): Use macro-int-constant.
16278         (_IOLBF): Likewise.
16279         (_IONBF): Likewise.
16280         (SEEK_CUR): Likewise.
16281         (SEEK_END): Likewise.
16282         (SEEK_SET): Likewise.
16283         (TMP_MAX): Likewise.
16284         (EOF): Use macro-int-constant.  Require < 0.
16285         (NULL): Use macro-constant.  Require == 0.
16286         (stdin): Require type to be FILE *.
16287         (stdout): Likewise.
16288         (stderr): Likewise.
16289         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16290         macro-int-constant.
16291         (EXIT_SUCCESS): Likewise.
16292         (NULL): Use macro-constant.  Require == 0.
16293         (RAND_MAX): Use macro-int-constant.
16294         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16295         [C99-based standards] (strtof): Require function.
16296         [C99-based standards] (strtold): Likewise.
16297         [C99-based standards] (strtoll): Likewise.
16298         [C99-based standards] (strtoull): Likewise.
16299         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16300         [ISO || ISO99 || ISO11] (limits.h): Likewise.
16301         [ISO || ISO99 || ISO11] (math.h): Likewise.
16302         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16303         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16304         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16306 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
16308         [BZ #14132]
16309         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16310         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16311         * intl/dgettext.c (DCGETTEXT): Likewise.
16312         * intl/gettext.c (DCGETTEXT): Likewise.
16313         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16314         * posix/regex_internal.h (gettext): Likewise.
16315         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16316         Remove declaration.
16317         * include/argz.h (__argz_count_internal)
16318         (__argz_stringify_internal): Remove declaration.
16319         (__argz_count, __argz_stringify): Declare hidden proto.
16320         * intl/dcgettext.c: Remove use of INTDEF.
16321         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16322         * string/argz-stringify.c: Likewise.
16323         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16324         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16325         Declare hidden proto.
16326         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16327         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16328         Declare hidden proto.
16329         * include/stdio.h (__asprintf_internal): Don't declare.
16330         (__asprintf): Don't define as macro.  Declare hidden proto.
16331         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16332         (__fsetlocking): Declare hidden proto.
16333         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16334         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16335         hidden proto.
16336         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16337         (_IO_setlinebuf): Remove use of INTUSE.
16338         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16339         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16340         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16341         Remove declaration.
16342         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16343         (_IO_do_flush): Remove use of INTUSE.
16344         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16345         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16346         (_IO_adjust_column, _IO_least_wmarker)
16347         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16348         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16349         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16350         (_IO_default_doallocate, _IO_wdefault_doallocate)
16351         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16352         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16353         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16354         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16355         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16356         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16357         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16358         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16359         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16360         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16361         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16362         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16363         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16364         proto.
16365         (_IO_flush_all_internal, _IO_adjust_column_internal)
16366         (_IO_default_uflow_internal, _IO_default_finish_internal)
16367         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16368         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16369         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16370         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16371         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16372         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16373         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16374         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16375         (_IO_file_close_internal, _IO_file_close_it_internal)
16376         (_IO_file_underflow_internal, _IO_file_overflow_internal)
16377         (_IO_file_init_internal, _IO_file_attach_internal)
16378         (_IO_file_fopen_internal, _IO_file_read_internal)
16379         (_IO_file_sync_internal, _IO_file_seek_internal)
16380         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16381         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16382         (_IO_str_underflow_internal, _IO_str_overflow_internal)
16383         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16384         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16385         (_IO_list_all_internal, _IO_link_in_internal)
16386         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16387         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16388         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16389         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16390         (_IO_do_write_internal, _IO_padn_internal)
16391         (_IO_getline_info_internal, _IO_getline_internal)
16392         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16393         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16394         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16395         (_IO_vfscanf_internal, _IO_vfprintf_internal)
16396         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16397         (_IO_init_internal, _IO_un_link_internal): Don't declare.
16398         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16399         with libc_hidden_ver, remove use of INTUSE.
16400         * libio/genops.c: Likewise.
16401         * libio/freopen.c: Likewise.
16402         * libio/freopen64.c: Likewise.
16403         * libio/iofclose.c: Likewise.
16404         * libio/iofdopen.c: Likewise.
16405         * libio/iofflush.c: Likewise.
16406         * libio/iofflush_u.c: Likewise.
16407         * libio/iofgets.c: Likewise.
16408         * libio/iofgets_u.c: Likewise.
16409         * libio/iofopen.c: Likewise.
16410         * libio/iofopncook.c: Likewise.
16411         * libio/iofread.c: Likewise.
16412         * libio/iofread_u.c: Likewise.
16413         * libio/ioftell.c: Likewise.
16414         * libio/iofwrite.c: Likewise.
16415         * libio/iogetline.c: Likewise.
16416         * libio/iogets.c: Likewise.
16417         * libio/iogetwline.c: Likewise.
16418         * libio/iopadn.c: Likewise.
16419         * libio/iopopen.c: Likewise.
16420         * libio/ioseekoff.c: Likewise.
16421         * libio/ioseekpos.c: Likewise.
16422         * libio/iosetbuffer.c: Likewise.
16423         * libio/iosetvbuf.c: Likewise.
16424         * libio/ioungetc.c: Likewise.
16425         * libio/ioungetwc.c: Likewise.
16426         * libio/iovdprintf.c: Likewise.
16427         * libio/iovsprintf.c: Likewise.
16428         * libio/iovsscanf.c: Likewise.
16429         * libio/memstream.c: Likewise.
16430         * libio/obprintf.c: Likewise.
16431         * libio/oldfileops.c: Likewise.
16432         * libio/oldiofclose.c: Likewise.
16433         * libio/oldiofdopen.c: Likewise.
16434         * libio/oldiofopen.c: Likewise.
16435         * libio/oldiopopen.c: Likewise.
16436         * libio/oldstdfiles.c: Likewise.
16437         * libio/putc.c: Likewise.
16438         * libio/setbuf.c: Likewise.
16439         * libio/setlinebuf.c: Likewise.
16440         * libio/stdfiles.c: Likewise.
16441         * libio/strops.c: Likewise.
16442         * libio/vasprintf.c: Likewise.
16443         * libio/vscanf.c: Likewise.
16444         * libio/vsnprintf.c: Likewise.
16445         * libio/vswprintf.c: Likewise.
16446         * libio/wfiledoalloc.c: Likewise.
16447         * libio/wfileops.c: Likewise.
16448         * libio/wgenops.c: Likewise.
16449         * libio/wmemstream.c: Likewise.
16450         * libio/wstrops.c: Likewise.
16451         * libio/__fpurge.c: Likewise.
16452         * libio/__fsetlocking.c: Likewise.
16453         * assert/assert.c: Likewise.
16454         * debug/fgets_chk.c: Likewise.
16455         * debug/fgets_u_chk.c: Likewise.
16456         * debug/fread_chk.c: Likewise.
16457         * debug/fread_u_chk.c: Likewise.
16458         * debug/gets_chk.c: Likewise.
16459         * debug/obprintf_chk.c: Likewise.
16460         * debug/vasprintf_chk.c: Likewise.
16461         * debug/vdprintf_chk.c: Likewise.
16462         * debug/vsnprintf_chk.c: Likewise.
16463         * debug/vsprintf_chk.c: Likewise.
16464         * malloc/mtrace.c: Likewise.
16465         * misc/error.c: Likewise.
16466         * misc/syslog.c: Likewise.
16467         * stdio-common/asprintf.c: Likewise.
16468         * stdio-common/fxprintf.c: Likewise.
16469         * stdio-common/getw.c: Likewise.
16470         * stdio-common/isoc99_fscanf.c: Likewise.
16471         * stdio-common/isoc99_scanf.c: Likewise.
16472         * stdio-common/isoc99_vfscanf.c: Likewise.
16473         * stdio-common/isoc99_vscanf.c: Likewise.
16474         * stdio-common/isoc99_vsscanf.c: Likewise.
16475         * stdio-common/printf-prs.c: Likewise.
16476         * stdio-common/printf_fp.c: Likewise.
16477         * stdio-common/printf_fphex.c: Likewise.
16478         * stdio-common/printf_size.c: Likewise.
16479         * stdio-common/putw.c: Likewise.
16480         * stdio-common/scanf.c: Likewise.
16481         * stdio-common/sprintf.c: Likewise.
16482         * stdio-common/tmpfile.c: Likewise.
16483         * stdio-common/vfprintf.c: Likewise.
16484         * stdio-common/vfscanf.c: Likewise.
16485         * stdlib/strfmon_l.c: Likewise.
16486         * sunrpc/openchild.c: Likewise.
16487         * sunrpc/xdr_stdio.c: Likewise.
16488         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16489         * sysdeps/mach/hurd/tmpfile.c: Likewise.
16491 2012-05-24  Roland McGrath  <roland@hack.frob.com>
16493         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16495         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16496         in the third column, to generate for the shared library an IFUNC
16497         that uses _dl_vdso_vsym.
16498         * Makerules (COMPILE.c, compile-stdin.c): New variables.
16499         * Makeconfig (object-suffixes-noshared): New variable.
16501         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16502         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16503         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16504         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16506         [BZ #14132]
16507         * include/sys/time.h (__gettimeofday): Remove macro.
16508         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16509         * time/gettimeofday.c (__gettimeofday): Remove #undef.
16510         Remove INTDEF.
16511         (__gettimeofday): Add libc_hidden_def.
16512         (gettimeofday): Add libc_hidden_weak.
16513         * sysdeps/mach/gettimeofday.c: Likewise.
16514         * sysdeps/posix/gettimeofday.c: Likewise.
16515         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16516         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16517         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16518         (__gettimeofday_internal): Remove strong_alias.
16519         (__gettimeofday): Add libc_hidden_def.
16520         (gettimeofday): Add libc_hidden_weak.
16521         * sysdeps/unix/syscalls.list (gettimeofday):
16522         Remove __gettimeofday_internal alias.
16524 2012-05-24  Daniel Jacobowitz  <drow@false.org>
16525             H.J. Lu  <hongjiu.lu@intel.com>
16527         [BZ #12495]
16528         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16529         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16530         (largebin_index_32_big): New.
16531         (largebin_index): Use it for 16-byte alignment.
16532         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
16533         correction with front_misalign.
16535 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16539         Likewise.
16540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16541         Likewise.
16542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16543         Likewise.
16544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16545         Likewise.
16546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16547         Likewise.
16548         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16549         Likewise.
16550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16551         Likewise.
16552         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16553         Likewise.
16554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16555         Likewise.
16556         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16557         Likewise.
16558         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16559         Likewise.
16560         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16561         Likewise.
16563         * scripts/data/c++-types-x32-linux-gnu.data: New file.
16564         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16566 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16568         [BZ #10846]
16569         [BZ #14036]
16570         * math/libm-test.inc (exp_test): Add test from bug 14036.
16571         (pow_test): Add test from bug 10846.
16573         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16574         and other flags.
16575         (special_function): Do not include flags in test name.
16576         (parse_args): Likewise.
16577         * sysdeps/i386/fpu/libm-test-ulps: Update.
16578         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16579         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16580         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16583         * math/gen-libm-test.pl (%beautify): Add entries for underflow
16584         exceptions.
16585         * math/libm-test.inc ("Philosophy"): Update comment about
16586         exception testing.
16587         (UNDERFLOW_EXCEPTION): New macro.
16588         (UNDERFLOW_EXCEPTION_OK): Likewise.
16589         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16590         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16591         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16592         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16593         (INVALID_EXCEPTION_OK): Update value.
16594         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16595         (OVERFLOW_EXCEPTION_OK): Likewise.
16596         (IGNORE_ZERO_INF_SIGN): Likewise.
16597         (test_exceptions): Handle underflow exceptions.
16598         (acos_test): Update for underflow exception expectations.
16599         (cexp_test): Likewise.
16600         (clog_test): Likewise.
16601         (clog10_test): Likewise.
16602         (csqrt_test): Likewise.
16603         (ctan_test): Likewise.
16604         (ctanh_test): Likewise.
16605         (exp_test): Likewise.
16606         (exp10_test): Likewise.
16607         (exp2_test): Likewise.
16608         (expm1_test): Likewise.
16609         (fma_test): Likewise.
16610         (j0_test): Likewise.
16611         (jn_test): Likewise.
16612         (nexttoward_test): Likewise.
16613         (pow_test): Likewise.
16614         (scalbn_test): Likewise.
16615         (scalbln_test): Likewise.
16616         (tan_test): Likewise.
16617         (y1_test): Likewise.
16618         * sysdeps/i386/fpu/libm-test-ulps: Update.
16619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16621 2012-05-23  David S. Miller  <davem@davemloft.net>
16623         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16624         (__libc_sigaction): Remove unused local variables.
16626 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16628         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16630 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
16632         mktime: avoid signed integer overflow
16633         * time/mktime.c (__mktime_internal): Do not mishandle the case
16634         where diff == INT_MIN.
16636         mktime: simplify computation of average
16637         * time/mktime.c (ranged_convert): Use new time_t_avg function
16638         instead of rolling our own (probably-slower) code.
16640         mktime: do not assume signed right shift propagates sign bit
16641         * time/mktime.c (isdst_differ): New static function.
16642         (__mktime_internal): No need to normalize tm_isdst now.
16643         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16644         tm_isdst values.
16646         mktime: merge another wrapv change from gnulib
16647         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16648         from some compilers.
16650         mktime: remove incorrect attempt at unusual arithmetics
16651         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16652         The code didn't really work on such machines anyway.
16653         (TYPE_MINIMUM): Assume two's complement.
16654         (twos_complement_arithmetic): Verify that long_int and time_t
16655         are two's complement (or unsigned, in the latter case).
16657         mktime: check signed shifts on long_int and time_t, too
16658         * time/mktime.c (SHR): Check that shifts work as desired
16659         on the types long_int and time_t too, as SHR is used on
16660         such types.
16662         mktime: do not assume 'long' is wide enough
16663         * time/mktime.c (verify): Move decl up.
16664         (long_int): New type.
16665         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16666         to remove assumption in the code that 'long' is wide enough to
16667         store year values.  This assumption is not true on x32 and on
16668         some non-glibc platforms.
16670         mktime: merge wrapv change from gnulib
16671         * time/mktime.c (WRAPV): New macro.
16672         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16673         (guess_time_tm, __mktime_internal): Do not assume that signed
16674         integer overflow wraps around; modern compilers generate code
16675         where this assumption is no longer valid.
16677 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16679         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16680         Replace "jmp L(pseudo_end)" with "ret".
16681         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16682         Likewise.
16684 2012-05-23  Andreas Jaeger  <aj@suse.de>
16686         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16687         * sysdeps/unix/sysv/linux/poll.c: Remove file.
16689 2012-05-23  Andreas Jaeger  <aj@suse.de>
16690             Maximilian Attems  <max@stro.at>
16692         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16693         New macros.
16695 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16697         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16698         code so that pseudo_end is just ret and the stack pointer is
16699         correct also for static library in error case.
16701 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
16703         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16704         move to syscalls.list.
16705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16710         * manual/install.texi (Running make install): Do not mention Linux
16711         kernel version for which pt_chown is not needed.
16712         (Linux): Do not mention problems with nscd with 2.0 kernels.
16713         * INSTALL: Regenerated.
16715 2012-05-23  Andreas Jaeger  <aj@suse.de>
16717         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16718         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16719         macro.
16720         * sysdeps/unix/sysv/linux/s390/bits/mman.h
16721         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16722         * sysdeps/unix/sysv/linux/sh/bits/mman.h
16723         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16724         * sysdeps/unix/sysv/linux/i386/bits/mman.h
16725         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16726         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16727         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16728         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16729         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16730         * sysdeps/unix/sysv/linux/bits/in.h
16731         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16733 2012-05-22  Roland McGrath  <roland@hack.frob.com>
16735         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16736         (PREPARE_VERSION): Just use assert instead, it will be elided
16737         under [NDEBUG] anyway.
16739 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16741         * sysdeps/unix/sysv/linux/Makefile: Include
16742         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16743         (sysdep_routines): Remove sysctl.
16744         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16745         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16746         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16747         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16748         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16750 2012-05-22  Andreas Jaeger  <aj@suse.de>
16752         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16753         that pseudo_end is just ret and the stack pointer is correct also
16754         for static library in error case.
16756 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16758         [BZ #14122]
16759         * nss/nsswitch.c (defconfig_entries): New variable.
16760         (__nss_database_lookup): Don't leak defconfig entries.
16761         (nss_parse_service_list): Don't leak on error paths.
16762         (free_database_entries): New function.
16763         (free_defconfig): New function.
16764         (free_mem): Move common code to free_database_entries.
16766 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16768         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16769         Add arch_prctl.
16770         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16772         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16773         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16775         New macro.
16776         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16777         (INTERNAL_SYSCALL_TYPES): Likewise.
16778         (LOAD_ARGS_TYPES_[1-6]): Likewise.
16779         (LOAD_REGS_TYPES_[1-6]): Likewise.
16780         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16781         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16783 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16785         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16786         copysignl for GLIBC_2_0.
16787         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16788         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16789         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16790         logbl for GLIBC_2_0.
16791         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16792         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16794 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16796         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16797         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16799         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16800         Use "neg %eax".
16802         * time/mktime.c: Update copyright years.
16804 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16806         mktime: merge comment-quoting-style change from gnulib
16807         * time/mktime.c: Quote 'like this' in comments.
16808         The GNU coding standards suggest that we no longer quote `like this',
16809         as "`" and "'" are typically rendered asymmetrically nowadays.
16810         The typical gnulib style is to quote 'like this' when quoting
16811         code, and "like this" when quoting English.
16813         * time/mktime.c (compile-command): Add "-I.".
16815         mktime: merge mktime-internal.h change from gnulib
16816         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16818         mktime: merge time_r change from gnulib
16819         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16821         mktime: merge DEBUG change from gnulib
16822         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16823         case system <time.h> has a #define.
16825         mktime: merge <sys/types.h> change from gnulib
16826         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16827         since <time.t> is now guaranteed to define time_t.
16829         mktime: merge HAVE_CONFIG_H change from gnulib
16830         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16832 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16835         Use "neg %eax".
16837         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16838         __rlim_t cast.
16839         (struct rusage): Use anonymous union to pad each field to
16840         __syscall_slong_t.
16842 2012-05-21  David S. Miller  <davem@davemloft.net>
16844         * Makefules (o-iterator): Remove .s cases.
16845         (compile-command.s): Delete.
16846         (COMPILE.s): Delete.
16847         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16849 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
16851         * configure.in (libc_cv_predef_stack_protector): Only consider
16852         "foobar" and "__stack_chk_fail" lines in libc_undefs.
16853         * configure: Regenerated.
16855 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16857         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16858         New macro.  Use R*LP on int and pointer.
16859         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16860         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16861         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16862         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16864         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16865         [__WORDSIZE_TIME64_COMPAT32] instead of
16866         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16867         (struct utmp): Likewise.
16868         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16869         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16870         Renamed to ...
16871         (__WORDSIZE_TIME64_COMPAT32): This.
16872         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16873         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16874         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16875         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16876         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16877         (__WORDSIZE_TIME64_COMPAT32): New macro.
16879 2012-05-21  Andreas Jaeger  <aj@suse.de>
16881         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16882         only if [SHARED]. Add prototype for __wcschr_ia32.
16884 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16886         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16887         of %rbp unmolested in the jmp_buf while mangling the low bits.
16888         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16889         unmolested high bits of %rbp while demangling the low bits.
16890         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16892 2012-05-21  Andreas Jaeger  <aj@suse.de>
16894         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16895         * sunrpc/svc_simple.c: Use it for registerrpc.
16896         * sunrpc/xcrypt.c: Use it for passwd2des.
16898         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16900 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16902         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16903         Don't define if [__SYSCALL_WORDSIZE != 32].
16904         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16905         New macro.
16907 2012-05-21  Bruno Haible  <bruno@clisp.org>
16908             Andreas Jaeger  <aj@suse.de>
16910         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16911         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16912         inptr and inend for must_buffer_ch.
16913         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16914         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16915         * stdio-common/Makefile (tests): Remove bug15.
16916         (bug15-ENV): Remove macro.
16917         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16918         anymore.
16920 2012-05-19  Andreas Jaeger  <aj@suse.de>
16921             Roland McGrath  <roland@hack.frob.com>
16923         * manual/contrib.texi: Completely rewritten. It contains now an
16924         alphabetical list of contributors and their contributions.
16926 2012-05-21  Richard Henderson  <rth@twiddle.net>
16928         * misc/getauxval.c (__getauxval): Use unsigned long int.
16929         * misc/sys/auxv.h: Include <sys/cdefs.h>.
16930         (getauxval): Use unsigned long int.
16932 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16934         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16936 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16938         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16939         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16940         __alignof__ (long double).
16942 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16944         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16946 2012-05-20  Richard Henderson  <rth@twiddle.net>
16948         * misc/getauxval.c: New file.
16949         * misc/sys/auxv.h: New file.
16950         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16951         (routines): Add getauxval.
16952         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16953         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16954         * elf/dl-sysdep.c (_dl_auxv): Remove.
16955         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16956         * elf/dl-support.c (_dl_auxv): New variable.
16957         (_dl_aux_init): Initialize it.
16958         * manual/startup.texi (Auxiliary Vector): New node.
16959         * sysdeps/generic/bits/hwcap.h: New file.
16960         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16961         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
16962         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16963         * sysdeps/sparc/sysdep.h: ... here.  Include it.
16964         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16965         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16967         Update.
16968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16971         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16977 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16981 2012-05-19  David S. Miller  <davem@davemloft.net>
16983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16985 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
16987         [BZ #14123]
16988         * math/s_ccosh.c: Include <float.h>
16989         (__ccosh): Avoid internal overflow calculating sinh and cosh
16990         values before multiplying by sin and cos values.
16991         * math/s_ccoshf.c: Likewise.
16992         * math/s_ccoshl.c: Likewise.
16993         * math/s_csin.c: Likewise.
16994         * math/s_csinf.c: Likewise.
16995         * math/s_csinl.c: Likewise.
16996         * math/s_csinh.c: Likewise.
16997         * math/s_csinhf.c: Likewise.
16998         * math/s_csinhl.c: Likewise.
16999         * math/libm-test.inc (ccos_test): Add more tests.
17000         (ccosh_test): Likewise.
17001         (csin_test): Likewise.
17002         (csinh_test): Likewise.
17003         * sysdeps/i386/fpu/libm-test-ulps: Update.
17004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17006 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17008         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17009         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17011         * sysdeps/x86_64/x32/_itoa.h: Add comment.
17013 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17015         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17016         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17017         * sysdeps/powerpc/soft-fp/Versions: Likewise.
17018         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17019         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17020         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17021         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17022         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17023         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17024         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17025         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17026         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17027         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17028         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17029         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17030         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17031         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17032         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17033         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17034         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17035         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17036         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17037         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17038         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17039         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17040         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17041         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17042         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17043         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17044         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17045         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17047 2012-05-18  Andreas Jaeger  <aj@suse.de>
17049         * csu/.gitignore: Delete.
17051 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17053         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17054         (timex): Use __syscall_slong_t.
17056 2012-05-18  Andreas Jaeger  <aj@suse.de>
17057             Carlos O'Donell  <carlos_odonell@mentor.com>
17059         * manual/install.texi (Configuring and compiling): Update
17060         description about files modified in the source directory.
17061         * INSTALL: Regenerated.
17063 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17065         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17066         value.  Use "or" to set return value to -1.
17067         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17068         negate return value.
17070 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17072         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17073         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17074         failure if the compiler has Graphite support disabled.
17075         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17076         Likewise.
17077         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17078         CFLAGS-memmove.c): Likewise.
17079         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17080         Likewise.
17082 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17084         * sysdeps/x86_64/x32/_itoa.h: New file.
17086         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17087         getdents system call only if kernel and user dirents have the
17088         same d_ino and d_off.
17090         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17091         LLONG_MAX != LONG_MAX.
17092         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17093         (_fitoa_word): Likewise.
17095         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17096         years.
17097         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17098         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17099         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17101         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17102         include <bits/wordsize.h>.  Check __x86_64__ instead of
17103         __WORDSIZE.
17104         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17105         if __x86_64__ is defined.  Use anonymous union on fpstate.
17107         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17108         anonymous union.
17110 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
17112         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17113         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17114         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17115         Refer to _rtld_local_ro instead of _rtld_global_ro.
17116         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17117         Likewise.
17118         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17119         Likewise.
17120         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17121         Likewise.
17122         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17123         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17124         of _rtld_global, and rtld_progname instead of _dl_argv[0].
17126         * sysdeps/powerpc/powerpc32/dl-machine.c
17127         (__elf_machine_runtime_setup) [PROF]: Don't reference
17128         _dl_prof_resolve.
17130 2012-05-18  Andreas Jaeger  <aj@suse.de>
17132         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17133         function only available for GCCs before 3.4 since GCC 3.4
17134         introduced a builtin.
17135         (lrint): Likewise.
17136         (llrintf): Likewise.
17137         (llrint): Likewise.
17138         (fmaxf): Likewise.
17139         (fmax): Likewise.
17140         (fminf): Likewise.
17141         (fmin): Likewise.
17142         (rint): Likewise.
17143         (rintf): Likewise.
17144         (nearbyint): Likewise.
17145         (nearbyintf): Likewise.
17146         (ceil): Likewise.
17147         (ceilf): Likewise.
17148         (floor): Likewise.
17149         (floorf): Likewise.
17151 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17153         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17154         on both fields and cast pointer to __syscall_ulong_t.
17156         * bits/types.h (__fsword_t): New type.
17157         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17158         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17159         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17160         (__FSWORD_T_TYPE): Likewise.
17161         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17162         (__FSWORD_T_TYPE): Likewise.
17163         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17164         (__FSWORD_T_TYPE): Likewise.
17165         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17166         (__FSWORD_T_TYPE): Likewise.
17167         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17168         __SWORD_TYPE with __fsword_t.
17169         (statfs64): Likewise.
17171 2012-05-17  David S. Miller  <davem@davemloft.net>
17173         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17175 2012-05-17  Andreas Jaeger  <aj@suse.de>
17177         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17178         warning.
17180 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17182         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17184 2012-05-17  Andreas Jaeger  <aj@suse.de>
17186         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17187         when it is used.
17189 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17191         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17193 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17195         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17196         * sysdeps/x86_64/tst-mallocalign1.c: New file.
17198 2012-05-17  Andreas Jaeger  <aj@suse.de>
17199             Carlos O'Donell  <carlos_odonell@mentor.com>
17201         [BZ #14059]
17202         * sysdeps/x86_64/multiarch/init-arch.h
17203         (bit_YMM_Usable): Rename to...
17204         (bit_AVX_Usable): ... this.
17205         (bit_FMA4_Usable): New macro.
17206         (bit_XMM_state): New macro.
17207         (bit_YMM_state): New macro.
17208         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17209         [__ASSEMBLER__] (index_AVX_Usable): ... this.
17210         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17211         (CPUID_OSXSAVE): New macro.
17212         (CPUID_AVX): New macro.
17213         (CPUID_FMA4): New macro.
17214         (index_YMM_Usable): Rename to...
17215         (index_AVX_Usable): ... this.
17216         (HAS_AVX): Use HAS_ARCH_FEATURE.
17217         (HAS_FMA4): Likewise.
17218         (HAS_YMM_USABLE): Remove.
17219         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17220         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17221         are present.
17222         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17223         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17224         * sysdeps/x86_64/multiarch/Makefile: Likewise.
17225         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17226         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17228 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17230         * math/libm-test.c: Support platforms without multiple rounding modes.
17231         * math/bug-nextafter.c: Support platforms without FP exceptions.
17232         * math/bug-nexttoward.c: Likewise.
17233         * math/test-fenv.c: Likewise.
17234         * math/test-misc.c: Likewise.
17235         * stdlib/bug-getcontext.c: Likewise.
17237 2012-05-17  Andreas Jaeger  <aj@suse.de>
17239         * manual/examples/search.c (critter_cmp): Change signature to
17240         avoid warnings.
17241         * manual/string.texi (Collation Functions): Likewise.
17243 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17245         * bits/types.h: Fold copyright years.
17246         * bits/typesizes.h: Likewise.
17247         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17248         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17249         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17250         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17251         * time/time.h: Likewise.
17253 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
17255         [BZ #208]
17256         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17257         in instead of returning them.  Return void.
17258         (__libc_mallinfo): Accumulate over all arenas.
17259         (__malloc_stats): Adjust for change in int_mallinfo interface.
17261 2012-05-16  Roland McGrath  <roland@hack.frob.com>
17263         [BZ #10375]
17264         * configure.in (NM): Add AC_CHECK_TOOL for it.
17265         (libc_extra_cflags): New substituted variable.
17266         Check for -fstack-protector being used implicitly.
17267         * configure: Regenerated.
17268         * config.make.in (config-extra-cflags): New variable,
17269         gets @libc_extra_cflags@.
17270         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17272         [BZ #10375]
17273         * configure.in: Check for _FORTIFY_SOURCE being predefined.
17274         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17275         * configure: Regenerated.
17276         * config.make.in (CPPUNDEFS): New substituted variable.
17277         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17278         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17279         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17281 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17283         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17284         (mq_attr): Use __syscall_slong_t.
17286 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17288         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17289         Check __x86_64__ instead of __WORDSIZE.
17290         (_STAT_VER_LINUX): Likewise.
17291         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
17292         __syscall_ulong_t and __syscall_slong_t.
17293         (stat64): Likewise.
17295 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17297         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17299 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17301         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17303 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17305         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17306         __syscall_ulong_t.
17308         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17309         include <bits/wordsize.h>.  Check __x86_64__ instead of
17310         __WORDSIZE.
17311         (greg_t): Use "__extension__ long long int" if __x86_64__ is
17312         defined.
17313         (mcontext_t): Replace "unsigned long" with "unsigned long long".
17315         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17316         include <bits/wordsize.h>.  Check __x86_64__ instead of
17317         __WORDSIZE.
17318         (user_regs_struct): Use "__extension__ unsigned long long"
17319         instead of "unsigned long" if __x86_64__ is defined.
17320         (user): Likewise.  Pad after pointer field if __ILP32__ is
17321         defined.
17323 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
17325         * configure.in (makeinfo): Require version 4.5 or later.  Allow
17326         versions 5 to 9.
17327         * configure: Regenerated.
17328         * manual/install.texi (texinfo): Increase version requirement to
17329         4.5 or later.
17330         * INSTALL: Regenerated.
17332         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17334 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17336         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17338         * sysdeps/x86_64/x32/ffs.c: New file.
17340         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17341         __syscall_ulong_t.
17342         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17343         defined.  Use __syscall_ulong_t.
17344         (shminfo): Use __syscall_ulong_t.
17345         (shm_info): Likewise.
17347         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17348         __syscall_ulong_t.
17350         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17351         <bits/wordsize.h>.
17352         (msgqnum_t): Use __syscall_ulong_t.
17353         (msglen_t): Likewise.
17354         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
17355         __syscall_ulong_t.
17357         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17358         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17360         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17362         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17363         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17365         * sysvipc/sys/msg.h (msgbuf): Replace long int with
17366         __syscall_slong_t.
17368         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17369         include <bits/wordsize.h>.  Check __x86_64__ instead of
17370         __WORDSIZE.
17372         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17373         "unsigned long long int" if __x86_64__ is defined.
17374         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17376         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17377         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17378         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17380         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17381         <stdint.h>.
17382         (GET_PC): Cast to uintptr_t first.
17383         (GET_FRAME): Likewise.
17384         (GET_STACK): Likewise.
17386         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17387         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17388         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17389         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17390         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17391         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17392         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17393         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17394         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17395         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17396         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17397         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17398         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17399         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17400         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17401         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17402         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17403         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17404         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17405         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17406         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17407         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17408         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17409         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17410         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17411         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17412         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17413         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17414         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17416 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
17418         * Makerules (+depfiles): Also collect depfiles from .oS in
17419         $(extra-objs).
17420         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17421         .oS, $(libnldbl-routines)).
17423         * Makerules (native-compile-mkdep-flags): Define.
17424         * sunrpc/Makefile (extra-objs): Add $(addprefix
17425         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17426         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17427         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
17428         calling $(make-target-directory).
17430 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17432         * bits/types.h (__snseconds_t): Removed.
17433         * time/time.h (struct timespec): Replace __snseconds_t with
17434         __syscall_slong_t.
17435         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17436         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17437         Likewise.
17438         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17439         (__SNSECONDS_T_TYPE): Likewise.
17440         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17441         (__SNSECONDS_T_TYPE): Likewise.
17442         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17443         (__SNSECONDS_T_TYPE): Likewise.
17445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17447         * sysdeps/mach/hurd/bits/typesizes.h
17448         (__SYSCALL_SLONG_TYPE): New macro.
17449         (__SYSCALL_ULONG_TYPE): Likewise.
17451 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17453         * bits/types.h (__syscall_slong_t): New type.
17454         (__syscall_ulong_t): Likewise.
17456         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17457         (__SYSCALL_ULONG_TYPE): Likewise.
17458         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17459         (__SYSCALL_SLONG_TYPE): Likewise.
17460         (__SYSCALL_ULONG_TYPE): Likewise.
17461         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17462         (__SYSCALL_SLONG_TYPE): Likewise.
17463         (__SYSCALL_ULONG_TYPE): Likewise.
17464         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17465         (__SYSCALL_SLONG_TYPE): Likewise.
17466         (__SYSCALL_ULONG_TYPE): Likewise.
17468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17470         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17471         Add sigaltstack-offsets.sym.
17472         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17473         <sigaltstack-offsets.h>.
17474         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
17475         longjmp_msg pointer.
17476         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
17477         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17478         signal stack.
17479         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17481 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17483         * elf/stackguard-macros.h: Remove file.
17484         * sysdeps/generic/stackguard-macros.h: New file.
17485         * sysdeps/i386/stackguard-macros.h: Likewise.
17486         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17487         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17488         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17489         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17490         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17491         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17492         * sysdeps/x86_64/stackguard-macros.h: Likewise.
17493         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17494         <elf/stackguard-macros.h>.
17496         [BZ #14109]
17497         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17498         __aligned__ in attribute.
17499         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17500         (gregset_t): Likewise.
17502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17504         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17505         * sysdeps/x86_64/64/Implies-after: Here.  New file.
17506         * sysdeps/x86_64/x32/Implies-after: New file.
17508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17510         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17511         and access return value for _dl_profile_fixup.  Use R10_LP to
17512         load frame size.
17514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17516         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17520         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17521         * sysdeps/x86_64/x32/sysdep.h: New file.
17523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17525         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17526         * sysdeps/x86_64/setjmp.S: Likewise.
17528 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17530         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17531         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17532         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17533         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17534         remove unused global constant.
17536 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
17538         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17539         include of <not-cancel.h>.
17541 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17543         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17545 2012-05-15  Jeff Law  <law@redhat.com>
17546             Andreas Jaeger  <aj@suse.de>
17548         [BZ #13594]
17549         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17550         out from...
17551         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17552         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17553         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17554         code changing __hst_map_handle.map.
17556 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17558         * configure.in (sysnames): Look for Implies-before and Implies-after
17559         files.
17560         * configure: Regenerated.
17562 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17564         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17565         8-byte data alignment with LP_SIZE alignment.
17567 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17569         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17570         into R10_LP.
17572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17574         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17578         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17579         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17580         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17581         Likewise.
17582         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17584 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17586         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17587         (stackinfo_sub_sp): Likewise.
17589 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17591         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17592         RAX_LP.
17594 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17596         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17597         into R*_LP.
17599 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17601         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17602         sizes into R*_LP.
17604 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17606         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17610         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17611         into R11_LP and load __x86_64_shared_cache_size_half into
17612         R8_LP.
17614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17616         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17617         R8_LP.
17619 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17621         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17622         logb for POWER7.
17623         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17624         logbf for POWER7.
17625         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17626         logbl for POWER7.
17627         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17628         powerpc32/power7/fpu/s_logb.c via #include.
17629         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17630         powerpc32/power7/fpu/s_logbf.c via #include.
17631         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17632         powerpc32/power7/fpu/s_logbl.c via #include.
17634 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17636         * README.libm: Remove file.
17638 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17640         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17641         count for x32.  Use R*_LP and omit operand-size suffix.
17643 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17645         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17646         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17647         * sysdeps/x86_64/x32/shlib-versions: New file.
17649 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17651         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17652         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17653         Use _dl_fatal_printf instead.
17655 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17657         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17658         set if not set by the user.  Do not allow for being unset.
17659         * sysdeps/unix/sysv/linux/configure: Regenerated.
17661 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17663         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17664         the `q' suffix from lea and replace .quad with ASM_ADDR.
17666 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17668         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17669         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17670         instead of $17.
17671         (PTR_DEMANGLE): Likewise.
17673 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17675         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17676         (LP_OP): Likewise.
17677         (ASM_ADDR): Likewise.
17678         (RAX_LP): Likewise.
17679         (RBP_LP): Likewise.
17680         (RBX_LP): Likewise.
17681         (RCX_LP): Likewise.
17682         (RDI_LP): Likewise.
17683         (RSI_LP): Likewise.
17684         (RSP_LP): Likewise.
17685         (R8_LP): Likewise.
17686         (R9_LP): Likewise.
17687         (R10_LP): Likewise.
17688         (R10_LP): Likewise.
17689         (R11_LP): Likewise.
17690         (R12_LP): Likewise.
17691         (R13_LP): Likewise.
17692         (R14_LP): Likewise.
17693         (R15_LP): Likewise.
17695 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17697         * sysdeps/x86_64/x32/dl-machine.h: New file.
17699 2012-05-14  Andreas Jaeger  <aj@suse.de>
17701         * manual/Makefile (subdir): Remove export of subdir.
17702         (all): Remove target.
17703         (.PHONY): Remove all from list.
17704         (mkinstalldirs): Remove.
17705         (.PHONY): Remove installdirs from list.
17706         ($(inst_infodir)/libc.info): Use make-target-directory.
17707         (installdirs): Remove.
17708         (subdir_%): Remove.
17709         (glibc-targets): Remove.
17710         (lib): Remove.
17711         (stubs): Remove.
17712         ($(objpfx)stubs ../po/manual.pot): Remove.
17713         ($(objpfx)stamp%): Remove.
17714         (make-target-directory): Remove.
17715         (subdir_install): Remove.
17716         (routines): Remove.
17717         (aux): Remove.
17718         (sources): Remove.
17719         (objects): Remove.
17720         (headers): Remove.
17722         [BZ #13750]
17723         * manual/.gitignore: Remove, it's not needed anymore.
17724         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17725         all files in it.
17726         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17727         directory.
17728         (texis): Renamed to $(objpfx)texis.
17729         (texis-path): New, contains path to generated files.
17730         (chapters.%): Use texis-path for complete path, add extra argument
17731         libc-texinfo.sh.
17732         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17733         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17734         (summary,texi, stamp-summary): Use complete path of
17735         files. Generate files in build dir.
17736         (dir-add.texi): Build in build dir.
17737         (libm-err.texi,stamp-libm-err): Likewise.
17738         (version.texi, stamp-version): Likewise.
17739         (.%c.texi): Likewise.
17740         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17741         (mostlyclean): Remove target.
17742         (realclean): Remove target.
17743         (generated): Add new variable with contents from mostlyclean and
17744         realclean, remove entries duplicated in common-mostlyclean, add
17745         stamp-libm-err and stamp-version.
17746         (generated-dirs): Add libc directory.
17747         ($(inst_infodir)/libc.info): Install files from build dir.
17749         * manual/install.texi (Configuring and compiling): Adjust since
17750         the info files are not part of the tar ball anymore.
17752 2012-05-14  Andreas Jaeger  <aj@suse.de>
17754         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17755         variable.
17757 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17759         [BZ #13717]
17760         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17761         to 2.2.0 where earlier.
17762         * sysdeps/unix/sysv/linux/configure: Regenerated.
17763         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17764         Remove conditional code.
17765         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17766         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17767         Remove conditional code.
17768         [!__NR_lchown]: Likewise.
17769         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17770         [__NR_lchown]: Likewise.
17771         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17772         comment referencing __ASSUME_LCHOWN_SYSCALL.
17773         * sysdeps/unix/sysv/linux/i386/sigaction.c
17774         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17775         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17776         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17777         Remove conditional code.
17778         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17779         (__protocol_available): Remove #if 0 code.
17780         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17781         conditional code.
17782         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17783         * sysdeps/unix/sysv/linux/kernel-features.h
17784         (__ASSUME_GETCWD_SYSCALL): Don't define.
17785         (__ASSUME_REALTIME_SIGNALS): Likewise.
17786         (__ASSUME_PREAD_SYSCALL): Likewise.
17787         (__ASSUME_PWRITE_SYSCALL): Likewise.
17788         (__ASSUME_POLL_SYSCALL): Likewise.
17789         (__ASSUME_LCHOWN_SYSCALL): Likewise.
17790         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17791         non-SPARC.
17792         (__ASSUME_SIOCGIFNAME): Don't define.
17793         (__ASSUME_MSG_NOSIGNAL): Likewise.
17794         (__ASSUME_SENDFILE): Define unconditionally.
17795         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17796         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17797         conditional code.
17798         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17799         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17800         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17801         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17802         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17803         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17804         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17806         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17807         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17809         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17810         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17812         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17813         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17815         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17816         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17818         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17819         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17821         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17822         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17824         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17825         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17827         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17828         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17829         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17830         Remove conditional code.
17831         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17832         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17833         Remove conditional code.
17834         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17835         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17836         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17837         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17838         Remove conditional code.
17839         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17840         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17841         Remove conditional code.
17842         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17843         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17844         Remove conditional code.
17845         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17846         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17847         Remove conditional code.
17848         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17849         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17850         Remove conditional code.
17851         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17852         * sysdeps/unix/sysv/linux/sh/pwrite64.c
17853         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17854         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17855         * sysdeps/unix/sysv/linux/sigaction.c
17856         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17857         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17858         * sysdeps/unix/sysv/linux/sigpending.c
17859         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17860         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17861         * sysdeps/unix/sysv/linux/sigprocmask.c
17862         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17863         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17864         * sysdeps/unix/sysv/linux/sigsuspend.c
17865         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17866         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17867         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17868         (__libc_missing_rt_sigs): Remove.
17869         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17870         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17871         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17872         Remove conditional code.
17873         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17874         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17875         return 1.
17876         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17877         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17878         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17879         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17881 2012-05-14  Andreas Jaeger  <aj@suse.de>
17883         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17884         it's not used in glibc.
17885         (__coshm1): Likewise.
17886         (__acosh1p): Likewise.
17887         (__sgn): Likewise.
17889         * manual/string.texi (Copying and Concatenation): Add missing
17890         variable in concat example.
17891         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17893 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17895         [BZ #14103]
17896         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17897         __builtin_clzl with __builtin_clzll.
17899 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17901         [BZ #14104]
17902         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17903         libc_freeres_ptr.
17905 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17907         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17908         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17909         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17910         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17912 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
17914         * NEWS: Update ia64 info.
17916 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
17918         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17919         used as bcopy.
17921 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
17923         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17924         * sysdeps/unix/syscalls.list (dup3): Likewise.
17925         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17926         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17928 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17930         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17931         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17933 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17935         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17936         thread pointer.
17937         (TLS_IE): Use mov/add instead of movq/addq to load thread
17938         pointer.
17939         (TLS_GD_PREFIX): New.
17940         (TLS_GD): Use it.
17942 2012-05-11  David S. Miller  <davem@davemloft.net>
17944         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17945         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17946         (_FPU_SETCW): Likewise.
17948 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17950         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17951         is 32-byte aligned.
17953 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
17955         [BZ #11837]
17956         * iconvdata/gb18030.c: Update tables.
17957         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
17958         characters specially.
17959         (BODY for TO_LOOP): Add encoding of missing ranges.
17961 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
17963         [BZ #13673]
17964         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17965         * sysdeps/mach/hurd/dup3.c: Likewise.
17966         * sysdeps/mach/hurd/readlinkat.c: Likewise.
17967         * sysdeps/powerpc/memmove.c:: Likewise.
17969 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17971         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17972         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17974 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17976         * elf/elf.h (R_X86_64_RELATIVE64): New.
17977         (R_X86_64_NUM): Updated.
17978         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17979         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
17980         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17981         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17982         tst-quad1pie tst-quad2pie
17983         (modules-names): Add tst-quadmod1 tst-quadmod2.
17984         ($(objpfx)tst-quad1): New dependency.
17985         ($(objpfx)tst-quad2): Likewise.
17986         ($(objpfx)tst-quad1pie): Likewise.
17987         ($(objpfx)tst-quad2pie): Likewise.
17988         * sysdeps/x86_64/tst-quad1.c: New file.
17989         * sysdeps/x86_64/tst-quad1pie.c: New file.
17990         * sysdeps/x86_64/tst-quad2.c: Likewise.
17991         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17992         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17993         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17994         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17995         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17997 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17999         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18000         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18001         * streams/stropts.h (t_scalar_t): Define type.
18003         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18004         (_PATH_PRESERVE): Set to "/var/lib".
18005         (_PATH_RWHODIR): Set to "/var/spool/rwho".
18007         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18008         instead of int.
18010         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18011         if __dir_mkfile succeeded.
18013         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18014         checking for _hurd_dtablesize.  Unlock it right after having
18015         finished _hurd_dtable allocation.
18017 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18019         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18020         * sysdeps/mach/hurd/configure: Regenerated.
18021         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18022         special-casing to...
18023         * sysdeps/gnu/configure.in: ... this new file.
18024         * sysdeps/unix/sysv/linux/configure: Regenerated.
18025         * sysdeps/gnu/configure: New generated file.
18027         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18028         for Linux: use nsec instead of usec, as well as:
18029         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18030         members of type struct timespec.
18031         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18032         New macros.
18033         (struct stat64): Likewise.
18034         (_STATBUF_ST_NSEC): New macro.
18035         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18037         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18038         __strtoul_internal rather than strtoul.
18040 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18042         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18043         and reject them.
18045 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18047         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18048         which preserves existing values.
18049         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18051 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18053         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18054         TIMEOUT values.  Return EINVAL for NFDS values either negative or
18055         greater than FD_SETSIZE.
18057 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18059         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18060         allocated, call __vm_protect to finish enabling the existing space, and
18061         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18062         allocate the remainder.
18064 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18066         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18067         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
18069 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18071         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18072         sysdeps/mach/hurd/readlink.c.
18074         * posix/tst-sysconf.c (posix_options): Only use
18075         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18076         _POSIX_SYNCHRONIZED_IO when they are defined
18077         * sysdeps/mach/hurd/bits/posix_opt.h:
18078         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18079         (_XOPEN_REALTIME): Undefine macro.
18080         (_XOPEN_REALTIME_THREADS): Undefine macro.
18081         (_XOPEN_SHM): Undefine macro.
18082         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18083         macro to -1.
18084         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18085         macro to -1.
18086         (_POSIX_ASYNC_IO): Undefine macro.
18087         (_POSIX_PRIORITIZED_IO): Undefine macro.
18088         (_POSIX_SPIN_LOCKS): Define macro to -1.
18090         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18091         SA_NODEFER, SA_RESETHAND.
18092         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18093         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18094         F_DUPFD_CLOEXEC.
18096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18098         * elf/Makefile (pldd-modules): Define unconditionally.
18100 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18102         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18106         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18107         Return ENOENT when name is empty.
18108         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18110 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18112         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18114         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18116 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18118         Fix mlock in all cases except non-readable pages.
18119         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18120         instead of VM_PROT_ALL as parameter to __vm_wire function.
18122         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18123         (__mkdir): When path is `/', just fail with EEXIST.
18124         * sysdeps/mach/hurd/mkdirat.c: Likewise.
18126 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18128         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18129         <sys/uio.h> (for writev).
18130         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18131         and <sys/param.h> (for MIN).
18133 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18135         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18136         REQUESTED_TIME.  Properly set the remaining time and return EINTR
18137         if interrupted.
18139 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18141         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18142         Depend on against $(link-rpcuserlibs).
18144 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18146         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18147         (__libc_stack_end): Do not use attribute_relro.
18148         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18149         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18150         to libthread-provided value.
18151         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18152         attribute_relro.
18154 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18156         [BZ #3748]
18157         * bits/libc-lock.h (__libc_once_get): New macro.
18158         * sysdeps/mach/bits/libc-lock.h: Likewise.
18159         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18160         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18161         instead of using implementation details.
18163         * libio/fileops.c: Unconditionally include <kernel-features.h>.
18164         * libio/freopen.c: Likewise.
18165         * libio/freopen64.c: Likewise.
18166         * misc/syslog.c: Likewise.
18167         * nscd/connections.c: Likewise.
18168         * nscd/netgroupcache.c: Likewise.
18169         * sysdeps/posix/getcwd.c: Likewise.
18171 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18173         * math/w_ilogbf.c: Add #include <limits.h>.
18175 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18177         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18178         path instead of returning without unlocking.
18180         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18181         immediate-write ioctls.
18182         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18184 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18186         * sysdeps/mach/hurd/i386/init-first.c (init): Use
18187         __builtin_frame_address instead of making assumptions about the
18188         location of the return address relative to DATA.  Force early load of
18189         the return address.
18190         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18191         __builtin_frame_address.
18193         dup3 for GNU Hurd.
18194         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18195         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
18196         implement dup3 and do some further code clean-ups.
18197         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18198         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18200 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18202         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18204         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18205         HURD_CRITICAL_END around holding _hurd_dtable_lock.
18206         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18207         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18208         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18209         d->port.lock.
18211         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18212         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
18213         when handler == SIG_ERR, not when handler != SIG_ERR.
18215 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18217         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18218         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18219         definitions.
18221         accept4 for GNU Hurd.
18222         * include/sys/socket.h (__libc_accept4): New prototype.
18223         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
18224         to implement __libc_accept4.
18225         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18226         __libc_accept4.
18227         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18229         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18230         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18231         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18232         signal-defines.sym.
18234 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18236         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18238 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18240         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18241         assertion on O_CLOEXEC flag.
18242         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18243         * hurd/intern-fd.c: Likewise.
18244         * hurd/port2fd.c: Likewise.
18246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18248         [BZ #3906]
18249         * bits/in.h (IPV6_PKTINFO): Define new macro.
18250         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18252 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18254         [BZ #13954]
18255         [BZ #13955]
18256         [BZ #13956]
18257         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18258         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18259         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18260         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18261         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18262         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18263         * math/libm-test.inc (logb_test) : Additional logb tests.
18265 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
18266             Andreas Jaeger  <aj@suse.de>
18268         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18269         * configure: Regenerated.
18270         * config.h.in (LINK_OBSOLETE_RPC): New macro.
18271         * config.make.in (link-obsolete-rpc): New substituted variable.
18272         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18273         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18274         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18275         (shared-only-routines): Don't set it under [link-obsolete-rpc],
18276         so that libc.a contains the symbols.
18277         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18278         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18279         * sunrpc/auth_none.c: Likewise.
18280         * sunrpc/auth_unix.c: Likewise.
18281         * sunrpc/authdes_prot.c: Likewise.
18282         * sunrpc/authuxprot.c: Likewise.
18283         * sunrpc/clnt_gen.c: Likewise.
18284         * sunrpc/clnt_perr.c: Likewise.
18285         * sunrpc/clnt_raw.c: Likewise.
18286         * sunrpc/clnt_simp.c: Likewise.
18287         * sunrpc/clnt_tcp.c: Likewise.
18288         * sunrpc/clnt_udp.c: Likewise.
18289         * sunrpc/clnt_unix.c: Likewise.
18290         * sunrpc/des_crypt.c: Likewise.
18291         * sunrpc/des_soft.c: Likewise.
18292         * sunrpc/get_myaddr.c: Likewise.
18293         * sunrpc/key_call.c: Likewise.
18294         * sunrpc/key_prot.c: Likewise.
18295         * sunrpc/netname.c: Likewise.
18296         * sunrpc/pm_getmaps.c: Likewise.
18297         * sunrpc/pm_getport.c: Likewise.
18298         * sunrpc/pmap_clnt.c: Likewise.
18299         * sunrpc/pmap_prot.c: Likewise.
18300         * sunrpc/pmap_prot2.c: Likewise.
18301         * sunrpc/pmap_rmt.c: Likewise.
18302         * sunrpc/publickey.c: Likewise.
18303         * sunrpc/rpc_cmsg.c: Likewise.
18304         * sunrpc/rpc_common.c: Likewise.
18305         * sunrpc/rpc_dtable.c: Likewise.
18306         * sunrpc/rpc_prot.c: Likewise.
18307         * sunrpc/rpc_thread.c: Likewise.
18308         * sunrpc/rtime.c: Likewise.
18309         * sunrpc/svc.c: Likewise.
18310         * sunrpc/svc_auth.c: Likewise.
18311         * sunrpc/svc_raw.c: Likewise.
18312         * sunrpc/svc_run.c: Likewise.
18313         * sunrpc/svc_tcp.c: Likewise.
18314         * sunrpc/svc_udp.c: Likewise.
18315         * sunrpc/svc_unix.c: Likewise.
18316         * sunrpc/svcauth_des.c: Likewise.
18317         * sunrpc/xcrypt.c: Likewise.
18318         * sunrpc/xdr.c: Likewise.
18319         * sunrpc/xdr_array.c: Likewise.
18320         * sunrpc/xdr_float.c: Likewise.
18321         * sunrpc/xdr_intXX_t.c: Likewise.
18322         * sunrpc/xdr_mem.c: Likewise.
18323         * sunrpc/xdr_rec.c: Likewise.
18324         * sunrpc/xdr_ref.c: Likewise.
18325         * sunrpc/xdr_sizeof.c: Likewise.
18326         * sunrpc/xdr_stdio.c: Likewise.
18328 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18330         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18331         change.  Update copyright years.
18333 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18335         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18337 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
18338             Joseph Myers  <joseph@codesourcery.com>
18339             Paul Pluzhnikov  <ppluzhnikov@google.com>
18341         [BZ #14012]
18342         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18343         requiring rpcgen.
18344         [cross-compiling] (extra-libs): Likewise.
18345         [cross-compiling] (extra-libs-others): Likewise.
18346         [cross-compiling] (librpcsvc-routines): Likewise.
18347         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18348         [cross-compiling] (omit-deps): Likewise.
18349         (sunrpc-CPPFLAGS): New variable.
18350         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18351         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18352         (cross-rpcgen-objs): New variable.
18353         (extra-objs): Append $(cross-rpcgen-objs).
18354         ($(cross-rpcgen-objs)): New rule.
18355         ($(objpfx)cross-rpcgen): Likewise.
18356         (rpcgen-cmd): Define to use $(built-program-file).  Expand
18357         comment.
18358         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18359         ($(objpfx)x%.stmp): Likewise.
18360         * sunrpc/proto.h [IS_IN_build] (_): Define.
18361         [IS_IN_build] (_libc_intl_domainname): Likewise.
18363 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18365         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18366         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18367         and R_X86_64_TPOFF64.
18369 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18371         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18372         sysdeps/unix/sysv/syscalls.list.
18373         (stime): Likewise.
18374         (utime): Likewise.
18375         * sysdeps/unix/sysv/syscalls.list: Remove file.
18377 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
18379         [BZ #3440]
18380         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18381         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18382         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18383         (__LC_IDENTIFICATION): Make these macros useful in #if
18384         expressions, as required by C99.
18386 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
18388         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18389         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
18390         after this.
18392 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
18394         * stdlib/longlong.h: Updated from GCC.
18396 2012-05-09  Andreas Jaeger  <aj@suse.de>
18398         * nscd/nscd.c (run_modes): Make named enum, reorder so that
18399         default is first entry.
18400         (run_mode): Set type.
18401         (main): Remove informal message about syslog.
18402         (options): Fix typo.
18404         [BZ #14053]
18405         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18406         to asm.
18407         (lrint): Likewise.
18408         (llrintf): Likewise.
18409         (llrint): Likewise.
18410         (rint): Likewise.
18411         (rintf): Likewise.
18412         (nearbyint): Likewise.
18413         (nearbyintf): Likewise.
18415 2012-05-09  Andreas Jaeger  <aj@suse.de>
18416             Pedro Alves  <palves@redhat.com>
18418         * nscd/nscd.c (run_mode): Use enum.
18419         (main): Cleanup coding style issue.
18421 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
18422             Andreas Jaeger  <aj@suse.de>
18424         * nscd/nscd.c (go_background): Replaced with...
18425         (run_mode): ... this.
18426         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18427         (options): Add -F --foreground.
18428         (main): Implement it.
18429         (parse_opt): Parse it.
18431 2012-05-09  Andreas Jaeger  <aj@suse.de>
18433         [BZ #14083]
18434         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18435         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18436         -Wconversion warning.
18437         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18438         Likewise.
18440 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
18442         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
18443         == 0.
18444         (LC_ALL): Use macro-int-constant.
18445         (LC_COLLATE): Likewise.
18446         (LC_CTYPE): Likewise.
18447         (LC_MESSAGES): Likewise.
18448         (LC_MONETARY): Likewise.
18449         (LC_NUMERIC): Likewise.
18450         (LC_TIME): Likewise.
18451         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18452         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18453         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18454         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18455         Specify type.
18456         [C99-based standards] (float_t): Expect type.
18457         [C99-based standards] (double_t): Expect type.
18458         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
18459         type.
18460         [C99-based standards] (HUGE_VALL): Likewise.
18461         [C99-based standards] (INFINITY): Likewise.
18462         [C99-based standards] (NAN): Likewise.
18463         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18464         [C99-based standards] (FP_NAN): Likewise.
18465         [C99-based standards] (FP_NORMAL): Likewise.
18466         [C99-based standards] (FP_SUBNORMAL): Likewise.
18467         [C99-based standards] (FP_ZERO): Likewise.
18468         [C99-based standards] (FP_FAST_FMA): Use
18469         optional-macro-int-constant.  Specify type.  Require == 1.
18470         [C99-based standards] (FP_FAST_FMAF): Likewise.
18471         [C99-based standards] (FP_FAST_FMAL): Likewise.
18472         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18473         [C99-based standards] (FP_ILOGBNAN): Likewise.
18474         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18475         Specify type.
18476         [C99-based standards] (MATH_ERREXCEPT): Likewise.
18477         [C99-based standards] (math_errhandling): Specify type.
18478         [ISO99 || ISO11] (signgam): Do not allow.
18479         [non-C99-based standards] (copysignf): Do not allow.
18480         [non-C99-based standards] (exp2f): Likewise.
18481         [non-C99-based standards] (log2f): Likewise.
18482         [non-C99-based standards] (modff): Allow.
18483         [non-C99-based standards] (erff): Do not allow.
18484         [non-C99-based standards] (erfcf): Likewise.
18485         [non-C99-based standards] (gammaf): Likewise.
18486         [non-C99-based standards] (hypotf): Likewise.
18487         [non-C99-based standards] (j0f): Likewise.
18488         [non-C99-based standards] (j1f): Likewise.
18489         [non-C99-based standards] (jnf): Likewise.
18490         [non-C99-based standards] (lgammaf): Likewise.
18491         [non-C99-based standards] (tgammaf): Likewise.
18492         [non-C99-based standards] (y0f): Likewise.
18493         [non-C99-based standards] (y1f): Likewise.
18494         [non-C99-based standards] (ynf): Likewise.
18495         [non-C99-based standards] (isnanf): Likewise.
18496         [non-C99-based standards] (acoshf): Likewise.
18497         [non-C99-based standards] (asinhf): Likewise.
18498         [non-C99-based standards] (atanhf): Likewise.
18499         [non-C99-based standards] (cbrtf): Likewise.
18500         [non-C99-based standards] (expm1f): Likewise.
18501         [non-C99-based standards] (ilogbf): Likewise.
18502         [non-C99-based standards] (log1pf): Likewise.
18503         [non-C99-based standards] (logbf): Likewise.
18504         [non-C99-based standards] (nextafterf): Likewise.
18505         [non-C99-based standards] (remainderf): Likewise.
18506         [non-C99-based standards] (rintf): Likewise.
18507         [non-C99-based standards] (scalbf): Likewise.
18508         [non-C99-based standards] (copysignl): Likewise.
18509         [non-C99-based standards] (exp2l): Likewise.
18510         [non-C99-based standards] (log2l): Likewise.
18511         [non-C99-based standards] (modfl): Allow.
18512         [non-C99-based standards] (erfl): Do not allow.
18513         [non-C99-based standards] (erfcl): Likewise.
18514         [non-C99-based standards] (gammal): Likewise.
18515         [non-C99-based standards] (hypotl): Likewise.
18516         [non-C99-based standards] (j0l): Likewise.
18517         [non-C99-based standards] (j1l): Likewise.
18518         [non-C99-based standards] (jnl): Likewise.
18519         [non-C99-based standards] (lgammal): Likewise.
18520         [non-C99-based standards] (tgammal): Likewise.
18521         [non-C99-based standards] (y0l): Likewise.
18522         [non-C99-based standards] (y1l): Likewise.
18523         [non-C99-based standards] (ynl): Likewise.
18524         [non-C99-based standards] (isnanl): Likewise.
18525         [non-C99-based standards] (acoshl): Likewise.
18526         [non-C99-based standards] (asinhl): Likewise.
18527         [non-C99-based standards] (atanhl): Likewise.
18528         [non-C99-based standards] (cbrtl): Likewise.
18529         [non-C99-based standards] (expm1l): Likewise.
18530         [non-C99-based standards] (ilogbl): Likewise.
18531         [non-C99-based standards] (log1pl): Likewise.
18532         [non-C99-based standards] (logbl): Likewise.
18533         [non-C99-based standards] (nextafterl): Likewise.
18534         [non-C99-based standards] (remainderl): Likewise.
18535         [non-C99-based standards] (rintl): Likewise.
18536         [non-C99-based standards] (scalbl): Likewise.
18537         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18538         [non-C99-based standards] (FP_*): Do not allow.
18539         [C99-based standards] (FP_*): Change to
18540         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18541         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18542         allow.
18543         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18544         (SIG_ERR): Likewise.
18545         [X/Open-based standards] (SIG_HOLD): Likewise.
18546         (SIG_IGN): Likewise.
18547         (SIGABRT): Use macro-int-constant.  Specify type.  Require
18548         positive value.
18549         (SIGFPE): Likewise.
18550         (SIGILL): Likewise.
18551         (SIGINT): Likewise.
18552         (SIGSEGV): Likewise.
18553         (SIGTER): Likewise.
18554         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18555         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18556         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18557         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18558         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18559         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18560         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18561         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18562         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18563         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18564         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18565         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18566         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18567         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18568         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18569         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18570         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18571         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18572         [X/Open-based standards] (SIGTRAP): Likewise.
18573         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18574         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18575         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18576         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18577         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18578         allow.
18580 2012-05-08  Ian Wienand  <ianw@vmware.com>
18582         [BZ #14080]
18583         * time/tzset.c (__tzset_parse_tz): Update default rules for
18584         daylight time changes in the Energy Policy Act of 2005.
18586 2012-05-09  Andreas Jaeger  <aj@suse.de>
18588         [BZ #13983]
18589         * elf/ldconfig.c (parse_conf): Change string to make clear that
18590         ldconfig only issued a warning if ld.so.conf does not exist.
18592 2012-05-08  David S. Miller  <davem@davemloft.net>
18594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18595         movxtod instead of popping the value on the stack.
18597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18599 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
18601         * config.h.in: Add HAVE_ARM_PCS_VFP.
18603 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
18605         [BZ #13979]
18606         * include/features.h: Warn if user requests __FORTIFY_SOURCE
18607         checking but the checks are disabled for any reason.
18609 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18611         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18612         and ELF64_R_TYPE with ELFW(R_TYPE).
18614 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
18616         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18617         (ulimit): Likewise.
18619         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18620         (settimeofday): Likewise.
18622 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
18624         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
18625         a struct th_u2 inside the union, and move tu_block/tu_code into
18626         a new th_u3 union of tu_block/tu_code inside of that.  Move
18627         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
18628         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
18629         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18630         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18631         (th_stuff): Change to th_u1.tu_stuff.
18632         (th_data): Define.
18633         (th_msg): Change to th_u1.th_u2.tu_data.
18635 2012-05-07  David S. Miller  <davem@davemloft.net>
18637         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18639         [BZ #14074]
18640         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18641         (SETUP_PIC_REG): Use it.
18642         (SETUP_PIC_REG_LEAF): Use it.
18644 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18646         [BZ #13885]
18647         [BZ #13923]
18648         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18649         USE_AS_EXPM1L.
18650         (EXPL_FINITE): Likewise.
18651         (FLDLOG): Likewise.
18652         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18653         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18654         e_expl.S.
18655         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18656         USE_AS_EXPM1L.
18657         (EXPL_FINITE): Likewise.
18658         (FLDLOG): Likewise.
18659         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18660         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18661         e_expl.S.
18662         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18663         test of -max_value argument for long double.
18664         * sysdeps/i386/fpu/libm-test-ulps: Update.
18665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18667 2012-05-06  David S. Miller  <davem@davemloft.net>
18669         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18670         quad soft-float symbols whose references which are compiler
18671         generated.
18672         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18674 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18676         [BZ #13884]
18677         [BZ #13914]
18678         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18679         USE_AS_EXP10L.
18680         (EXPL_FINITE): Likewise.
18681         (FLDLOG): Likewise.
18682         (c0): Likewise.
18683         (c1): Likewise.
18684         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18685         Adjust comments for base varying.
18686         (__expl_finite): Change alias to EXPL_FINITE.
18687         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18688         e_expl.S.
18689         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18690         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18691         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18692         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18693         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18694         USE_AS_EXP10L.
18695         (EXPL_FINITE): Likewise.
18696         (FLDLOG): Likewise.
18697         (c0): Likewise.
18698         (c1): Likewise.
18699         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18700         Adjust comments for base varying.
18701         (__expl_finite): Change alias to EXPL_FINITE.
18702         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
18703         tests for bugs.
18704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18706         [BZ #14064]
18707         * math/libm-test.inc (check_float_internal): Correct ulp
18708         calculation for subnormal expected results.
18710 2012-05-06  Andreas Jaeger  <aj@suse.de>
18712         * Makeconfig (+math-flags): New, set to -frounding-math.
18713         (+cflags): Add +math-flags so that all of glibc gets compiled with
18714         it.
18716         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18718 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
18720         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18721         Disable one test.
18723         [BZ #13787]
18724         [BZ #13922]
18725         [BZ #14036]
18726         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18727         (__ieee754_expl): Allow for and saturate large arguments.
18728         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18729         (u_threshold): Likewise.
18730         (__exp): Call __ieee754_exp before checking for overflow and
18731         underflow.
18732         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18733         (u_threshold): Likewise.
18734         (__expf): Call __ieee754_expf before checking for overflow and
18735         underflow.
18736         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18737         (u_threshold): Likewise.
18738         (__expl): Call __ieee754_expl before checking for overflow and
18739         underflow.
18740         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18741         (__ieee754_expl): Allow for and saturate large arguments.
18742         * math/libm-test.inc (exp_test): Add another test.  Do not allow
18743         missing overflow exception on overflow.
18744         (expm1_test): Do not allow missing overflow exception on overflow.
18746         * sysdeps/i386/fpu/e_expl.c: Move to ...
18747         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
18748         rather than using inline asm.
18749         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18750         * sysdeps/x86_64/fpu/e_expl.S: Copy from
18751         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18753         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18754         (nice): Likewise.
18755         (poll): Likewise.
18756         (signal): Likewise.
18757         (time): Likewise.
18758         (times): Likewise.
18760 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18762         * sysdeps/unix/syscalls.list (adjtime): Add entry from
18763         sysdeps/unix/common/syscalls.list.
18764         (fchmod): Likewise.
18765         (fchown): Likewise.
18766         (ftruncate): Likewise.
18767         (getrusage): Likewise.
18768         (gettimeofday): Likewise.
18769         (setpgid): Likewise.
18770         (setregid): Likewise.
18771         (setreuid): Likewise.
18772         (sigaction): Likewise.
18773         (truncate): Likewise.
18774         (vhangup): Likewise.
18775         * sysdeps/unix/common/syscalls.list: Remove file.
18776         * sysdeps/unix/bsd/Implies: Don't include unix/common.
18777         * sysdeps/unix/sysv/linux/Implies: Likewise.
18779 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
18781         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18782         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18783         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18784         Moved to ...
18785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18786         Here.
18787         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18788         to ...
18789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18790         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18791         to ...
18792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18793         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18794         to ...
18795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18796         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18797         to ...
18798         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18799         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18800         to ...
18801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18802         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18803         to ...
18804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18805         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18806         to ...
18807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18808         Here.
18809         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18810         to ...
18811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18812         Here.
18813         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18814         to ...
18815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18816         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18817         Moved to ...
18818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18819         Here.
18820         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18821         to ...
18822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18824 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18826         * sysdeps/unix/common/bits/dirent.h: Remove file.
18827         * sysdeps/unix/common/bits/fcntl.h: Likewise.
18829         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18830         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18831         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18832         * sysdeps/unix/bsd/isatty.c: Likewise.
18833         * sysdeps/unix/bsd/tcdrain.c: Likewise.
18834         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18835         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18837 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18839         [BZ #13563]
18840         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18841         long double comparison inaccuracies.
18842         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18845 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
18847         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18848         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18850 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18852         [BZ #14049]
18853         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18854         nonzero digits before rounding a hex value.
18855         * stdlib/tst-strtod.c (tests): Add another test.
18857 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18859         * sysdeps/s390/fpu/libm-test-ulps: Update.
18861 2012-05-03  Andreas Jaeger  <aj@suse.de>
18863         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18864         does not get optimized out.
18865         (malloc_opt_barrier): New.
18867 2012-05-03  Andreas Jaeger  <aj@suse.de>
18868             Roland McGrath  <roland@hack.frob.com>
18870         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18871         intermediate file deletion.
18872         (generated): Add .symlist files.
18874 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
18876         [BZ #13775]
18877         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18878         Redirect under this condition.
18879         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18880         [__USE_GNU] (__dprintf_chk): Not under this condition.
18881         [__USE_GNU] (__vdprintf_chk): Likewise.
18882         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18883         under this condition.
18884         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18885         [__USE_XOPEN2K8] (dprintf): Define under this condition.
18886         [__USE_XOPEN2K8] (vdprintf): Likewise.
18887         [__USE_GNU] (__dprintf_chk): Not under this condition.
18888         [__USE_GNU] (__vdprintf_chk): Likewise.
18889         [__USE_GNU] (dprintf): Likewise.
18890         [__USE_GNU] (vdprintf): Likewise.
18892 2012-05-03  Roland McGrath  <roland@hack.frob.com>
18894         * elf/Makefile (common-generated): Set this instead of generated for
18895         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
18896         $(all-built-dso)-derived lists.
18898 2012-05-03  Andreas Jaeger  <aj@suse.de>
18900         * sysdeps/i386/fpu/libm-test-ulps: Update.
18902         * FAQ: Removed.
18903         * FAQ.in: Likewise.
18904         * scripts/gen-FAQ.pl: Likewise.
18905         * manual/install.texi (Installation): Point to online location of
18906         FAQ.
18907         * Makefile (files-for-dist): Remove FAQ.
18908         (FAQ): Remove.
18910 2012-05-02  Allan McRae  <allan@archlinux.org>
18912         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18913         (LDFLAGS-reldepmod5.so): Likewise.
18914         (LDFLAGS-reldep6mod1.so): Likewise.
18915         (LDFLAGS-reldep6mod4.so): Likewise.
18916         (LDFLAGS-reldep8mod3.so): Likewise.
18917         (LDFLAGS-unload4mod1.so): Likewise.
18918         (LDFLAGS-unload4mod2.so): Likewise.
18919         (LDFLAGS-tst-initorder): Likewise.
18920         (LDFLAGS-tst-initordera2.so): Likewise.
18921         (LDFLAGS-tst-initordera3.so): Likewise.
18922         (LDFLAGS-tst-initordera4.so): Likewise.
18923         (LDFLAGS-tst-initorderb2.so): Likewise.
18924         (LDFLAGS-noload): Likewise.
18925         (LDFLAGS-next): Likewise.
18926         (LDFLAGS-order2mod1.so): Likewise.
18927         (LDFLAGS-order2mod2.so): Likewise.
18928         (LDFLAGS-tst-initorder2): Likewise.
18929         (LDFLAGS-tst-initorder2a.so): Likewise.
18930         (LDFLAGS-tst-initorder2b.so): Likewise.
18931         (LDFLAGS-tst-initorder2c.so): Likewise.
18932         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18934 2012-05-02  David S. Miller  <davem@davemloft.net>
18936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18938 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18940         [BZ #14055]
18941         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18943 2012-05-02  Andreas Jaeger  <aj@suse.de>
18945         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18946         since we manipulate rounding mode.
18947         (CPPFLAGS-test-idouble.c): Likewise.
18948         (CPPFLAGS-test-ifloat.c): Likewise.
18949         (CFLAGS-test-ldouble.c): Likewise.
18950         (CFLAGS-test-double.c): Likewise.
18951         (CFLAGS-test-float.c): Likewise.
18952         (CFLAGS-test-misc.c): Likewise.
18953         (CFLAGS-test-test-fenv.c): Likewise.
18955 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18957         [BZ #2550]
18958         [BZ #2570]
18959         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18960         comparisons to determine direction to adjust input.
18962 2012-05-01  Roland McGrath  <roland@hack.frob.com>
18964         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18965         output to the target.
18967         * scripts/localplt.awk: New file.
18968         * elf/Makefile ($(objpfx)check-localplt): Target removed.
18969         (check-localplt-CFLAGS): Variable removed.
18970         ($(all-built-dso:=.jmprel)): New static pattern rule.
18971         (generated): Add those targets.
18972         (localplt-built-dso): New variable.
18973         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18975         * elf/check-localplt.c: File removed.
18977         * scripts/check-execstack.awk: New file.
18978         * elf/Makefile ($(objpfx)check-execstack): Target removed.
18979         (check-execstack-CFLAGS): Variable removed.
18980         ($(objpfx)check-execstack.h): Target removed.
18981         ($(objpfx)execstack-default): New target.
18982         (generated): Add that instead of check-execstack.h.
18983         ($(all-built-dso:=.phdr)): New static pattern rule.
18984         (generated): Add those targets.
18985         * elf/check-execstack.c: File removed.
18987         * scripts/check-textrel.awk: New file.
18988         * elf/Makefile ($(objpfx)check-textrel): Target removed.
18989         (check-textrel-CFLAGS): Variable removed.
18990         (all-built-dso): Use := to define.o
18991         ($(all-built-dso:=.dyn)): New static pattern rule.
18992         (generated): Add those targets.
18993         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18994         * config.make.in (READELF): New substituted variable.
18995         * elf/check-textrel.c: File removed.
18997 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
18999         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19000         allow.
19001         * conform/data/ctype.h-data [C99-based standards] (isblank):
19002         Expect function.
19003         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19004         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19005         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19006         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19007         Specify type.  Require positive value.
19008         (EILSEQ): Likewise.
19009         (ERANGE): Likewise.
19010         [ISO || POSIX] (EILSEQ): Do not expect.
19011         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19012         Specify type.  Require positive value.
19013         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19014         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19015         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19016         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19017         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19018         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19019         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19020         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19021         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19022         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19023         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19024         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19025         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19026         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19027         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19028         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19029         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19030         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19031         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19032         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19033         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19034         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19035         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19036         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19037         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19038         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19039         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19040         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19041         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19042         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19043         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19044         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19045         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19046         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19047         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19048         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19049         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19050         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19051         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19052         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19053         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19054         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19055         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19056         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19057         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19058         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19059         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19060         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19061         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19062         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19063         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19064         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19065         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19066         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19067         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19068         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19069         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19070         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19071         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19072         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19073         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19074         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19075         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19076         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19077         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19078         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19079         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19080         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19081         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19082         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19083         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19084         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19085         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19086         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19087         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19088         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19089         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19090         Require >= 2.
19091         (FLT_ROUNDS): Expect as macro, not constant.
19092         (FLT_MANT_DIG): Use macro-int-constant.
19093         (DBL_MANT_DIG): Likewise.
19094         (LDBL_MANT_DIG): Likewise.
19095         (FLT_DIG): Likewise.
19096         (DBL_DIG): Likewise.
19097         (LDBL_DIG): Likewise.
19098         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
19099         (DBL_MIN_EXP): Likewise.
19100         (LDBL_MIN_EXP): Likewise.
19101         (FLT_MAX_EXP): Use macro-int-constant.
19102         (DBL_MAX_EXP): Likewise.
19103         (LDBL_MAX_EXP): Likewise.
19104         (FLT_MAX_10_EXP): Likewise.
19105         (DBL_MAX_10_EXP): Likewise.
19106         (LDBL_MAX_10_EXP): Likewise.
19107         (FLT_MAX): Use macro-constant.
19108         (DBL_MAX): Likewise.
19109         (LDBL_MAX): Likewise.
19110         (FLT_EPSILON): Use macro-constant.  Give upper bound.
19111         (DBL_EPSILON): Likewise.
19112         (LDBL_EPSILON): Likewise.
19113         (FLT_MIN): Likewise.
19114         (DBL_MIN): Likewise.
19115         (LDBL_MIN): Likewise.
19116         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19117         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19118         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19119         [ISO11] (FLT_HAS_SUBNORM): Likewise.
19120         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19121         [ISO11] (DBL_DECIMAL_DIG): Likewise.
19122         [ISO11] (FLT_DECIMAL_DIG): Likewise.
19123         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19124         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19125         [ISO11] (FLT_TRUE_MIN): Likewise.
19126         [ISO11] (LDBL_TRUE_MIN): Likewise.
19127         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19128         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19129         (SCHAR_MIN): Use macro-int-constant.  Specify type.
19130         (SCHAR_MAX): Likewise.
19131         (UCHAR_MAX): Likewise.
19132         (CHAR_MIN): Likewise.
19133         (CHAR_MAX): Likewise.
19134         (MB_LEN_MAX): Use macro-int-constant.
19135         (SHRT_MIN): Use macro-int-constant.  Specify type.
19136         (SHRT_MAX): Likewise.
19137         (USHRT_MAX): Likewise.
19138         (INT_MAX): Likewise.
19139         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
19140         bound negative.
19141         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19142         bound with "U".
19143         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19144         bound with "L".
19145         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
19146         bound negative.  Suffix upper bound with "L".
19147         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19148         bound with "UL".
19149         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19150         Specify type.
19151         [C99-based standards] (LLONG_MAX): Likewise.
19152         [C99-based standards] (ULLONG_MAX): Likewise.
19153         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
19154         == 0.
19155         [ISO11] (max_align_t): Require type.
19156         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19158         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19159         from $CFLAGS, without defining away __attribute__ calls.
19160         (checknamespace): Use $CFLAGS_namespace.
19162         * conform/conformtest.pl (@keywords): Only include C99 keywords
19163         for standards based on C99 or C11.
19165         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19166         Disable tests.
19167         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19168         UNIX98]: Likewise.
19170         * conform/conformtest.pl: Handle "macro-int-constant" and test for
19171         usability of symbols in #if.
19173         * conform/conformtest.pl: If macro or constant types start
19174         "promoted:", expect the symbol to be of the following type
19175         promoted by the integer promotions.
19177         * conform/conformtest.pl: Parse all "constant" and "macro" lines
19178         in one place.  Also handle "macro-constant".
19180         * conform/conformtest.pl: Only accept expected macro values with
19181         "==".  Parse all "macro" lines in one place.
19182         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19184         * conform/conformtest.pl: Handle braced types on "constant" lines
19185         instead of handling "typed-constant".
19186         * conform/data/signal.h-data: Use "constant" instead of
19187         "typed-constant".
19189         * conform/conformtest.pl: Handle "optional-" at start of lines in
19190         one place rather than duplicating several cases.  Handle each
19191         format of "macro" line with initial "optional-".
19193         * conform/conformtest.pl: Only accept expected constant or
19194         optional-constant values with "==".  Parse all "constant" lines in
19195         one place.  Parse all "optional-constant" lines in one place.
19196         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19197         * conform/data/fmtmsg.h-data: Likewise.
19198         * conform/data/netinet/in.h-data: Likewise.
19199         * conform/data/tar.h-data: Likewise.
19200         * conform/data/limits.h-data: Use "==" form on "constant" and
19201         "optional-constant" lines.
19203         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19204         Use -std=c99 for XOPEN2K.
19205         (@knownproblems): Remove.
19206         (newtoken): Don't check %isknown.
19208         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19209         Do not expect macro.
19210         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19211         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19212         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19213         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19214         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19215         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19216         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19217         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19218         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19219         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19220         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19221         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19222         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19223         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19224         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19225         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19226         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19227         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19228         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19229         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19230         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19231         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19232         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19233         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19234         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19235         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19236         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19237         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19238         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19239         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19240         [XPG3] (acosh): Likewise.
19241         [XPG3] (asinh): Likewise.
19242         [XPG3] (atanh): Likewise.
19243         [XPG3] (cbrt): Likewise.
19244         [XPG3] (expm1): Likewise.
19245         [XPG3] (ilogb): Likewise.
19246         [XPG3] (log1p): Likewise.
19247         [XPG3] (logb): Likewise.
19248         [XPG3] (nextafter): Likewise.
19249         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19250         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19251         [XPG3] (remainder): Likewise.
19252         [XPG3] (rint): Likewise.
19253         [XPG3 || XPG4 || UNIX98] (round): Likewise.
19254         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19255         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19256         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19257         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19258         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19259         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19260         [UNIX98 || XOPEN2K] (scalb): Expect.
19261         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19262         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19263         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19264         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19265         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19266         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19267         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19268         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19269         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19270         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19271         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19272         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19273         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19274         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19275         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19276         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19277         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19278         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19279         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19280         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19281         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19282         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19283         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19284         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19285         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19286         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19287         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19288         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19289         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19290         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19291         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19292         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19293         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19294         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19295         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19296         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19297         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19298         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19299         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19300         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19301         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19302         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19303         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19304         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19305         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19306         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19307         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19308         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19309         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19310         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19311         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19312         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19313         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19314         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19315         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19316         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19317         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19318         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19319         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19320         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19321         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19322         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19323         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19324         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19325         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19326         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19327         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19328         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19329         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19330         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19331         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19332         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19333         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19334         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19335         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19336         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19337         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19338         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19339         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19340         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19341         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19342         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19343         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19344         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19345         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19346         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19347         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19348         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19349         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19350         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19351         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19352         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19353         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19354         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19355         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19356         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19357         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19358         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19359         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19360         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19361         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19362         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19363         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19364         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19365         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19366         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19367         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19368         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19369         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19370         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19371         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19372         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19373         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19374         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19375         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19376         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19377         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19378         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19379         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19380         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19381         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19382         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19383         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19384         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19385         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19386         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19387         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19388         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19389         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19390         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19391         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19392         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19393         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19394         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19395         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19396         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19397         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19399         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19400         _XOPEN_SOURCE_EXTENDED for XPG4.
19402         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19404         * Makeconfig (localtime): Remove variable.
19405         (inst_localtime-file): Likewise.
19407 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19410         Update.
19411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19412         Update.
19413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19414         Update.
19415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19416         Update.
19417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19418         Update.
19419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19420         Update.
19421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19422         Update.
19423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19424         Update.
19425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19426         Update.
19428 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19430         [BZ #2550]
19431         [BZ #2570]
19432         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19433         comparisons to determine direction to adjust input.
19434         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19435         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19436         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19437         Likewise.
19438         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19439         Likewise.
19440         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19441         Likewise.
19442         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19443         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19444         Likewise.
19445         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19446         Likewise.
19447         * math/libm-test.inc (nexttoward_test): Add more tests.
19449 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19451         [BZ #14040]
19452         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19453         in version GLIBC_2.1, not GLIBC_2.0.
19454         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19455         Likewise.
19457 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
19459         [BZ #13942]
19460         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19461         (1 - x) * (1 + x).
19462         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19463         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19464         * math/libm-test.inc (acos_test): Add more tests.
19465         (asin_test): Likewise.
19466         * sysdeps/i386/fpu/libm-test-ulps: Update.
19467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19469         [BZ #14034]
19470         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19471         of square root.
19472         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19473         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19474         * math/libm-test.inc (acos_test_tonearest): New function.
19475         (acos_test_towardzero): Likewise.
19476         (acos_test_downward): Likewise.
19477         (acos_test_upward): Likewise.
19478         (asin_test_tonearest): Likewise.
19479         (asin_test_towardzero): Likewise.
19480         (asin_test_downward): Likewise.
19481         (asin_test_upward): Likewise.
19482         (main): Call the new functions.
19483         * sysdeps/i386/fpu/libm-test-ulps: Update.
19484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19486         [BZ #13884]
19487         [BZ #13924]
19488         * math/e_exp10.c: Include <float.h>.
19489         (__ieee754_exp10): Handle underflow here rather than multiplying
19490         large negative argument by M_LN10.
19491         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19492         of __ieee754_expf.
19493         * math/e_exp10l.c: Include <float.h>.
19494         (__ieee754_exp10l): Handle underflow here rather than multiplying
19495         large negative argument by M_LN10l.
19496         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
19497         spurious overflow exception on underflow.
19499 2012-04-29  Marek Polacek  <polacek@redhat.com>
19501         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19502         (__fortify_function): New macro.
19503         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19504         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19505         __extern_always_inline.
19506         * libio/bits/stdio2.h: Likewise.
19507         * libio/bits/stdio.h: Likewise.
19508         * string/string.h: Likewise.
19509         * string/bits/string3.h: Likewise.
19510         * include/stdio.h: Likewise.
19511         * stdlib/bits/stdlib.h: Likewise.
19512         * stdlib/stdlib.h: Likewise.
19513         * rt/bits/mqueue2.h: Likewise.
19514         * rt/mqueue.h: Likewise.
19515         * posix/bits/unistd.h: Likewise.
19516         * posix/unistd.h: Likewise.
19517         * io/bits/poll2.h: Likewise.
19518         * io/bits/fcntl2.h: Likewise.
19519         * io/fcntl.h: Likewise.
19520         * io/sys/poll.h: Likewise.
19521         * misc/bits/syslog.h: Likewise.
19522         * misc/bits/syslog-ldbl.h: Likewise.
19523         * misc/sys/syslog.h: Likewise.
19524         * socket/bits/socket2.h: Likewise.
19525         * socket/sys/socket.h: Likewise.
19526         * debug/tst-chk1.c: Likewise.
19527         * wcsmbs/bits/wchar2.h: Likewise.
19528         * wcsmbs/bits/wchar-ldbl.h: Likewise.
19529         * wcsmbs/wchar.h: Likewise.
19531 2012-04-29  Andreas Jaeger  <aj@suse.de>
19533         * Makerules (tests): Remove enable-check-abi protection.
19534         (check-abi-warn): Remove.
19535         (check-abi-%): Remove check-abi-warn usage.
19537         * configure.in: Remove check-abi configure option.
19538         * configure: Regenerated.
19539         * config.make.in (enable-check-abi): Remove.
19541 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
19543         [BZ #14033]
19544         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19545         double functions to double *_finite functions.
19547         [BZ #13941]
19548         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19549         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19550         LDBL_MIN_EXP.
19551         * stdio-common/Makefile (tests): Add tst-sprintf3.
19552         * stdio-common/tst-sprintf3.c: New file.
19554         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19555         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19557 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19559         * conform/conformtest.pl: Remove duplicate typed-constant
19560         handling.
19562 2012-04-28  David S. Miller  <davem@davemloft.net>
19564         * Makerules (%.abilist): Add vpath on sysdep_dirs.
19565         (check-abi-%): Remove AWK script prerequisite and explicit
19566         abilist directory.
19567         (check-abi): Rewrite to just diff the symlist with the abilist.
19568         (config-tls, config-abi-config): Delete, no longer used.
19569         (update-abi-%): Remove AWK script and explicit abilist directory.
19570         (update-abi): Rewrite to simply compare and conditionally copy the
19571         symlist and the sysdep abilist file.  Remove update-abi-config
19572         checks.
19573         * abilist/ld.abilist: Remove.
19574         * abilist/libBrokenLocale.abilist: Remove.
19575         * abilist/libanl.abilist: Remove.
19576         * abilist/libcrypt.abilist: Remove.
19577         * abilist/libdl.abilist: Remove.
19578         * abilist/librt.abilist: Remove.
19579         * abilist/libthread_db.abilist: Remove.
19580         * abilist/libutil.abilist: Remove.
19581         * scripts/extract-abilist.awk: Remove.
19582         * scripts/merge-abilist.awk: Remove.
19583         * sysdeps/generic/libcidn.abilist: New file.
19584         * sysdeps/generic/libnss_compat.abilist: New file.
19585         * sysdeps/generic/libnss_db.abilist: New file.
19586         * sysdeps/generic/libnss_dns.abilist: New file.
19587         * sysdeps/generic/libnss_files.abilist: New file.
19588         * sysdeps/generic/libnss_hesiod.abilist: New file.
19589         * sysdeps/generic/libnss_nis.abilist: New file.
19590         * sysdeps/generic/libnss_nisplus.abilist: New file.
19591         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19592         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19593         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19594         file.
19595         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19596         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19597         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19598         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19599         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19600         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19601         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19602         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19603         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19604         file.
19605         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19606         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19607         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19608         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19609         file.
19610         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19611         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19612         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19613         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19614         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19615         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19616         file.
19617         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19618         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19619         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19620         file.
19621         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19622         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19623         New file.
19624         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19625         New file.
19626         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19627         New file.
19628         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19629         New file.
19630         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19631         New file.
19632         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19633         New file.
19634         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19635         New file.
19636         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19637         New file.
19638         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19639         New file.
19640         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19641         New file.
19642         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19643         New file.
19644         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19645         New file.
19646         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19647         New file.
19648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19649         file.
19650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19651         New file.
19652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19653         New file.
19654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19655         file.
19656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19657         New file.
19658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19659         New file.
19660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19661         file.
19662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19663         New file.
19664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19665         New file.
19666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19667         New file.
19668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19669         New file.
19670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19671         New file.
19672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19673         New file.
19674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19675         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19676         file.
19677         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19678         New file.
19679         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19680         file.
19681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19682         file.
19683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19684         file.
19685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19686         file.
19687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19688         file.
19689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19690         New file.
19691         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19692         file.
19693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19694         file.
19695         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19696         New file.
19697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19698         file.
19699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19701         file.
19702         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19703         New file.
19704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19705         file.
19706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19707         file.
19708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19709         file.
19710         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19711         file.
19712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19713         file.
19714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19715         New file.
19716         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19717         file.
19718         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19719         file.
19720         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19721         New file.
19722         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19723         file.
19724         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19725         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19726         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19727         file.
19728         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19729         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19730         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19731         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19732         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19733         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19734         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19735         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19736         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19737         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19740         file.
19741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19742         New file.
19743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19744         file.
19745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19746         file.
19747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19748         file.
19749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19750         file.
19751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19752         file.
19753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19754         New file.
19755         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19756         New file.
19757         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19758         file.
19759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19760         New file.
19761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19762         file.
19763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19764         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19765         file.
19766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19767         New file.
19768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19769         file.
19770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19771         file.
19772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19773         file.
19774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19775         file.
19776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19777         file.
19778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19779         New file.
19780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19781         New file.
19782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19783         file.
19784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19785         New file.
19786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19787         file.
19789 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19791         * conform/conformtest.pl: Fix typo in handling typed-constant from
19792         allow-header.
19794 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19796         * README: Cut down references to pre-2.6 Linux kernels and
19797         Linuxthreads.  Update lists of configurations in libc and ports
19798         and sort alphabetically.  Say "or newer" with Linux kernel version
19799         requirements.
19801         * config.h.in [IS_IN_build]: Allow compiling without optimization.
19803 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19805         [BZ #887]
19806         * math/libm-test.inc (logb_test_downward): New test to expose
19807         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19808         rounding mode.
19810 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19812         [BZ #14027]
19813         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19814         to be done.
19815         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19816         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19818 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
19820         * sysdeps/unix/i386/brk.S: Remove file.
19821         * sysdeps/unix/i386/dl-brk.S: Likewise.
19822         * sysdeps/unix/i386/pipe.S: Likewise.
19823         * sysdeps/unix/i386/sigreturn.S: Likewise.
19824         * sysdeps/unix/i386/syscall.S: Likewise.
19825         * sysdeps/unix/i386/vfork.S: Likewise.
19826         * sysdeps/unix/i386/wait.S: Likewise.
19828         * sysdeps/unix/common/tcsendbrk.c: Move to ...
19829         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19831         * configure.in (arm*-none*): Do not allow without
19832         --enable-hacker-mode.
19833         (netbsd*): Remove case setting base_os.
19834         (386bsd*): Likewise.
19835         (freebsd*): Likewise.
19836         (bsdi*): Likewise.
19837         (osf*): Likewise.
19838         (sunos*): Likewise.
19839         (ultrix*): Likewise.
19840         (newsos*): Likewise.
19841         (dynix*): Likewise.
19842         (*bsd*): Likewise.
19843         (sysv*): Likewise.
19844         (isc*): Likewise.
19845         (esix*): Likewise.
19846         (sco*): Likewise.
19847         (minix*): Likewise.
19848         (irix4*): Likewise.
19849         (irix6*): Likewise.
19850         (solaris[2-9]*): Likewise.
19851         (none): Likewise.
19852         * configure: Regenerated.
19854 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19856         [BZ #11521]
19857         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19858         overflow or cancellation in calculating denominator.
19859         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19860         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19861         down expression to avoid unexpected rounding in newer GCCs.
19862         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19864 2012-04-26  David S. Miller  <davem@davemloft.net>
19866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19867         long-double compat symbols.
19868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19873         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19875         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19882 2012-04-25  David S. Miller  <davem@davemloft.net>
19884         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19885         HWCAP_* values only after the memory barriers have been defined.
19886         (atomic_full_barrier): Define.
19887         (atomic_read_barrier): Define.
19888         (atomic_write_barrier): Define.
19890 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19892         * shlib-versions: Add libgcc_s version information.
19893         * sysdeps/generic/libgcc_s.h: Remove.
19894         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19895         libgcc_s.h.
19896         * sysdeps/gnu/unwind-resume.c: Likewise.
19897         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19899 2012-04-25  David S. Miller  <davem@davemloft.net>
19901         * sysdeps/unix/sparc/brk.S: Delete.
19902         * sysdeps/unix/sparc/dl-brk.S: Delete.
19903         * sysdeps/unix/sparc/pipe.S: Delete.
19904         * sysdeps/unix/sparc/sysdep.S: Delete.
19905         * sysdeps/unix/sparc/sysdep.h: Delete.
19906         * sysdeps/unix/sparc/vfork.S: Delete.
19907         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19908         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19909         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19910         ret_ERRVAL, r0, r1, MOVE): Define.
19911         (JUMPTARGET): Remove.
19912         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19913         sysdeps/unix/sparc/sysdep.h
19914         (ENTRY, END): Remove.
19915         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19917 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
19919         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19920         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19921         -DIS_IN_build.
19923         * timezone/README: Update upstream location and email address for
19924         tzcode and tzdata.
19925         * timezone/zdump.c: Update from tzcode 2012b.
19926         * timezone/zic.c: Likewise.
19928         * configure.in (libc_cv_as_needed): Remove test.
19929         * configure: Regenerated.
19930         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19931         conditional definition.
19932         [$(have-as-needed) != yes] (no-as-needed): Likewise.
19933         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19934         * config.make.in (have-as-needed): Remove variable.
19936 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19937             Paul Pluzhnikov  <ppluzhnikov@google.com>
19939         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19940         strings correctly.
19942 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19944         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19945         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19946         * sysdeps/sh/strlen.S: Likewise.
19948 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19950         * sysdeps/unix/fork.S: Remove file.
19951         * sysdeps/unix/i386/fork.S: Likewise.
19952         * sysdeps/unix/sparc/fork.S: Likewise.
19954         * sysdeps/unix/system.c: Remove file.
19955         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19957         * sysdeps/unix/getegid.S: Remove file.
19958         * sysdeps/unix/geteuid.S: Likewise.
19960 2012-04-24  Roland McGrath  <roland@hack.frob.com>
19962         * scripts/check-localplt.awk: New file.
19963         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19964         of diff.
19965         * scripts/data/localplt-generic.data: Add a comment.
19967         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19968         NODE when __dir_mkfile failed.
19969         * sysdeps/mach/hurd/symlinkat.c: Likewise.
19970         Reported by Ludovic Courtès <ludo@gnu.org>.
19972 2012-04-24  Andreas Jaeger  <aj@suse.de>
19974         * Makerules (common-clean): Also remove gen-as-const-headers
19975         files.
19977 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19979         * Makerules (native-compile): Do not change working directory for
19980         build.  Use $(OUTPUT_OPTION) in command.
19981         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19983 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19985         [BZ #13886]
19986         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19987         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19988         * math/libm-test.inc (floor_test): Add more tests.
19989         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19991 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19993         * sysdeps/unix/getdents.c: Remove file.
19994         * sysdeps/unix/sysv/getdents.c: Likewise.
19995         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19997         * sysdeps/unix/syscalls.list (madvise): Add syscall from
19998         sysdeps/unix/mman/syscalls.list.
19999         (mmap): Likewise.
20000         (mprotect): Likewise.
20001         (msync): Likewise.
20002         (munmap): Likewise.
20003         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20004         * sysdeps/unix/mman/syscalls.list: Remove.
20005         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20007         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20008         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20009         * configure: Regenerated.
20010         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20011         $(libgcc_s_suffix).
20012         * config.make.in (libgcc_s_suffix): Remove variable.
20014 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
20016         * sysdeps/unix/sysv/gethostname.c: Move to ...
20017         * sysdeps/posix/gethostname.c: ... here.
20019         * sysdeps/unix/execve.S: Remove file.
20021         * sysdeps/unix/_exit.S: Remove file.
20023 2012-04-23  Andreas Jaeger  <aj@suse.de>
20025         [BZ #13739]
20026         * manual/Makefile: Remove make dist support, there's no
20027         need for a stand-alone documentation tar ball.
20028         (TEXI2DVI): Define always, it's not in Makeconfig.
20029         (dist): Removed.
20030         (tar-it): Removed.
20031         (edition): Removed.
20032         (glibc-doc-$(edition).tar): Removed
20033         (%.Z): Removed.
20034         (%.gz): Removed.
20035         (%.uu): Removed.
20036         (ETAGS): Remove, it's in Makeconfig.
20037         (move-if-change): Remove, it's in Makeconfig.
20039 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
20041         [BZ #13970]
20042         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20043         (strtod, strtof, strtold, strtol, strtoul, strtoq)
20044         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20045         (strtod_l, strtof_l, strtold_l): Remove __wur.
20046         It is not necessarily an error to ignore strtol's return value.
20047         One can reliably look at the stored endptr to decide whether
20048         the number had valid syntax.
20050 2012-04-21  Andreas Jaeger  <aj@suse.de>
20052         [BZ #13739]
20053         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20055 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
20057         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20058         * sysdeps/unix/sysv/Versions: Remove file.
20060 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
20062         [BZ #13927]
20063         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20065 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
20067         [BZ #7064]
20068         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20069         version from __vm86.
20071 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
20073         * sysdeps/unix/common/lxstat.c: Remove file.
20074         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20076         * sysdeps/unix/sysv/Makefile: Remove file.
20078         * sysdeps/unix/sysv/direct.h: Remove file.
20080         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20081         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20082         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20083         * sysdeps/unix/sysv/bits/signum.h: Likewise.
20084         * sysdeps/unix/sysv/bits/stat.h: Likewise.
20085         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20086         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20088         * sysdeps/unix/sysv/setrlimit.c: Remove file.
20090         * sysdeps/unix/xmknod.c: Remove file.
20091         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20093         * sysdeps/unix/sysv/settimeofday.c: Remove file.
20095         * sysdeps/unix/sysv/i386/time.S: Remove file.
20097         * sysdeps/unix/fxstat.c: Remove file.
20098         * sysdeps/unix/xstat.c: Likewise.
20099         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20101         * sysdeps/unix/sysv/sigaction.c: Remove file.
20103         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20104         (sysdep_headers): Remove variable.
20105         [termio.h not in sysdep_headers] (generated): Likewise.
20106         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20107         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20108         * sysdeps/unix/sysv/tcdrain.c: Likewise.
20109         * sysdeps/unix/sysv/tcflow.c: Likewise.
20110         * sysdeps/unix/sysv/tcflush.c: Likewise.
20111         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20112         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20113         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20114         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20115         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20117         * sysdeps/unix/siglist.c: Remove file.
20119         * sysdeps/unix/getppid.S: Remove file.
20121         * sysdeps/unix/mkdir.c: Remove file.
20122         * sysdeps/unix/rmdir.c: Likewise.
20124 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
20126         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20127         ERR_MAX value.
20128         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20129         errlist-compat value.
20131 2012-04-18  David S. Miller  <davem@davemloft.net>
20133         * sysdeps/generic/memcopy.h (reg_char): Delete.
20134         * debug/strcat_chk.c: Use char, not reg_char.
20135         * debug/strcpy_chk.c: Likewise.
20136         * debug/strncat_chk.c: Likewise.
20137         * debug/strncpy_chk.c: Likewise.
20138         * string/memchr.c: Likewise.
20139         * string/memrchr.c: Likewise.
20140         * string/rawmemchr.c: Likewise.
20141         * string/strcat.c: Likewise.
20142         * string/strchr.c: Likewise.
20143         * string/strchrnul.c: Likewise.
20144         * string/strcmp.c: Likewise.
20145         * string/strcpy.c: Likewise.
20146         * string/strncat.c: Likewise.
20147         * string/strncmp.c: Likewise.
20148         * string/strncpy.c: Likewise.
20150 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20152         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20153         __builtin_memcopy is called when src and dest ranges are known to not
20154         overlap.
20156 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20158         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20159         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20160         fwd_align_merge macro call.
20161         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20162         bwd_align_merge macro call.
20163         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20165 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20167         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20168         bwd_align_merge macros.
20169         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20170         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20171         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20173 2012-04-18  David S. Miller  <davem@davemloft.net>
20175         * sysdeps/sparc/sparc64/memcopy.h: Delete.
20177 2012-04-18  Andreas Jaeger  <aj@suse.de>
20179         [BZ# 6794]
20180         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20181         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20182         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20184         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20185         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20186         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20188         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20189         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20190         Adjust for changed ldbl-128 files.
20192         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20193         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20194         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20196 2012-04-17  David S. Miller  <davem@davemloft.net>
20198         * sysdeps/sparc/sparc32/memcopy.h: Delete.
20200 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
20202         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20203         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20204         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20205         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20206         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20207         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20209 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20211         [BZ #6794]
20212         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20213         * math/libm-test.inc: Add ilogb errno and exception tests.
20214         * math/w_ilogb.c: New file: ilogb wrapper.
20215         * math/w_ilogbf.c: New file: ilogbf wrapper.
20216         * math/w_ilogbl.c: New file: ilogbl wrapper.
20217         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20218         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20219         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20220         exception being thrown with 0.0 as argument.
20221         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20222         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20223         exception being thrown with 0.0 as argument.
20224         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20225         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20226         exception being thrown with 0.0 as argument.
20227         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20228         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20229         exception being thrown with 0.0 as argument.
20230         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20231         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20232         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20233         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20234         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20235         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20236         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20237         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20238         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20240 2012-04-17  Petr Baudis  <pasky@ucw.cz>
20242         * include/sys/uio.h: Change __vector to __iovec to avoid clash
20243         with altivec.
20245 2012-04-16  Marek Polacek  <polacek@redhat.com>
20247         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20249 2012-04-16  Marek Polacek  <polacek@redhat.com>
20251         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20252         operands of fdivp instruction.
20254 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20256         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20257         * elf/tst-auditmod3b.c: Likewise.
20258         * elf/tst-auditmod4b.c: Likewise.
20259         * elf/tst-auditmod5b.c: Likewise.
20260         * elf/tst-auditmod6b.c: Likewise.
20261         * elf/tst-auditmod6c.c: Likewise.
20262         * elf/tst-auditmod7b.c: Likewise.
20263         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20264         * sysdeps/x86_64/preconfigure.in: Likewise.
20265         * sysdeps/x86_64/preconfigure: Regenerated.
20267 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20269         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20270         __ILP32__.
20272 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
20274         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20275         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20277 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
20279         [BZ #13973]
20280         * locale/iso-639.def: Fix gl language name. Spotted by
20281         Yaron Shahrabani.
20283 2012-04-12  Roland McGrath  <roland@hack.frob.com>
20285         [BZ #2074]
20286         * libio/libio.h (__io_write_fn): Update comment.
20288 2012-04-12  Petr Baudis  <pasky@ucw.cz>
20290         [BZ #2074]
20291         * stdio.texi (Hook Functions): The user provided writer function
20292         is not allowed to return -1.
20294 2012-04-11  David S. Miller  <davem@davemloft.net>
20296         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20298 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
20300         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20301         Add a leading slash to rtkaio.
20303 2012-04-11  Jim Meyering  <meyering@redhat.com>
20305         [BZ #11959]
20306         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20307         It is not necessarily an error to ignore fwrite's return
20308         value.  One can reliably use ferror to test for errors after
20309         the fact.
20311 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20313         * bits/types.h (__snseconds_t): New type.
20314         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20316         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20317         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20318         (__SNSECONDS_T_TYPE): Likewise.
20319         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20320         (__SNSECONDS_T_TYPE): Likewise.
20321         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20322         (__SNSECONDS_T_TYPE): Likewise.
20324 2012-04-10  Andreas Jaeger  <aj@suse.de>
20326         [BZ #2636]
20327         * manual/time.texi (Processor Time): Return type of times is
20328         elapsed real time since an arbitrary point in the past.
20329         (CPU Time): Move CLK_TCK from here...
20330         (Processor Time): ...to here.  Correct description.
20331         * manual/conf.texi (Constants for Sysconf): Correct description of
20332         _SC_CLK_TCK.
20334 2012-04-10  David S. Miller  <davem@davemloft.net>
20336         [BZ #13967]
20337         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20338         where the is a gap between DT_REL(A) and DT_JMPREL.
20340 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20342         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20343         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20344         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20346 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20348         * elf/dl-support.c (_dl_inhibit_cache): New variable.
20349         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20350         (dl_main): Handle --inhibit-cache.
20351         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20352         _dl_inhibit_cache.
20353         * elf/dl-load.c (_dl_map_object): Use it.
20354         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20356 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20358         [BZ #13872]
20359         * sysdeps/i386/fpu/e_powl.S (p78): New object.
20360         (__ieee754_powl): Saturate large exponents rather than testing for
20361         overflow of y*log2(x).
20362         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20363         * math/libm-test.inc (pow_test): Do not permit spurious overflow
20364         exceptions.
20366         [BZ #11521]
20367         * math/s_ctan.c: Include <float.h>.
20368         (__ctan): Avoid internal overflow or cancellation in calculating
20369         denominator.
20370         * math/s_ctanf.c: Likewise.
20371         * math/s_ctanl.c: Likewise.
20372         * math/s_ctanh.c: Likewise.
20373         * math/s_ctanhf.c: Likewise.
20374         * math/s_ctanhl.c: Likewise.
20375         * math/libm-test.inc (ctan_test): Add more tests.
20376         (ctanh_test): Likewise.
20377         * sysdeps/i386/fpu/libm-test-ulps: Update.
20378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20380 2012-04-09  Andreas Jaeger  <aj@suse.de>
20382         [BZ #6894]
20383         * manual/filesys.texi (Directory Entries): Mention that d_namlen
20384         is an optional BSD extension.
20386         [BZ #10254]
20387         * manual/stdio.texi (Opening Streams): Document additional fopen
20388         parameters.
20390 2012-04-09  Roland McGrath  <roland@hack.frob.com>
20392         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20393         %eax without telling the compiler.
20395 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
20397         [BZ # 13963]
20398         * manual/install.texi: Use sourceware.org.
20400 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20402         [BZ #13873]
20403         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20404         (__ieee754_pow): Generate overflow and underflow using huge*huge
20405         and tiny*tiny rather than just returning constant infinity or zero
20406         for large exponents.
20407         * math/libm-test.inc (pow_test): Require overflow exceptions for
20408         applicable cases of large exponents.
20410         [BZ #706]
20411         * sysdeps/i386/fpu/e_pow.S (p10): New object.
20412         (__ieee754_pow): Use iterative multiplication algorithm only for
20413         integer exponents with absolute value below 1024.  Check for odd
20414         integer exponents when using algorithm for real exponents.
20415         * math/libm-test.inc (pow_test): Add more tests.
20416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20418 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
20420         [BZ #13705]
20421         * math/libm-test.inc (exp_test): Do not allow overflow exception
20422         on underflow test.
20424 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
20426         [BZ #13705]
20427         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20428         instead of __kernel_standard_f.
20430 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
20432         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20433         * sysdeps/x86_64/memset_chk.S: Likewise.
20435 2012-04-08  Andreas Jaeger  <aj@suse.de>
20437         [BZ #10153]
20438         * manual/startup.texi (Environment Access): Describe return value
20439         for putenv and setenv.
20441         [BZ #6895]
20442         * manual/filesys.texi (Directory Entries): Add description for
20443         DT_LNK.
20445         [BZ #6890]
20446         * manual/filesys.texi (Directory Entries): Clarify that it's file
20447         system not operating system in the description of DT_UNKNOWN.
20449         [BZ #6578]
20450         * manual/syslog.texi (closelog): Fix reference, it's openlog.
20452 2012-04-08  Stephen Compall  <s11@member.fsf.org>
20454         [BZ #6649]
20455         * manual/llio.texi (Opening and Closing Files): Add cross
20456         reference to explain mode argument.
20458 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
20460         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20461         * sysdeps/x86_64/memset_chk.S: Likewise.
20463 2012-04-07  David S. Miller  <davem@davemloft.net>
20465         * elf/elf.h (R_SPARC_WDISP10): Define.
20466         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20467         R_SPARC_SIZE32.
20468         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20469         R_SPARC_SIZE64 and R_SPARC_H34.
20471 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
20473         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20474         conditions and remove no longer applicable assertion.
20476 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20478         * bits/byteswap.h: Include <features.h>.
20479         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20480         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20482 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20484         * bits/byteswap.h (__bswap_16): Removed.
20485         Include <bits/byteswap-16.h> to get __bswap_16.
20486         * sysdeps/i386/bits/byteswap.h: Likewise.
20487         * sysdeps/s390/bits/byteswap.h: Likewise.
20488         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20489         * bits/byteswap-16.h: New file.
20490         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20491         * sysdeps/s390/bits/byteswap-16.h: Likewise.
20492         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20493         * string/Makefile (headers): Add bits/byteswap-16.h.
20495 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20497         [BZ #13895]
20498         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20499         extra indirection.
20500         * nss/Makefile (tests-static, tests): Add tst-nss-static.
20501         * nss/tst-nss-static.c: New.
20503 2012-04-06  Robert Millan  <rmh@gnu.org>
20505         [BZ #6486]
20506         * manual/llio.texi (File Position Primitive): lseek
20507         refers to WHENCE when it really means OFFSET.
20509 2012-04-06  Andreas Jaeger  <aj@suse.de>
20511         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20512         strncmp declarations.
20514         * abilist/libc.abilist: Add __poll and __ppoll.
20516 2012-04-05  David S. Miller  <davem@davemloft.net>
20518         * scripts/check-local-headers.sh: Accept a host triplet in the
20519         path matched by the exclude regexp.
20521         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20522         definition.
20523         * sysdeps/powerpc/powerpc32/dl-machine.h
20524         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20525         * sysdeps/s390/s390-32/dl-machine.h
20526         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20527         * sysdeps/sparc/sparc32/dl-machine.h
20528         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20529         * sysdeps/sparc/sparc64/dl-machine.h
20530         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20532         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20533         lazy binding.
20534         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20535         undefined symbol errors.
20537         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20538         DT_NEEDED entries.
20540 2012-04-05  Michael Matz  <matz@suse.de>
20542         [BZ #13592]
20543         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20545 2012-04-05  Andreas Jaeger  <aj@suse.de>
20547         [BZ #13908]
20548         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20549         comment.
20551 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20553         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20554         which ROUND is no valid rounding mode.
20556 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20558         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20559         read again.
20560         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20562 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20564         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20565         an exception using FPU order intentionally.
20567 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20569         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20570         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20571         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20572         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20574 2012-04-05  Simon Josefsson  <simon@josefsson.org>
20576         [BZ #12340]
20577         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20578         EINVAL when BUFLEN is too smal.
20580 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20582         [BZ #13553]
20583         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20584         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20586 2012-04-03  Andreas Jaeger  <aj@suse.de>
20588         [BZ #13938]
20589         * manual/setjmp.texi (System V contexts): Fix sentence.
20591         [BZ #13926]
20592         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20593         New macro for this case.
20594         [!__GNUC__] (__bswap_64): New inline function for this case.
20595         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20596         * bits/byteswap.h: Likewise.
20597         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20598         ull, guard with __GLIBC_HAVE_LONG_LONG.
20600         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20601         __GLIBC_HAVE_LONG_LONG.
20603         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20604         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20606 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20608         [BZ #13691]
20609         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20610         inptr and inend, rather than using last_ch.
20612 2012-04-02  David S. Miller  <davem@davemloft.net>
20614         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20615         * stdio-common/printf-parse.h (read_int): Change return type to
20616         'int', return -1 on INT_MAX overflow.
20617         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20618         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
20619         overflows INT_MAX.  Check for overflow of in-format-string precision
20620         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
20621         SIZE_MAX not INT_MAX for integer overflow test.
20622         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20623         skip the construct in the format string but do not record anything.
20624         * stdio-common/bug22.c: Adjust to test both width/prevision
20625         INT_MAX overflow as well as total length INT_MAX overflow.  Check
20626         explicitly for proper errno values.
20628 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20630         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20631         CHAR_MAX.
20632         * string/test-strcmp.c [! WIDE]: Likewise.
20633         * time/tst-mktime2.c: Likewise for INT_MAX.
20634         * string/test-string.h: #include <sys/param.h> for MIN.
20636         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20637         * sysdeps/i386/init-first.c (init): Likewise.
20638         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20639         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20640         * sysdeps/sh/init-first.c (init): Likewise.
20642 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20644         * po/ru.po: Update from translation team.
20645         * po/vi.po: Likewise.
20647 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20649         * resolv/nss_dns/dns-host.c: Merge copyright years.
20651 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20653         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20654         Optimize memcpy with prefetch if
20655         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20656         src, dst pointers have unequal 16 byte alignments.
20658 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20660         [BZ #13928]
20661         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20662         from a CNAME entry and return the minimum ttl for the query.
20663         (gaih_getanswer_slice): Likewise.
20665 2012-03-30  Jeff Law  <law@redhat.com>
20667         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20668         due to long keys.
20669         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20670         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20672         * resolv/nss_dns/dns-host.c: Update copyright year.
20674 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20676         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20677         requests to save a system call.  Fix check that all bytes are sent.
20679         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20680         comments for sendmmsg.
20682 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20684         [BZ #13691]
20685         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20686         with only 1 character between 0x0041 and 0x01b0.
20687         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20688         * wcsmbs/tst-mbsnrtowcs.c: New file.
20690 2012-03-29  David S. Miller  <davem@davemloft.net>
20692         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20693         small copies by hand.
20695 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20697         [BZ #13761]
20698         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20699         _nss_compat_initgroups_dyn): Fall back to malloc/free
20700         for large group memberships.
20702 2012-03-28  David S. Miller  <davem@davemloft.net>
20704         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20705         that branches into memcpy.
20706         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20707         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20708         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20709         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20710         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20711         bits.
20712         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20713         implementation too.
20714         * sysdeps/sparc/mempcpy.S: New file.
20716         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20717         the IFUNC routine in the libc case.
20718         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20720         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20721         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20722         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20723         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20724         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20725         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20726         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20727         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20729         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20730         loop to 256 bytes instead of 64 bytes and fix test signedness.
20732         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20733         * sysdeps/sparc/sparc32/Makefile: rather than here...
20734         * sysdeps/sparc/sparc64/Makefile: and here.
20736 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
20738         * malloc/mallocbug.c: Avoid warnings about unused variables.
20740 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20742         [BZ #13760]
20743         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20744         in the right place. Discard and retry query if response is
20745         larger than input buffer size.
20747 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
20749         [BZ #369]
20750         [BZ #2678]
20751         [BZ #3866]
20752         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20753         x for large integer exponent.
20754         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20755         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
20756         sign of result as needed afterwards.
20757         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20758         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20759         result for underflowing pow the same as for overflow.
20760         (__kernel_standard_l): Handle powl overflow and underflow here
20761         rather than calling __kernel_standard.
20762         * math/libm-test.inc (pow_test): Add more tests.
20764         [BZ #3868]
20765         [BZ #13879]
20766         [BZ #13910]
20767         [BZ #13911]
20768         [BZ #13912]
20769         [BZ #13913]
20770         [BZ #13915]
20771         [BZ #13916]
20772         [BZ #13917]
20773         [BZ #13918]
20774         [BZ #13919]
20775         [BZ #13920]
20776         [BZ #13921]
20777         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20778         * sysdeps/ieee754/k_standard.c: Include <float.h>.
20779         (__kernel_standard_l): New function.
20780         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20781         __kernel_standard.
20782         * math/w_acosl.c (__acosl): Likewise.
20783         * math/w_asinl.c (__asinl): Likewise.
20784         * math/w_atan2l.c (__atan2l): Likewise.
20785         * math/w_atanhl.c (__atanhl): Likewise.
20786         * math/w_coshl.c (__coshl): Likewise.
20787         * math/w_exp10l.c (__exp10l): Likewise.
20788         * math/w_exp2l.c (__exp2l): Likewise.
20789         * math/w_fmodl.c (__fmodl): Likewise.
20790         * math/w_hypotl.c (__hypotl): Likewise.
20791         * math/w_j0l.c (__j0l, __y0l): Likewise.
20792         * math/w_j1l.c (__j1l, __y1l): Likewise.
20793         * math/w_jnl.c (__jnl, __ynl): Likewise.
20794         * math/w_lgammal.c (__lgammal): Likewise.
20795         * math/w_log10l.c (__log10l): Likewise.
20796         * math/w_log2l.c (__log2l): Likewise.
20797         * math/w_logl.c (__logl): Likewise.
20798         * math/w_powl.c (__powl): Likewise.
20799         * math/w_remainderl.c (__remainderl): Likewise.
20800         * math/w_scalbl.c (sysv_scalbl): Likewise.
20801         * math/w_sinhl.c (__sinhl): Likewise.
20802         * math/w_sqrtl.c (__sqrtl): Likewise.
20803         * math/w_tgammal.c (__tgammal): Likewise.
20804         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20805         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20806         * math/libm-test.inc (acos_test): Add more tests.
20807         (acosh_test): Likewise.
20808         (asin_test): Likewise.
20809         (atanh_test): Likewise.
20810         (exp_test): Likewise.
20811         (exp10_test): Likewise.
20812         (exp2_test): Likewise.
20813         (expm1_test): Likewise.
20814         (lgamma_test): Likewise.
20815         (log_test): Likewise.
20816         (log10_test): Likewise.
20817         (log1p_test): Likewise.
20818         (log2_test): Likewise.
20819         (pow_test): Do not allow some spurious overflow exceptions.
20820         (sqrt_test): Add more tests.
20821         (tgamma_test): Likewise.
20822         (y0_test): Likewise.
20823         (y1_test): Likewise.
20824         (yn_test): Likewise.
20826 2012-03-27  Anton Blanchard  <anton@samba.org>
20828         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20829         MAP_HUGETLB.
20830         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20831         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20832         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20834 2012-03-27  David S. Miller  <davem@davemloft.net>
20836         * conform/Makefile: Run run-conformtest.sh using $(BASH).
20838         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20839         have-as-vis3 check.
20841 2012-03-27  Andreas Jaeger  <aj@suse.de>
20843         * sysdeps/x86_64/elf/configure.in: Moved to ...
20844         * sysdeps/x86_64/configure.in: ... here.
20845         * sysdeps/x86_64/elf/start.S: Moved to ...
20846         * sysdeps/x86_64/start.S: ... here.
20847         * sysdeps/x86_64/elf/configure: Delete.
20849         * sysdeps/x86_64/configure.in: Merge contents from
20850         sysdeps/i386/configure.in (without i686 check).
20852         * sysdeps/i386/elf/Versions: Merge into ...
20853         * sysdeps/i386/Versions: ... this.
20854         * sysdeps/i386/elf/Versions: Delete file.
20855         * sysdeps/i386/elf/start.S: Moved to ...
20856         * sysdeps/i386/start.S: ...here.
20857         * sysdeps/i386/elf/configure.in: Merge into...
20858         * sysdeps/i386/configure.in: ...here.
20859         * sysdeps/i386/elf/configure.in: Delete file.
20860         * sysdeps/i386/elf/configure: Delete file.
20862         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20863         * debug/backtracesyms.c: ... here.
20864         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20865         * debug/backtracesymsfd.c: ... here.
20866         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20867         * sysdeps/generic/ifunc-sel.h: ... here.
20869         * sysdeps/unix/i386/start.c: Delete file.
20870         * sysdeps/unix/sparc/start.c: Delete file.
20871         * sysdeps/unix/start.c: Delete file.
20873         * sysdeps/sh/elf/configure.in: Moved to ...
20874         * sysdeps/sh/configure.in: ... here.
20875         * sysdeps/sh/elf/start.S: Moved to ...
20876         * sysdeps/sh/start.S: ... here.
20877         * sysdeps/sh/elf/configure: Delete file.
20879         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20880         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20881         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20882         * sysdeps/powerpc/powerpc64/entry.h: ... here.
20883         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20884         * sysdeps/powerpc/powerpc64/start.S: here.
20885         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20886         * sysdeps/powerpc/powerpc64/Makefile: ... this.
20887         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20888         * sysdeps/powerpc/powerpc64/configure.in: ... this.
20889         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20891         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20892         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20893         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20894         * sysdeps/powerpc/powerpc32/start.S: ... here.
20895         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20896         * sysdeps/powerpc/powerpc32/configure.in: ... this.
20897         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20899         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20900         * sysdeps/powerpc/ifunc-sel.h: ... here.
20901         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20902         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20904         * sysdeps/sparc/elf/configure.in: Moved to ...
20905         * sysdeps/sparc/configure.in: ... here.
20906         * sysdeps/sparc/elf/configure: Delete file.
20907         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20908         * sysdeps/sparc/sparc32/start.S: ... here.
20909         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20910         * sysdeps/sparc/sparc64/start.S: ... here.
20911         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20912         * sysdeps/sparc/sparc32/Makefile: ... this.
20913         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20914         * sysdeps/sparc/sparc64/Makefile: ... this.
20916         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20917         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20918         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20919         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20920         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20921         * sysdeps/s390/s390-32/setjmp.S: ... here.
20922         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20923         * sysdeps/s390/s390-32/configure.in: ... here.
20924         * sysdeps/s390/s390-32/elf/configure: Delete file.
20925         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20926         * sysdeps/s390/s390-32/start.S: ... here.
20928         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20929         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20930         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20931         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20932         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20933         * sysdeps/s390/s390-64/setjmp.S: ... here.
20934         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20935         * sysdeps/s390/s390-64/configure.in: ... here
20936         * sysdeps/s390/s390-64/elf/configure: Delete file.
20937         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20938         * sysdeps/s390/s390-64/start.S: ... here.
20939         * sysdeps/s390/s390-64/elf/configure: Delete.
20941         * configure.in: Remove support for elf directories in sysdeps.
20943         * configure: Regenerated.
20944         * sysdeps/i386/configure: Regenerated.
20945         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20946         * sysdeps/powerpc/powerpc64/configure: Regenerated.
20947         * sysdeps/s390/s390-32/configure: Regenerated.
20948         * sysdeps/s390/s390-64/configure: Regenerated.
20949         * sysdeps/sh/configure: Regenerated.
20950         * sysdeps/sparc/configure: Regenerated.
20951         * sysdeps/x86_64/configure: Regenerated.
20953 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
20955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20957         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20958         denormal result into account.
20960 2012-03-25  Roland McGrath  <roland@hack.frob.com>
20962         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20963         Reported by Allan McRae <allan@archlinux.org>.
20965 2012-03-23  Jeff Law  <law@redhat.com>
20967         * nss/getnssent.c (__nss_getent): Fix typo.
20969 2012-03-23  David S. Miller  <davem@davemloft.net>
20971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20973 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
20975         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20976         to pad to uint64_t for each field.
20977         (dl_tls_index): Replace unsigned long with uint64_t.
20979 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
20980         Paul Pluzhnikov  <ppluzhnikov@google.com>
20982         [BZ #6528]
20983         * grp/Makefile (otherlibs): Don't set it.
20984         * inet/Makefile (otherlibs): Likewise.
20985         * login/Makefile (otherlibs): Likewise.
20986         * nscd/Makefile (otherlibs): Likewise.
20987         * posix/Makefile (otherlibs): Likewise.
20988         * pwd/Makefile (otherlibs): Likewise.
20989         * rt/Makefile (otherlibs): Likewise.
20990         * sunrpc/Makefile (otherlibs): Likewise.
20991         * nss/Makefile (otherlibs): Likewise.
20992         Add libnss_files to routines and static-only-routines.
20993         ($(objpfx)getent): Remove rule.
20994         * resolv/Makefile: Add libnss_dns and libresolv to routines and
20995         static-only-routines.
20997 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
20999         [BZ #13892]
21000         * math/s_cexp.c: Include <float.h>.
21001         (__cexp): Handle exp result overflowing not necessarily
21002         overflowing both real and imaginary parts of result.
21003         * math/s_cexpf.c: Likewise.
21004         * math/s_cexpl.c: Likewise.
21005         * math/libm-test.inc (cexp_test): Add more tests.
21006         * sysdeps/i386/fpu/libm-test-ulps: Update.
21007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21009 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21011         * include/link.h (ELFW): New macro.
21012         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21013         Replace ELF64_R_TYPE with ELFW(R_TYPE).
21015 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21017         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21018         with uint64_t.
21020 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21022         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21023         declaration.
21024         (struct La_x32_retval): Likewise.
21026 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21028         * sysdeps/x86_64/preconfigure.in: New file.
21029         * sysdeps/x86_64/preconfigure: New generated file.
21031 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21033         [BZ #13824]
21034         * math/e_exp2l.c: Include <float.h>.
21035         (__ieee754_exp2l): Handle overflow and underflow cases
21036         separately.  Only pass fractional part of argument to
21037         __ieee754_expl.
21038         * math/libm-test.inc (exp2_test): Add more tests.
21040         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21041         negating x to take absolute value.
21042         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21043         Likewise.
21044         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21045         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21046         Likewise.
21047         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21048         computing low part if x was negated.
21049         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21051 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21053         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21054         la_x32_gnu_pltexit.
21055         (pltexit): Cast int_retval to ptrdiff_t.
21056         * elf/tst-auditmod3b.c: Likewise.
21057         * elf/tst-auditmod4b.c: Likewise.
21058         * elf/tst-auditmod5b.c: Likewise.
21059         * elf/tst-auditmod6b.c: Likewise.
21060         * elf/tst-auditmod6c.c: Likewise.
21061         * elf/tst-auditmod7b.c: Likewise.
21063         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21064         and x32_gnu_pltexit.
21066         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21067         __ELF_NATIVE_CLASS.
21068         (La_x32_regs): New macro.
21069         (La_x32_retval): Likewise.
21070         (la_x32_gnu_pltenter): New function prototype.
21071         (la_x32_gnu_pltexit): Likewise.
21073 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
21075         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21076         exponent.
21078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21080         * configure.in (libc_cv_cc_nofma): Check for option to disable
21081         generation of FMA instructions.
21082         * configure: Regenerate.
21083         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21084         * sysdeps/ieee754/dbl-64/Makefile: New file.
21085         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21086         Remove brandred-fma4.
21087         (CFLAGS-brandred-fma4.c): Remove.
21088         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21089         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21090         define.
21091         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21092         define.
21094 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21096         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21097         LLONG_MAX != LONG_MAX.
21098         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21099         (_fitoa_word): Likewise.
21100         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21101         LLONG_MAX != LONG_MAX.
21102         * stdio-common/_itowa.h: Include <_itoa.h>.
21103         (_itowa_word): Use _ITOA_WORD_TYPE on value.
21104         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
21105         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
21106         only if not defined.
21107         (_ITOA_WORD_TYPE): Likewise.
21108         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21109         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21111 2012-03-21  David S. Miller  <davem@davemloft.net>
21113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21115 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21117         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21118         of x86_64 when setting libc_cv_slibdir, libdir and
21119         libc_cv_localedir.
21120         * sysdeps/unix/sysv/linux/configure: Regenerated.
21122 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21124         * manual/lang.texi (Old Varargs): Remove section.
21125         (How Variadic): Update menu.
21126         (va_start): Do not mention varargs.h.
21128 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21129             Joseph Myers  <joseph@codesourcery.com>
21131         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21132         link test.
21133         * configure: Regenerated.
21135 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21137         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21138         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21139         conformtest.pl
21141 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21143         * NOTES: Remove.
21144         * Makefile (files-for-dist): Remove NOTES.
21145         (NOTES): Remove rule.
21146         * README: Don't refer to NOTES.
21147         * manual/creature.texi: Don't include macros.texi.
21148         * manual/intro.texi (creature.texi): Remove comment referring to
21149         NOTES.
21151         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21152         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21153         * configure: Regenerated.
21154         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21155         LIBC_TRY_CC_OPTION.
21156         (libc_cv_as_i686): Likewise.
21157         (libc_cv_cc_avx): Likewise.
21158         (libc_cv_cc_sse2avx): Likewise.
21159         (libc_cv_cc_fma4): Likewise.
21160         (libc_cv_cc_novzeroupper): Likewise.
21161         * sysdeps/i386/configure: Regenerated.
21163         [BZ #13883]
21164         * sysdeps/i386/fpu/s_cexp.S: Remove.
21165         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21166         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21167         * math/libm-test.inc (cexp_test): Add more tests.
21168         * sysdeps/i386/fpu/libm-test-ulps: Update.
21169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21171 2012-03-21  Allan McRae  <allan@archlinux.org>
21173         * timezone/Makefile: Do not install iso3166.tab and zone.tab
21175 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21177         [BZ #13871]
21178         * math/w_exp2.c: Do not include <float.h>.
21179         (o_threshold, u_threshold): Remove.
21180         (__exp2): Calculate result before checking finiteness and calling
21181         __kernel_standard.
21182         * math/w_exp2f.c: Likewise.
21183         * math/w_exp2l.c: Likewise.
21184         * math/libm-test.inc (exp2_test): Require overflow exception for
21185         1e6 input.
21187         [BZ #3866]
21188         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21189         range of signed 64-bit integers before using fistpll.  Remove
21190         checks for whether integers fit in mantissa bits.
21191         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21192         the range of signed 32-bit integers before using fistpl.  Remove
21193         checks for whether integers fit in mantissa bits.
21194         * sysdeps/i386/fpu/e_powl.S (p64): New object.
21195         (__ieee754_powl): Test for y outside the range of signed 64-bit
21196         integers before using fistpll.  Reduce 64-bit values to 63-bit
21197         ones as needed.
21198         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21199         divide-by-zero is raised for zero to large negative powers.
21200         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21201         (__ieee754_powl): Test for y outside the range of signed 64-bit
21202         integers before using fistpll.  Reduce 64-bit values to 63-bit
21203         ones as needed.
21204         * math/libm-test.inc (pow_test): Add more tests.
21206 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21208         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21209         <stdio-common/_itoa.h>.
21210         * debug/segfault.c: Likewise.
21211         * elf/dl-cache.c: Likewise.
21212         * elf/dl-minimal.c: Likewise.
21213         * elf/dl-misc.c: Likewise.
21214         * elf/dl-sysdep.c: Likewise.
21215         * elf/dl-version.c: Likewise.
21216         * elf/rtld.c: Likewise.
21217         * hurd/hurdsock.c: Likewise.
21218         * hurd/lookup-retry.c: Likewise.
21219         * malloc/malloc.c: Likewise.
21220         * malloc/mtrace.c: Likewise.
21221         * nscd/nscd_getgr_r.c: Likewise.
21222         * nscd/nscd_getpw_r.c: Likewise.
21223         * nscd/nscd_getserv_r.c: Likewise.
21224         * posix/getopt_init.c: Likewise.
21225         * posix/wordexp.c: Likewise.
21226         * stdio-common/_itoa.c: Likewise.
21227         * stdio-common/printf_fphex.c: Likewise.
21228         * stdio-common/vfprintf.c: Likewise.
21229         * string/_strerror.c: Likewise.
21230         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21231         * sysdeps/i386/i686/hp-timing.h: Likewise.
21232         * sysdeps/mach/_strerror.c: Likewise.
21233         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21234         * sysdeps/mach/hurd/sethostid.c: Likewise.
21235         * sysdeps/mach/hurd/xmknodat.c: Likewise.
21236         * sysdeps/mach/xpg-strerror.c: Likewise.
21237         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21238         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21239         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21240         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21241         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21242         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21243         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21244         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21245         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21246         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21247         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21248         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21249         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21250         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21251         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21252         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21253         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21254         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21255         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21256         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21257         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21259         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21261         * stdio-common/_itoa.h: Moved to ...
21262         * sysdeps/generic/_itoa.h: Here.
21264         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21266         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21267         instead of "_itoa.h" and "_itowa.h".
21268         * stdio-common/vfprintf.: Likewise.
21270 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21272         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21273         <bits/wordsize.h>.
21274         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21275         (__signbit): Likwise.
21276         (llrintf): Likwise.
21277         (llrint): Likwise.
21279 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21281         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21282         __WORDSIZE != 64.
21284 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
21286         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21287         OVERFLOW_EXCEPTION_OK.
21288         * math/libm-test.inc ("Philosophy"): Update comment about
21289         exception testing.
21290         (OVERFLOW_EXCEPTION): Define.
21291         (OVERFLOW_EXCEPTION_OK): Likewise.
21292         (INVALID_EXCEPTION_OK): Renumber.
21293         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21294         (IGNORE_ZERO_INF_SIGN): Likewise.
21295         (test_exceptions): Handle FE_OVERFLOW.
21296         (exp10_test): Expect overflow exceptions.
21297         (exp2_test): Likewise.
21298         (expm1_test): Likewise.
21299         (nextafter_test): Likewise.
21300         (pow_test): Likewise.
21301         (scalbn_test): Likewise.
21302         (scalbln_test): Likewise.
21304 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21306         * sysdeps/x86_64/bits/atomic.h
21307         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21308         64bit integer.
21309         (atomic_exchange_acq): Likewise.
21310         (__arch_exchange_and_add_body): Likewise.
21311         (__arch_add_body): Likewise.
21312         (atomic_add_negative): Likewise.
21313         (atomic_add_zero): Likewise.
21315 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21317         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21318         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21320 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21322         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21323         Check __x86_64__ instead of __WORDSIZE.
21325 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21327         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21329 2012-03-19  David S. Miller  <davem@davemloft.net>
21331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21333         * sysdeps/sparc/fpu/fenv_private.h: New file.
21334         * sysdeps/sparc/fpu/math_private.h: Use it.
21335         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21336         Remove.
21337         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21338         (libc_feholdexcept_setroundl): Remove.
21339         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21340         Remove.
21341         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21342         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21344 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21346         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21347         int64_t instead of long int.
21348         (INSERT_WORDS64): Likwise.
21350 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21352         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21353         _Unwind_GetCFA return to _Unwind_Ptr first.
21355 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
21357         [BZ #13629]
21358         * math/s_clog.c: Include <float.h>.
21359         (__clog): Scale large or subnormal inputs.
21360         * math/s_clogf.c: Likewise.
21361         * math/s_clogl.c: Likewise.
21362         * math/s_clog10.c: Include <float.h>.
21363         (M_LOG10_2): Define.
21364         (__clog10): Scale large or subnormal inputs.
21365         * math/s_clog10f.c: Likewise.
21366         * math/s_clog10l.c: Likewise.
21367         * math/libm-test.inc (clog_test): Add more tests.
21368         (clog10_test): Likewise.
21369         * sysdeps/i386/fpu/libm-test-ulps: Update.
21370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21372         [BZ #11451]
21373         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21374         x and y.
21375         * math/libm-test.inc (atan2_test): Add another test.
21377         * Makerules (common-objdir-compile): Remove.
21378         * sysdeps/unix/Makefile (config-generated): Do not add
21379         $(unix-generated) to variable.
21380         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21381         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21382         Remove rule.
21383         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21384         Likewise.
21385         [generic bits/local_lim.h] (before-compile): Do not append to
21386         variable.
21387         [generic bits/local_lim.h] (common-generated): Likewise.
21388         [generic sys/param.h] (before-compile): Do not append to variable.
21389         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21390         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21391         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21392         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21393         include.
21394         [generic sys/param.h] (sys/param.h-includes): Remove variable.
21395         [generic sys/param.h] (sys/param.h-includes): Remove rule.
21396         [generic sys/param.h] ($(addprefix
21397         $(common-objpfx),$(sys/param.h-includes))): Likewise.
21398         [generic sys/param.h] (common-generated): Do not append to
21399         variable.
21400         [generic sys/param.h] (sysdep_headers): Likewise.
21401         [generic bits/errno.h] (before-compile): Do not append to
21402         variable.
21403         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21404         rule.
21405         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21406         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21407         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21408         [generic bits/errno.h] (common-generated): Do not append to
21409         variable.
21410         [generic bits/ioctls.h] (before-compile): Do not append to
21411         variable.
21412         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21413         rule.
21414         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21415         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21416         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21417         rule.
21418         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21419         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21420         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21421         [generic bits/ioctls.h] (common-generated): Do not append to
21422         variable.
21423         [generic sys/syscall.h] (syscall.h): Remove variable.
21424         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21425         rule.
21426         [generic sys/syscall.h] (before-compile): Do not append to
21427         variable.
21428         [generic sys/syscall.h] (common-generated): Likewise.
21429         * sysdeps/unix/errnos-tmpl.c: Remove file.
21430         * sysdeps/unix/errnos.awk: Likewise.
21431         * sysdeps/unix/ioctls-tmpl.c: Likewise.
21432         * sysdeps/unix/ioctls.awk: Likewise.
21433         * sysdeps/unix/mk-local_lim.c: Likewise.
21434         * sysdeps/unix/snarf-ioctls: Likewise.
21436 2012-03-19  Richard Henderson  <rth@twiddle.net>
21438         * sysdeps/i386/fpu/fenv_private.h: New file.
21439         * sysdeps/i386/fpu/math_private.h: Use it.
21440         (math_opt_barrier, math_force_eval): Remove.
21441         (libc_feholdexcept_setround_53bit): Remove.
21442         (libc_feupdateenv_53bit): Remove.
21443         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21444         (math_opt_barrier, math_force_eval): Remove.
21445         (libc_feholdexcept): Remove.
21446         (libc_feholdexcept_setround): Remove.
21447         (libc_fetestexcept, libc_fesetenv): Remove.
21448         (libc_feupdateenv_test): Remove.
21449         (libc_feupdateenv, libc_feholdsetround): Remove.
21450         (libc_feresetround): Remove.
21452         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21453         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21455         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21456         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21457         (libc_feupdateenv_testl): New.
21458         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21459         (libc_feupdateenv_testf): New.
21460         (libc_feupdateenv): Use libc_feupdateenv_test.
21461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21462         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21464         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21465         (libc_feholdsetroundf, libc_feholdsetroundl): New.
21466         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21467         (libc_feresetround_noex): New.
21468         (libc_feresetround_noexf): New.
21469         (libc_feresetround_noexl): New.
21470         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21471         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21472         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21473         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21474         SET_RESTORE_ROUND.
21475         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21476         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21477         (__cos): Likewise.
21478         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21479         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21480         SET_RESTORE_ROUND_NOEX.
21481         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21482         SET_RESTORE_ROUND_NOEXF.
21483         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21484         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21485         (libc_feholdsetroundf): New.
21486         (libc_feresetround, libc_feresetroundf): New.
21488         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21489         (libc_feholdexcept_setround_53bit): Convert from macro to function.
21490         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
21492         * sysdeps/generic/math_private.h: Include <fenv.h>.
21493         (default_libc_feholdexcept): New.
21494         (default_libc_feholdexcept_setround): New.
21495         (default_libc_fesetenv, default_libc_feupdateenv): New.
21496         (libc_feholdexcept): Only define if undefined.
21497         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21498         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21499         (libc_feholdexcept_setroundl): Likewise.
21500         (libc_feholdexcept_setround_53bit): Likewise.
21501         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21502         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21503         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21504         (libc_feupdateenv_53bit): Likewise.
21505         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21506         (libc_feholdexcept): Convert from macro to inline function.
21507         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21508         (libc_fesetenv, libc_feupdateenv): Likewise.
21510         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21511         not previously defined.
21512         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21513         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21514         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21515         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21516         * sysdeps/ieee754/flt-32/math_private.h: New file.
21517         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21518         math_private.h below SET_FLOAT_WORD.
21519         (__isnan, __isinf_ns, __finite): Remove.
21520         (__isnanf, __isinf_nsf, __finitef): Remove.
21522 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
21524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21526 2012-03-17  David S. Miller  <davem@davemloft.net>
21528         [BZ #6471]
21529         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21530         for 2.16.
21532 2012-03-16  David S. Miller  <davem@davemloft.net>
21534         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21535         warnings.
21537         [BZ #6471]
21538         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21539         properly.
21540         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21541         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21542         sysdep_routines when subdir is sysvipc.
21543         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21544         __getshmlba helper.
21546         * sysdeps/sparc/fpu/libm-test/ulps: Update.
21548 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21550         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21551         [__LP64__].
21553 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21555         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21556         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21557         (__lround): Renamed to ...
21558         (__llround): This.  Replace long int with long long int.
21559         Define lround functions as aliases of llround functions.
21560         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21562 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21564         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21565         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
21566         adresses to uintptr_t.  Replace "long int" and "unsigned long
21567         int" with "greg_t" on va_arg.
21569 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21571         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21572         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21574         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21575         Move e_machine check before EI_CLASS check.  Handle x32
21576         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21577         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21578         SKIP_EM_IA_64 and include
21579         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21581         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21582         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21583         (add_system_dir): New macro.
21585         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21586         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21588 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21590         [BZ #2551]
21591         [BZ #2552]
21592         [BZ #2553]
21593         [BZ #2554]
21594         [BZ #2562]
21595         [BZ #2563]
21596         [BZ #2565]
21597         [BZ #2566]
21598         [BZ #2576]
21599         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21600         (y0): Likewise.
21601         * math/w_j0f.c (j0f): Likewise.
21602         (y0f): Likewise.
21603         * math/w_j0l.c (__j0l): Likewise.
21604         (__y0l): Likewise.
21605         * math/w_j1.c (j1): Likewise.
21606         (y1): Likewise.
21607         * math/w_j1f.c (j1f): Likewise.
21608         (y1f): Likewise.
21609         * math/w_j1l.c (__j1l): Likewise.
21610         (__y1l): Likewise.
21611         * math/w_jn.c (jn): Likewise.
21612         (yn): Likewise.
21613         * math/w_jnf.c (jnf): Likewise.
21614         (ynf): Likewise.
21615         * math/w_jnl.c (__jnl): Likewise.
21616         (__ynl): Likewise.
21617         * math/libm-test.inc (j0_test): Add more tests.
21618         (j1_test): Likewise.
21619         (jn_test): Likewise.  Add trailing semicolon to existing test.
21620         (y0_test): Likewise.
21621         (y1_test): Likewise.
21622         * sysdeps/i386/fpu/libm-test-ulps: Update.
21623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21625         [BZ #13851]
21626         [BZ #13854]
21627         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21628         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21629         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21630         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21631         (__tanl): Set errno for infinite argument.
21632         * sysdeps/i386/fpu/mptan.c: Remove.
21633         * sysdeps/i386/fpu/s_tan.S: Likewise.
21634         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21635         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21636         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21637         * math/libm-test.inc (tan_test): Add more tests and enable more
21638         tests for double and long double.
21639         * sysdeps/i386/fpu/libm-test-ulps: Update.
21640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21642 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21644         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21645         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21647 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21649         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21650         * configure.in: Use it for both main tree and add-ons.
21651         * configure: Regenerated.
21653 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21655         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21657 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21659         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21660         in comment.
21662         [BZ #13851]
21663         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21664         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21665         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21666         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21667         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21668         infinite argument.
21669         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21670         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21671         != 0 for prec == 2.
21672         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21673         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21674         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21675         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21676         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21677         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21678         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21679         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21680         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21681         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21682         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21683         * math/libm-test.inc (cos_test): Add more tests and enable more
21684         tests for long double.
21685         (sin_test): Likewise.
21686         (sincos_test): Likewise.
21687         * sysdeps/i386/fpu/libm-test-ulps: Update.
21688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21690 2012-03-16  David S. Miller  <davem@davemloft.net>
21692         * sysdeps/sparc/fpu/math_private.h: New file.
21694 2012-03-15  David S. Miller  <davem@davemloft.net>
21696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21697         file.
21698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21700         file.
21701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21702         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21703         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21704         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21706         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21707         sysdep routines.
21708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21710         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21711         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21713         * sysdeps/sparc/sparc-ifunc.h: New file.
21714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21715         sparc-ifunc.h
21716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21718         Likewise.
21719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21720         Likewise.
21721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21725         Likewise.
21726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21731         Likewise.
21732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21733         Likewise.
21734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21738         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21739         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21740         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21741         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21742         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21748         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21749         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21750         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21751         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21752         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21753         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21754         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21755         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21756         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21757         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21759 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21761         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21762         scaling.
21763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21765 2012-03-15  Andreas Jaeger  <aj@suse.de>
21767         [BZ #13852]
21768         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21769         ieee754/flt-32 implementation for sin, cos and sincos.
21770         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21771         * sysdeps/i386/fpu/s_cosf.S: Likewise.
21772         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21773         * sysdeps/i386/fpu/s_sinf.S: Likewise.
21774         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21775         ieee754/flt-32 implementation for tan.
21777         * math/libm-test.inc (cos_test): Enable some large input tests for
21778         float as well
21779         (sin_test): Likewise.
21780         (sincos_test): Likewise.
21781         (tan_test): Add tests for large input.
21783         * sysdeps/i386/fpu/libm-test-ulps: Update.
21785 2012-03-15  Andreas Jaeger  <aj@suse.de>
21787         [BZ #13658]
21788         * math/libm-test.inc (cos_test): Add more test cases.
21789         (sin_test): Likewise.
21790         (sincos_test): Likewise.
21792 2012-03-15  Andreas Jaeger  <aj@suse.de>
21794         [BZ #13837]
21795         * math/libm-test.inc (cos_test): Add a test case for large input
21796         value.
21797         (sin_test): Likewise.
21798         (sincos_test): Likewise.
21800 2012-03-15  Andreas Jaeger  <aj@suse.de>,
21801         Joseph Myers  <joseph@codesourcery.com>
21803         [BZ #13658]
21804         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21805         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21806         * sysdeps/i386/fpu/branred.c: Likewise.
21807         * sysdeps/i386/fpu/dosincos.c: Likewise.
21808         * sysdeps/i386/fpu/mpa.c: Likewise.
21809         * sysdeps/i386/fpu/s_cos.S: Likewise.
21810         * sysdeps/i386/fpu/s_sin.S: Likewise.
21811         * sysdeps/i386/fpu/s_sincos.S: Likewise.
21812         * sysdeps/i386/fpu/sincos32.c: Likewise.
21814         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21815         Define.
21816         (libc_feupdateenv_53bit): Define.
21817         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21818         Define.
21819         (libc_feupdateenv_53bit): Define.
21821         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21822         53 bit (without extend i386 double precision).
21824         * math/libm-test.inc (sincos_test): Add tests for large input.
21825         (sin): Likewise.
21826         (cos): Likewise.
21828         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21830 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21834 2012-03-15  David S. Miller  <davem@davemloft.net>
21836         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21837         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21838         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21839         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21844         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21845         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21850         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21852         file.
21853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21855         file.
21856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21858         file.
21859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21861         file.
21862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21863         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21864         fmin/fmax sysdep routines.
21865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21867 2012-03-14  David S. Miller  <davem@davemloft.net>
21869         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21870         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21871         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21872         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21873         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21874         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21875         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21876         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21877         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21878         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21879         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21880         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21881         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21882         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21883         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21884         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21885         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21886         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21887         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21888         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21889         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21890         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21891         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21892         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21893         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21894         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21895         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21896         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21897         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21898         routines.
21899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21900         file.
21901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21903         file.
21904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21906         file.
21907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21909         file.
21910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21912         file.
21913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21915         file.
21916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21917         file.
21918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21919         file.
21920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21921         file.
21922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21923         New file.
21924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21925         file.
21926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21927         file.
21928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21930         file.
21931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21933         file.
21934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21936         file.
21937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21939         VIS3 routines.
21941         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21942         New file.
21944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21946         * sysdeps/sparc/configure.in: New file.
21947         * sysdeps/sparc/configure: Generate.
21948         * configure.in (libc_cv_sparc_as_vis3): Substitute.
21949         * configure: Regenerate.
21950         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21951         * config.make.in (have-as-vis3): New.
21952         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21953         available use -Av9d instead of -Av9a.
21954         * sysdeps/sparc/sparc64/Makefile: Likewise.
21955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21957         New file.
21958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21959         file.
21960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21961         New file.
21962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21963         file.
21964         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21965         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21966         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21967         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21968         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21970         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21971         fzeros/fnegs to load 0x80000000 into a float register instead of
21972         using the stack.
21973         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21975 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21977         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21978         bits/syscall.h.
21979         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21980         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21981         ($(inst_includedir)/bits/syscall.h): Remove rule.
21982         ($(objpfx)bits/syscall.d): Include instead of
21983         $(objpfx)syscall-list.d.
21984         (generated): Change syscall-list.h and syscall-list.d to
21985         bits/syscall.h and bits/syscall.d.
21987 2012-03-14  Roland McGrath  <roland@hack.frob.com>
21989         [BZ #13846]
21990         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21992 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
21994         [BZ #13841]
21995         * math/s_csqrt.c: Include <float.h>.
21996         (__csqrt): Scale large or subnormal inputs.
21997         * math/s_csqrtf.c: Likewise.
21998         * math/s_csqrtl.c: Likewise.
21999         * math/libm-test.inc (csqrt_test): Add more tests.
22000         * sysdeps/i386/fpu/libm-test-ulps: Update.
22001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22003         [BZ #13840]
22004         * math/libm-test.inc (hypot_test): Add more tests.
22006 2012-03-13  David S. Miller  <davem@davemloft.net>
22008         [BZ #13840]
22009         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22010         double-precision for the calculation instead of scaling.
22012 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
22014         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22015         manipulate bits before adding and subtracting TWO52[sx].
22016         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22017         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22018         Likewise.
22019         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22021 2012-03-13  David S. Miller  <davem@davemloft.net>
22023         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22024         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22025         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22026         rtld-global-offsets.h
22027         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22029         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22030         large parameters.
22032         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22034         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22035         'err' in the ifdef scope in which it is actually used.
22037         * nss/nss_db/db-init.c: Include string.h
22039 2012-03-12  David S. Miller  <davem@davemloft.net>
22041         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22042         masking out of the most significant byte of random value used.
22043         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22044         Fix coding style in previous change.
22046         * sysdeps/unix/sysv/linux/kernel-features.h
22047         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22048         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22049         expression.
22050         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22051         later.
22053 2012-03-11  David S. Miller  <davem@davemloft.net>
22055         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22056         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22057         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22058         for 'resultvar' otherwise things get truncated on 64-bit.
22060         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22061         Fix masking out of the most significant byte of random value used.
22063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22065 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
22067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22069 2012-03-09  David S. Miller  <davem@davemloft.net>
22071         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22072         variables with appropriate CPP guards.
22073         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22074         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
22075         on resulting framesize and the management of the outregs buffer for pltexit.
22076         Preserve floating point return values across _dl_call_pltexit call.
22077         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22078         framesize and the management of the outregs buffer for pltexit.
22079         Preserve floating point return values across _dl_call_pltexit
22080         call.
22081         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22082         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22083         (print_exit): Fix format string for return register value.
22085 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
22087         * sunrpc/Makefile (others): Add rpcgen.
22088         ($(objpfx)rpcgen): Remove special build rule and dependency on
22089         libc.
22090         * sunrpc/rpcgen.c: New file.
22092 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
22094         [BZ #13673]
22095         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22096         * stdio-common/bug-vfprintf-nargs.c: Likewise.
22097         * sysdeps/i386/crti.S: Likewise.
22098         * sysdeps/i386/crtn.S: Likewise.
22099         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22100         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22101         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22102         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22103         * sysdeps/sh/crti.S: Likewise.
22104         * sysdeps/sh/crtn.S: Likewise.
22105         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22107         [BZ #13673]
22108         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22109         with URL.
22110         * locale/programs/locfile-kw.gperf: Likewise.
22111         * locale/programs/charmap-kw.h: Regenerated.
22112         * locale/programs/locfile-kw.h: Likewise.
22114         [BZ #13673]
22115         * intl/plural.y: Replace FSF snail mail address with URL.
22116         * intl/plural.c: Regenerated.
22118 2012-03-09  Richard Henderson  <rth@twiddle.net>
22120         * include/math_private.h: Remove file.
22121         * math/math_private.h: Move file ...
22122         * sysdeps/generic/math_private.h: ... here.
22124         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22125         * sysdeps/powerpc/fpu/math_private.h: Likewise.
22126         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22128         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22129         and <math_private.h>.
22130         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22131         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22132         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22133         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22134         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22135         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22136         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22137         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22138         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22139         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22140         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22141         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22142         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22143         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22144         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22145         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22146         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22147         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22148         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22149         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22150         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22151         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22152         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22153         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22154         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22155         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22156         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22157         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22158         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22159         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22160         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22161         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22162         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22163         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22164         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22165         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22166         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22167         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22168         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22169         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22170         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22171         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22172         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22173         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22174         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22175         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22176         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22177         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22178         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22179         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22180         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22181         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22182         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22183         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22184         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22185         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22186         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22187         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22188         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22189         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22190         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22191         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22192         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22193         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22194         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22195         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22196         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22197         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22198         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22199         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22200         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22201         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22202         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22203         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22204         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22205         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22206         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22207         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22208         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22209         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22210         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22211         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22212         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22213         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22214         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22215         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22216         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22217         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22218         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22219         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22220         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22221         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22222         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22223         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22224         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22225         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22226         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22227         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22228         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22229         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22230         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22231         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22232         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22233         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22234         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22235         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22236         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22237         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22238         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22239         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22240         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22241         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22242         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22243         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22244         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22245         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22246         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22247         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22248         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22249         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22250         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22251         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22252         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22253         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22254         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22255         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22256         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22257         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22258         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22259         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22260         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22261         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22262         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22263         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22264         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22265         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22266         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22267         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22268         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22269         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22270         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22271         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22272         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22273         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22274         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22275         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22276         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22277         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22278         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22279         * sysdeps/ieee754/k_standard.c: Likewise.
22280         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22281         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22282         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22283         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22284         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22285         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22286         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22287         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22288         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22289         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22290         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22291         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22292         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22293         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22294         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22295         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22296         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22297         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22298         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22299         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22300         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22301         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22302         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22303         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22304         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22305         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22306         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22307         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22308         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22309         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22310         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22311         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22312         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22313         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22314         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22315         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22316         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22317         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22318         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22319         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22320         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22321         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22322         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22323         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22324         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22325         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22326         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22327         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22328         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22329         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22330         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22331         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22332         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22333         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22334         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22335         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22336         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22337         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22338         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22339         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22340         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22341         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22342         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22343         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22344         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22345         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22346         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22347         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22348         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22349         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22350         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22351         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22352         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22353         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22354         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22355         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22356         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22357         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22358         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22359         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22360         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22361         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22362         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22363         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22364         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22365         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22366         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22367         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22368         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22369         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22370         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22371         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22372         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22373         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22374         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22375         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22376         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22377         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22378         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22379         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22380         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22381         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22382         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22383         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22384         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22385         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22386         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22387         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22388         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22389         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22390         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22391         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22392         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22393         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22394         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22395         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22396         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22397         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22398         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22399         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22400         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22401         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22402         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22403         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22404         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22405         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22406         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22407         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22408         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22409         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22410         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22411         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22412         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22413         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22414         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22415         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22416         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22417         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22418         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22419         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22420         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22421         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22422         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22423         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22424         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22425         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22426         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22427         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22428         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22429         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22430         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22431         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22432         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22433         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22434         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22435         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22436         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22437         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22438         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22439         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22440         * sysdeps/ieee754/s_lib_version.c: Likewise.
22441         * sysdeps/ieee754/s_matherr.c: Likewise.
22442         * sysdeps/ieee754/s_signgam.c: Likewise.
22443         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22444         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22445         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22446         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22447         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22448         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22449         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22450         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22451         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22452         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22453         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22454         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22455         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22456         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22457         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22458         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22459         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22460         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22461         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22462         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22463         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22465 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22467         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22468         * sunrpc/rpc_main.c: Likewise.
22469         * sunrpc/rpc_svcout.c: Likewise.
22471 2012-03-09  David S. Miller  <davem@davemloft.net>
22473         * include/math_private.h: New file.
22475 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22477         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22478         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22479         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22480         from <bits/socket_type.h>.
22481         (enum __socket_type): Don't define here.
22482         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22483         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22484         bits/socket_type.h.
22486         [BZ #13566]
22487         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22488         checking __USE_GNU.
22490         * Makerules ($(inst_includedir)/%.h): New rule.
22491         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22492         (install-others): Remove variable setting.
22493         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22495 2012-03-08  Richard Henderson  <rth@twiddle.net>
22497         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22498         from macro to inline function; merge with the
22499         !__LIBC_INTERNAL_MATH_INLINES version.
22500         (__ieee754_sqrtf): Likewise.
22502         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22503         to inline function.
22504         (__rintf, __floor, __floorf): Likewise.
22506         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22507         macro to inline function.
22508         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22510         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22511         not <math/math_private.h>.
22513 2012-03-08  David S. Miller  <davem@davemloft.net>
22515         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22516         copyright year.
22517         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22519 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
22521         * resolv/gai_misc.c (handle_requests): Fix struct timespec
22522         normalization.
22523         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22524         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22526 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
22528         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
22529         be defined individually, they must be defined as a block.  Define
22530         S for printing a string instead of hidint the different by using a
22531         macro for adding the 'l'.
22532         * stdio-common/tst-fphex-wide.c: Adjust.
22534 2012-03-07  Marek Polacek  <polacek@redhat.com>
22536         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22538 2012-03-08  Marek Polacek  <polacek@redhat.com>
22540         [BZ #13806]
22541         * stdio-common/Makefile (tests): Add tst-fphex-wide.
22542         * stdio-common/tst-fphex.c: Define a few macros to make the
22543         test reusable.  Use them.
22544         * stdio-common/tst-fphex-wide.c: New file.
22546 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
22548         [BZ #6911]
22549         * manual/macros.texi (gnusystems): New macro.
22550         (nongnusystems): Likewise.
22551         (gnulinuxhurdsystems): Likewise.
22552         (gnuhurdsystems): Likewise..
22553         (gnulinuxsystems): Likewise.
22554         * manual/charset.texi: Use new macros or @theglibc{} to refer to
22555         variants of the GNU system, not "GNU system".
22556         * manual/conf.texi: Likewise.
22557         * manual/errno.texi: Likewise.  Update example of errno macro
22558         expansion.
22559         * manual/filesys.texi: Likewise.
22560         (getumask): Document as specific to GNU/Hurd.
22561         * manual/install.texi: Likewise.  Reword some references to
22562         GNU/Linux.
22563         * manual/intro.texi: Likewise.
22564         * manual/io.texi: Likewise.
22565         (File Name Portability): Detail which constraints are inapplicable
22566         to all GNU systems and which are only inapplicable to GNU/Hurd.
22567         * manual/job.texi: Likewise.
22568         * manual/llio.texi: Likewise.
22569         (O_NOCTTY): Document as present on GNU/Linux.
22570         * manual/maint.texi: Likewise.
22571         * manual/memory.texi: Likewise.
22572         * manual/pattern.texi: Likewise.
22573         * manual/pipe.texi: Likewise.
22574         * manual/process.texi: Likewise.
22575         * manual/resource.texi: Likewise.
22576         (RUSAGE_CHILDREN): Remove statement about specifying a particular
22577         child on GNU/Hurd.
22578         * manual/setjmp.texi: Likewise.
22579         * manual/signal.texi: Likewise.
22580         * manual/startup.texi: Likewise.
22581         * manual/stdio.texi: Likewise.
22582         * manual/terminal.texi: Likewise.
22583         (ONLCR): Document as POSIX.
22584         (OXTABS): Document availability on GNU/Linux as XTABS.
22585         (ONOEOT): Document availability separately from other bits.
22586         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22587         * manual/time.texi: Likewise.
22588         * manual/users.texi: Likewise.
22589         * INSTALL: Regenerated.
22590         * sysdeps/gnu/errlist.c: Regenerated.
22592         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22593         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22594         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
22595         puts.
22596         * configure: Regenerated.
22598 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
22600         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22601         default includes instead of AC_HEADER_CHECK.
22602         * sysdeps/i386/configure: Regenerated.
22604         [BZ #10716]
22605         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22606         * math/s_cacoshf.c (__cacoshf): Likewise.
22607         * math/s_cacoshl.c (__cacoshl): Likewise.
22608         * math/s_casinh.c (__casinh): Set signs of result from argument.
22609         * math/s_casinhf.c (__casinhf): Likewise.
22610         * math/s_casinhl.c (__casinhl): Likewise.
22611         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22612         (casinh_test): Add more tests.
22613         * sysdeps/i386/fpu/libm-test-ulps: Update.
22614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22616 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
22618         * po/zh_TW.po: Update from translation team.
22620         * login/Makefile (distribute): Remove variable.
22621         * catgets/Makefile: Likewise.
22622         * mach/Makefile: Likewise.
22623         * malloc/Makefile: Likewise.
22624         * misc/Makefile: Likewise.
22625         * iconv/Makefile: Likewise.
22626         * nscd/Makefile: Likewise.
22627         * hurd/Makefile: Likewise.
22628         * manual/Makefile: Likewise.
22629         * locale/Makefile: Likewise.
22630         * intl/Makefile: Likewise.
22631         * conform/Makefile: Likewise.
22632         * nss/Makefile: Likewise.
22633         * time/Makefile: Likewise.
22634         * soft-fp/Makefile: Likewise.
22635         * dirent/Makefile: Likewise.
22636         * gmon/Makefile: Likewise.
22637         * po/Makefile: Likewise.
22638         * rt/Makefile: Likewise.
22639         * socket/Makefile: Likewise.
22640         * math/Makefile: Likewise.
22641         * signal/Makefile: Likewise.
22642         * debug/Makefile: Likewise.
22643         * elf/Makefile: Likewise.
22644         * timezone/Makefile: Likewise.
22645         * stdlib/Makefile: Likewise.
22646         * iconvdata/Makefile: Likewise.
22647         * sunrpc/Makefile: Likewise.
22648         * io/Makefile: Likewise.
22649         * argp/Makefile: Likewise.
22650         * inet/Makefile: Likewise.
22651         * hesiod/Makefile: Likewise.
22652         * grp/Makefile: Likewise.
22653         * csu/Makefile: Likewise.
22654         * wctype/Makefile: Likewise.
22655         * crypt/Makefile: Likewise.
22656         * libio/Makefile: Likewise.
22657         * string/Makefile: Likewise.
22658         * nis/Makefile: Likewise.
22659         * resolv/Makefile: Likewise.
22660         * stdio-common/Makefile: Likewise.
22661         * wcsmbs/Makefile: Likewise.
22662         * dlfcn/Makefile: Likewise.
22663         * posix/Makefile: Likewise.
22665         [BZ #6959]
22666         * timezone/Makefile: Don't install timezone files, just the programs
22667         and scripts.
22669 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22671         * nss/databases.def: Add missing gshadow entry.
22673         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22675 2012-03-06  Marek Polacek  <polacek@redhat.com>
22677         [BZ #13726]
22678         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22679         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22680         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22681         * stdio-common/tst-long-dbl-fphex.c: New file.
22683 2012-03-06  David S. Miller  <davem@davemloft.net>
22685         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22686         (set_obp_int): New function.
22687         (get_obp_int): New function.
22688         (__get_clockfreq_via_dev_openprom): Likewise.
22689         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22690         Avoid unused variable warnings on 'val' and use builtin_expect.
22691         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22692         __builtin_expect.
22693         (INLINE_CLONE_SYSCALL): Likewise.
22695 2012-03-05  David S. Miller  <davem@davemloft.net>
22697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22699 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
22701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22703         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22704         only for |x| >= 40.
22705         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22707 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22709         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22710         Replace gettimeofday with __vdso_gettimeofday.
22712         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22713         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22714         __vdso_clock_gettime and __vdso_getcpu.
22716         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22717         time with __vdso_time.
22719 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22721         * manual/lang.texi (size_t): Note types to which size_t may be
22722         equivalent with the GNU C Library, but do not describe when
22723         differences between them are significant.
22725 2012-03-05  Andreas Jaeger  <aj@suse.de>
22727         * sysdeps/i386/fpu/libm-test-ulps: Update.
22729 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22731         [BZ #3976]
22732         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22733         (__ieee754_pow): Save and restore rounding mode and use
22734         round-to-nearest for main computations.
22735         * math/libm-test.inc (pow_test_tonearest): New function.
22736         (pow_test_towardzero): Likewise.
22737         (pow_test_downward): Likewise.
22738         (pow_test_upward): Likewise.
22739         (main): Call the new functions.
22740         * sysdeps/i386/fpu/libm-test-ulps: Update.
22741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22743         [BZ #3976]
22744         * math/libm-test.inc (cosh_test_tonearest): New function.
22745         (cosh_test_towardzero): Likewise.
22746         (cosh_test_downward): Likewise.
22747         (cosh_test_upward): Likewise.
22748         (sinh_test_tonearest): Likewise.
22749         (sinh_test_towardzero): Likewise.
22750         (sinh_test_downward): Likewise.
22751         (sinh_test_upward): Likewise.
22752         (main): Call the new functions.
22753         * sysdeps/i386/fpu/libm-test-ulps: Update.
22754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22756 2012-03-05  Tom de Vries  <tom@codesourcery.com>
22758         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22759         default stack guard is set in last bytes.
22760         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22762 2012-03-05  Kees Cook  <keescook@chromium.org>
22764         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22766         [BZ #13656]
22767         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22768         possibly allocate from heap instead of stack.
22769         * stdio-common/bug-vfprintf-nargs.c: New file.
22770         * stdio-common/Makefile (tests): Add nargs overflow test.
22772 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
22774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22776 2012-03-03  Marek Polacek  <polacek@redhat.com>
22778         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22779         * math/math_private.h: Likewise.
22780         * stdlib/tst-strtod.c: Likewise.
22781         * sysdeps/i386/i486/bits/atomic.h: Likewise.
22782         * sysdeps/x86_64/bits/atomic.h: Likewise.
22784 2012-03-02  David S. Miller  <davem@davemloft.net>
22786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22790         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22791         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22792         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22793         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22795 2012-03-02  Roland McGrath  <roland@hack.frob.com>
22797         [BZ #13792]
22798         * manual/examples/README: New file, says the example source files
22799         can be used under GPL>=2.
22800         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22801         line containing just "*/".
22802         * manual/examples/add.c: Add copyright header (GPL>=2).
22803         * manual/examples/argp-ex1.c: Likewise.
22804         * manual/examples/argp-ex2.c: Likewise.
22805         * manual/examples/argp-ex3.c: Likewise.
22806         * manual/examples/argp-ex4.c: Likewise.
22807         * manual/examples/atexit.c: Likewise.
22808         * manual/examples/db.c: Likewise.
22809         * manual/examples/dir.c: Likewise.
22810         * manual/examples/dir2.c: Likewise.
22811         * manual/examples/execinfo.c: Likewise.
22812         * manual/examples/filecli.c: Likewise.
22813         * manual/examples/filesrv.c: Likewise.
22814         * manual/examples/fmtmsgexpl.c: Likewise.
22815         * manual/examples/genpass.c: Likewise.
22816         * manual/examples/inetcli.c: Likewise.
22817         * manual/examples/inetsrv.c: Likewise.
22818         * manual/examples/isockad.c: Likewise.
22819         * manual/examples/longopt.c: Likewise.
22820         * manual/examples/memopen.c: Likewise.
22821         * manual/examples/memstrm.c: Likewise.
22822         * manual/examples/mkfsock.c: Likewise.
22823         * manual/examples/mkisock.c: Likewise.
22824         * manual/examples/mygetpass.c: Likewise.
22825         * manual/examples/pipe.c: Likewise.
22826         * manual/examples/popen.c: Likewise.
22827         * manual/examples/rprintf.c: Likewise.
22828         * manual/examples/search.c: Likewise.
22829         * manual/examples/select.c: Likewise.
22830         * manual/examples/setjmp.c: Likewise.
22831         * manual/examples/sigh1.c: Likewise.
22832         * manual/examples/sigusr.c: Likewise.
22833         * manual/examples/stpcpy.c: Likewise.
22834         * manual/examples/strdupa.c: Likewise.
22835         * manual/examples/strftim.c: Likewise.
22836         * manual/examples/strncat.c: Likewise.
22837         * manual/examples/subopt.c: Likewise.
22838         * manual/examples/swapcontext.c: Likewise.
22839         * manual/examples/termios.c: Likewise.
22840         * manual/examples/testopt.c: Likewise.
22841         * manual/examples/testpass.c: Likewise.
22842         * manual/examples/timeval_subtract.c: Likewise.
22844         [BZ #13792]
22845         * manual/time.texi (Elapsed Time): Move timeval_subtract example
22846         function to ...
22847         * manual/timeval_subtract.c.texi: ... here, new file.
22849 2012-03-02  David S. Miller  <davem@davemloft.net>
22851         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22853 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
22855         [BZ #3976]
22856         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22857         (__sin): Save and restore rounding mode and use round-to-nearest
22858         for all computations.
22859         (__cos): Save and restore rounding mode and use round-to-nearest
22860         for all computations.
22861         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22862         <fenv.h>.
22863         (tan): Save and restore rounding mode and use round-to-nearest for
22864         all computations.
22865         * math/libm-test.inc (cos_test_tonearest): New function.
22866         (cos_test_towardzero): Likewise.
22867         (cos_test_downward): Likewise.
22868         (cos_test_upward): Likewise.
22869         (sin_test_tonearest): Likewise.
22870         (sin_test_towardzero): Likewise.
22871         (sin_test_downward): Likewise.
22872         (sin_test_upward): Likewise.
22873         (tan_test_tonearest): Likewise.
22874         (tan_test_towardzero): Likewise.
22875         (tan_test_downward): Likewise.
22876         (tan_test_upward): Likewise.
22877         (main): Call the new functions.
22878         * sysdeps/i386/fpu/libm-test-ulps: Update.
22879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22881         [BZ #10135]
22882         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22883         small n, then large n, before computing and testing k+n.
22884         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22885         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22886         Likewise.
22887         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22888         Likewise.
22889         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22890         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22891         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22892         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22893         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22894         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22895         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22896         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22897         * math/libm-test.inc (scalbn_test): Add more tests.
22898         (scalbln_test): Likewise.
22900         * manual/filesys.texi (mode_t): Describe constraints on size and
22901         signedness, not exact equivalence to a particular type.
22902         (ino_t): Likewise.
22903         (ino64_t): Likewise.
22904         (dev_t): Likewise.
22905         (nlink_t): Likewise.
22906         (blkcnt_t): Likewise.
22907         (blkcnt64_t): Likewise.
22908         * manual/llio.texi (off_t): Likewise.
22910         [BZ #3976]
22911         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22912         (__ieee754_exp): Save and restore rounding mode and use
22913         round-to-nearest for all computations.
22914         * math/libm-test.inc (exp_test_tonearest): New function.
22915         (exp_test_towardzero): Likewise.
22916         (exp_test_downward): Likewise.
22917         (exp_test_upward): Likewise.
22918         (main): Call the new functions.
22919         * sysdeps/i386/fpu/libm-test-ulps: Update.
22920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22922 2012-03-01  Chris Demetriou  <cgd@google.com>
22924         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22925         have predictable order.
22927 2012-03-01  David S. Miller  <davem@davemloft.net>
22929         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22931         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22932         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22933         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22934         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22936         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22937         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22938         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22940         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22941         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22942         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22943         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22944         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22948         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22949         * sysdeps/sparc/fpu/libm-test-ulps: to here.
22950         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22952         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22953         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22954         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22955         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22956         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22957         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22958         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22959         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22960         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22961         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22962         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22963         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22964         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22965         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22966         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22967         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22968         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22969         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22970         * sysdeps/sparc/elf/configure: Regenerated.
22972 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
22974         * configure.in (AS, LD): Require binutils 2.20 or later.
22975         * configure: Regenerated.
22976         * manual/install.texi (Tools for Compilation): Give binutils 2.20
22977         as required minimum version.
22978         * INSTALL: Regenerated.
22980         [BZ #2541]
22981         [BZ #4108]
22982         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22983         before squaring exponent.
22984         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22985         bottom long double and 27 bits of top long double before squaring
22986         exponent.
22987         * math/libm-test.inc (erfc_test): Add more tests.
22988         * sysdeps/i386/fpu/libm-test-ulps: Update.
22989         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22992 2012-03-01  Kai Tietz  <ktietz@redhat.com>
22994         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22995         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22996         containing bit-fields.
22997         * soft-fp/extended.h (_FP_UNION_E): Likewise.
22998         * soft-fp/single.h (_FP_UNION_S): Likewise.
22999         * soft-fp/double.h (_FP_UNION_D): Likewise.
23001 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23003         [BZ #13786]
23004         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23005         not include ../strcmp.S.
23006         [USE_AS_STRNCASECMP_L]: Likewise.
23007         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23008         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23009         * sysdeps/i386/i686/multiarch/strncase_l-c.c
23010         (__strncasecmp_l_ia32): Define as alias to
23011         __strncasecmp_l_nonascii.
23013         [BZ #5794]
23014         * math/libm-test.inc (expm1_test): Add test for bug 5794.
23015         * sysdeps/i386/fpu/libm-test-ulps: Update.
23016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23018         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23021 2012-02-29  Jeff Law  <law@redhat.com>
23023         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23024         out of bounds read.
23026 2012-02-29  Marek Polacek  <polacek@redhat.com>
23028         [BZ #13706]
23029         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23030         * elf/Makefile: Add rules to run tst-unused-dep.out.
23032 2012-02-28  David S. Miller  <davem@davemloft.net>
23034         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23035         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23036         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23037         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23038         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23039         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23041 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23043         * math/libm-test.inc (llround_test): Move one test from
23044         lround_test.  Use TEST_f_L in moved test.
23045         (lround_test): Move misplaced test to llround_test.  Add testcase
23046         from bug 2561.
23048 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
23050         * sysdeps/x86_64/fpu/e_expf.S: New file.
23051         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23053 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
23055         [BZ #13637]
23056         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23057         of remain_len that may cause incomplete multi-byte character and
23058         false match.
23059         * posix/bug-regex33.c: New file.
23060         * posix/Makefile (tests): Add bug-regex33.
23062 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
23064         * manual/macros.texi: New file.
23065         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23066         * manual/libc.texinfo: Include macros.texi.
23067         * manual/creatute.texi: Likewise.
23068         * manual/install.texi: Likewise.
23069         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23070         @glibcadj{} in references to the GNU C Library.
23071         * manual/charset.texi: Likewise.
23072         * manual/conf.texi: Likewise.
23073         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
23074         when not using those macros.
23075         * manual/creature.texi: Likewise.
23076         * manual/crypt.texi: Likewise.
23077         * manual/errno.texi: Likewise.
23078         * manual/filesys.texi: Likewise.
23079         * manual/header.texi: Likewise.
23080         * manual/install.texi: Likewise.
23081         * manual/intro.texi: Likewise.
23082         * manual/io.texi: Likewise.
23083         * manual/job.texi: Likewise.
23084         * manual/lang.texi: Likewise.
23085         * manual/libc.texiinfo: Likewise.
23086         * manual/llio.texi: Likewise.
23087         * manual/locale.texi: Likewise.
23088         * manual/maint.texi: Likewise.
23089         * manual/math.texi: Likewise.
23090         * manual/memory.texi: Likewise.
23091         * manual/message.texi: Likewise.
23092         * manual/nss.texi: Likewise.
23093         * manual/pattern.texi: Likewise.
23094         * manual/process.texi: Likewise.
23095         * manual/resource.texi: Likewise.
23096         * manual/search.texi: Likewise.
23097         * manual/setjmp.texi: Likewise.
23098         * manual/signal.texi: Likewise.
23099         * manual/socket.texi: Likewise.
23100         * manual/startup.texi: Likewise.
23101         * manual/stdio.texi: Likewise.
23102         * manual/string.texi: Likewise.
23103         * manual/sysinfo.texi: Likewise.
23104         * manual/syslog.texi: Likewise.
23105         * manual/terminal.texi: Likewise.
23106         * manual/time.texi: Likewise.
23107         * manual/users.texi: Likewise.
23108         * INSTALL: Regenerated.
23109         * NOTES: Regenerated.
23110         * sysdeps/gnu/errlist.c: Regenerated.
23112 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
23114         * include/dirent.h: Include <dirstream.h> before
23115         <dirent/dirent.h>.
23117 2012-02-28  David S. Miller  <davem@davemloft.net>
23119         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23120         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23121         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23122         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23124 2012-02-27  David S. Miller  <davem@davemloft.net>
23126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23128         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23129         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23132         frame pointer instead of stack pointer relative arg slot.
23133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23134         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23135         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23137 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
23139         [BZ #3992]
23140         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23142 2012-02-27  David S. Miller  <davem@davemloft.net>
23144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23148         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23149         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23150         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23151         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23153 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23155         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23156         later.  Allow versions 5-9.
23157         * configure: Regenerated.
23158         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23159         required minimum version and 4.6 as recommended version.  Do not
23160         mention bugs in GCC 2.7 and 2.8.
23161         * INSTALL: Regenerated.
23163 2012-02-27  David S. Miller  <davem@davemloft.net>
23165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23166         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23168         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23169         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23170         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23171         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23172         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23174         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23175         manipulate bits before adding and subtracting TWO112[sx].
23176         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23178 2012-02-27  Roland McGrath  <roland@hack.frob.com>
23180         [BZ #13775]
23181         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23182         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23183         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23184         being in POSIX, because they are in 1003.1-2008.
23186         * rt/tst-aio.c: Include <fcntl.h>.
23187         * rt/tst-aio7.c: Likewise.
23188         * rt/tst-aio64.c: Likewise.
23190         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23192 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23194         * manual/install.texi (--with-headers): Describe headers as
23195         interface headers, not private headers.
23196         (Specific advice for GNU/Linux systems): Describe use of headers
23197         from "make headers_install", not private headers from older
23198         kernels.
23199         * INSTALL: Regenerated.
23200         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23201         Change to 2.6.19.
23202         * sysdeps/unix/sysv/linux/configure: Regenerated.
23204         * manual/llio.texi (fclean): Remove documentation.
23206         * manual/Makefile (libc-texi-generated): New variable.  Include
23207         version.texi.
23208         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23209         $(libc-texi-generated), not duplicated list of files.
23210         (version.texi, stamp-version): New rules.
23211         (realclean): Remove $(libc-texi-generated), not individual files
23212         from that list.  Do not remove dir-add.texinfo.
23213         * manual/libc.texinfo: Comment out uses of edition numbers and
23214         references to printed manual.  Remove last-updated dates.
23215         (EDITION): Comment out.
23216         (ISBN): Likewise.
23217         (VERSION, UPDATED): Remove.
23218         (version.texi): Include.
23220 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
23222         * sysdeps/posix/spawni.c: Include <signal.h>.
23223         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23224         * sysdeps/pthread/aio_fsync.c: Likewise.
23226 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
23228         * conform/Makefile (tests): Run only when not cross-compiling and
23229         when fast-check is not defined.
23231         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23232         * conform/data/limits.h-data: Fixes for POSIX2008.
23233         * conform/run-conformtest.sh: Run all tests.
23234         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23235         headers.
23236         * include/bits/dlfcn.h: Likewise.
23237         * include/langinfo.h: Likewise.
23238         * include/monetary.h: Likewise.
23239         * include/sys/poll.h: Likewise.
23241         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23242         for __USE_GNU.
23243         * posix/spawn.h: Define __need_sigset_t.
23244         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23245         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23246         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
23247         to get sigevent_t only.
23248         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23249         only for __USE_GNU.
23250         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23251         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23252         process_vm_writev only for __USE_GNU.
23253         * termios/termios.h: Declare tcgetsid also for POSIX2008.
23255         * conform/Makefile: For now ignore errors from run-conformtest.
23256         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
23257         POSIX to avoid namespace pollution.  Don't prepend headers.
23258         * conform/data/aio.h-data: Fixes for POSIX testing.
23259         * conform/data/fcntl.h-data: Likewise.
23260         * conform/data/glob.h-data: Likewise.
23261         * conform/data/grp.h-data: Likewise.
23262         * conform/data/pthread.h-data: Likewise.
23263         * conform/data/pwd.h-data: Likewise.
23264         * conform/data/signal.h-data: Likewise.
23265         * conform/data/spawn.h-data: Likewise.
23266         * conform/data/stdio.h-data: Likewise.
23267         * conform/data/stdlib.h-data: Likewise.
23268         * conform/data/stropts.h-data: Likewise.
23269         * conform/data/sys/mman.h-data: Likewise.
23270         * conform/data/sys/stat.h-data: Likewise.
23271         * conform/data/sys/types.h-data: Likewise.
23272         * conform/data/sys/wait.h-data: Likewise.
23273         * conform/data/time.h-data: Likewise.
23274         * conform/data/unistd.h-data: Likewise.
23275         * conform/data/utime.h-data: Likewise.
23277         * io/sys/stat.h: fchmod was always in POSIX.
23278         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23279         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23280         * rt/aio.h: Define __need_timespec before including <time.h>.
23281         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23282         struct.  Add forward declaration of pthread_attr_t and use it in
23283         sigevent.
23284         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23285         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23286         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23287         always remove CLK_TCK definition.
23289 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
23291         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23293 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
23295         * conform/run-conformtest.sh: New file.
23296         * conform/Makefile: Run run-conformtest for tests.
23297         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
23298         support.
23300         * conform/data/uchar.h-data: New file.
23301         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23302         * conform/data/arpa/inet.h-data: Likewise.
23303         * conform/data/assert.h-data: Likewise.
23304         * conform/data/complex.h-data: Likewise.
23305         * conform/data/cpio.h-data: Likewise.
23306         * conform/data/ctype.h-data: Likewise.
23307         * conform/data/dirent.h-data: Likewise.
23308         * conform/data/dlfcn.h-data: Likewise.
23309         * conform/data/errno.h-data: Likewise.
23310         * conform/data/fcntl.h-data: Likewise.
23311         * conform/data/float.h-data: Likewise.
23312         * conform/data/fmtmsg.h-data: Likewise.
23313         * conform/data/fnmatch.h-data: Likewise.
23314         * conform/data/ftw.h-data: Likewise.
23315         * conform/data/glob.h-data: Likewise.
23316         * conform/data/grp.h-data: Likewise.
23317         * conform/data/iconv.h-data: Likewise.
23318         * conform/data/inttypes.h-data: Likewise.
23319         * conform/data/langinfo.h-data: Likewise.
23320         * conform/data/libgen.h-data: Likewise.
23321         * conform/data/limits.h-data: Likewise.
23322         * conform/data/locale.h-data: Likewise.
23323         * conform/data/math.h-data: Likewise.
23324         * conform/data/monetary.h-data: Likewise.
23325         * conform/data/mqueue.h-data: Likewise.
23326         * conform/data/ndbm.h-data: Likewise.
23327         * conform/data/net/if.h-data: Likewise.
23328         * conform/data/netdb.h-data: Likewise.
23329         * conform/data/netinet/in.h-data: Likewise.
23330         * conform/data/nl_types.h-data: Likewise.
23331         * conform/data/poll.h-data: Likewise.
23332         * conform/data/pthread.h-data: Likewise.
23333         * conform/data/pwd.h-data: Likewise.
23334         * conform/data/regex.h-data: Likewise.
23335         * conform/data/sched.h-data: Likewise.
23336         * conform/data/search.h-data: Likewise.
23337         * conform/data/semaphore.h-data: Likewise.
23338         * conform/data/setjmp.h-data: Likewise.
23339         * conform/data/signal.h-data: Likewise.
23340         * conform/data/spawn.h-data: Likewise.
23341         * conform/data/stdarg.h-data: Likewise.
23342         * conform/data/stdio.h-data: Likewise.
23343         * conform/data/stdlib.h-data: Likewise.
23344         * conform/data/string.h-data: Likewise.
23345         * conform/data/strings.h-data: Likewise.
23346         * conform/data/stropts.h-data: Likewise.
23347         * conform/data/sys/ipc.h-data: Likewise.
23348         * conform/data/sys/mman.h-data: Likewise.
23349         * conform/data/sys/msg.h-data: Likewise.
23350         * conform/data/sys/resource.h-data: Likewise.
23351         * conform/data/sys/select.h-data: Likewise.
23352         * conform/data/sys/sem.h-data: Likewise.
23353         * conform/data/sys/shm.h-data: Likewise.
23354         * conform/data/sys/socket.h-data: Likewise.
23355         * conform/data/sys/stat.h-data: Likewise.
23356         * conform/data/sys/statvfs.h-data: Likewise.
23357         * conform/data/sys/time.h-data: Likewise.
23358         * conform/data/sys/timeb.h-data: Likewise.
23359         * conform/data/sys/times.h-data: Likewise.
23360         * conform/data/sys/types.h-data: Likewise.
23361         * conform/data/sys/uio.h-data: Likewise.
23362         * conform/data/sys/un.h-data: Likewise.
23363         * conform/data/sys/utsname.h-data: Likewise.
23364         * conform/data/sys/wait.h-data: Likewise.
23365         * conform/data/syslog.h-data: Likewise.
23366         * conform/data/tar.h-data: Likewise.
23367         * conform/data/termios.h-data: Likewise.
23368         * conform/data/utime.h-data: Likewise.
23369         * conform/data/utmpx.h-data: Likewise.
23370         * conform/data/varargs.h-data: Likewise.
23371         * conform/data/wchar.h-data: Likewise.
23372         * conform/data/wctype.h-data: Likewise.
23373         * conform/data/wordexp.h-data: Likewise.
23375         * include/stropts.h: New file.
23376         * include/uchar.h: New file.
23377         * include/aio.h: Changes to allow conformtest.pl to use the headers.
23378         * include/assert.h: Likewise.
23379         * include/ctype.h: Likewise.
23380         * include/dirent.h: Likewise.
23381         * include/dlfcn.h: Likewise.
23382         * include/fcntl.h: Likewise.
23383         * include/fnmatch.h: Likewise.
23384         * include/glob.h: Likewise.
23385         * include/grp.h: Likewise.
23386         * include/libio.h: Likewise.
23387         * include/locale.h: Likewise.
23388         * include/math.h: Likewise.
23389         * include/net/if.h: Likewise.
23390         * include/netdb.h: Likewise.
23391         * include/netinet/in.h: Likewise.
23392         * include/pthread.h: Likewise.
23393         * include/pwd.h: Likewise.
23394         * include/regex.h: Likewise.
23395         * include/sched.h: Likewise.
23396         * include/search.h: Likewise.
23397         * include/setjmp.h: Likewise.
23398         * include/signal.h: Likewise.
23399         * include/stdio.h: Likewise.
23400         * include/stdlib.h: Likewise.
23401         * include/string.h: Likewise.
23402         * include/sys/cdefs.h: Likewise.
23403         * include/sys/mman.h: Likewise.
23404         * include/sys/msg.h: Likewise.
23405         * include/sys/resource.h: Likewise.
23406         * include/sys/select.h: Likewise.
23407         * include/sys/socket.h: Likewise.
23408         * include/sys/stat.h: Likewise.
23409         * include/sys/statvfs.h: Likewise.
23410         * include/sys/time.h: Likewise.
23411         * include/sys/times.h: Likewise.
23412         * include/sys/uio.h: Likewise.
23413         * include/sys/utsname.h: Likewise.
23414         * include/sys/wait.h: Likewise.
23415         * include/termios.h: Likewise.
23416         * include/time.h: Likewise.
23417         * include/ulimit.h: Likewise.
23418         * include/unistd.h: Likewise.
23419         * include/utime.h: Likewise.
23420         * include/wchar.h: Likewise.
23421         * include/wctype.h: Likewise.
23422         * include/wordexp.h: Likewise.
23424         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23426         * time/time.h: TIME_UTC must be a macro.
23427         Make timespec_get available for ISO C11 only as well.
23429 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
23431         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23432         Reported by Peng Haitao <penght@cn.fujitsu.com>.
23434 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23436         * configure.in: Use -o not -a in test for unsupported multi-arch.
23438 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23440         * manual/texinfo.tex: Update to version 2012-01-19.16.
23442 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23444         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23446 2012-02-24  Roland McGrath  <roland@hack.frob.com>
23448         [BZ #13738]
23449         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23450         * manual/fdl-1.3.texi: New file.
23451         * manual/fdl-1.1.texi: File removed.
23453         [BZ #13738]
23454         * manual/libc.texinfo (FDL_VERSION): New @set.
23455         Use it for mention of FDL in cover text.
23456         (Documentation License): Use it in @include file name.
23458 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23459             Roland McGrath  <roland@hack.frob.com>
23461         [BZ #5461]
23462         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23463         not LONG_LONG_MAX and LONG_LONG_MIN.
23464         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23465         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
23466         name.
23467         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23469 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23471         [BZ #2547]
23472         [BZ #11365]
23473         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23474         manipulate bits before adding and subtracting TWO23[sx].
23475         * math/libm-test.inc (nearbyint_test): Add more tests.
23477 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23479         [BZ #2548]
23480         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23481         bits before adding and subtracting TWO23[sx].
23482         * math/libm-test.inc (rint_test): Add more tests.
23483         (rint_test_tonearest): Likewise.
23484         (rint_test_towardzero): Likewise.
23485         (rint_test_downward): Likewise.
23486         (rint_test_upward: Likewise.
23488 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23490         [BZ #10110]
23491         * include/stdc-predef.h: New file.  Extracted from features.h.
23492         * include/features.h: Include stdc-predef.h.
23493         * Makefile (headers): Add stdc-predef.h.
23494         * CONFORMANCE (Compiler limitations): Update.
23496 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23498         * manual/libc.texinfo (VERSION, UPDATED): Revert.
23500 2012-02-21  David S. Miller  <davem@davemloft.net>
23502         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23503         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23505 2012-02-20  David S. Miller  <davem@davemloft.net>
23507         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23508         using a normal save/restore sequence, rather than allocating a
23509         dummy stack frame just to store a frame pointer and restore.
23510         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23512 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23514         * manual/install.texi: Fix stray word in line-wrapped comment.
23516 2012-02-20  David S. Miller  <davem@davemloft.net>
23518         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23519         both binutils and gcc support GOTDATA.
23521         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23522         "rd %pc" in the PIC register setup sequences.
23524         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23525         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23526         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23527         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23528         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23529         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23530         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23531         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23532         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23533         (SYSCALL_ERROR_HANDLER): Likewise.
23534         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23535         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23536         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23537         (SYSCALL_ERROR_HANDLER): Likewise.
23539         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23540         (HAVE_GCC_GOTDATA): New.
23541         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23542         relocation support in both binutils and gcc.
23543         * sysdeps/sparc/elf/configure: Regenerate.
23545         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23546         * sysdeps/sparc/sparc32/elf/configure: Delete.
23547         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23548         * sysdeps/sparc/sparc64/elf/configure: Delete.
23549         * sysdeps/sparc/elf/configure.in: New file.
23550         * sysdeps/sparc/elf/configure: Generate.
23552         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23553         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23554         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23555         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23556         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23558 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23560         * manual/install.texi: Do not mention specific glibc version
23561         numbers.
23562         * manual/libc.texinfo (VERSION, UPDATED): Update.
23563         (@copying): Use @copyright{} and range of years.
23565 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23567         [BZ #13695]
23568         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23569         [crti.S not in sysdirs] (generated): Do not append.
23570         [crti.S not in sysdirs] (omit-deps): Likewise.
23571         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23572         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23573         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23574         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23575         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23576         Likewise.
23577         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23578         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23579         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23580         * csu/defs.awk: Remove file.
23581         * sysdeps/generic/initfini.c: Likewise.
23582         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23583         variable.
23584         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23585         Likewise.
23587 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23589         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23590         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23591         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23592         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23593         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23594         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23595         <bits/epoll.h>.
23596         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23597         (__EPOLL_PACKED): Define to empty if not defined by
23598         <bits/epoll.h>.
23599         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23600         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23601         bits/epoll.h.
23603 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23605         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23606         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23607         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23608         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23609         <bits/timerfd.h>.
23610         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23611         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23612         bits/timerfd.h.
23614 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23616         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23617         in C locale.
23618         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23619         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23620         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23623 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
23625         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23626         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23628 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
23630         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23631         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23632         defined.
23633         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23634         Likewise.
23635         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23636         entry for 2.16.
23638 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23640         * math/w_acos.c: Use non-signaling floating-point comparisons.
23641         * math/w_acosf.c: Likewise.
23642         * math/w_acosh.c: Likewise.
23643         * math/w_acoshf.c: Likewise.
23644         * math/w_acoshl.c: Likewise.
23645         * math/w_acosl.c: Likewise.
23646         * math/w_asin.c: Likewise.
23647         * math/w_asinf.c: Likewise.
23648         * math/w_asinl.c: Likewise.
23649         * math/w_atanh.c: Likewise.
23650         * math/w_atanhf.c: Likewise.
23651         * math/w_atanhl.c: Likewise.
23652         * math/w_exp2.c: Likewise.
23653         * math/w_exp2f.c: Likewise.
23654         * math/w_exp2l.c: Likewise.
23655         * math/w_j0.c: Likewise.
23656         * math/w_j0f.c: Likewise.
23657         * math/w_j0l.c: Likewise.
23658         * math/w_j1.c: Likewise.
23659         * math/w_j1f.c: Likewise.
23660         * math/w_j1l.c: Likewise.
23661         * math/w_jn.c: Likewise.
23662         * math/w_jnf.c: Likewise.
23663         * math/w_log.c: Likewise.
23664         * math/w_log10.c: Likewise.
23665         * math/w_log10f.c: Likewise.
23666         * math/w_log10l.c: Likewise.
23667         * math/w_log2.c: Likewise.
23668         * math/w_log2f.c: Likewise.
23669         * math/w_log2l.c: Likewise.
23670         * math/w_logf.c: Likewise.
23671         * math/w_logl.c: Likewise.
23672         * math/w_sqrt.c: Likewise.
23673         * math/w_sqrtf.c: Likewise.
23674         * math/w_sqrtl.c: Likewise.
23675         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23676         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23677         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23678         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23679         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23681 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23683         [BZ #9739]
23684         * manual/string.texi (strnlen): Use correct parameter name in
23685         equivalent expression.
23687 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23689         [BZ #11174]
23690         * manual/users.texi (seteuid): Consistently use neweuid for
23691         argument name.
23693 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23695         [BZ #13704]
23696         * manual/nss.texi (Services in the NSS configuration): Correct
23697         list of services in example configuration file.
23699 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
23701         [BZ #11322]
23702         * manual/arith.texi: Remove statements about negative zero
23703         behaving identically to zero.
23705 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23707         [BZ #5993]
23708         * manual/install.texi: Do not document upgrading from libc5.
23710 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23712         [BZ #4596]
23713         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23715 2012-02-18  David S. Miller  <davem@davemloft.net>
23717         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23718         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23719         %o7 across the call.
23720         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23721         instead.
23722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23723         SETUP_PIC_REG_LEAF.
23724         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23725         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23726         * sysdeps/sparc/crtn.S: Likewise.
23728 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
23730         * aout/Makefile: Remove.
23732 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
23734         [BZ #13058]
23735         * manual/examples/argp-ex1.c (main): Format definition in GNU
23736         style.
23737         * manual/examples/argp-ex2.c (main): Likewise.
23738         * manual/examples/argp-ex3.c (main): Likewise.
23739         * manual/examples/argp-ex4.c (main): Likewise.
23740         * manual/examples/longopt.c (main): Use new-style prototype
23741         definition.
23742         * manual/examples/strncat.c (main): Specify return type and use
23743         (void) for arguments.
23744         * manual/examples/subopt.c (main): Use char **argv argument.
23746 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23748         [BZ #5077]
23749         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23750         rounding modes.
23752 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
23754         [BZ #6907]
23755         * manual/string.texi (strchr): Change when strchrnul is
23756         recommended.
23758 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
23760         [BZ #174]
23761         * manual/locale.texi (setlocale): Document LOCPATH.
23763 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23765         [BZ #10210]
23766         * manual/process.texi (execle): Move @dots{} before last argument.
23768 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
23770         [BZ #12047]
23771         * manual/charset.texi (Generic Charset Conversion): Fix typo
23772         (LC_TYPE -> LC_CTYPE).
23774 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
23776         [BZ #5805]
23777         * manual/arith.texi (scalbn): Use @var{} on parameter names.
23778         (scalbnf): Likewise.
23779         (scalbnl): Likewise.
23780         (scalbln): Likewise.
23781         (scalblnf): Likewise.
23782         (scalblnl): Likewise.
23783         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23784         (vwarnx): Likewise.
23785         (verr): Likewise.
23786         (verrx): Likewise.
23787         * manual/filesys.texi (telldir): Use braces around return type.
23788         * manual/llio.texi (mmap): Add space after comma.
23789         (mmap64): Likewise.
23790         * manual/math.texi (jn): Use @var{} on parameter names.
23791         (jnf): Likewise.
23792         (jnl): Likewise.
23793         (yn): Likewise.
23794         (ynf): Likewise.
23795         (ynl): Likewise.
23796         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23797         line.
23798         * manual/resource.texi (ulimit): Use @dots{} instead of literal
23799         "...".
23800         (sched_get_priority_min): Remove semicolon on @deftypefun line.
23801         (sched_get_priority_max): Likewise.
23802         * manual/signal.texi (sigvec): Add space after comma.
23803         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23804         names.
23805         (if_indextoname): Likewise.
23806         (if_freenameindex): Likewise.
23807         (sendto): Use ',' instead of '.' in prototype.
23808         * manual/startup.texi (syscall): Use @dots{} instead of literal
23809         "...".
23810         * manual/stdio.texi (__fpending): Separate initial words of
23811         paragraph from @deftypefun line.
23812         * manual/syslog.texi (syslog): Use @dots{} instead of literal
23813         "...".
23814         (vsyslog): Use @var{} on parameter names.
23815         * manual/terminal.texi (stty): Use @var{} on parameter names.
23816         * manual/users.texi (getutmp): Use @var{} on parameter names.
23817         (getutmpx): Likewise.
23819 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23821         [BZ #6884]
23822         * manual/stdio.texi (fopen): Fix typos in description of
23823         ",ccs=STRING".
23825 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
23827         [BZ #4026]
23828         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23829         get clock_id definition.
23831 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
23833         [BZ #4822]
23834         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23835         (madvise): Cast every argument to void on its own.
23837 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23839         [BZ #9902]
23840         * manual/startup.texi (Exit Status): Fix typo.
23842 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23844         [BZ #10140]
23845         * manual/examples/argp-ex1.c: Include <stdlib.h>.
23846         * manual/examples/argp-ex2.c: Likewise.
23847         * manual/examples/argp-ex3.c: Likewise.
23849 2012-02-16  Richard Henderson  <rth@redhat.com>
23851         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23852         * sysdeps/s390/s390-32/initfini.c: Remove.
23853         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23854         * sysdeps/s390/s390-64/initfini.c: Remove.
23856 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23858         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23859         compiler output for sysdeps/generic/initfini.c.
23860         * sysdeps/sh/elf/initfini.c: Remove file.
23862 2012-02-16  David S. Miller  <davem@davemloft.net>
23864         [BZ #11494]
23865         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23867         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23868         * sysdeps/sparc/crti.S: New file.
23869         * sysdeps/sparc/crtn.S: New file.
23870         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23871         * sysdeps/sparc/sparc64/Makefile: Likewise.
23873 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
23875         [BZ #3335]
23876         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23878 2012-02-15  Roland McGrath  <roland@hack.frob.com>
23880         [BZ #4822]
23881         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23883         * mach/devstream.c (cookie_io_functions_t): Macro removed.
23884         (write, read, close): Likewise.
23885         Patch by Aurelien Jarno <aurelien@aurel32.net>.
23887 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
23889         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23890         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23891         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23892         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23893         <bits/signalfd.h>.
23894         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23895         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23896         bits/signalfd.h.
23898 2012-02-14  Marek Polacek  <polacek@redhat.com>
23900         * sysdeps/x86_64/crti.S: New file.
23901         * sysdeps/x86_64/crtn.S: New file.
23902         * sysdeps/x86_64/elf/initfini.c: Remove file.
23904 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23906         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23907         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23908         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23909         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23910         <bits/inotify.h>.
23911         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23913         bits/inotify.h.
23915 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23917         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23918         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23919         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23920         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23921         <bits/eventfd.h>.
23922         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23924         bits/eventfd.h.
23926 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
23928         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23929         __feraiseexcept instead of feraiseexcept.
23931         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23932         nanosleep invocations.
23933         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23934         strings, and add error checking for a nanosleep invocations.
23936 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
23938         Replace FSF snail mail address with URLs, as per GNU coding standards.
23939         Most of the snail mail addresses were wrong anyway, and omitting
23940         them makes the source code easier to maintain.  Almost all of the
23941         changes are to license notices and to locale LC_IDENTIFICATION
23942         addresses, except for this one:
23943         * manual/libc.texinfo: In "Published by", give the FSF's URL,
23944         not its snail mail address.
23946 2012-02-09  Richard Henderson  <rth@twiddle.net>
23948         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23949         of kernel-features.h.
23951         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23953 2012-02-08  Marek Polacek  <polacek@redhat.com>
23955         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23956         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23957         * sysdeps/gnu/_G_config.h: Likewise.
23958         * sysdeps/generic/_G_config.h: Likewise.
23960 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
23962         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23963         tests.
23964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23966         * sysdeps/powerpc/powerpc32/crti.S: New file.
23967         * sysdeps/powerpc/powerpc32/crtn.S: New file.
23968         * sysdeps/powerpc/powerpc64/crti.S: New file.
23969         * sysdeps/powerpc/powerpc64/crtn.S: New file.
23971         * Makeconfig (have-initfini): Don't set.
23972         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23973         * configure.in (nopic_initfini): Don't substitute.
23974         * config.h.in (HAVE_INITFINI): Don't #undef.
23975         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23976         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23978 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
23980         Support crti.S and crtn.S provided directly by architectures.
23981         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23982         [crti.S in sysdirs] (omit-deps): Likewise.
23983         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23984         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23985         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23986         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23987         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23988         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23989         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23990         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23991         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23992         compiler output for sysdeps/generic/initfini.c.
23993         * sysdeps/i386/elf/Makefile: Remove file.
23994         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23996 2012-02-07  Marek Polacek  <polacek@redhat.com>
23998         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23999         * sysdeps/gnu/_G_config.h: Likewise.
24000         * sysdeps/mach/hurd/_G_config.h: Likewise.
24002 2012-02-07  Marek Polacek  <polacek@redhat.com>
24004         * math/Makefile (tests): Add tst-CMPLX2.
24005         * math/tst-CMPLX2.c: New file.
24007 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
24009         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24011         * math/libm-test.inc (jn_test): Add missing L suffix.
24013 2012-02-06  Marek Polacek  <polacek@redhat.com>
24015         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24016         * sysdeps/i386/fpu/e_powf.S: Likewise.
24017         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24018         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24019         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24020         * sysdeps/i386/fpu/e_pow.S: Likewise.
24021         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24022         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24023         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24024         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24025         * sysdeps/i386/fpu/e_log2.S: Likewise.
24026         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24027         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24028         * sysdeps/i386/fpu/e_powl.S: Likewise.
24029         * sysdeps/i386/fpu/s_log1p.S: Likewise.
24030         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24031         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24032         * sysdeps/i386/fpu/e_logl.S: Likewise.
24033         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24034         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24035         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24036         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24037         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24038         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24039         * sysdeps/i386/fpu/e_log.S: Likewise.
24040         * sysdeps/i386/fpu/s_cexp.S: Likewise.
24041         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24042         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24043         * sysdeps/i386/fpu/e_logf.S: Likewise.
24044         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24045         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24046         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24047         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24048         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24049         * sysdeps/i386/fpu/e_log10.S: Likewise.
24050         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24051         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24052         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24053         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24054         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24055         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24056         * sysdeps/i386/asm-syntax.h: Likewise.
24057         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24058         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24059         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24060         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24061         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24062         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24063         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24064         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24065         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24066         * sysdeps/powerpc/sysdep.h: Likewise.
24067         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24068         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24070 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24072         [BZ #411]
24073         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24075 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24077         * sysdeps/i386/sysdep.h: Include <features.h>.
24078         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24079         version.
24081 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
24083         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24084         Define.
24085         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24086         LOAD_PIC_REG_STR.
24088 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24090         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24091         (SETUP_PIC_REG): Use GET_PC_THUNK.
24092         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24093         macro.
24095 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24097         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24098         for non-PIC compilation.
24099         (SETUP_PIC_REG): Add .p2align directive.
24100         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24101         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24102         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24103         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24104         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24105         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24106         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24107         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24108         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24109         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24110         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24111         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24112         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24113         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24114         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24115         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24116         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24117         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24118         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24119         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24120         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24121         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24122         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24123         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24124         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24125         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24126         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24127         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24128         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24129         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24130         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24131         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24132         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24133         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24134         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24135         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24136         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24137         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24138         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24139         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24140         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24142 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24144         * math/tst-CMPLX.c: Include <stdio.h>.
24146 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
24148         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24149         float.
24150         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24151         * sysdeps/sparc/bits/mathdef.h: Likewise.
24153 2012-01-31  Marek Polacek  <polacek@redhat.com>
24155         * libio/libio.h: Don't define _PARAMS.
24156         * locale/programs/config.h: Don't define PARAMS.
24157         * stdlib/strtol_l.c: Likewise.
24158         (__strtol_l): Remove PARAMS from the prototype.
24160 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
24162         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
24163         names.  Just use the correct names.  Remove unnecessary wrapper
24164         functions.
24165         * malloc/arena.c: Likewise.
24166         * malloc/hooks.c: Likewise.
24168         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24169         ARENA_TEST says not to.  Simplify test for creation of a new arena.
24170         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24172 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
24174         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24175         into tail calls.
24176         (update_get_addr): New function.
24177         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24178         GET_ADDR_MODULE parameter.
24180 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24182         * crypt/cert.c: Remove __STDC__ conditionals.
24183         * crypt/crypt-entry.c: Likewise.
24184         * crypt/crypt_util.c: Likewise.
24185         * libio/filedoalloc.c: Likewise.
24186         * libio/fileops.c: Likewise.
24187         * libio/genops.c: Likewise.
24188         * libio/iofclose.c: Likewise.
24189         * libio/iofdopen.c: Likewise.
24190         * libio/iofopen.c: Likewise.
24191         * libio/iofopen64.c: Likewise.
24192         * libio/iogetdelim.c: Likewise.
24193         * libio/iopopen.c: Likewise.
24194         * libio/obprintf.c: Likewise.
24195         * libio/oldfileops.c: Likewise.
24196         * libio/oldiofclose.c: Likewise.
24197         * libio/oldiofdopen.c: Likewise.
24198         * libio/oldiofopen.c: Likewise.
24199         * libio/oldiopopen.c: Likewise.
24200         * libio/wfiledoalloc.c: Likewise.
24201         * libio/wgenops.c: Likewise.
24202         * locale/programs/xmalloc.c: Likewise.
24203         * misc/syslog.c: Likewise.
24204         * stdio-common/xbug.c: Likewise.
24205         * string/memchr.c: Likewise.
24206         * string/memcmp.c: Likewise.
24207         * string/memrchr.c: Likewise.
24208         * string/rawmemchr.c: Likewise.
24209         * sysdeps/posix/getcwd.c: Likewise.
24210         * time/strftime_l.c: Likewise.
24212 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24214         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24215         * config.make.in (config-cflags-sse2avx): Define.
24216         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24217         Fix typo.
24219 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
24221         * scripts/config.guess: Update from upstream config git repository.
24222         * scripts/config.sub: Likewise.
24224 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
24226         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24227         (EM_NUM): Update.
24228         (R_TILEPRO_*, R_TILEGX_*): New macros.
24230         * scripts/firstversions.awk: Fix bug in version range handling.
24232         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24234         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24236         * include/sys/epoll.h: New file.
24237         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24238         libc_hidden_def.
24240 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
24242         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24243         Avoid unnecessary __WORDSIZE == 64 test.
24244         (fmaxf): Use VEX format if possible.
24245         (fmax): Likewise.
24246         (fminf): Likewise.
24247         (fmin): Likewise.
24249         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24250         * math/math_private.h: Remove libc_fegetround* and
24251         libc_fesetround*.
24252         * sysdeps/i386/configure.in: Check for -msse2avx.
24253         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24254         also if SSE2AVX is defined.
24255         Remove libc_fegetround* and libc_fesetround*.
24256         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24257         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
24258         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24259         of HAS_YMM_USABLE.
24260         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24261         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24262         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24263         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24264         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24266         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24268 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24270         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24271         size is not set.
24272         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24274 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
24276         [BZ #13618]
24277         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24278         relocation.
24279         * Makeconfig (libm): Define.
24280         * elf/Makefile: Add rules to build and run tst-relsort1.
24281         * elf/tst-relsort1.c: New file.
24282         * elf/tst-relsort1mod1.c: New file.
24283         * elf/tst-relsort1mod2.c: New file.
24285 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
24287         * math/s_ldexp.c: Remove __STDC__ conditionals.
24288         * math/s_ldexpf.c: Likewise.
24289         * math/s_ldexpl.c: Likewise.
24290         * math/s_nextafter.c: Likewise.
24291         * math/s_nexttowardf.c: Likewise.
24292         * math/s_significand.c: Likewise.
24293         * math/s_significandf.c: Likewise.
24294         * math/s_significandl.c: Likewise.
24295         * math/w_jnl.c: Likewise.
24296         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24297         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24298         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24299         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24300         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24301         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24302         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24303         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24304         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24305         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24306         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24307         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24308         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24309         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24310         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24311         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24312         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24313         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24314         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24315         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24316         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24317         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24318         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24319         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24320         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24321         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24322         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24323         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24324         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24325         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24326         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24327         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24328         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24329         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24330         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24331         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24332         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24333         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24334         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24335         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24336         * sysdeps/ieee754/k_standard.c: Likewise.
24337         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24338         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24339         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24340         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24341         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24342         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24343         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24344         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24345         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24346         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24347         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24348         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24349         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24350         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24351         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24352         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24353         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24354         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24355         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24356         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24357         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24358         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24359         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24360         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24361         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24362         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24363         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24364         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24365         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24366         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24367         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24368         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24369         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24370         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24371         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24372         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24373         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24374         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24375         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24376         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24377         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24378         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24379         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24380         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24381         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24382         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24383         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24384         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24385         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24386         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24387         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24388         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24389         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24390         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24391         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24392         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24393         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24394         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24395         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24396         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24397         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24398         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24399         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24400         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24401         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24402         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24403         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24404         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24405         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24406         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24407         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24408         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24409         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24410         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24411         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24412         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24413         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24414         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24415         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24416         * sysdeps/ieee754/s_matherr.c: Likewise.
24417         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24418         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24419         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24420         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24422 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24424         * crypt/md5.h: Remove __STDC__ conditionals.
24425         * libio/libioP.h: Likewise.
24426         * locale/programs/config.h: Likewise.
24427         * sysdeps/generic/sysdep.h: Likewise.
24428         * sysdeps/i386/asm-syntax.h: Likewise.
24429         * sysdeps/s390/asm-syntax.h: Likewise.
24430         * sysdeps/unix/sysdep.h: Likewise.
24431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24434 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24436         * libio/libio.h: Remove __STDC__ conditionals.
24437         * malloc/obstack.h: Likewise.
24438         * math/complex.h: Likewise.
24439         * math/math.h: Likewise.
24440         * sysdeps/generic/_G_config.h: Likewise.
24441         * sysdeps/gnu/_G_config.h: Likewise.
24442         * sysdeps/mach/hurd/_G_config.h: Likewise.
24443         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24444         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24445         * sysdeps/sparc/bits/mathdef.h: Likewise.
24447 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
24449         [BZ #13583]
24450         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24451         Clean up HAS_* macros.
24452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24453         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24454         possible.
24455         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24456         HAS_AVX.
24457         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24458         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24459         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24460         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24461         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24463 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
24465         * elf/tst-unique3.cc (gets): Remove declaration.
24466         * elf/tst-unique3lib.cc (gets): Likewise.
24467         * elf/tst-unique3lib2.cc (gets): Likewise.
24468         * elf/tst-unique4.cc (gets): Likewise.
24470 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
24472         * include/stdio.h: Add C++ protection.  Add gets declarations and
24473         definitions.
24474         * debug/tst-chk1.c: Don't declare gets here.
24475         * stdio-common/tst-gets.c: Likewise.
24477 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24479         * posix/glob: Remove directory.
24481 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24483         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24485 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
24487         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24488         of the non-standard EPFNOSUPPORT.
24490 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24492         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24493         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24494         ANYWHERE set to 1 only on KERN_NO_SPACE error.
24496 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
24498         * wcsmbs/uchar.h: Test __STDC_VERSION__.
24500 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
24502         * nscd/aicache.c (addhstaiX): Do not cache negative results of
24503         transient errors.
24504         * nscd/grpcache.c (cache_addgr): Likewise.
24505         * nscd/hstcache.c (cache_addhst): Likewise.
24506         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24507         * nscd/pwdcache.c (cache_addpw): Likewise.
24508         * nscd/servicescache.c (cache_addserv): Likewise.
24510 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
24512         * malloc/malloc.c: Various cleanups.
24513         * malloc/hooks.c: Likewise.
24515         * stdlib/Makefile (tests): Add bug-fmtmsg1.
24516         * stdlib/bug-fmtmsg1.c: New file.
24518         * stdlib/fmtmsg.c (init): Add missing unlock.
24519         Patch by Peng Haitao <penght@cn.fujitsu.com>.
24521 2012-01-12  Marek Polacek  <polacek@redhat.com>
24523         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24524         and _GNU_SOURCE.
24526 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24528         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24529         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24530         macro to ensure uniqueness of label name.
24531         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24532         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24534 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
24536         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24538         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24539         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24540         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24541         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24543 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
24545         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24547         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24548         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24549         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24551         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24553         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24554         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24555         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24556         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24558         * math/bits/math-finite.h: Add ldexp support.
24560 2012-01-10  Marek Polacek  <polacek@redhat.com>
24562         * locale/programs/localedef.h (show_archive_content): Add noreturn
24563         attribute.
24565 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
24567         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24569 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24571         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24573         * io/Makefile (headers): Add bits/poll2.h.
24575 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
24577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24578         typo #include statement.
24580 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24582         * include/sys/cdefs.h: Define __attribute_alloc_size.
24583         * catgets/gencat.c: Add alloc_size attribute and apply consistently
24584         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24585         * elf/pldd.c: Likewise.
24586         * iconv/iconv_charmap.c: Likewise.
24587         * iconv/iconvconfig.c: Likewise.
24588         * iconv/strtab.c: Likewise.
24589         * locale/programs/locale.c: Likewise.
24590         * locale/programs/localedef.h: Likewise.
24591         * locale/programs/simple-hash.c: Likewise.
24592         * nscd/nscd.h: Likewise.
24593         * nss/makedb.c: Likewise.
24594         * sysdeps/generic/ldconfig.h: Likewise.
24595         * locale/programs/localedef.c: Remove xmalloc prototype.
24596         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24598 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24600         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24601         appropriate.
24603 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24605         * math/Makefile (tests): Add tst-CMPLX.
24606         * math/tst-CMPLX.c: New file.
24608         * math/complex.h (CMPLXL): Fix typo.
24610         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24611         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24612         GLIBC_2.16.
24613         * debug/tst-chk1.c: Add poll and ppoll tests.
24614         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24615         * include/sys/poll.h: Add hidden proto for ppoll.
24616         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24617         * sysdeps/mach/hurd/ppoll.c: Likewise.
24618         * io/ppoll.c: Likewise.
24619         * debug/poll_chk.c: New file.
24620         * debug/ppoll_chk.c: New file.
24621         * include/bits/poll2.h: New file.
24622         * io/bits/poll2.h: New file.
24624         [BZ #1350]
24625         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24627         * configure.in: static is always set to yes.  Remove.
24628         * config.make.in: Don't set build-static.
24629         * Makeconfig: Remove use of build-static.
24630         * dlfcn/Makefile: Likewise.
24631         * elf/Makefile: Likewise.
24632         * math/Makefile: Likewise.
24633         * misc/Makefile: Likewise.
24634         * nptl/Makefile: Likewise.
24635         * sysdeps/mach/hurd/Makefile: Likewise.
24637         * configure.in: PWD_P is not used anymore.
24638         * config.make.in: Remove PWD_P entry.
24640         * configure.in: Remove last remnants of RANLIB.
24641         No need to check for signed size_t anymore.
24642         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24643         and IA-64.
24644         Remove __builtin_expect test because we require at least gcc 3.4.
24645         * aclocal.m4: Likewise.
24647         * wcsmbs/mbrtoc16.c: Implement using towc function.
24648         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24649         * wcsmbs/wcsmbsload.c: Likewise.
24650         * iconv/gconv_simple.c: Likewise.
24651         * iconv/gconv_int.h: Likewise.
24652         * iconv/gconv_builtin.h: Likewise.
24653         * iconv/iconv_prog.c: Remove CHAR16 handling.
24655         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24657         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24659         * configure.in: Remove --with-elf and --enable-bounded options.
24660         Dont set base_machine for ia64.  More non-ELF conditions removed.
24661         Remove testing and setting of leading underscore information.
24662         * config.make.in (build-bounded): Set to no.
24663         * config.h.in: Remove NO_UNDERSCORES entry.
24664         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24665         them.
24666         * csu/start.c: Remove !NO_UNDERSCORE code.
24667         * locale/localeinfo.h: Likewise.
24668         * sysdeps/generic/machine-gmon.h: Likewise.
24669         * sysdeps/generic/sysdep.h: Likewise.
24670         * sysdeps/i386/sysdep.h: Likewise.
24671         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24672         * sysdeps/mach/sysdep.h: Likewise.
24673         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24674         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24675         * sysdeps/sh/sysdep.h: Likewise.
24676         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24677         * sysdeps/unix/i386/sysdep.S: Likewise.
24678         * sysdeps/unix/sparc/start.c: Likewise.
24679         * sysdeps/unix/sparc/sysdep.S: Likewise.
24680         * sysdeps/unix/sparc/sysdep.h: Likewise.
24681         * sysdeps/unix/start.c: Likewise.
24682         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24683         * sysdeps/x86_64/sysdep.h: Likewise.
24685 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
24687         [BZ #13553]
24688         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24689         for non-gcc.
24690         * argp/argp-fmtstream.h: Use const instead __const.
24691         * argp/argp.h: Likewise.
24692         * assert/assert.h: Likewise.
24693         * bits/fenv.h: Likewise.
24694         * bits/sched.h: Likewise.
24695         * bits/sigset.h: Likewise.
24696         * bits/sigthread.h: Likewise.
24697         * catgets/nl_types.h: Likewise.
24698         * conform/data/pthread.h-data: Likewise.
24699         * crypt/crypt-private.h: Likewise.
24700         * crypt/crypt.h: Likewise.
24701         * crypt/crypt_util.c: Likewise.
24702         * ctype/ctype.h: Likewise.
24703         * debug/execinfo.h: Likewise.
24704         * debug/mbsnrtowcs_chk.c: Likewise.
24705         * debug/mbsrtowcs_chk.c: Likewise.
24706         * debug/wcsnrtombs_chk.c: Likewise.
24707         * debug/wcsrtombs_chk.c: Likewise.
24708         * debug/wcstombs_chk.c: Likewise.
24709         * dirent/dirent.h: Likewise.
24710         * dlfcn/dlfcn.h: Likewise.
24711         * elf/neededtest4.c: Likewise.
24712         * grp/grp.h: Likewise.
24713         * gshadow/gshadow.h: Likewise.
24714         * iconv/gconv.h: Likewise.
24715         * iconv/gconv_int.h: Likewise.
24716         * iconv/gconv_simple.c: Likewise.
24717         * iconv/iconv.h: Likewise.
24718         * iconv/loop.c: Likewise.
24719         * iconv/skeleton.c: Likewise.
24720         * include/aio.h: Likewise.
24721         * include/aliases.h: Likewise.
24722         * include/argz.h: Likewise.
24723         * include/arpa/inet.h: Likewise.
24724         * include/assert.h: Likewise.
24725         * include/dirent.h: Likewise.
24726         * include/dlfcn.h: Likewise.
24727         * include/execinfo.h: Likewise.
24728         * include/fcntl.h: Likewise.
24729         * include/fenv.h: Likewise.
24730         * include/glob.h: Likewise.
24731         * include/grp.h: Likewise.
24732         * include/libintl.h: Likewise.
24733         * include/mntent.h: Likewise.
24734         * include/netdb.h: Likewise.
24735         * include/pwd.h: Likewise.
24736         * include/rpc/netdb.h: Likewise.
24737         * include/sched.h: Likewise.
24738         * include/search.h: Likewise.
24739         * include/shadow.h: Likewise.
24740         * include/signal.h: Likewise.
24741         * include/stdio.h: Likewise.
24742         * include/stdlib.h: Likewise.
24743         * include/string.h: Likewise.
24744         * include/sys/socket.h: Likewise.
24745         * include/sys/stat.h: Likewise.
24746         * include/sys/statfs.h: Likewise.
24747         * include/sys/statvfs.h: Likewise.
24748         * include/sys/syslog.h: Likewise.
24749         * include/sys/time.h: Likewise.
24750         * include/sys/uio.h: Likewise.
24751         * include/time.h: Likewise.
24752         * include/unistd.h: Likewise.
24753         * include/utmp.h: Likewise.
24754         * include/wchar.h: Likewise.
24755         * include/wctype.h: Likewise.
24756         * inet/aliases.h: Likewise.
24757         * inet/arpa/inet.h: Likewise.
24758         * inet/netinet/ether.h: Likewise.
24759         * inet/netinet/in.h: Likewise.
24760         * intl/libintl.h: Likewise.
24761         * io/bits/fcntl2.h: Likewise.
24762         * io/fcntl.h: Likewise.
24763         * io/ftw.h: Likewise.
24764         * io/sys/poll.h: Likewise.
24765         * io/sys/stat.h: Likewise.
24766         * io/sys/statfs.h: Likewise.
24767         * io/sys/statvfs.h: Likewise.
24768         * io/utime.h: Likewise.
24769         * libio/bits/stdio.h: Likewise.
24770         * libio/bits/stdio2.h: Likewise.
24771         * libio/libio.h: Likewise.
24772         * libio/libioP.h: Likewise.
24773         * libio/stdio.h: Likewise.
24774         * locale/lc-ctype.c: Likewise.
24775         * locale/locale.h: Likewise.
24776         * login/utmp.h: Likewise.
24777         * malloc/arena.c: Likewise.
24778         * malloc/malloc.c: Likewise.
24779         * malloc/malloc.h: Likewise.
24780         * malloc/mcheck.c: Likewise.
24781         * malloc/mtrace.c: Likewise.
24782         * math/bits/mathcalls.h: Likewise.
24783         * math/fenv.h: Likewise.
24784         * math/math_private.h: Likewise.
24785         * misc/bits/error.h: Likewise.
24786         * misc/bits/syslog.h: Likewise.
24787         * misc/err.h: Likewise.
24788         * misc/error.h: Likewise.
24789         * misc/fstab.h: Likewise.
24790         * misc/mntent.h: Likewise.
24791         * misc/regexp.h: Likewise.
24792         * misc/search.h: Likewise.
24793         * misc/sgtty.h: Likewise.
24794         * misc/sys/mman.h: Likewise.
24795         * misc/sys/syslog.h: Likewise.
24796         * misc/sys/uio.h: Likewise.
24797         * misc/sys/xattr.h: Likewise.
24798         * misc/ttyent.h: Likewise.
24799         * nis/rpcsvc/ypclnt.h: Likewise.
24800         * nss/nss.h: Likewise.
24801         * posix/bits/unistd.h: Likewise.
24802         * posix/fnmatch.h: Likewise.
24803         * posix/glob.h: Likewise.
24804         * posix/sched.h: Likewise.
24805         * posix/spawn.h: Likewise.
24806         * posix/sys/wait.h: Likewise.
24807         * posix/unistd.h: Likewise.
24808         * posix/wordexp.h: Likewise.
24809         * pwd/pwd.h: Likewise.
24810         * resolv/netdb.h: Likewise.
24811         * resource/sys/resource.h: Likewise.
24812         * rt/aio.h: Likewise.
24813         * rt/bits/mqueue2.h: Likewise.
24814         * rt/mqueue.h: Likewise.
24815         * shadow/shadow.h: Likewise.
24816         * signal/signal.h: Likewise.
24817         * socket/send.c: Likewise.
24818         * socket/sendto.c: Likewise.
24819         * socket/sys/socket.h: Likewise.
24820         * stdio-common/printf.h: Likewise.
24821         * stdlib/bits/stdlib.h: Likewise.
24822         * stdlib/fmtmsg.h: Likewise.
24823         * stdlib/monetary.h: Likewise.
24824         * stdlib/stdlib.h: Likewise.
24825         * stdlib/ucontext.h: Likewise.
24826         * streams/stropts.h: Likewise.
24827         * string/argz.h: Likewise.
24828         * string/bits/string2.h: Likewise.
24829         * string/string.h: Likewise.
24830         * string/strings.h: Likewise.
24831         * sunrpc/rpc/auth.h: Likewise.
24832         * sunrpc/rpc/auth_des.h: Likewise.
24833         * sunrpc/rpc/clnt.h: Likewise.
24834         * sunrpc/rpc/netdb.h: Likewise.
24835         * sunrpc/rpc/pmap_clnt.h: Likewise.
24836         * sunrpc/rpc/xdr.h: Likewise.
24837         * sysdeps/generic/inttypes.h: Likewise.
24838         * sysdeps/generic/net/if.h: Likewise.
24839         * sysdeps/generic/sys/swap.h: Likewise.
24840         * sysdeps/gnu/net/if.h: Likewise.
24841         * sysdeps/gnu/utmpx.h: Likewise.
24842         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24843         * sysdeps/i386/i486/bits/string.h: Likewise.
24844         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24845         * sysdeps/s390/bits/string.h: Likewise.
24846         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24847         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24848         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24849         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24850         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24851         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24852         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24853         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24854         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24855         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24856         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24857         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24858         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24859         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24860         * sysdeps/unix/sysv/linux/readv.c: Likewise.
24861         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24862         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24863         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24864         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24865         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24866         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24867         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24868         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24869         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24870         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24871         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24872         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24873         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24874         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24875         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24876         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24877         * sysvipc/sys/ipc.h: Likewise.
24878         * sysvipc/sys/msg.h: Likewise.
24879         * sysvipc/sys/sem.h: Likewise.
24880         * sysvipc/sys/shm.h: Likewise.
24881         * termios/termios.h: Likewise.
24882         * time/sys/time.h: Likewise.
24883         * time/time.h: Likewise.
24884         * wcsmbs/bits/wchar2.h: Likewise.
24885         * wcsmbs/uchar.h: Likewise.
24886         * wcsmbs/wchar.h: Likewise.
24887         * wctype/wctype.h: Likewise.
24889         [BZ #13551]
24890         * Makeconfig: Remove all but ELF support including AIX support.
24891         * Makerules: Likewise.
24892         * config.h.in: Likewise.
24893         * config.make.in: Likewise.
24894         * configure: Likewise.
24895         * configure.in: Likewise.
24896         * csu/Makefile: Likewise.
24897         * csu/version.c: Likewise.
24898         * debug/Makefile: Likewise.
24899         * dlfcn/Makefile: Likewise.
24900         * elf/Makefile: Likewise.
24901         * extra-lib.mk: Likewise.
24902         * iconv/Makefile: Likewise.
24903         * include/libc-symbols.h: Likewise.
24904         * include/shlib-compat.h: Likewise.
24905         * resolv/Makefile: Likewise.
24906         * resolv/res_libc.c: Likewise.
24907         * rt/Makefile: Likewise.
24908         * sysdeps/i386/asm-syntax.h: Likewise.
24909         * sysdeps/i386/sysdep.h: Likewise.
24910         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24911         * sysdeps/mach/sysdep.h: Likewise.
24912         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24913         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24914         * sysdeps/s390/asm-syntax.h: Likewise.
24915         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24916         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24917         * sysdeps/sh/sysdep.h: Likewise.
24918         * sysdeps/unix/sparc/sysdep.h: Likewise.
24919         * sysdeps/wordsize-32/divdi3.c: Likewise.
24920         * sysdeps/x86_64/sysdep.h: Likewise.
24922         * argp/Versions: Remove _argp_unlock_xxx.
24924         [BZ #13559]
24925         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
24926         * abilist/libBrokenLocale.abilist: Likewise.
24927         * abilist/libanl.abilist: Likewise.
24928         * abilist/libc.abilist: Likewise.
24929         * abilist/libcrypt.abilist: Likewise.
24930         * abilist/libdl.abilist: Likewise.
24931         * abilist/libm.abilist: Likewise.
24932         * abilist/libnsl.abilist: Likewise.
24933         * abilist/libpthread.abilist: Likewise.
24934         * abilist/libresolv.abilist: Likewise.
24935         * abilist/librt.abilist: Likewise.
24936         * abilist/libthread_db.abilist: Likewise.
24937         * abilist/libutil.abilist: Likewise.
24938         * abilist/libnss_db.abilist: New file.
24940         * scripts/abilist.awk: Add support for indirect functions.
24942         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24944         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24946         * shlib-versions: Remove entries for ports architectures.
24948         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
24949         files in ports.
24950         * elf/stackguard-macros.h: Remove support for IA-64.
24951         * elf/tst-auditmod1.c: Likewise.
24952         * sysdeps/generic/ldsodefs.h: Likewise.
24954         * sysdeps/unix/sysv/linux/configure.in: Ports should define
24955         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24956         configure files.
24958         [BZ #13552]
24959         * configure.in: Remove --enable-omitfp support.
24960         * FAQ.in: Adjust.
24961         * config.make.in: Likewise.
24962         * Makeconfig: Likewise.
24963         * manual/install.texi: Likewise.
24965         In case anyone cares, the IA-64 architecture could move to ports.
24966         * sysdeps/ia64/*: Removed.
24967         * sysdeps/unix/sysv/linux/ia64/*: Removed.
24968         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24970         [BZ #13555]
24971         * configure.in: Remove entries for unsupported architectures.
24973         [BZ #13533]
24974         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24975         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
24976         routines.
24977         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24978         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24979         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
24980         fall back to using wcrtomb.
24981         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24982         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
24983         renaming.
24984         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24985         * wcsmbs/tst-c16c32-1.c: New file.
24987         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24988         local variable.
24990         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24992         * elf/tst-unique3.cc: Add explicit declaration of gets.
24993         * elf/tst-unique3lib.cc: Likewise.
24994         * elf/tst-unique3lib2.cc: Likewise.
24995         * elf/tst-unique4.cc: Likewise.
24997         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24999 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
25001         [BZ #13566]
25002         * assert/assert.h (static_assert): Don't define for C++.
25003         * libio/stdio.h (gets): Do declare for C++ <= C++11.
25004         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25006 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
25008         * iconv/loop.c (single loop): Fix assertion in storing of
25009         remaining bytes.
25011         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25013 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
25015         * posix/getconf.c: Update copyright year.
25016         * nss/getent.c: Likewise.
25017         * nss/makedb.c: Likewise.
25018         * iconv/iconvconfig.c: Likewise.
25019         * iconv/iconv_prog.c: Likewise.
25020         * elf/ldconfig.c: Likewise.
25021         * elf/pldd.c: Likewise.
25022         * elf/sotruss.ksh: Likewise.
25023         * catgets/gencat.c: Likewise.
25024         * csu/version.c: Likewise.
25025         * elf/ldd.bash.in: Likewise.
25026         * elf/sprof.c (print_version): Likewise.
25027         * locale/programs/locale.c: Likewise.
25028         * locale/programs/localedef.c: Likewise.
25029         * login/programs/pt_chown.c: Likewise.
25030         * nscd/nscd.c (print_version): Likewise.
25031         * debug/xtrace.sh: Likewise.
25032         * malloc/memusage.sh: Likewise.
25033         * malloc/mtrace.pl: Likewise.
25034         * debug/catchsegv.sh: Likewise.
25036 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
25038         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25039         pure attribute.
25041 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
25043         [BZ #13533]
25044         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25045         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25046         transformations.
25047         * iconv/gconv_int.h: Likewise.
25048         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25049         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25050         from libc for GLIBC_2.16.
25051         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25052         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25053         * wcsmbs/uchar.h: Really define mbstate_t.
25054         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25055         * wcsmbs/c16rtomb.c: New file.
25056         * wcsmbs/mbrtoc16.c: New file.
25057         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25058         for C/POSIX locale.
25059         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25060         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25062         * wcsmbs/wchar.h: Add missing __restrict.
25064 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25066         [BZ #13532]
25067         * time/Makefile (routines): Add timespec_get.
25068         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25069         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
25070         timespec for ISO C11.
25071         * time/timespec_get.c: New file.
25072         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25073         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25075         [BZ #13531]
25076         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25077         * stdlib/stdlib.h: Declare aligned_alloc.
25078         * Versions.def: Add GLIBC_2.16 for libc.
25079         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25081         [BZ 13527]
25082         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25083         ISO C11.
25085         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25086         code.
25088         [BZ #13528]
25089         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25091         [BZ #13529]
25092         * assert/assert.h (static_assert): Define.
25094         * version.h: Update for 2.16 development version.
25096         [BZ #13526]
25097         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25098         _ISOC11_SOURCE.
25100         * version.h (RELEASE): Bump for 2.15 release.
25101         * include/features.h (__GLIBC_MINOR__): Bump to 15.
25103         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25104         Patch by Marek Polacek <mpolacek@redhat.com>.
25106         * bits/byteswap.h: Protect long long constants with __extension__.
25107         * sysdeps/i386/bits/byteswap.h: Likewise.
25108         * sysdeps/ia64/bits/byteswap.h: Likewise.
25109         * sysdeps/s390/bits/byteswap.h: Likewise.
25110         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25112 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25114         [BZ #13540]
25115         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25116         destination buffer.
25117         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25119 2011-12-23  Marek Polacek  <polacek@redhat.com>
25121         * elf/dl-addr.c (determine_info): Add inline keyword.
25122         * elf/tst-auditmod4b.c (check_avx): Likewise.
25123         * elf/tst-auditmod6b.c (check_avx): Likewise.
25124         * elf/tst-auditmod6c.c (check_avx): Likewise.
25125         * elf/tst-auditmod7b.c (check_avx): Likewise.
25127 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25129         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25130         !__SSE_MATH__.
25132 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25134         [BZ #13540]
25135         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25136         processing for last bytes.
25138 2011-08-06  Bruno Haible  <bruno@clisp.org>
25140         [BZ #13061]
25141         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25142         U+0385, not to U+1FEE.
25144         [BZ #13062]
25145         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25146         entry for U+00A5 U+0301.
25148 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25150         [BZ #13166]
25151         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25152         buffer for the output is too small.
25154         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25155         optimization.
25157         [BZ #13185]
25158         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25159         SSE flags if possible.
25161 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25163         [BZ #13540]
25164         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25165         processing for last bytes.
25167 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
25169         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25170         (syscall-list-default-options, syscall-list-default-condition)
25171         (syscall-list-includes): Define.
25172         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25173         list of ABIs and options and #if conditions for each ABI.  Do not
25174         handle common syscalls between ABIs specially.
25175         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25176         Remove.
25177         (syscall-list-variants, syscall-list-32bit-options)
25178         (syscall-list-32bit-condition, syscall-list-64bit-options)
25179         (syscall-list-64bit-condition): Define.
25180         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25181         (syscall-list-variants, syscall-list-32bit-options)
25182         (syscall-list-32bit-condition, syscall-list-64bit-options)
25183         (syscall-list-64bit-condition): Define.
25184         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25185         Remove.
25186         (syscall-list-variants, syscall-list-32bit-options)
25187         (syscall-list-32bit-condition, syscall-list-64bit-options)
25188         (syscall-list-64bit-condition): Define.
25189         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25190         Remove.
25191         (syscall-list-variants, syscall-list-32bit-options)
25192         (syscall-list-32bit-condition, syscall-list-64bit-options)
25193         (syscall-list-64bit-condition): Define.
25195 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25197         * locale/iso-639.def: Add brx entry.
25199         [BZ #13328]
25200         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25201         Proposed by Mariusz_Cukr <marcukr@op.pl>.
25203         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25204         __feraiseexcept_renamed.
25206 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25208         [BZ #13538]
25209         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25210         EPOLLET with unsigned values.
25211         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25212         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25214         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25215         to large cancellation.
25216         * math/s_cacoshf.c: Likewise.
25217         * math/s_cacoshl.c: Likewise.
25219 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
25221         [BZ #13305]
25222         [BZ #12786]
25223         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25224         * math/s_cacoshf.c: Likewise.
25225         * math/s_cacoshl.c: Likewise.
25227 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25229         [BZ #13439]
25230         * iconv/gconv.h: Define __GCONV_SWAP.
25231         * iconvdata/unicode.c: The swap bit must be stored in __flags.
25232         * iconvdata/utf-16.c: Likewise.
25233         * iconvdata/utf-32.c: Likewise.
25235 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25237         [BZ #13524]
25238         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25239         numerator after shifting it by one limb.
25241 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
25243         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25244         under [__USE_EXTERN_INLINES].
25246 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25248         [BZ #13446]
25249         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25251 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25253         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25254         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25255         optimized code.
25256         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25257         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25258         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25259         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25260         for strncasecmp/strncasecmp_l compilation.
25261         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25262         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25264 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
25266         [BZ #13484]
25267         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25268         of __asm__.
25270 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25272         [BZ #13506]
25273         * time/tzfile.c (__tzfile_read): Check values from file header.
25275 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25277         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25278         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25279         * powerpc/powerpc32/dl-start.S: Likewise.
25280         * powerpc/powerpc32/elf/start.S: Likewise.
25281         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25282         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25283         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25284         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25285         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25286         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25287         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25288         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25289         * powerpc/powerpc32/fpu/s_round.S: Likewise.
25290         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25291         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25292         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25293         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25294         * powerpc/powerpc32/memset.S: Likewise.
25295         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25296         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25297         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25298         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25299         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25300         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25301         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25302         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25303         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25304         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25305         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25306         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25307         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25309 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25311         * math/libm-test.inc: Added more nearbyint tests.
25312         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25313         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25314         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25315         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25317 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
25319         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25320         FD_CLOEXEC.
25322 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25324         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25325         Add wcscpy-ssse3 wcscpy-c.
25326         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25327         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25328         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25329         * sysdeps/x86_64/wcschr.S: New file.
25330         * sysdeps/x86_64/wcsrchr.S: New file.
25331         * string/test-strcmp.c: Remove checking of wcscmp function for
25332         wrong alignments.
25333         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25334         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25335         wcsrchr-sse2 wcsrchr-c.
25336         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25337         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25338         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25339         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25340         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25341         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25342         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25343         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25344         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25345         * wcsmbc/wcschr.c (WCSCHR): New macro.
25347 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25349         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25350         * wcsmbs/test-wcsrchr.c: New file.
25351         * string/test-strrchr.c: Add wcsrchr support.
25352         (WIDE): New macro.
25353         * wcsmbs/test-wcscpy.c: New file.
25354         * string/test-strcpy.c: Add wcscpy support.
25355         (WIDE): New macro.
25357 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
25359         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25360         the inner loop.
25362 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
25364         [BZ #13472]
25365         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25367 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
25369         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25370         Minor optimizations.
25372         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25373         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25374         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25376 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
25378         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25379         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25380         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25381         for gcc to avoid warnings.
25382         * inet/Makefile (tests): Add tst-checks.
25383         * inet/tst-checks.c: New file.
25385         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25386         warning.
25388         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25389         __wmemcmp_sse2.
25391         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25392         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25394         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25396 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
25398         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25399         problem.
25401         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25403 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
25405         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25406         conditional on GCC version.
25407         (__arch_compare_and_exchange_val_8_acq)
25408         (__arch_compare_and_exchange_val_16_acq)
25409         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25410         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25411         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25413 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
25415         * sysdeps/sh/backtrace.c: New file.
25417 2011-12-02  Andreas Schwab  <schwab@redhat.com>
25419         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
25420         parenthesis.
25422 2011-12-01  Andreas Schwab  <schwab@redhat.com>
25424         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25425         falling back to utime.
25427 2011-11-30  Andreas Schwab  <schwab@redhat.com>
25429         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25430         expectations for float.
25432 2011-11-29  Andreas Schwab  <schwab@redhat.com>
25434         * locale/weight.h (findidx): Add parameter len.
25435         * locale/weightwc.h (findidx): Likewise.
25436         * posix/fnmatch_loop.c (FCT): Adjust caller.
25437         * posix/regcomp.c (build_equiv_class): Likewise.
25438         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25439         * posix/regexec.c (check_node_accept_bytes): Likewise.
25440         * string/strcoll_l.c (STRCOLL): Likewise.
25441         * string/strxfrm_l.c (STRXFRM): Likewise.
25443 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
25445         * Makefile.in: Remove CVSOPT handling.
25446         * configure.in: Remove use of AC_REVISION.
25447         * iconvdata/Makefile (distribute): No need to filter out CVS.
25448         * scripts/list-sources.sh: Remove CVS, subversion and monotone
25449         handling.
25451 2011-11-16  Andreas Schwab  <schwab@redhat.com>
25453         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25454         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25455         [USE_AS_STRNCASECMP_L]: Likewise.
25456         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25457         NO_TLS_DIRECT_SEG_REFS.
25458         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25459         Fix argument offsets for non-PIC.
25460         [USE_AS_STRNCASECMP_L]: Likewise.
25461         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25462         NO_TLS_DIRECT_SEG_REFS.
25464 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25466         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25467         O_CLOEXEC.
25468         * locale/loadlocale.c (_nl_load_locale): Likewise.
25470 2011-11-15  Andreas Schwab  <schwab@redhat.com>
25472         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25473         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25474         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25475         (SYSCALL_GETTIME): Set errno on error.
25477         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25478         count references to noai6ai_cached.
25480 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25482         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25484         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25485         FD_CLOEXEC for /proc/self/maps.
25487         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25488         FD_CLOEXEC for /proc/meminfo.
25490         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25491         gai.conf.
25493         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
25494         FD_CLOEXEC for given file.
25496         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25498         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25499         FD_CLOEXEC for /etc/hosts.
25500         (_gethtent): Likewise.
25502         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25504         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25505         cancellation and set FD_CLOEXEC for /etc/netgroup.
25507         * nss/nss_files/files-key.c (search): Don't allow cancellation when
25508         reading /etc/publickey.
25510         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25511         allow cancellation when reading /etc/group.
25513         * nss/nss_files/files-alias.c (internal_setent): Don't allow
25514         cancellation.
25515         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
25517         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25518         when using data file.
25520         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25522         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25523         (write_nis_obj): Use "c" and "e" in fopen.
25525         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25527         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25529         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25531         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25533         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25534         locale.alias.
25536         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25538         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25540         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25542         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25543         file parsing and set FD_CLOEXEC.
25545 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25547         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25549 2011-11-14  Andreas Schwab  <schwab@redhat.com>
25551         * malloc/arena.c (arena_get2): Don't call reused_arena when
25552         _int_new_arena failed.
25554 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25556         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25557         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25558         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25559         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25560         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25561         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25562         to compile strcasecmp and strncasecmp.
25563         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25564         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25566         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25568 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
25570         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25571         locale-defines.sym to gen-as-const-headers.
25572         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25573         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25574         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25575         to compile strcasecmp and strncasecmp.
25576         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25577         strcasecmp_l and strncasecmp_l.
25578         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25579         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25580         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25581         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25582         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25583         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25584         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25585         * sysdeps/i386/i686/multiarch/strncase.S: New file.
25586         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25587         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25588         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25590 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
25592         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25593         result of SYSDEP_GETTIME_CPU to retval.
25594         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25595         parameter list to macro.  Remove trailing semicolon.  Adjust users.
25597         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25598         variable.
25600         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25601         mantissa words.
25602         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25604         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25605         from unused variable.
25607         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25608         DWARF definitions.
25609         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25610         for assembling.
25612         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25613         over namespaces.
25615         * sunrpc/rpc_prot.c (rejected): Fix case value.
25617         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25618         unsigned long long int to avoid warnings in shift.
25620         * posix/regex_internal.c (re_string_reconstruct): Actually use result
25621         of use of trans.
25622         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25623         variable tmp.
25625         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25626         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25627         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25629         * nis/nis_table.c (nis_list): Use variable of correct type for
25630         result of __follow_path call.
25632 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25634         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25635         of math functions ceil, trunc, floor, round, and sqrt, when
25636         avaliable on the platform.
25637         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25638         name clash.
25639         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25640         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25641         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25643 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25645         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25646         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25648 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25650         * include/unistd.h: Fix __readlink return type.
25651         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25653 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25655         * stdlib/ucontext.h: Undo last change for makecontext.
25657 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25659         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25661         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25662         * setjmp/setjmp.h: Mark functions as non-leaf.
25663         * setjmp/bits/setjmp2.h: Likewise.
25664         * stdlib/ucontext.h: Likewise.
25666 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25668         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25669         (reused_arena): Don't check arena limit.
25670         (arena_get2): Atomically check arena limit.
25672 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25674         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25675         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25677         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25678         instructions.
25680 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25682         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25683         handler when locking.
25685         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25686         Fix size of allocated buffer.
25688 2011-11-04  Andreas Schwab  <schwab@redhat.com>
25690         [BZ #10103]
25691         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25692         declarations for long double functions.
25693         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25695         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25697 2011-11-03  Andreas Schwab  <schwab@redhat.com>
25699         * nscd/nscd.c (main): Don't start AVC thread until credentials are
25700         installed.
25702         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25703         is disabled.
25705 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25707         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25709 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25711         * include/alloca.h (stackinfo_alloca_round): Define.
25712         (extend_alloca): Use it.
25713         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25714         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25715         here.
25717         * scripts/check-local-headers.sh: Ignore libaudit.h.
25719         * nscd/Makefile (extra-objs): Make recursively expanded.
25721 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
25723         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25724         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25726         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25727         * posix/tst-rfc3484-2.c: Likewise.
25728         * posix/tst-rfc3484-3.c: Likewise.
25730         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25731         process_vm_writev.
25732         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25733         process_vm_writev.
25734         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25735         process_vm_writev from libc using GLIBC_2.15 version.
25737         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25739 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
25741         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25742         stack usage.
25744 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
25746         [BZ #13367]
25747         * nss/getent.c (initgroups_keys): Show error message in case no group
25748         names are given.
25750         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25751         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25752         __bump_nl_timestamp.
25753         * nscd/connections (nscd_init): When host database is served open
25754         netlink socket and request notification about configuration changes.
25755         (main_loop_poll): Track netlink file descriptor and bump timestamp
25756         in case data becomes available.
25757         (main_loop_epoll): Likewise.
25758         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25759         (database_pers_head): Add extra_data fileds.
25760         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25761         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25762         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25763         Adjust caller.
25764         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25765         in6ai data, call __free_in6ai.
25766         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25767         Add -DHAVE_NETLINK.
25768         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
25769         interface information.  Reuse previous data if netlink timestamp
25770         is not changed.
25771         (__bump_nl_timestamp): New function.
25772         (__free_in6ai): New function.
25774 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
25776         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25777         close_not_cancel_no_status here.
25778         (__check_pf): Reorganize code a bit to not call close twice if OOM.
25780 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25782         [BZ #13276]
25783         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25784         return value.
25786         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25787         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25788         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25790 2011-07-03  Andreas Jaeger  <aj@suse.de>
25792         [BZ #10709]
25793         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25794         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25795         * math/libm-test.inc (sin_test): Add test case.
25797 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25799         [BZ #13337]
25800         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25801         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25803         * elf/chroot_canon.c (chroot_canon): Cleanups.
25805         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25807         [BZ #13335]
25808         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25809         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25811         * string/test-strchr.c: Make usable for strchrnul testing.
25812         * string/test-strchrnul.c: New file.
25813         * string/Makefile (strop-tests): Add strchrnul.
25815         * po/it.po: Update from translation team.
25816         * po/es.po: Likewise.
25818 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
25820         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25821         the three constants needed as parameters.  Drop the others.
25822         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25823         __m128i_strloadu_tolower.
25824         Create and initialize variable zero and use it in all the places
25825         where _mm_setzero_si128 was used.
25827         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25828         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25829         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25830         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25831         anymore.
25832         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25833         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25834         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25835         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25836         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25837         __mpranred, __mptan.
25838         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25839         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25840         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25841         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25842         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25843         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25844         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25845         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25846         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25848 2011-10-28  Andreas Schwab  <schwab@redhat.com>
25850         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25851         redefine if SHARED.
25852         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25854         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25855         wide char related routines to wcsmbs subdir.
25857 2011-10-27  Andreas Schwab  <schwab@redhat.com>
25859         [BZ #13344]
25860         * misc/sys/cdefs.h (__THROWNL): Define.
25861         * posix/unistd.h: Use __THREADNL instead of __THREAD
25862         for memory synchronization functions.
25864 2011-10-26  Roland McGrath  <roland@hack.frob.com>
25866         [BZ #13349]
25867         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25868         doesn't exist.
25869         * manual/stdio.texi (Obstack Streams): Node removed.
25871 2011-10-26  Andreas Schwab  <schwab@redhat.com>
25873         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25874         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25875         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25877         * math/math_private.h (math_force_eval): Allow non-addressable
25878         arguments.
25879         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25881 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25883         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25884         file is not needed.
25886         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25887         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25888         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25889         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25890         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25891         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25892         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25893         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25894         Add AVX variants.
25895         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25896         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25897         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25898         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25899         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25900         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25901         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25902         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25903         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25904         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25905         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25906         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25907         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25908         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25909         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25910         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25911         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25912         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25913         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25915         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25916         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
25918         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25919         place.  Use VEX encoding when compiling for AVX.
25921 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25923         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25924         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25926         * string/test-strchr.c (do_test): Don't generate NUL bytes.
25928 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25930         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25931         useless if() expression.
25932         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25933         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25934         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25935         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25936         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25937         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25938         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25939         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25940         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25941         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25942         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25943         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25944         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25945         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25946         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25947         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25948         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25949         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25950         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25952         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25954 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25956         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25957         condition.
25958         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25960 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25962         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25963         .text section.  Avoid duplicate constants.
25964         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25965         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25966         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25967         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25968         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25969         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25970         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25971         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25972         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25973         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25974         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25975         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25976         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25977         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25978         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25979         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25980         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25981         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25982         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25983         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25984         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25985         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25986         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25987         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25988         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25989         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25990         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25991         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25992         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25993         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25994         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25995         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25996         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25997         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25998         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25999         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26000         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26001         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26002         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26003         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26004         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26005         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26006         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26007         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26008         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26010 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
26012         * sysdeps/x86_64/dla.h: Move to ...
26013         * sysdeps/x86_64/fpu/dla.h: ...here.
26014         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26015         situations.  Use __builtin_fma only for gcc 4.6 and up.
26017         * config.make.in: Add have-mfma4 entry.
26018         * configure.in: Substitute libc_cv_cc_fma4.
26019         * math/Makefile (dbl-only-routines): Add sincostab.
26020         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26021         Use __sincostab not sincos.
26022         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26023         name is a macro.
26024         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26025         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26026         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26027         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
26028         using __copysign.
26029         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
26030         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
26031         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26032         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26033         and __inv.
26034         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26035         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26036         __copysign.
26037         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
26038         define aliases when function name is a macro.
26039         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26040         sysdeps/ieee754/dbl-64/sincos.tbl.
26041         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26042         fma4-enabled routines.
26043         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26044         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26045         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26046         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26047         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26048         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26049         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26050         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26051         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26052         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26053         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26054         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26055         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26056         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26057         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26058         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26059         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26060         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26061         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26062         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26063         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26064         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26065         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26066         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26067         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26068         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26069         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26070         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26071         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26072         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26074         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26075         rename.
26076         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26077         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26078         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26079         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26080         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26081         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26082         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26083         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26085 2011-10-24  Andreas Schwab  <schwab@redhat.com>
26087         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26089 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26091         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26093         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26094         prediction.
26095         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26097         * string/strnlen.c: Don't define STRNLEN, reverse logic.
26098         Remove unused variable magic_bits.
26099         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26101         * string/strnlen.c: Define and use STRNLEN macro.
26102         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26103         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26104         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26105         * wcsmbs/wcslen.c: Define and use WCSLEN.
26106         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26107         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26108         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26109         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26110         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26111         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26112         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26114 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26117         strnlen-sse2-no-bsf.
26118         Rename strlen-no-bsf to strlen-sse2-no-bsf.
26119         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26120         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26121         Add strnlen support.
26122         (USE_AS_STRNLEN): New macro.
26123         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26124         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26125         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26126         * sysdeps/x86_64/wcslen.S: New file.
26128 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
26130         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26131         XMM-moves are used for copying on small sizes.
26133 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26135         * wcsmbs/Makefile (strop-tests): Add wcschr.
26136         * wcsmbs/test-wcschr.c: New file.
26137         * string/test-strchr.c: Update.
26138         Add wcschr support.
26139         (WIDE): New macro.
26141 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26143         * wcsmbs/Makefile (strop-tests): Add wcslen.
26144         * wcsmbs/test-wcslen.c: New file.
26145         * string/test-strlen.c: Update.
26146         Add wcslen support.
26147         (WIDE): New macro.
26149 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26151         * po/it.po: Update from translation team.
26153 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26155         * sysdeps/x86_64/wcscmp.S: Update.
26156         Fix wrong comparison semantics.
26157         wcscmp shall use signed comparison not unsigned.
26158         Don't use substraction to avoid overflow bug.
26159         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26160         * wcsmbc/wcscmp.c: Likewise.
26161         * string/test-strcmp.c: Likewise.
26162         Add new tests to check cases with negative values.
26164 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26166         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26167         * sysdeps/x86_64/dla.h: ...here.  New file.
26168         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26169         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26170         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26171         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26172         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26173         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26174         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26175         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26176         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26178 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
26180         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26181         __ynl_finite aliases.
26183 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26185         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26187         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26188         define DLA_FMA.
26189         [DLA_FMA] (EMULV): Use DLA_FMA.
26190         [DLA_FMA] (MUL12): Use EMULV.
26191         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26192         that are not needed.
26193         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26194         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26195         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26196         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26197         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26198         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26199         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26201 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
26203         * math/s_nan.c: Undef __nan.
26204         * math/s_nanf.c: Undef __nanf.
26205         * math/s_nanl.c: Undef __nanl.
26206         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26207         "math_private.h".
26209 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26211         * math/s_catan.c: Add branch predictions.
26212         * math/s_catanf.c: Likewise.
26213         * math/s_catanh.c: Likewise.
26214         * math/s_catanhf.c: Likewise.
26215         * math/s_catanhl.c: Likewise.
26216         * math/s_catanl.c: Likewise.
26217         * math/s_cexp.c: Likewise.
26218         * math/s_cexpf.c: Likewise.
26219         * math/s_cexpl.c: Likewise.
26220         * math/s_clog.c: Likewise.
26221         * math/s_clog10.c: Likewise.
26222         * math/s_clog10f.c: Likewise.
26223         * math/s_clog10l.c: Likewise.
26224         * math/s_clogf.c: Likewise.
26225         * math/s_clogl.c: Likewise.
26226         * math/s_csqrt.c: Likewise.
26227         * math/s_csqrtf.c: Likewise.
26228         * math/s_csqrtl.c: Likewise.
26229         * math/s_ctanf.c: Likewise.
26230         * math/s_ctanh.c: Likewise.
26231         * math/s_ctanhf.c: Likewise.
26232         * math/s_ctanhl.c: Likewise.
26233         * math/s_ctanl.c: Likewise.
26235         * math/math_private.h: Define __nan, __nanf, __nanl.
26236         * math/s_cacosh.c: Include <math_private.h>.
26237         * math/s_cacoshl.c: Likewise.
26238         * math/s_casinh.c: Likewise.
26239         * math/s_casinhf.c: Likewise.
26240         * math/s_casinhl.c: Likewise.
26241         * math/s_ccos.c: Rely entire on ccosh.
26242         * math/s_ccosf.c: Rely entire on ccoshf.
26243         * math/s_ccosl.c: Rely entirely on ccoshl.
26244         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
26245         Remove tests for FE_INVALID.
26246         * math/s_ccoshf.c: Likewise.
26247         * math/s_ccoshl.c: Likewise.
26248         * math/s_csin.c: Likewise.
26249         * math/s_csinf.c: Likewise.
26250         * math/s_csinh.c Likewise.
26251         * math/s_csinhf.c: Likewise.
26252         * math/s_csinhl.c: Likewise.
26253         * math/s_csinl.c: Likewise.
26254         * math/s_ctan.c: Likewise.
26255         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26256         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26257         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26259 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
26261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26262         compilation problems.
26264         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26265         __builtin_expect.
26267 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
26269         * sysdeps/i386/configure.in: Test for -mfma4 option.
26270         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26271         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26272         COMMON_CPUID_INDEX_80000001.
26273         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26274         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26275         use it if FMA3 is not supported.
26276         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26278         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26279         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26281 2011-10-20  Andreas Schwab  <schwab@redhat.com>
26283         [BZ #12892]
26284         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26285         it would create a cycle with a link time dependency.
26287 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
26289         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26290         instruction.
26291         * string/Makefile (strop-tests): Add rawmemchr.
26292         * string/test-rawmemchr.c: New file.
26294         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26295         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
26296         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
26297         when compiling str{,n}casecmp and when AVX is available.  Hook up
26298         new optimized code in initializers.
26300 2011-10-19  Andreas Schwab  <schwab@redhat.com>
26302         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26303         __feraiseexcept instead of feraiseexcept.
26305 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
26307         * math/math_private.h: Define defaults for libc_fetestexcept and
26308         libc_feupdateenv.
26309         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26310         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26311         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26312         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26313         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26314         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26315         libc_fetestexcept and libc_feupdateenv.
26317         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26318         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26319         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26320         * sysdeps/x86_64/fpu/math_private.h: Define special version of
26321         libc_feholdexcept_setround.
26323         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26324         Add s_nearbyint-c and s_nearbyintf-c.
26325         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26326         nearbyintf inlines.
26327         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26328         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26329         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26330         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26332         * math/math_private.h: Define defaults for libc_fegetround,
26333         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26334         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26335         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26336         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26337         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26338         standard functions.
26339         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26340         Remove comments and hacks for old compiler versions.
26341         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26342         libc_fegetround, libc_fesetround, libc_feholdexcept, and
26343         libc_feholdexceptl.
26345 2011-10-18  Andreas Schwab  <schwab@redhat.com>
26347         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26348         (__feraiseexcept_renamed): Add __NTH.
26349         (feraiseexcept): Add __NTH.  Rename local variables to fix
26350         namespace violations.
26352 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
26354         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26356         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26358         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26359         recently added interfaces.
26360         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26362         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26363         about macro parameter expansion.
26365         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26366         __NO_MATH_INLINES is defined.  Cleanups.
26368         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26369         and __floorf is target has SSE4.1.
26370         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26371         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26372         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26373         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26375         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26376         name.
26377         (floorf): Likewise.
26379         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26381 2011-10-17  Andreas Schwab  <schwab@redhat.com>
26383         * misc/sys/cdefs.h: Fix last change.
26385         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26386         database lookup.
26388 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
26390         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26392         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26393         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26394         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26395         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26396         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26397         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26398         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26399         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26400         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26401         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26402         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26403         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26404         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26405         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26406         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26407         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26408         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26409         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26410         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26411         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26412         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26413         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26415         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26416         ceil, ceilf, floor, floorf.
26418         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26419         Perform IRELATIVE relocations last.
26421         * elf/do-rel.h: Add another parameter nrelative, replacing the
26422         local variable with the same name.  Change name of the function
26423         to end in Rel or Rela (uppercase).
26424         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26425         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
26426         elf_dynamic_do_##reloc function.
26428 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26430         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26431         is sufficient, at least on modern CPUs.
26433         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26435         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26436         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26438         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26439         __expl_finite.
26440         * math/bits/math-finite.h: Add entries for exp.
26441         * math/e_expl.c: Add __*_finite alias.
26442         * sysdeps/i386/fpu/e_exp.S: Likewise.
26443         * sysdeps/i386/fpu/e_expf.S: Likewise.
26444         * sysdeps/i386/fpu/e_expl.c: Likewise.
26445         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26446         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26447         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26448         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26449         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26450         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26451         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26453         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26454         is sufficient, at least on modern CPUs.
26456         * ctype/ctype-info.c (__ctype_init): Define.
26457         * include/ctype.h (__ctype_init): Declare.
26458         (__ctype_b_loc): The variable is always initialized.
26459         (__ctype_toupper_loc): Likewise.
26460         (__ctype_tolower_loc): Likewise.
26461         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26462         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26464 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
26466         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26468         * configure.in: Also look in $cxxmachine/include for C++ system
26469         headers.
26471 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26473         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26474         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26475         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26476         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
26477         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26478         (USE_AS_WMEMCMP): New macro.
26479         Fixing indents.
26480         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26481         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26482         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26483         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26484         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26485         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26486         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26487         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26488         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26489         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26490         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26491         (USE_AS_WMEMCMP): New macro.
26492         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26493         * sysdeps/string/test-memcmp.c: Update.
26494         Fix simple_wmemcmp.
26495         Add new tests.
26496         * wcsmbs/wmemcmp.c: Update.
26497         (WMEMCMP): New macro.
26498         Fix overflow bug.
26500 2011-10-12  Andreas Jaeger  <aj@suse.de>
26502         [BZ #13268]
26503         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26505 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26507         * libio/iofwide.c (do_length): Avoid warning.
26509         * ctype/ctype.h (__isctype_f): Add missing __THROW.
26511 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
26513         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26515         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26516         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26517         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26518         * sysdeps/i386/i686/fpu/e_log.S: New file.
26519         * sysdeps/i386/i686/fpu/e_logf.S: New file.
26520         * sysdeps/i386/i686/fpu/e_logl.S: New file.
26522         * ctype/ctype.h: Add support for inlined isXXX functions when
26523         compiling C++ code.
26525 2011-10-14  Andreas Schwab  <schwab@redhat.com>
26527         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26529         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26531 2011-10-13  Roland McGrath  <roland@hack.frob.com>
26533         [BZ #13291]
26534         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26536 2011-10-13  Andreas Schwab  <schwab@redhat.com>
26538         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26539         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26540         feraiseexcept.
26542         * sysdeps/x86_64/memrchr.S: Check for zero size.
26544         * string/stratcliff.c: Add memrchr tests.
26546 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26548         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26549         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26550         rawmemchr-sse2 rawmemchr-sse2-bsf.
26551         * sysdeps/i386/i686/multiarch/memchr.S: New file.
26552         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26553         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26554         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26555         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26556         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26557         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26558         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26559         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26560         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26561         * string/memrchr.c (MEMRCHR): New macro.
26563 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
26565         Add integration with gcc's -ffinite-math-only and optimize wrapper
26566         functions in libm.
26567         * Versions.def: Define GLIBC_2.15 version for libm.
26568         * math/Makefile (headers): Add bits/math-finite.h.
26569         * math/bits/math-finite.h: New file.
26570         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26571         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26572         * math/e_acoshl.c: Add __*_finite alias.
26573         * math/e_acosl.c: Likewise.
26574         * math/e_asinl.c: Likewise.
26575         * math/e_atan2l.c: Likewise.
26576         * math/e_atanhl.c: Likewise.
26577         * math/e_coshl.c: Likewise.
26578         * math/e_exp10.c: Likewise.
26579         * math/e_exp10f.c: Likewise.
26580         * math/e_exp10l.c: Likewise.
26581         * math/e_exp2l.c: Likewise.
26582         * math/e_fmodl.c: Likewise.
26583         * math/e_gammal_r.c: Likewise.
26584         * math/e_hypotl.c: Likewise.
26585         * math/e_j0l.c: Likewise.
26586         * math/e_j1l.c: Likewise.
26587         * math/e_jnl.c: Likewise.
26588         * math/e_lgammal_r.c: Likewise.
26589         * math/e_log10l.c: Likewise.
26590         * math/e_log2l.c: Likewise.
26591         * math/e_logl.c: Likewise.
26592         * math/e_powl.c: Likewise.
26593         * math/e_sinhl.c: Likewise.
26594         * math/e_sqrtl.c: Likewise.
26595         * math/e_scalb.c: Completely rewritten and optimized.
26596         * math/e_scalbf.c: Likewise.
26597         * math/e_scalbl.c: Likewise.
26598         * math/w_acos.c: Likewise.
26599         * math/w_acosf.c: Likewise.
26600         * math/w_acosl.c: Likewise.
26601         * math/w_acosh.c: Likewise.
26602         * math/w_acoshf.c: Likewise.
26603         * math/w_acoshl.c: Likewise.
26604         * math/w_asin.c: Likewise.
26605         * math/w_asinf.c: Likewise.
26606         * math/w_asinl.c: Likewise.
26607         * math/w_atan2.c: Likewise.
26608         * math/w_atan2f.c: Likewise.
26609         * math/w_atan2l.c: Likewise.
26610         * math/w_atanh.c: Likewise.
26611         * math/w_atanhf.c: Likewise.
26612         * math/w_atanhl.c: Likewise.
26613         * math/w_exp10.c: Likewise.
26614         * math/w_exp10f.c: Likewise.
26615         * math/w_exp10l.c: Likewise.
26616         * math/w_fmod.c: Likewise.
26617         * math/w_fmodf.c: Likewise.
26618         * math/w_fmodl.c: Likewise.
26619         * math/w_j0.c: Likewise.
26620         * math/w_j0f.c: Likewise.
26621         * math/w_j0l.c: Likewise.
26622         * math/w_j1.c: Likewise.
26623         * math/w_j1f.c: Likewise.
26624         * math/w_j1l.c: Likewise.
26625         * math/w_jn.c: Likewise.
26626         * math/w_jnf.c: Likewise.
26627         * math/w_log.c: Likewise.
26628         * math/w_logf.c: Likewise.
26629         * math/w_logl.c: Likewise.
26630         * math/w_log10.c: Likewise.
26631         * math/w_log10f.c: Likewise.
26632         * math/w_log10l.c: Likewise.
26633         * math/w_log2.c: Likewise.
26634         * math/w_log2f.c: Likewise.
26635         * math/w_log2l.c: Likewise.
26636         * math/w_pow.c: Likewise.
26637         * math/w_powf.c: Likewise.
26638         * math/w_powl.c: Likewise.
26639         * math/w_remainder.c: Likewise.
26640         * math/w_remainderf.c: Likewise.
26641         * math/w_remainderl.c: Likewise.
26642         * math/w_scalb.c: Likewise.
26643         * math/w_scalbf.c: Likewise.
26644         * math/w_scalbl.c: Likewise.
26645         * math/w_sqrt.c: Likewise.
26646         * math/w_sqrtf.c: Likewise.
26647         * math/w_sqrtl.c: Likewise.
26648         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26649         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26650         used.
26651         * math/math_private.h: Declare __kernel_standard_f.
26652         * math/w_cosh.c: Remove cruft and optimize a bit.
26653         * math/w_coshf.c: Likewise.
26654         * math/w_coshl.c: Likewise.
26655         * math/w_exp2.c: Likewise.
26656         * math/w_exp2f.c: Likewise.
26657         * math/w_exp2l.c: Likewise.
26658         * math/w_hypot.c: Likewise.
26659         * math/w_hypotf.c: Likewise.
26660         * math/w_hypotl.c: Likewise.
26661         * math/w_lgamma.c: Likewise.
26662         * math/w_lgamma_r.c: Likewise.
26663         * math/w_lgammaf.c: Likewise.
26664         * math/w_lgammaf_r.c: Likewise.
26665         * math/w_lgammal.c: Likewise.
26666         * math/w_lgammal_r.c: Likewise.
26667         * math/w_sinh.c: Likewise.
26668         * math/w_sinhf.c: Likewise.
26669         * math/w_sinhl.c: Likewise.
26670         * math/w_tgamma.c: Likewise.
26671         * math/w_tgammaf.c: Likewise.
26672         * math/w_tgammal.c: Likewise.
26673         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26674         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26675         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26676         Minor optimizations.  Pretty printing.  Remove cruft.
26677         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26678         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26679         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26680         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26681         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26682         * sysdeps/i386/fpu/e_asin.S: Likewise.
26683         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26684         * sysdeps/i386/fpu/e_atan2.S: Likewise.
26685         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26686         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26687         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26688         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26689         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26690         * sysdeps/i386/fpu/e_exp10.S: Likewise.
26691         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26692         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26693         * sysdeps/i386/fpu/e_exp2.S: Likewise.
26694         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26695         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26696         * sysdeps/i386/fpu/e_fmod.S: Likewise.
26697         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26698         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26699         * sysdeps/i386/fpu/e_hypot.S: Likewise.
26700         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26701         * sysdeps/i386/fpu/e_log.S: Likewise.
26702         * sysdeps/i386/fpu/e_log10.S: Likewise.
26703         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26704         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26705         * sysdeps/i386/fpu/e_log2.S: Likewise.
26706         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26707         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26708         * sysdeps/i386/fpu/e_logf.S: Likewise.
26709         * sysdeps/i386/fpu/e_logl.S: Likewise.
26710         * sysdeps/i386/fpu/e_pow.S: Likewise.
26711         * sysdeps/i386/fpu/e_powf.S: Likewise.
26712         * sysdeps/i386/fpu/e_powl.S: Likewise.
26713         * sysdeps/i386/fpu/e_remainder.S: Likewise.
26714         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26715         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26716         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26717         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26718         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26719         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26720         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26721         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26722         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26723         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26724         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26725         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26726         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26727         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26728         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26729         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26730         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26731         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26732         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26733         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26734         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26735         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26736         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26737         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26738         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26739         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26740         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26741         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26742         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26743         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26744         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26745         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26746         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26747         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26748         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26749         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26750         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26751         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26752         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26753         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26754         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26755         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26756         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26757         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26758         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26759         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26760         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26761         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26762         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26763         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26764         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26765         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26766         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26767         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26768         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26769         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26770         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26771         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26772         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26773         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26774         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26775         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26776         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26777         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26778         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26779         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26780         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26781         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26782         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26783         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26784         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26785         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26786         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26787         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26788         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26789         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26790         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26791         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26792         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26793         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26794         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26795         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26796         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26797         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26798         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26799         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26800         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26801         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26802         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26803         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26804         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26805         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26806         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26807         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26808         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26809         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26810         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26811         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26812         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26813         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26814         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26815         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26816         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26817         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26818         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26819         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26820         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26821         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26822         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26823         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26824         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26825         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26826         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26827         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26828         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26829         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26830         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26831         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26832         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
26833         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26834         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26835         (__isnanf): Likewise.
26836         (__isinf_ns): Likewise.
26837         (__isinf_nsf): Likewise.
26838         (__finite): Likewise.
26839         (__finitef): Likewise.
26840         (__ieee754_sqrt): Define as macro.
26841         (__ieee754_sqrtf): Define as macro.
26842         (__ieee754_sqrtl): Define as macro.
26843         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26844         inlined copy.
26845         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26846         __FINITE_MATH_ONLY__ consistent.
26847         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26849 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
26851         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26852         of rawmemchr.
26854         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26856 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
26858         * po/ja.po: Update from translation team.
26860 2011-10-08  Roland McGrath  <roland@hack.frob.com>
26862         * locale/programs/locarchive.c (prepare_address_space): New function.
26863         (create_archive, enlarge_archive, open_archive): Use it.
26865         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26866         inside [SHARED], where it is used.
26868         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26870         * nss/getent.c (netgroup_keys): Remove unused variable.
26871         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26873 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
26875         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26876         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26877         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26878         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26879         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26880         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26881         * math/Makefile (libm-calls): Add s_isinf_ns.
26882         * math/divtc3.c: Use __isinf_nsl instead of isinf.
26883         * math/multc3.c: Likewise.
26884         * math/s_casin.c: Likewise.
26885         * math/s_casinf.c: Likewise.
26886         * math/s_casinl.c: Likewise.
26887         * math/s_ccos.c: Likewise.
26888         * math/s_ccosf.c: Likewise.
26889         * math/s_ccosl.c: Likewise.
26890         * math/s_ctan.c: Likewise.
26891         * math/s_ctanf.c: Likewise.
26892         * math/s_ctanh.c: Likewise.
26893         * math/s_ctanhf.c: Likewise.
26894         * math/s_ctanhl.c: Likewise.
26895         * math/s_ctanl.c: Likewise.
26896         * math/w_fmod.c: Likewise.
26897         * math/w_fmodf.c: Likewise.
26898         * math/w_fmodl.c: Likewise.
26899         * math/w_remainder.c: Likewise.
26900         * math/w_remainderf.c: Likewise.
26901         * math/w_remainderl.c: Likewise.
26902         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26903         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26904         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26905         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26906         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26907         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26908         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26909         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26911         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26912         of the number.
26913         * stdio-common/printf_fphex.c: Likewise.
26914         * stdio-common/printf_size.c: Likewise.
26916         * math/e_exp10.c: Include math_private.h using <...> not "...".
26917         * math/e_exp10f.c: Likewise.
26918         * math/e_exp10l.c: Likewise.
26919         * math/e_exp2l.c: Likewise.
26920         * math/e_j0l.c: Likewise.
26921         * math/e_j1l.c: Likewise.
26922         * math/e_jnl.c: Likewise.
26923         * math/e_lgammal_r.c: Likewise.
26924         * math/e_rem_pio2l.c: Likewise.
26925         * math/e_scalb.c: Likewise.
26926         * math/e_scalbf.c: Likewise.
26927         * math/e_scalbl.c: Likewise.
26928         * math/k_cosl.c: Likewise.
26929         * math/k_sinl.c: Likewise.
26930         * math/k_tanl.c: Likewise.
26931         * math/s_cacoshf.c: Likewise.
26932         * math/s_catan.c: Likewise.
26933         * math/s_catanf.c: Likewise.
26934         * math/s_catanh.c: Likewise.
26935         * math/s_catanhf.c: Likewise.
26936         * math/s_catanhl.c: Likewise.
26937         * math/s_catanl.c: Likewise.
26938         * math/s_ccosh.c: Likewise.
26939         * math/s_ccoshf.c: Likewise.
26940         * math/s_ccoshl.c: Likewise.
26941         * math/s_cexp.c: Likewise.
26942         * math/s_cexpf.c: Likewise.
26943         * math/s_cexpl.c: Likewise.
26944         * math/s_clog.c: Likewise.
26945         * math/s_clog10.c: Likewise.
26946         * math/s_clog10f.c: Likewise.
26947         * math/s_clog10l.c: Likewise.
26948         * math/s_clogf.c: Likewise.
26949         * math/s_clogl.c: Likewise.
26950         * math/s_csin.c: Likewise.
26951         * math/s_csinf.c: Likewise.
26952         * math/s_csinh.c: Likewise.
26953         * math/s_csinhf.c: Likewise.
26954         * math/s_csinhl.c: Likewise.
26955         * math/s_csinl.c: Likewise.
26956         * math/s_csqrt.c: Likewise.
26957         * math/s_csqrtf.c: Likewise.
26958         * math/s_csqrtl.c: Likewise.
26959         * math/s_ctan.c: Likewise.
26960         * math/s_ctanf.c: Likewise.
26961         * math/s_ctanh.c: Likewise.
26962         * math/s_ctanhf.c: Likewise.
26963         * math/s_ctanhl.c: Likewise.
26964         * math/s_ctanl.c: Likewise.
26965         * math/s_ldexp.c: Likewise.
26966         * math/s_ldexpf.c: Likewise.
26967         * math/s_ldexpl.c: Likewise.
26968         * math/s_significand.c: Likewise.
26969         * math/s_significandf.c: Likewise.
26970         * math/s_significandl.c: Likewise.
26971         * math/w_acos.c: Likewise.
26972         * math/w_acosf.c: Likewise.
26973         * math/w_acosh.c: Likewise.
26974         * math/w_acoshf.c: Likewise.
26975         * math/w_acoshl.c: Likewise.
26976         * math/w_acosl.c: Likewise.
26977         * math/w_asin.c: Likewise.
26978         * math/w_asinf.c: Likewise.
26979         * math/w_asinl.c: Likewise.
26980         * math/w_atan2.c: Likewise.
26981         * math/w_atan2f.c: Likewise.
26982         * math/w_atan2l.c: Likewise.
26983         * math/w_atanh.c: Likewise.
26984         * math/w_atanhf.c: Likewise.
26985         * math/w_atanhl.c: Likewise.
26986         * math/w_cosh.c: Likewise.
26987         * math/w_coshf.c: Likewise.
26988         * math/w_coshl.c: Likewise.
26989         * math/w_dremf.c: Likewise.
26990         * math/w_exp10.c: Likewise.
26991         * math/w_exp10f.c: Likewise.
26992         * math/w_exp10l.c: Likewise.
26993         * math/w_exp2.c: Likewise.
26994         * math/w_exp2f.c: Likewise.
26995         * math/w_fmod.c: Likewise.
26996         * math/w_fmodf.c: Likewise.
26997         * math/w_fmodl.c: Likewise.
26998         * math/w_hypot.c: Likewise.
26999         * math/w_hypotf.c: Likewise.
27000         * math/w_hypotl.c: Likewise.
27001         * math/w_j0.c: Likewise.
27002         * math/w_j0f.c: Likewise.
27003         * math/w_j0l.c: Likewise.
27004         * math/w_j1.c: Likewise.
27005         * math/w_j1f.c: Likewise.
27006         * math/w_j1l.c: Likewise.
27007         * math/w_jn.c: Likewise.
27008         * math/w_jnf.c: Likewise.
27009         * math/w_jnl.c: Likewise.
27010         * math/w_lgamma.c: Likewise.
27011         * math/w_lgamma_r.c: Likewise.
27012         * math/w_lgammaf.c: Likewise.
27013         * math/w_lgammaf_r.c: Likewise.
27014         * math/w_lgammal.c: Likewise.
27015         * math/w_lgammal_r.c: Likewise.
27016         * math/w_log.c: Likewise.
27017         * math/w_log10.c: Likewise.
27018         * math/w_log10f.c: Likewise.
27019         * math/w_log10l.c: Likewise.
27020         * math/w_log2.c: Likewise.
27021         * math/w_log2f.c: Likewise.
27022         * math/w_log2l.c: Likewise.
27023         * math/w_logf.c: Likewise.
27024         * math/w_logl.c: Likewise.
27025         * math/w_pow.c: Likewise.
27026         * math/w_powf.c: Likewise.
27027         * math/w_powl.c: Likewise.
27028         * math/w_remainder.c: Likewise.
27029         * math/w_remainderf.c: Likewise.
27030         * math/w_remainderl.c: Likewise.
27031         * math/w_scalb.c: Likewise.
27032         * math/w_scalbf.c: Likewise.
27033         * math/w_scalbl.c: Likewise.
27034         * math/w_sinh.c: Likewise.
27035         * math/w_sinhf.c: Likewise.
27036         * math/w_sinhl.c: Likewise.
27037         * math/w_sqrt.c: Likewise.
27038         * math/w_sqrtf.c: Likewise.
27039         * math/w_sqrtl.c: Likewise.
27040         * math/w_tgamma.c: Likewise.
27041         * math/w_tgammaf.c: Likewise.
27042         * math/w_tgammal.c: Likewise.
27044         * po/ja.po: Update from translation team.
27046 2011-09-29  Andreas Jaeger  <aj@suse.de>
27048         [BZ #13179]
27049         * sunrpc/netname.c (netname2host): Fix logic.
27051         [BZ #6779]
27052         [BZ #6783]
27053         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27054         correctly.
27055         * math/w_remainder.c (__remainder): Likewise.
27056         * math/w_remainderf.c (__remainderf): Likewise.
27057         * math/libm-test.inc (remainder_test): Add test cases.
27059 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27061         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
27062         sdiv_qrnnd.
27064 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27066         * string/test-memcmp.c: Avoid unncessary #defines.
27067         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27069 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27071         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27072         Use new sse2 version for core i3 - i7 as it's faster
27073         than sse42 version.
27074         (bit_Prefer_PMINUB_for_stringop): New.
27075         * sysdeps/x86_64/rawmemchr.S: Update.
27076         Replace with faster SSE2 version.
27077         * sysdeps/x86_64/memrchr.S: New file.
27078         * sysdeps/x86_64/memchr.S: Update.
27079         Replace with faster SSE2 version.
27081 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
27083         * elf/dl-load.c (lose): Add cast to avoid warning.
27085 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27087         * po/ca.po: Update from translation team.
27089         * inet/getnetgrent_r.c: Hook up nscd.
27090         * nscd/Makefile (routines): Add nscd_netgroup.
27091         (nscd-modules): Add netgroupcache.
27092         (CFLAGS-netgroupcache.c): Define.
27093         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27094         (cache_search): Add const to second parameter.
27095         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27096         INNETGR.
27097         (dbs): Add netgrdb entry.
27098         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27099         (verify_persistent_db): Handle netgrdb.
27100         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27101         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27102         GETFDNETGR.
27103         (netgroup_response_header): Define.
27104         (innetgroup_response_header): Define.
27105         (datahead): Add netgroup_response_header and innetgroup_response_header
27106         elements.
27107         * nscd/nscd.conf: Add entries for netgroup cache.
27108         * nscd/nscd.h (dbtype): Add netgrdb.
27109         (_PATH_NSCD_NETGROUP_DB): Define.
27110         (netgroup_iov_disabled): Declare.
27111         (xmalloc, xcalloc, xrealloc): Move declarations here.
27112         (cache_search): Adjust prototype.
27113         Add netgroup-related prototypes.
27114         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27115         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27116         (__nscd_innetgr): Declare.
27117         * nscd/selinux.c (perms): Use access_vector_t as element type and
27118         add netgroup-related initializers.
27119         * nscd/netgroupcache.c: New file.
27120         * nscd/nscd_netgroup.c: New file.
27121         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27122         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27123         For four parameters use innetgr.
27124         * nss/nss_files/files-init.c: Add definition and callback for netgr.
27125         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27126         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27127         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27129         * nscd/connections.c (register_traced_file): Don't register file
27130         for disabled databases.
27132 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
27134         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27136         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27137         from tree and freeing node.
27139 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
27141         * nss/nsswitch.c (__nss_database_lookup): Handle
27142         nss_parse_service_list out of memory case.
27144 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
27146         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27147         out of memory case.
27149 2011-10-04  Andreas Schwab  <schwab@redhat.com>
27151         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27152         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27153         pass it down.
27154         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27155         elf_machine_rela, elf_machine_lazy_rel.
27156         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27157         (ELF_DYNAMIC_DO_REL): Likewise.
27158         (ELF_DYNAMIC_DO_RELA): Likewise.
27159         (ELF_DYNAMIC_RELOCATE): Likewise.
27160         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27161         to ELF_DYNAMIC_DO_REL.
27162         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27163         (dl_main): In trace mode always set __RTLD_NOIFUNC.
27164         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27165         elf_machine_rela.
27166         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27167         skip_ifunc, don't call ifunc function if non-zero.
27168         (elf_machine_rela): Likewise.
27169         (elf_machine_lazy_rel): Likewise.
27170         (elf_machine_lazy_rela): Likewise.
27171         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27172         (elf_machine_lazy_rel): Likewise.
27173         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27174         Likewise.
27175         (elf_machine_lazy_rel): Likewise.
27176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27177         Likewise.
27178         (elf_machine_lazy_rel): Likewise.
27179         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27180         (elf_machine_lazy_rel): Likewise.
27181         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27182         (elf_machine_lazy_rel): Likewise.
27183         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27184         (elf_machine_lazy_rel): Likewise.
27185         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27186         (elf_machine_lazy_rel): Likewise.
27187         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27188         (elf_machine_lazy_rel): Likewise.
27189         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27190         (elf_machine_lazy_rel): Likewise.
27192 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
27194         * nss/nss_files/files-init.c (_nss_files_init): Use static
27195         initialization for all the *_traced_file variables.
27197 2011-09-28  Andreas Schwab  <schwab@redhat.com>
27199         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27201 2011-09-27  Roland McGrath  <roland@hack.frob.com>
27203         [BZ #13226]
27204         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27206 2011-09-27  Andreas Schwab  <schwab@redhat.com>
27208         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27209         Reread the line before reparsing it.
27211 2011-09-26  Andreas Schwab  <schwab@redhat.com>
27213         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27215 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
27216             Maxim Kuvyrkov  <maxim@codesourcery.com>
27217             Joseph Myers  <joseph@codesourcery.com>
27219         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27220         if needed for __stack_chk_guard.
27222 2011-09-19  Roland McGrath  <roland@hack.frob.com>
27224         * sysdeps/posix/spawni.c (script_execute): Always define it.
27225         It will be optimized away if unused.
27226         (maybe_script_execute): New function.
27227         (__spawni): Call it.
27229         * Makerules: Don't include tls.make.
27230         (config-tls): Always set to thread.
27231         * tls.make.c: File removed.
27233 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
27235         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27236         * config.make.in (CPPFLAGS-config): New substituted variable.
27238 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27240         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27242         [BZ #13192]
27243         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27244         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27246 2011-09-15  Roland McGrath  <roland@hack.frob.com>
27248         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27249         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27250         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27251         (CALL_FAIL): Likewise.
27252         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27253         (CALL_FAIL): Macro removed.
27254         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27256 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27258         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27259         for __FINITE_MATH_ONLY__ == 1.
27261 2011-09-15  Andreas Schwab  <schwab@redhat.com>
27263         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27264         __ieee754_sqrt instead of sqrt.
27265         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27266         __ieee754_sqrtf instead of sqrtf.
27267         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27268         __floorf instead of floorf.
27269         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27270         __floorf, __truncf instead of floorf, truncf.
27272 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
27274         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27276         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27277         __extern_always_inline.
27278         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27279         32-bit.
27281 2011-09-14  Andreas Schwab  <schwab@redhat.com>
27283         * elf/rtld.c (dl_main): Also relocate in dependency order when
27284         doing symbol dependency testing.
27286 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
27288         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27289         Always define `refsym'.
27291 2011-09-13  Andreas Schwab  <schwab@redhat.com>
27293         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27294         (__FD_ELT): Renamed from __FDELT.
27295         * misc/bits/select2.h (__FD_ELT): Likewise.
27296         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27297         __FD_MASK instead of __FDELT, __FDMASK.
27298         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27299         Likewise.
27300         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27301         Likewise.
27303         * elf/Makefile (gen-ldd): Fix pattern.
27305         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27306         (init_tls): Likewise.
27308 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
27310         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27312 2011-09-12  Andreas Schwab  <schwab@redhat.com>
27314         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27315         `struct cmsghdr *' instead of `void *'.
27316         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27317         Likewise.
27319 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
27321         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27322         if non-absolute.
27323         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27324         ldd_rewrite_script.
27326 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
27328         * configure.in: Remove --with-tls option.
27329         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27330         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27331         out in case it is missing.
27332         * sysdeps/ia64/elf/configure.in: Likewise.
27333         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27334         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27335         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27336         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27337         * sysdeps/sh/elf/configure.in: Likewise.
27338         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27339         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27340         * sysdeps/x86_64/elf/configure.in: Likewise.
27341         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27342         * sysdeps/mach/hurd/tls.h: Likewise.
27344         [BZ #13067]
27345         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27347         [BZ #13090]
27348         * configure.in: Fix use of AC_INIT.
27350         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27352 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
27354         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27355         __set_errno.
27356         * malloc/hooks.c: Likewise.
27358         [BZ #11929]
27359         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
27360         variables statically.
27361         (narenas): Initialize.
27362         (list_lock): Initialize.
27363         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
27364         initializtion of main_arena and list_lock.  Small cleanups.
27365         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27366         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
27367         Add initializers to main_arena and mp_.
27368         (malloc_state): Remove pagesize member.  Change all users to use
27369         GLRO(dl_pagesize).
27371         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27372         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
27373         is always initialized.
27375         * malloc/malloc.c: Removed unused configurations and dead code.
27376         * malloc/arena.c: Likewise.
27377         * malloc/hooks.c: Likewise.
27378         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27380         * include/tls.h: Removed.  USE___THREAD must always be defined.
27381         * bits/libc-tsd.h: Don't handle !USE___THREAD.
27382         * elf/dl-libc.c: Likewise.
27383         * elf/dl-tsd.c: Likewise.
27384         * include/errno.h: Likewise.
27385         * include/netdb.h: Likewise.
27386         * include/resolv.h: Likewise.
27387         * inet/herrno-loc.c: Likewise.
27388         * inet/herrno.c: Likewise.
27389         * malloc/arena.c: Likewise.
27390         * malloc/hooks.c: Likewise.
27391         * malloc/malloc.c: Likewise.
27392         * resolv/res-state.c: Likewise.
27393         * resolv/res_libc.c: Likewise.
27394         * sysdeps/i386/dl-machine.h: Likewise.
27395         * sysdeps/ia64/dl-machine.h: Likewise.
27396         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27397         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27398         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27399         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27400         * sysdeps/sh/dl-machine.h: Likewise.
27401         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27402         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27403         * sysdeps/unix/i386/sysdep.S: Likewise.
27404         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27405         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27406         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27407         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27408         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27409         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27410         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27411         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27412         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27414         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27415         * sysdeps/x86_64/dl-machine.h: Likewise.
27416         * tls.make.c: Likewise.
27418         * configure.in: Remove --with-__thread option.  Make tests for
27419         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27420         tls_model attribute fail if no support is available.  Remove
27421         USE_IN_LIBIO.
27422         * Makeconfig: Adjust for dropped configure option.  All features are
27423         now mandatory.
27424         * Makerules: Likewise.
27425         * Versions.def: Likewise.
27426         * argp/argp-fmtstream.c: Likewise.
27427         * argp/argp-fmtstream.h: Likewise.
27428         * argp/argp-help.c: Likewise.
27429         * assert/assert.c: Likewise.
27430         * config.h.in: Likewise.
27431         * config.make.in: Likewise.
27432         * configure: Likewise.
27433         * configure.in: Likewise.
27434         * csu/Versions: Likewise.
27435         * csu/init.c: Likewise.
27436         * elf/tst-audit2.c: Likewise.
27437         * elf/tst-tls10.c: Likewise.
27438         * elf/tst-tls10.h: Likewise.
27439         * elf/tst-tls11.c: Likewise.
27440         * elf/tst-tls12.c: Likewise.
27441         * elf/tst-tls14.c: Likewise.
27442         * elf/tst-tlsmod11.c: Likewise.
27443         * elf/tst-tlsmod12.c: Likewise.
27444         * elf/tst-tlsmod13.c: Likewise.
27445         * elf/tst-tlsmod13a.c: Likewise.
27446         * elf/tst-tlsmod14a.c: Likewise.
27447         * elf/tst-tlsmod15b.c: Likewise.
27448         * elf/tst-tlsmod16a.c: Likewise.
27449         * elf/tst-tlsmod16b.c: Likewise.
27450         * elf/tst-tlsmod7.c: Likewise.
27451         * elf/tst-tlsmod8.c: Likewise.
27452         * elf/tst-tlsmod9.c: Likewise.
27453         * gmon/gmon.c: Likewise.
27454         * grp/fgetgrent_r.c: Likewise.
27455         * grp/putgrent.c: Likewise.
27456         * hurd/fopenport.c: Likewise.
27457         * include/libc-symbols.h: Likewise.
27458         * include/tls.h: Likewise.
27459         * intl/gettextP.h: Likewise.
27460         * intl/loadinfo.h: Likewise.
27461         * locale/global-locale.c: Likewise.
27462         * locale/localeinfo.h: Likewise.
27463         * mach/devstream.c: Likewise.
27464         * malloc/arena.c: Likewise.
27465         * malloc/set-freeres.c: Likewise.
27466         * misc/err.c: Likewise.
27467         * misc/getttyent.c: Likewise.
27468         * misc/mntent_r.c: Likewise.
27469         * posix/getopt.c: Likewise.
27470         * posix/wordexp.c: Likewise.
27471         * pwd/fgetpwent_r.c: Likewise.
27472         * resolv/Versions: Likewise.
27473         * resolv/res_hconf.c: Likewise.
27474         * shadow/fgetspent_r.c: Likewise.
27475         * shadow/putspent.c: Likewise.
27476         * stdio-common/printf_fphex.c: Likewise.
27477         * stdio-common/tmpfile.c: Likewise.
27478         * stdlib/abort.c: Likewise.
27479         * stdlib/fmtmsg.c: Likewise.
27480         * sunrpc/auth_unix.c: Likewise.
27481         * sunrpc/clnt_perr.c: Likewise.
27482         * sunrpc/clnt_tcp.c: Likewise.
27483         * sunrpc/clnt_udp.c: Likewise.
27484         * sunrpc/clnt_unix.c: Likewise.
27485         * sunrpc/openchild.c: Likewise.
27486         * sunrpc/svc_simple.c: Likewise.
27487         * sunrpc/svc_tcp.c: Likewise.
27488         * sunrpc/svc_udp.c: Likewise.
27489         * sunrpc/svc_unix.c: Likewise.
27490         * sunrpc/xdr.c: Likewise.
27491         * sunrpc/xdr_array.c: Likewise.
27492         * sunrpc/xdr_rec.c: Likewise.
27493         * sunrpc/xdr_ref.c: Likewise.
27494         * sunrpc/xdr_stdio.c: Likewise.
27496 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27498         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27500 2011-07-03  Andreas Jaeger  <aj@suse.de>
27502         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27503         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27504         regenerate with gen-libm-tests.pl.
27506 2010-05-12  Petr Baudis  <pasky@suse.cz>
27508         [BZ #11589]
27509         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27510         around j0() zero points by switching to j1().
27511         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27512         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27513         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27514         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27516 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27518         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27519         instead of 0.
27520         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27521         instead of 0.
27522         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27523         Patch in part by Pavel Roskin <proski@gnu.org>.
27525         [BZ #13138]
27526         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27527         realloc.
27528         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
27529         Free memory block if necessary.
27531         [BZ #12847]
27532         * libio/genops.c (INTDEF): For string streams the _lock pointer can
27533         be NULL.  Don't lock in this case.
27535 2011-09-09  Roland McGrath  <roland@hack.frob.com>
27537         * elf/elf.h (ELFOSABI_GNU): New macro.
27538         (ELFOSABI_LINUX): Define to that.
27540 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
27542         * string/strncat.c (strncat): Undef the symbol in case it has been
27543         defined in bits/string.h.
27545 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27547         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27549         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27550         link map.
27552 2011-08-17  Andreas Jaeger  <aj@suse.de>
27554         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27556 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27557             Ian Lance Taylor  <iant@google.com>
27559         * math/libm-test.inc (lround_test): New testcase.
27560         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27562 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
27564         * Makefile: Remove support for automatic cvs check-ins.
27565         * Makerules: Likewise.
27566         * config.make.in: Likewise.
27567         * configure.in: Likewise.
27568         * intl/Makefile: Likewise.
27569         * locale/Makefile: Likewise.
27570         * po/Makefile: Likewise.
27571         * posix/Makefile: Likewise.
27572         * sysdeps/gnu/Makefile: Likewise.
27573         * sysdeps/mach/hurd/Makefile: Likewise.
27574         * sysdeps/sparc/sparc32/Makefile: Likewise.
27576         [BZ #13118]
27577         * posix/Makefile (bug-regex32-ENV): Define.
27578         Patch by John Stanley <jpsinthemix@verizon.net>.
27580         * misc/Makefile (headers): Add bits/select2.h.
27581         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27582         * misc/bits/select2.h: New file.
27583         * include/bits/select2.h: New file.
27584         * debug/Makefile (routines): Add fdelt_chk.
27585         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27586         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27587         FD_ISSET.
27588         * debug/fdelt_chk.c: New file.
27590         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
27591         * wcsmbs/test-wmemcmp.c: Likewise.
27592         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27593         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27595 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27597         * string/Makefile (strop-tests): Add memcmp.
27598         * string/test-wmemcmp.c: New file.
27599         * string/test-memcmp.c: Add wmemcmp support.
27601 2011-09-08  Roland McGrath  <roland@hack.frob.com>
27603         [BZ #13153]
27604         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27605         2011-07-19 change.
27607         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27608         garbage value in a __mach_port_mod_refs call in the cases of the
27609         task-self and thread-self ports.
27611 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27613         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27615 2011-09-08  Andreas Schwab  <schwab@redhat.com>
27617         * elf/dl-load.c (lose): Check for non-null L.
27619 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27621         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27623         * elf/dl-libc.c (dlerror_run): Pass back error code from
27624         dl_catch_error.
27626         [BZ #13123]
27627         * elf/dl-load.c (lose): Free l_origin if it is valid.
27629         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27630         names.
27631         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27632         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27633         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27634         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27635         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27636         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27638 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27640         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27641         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27642         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27643         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27644         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27645         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27646         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27647         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27648         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27649         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27651 2011-08-15  Alan Modra  <amodra@gmail.com>
27653         [BZ #13092]
27654         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27655         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27656         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27657         ppc_mcount to static-only-routines.
27658         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27659         __mcount_internal.
27660         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27661         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27663 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27665         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27666         for finite and infinity parameters.
27668 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27670         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27671         and add nop instructions for throughput optimization.
27672         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27674 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27676         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27677         aligned copy for power7 with vector-scalar instructions.
27678         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27680 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27682         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27683         AVX check.
27685 2011-09-07  Andreas Schwab  <schwab@redhat.com>
27687         [BZ #13144]
27688         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27689         last change.
27691 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27693         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27694         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27695         syscall wrapper around clock_gettime in __vdso_clock_gettime.
27696         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27697         clock_gettime.
27699 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27701         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27702         Forgot to demangle the pointer.
27704         * sysdeps/i386/sysdep.h: Define atom_text_section.
27705         * sysdeps/x86_64/sysdep.h: Likewise.
27706         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27707         section with atom_text_section.
27708         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27709         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27710         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27711         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27712         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27714         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27715         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27716         already be defined.  Change to take two parameters and don't assign
27717         result to variable.  Adjust all users.
27718         Define INTERNAL_GETTIME if not already defined.
27719         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27720         call.
27721         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27722         HAVE_CLOCK_GETTIME_VSYSCALL.
27723         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27725         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27726         gettimeofday vsyscall, just use time.
27728 2011-09-06  Andreas Schwab  <schwab@redhat.com>
27730         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27731         <errno.h>.
27733 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27735         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27736         syscall on x86-64.
27737         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27738         syscall.
27739         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27740         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27741         syscall if possible.
27743 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27745         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27746         e_ident.  Don't pass to find_mapsXX.
27747         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27749 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27751         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27752         strchr-sse2-no-bsf strrchr-sse2-no-bsf
27753         * sysdeps/x86_64/multiarch/strchr.S: Update.
27754         Check bit_slow_BSF bit.
27755         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27756         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27757         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27759 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27761         [BZ #13134]
27762         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27763         before glibc 2.15.
27764         (tryshell): Define.
27765         (__spawni): Change last parameter to be flag.  Test
27766         SPAWN_XFLAGS_USE_PATH flag to use path or not.
27767         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27768         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27769         * posix/spawni.c: Likewise.
27770         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27771         * posix/spawnp.c: Likewise.  Change normal version to use
27772         SPAWN_XFLAGS_USE_PATH.
27773         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27774         SPAWN_XFLAGS_TRY_SHELL.
27776         [BZ #13150]
27777         * posix/glob.h: Remove gcc 1.x support.
27779         [BZ #13068]
27780         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27782 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27785         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27786         strrchr-sse2-bsf
27787         * sysdeps/i386/i686/multiarch/strchr.S: New file.
27788         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27789         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27790         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27791         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27792         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27794 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27796         * sysdeps/x86_64/wcscmp.S: New file.
27798         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27799         wcscmp-c wcscmp-sse2
27800         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27801         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27802         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27803         * wcsmbs/wcscmp.c: Allow renaming.
27805 2011-09-05  David S. Miller  <davem@davemloft.net>
27807         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27808         stack slot, rather than the struct return pointer slot.
27809         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27810         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27812         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27814 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27816         * po/ja.po: Update from translation team.
27818         [BZ #13144]
27819         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27820         kernel in 64-bit binaries.
27822 2011-09-01  David S. Miller  <davem@davemloft.net>
27824         * elf/elf.h (HWCAP_SPARC_*): Move to..
27825         * sysdeps/sparc/sysdep.h: this new file and add new values.
27826         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27827         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27828         _DL_HWCAP_COUNT to 24.
27829         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27830         entries.
27831         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27832         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27833         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27834         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27835         instead of magic constants.
27836         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27838 2011-08-31  David S. Miller  <davem@davemloft.net>
27840         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27842         Reimplement to do errno handling inline.
27843         (SYSCALL_ERROR_HANDLER): New macro.
27844         (__SYSCALL_STRING): Do not do errno handling in asm.
27845         (__CLONE_SYSCALL_STRING): Delete.
27846         (__INTERNAL_SYSCALL_STRING): Delete.
27847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27848         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27849         (PSEUDO): Reimplement to do errno handling inline.
27850         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27851         (SYSCALL_ERROR_HANDLER): New macro.
27852         (__SYSCALL_STRING): Do not do errno handling in asm.
27853         (__CLONE_SYSCALL_STRING): Delete.
27854         (__INTERNAL_SYSCALL_STRING): Delete.
27855         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27856         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27857         i386.
27858         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27859         (inline_syscall*): Add 'err' argument.
27860         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27861         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27862         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27863         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27865         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27866         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27868 2011-08-30  Andreas Schwab  <schwab@redhat.com>
27870         * elf/rtld.c (dl_main): Relocate objects in dependency order.
27872 2011-08-29  Jiri Olsa <jolsa@redhat.com>
27874         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27875         directive.
27877 2011-08-24  David S. Miller  <davem@davemloft.net>
27879         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27881 2011-08-24  Andreas Schwab  <schwab@redhat.com>
27883         * elf/Makefile: Add rules to build and run unload8 test.
27884         * elf/unload8.c: New file.
27885         * elf/unload8mod1.c: New file.
27886         * elf/unload8mod1x.c: New file.
27887         * elf/unload8mod2.c: New file.
27888         * elf/unload8mod3.c: New file.
27890         * elf/dl-close.c (_dl_close_worker): Reset private search list if
27891         it wasn't used.
27893 2011-08-23  David S. Miller  <davem@davemloft.net>
27895         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27896         subtract stack bias.
27897         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27898         %sp not %fp in calculations.
27899         (_JMPBUF_UNWINDS_ADJ): Likewise.
27901         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27902         (aio_suspend): Call it to force an exception region around the
27903         AIO_MISC_WAIT() invocation.
27905 2011-08-23  Andreas Schwab  <schwab@redhat.com>
27907         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27908         backslash.
27910 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
27912         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27913         protection macro.
27914         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27915         and <dl-machine.h>.
27916         (Elf64_FuncDesc): Remove.
27918 2011-08-22  David S. Miller  <davem@davemloft.net>
27920         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27921         sigaltstack check, add missing cfi directives.
27922         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27923         missing cfi directives, and sigaltstack handling.
27925 2011-08-16  Andreas Schwab  <schwab@redhat.com>
27927         [BZ #11724]
27928         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27929         object is seen twice.
27930         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27932         * elf/Makefile (distribute): Add tst-initorder2.c.
27933         (tests): Add tst-initorder2.
27934         (modules-names): Add tst-initorder2a tst-initorder2b
27935         tst-initorder2c tst-initorder2d.  Add rules to build them.
27936         ($(objpfx)tst-initorder2.out): New rule.
27937         * elf/tst-initorder2.c: New file.
27938         * elf/tst-initorder2.exp: New file.
27940 2011-08-22  Andreas Schwab  <schwab@redhat.com>
27942         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27944         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27945         dependencies back to end of function.
27947         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27948         $(elfobjdir)/ld.so.
27950 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
27952         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27953         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27954         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27955         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27956         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27957         of __vdso_gettimeofday.
27958         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27959         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
27960         attribute_hidden.
27961         (_libc_vdso_platform_setup): Remove initialization of
27962         __vdso_gettimeofday and __vdso_time.
27964 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
27966         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27967         and fgetc_unlocked.
27968         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27969         getc_unlocked.
27971         * elf/dl-open.c (add_to_global): Report additions to the global scope
27972         for LD_DEBUG=scopes.
27973         (dl_open_worker): Also print scope of newly loaded dependencies.
27974         (_dl_show_scope): Indicate if there is no scope.
27976         [BZ #13114]
27977         * stdio-common/Makefile (tests): Add bug24.
27978         * stdio-common/bug24.c: New file.
27980 2011-08-19  Andreas Jaeger  <aj@suse.de>
27982         [BZ #13114]
27983         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27984         non-existant file when using close-on-exec mode.
27986 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
27988         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27989         the very first instruction.
27991         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27992         the CFI state in the end.
27993         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27994         inclusion of dl-trampoline.h.
27995         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27997 2011-08-19  Andreas Schwab  <schwab@redhat.com>
27999         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28000         expectations for long double.
28002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28003         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28005 2011-08-14  David S. Miller  <davem@davemloft.net>
28007         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28008         artificual limit depends upon the system page size.
28010 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28012         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28013         * resolv/Makefile: Define CFLAGS-libresolv.
28015 2011-08-17  Andreas Schwab  <schwab@redhat.com>
28017         * nss/makedb.c (compute_tables): Make variables used in nested
28018         function static.
28020 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28022         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28023         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28024         if buffer was too small.
28026         * elf/pldd.c (main): Attach to all threads in the process.
28027         Rewrite /proc handling to use *at functions.
28029 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
28031         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28032         specifies first scope to show.
28033         (dl_open_worker): Update callers.  Move printing scope of new
28034         object to before the relocation.
28035         * elf/rtld.c (dl_main): Update _dl_show_scope call.
28036         * sysdeps/generic/ldsodefs.h: Update declaration.
28038         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28039         string for the scope number.
28041 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
28043         * nscd/servicescache.c (cache_addserv): Make sure written is always
28044         initialized.
28046 2011-08-14  Roland McGrath  <roland@hack.frob.com>
28048         * sysdeps/i386/i486/bits/atomic.h
28049         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28050         statement expression, so as to suppress "set but not used" warning.
28051         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28053         * string/strncat.c (STRNCAT): Use prototype definition.
28055         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28056         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28057         -Iprograms here.
28058         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28059         (localedef-modules): Add localedef.
28060         (locale-modules): Add locale.
28062         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28063         * elf/rtld.c (dl_main): Invert order of assignment in last change,
28064         to avoid a warning.
28066 2011-08-14  David S. Miller  <davem@davemloft.net>
28068         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28069         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28071 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
28073         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28074         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28075         * elf/rtld.c (dl_main): Set l_name of vDSO.
28076         Call _dl_show_scope when DL_DEBUG_SCOPES.
28077         (process_dl_debug): Recognize scopes flag and also set it for all.
28078         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28079         Declare _dl_show_scope.
28081         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28082         (do_dlopen): Pass caller_dlopen to dl_open.
28083         (__libc_dlopen_mode): Initialize caller_dlopen.
28085         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28086         of libc.  Make tolower call locale-independent.  Optimize a bit by
28087         using isdigit instead of isalnum.
28088         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28090 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
28092         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28093         was a dependency or dynamically loaded.
28095 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
28097         * intl/l10nflist.c: Allow architecture-specific pop function.
28098         * sysdeps/x86_64/l10nflist.c: New file.
28100         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28101         classification.
28103 2011-08-10  Andreas Schwab  <schwab@redhat.com>
28105         * include/dirent.h: Add libc_hidden_proto for scandirat and
28106         scandirat64.  Don't declare __scandirat64.
28107         * dirent/scandirat.c: Add libc_hidden_def.
28108         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28109         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28111 2011-08-10  David S. Miller  <davem@davemloft.net>
28113         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28114         enum.
28115         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28116         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28117         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28119 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
28121         * Versions.def [libc]: Add GLIBC_2.15.
28122         * dirent/Makefile (routines): Add scandirat and scandirat64.
28123         * dirent/Versions [libc]: Export scandirat and scandirat64 for
28124         GLIBC_2.15.
28125         * dirent/dirent.h: Declare scandirat and scandirat64.
28126         * dirent/scandirat.c: New file.
28127         * dirent/scandirat64.c: New file.
28128         * sysdeps/wordsize-64/scandirat.c: New file.
28129         * sysdeps/wordsize-64/scandirat64.c: New file.
28130         * dirent/opendir.c: Define opendirat.
28131         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
28132         using scandirat.
28133         * dirent/scandir64.c: Adjust for scandir.c change.
28134         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
28135         __scandirat64, and __scandir_cancel_handler.
28136         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
28137         additional parameter and use openat instead of open (outside of ld.so).
28138         Add new __opendir as wrapper around __opendirat.
28139         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28140         here without requiring old scandirat implementation.
28142 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
28144         * dirent/scandir.c (cancel_handler): Renamed to
28145         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
28146         defined.  Adjust users.
28147         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28148         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28150 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
28152         * string/test-string.h (IMPL): Use __STRING to expand name and then
28153         stringify it.
28155         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
28156         of cleanups.
28158 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28160         * string/Makefile: Update.
28161         (strop-tests): Append strncat.
28162         * string/test-wcscmp.c: New file.
28163         New comprehensive test for wcscmp.
28164         * string/test-strcmp.c: Update.
28165         (WIDE): New define.
28167 2011-07-22  Andreas Schwab  <schwab@redhat.com>
28169         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28170         line.
28172 2011-07-26  Andreas Schwab  <schwab@redhat.com>
28174         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28175         encoding to ACE if AI_IDN.
28177 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
28179         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28180         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28182 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28184         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28185         Fix overflow bug in strncat.
28186         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28188         * string/test-strncat.c: Update.
28189         Add new tests for checking overflow bugs.
28191 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28193         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28194         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28195         * sysdeps/i386/i686/multiarch/strcat.S: New file.
28196         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28197         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28198         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28199         * sysdeps/i386/i686/multiarch/strncat.S: New file.
28200         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28201         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28203         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28204         (USE_AS_STRCAT): Define.
28205         Add strcat and strncat support.
28206         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28208 2011-07-25  Andreas Schwab  <schwab@redhat.com>
28210         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28211         __n bigger than INT_MAX+1.
28212         (__strncmp_g): Likewise.
28214 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
28216         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28217         * libio/stido.h: Likewise.
28219         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28220         (AF_NFC): Define.
28221         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28222         (AF_NFC): Define.
28224         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28225         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28226         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28227         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28228         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28230         [BZ #13021]
28231         * scripts/test-installation.pl: Don't expect libnss_test1 to be
28232         installed.
28234         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28235         typo.
28236         (_dl_x86_64_save_sse): Likewise.
28238 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
28240         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28241         OSXSAVE.
28242         (_dl_x86_64_save_sse): Likewise.
28244         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28246         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28248 2011-07-21  Andreas Schwab  <schwab@redhat.com>
28250         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28251         change.
28252         (_dl_x86_64_save_sse): Use correct AVX check.
28254 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28256         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28257         bug in strncpy/strncat.
28258         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28260 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
28262         * string/tester.c (test_strcat): Add tests for different alignments
28263         of source and destination.
28264         (test_strncat): Likewise.
28266 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28268         [BZ #12852]
28269         * posix/glob.c (glob): Check passed in values before using them in
28270         expressions to avoid some overflows.
28271         (glob_in_dir): Likewise.
28273         [BZ #13007]
28274         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28275         check for AVX enablement so that we don't crash with old kernels and
28276         new hardware.
28277         * elf/tst-audit4.c: Add same checks here.
28278         * elf/tst-audit6.c: Likewise.
28280         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28282 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
28284         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28286 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28288         * po/cs.po: Update from translation team.
28289         * po/bg.po: Likewise.
28291 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
28293         * misc/sys/cdefs.h: Add support for const attribute.
28294         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28295         to gnu_dev_{major,minor,makedev} functions.
28297 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
28299         * intl/dcigettext.c (get_output_charset): Add missing bracket.
28301 2011-07-20  Andreas Schwab  <schwab@redhat.com>
28303         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28304         strlen results.
28306 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28308         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28309         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28310         register in order to avoid conflicts with the soft frame pointer
28311         being held in r11 when necessary.
28312         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28313         (INTERNAL_VSYSCALL_NCS): Likewise.
28315 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
28317         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28318         * elf/dl-fini.c (_dl_fini): Adjust caller.
28319         * elf/dl-close.c (_dl_close_worker): Likewise.
28320         * sysdeps/generic/ldsodefs.h: Adjust declaration.
28322 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28324         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28325         "aux_cache->nlibs < 0".
28327         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28328         in the reload-count case.
28330 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28333         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28334         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28335         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28336         * sysdeps/x86_64/multiarch/strcat.S: New file.
28337         * sysdeps/x86_64/multiarch/strncat.S: New file.
28338         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28339         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28340         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28341         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28342         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28343         (USE_AS_STRCAT): Define.
28344         Add strcat and strncat support.
28345         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28346         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28347         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28348         * string/strncat.c: Update.
28349         (USE_AS_STRNCAT): Define.
28350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28351         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28352         and i7.
28353         * sysdeps/x86_64/multiarch/init-arch.h
28354         (bit_Prefer_PMINUB_for_stringop): New.
28355         (index_Prefer_PMINUB_for_stringop): Likewise.
28356         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28357         bit_Prefer_PMINUB_for_stringop.
28359 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28361         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28362         buffer64.
28363         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28364         of casting of buffer.
28365         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28366         buffer32 and buffer64.
28367         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28368         writes instead of casting of buffer.
28369         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28370         buffer32.
28371         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28372         casting of buffer.
28374 2011-07-19  Andreas Schwab  <schwab@redhat.com>
28376         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28378 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28380         * nscd/nscd.c (termination_handler): Don't do anything for a database
28381         if it has not yet been initialized.
28383 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28385         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28387 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28389         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28391 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28393         * po/nl.po: Update from translation team.
28394         * po/sv.po: Likewise.
28396 2011-07-16  Roland McGrath  <roland@hack.frob.com>
28398         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28399         now disallowed by GCC.
28401         * configure.in (use-default-link): Default to yes if a test -shared
28402         link meets our qualifications.
28403         * configure: Regenerated.
28405         * config.make.in (output-format): New variable.
28406         * configure.in: Check for ld --print-output-format support.
28407         * configure: Regenerated.
28408         * Makerules ($(common-objpfx)format.lds)
28409         [$(output-format) != unknown]: Just use $(output-format),
28410         instead of the linker-script munging.
28412 2011-07-14  Roland McGrath  <roland@hack.frob.com>
28414         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28415         of $(common-objpfx)shlib.lds.
28416         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28418         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28419         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28421         * configure.in (-z relro check): Adjust test code to add a large
28422         writable data section after it.
28423         * configure: Regenerated.
28425 2011-07-11  Roland McGrath  <roland@hack.frob.com>
28427         * configure.in (-z relro check): Fix test code to make the variable
28428         truly const.
28429         * configure: Regenerated.
28431 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
28433         * nscd/nscd.h (struct traced_file): Define.
28434         (struct database_dyn): Remove inotify_descr, reset_res, and filename
28435         elements.  Add traced_files.
28436         (inotify_fd): Declare.
28437         (register_traced_file): Declare.
28438         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28439         (inotify_fd): Export.
28440         (resolv_conf_descr): Remove.
28441         (nscd_init): Move inotify descriptor creation to main.
28442         Don't register files for notification here.
28443         (register_traced_file): New function.
28444         (invalidate_cache): Don't use reset_res to determine whether to call
28445         res_init, go through the list of registered files.
28446         (main_loop_poll): The inotify descriptors are now stored in the
28447         structures for the traced files.
28448         (main_loop_epoll): Likewise
28449         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
28450         to __nss_disable_nscd.
28451         * nscd/cache.c (prune_cache): There is no single inotify descriptor
28452         for a database anymore.  Check the records for all the registered
28453         files instead.
28454         * nss/Makefile (libnss_files-routines): Add files-init.
28455         (libnss_db-routines): Add db-init.
28456         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28457         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28458         * nss/nss_db/db-init.c: New file.
28459         * nss/nss_files/files-init.c: New file.
28460         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
28461         __nss_lookup_function.
28462         (__nss_lookup_function): Call nss_load_library.
28463         (nss_load_all_libraries): New function.
28464         (__nss_disable_nscd): Take parameter with callback function for files
28465         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
28466         used for the cached services.
28467         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28468         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28469         options for features to all the files in nscd.
28471         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28473 2011-07-10  Roland McGrath  <roland@hack.frob.com>
28475         * csu/elf-init.c (__libc_csu_init): Comment typo.
28477 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
28479         * po/pl.po: Update from translation team.
28480         * po/ja.po: Likewise.
28481         * po/ru.po: Likewise.
28482         * po/ko.po: Likewise.
28483         * po/fr.po: Likewise.
28485 2011-07-09  Roland McGrath  <roland@hack.frob.com>
28487         * configure.in (.ctors/.dtors header and trailer check):
28488         Use an empirical test on a built program.
28489         * configure: Regenerated.
28491         * configure.in (-z relro check): Use an empirical test on a built DSO.
28492         Detect, but do not require, on ia64.
28493         * configure: Regenerated.
28495         * configure.in (READELF): Find it with AC_CHECK_TOOL.
28496         Update tests that use readelf to use $READELF instead.
28497         * configure: Regenerated.
28499 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
28501         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28502         if the result is not used.
28504 2011-07-05  Andreas Jaeger  <aj@suse.de>
28506         [BZ#9696]
28507         * stdlib/tst-strtod.c: Add testcase.
28509 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
28511         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28512         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28513         The latter has a higher limit.  Take additional parameter to pass to
28514         the new function.
28515         (__pathconf): Pass file to __statfs_link_max.
28516         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28517         __statfs_link_max.
28518         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28519         __statfs_link_max.
28521         [BZ #12868]
28522         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28523         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28524         Handle Lustre.
28525         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28526         (__statfs_filesize_max): Likewise.
28527         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28529 2011-07-05  Andreas Jaeger  <aj@suse.de>
28531         * resolv/res_comp.c (dn_skipname): Remove unused variable.
28533 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
28535         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28536         `status' variable.
28537         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28538         Likewise.
28540 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
28542         * Makefile (strop-tests): Add strncat.
28543         * string/test-strncat.c: New file.
28545 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
28547         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28549 2011-06-21  Andreas Jaeger  <aj@suse.de>
28551         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28552         Copy rule from iconvdata/Makefile.
28554 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28556         [BZ #12922]
28557         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28558         but no long options are defined, just return 'W'.
28560 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
28562         [BZ #9696]
28563         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28565 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28567         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28568         netgroups to read.
28569         (innetgr): Likewise.
28571 2011-07-05  Roland McGrath  <roland@hack.frob.com>
28573         * config.make.in (install_root): Default to $(DESTDIR).
28575 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
28577         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28579 2011-07-02  Roland McGrath  <roland@hack.frob.com>
28581         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28583         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28584         containing directory rather than embedding absolute directory names.
28586         * scripts/check-local-headers.sh: Rewritten using awk.
28587         Match by word, not by line.  Print error messages for matches.
28588         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28590         * Makerules [shlib-lds-flags empty]:
28591         ($(common-objpfx)libc_pic.opts): New target.
28592         ($(common-objpfx)libc_pic.os.clean): New target.
28593         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28595         * config.make.in (OBJCOPY): New variable.
28596         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28597         * configure: Regenerated.
28599         * config.make.in (use-default-link): New variable.
28600         * configure.in (use_default_link): Grok --with-default-link to set it.
28601         * configure: Regenerated.
28602         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28603         (shlib-lds, shlib-lds-flags): Define to empty.
28605         * Makerules (shlib-lds): New variable.
28606         (shlib-lds-flags): New variable.
28607         (build-shlib, build-moduile, build-module-asneeded): Use it.
28608         ($(common-objpfx)libc.so): Use $(shlib-lds).
28609         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28610         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28612         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28613         DT_FLAGS/DT_FLAGS_1 with zero flags.
28615         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28616         linker script munging.
28618 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
28620         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28621         as 128-bit value.
28622         * crypt/sha512.c (sha512_process_block): Perform total addition using
28623         128-bit if possible.
28624         (__sha512_finish_ctx): Likewise.
28625         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28626         as 64-bit value.
28627         * crypt/sha256.c (SWAP64): Define.
28628         (sha256_process_block): Perform total addition using 64-bit if
28629         possible.
28630         (__sha256_finish_ctx): Likewise.
28632 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
28634         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28635         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28636         * nscd/hstcache.c (cache_addhst): Likewise.
28637         * nscd/grpcache.c (cache_addgr): Likewise.
28638         * nscd/aicache.c (addhstaiX): Likewise
28639         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28641 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28643         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28644         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28645         * nscd/hstcache.c (cache_addhst): Likewise.
28646         * nscd/grpcache.c (cache_addgr): Likewise.
28647         * nscd/aicache.c (addhstaiX): Likewise
28649 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28651         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28652         domain only when needed.
28654 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28657         is always restored.
28659 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28661         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28662         are re-adding the entry.
28663         * nscd/servicescache.c (cache_addserv): Likewise.
28665 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28667         * sysdeps/generic/dl-irel.h: fix protection against multiple
28668         inclusions.
28669         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28671 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28673         [BZ #12935]
28674         * malloc/memusage.sh: Fix quoting in message.
28675         * debug/xtrace.sh: Likewise.
28677         * configure.in: Remove support for --experimental-malloc option, make
28678         it the default.
28679         * config.make.in: Likewise.
28680         * malloc/Makefile: Likewise.
28682 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28684         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28685         two-byte characters.
28687 2011-06-27  Roland McGrath  <roland@hack.frob.com>
28689         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28690         AC_CACHE_CHECK invocation.
28691         * configure: Regenerated.
28693         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28695 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
28697         [BZ #12350]
28698         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
28699         bit from old_res_options.
28701         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28703         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28704         value type for setfct.
28706 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
28708         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28709         __gettimeofday instead of gettimeofday.
28711 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
28713         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28715 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28717         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28719         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28720         info.
28722 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28725         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28726         strcpy-sse2-unaligned strncpy-sse2-unaligned
28727         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28728         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28729         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28730         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28731         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28732         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28733         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28734         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28735         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28736         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28737         (STRCPY): Support SSE2 and SSSE3 versions.
28739 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
28741         [BZ #12874]
28742         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28743         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28744         kernels which artificially limit size of requests.
28746 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28748         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28749         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28750         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28751         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28752         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28753         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28754         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28755         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28756         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28757         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28758         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28759         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28760         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28761         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28762         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28764         Enable unaligned load optimization for Intel Core i3, i5 and i7
28765         processors.
28766         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28767         Define.
28768         (index_Fast_Unaligned_Load): Define.
28769         (HAS_FAST_UNALIGNED_LOAD): Define.
28771 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
28773         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28775 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28777         [BZ #12907]
28778         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28779         until it is clear that the information is realy needed.
28780         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28782 2011-06-22  Andreas Schwab  <schwab@redhat.com>
28784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28786 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28788         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28789         /sys/devices/system/cpu/online if it is usable.
28791         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28792         reading the information from the /proc filesystem to once a second.
28794 2011-06-21  Andreas Jaeger  <aj@suse.de>
28796         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28797         NULL after inclusion of kernel headers.
28799 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
28801         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28802         calls to internal_setent.
28804         [BZ #12885]
28805         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28806         addresses using gethostbyname4_r ignore IPv4 addresses.
28808         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28809         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
28811         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28813 2011-06-20  David S. Miller  <davem@davemloft.net>
28815         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28816         inclusions.
28817         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28819         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28820         (elf_irel): Use it.
28821         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28822         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28823         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28824         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28825         * sysdeps/x86_64/dl-irel.h: Likewise.
28827         * elf/dl-runtime.c: Use elf_ifunc_invoke.
28828         * elf/dl-sym.c: Likewise.
28830 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28832         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
28833         need to dereference resplen2.
28835 2011-06-14  Andreas Schwab  <schwab@redhat.com>
28837         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28839 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28841         * Makeconfig: Define vardbdir and inst_vardbdir.
28842         * nss/Makefile: Add rules to install db-Makefile.
28844         * nss/nss_db/db-XXX.c: Cleanup.
28846         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28847         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28848         GLIBC_PRIVATE.
28849         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28850         * nss/makedb.c: Implement -g option to specify that value strings
28851         are generated and should not be added to table iterated over for
28852         get*ent calls.
28853         * nss/nss_db/db-initgroups.c: New file.
28855         * nss/getent.c: Add support for initgroups lookups through getgrouplist
28856         interface.
28858         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28859         (internal_getgrouplist): Adjust to name change.
28860         Update use_initgroups_entry if this is not the first call.
28861         * nss/databases.def: Add initgroups entry.
28863         * nss/makedb.c (compute_tables): Check result of multiple hash table
28864         sizes to minimize maximum chain length.
28866 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
28868         * Versions.def: Add entry for libnss_db.
28869         * shlib-versions: Likewise.
28870         * nss/Makefile: Add rules to build libnss_db.
28871         * nss/Versions: Add libnss_db information.  Organize libnss_files
28872         entries better.
28873         * nss/db-Makefile: Add gshadow support.  Change rules for the new
28874         makedb progra.  Some minor improvements to generate smaller files.
28875         * nss/nss_db/nss_db.h: Move NSS database header data structures to
28876         here from...
28877         * nss/makedb.c: ...here.
28878         Improve database format to be smaller and require less memory at
28879         runtime.
28880         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
28881         db anymore.
28882         * nss/nss_db/db-netgrp.c: Likewise.
28883         * nss/nss_db/db-open.c: Likewise.
28884         * nss/nss_files/flies-XXX.x: Adjust comments.
28885         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28886         * nss/nss_files/files-grp.c: Likewise.
28887         * nss/nss_files/files-hosts.c: Likewise.
28888         * nss/nss_files/files-network.c: Likewise.
28889         * nss/nss_files/files-proto.c: Likewise.
28890         * nss/nss_files/files-pwd.c: Likewise.
28891         * nss/nss_files/files-rpc.c: Likewise.
28892         * nss/nss_files/files-service.c: Likewise.
28893         * nss/nss_files/files-sgrp.c: Likewise.
28894         * nss/nss_files/files-spwd.c: Likewise.
28895         * nss/nss_db/db-alias.c: Removed.
28896         * nss/nss_db/dummy-db.h: Removed.
28898 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
28900         * nss/makedb.c: Rewritten to not use database library.
28901         * nss/Makefile: Update to build new makedb program.
28903 2011-06-14  Andreas Jaeger  <aj@suse.de>
28905         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28906         memset declaration.
28908 2011-06-10  Andreas Schwab  <schwab@redhat.com>
28910         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28911         tmpbuf.
28913 2011-06-10  Roland McGrath  <roland@hack.frob.com>
28915         * Makerules (shlib.lds): Fail if the linker script comes out empty.
28916         * elf/Makefile ($(objpfx)ld.so): Likewise.
28918         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28919         Don't list ld.so twice in dependencies.
28921         * posix/bug-regex31.c: Include <stdlib.h>.
28923         * nscd/hstcache.c (cache_addhst): Remove unused variable.
28925         * nis/nss_compat/compat-spwd.c
28926         (getspent_next_nss_netgr): Remove unused variable.
28927         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28929         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28930         nonmembers" output to use the right array.
28932         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28934         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28936         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28937         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28938         * catgets/gencat.c (read_input_file): Likewise.
28939         * locale/programs/locarchive.c (enlarge_archive): Likewise.
28941         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28942         variable definition inside #if's controlling its use.
28944         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28946         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28948         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28950         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28951         unreachable code.
28953         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28955         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28956         * configure: Regenerated.
28958         * Makerules: Revert last change.
28959         * elf/Makefile: Likewise.
28961 2011-06-09  Roland McGrath  <roland@hack.frob.com>
28963         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28964         * elf/Makefile ($(objpfx)librtld.os): Likewise.
28965         (reloc-link): Likewise.
28967 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
28969         * elf/Makefile: Add rules to build pldd.
28970         * elf/pldd.c: New file.
28971         * elf/pldd-xx.c: New file.
28973 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
28975         * version.h: Update for 2.15 development version.
28977 2011-06-07  David S. Miller  <davem@davemloft.net>
28979         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28980         ifuncs.
28981         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28982         elf_machine_lazy_rel): Likewise.
28983         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28984         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28985         elf_machine_lazy_rel): Likewise.
28986         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28987         dl_hwcap via passed in argument.
28988         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28989         Likewise.
28991 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28993         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
28995 2011-06-06  Roland McGrath  <roland@hack.frob.com>
28997         [BZ #12849]
28998         * manual/fdl-1.1.texi: New file, verbatim from:
28999         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29000         * manual/lgpl-2.1.texi: New file, verbatim from:
29001         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29002         * manual/Makefile (licenses): New variable, list those new file names.
29003         (texis): Use it.
29004         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29006         * manual/fdl.texi: File removed.
29007         * manual/lesser.texi: File removed.
29008         * manual/libc.texinfo (Copying, Documentation License):
29009         Use new @include file names, put @appendix directive before @include.
29011 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
29013         [BZ #12841]
29014         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29015         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29016         (mq_open): Add __NTH.
29018 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
29020         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29021         Assume Intel Core i3/i5/i7 processor if AVX is available.
29023 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29025         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29026         typo.
29028 2011-05-31  Andreas Schwab  <schwab@redhat.com>
29030         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29031         memory.  Use alloca_account.  Fix memory leak when retrying.
29033 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29035         * version.h (RELEASE): Bump for 2.14 release.
29036         * include/features.h (__GLIBC_MINOR__): Bump to 14.
29038         * config.make.in (RANLIB): Remove entry.
29040 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
29042         * po/Makefile (po-sed-cmd): Add ksh to extensions.
29043         (libc.pot): Work around missing support for .ksh extension in xgettext.
29045         [BZ #12684]
29046         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29047         if both request failed.
29048         (send_dg): In case of server errors clear resplen or *resplen2.
29050         [BZ #12454]
29051         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29052         when there are multiple maps.
29053         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29054         (_dl_fini): Remove test here.
29056         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29058 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
29060         [BZ #12350]
29061         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29062         bit from old_res_options.
29063         (gaih_inet): Likewise.
29065         [BZ #11099]
29066         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29067         as signed.
29069         * resolv/res_init.c (res_setoptions): Make the code more compact.
29071         [BZ #11558]
29072         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29073         set RES_USEVC.
29075         [BZ #11634]
29076         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29078         * malloc/malloc.h: Mark malloc hook variables as deprecated.
29080         [BZ #11781]
29081         * malloc/malloc.h: Declare malloc hook variables as volatile.
29083         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29084         in last patch.
29086         [BZ #11799]
29087         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29088         raise in the comment.
29089         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29090         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29091         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29093 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
29095         [BZ #12811]
29096         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29097         grow the buffers more if it already has to be sufficient.
29098         (build_wcs_upper_buffer): Likewise.
29099         * posix/regexec.c (check_matching): Likewise.
29100         (clean_state_log_if_needed): Likewise.
29101         (extend_buffers): Don't enlarge buffers beyond size of the input
29102         buffer.
29103         Patches mostly by Emil Wojak <emil@wojak.eu>.
29104         * posix/bug-regex32.c: New file.
29105         * posix/Makefile (tests): Add bug-regex32.
29107         * locale/findlocale.c (_nl_find_locale): Return right away if
29108         _nl_explode_name failed.
29109         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29111         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29113         * debug/xtrace.sh: Unify messages.
29114         * malloc/memusage.sh: Likewise.
29116         [BZ #12813]
29117         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29118         time symbol from vDSO.  Substitute with vsyscall if not available.
29119         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29120         __vdso_time.
29122         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29123         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29124         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29125         Add sendmmsg and internal_sendmmsg.
29126         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29127         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29128         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29130         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29131         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29132         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29134 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
29136         [BZ #12813]
29137         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29138         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
29139         available.
29140         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29141         __vdso_getcpu.
29143         [BZ #12814]
29144         * iconvdata/Makefile (tests): Add bug-iconv9.
29145         * iconvdata/bug-iconv9.c: New file.
29147 2011-05-27  Andreas Schwab  <schwab@redhat.com>
29149         [BZ #12814]
29150         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29152 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
29154         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29155         (struct user_regs_struct): Change intcs field back to cs.
29157 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
29159         * po/ja.po: Update from translation team.
29161 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
29163         [BZ #12795]
29164         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29165         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29167 2011-05-20  Andreas Schwab  <schwab@redhat.com>
29169         * stdlib/longlong.h: Update from GCC.
29171 2011-05-23  Andreas Schwab  <schwab@redhat.com>
29173         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29174         parameter name.
29175         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29176         Add parameter name.
29177         (__sysconf): Pass it down.
29179 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
29181         [BZ #12671]
29182         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29183         some situations.
29184         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29185         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29186         add in in __libc_use_alloca calls.  Adjust callers.
29187         (glob): Use malloc in some situations.
29189         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29190         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29191         pltexit.
29193 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
29195         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29196         and CLOCK_BOOTTIME_ALARM.
29198         [BZ #12782]
29199         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29200         is returned.
29202         * string/_strerror.c (__strerror_r): Print negative errors as signed
29203         numbers.
29205         [BZ #12777]
29206         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29207         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29208         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29210         * configure.in: Fix typo in redirection and correct removal of test
29211         files in two cases.
29213         [BZ #12788]
29214         * locale/setlocale.c (new_composite_name): Fix test to check for
29215         identical name of all categories.
29217         [BZ #12792]
29218         * libio/filedoalloc.c (local_isatty): New function.
29219         (_IO_file_doallocate): Use local_isatty.
29220         * stdio-common/perror.c (perror): In case a new stream is used
29221         forward the stream error.
29222         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29223         error flag.
29225 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
29227         [BZ #11869]
29228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29229         alloca.
29230         * include/alloca.h (extend_alloca_account): Define.
29232         [BZ #11857]
29233         * posix/regex.h: Fix comments with documentation of user-accessible
29234         fields after compilation and describe correct free'ing of pattern
29235         after re_compile_pattern.
29236         Patch by Reuben Thomas <rrt@sc3d.org>.
29238 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
29240         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29241         and -mno-altivec to prevent the compiler from using Altivec and/or
29242         VSX instructions when the corresponding registers are not available.
29244 2011-05-19  Andreas Schwab  <schwab@redhat.com>
29246         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29248 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
29250         * libio/freopen.c (freopen): Use __dup2, not dup2.
29251         * libio/freopen64.c (freopen64): Likewise.
29253 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29255         [BZ #12775]
29256         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29257         * math/Makefile (tests): Add test-powl.
29258         (CFLAGS-test-powl.c): Define.
29259         * math/test-powl.c: New file.
29261 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29263         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29265 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
29267         [BZ #11837]
29268         * iconvdata/gb18030.c: Update to GB18020-2005.
29270 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
29272         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29273         RE_SYNTAX_POSIX_AWK): Update to match recent development.
29274         Patch by Aharon Robbins <arnold@skeeve.com>.
29276         [BZ #11892]
29277         * stdlib/putenv.c (putenv): Don't always create copy of the variable
29278         on the stack.
29280         [BZ #11895]
29281         * misc/pselect.c (__pselect): Handle timeout value errors hidden
29282         through underflows.
29284         [BZ #12766]
29285         * misc/error.c (error_at_line): Ensure file_name and old_file_name
29286         point to strings before performing equality test for error_one_per_line
29287         mode.
29289         [BZ #11697]
29290         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29292         [BZ #11820]
29293         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29294         (struct user_fpregs_struct): Avoid __uint*_t types.
29296         [BZ #6420]
29297         * malloc/mtrace.c (tr_where): Add additional parameter to point to
29298         symbol info.  Use it instead of calling _dl_addr locally.
29299         (lock_and_info): New function.
29300         (tr_freehook): Call lock_and_info and pass symbol info as additional
29301         parameter to tr_where.
29302         (tr_mallochook): Likewise.
29303         (tr_reallochook): Likewise.
29304         (tr_memalignhook): Likewise.
29306         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
29307         used and couldn't be at all thread-safe.
29309 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
29311         * libio/freopen.c (freopen): Don't close old file descriptor
29312         before the new one is opened.  Instead dup the new file descriptor
29313         to the old one after the new stream is created.
29314         * libio/freopen64.c (freopen64): Likewise.
29315         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29316         * libio/fileops.c (_IO_new_file_close_it): Handle new
29317         _IO_FLAGS2_NOCLOSE flag.
29318         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29319         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29320         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29321         _IO_FLAGS2_NOCLOSE flag.
29322         * include/unistd.h: Add hidden_proto for dup3.
29323         Define __have_dup3.
29324         * io/dup3.c: Define hidden symbol.
29325         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29327         [BZ #7101]
29328         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29329         when an incomplete long option is used.
29330         * posix/tst-getopt_long1.c: New file.
29331         * posix/Makefile (tests): Add tst-getopt_long1.
29333         [BZ #10138]
29334         * scripts/config.guess: Update from autoconf-2.68.
29335         * scripts/config.sub: Likewise.
29337         [BZ #10157]
29338         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29339         tests into ...
29340         (has_cpuclock): ...this.  New function.
29341         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29342         macro here based on has_cpuclock code.
29344         [BZ #10149]
29345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29346         First byte (not low byte) is now always NUL.
29347         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29349         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29350         Use non-cancelable interfaces.
29352         [BZ #9809]
29353         * locale/iso-639.def: Add entry for Sorani.
29355         [BZ #11901]
29356         * include/stdlib.h: Move include protection to the right place.
29357         Define abort_msg_s.  Declare __abort_msg with it.
29358         * stdlib/abort.c (__abort_msg): Adjust type.
29359         * assert/assert.c (__assert_fail_base): New function.  Majority
29360         of code from __assert_fail.  Allocate memory for __abort_msg with
29361         mmap.
29362         (__assert_fail): Now call __assert_fail_base.
29363         * assert/assert-perr.c: Remove bulk of implementation.  Use
29364         __assert_fail_base.
29365         * include/assert.hL Declare __assert_fail_base.
29366         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29367         mmap.
29368         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29370 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
29372         [BZ #11952]
29373         [BZ #12453]
29374         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29375         until all modules are registered in the DTV.
29376         * elf/Makefile: Add rules to build and run tst-tls19.
29377         * elf/tst-tls19.c: New file.
29378         * elf/tst-tls19mod1.c: New file.
29379         * elf/tst-tls19mod2.c: New file.
29380         * elf/tst-tls19mod3.c: New file.
29381         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29383         [BZ #12083]
29384         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29385         correctly.
29387         [BZ #12601]
29388         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29389         two-byte sequence errors.
29390         * iconvdata/Makefile (tests): Add bug-iconv8.
29391         * iconvdata/bug-iconv8.c: New file.
29393         [BZ #12626]
29394         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29395         buf2 definition.
29397         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29399         [BZ #12432]
29400         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29401         (dummy_getcfa): New function.
29402         (init): Get _Unwind_GetCFA address, use dummy if not found.
29403         (backtrace_helper): In recursion check, also check whether CFA changes.
29404         (__backtrace): Completely initialize arg.
29406         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29407         storing incomplete byte sequence in state object.  Avoid testing for
29408         guaranteed too small input if we know there is enough data available.
29410 2011-05-11  Andreas Schwab  <schwab@redhat.com>
29412         * Makeconfig (+link-pie): Indent.
29413         * Rules (binaries-pie): Define if $(have-fpie) and
29414         $(build-shared).
29415         (binaries-shared): Also filter out $(binaries-pie).
29416         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29417         * nscd/Makefile (others-pie): Add nscd.
29418         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29419         ($(objpfx)nscd): Remove command override.
29420         * login/Makefile (others-pie): Add pt_chown.
29421         ($(objpfx)pt_chown): Remove command override.
29422         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29423         remove command overrides.
29425 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
29427         * libio/tst_putwc.c: Fix error messages.
29429         [BZ #12724]
29430         * libio/fileops.c (_IO_new_file_close_it): Always flush when
29431         currently writing and seek to current position when not.
29432         * libio/Makefile (tests): Add bug-fclose1.
29433         * libio/bug-fclose1.c: New file.
29435 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
29437         [BZ #12511]
29438         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29439         don't set DF_1_NODELETE here.
29440         (do_lookup_x): When entering new entry test for copy relocation
29441         and if necessary set DF_1_NODELETE flag.
29442         * elf/tst-unique4.cc: New file.
29443         * elf/tst-unique4.h: New file.
29444         * elf/tst-unique4lib.cc: New file.
29445         * elf/Makefile: Add rules to build and run tst-unique4.
29446         Patch by Piotr Bury <pbury@goahead.com>.
29448 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
29450         [BZ #12052]
29451         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29453         [BZ #12625]
29454         * misc/mntent_r.c (addmntent): Flush the stream after the output
29456         [BZ #12393]
29457         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29458         (is_trusted_path_normalize): Skip initial colon.  Append slash
29459         to empty buffer.  Duplicate is_trusted_path code but allow
29460         constructed patch to be prefix.
29461         (is_dst): Allow $ORIGIN followed by /.
29462         (_dl_dst_substitute): Correct clearing of check_for_trusted.
29463         Correct testing of result of is_trusted_path_normalize
29464         (decompose_rpath): Fix warning.
29466 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
29468         [BZ #11257]
29469         * grp/initgroups.c (internal_getgrouplist): When we found the service
29470         list through the initgroups entry in nsswitch.conf do not always
29471         continue on a successful lookup.  Don't always use the
29472         __nss_group_database value if it is set.
29473         * nss/nsswitch.conf (initgroups): Change action for successful db
29474         lookup to continue for compatibility.
29476 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
29478         [BZ #11532]
29479         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29480         and CP774 modules.
29481         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29482         and CP774 modules.
29483         * iconvdata/tst-tables.sh: Likewise.
29484         * iconvdata/cp770.c: New file.
29485         * iconvdata/cp771.c: New file.
29486         * iconvdata/cp772.c: New file.
29487         * iconvdata/cp773.c: New file.
29488         * iconvdata/cp774.c: New file.
29489         * iconvdata/testdata/CP770: New file.
29490         * iconvdata/testdata/CP770..UTF8: New file.
29491         * iconvdata/testdata/CP771: New file.
29492         * iconvdata/testdata/CP771..UTF8: New file.
29493         * iconvdata/testdata/CP772: New file.
29494         * iconvdata/testdata/CP772..UTF8: New file.
29495         * iconvdata/testdata/CP773: New file.
29496         * iconvdata/testdata/CP773..UTF8: New file.
29497         * iconvdata/testdata/CP774: New file.
29498         * iconvdata/testdata/CP774..UTF8: New file.
29500         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29501         END CHARMAP line.
29502         * iconvdata/gen-8bit-gap.sh: Likewise.
29503         * iconvdata/gen-8bit.sh: Likewise.
29505         * locale/iso-639.def: Add ary entry.
29507         [BZ #11258]
29508         * locale/C-translit.h.in: Add U20A1 transliteration.
29510         [BZ #12178]
29511         * locale/iso-639.def: Add wae entry.
29512         Patch by Kevin Bortis <bortis@translate-wae.ch>.
29514         [BZ #12545]
29515         * locale/programs/localedef.c (construct_output_path): Use ssize_t
29516         for n.
29518         [BZ #12711]
29519         * locale/C-translit.h.in: Add entry for U20B9.
29520         Patch by pravin.d.s@gmail.com.
29522 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
29524         [BZ #12713]
29525         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29526         ENAMETOOLONG use generic getcwd.
29527         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
29528         in rtld.  Use *stat64.
29529         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29530         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29531         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29532         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29533         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29534         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29535         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29536         __fstatat64 macros.
29537         * include/dirent.h: Add libc_hidden_proto for rewinddir.
29538         * dirent/rewinddir.c: Add libc_hidden_def.
29539         * sysdeps/mach/hurd/rewinddir.c: Likewise.
29540         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
29542         * include/dirent.h (__alloc_dir): Add flags parameter.
29543         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29544         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29545         __alloc_dir.
29546         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
29547         from fdopendir if O_CLOEXEC is already set.
29549 2011-03-15  Alan Modra  <amodra@gmail.com>
29551         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29552         l_tls_firstbyte_offset non-zero.  Save padding offset in
29553         l_tls_firstbyte_offset for later use.
29554         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29555         freeing static tls block.
29557 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
29559         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29560         where #ifdef was intended.  The intent is to prevent ARG_MAX from
29561         being defined by the kernel headers.
29563 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
29565         [BZ #12734]
29566         * resolv/resolv.h: Define RES_NOTLDQUERY.
29567         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29568         no-tld-query and set RES_NOTLDQUERY.
29569         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29570         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29571         modern BIND to search name as TLD unless forbidden.
29573 2011-05-07  Petr Baudis  <pasky@suse.cz>
29574             Ulrich Drepper  <drepper@gmail.com>
29576         [BZ #12393]
29577         * elf/dl-load.c (fillin_rpath): Move trusted path check...
29578         (is_trusted_path): ...to here.
29579         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29580         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29581         using is_trusted_path_normalize() in setuid scripts.
29583 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29585         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29586         __BEGIN/__END_DECLS.
29588 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
29590         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29591         NSS_STATUS_NOTFOUND if no record was found.
29593 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29595         * sunrpc/Makefile (headers): Add rpc/netdb.h.
29596         (headers-not-in-tirpc): Remove rpc/netdb.h
29597         * resolv/netdb.h: Revert last change.
29599 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29601         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29602         circular dependency between libgcc.a and libc.a.
29604 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29606         * resolv/netdb.h: Don't include <rpc/netdb.h>.
29607         * nis/Makefile: Don't install rpcsvc/*.
29608         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29609         instead of <rpc/types.h>.
29610         (MAXHOSTNAMELEN): Define.
29612 2011-05-03  Andreas Schwab  <schwab@redhat.com>
29614         * elf/ldconfig.c (add_dir): Don't crash on empty path.
29616 2011-04-28  Maciej Babinski  <mbabinski@google.com>
29618         [BZ #12714]
29619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29620         gethostbyname4_r when IPv6 results are possible.
29622 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
29624         [BZ #12723]
29625         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29626         _PC_PIPE_BUF handling.
29628 2011-04-30  Bruno Haible  <bruno@clisp.org>
29630         [BZ #12717]
29631         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29632         * resolv/netdb.h (getnameinfo): Change type of flags parameter
29633         to 'int'.
29634         * inet/getnameinfo.c (getnameinfo): Likewise.
29636 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29638         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29639         to groups setting in database lookup.
29640         * nss/nsswitch.conf: Add initgroups entry.
29642 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29644         [BZ #12685]
29645         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29646         mode string.
29647         Patch by Eric Blake <eblake@redhat.com>.
29649 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29651         * sunrpc/Makefile (need-export-routines): Add svc_run.
29652         (routines): Remove svc_run.
29653         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29654         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29655         * sunrpc/svc_run.c (svc_run): Likewise.
29656         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29658 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29660         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29661         problem in reallocation in last patch.
29663 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29665         * sunrpc/Makefile: Move inclusion of Rules.
29667 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29669         * nss/nss_files/files-initgroups.c: New file.
29670         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29671         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29672         _nss_files_initgroups_dyn.
29674 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29676         * elf/elf.h (R_ARM_IRELATIVE): Define.
29678 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29680         * po/ru.po: Update from translation team.
29682 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29684         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29685         dependencies.
29687 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
29689         [BZ #12653]
29690         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29691         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29692         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29693         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29694         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29696 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
29698         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29699         differing bytes.
29700         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29701         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29702         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29704 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29706         [BZ #12420]
29707         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29708         storing it.
29709         * stdlib/bug-getcontext.c: New file.
29710         * stdlib/Makefile: Add rules to build and run bug-getcontext.
29712 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29714         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29715         instructions into .machine "z9-109".
29716         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29717         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29719 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29721         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29722         between environment variables and auxiliary vector.
29724 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
29726         * Makefile: Add rules to build linkobj/libc.so.
29727         * include/libc-symbols.h: Define libc_hidden_nolink.
29728         * include/rpc/auth.h: Mark functions which are to be hidden.
29729         * include/rpc/auth_des.h: Likewise.
29730         * include/rpc/auth_unix.h: Likewise.
29731         * include/rpc/clnt.h: Likewise.
29732         * include/rpc/des_crypt.h: Likewise.
29733         * include/rpc/key_prot.h: Likewise.
29734         * include/rpc/pmap_clnt.h: Likewise.
29735         * include/rpc/pmap_prot.h: Likewise.
29736         * include/rpc/pmap_rmt.h: Likewise.
29737         * include/rpc/rpc_msg.h: Likewise.
29738         * include/rpc/svc.h: Likewise.
29739         * include/rpc/svc_auth.h: Likewise.
29740         * include/rpc/xdr.h: Likewise.
29741         * nis/Makefile: Link all DSOs against linkobj/libc.so.
29742         * nss/Makefile: Likewise.
29743         * sunrpc/Makefile: Don't install headers.  Build library with normal
29744         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
29745         * sunrpc/auth_des.c: Hide exported symbols by default, export some
29746         for the compat linking library.  Remove use of INTDEF/INTUSE.
29747         * sunrpc/auth_none.c: Likewise.
29748         * sunrpc/auth_unix.c: Likewise.
29749         * sunrpc/authdes_prot.c: Likewise.
29750         * sunrpc/authuxprot.c: Likewise.
29751         * sunrpc/clnt_gen.c: Likewise.
29752         * sunrpc/clnt_perr.c: Likewise.
29753         * sunrpc/clnt_raw.c: Likewise.
29754         * sunrpc/clnt_simp.c: Likewise.
29755         * sunrpc/clnt_tcp.c: Likewise.
29756         * sunrpc/clnt_udp.c: Likewise.
29757         * sunrpc/clnt_unix.c: Likewise.
29758         * sunrpc/des_crypt.c: Likewise.
29759         * sunrpc/des_soft.c: Likewise.
29760         * sunrpc/get_myaddr.c: Likewise.
29761         * sunrpc/key_call.c: Likewise.
29762         * sunrpc/key_prot.c: Likewise.
29763         * sunrpc/netname.c: Likewise.
29764         * sunrpc/pm_getmaps.c: Likewise.
29765         * sunrpc/pm_getport.c: Likewise.
29766         * sunrpc/pmap_clnt.c: Likewise.
29767         * sunrpc/pmap_prot.c: Likewise.
29768         * sunrpc/pmap_prot2.c: Likewise.
29769         * sunrpc/pmap_rmt.c: Likewise.
29770         * sunrpc/publickey.c: Likewise.
29771         * sunrpc/rpc_cmsg.c: Likewise.
29772         * sunrpc/rpc_common.c: Likewise.
29773         * sunrpc/rpc_dtable.c: Likewise.
29774         * sunrpc/rpc_prot.c: Likewise.
29775         * sunrpc/rpc_thread.c: Likewise.
29776         * sunrpc/rtime.c: Likewise.
29777         * sunrpc/svc.c: Likewise.
29778         * sunrpc/svc_auth.c: Likewise.
29779         * sunrpc/svc_authux.c: Likewise.
29780         * sunrpc/svc_raw.c: Likewise.
29781         * sunrpc/svc_run.c: Likewise.
29782         * sunrpc/svc_simple.c: Likewise.
29783         * sunrpc/svc_tcp.c: Likewise.
29784         * sunrpc/svc_udp.c: Likewise.
29785         * sunrpc/svc_unix.c: Likewise.
29786         * sunrpc/svcauth_des.c: Likewise.
29787         * sunrpc/xcrypt.c: Likewise.
29788         * sunrpc/xdr.c: Likewise.
29789         * sunrpc/xdr_array.c: Likewise.
29790         * sunrpc/xdr_float.c: Likewise.
29791         * sunrpc/xdr_intXX_t.c: Likewise.
29792         * sunrpc/xdr_mem.c: Likewise.
29793         * sunrpc/xdr_rec.c: Likewise.
29794         * sunrpc/xdr_ref.c: Likewise.
29795         * sunrpc/xdr_sizeof.c: Likewise.
29796         * sunrpc/xdr_stdio.c: Likewise.
29798 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
29800         [BZ #12650]
29801         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29802         * sysdeps/ia64/dl-tls.h: Likewise.
29803         * sysdeps/powerpc/dl-tls.h: Likewise.
29804         * sysdeps/s390/dl-tls.h: Likewise.
29805         * sysdeps/sh/dl-tls.h: Likewise.
29806         * sysdeps/sparc/dl-tls.h: Likewise.
29807         * sysdeps/x86_64/dl-tls.h: Likewise.
29808         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29810 2011-03-14  Andreas Schwab  <schwab@redhat.com>
29812         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29813         rpath element also skip the following colon.
29814         (expand_dynamic_string_token): Add is_path parameter and pass
29815         down to DL_DST_REQUIRED and _dl_dst_substitute.
29816         (decompose_rpath): Call expand_dynamic_string_token with
29817         non-zero is_path.  Ignore empty rpaths.
29818         (_dl_map_object_from_fd): Call expand_dynamic_string_token
29819         with zero is_path.
29821 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
29823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29824         Make cancelable.
29826 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
29828         [BZ #12655]
29829         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29830         Patch by Filipe David Manana <fdmanana@apache.org>.
29832 2011-04-07  Andreas Schwab  <schwab@redhat.com>
29834         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29835         Maintain aligned stack.
29836         (CHECK_RSP): Remove unused macro.
29838 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
29840         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29841         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29843 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
29845         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29847         * include/features.h: Mention __USE_XOPEN2K8 in comment.
29849 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
29851         [BZ #12518]
29852         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29853         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29854         * sysdeps/x86_64/memmove.c: New file.
29855         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29856         (memcpy): Renamed to ...
29857         (__new_memcpy): This.
29858         (memcpy): Provide GLIBC_2_14 memcpy.
29859         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29860         (memcpy): Provide GLIBC_2_2_5 memcpy.
29862 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29864         [BZ #12631]
29865         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29867 2011-03-30  Andreas Schwab  <schwab@redhat.com>
29869         * misc/syncfs.c: New file.
29870         * misc/Makefile (routines): Add syncfs.
29871         * posix/unistd.h: Declare syncfs.
29872         * sysdeps/unix/syscalls.list: Add syncfs.
29874 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29876         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29877         open_by_handle_at.
29878         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29879         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29880         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29881         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29882         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29883         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29884         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29886 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29888         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29889         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29890         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29891         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29892         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29893         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29894         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29896         * io/Makefile: Compile fallocate.c, fallocate64.c, and
29897         sync_file_range.c with -fexceptions.
29898         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29899         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29900         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29901         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29902         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29903         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29904         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29905         sync_file_range as cancellation point
29906         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
29907         now a wrapper around __call_sync_file_range with cancellation handling.
29908         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29909         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
29910         function name to __call_sync_file_range.
29911         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29912         Add call_sync_file_range.
29914 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29917         bits/timex.h.
29919 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29921         * iconv/iconv.h: Fix typo in comment.
29922         * io/fcntl.h: Likewise.
29923         * libio/stdio.h: Likewise.
29924         * posix/spawn.h: Likewise.
29925         * posix/unistd.h: Likewise.
29926         * stdlib/stdlib.h: Likewise.
29927         * time/time.h: Likewise.
29928         * wcsmbs/wchar.h: Likewise.
29930         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29931         open_by_handle): Add.
29932         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29933         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
29934         Augment a few comments.
29935         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29936         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29937         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29938         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29939         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29940         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29941         open_by_handle.
29943         * io/fcntl.h (AT_EMPTY_PATH): Define.
29945 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
29947         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29948         * sysdeps/unix/sysv/linux/bits/time.h: New file.
29949         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29950         to...
29951         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
29952         * Versions.def: Add GLIBC_2.14.
29953         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29954         Export.
29956 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
29958         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29959         round counter.
29960         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29962 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
29964         [BZ #12597]
29965         * string/test-strncmp.c (do_page_test): New function.
29966         (check2): Likewise.
29967         (test_main): Call check2.
29968         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29970 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
29972         [BZ #12587]
29973         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29974         Handle cache information in CPU leaf 4.
29975         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29977 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
29979         [BZ #12583]
29980         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29981         character representation.
29982         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29984 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
29986         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29987         END(__isnan) to END(__isnanf) to match function entry point/label
29988         EALIGN(__isnanf,...).
29990 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
29992         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29994 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
29996         [BZ #12510]
29997         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29998         copy from the symbol referenced in the relocation to initialize the
29999         used variable.
30000         Patch by Piotr Bury <pbury@goahead.com>.
30001         * elf/Makefile: Add rules to build and tst-unique3.
30002         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30003         * elf/tst-unique3.cc: New file.
30004         * elf/tst-unique3.h: New file.
30005         * elf/tst-unique3lib.cc: New file.
30006         * elf/tst-unique3lib2.cc: New file.
30008         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30010 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
30012         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30013         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
30014         to _start.
30016 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
30018         * elf/dl-load.c (_dl_map_object): If we are looking for the first
30019         to-be-loaded object along a path to loader is ld.so.
30021 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30022             Ulrich Drepper  <drepper@gmail.com>
30024         * sysdeps/x86_64/memset.S: After aligning destination, code
30025         branches to different locations depending on the value of
30026         misalignment, when multiarch is enabled. Fix this.
30028 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30030         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30031         Set _x86_64_preferred_memory_instruction for AMD processsors.
30032         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30033         Set bit_Prefer_SSE_for_memop for AMD processors.
30035 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
30037         * libio/fmemopen.c (fmemopen): Optimize a bit.
30039 2011-03-03  Andreas Schwab  <schwab@redhat.com>
30041         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30043 2011-03-03  Roland McGrath  <roland@redhat.com>
30045         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30047 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
30049         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30050         __bzero_ultra1 instead of __memset_ultra1.
30052 2011-02-23  Andreas Schwab  <schwab@redhat.com>
30053             Ulrich Drepper  <drepper@gmail.com>
30055         [BZ #12509]
30056         * include/link.h (struct link_map): Add l_orig_initfini.
30057         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30058         returning unsuccessfully.
30059         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30060         close of a file loaded at startup, restore the original l_initfini
30061         list.
30062         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30063         list, store the pointer.
30064         * elf/Makefile ($(objpfx)noload-mem): New rule.
30065         (noload-ENV): Define.
30066         (tests): Add $(objpfx)noload-mem.
30067         * elf/noload.c: Include <memcheck.h>.
30068         (main): Call mtrace.  Close all opened handles.
30070 2011-02-17  Andreas Schwab  <schwab@redhat.com>
30072         [BZ #12454]
30073         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30074         dependencies are missing.
30076 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30078         Fix __if_freereq crash: Unlike the generic version which uses free,
30079         Hurd needs munmap.
30080         * sysdeps/mach/hurd/ifreq.h: New file.
30082 2011-01-27  Petr Baudis  <pasky@suse.cz>
30083             Ulrich Drepper  <drepper@gmail.com>
30085         [BZ 12445]#
30086         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30087         to extend_alloca().
30088         * stdio-common/bug23.c: New file.
30089         * stdio-common/Makefile (tests): Add bug23.
30091 2010-09-28  Andreas Schwab  <schwab@redhat.com>
30092             Ulrich Drepper  <drepper@gmail.com>
30094         [BZ #12489]
30095         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30096         before performing relro protection.  At old place add assertion
30097         to make sure nothing changed.
30099 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
30100             Glauber de Oliveira Costa  <glommer@gmail.com>
30102         * elf/elf.h: Add new ARM TLS relocs.
30104 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
30106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30107         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30108         cast from r3.
30109         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
30110         'tests' variable.
30111         * sysdeps/wordsize-64/tst-writev.c: New file.
30113 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
30115         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30116         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30117         insns in _dl_start to prevent a TOC reference before relocs are
30118         resolved.
30120 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
30122         [BZ #12469]
30123         * Makeconfig: Remove RANLIB definition.
30124         * Makerules: Don't use RANLIB.
30125         * aclocal.m4: Remove ranlib test.
30126         * configure.in: No need to check for ranlib.
30127         * elf/rtld-Rules: Don't use RANLIB.
30129 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30131         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30132         protection macro.
30133         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30134         inclusion protection macro.
30136         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30137         SIGRTMIN and SIGRTMAX and print information in that case only when
30138         SIGRTMIN is defined.
30140 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
30142         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30143         arginfo fn returning -1.
30145         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30146         and thousands string is zero terminated.
30148 2011-02-03  Andreas Schwab  <schwab@redhat.com>
30150         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30151         sysdeps/unix/sysv/linux/bits/socket.h.
30153 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30155         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30156         (__CPU_COUNT): Remove old macros.
30157         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30158         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30159         (__CPU_ALLOC, __CPU_FREE): Add macros.
30160         (__sched_cpualloc, __sched_cpufree): Add declarations.
30162 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
30164         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30165         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30166         * nscd/aicache.c (addhstaiX): Return timeout of added value.
30167         (readdhstai): Return value of addhstaiX call.
30168         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30169         (addgrbyX): Return value returned by cache_addgr.
30170         (readdgrbyname): Return value returned by addgrbyX.
30171         (readdgrbygid): Likewise.
30172         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30173         (addpwbyX): Return value returned by cache_addpw.
30174         (readdpwbyname): Return value returned by addhstbyX.
30175         (readdpwbyuid): Likewise.
30176         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30177         (addservbyX): Return value returned by cache_addserv.
30178         (readdservbyname): Return value returned by addservbyX:
30179         (readdservbyport): Likewise.
30180         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30181         (addhstbyX): Return value returned by cache_addhst.
30182         (readdhstbyname): Return value returned by addhstbyX.
30183         (readdhstbyaddr): Likewise.
30184         (readdhstbynamev6): Likewise.
30185         (readdhstbyaddrv6): Likewise.
30186         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30187         (readdinitgroups): Return value returned by addinitgroupsX.
30188         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30189         (prune_cache): Keep track of timeout value of re-added entries.
30190         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30191         * nscd/nscd.h: Adjust prototypes of readd* functions.
30193 2011-02-04  Roland McGrath  <roland@redhat.com>
30195         * nis/nis_server.c (nis_servstate): Use the right name for 0.
30196         (nis_stats): Likewise.
30197         * nis/nis_modify.c (nis_modify): Likewise.
30198         * nis/nis_remove.c (nis_remove): Likewise.
30199         * nis/nis_add.c (nis_add): Likewise.
30201         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30203         * posix/fnmatch_loop.c: Add some consts.
30205         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30207 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
30209         [BZ #12460]
30210         * config.make.in (config-cflags-novzeroupper): Define.
30211         * configure.in: Substitute libc_cv_cc_novzeroupper.
30212         * elf/Makefile (AVX-CFLAGS): Define.
30213         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30214         (CFLAGS-tst-auditmod4a.c): Likewise.
30215         (CFLAGS-tst-auditmod4b.c): Likewise.
30216         (CFLAGS-tst-auditmod6b.c): Likewise.
30217         (CFLAGS-tst-auditmod6c.c): Likewise.
30218         (CFLAGS-tst-auditmod7b.c): Likewise.
30219         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30221 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
30223         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30224         function to the callback.
30225         Patch partly by Jiri Olsa <jolsa@redhat.com>.
30227 2011-02-02  Andreas Schwab  <schwab@redhat.com>
30229         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30230         of errno.
30232 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
30234         [BZ #11724]
30235         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30236         of constructors.
30237         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30238         of destructors.
30239         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30241         [BZ #11724]
30242         * elf/Makefile: Add rules to build and run new test.
30243         * elf/tst-initorder.c: New file.
30244         * elf/tst-initorder.exp: New file.
30245         * elf/tst-initordera1.c: New file.
30246         * elf/tst-initordera2.c: New file.
30247         * elf/tst-initordera3.c: New file.
30248         * elf/tst-initordera4.c: New file.
30249         * elf/tst-initorderb1.c: New file.
30250         * elf/tst-initorderb2.c: New file.
30251         * elf/tst-order-a1.c: New file.
30252         * elf/tst-order-a2.c: New file.
30253         * elf/tst-order-a3.c: New file.
30254         * elf/tst-order-a4.c: New file.
30255         * elf/tst-order-b1.c: New file.
30256         * elf/tst-order-b2.c: New file.
30257         * elf/tst-order-main.c: New file.
30258         New test case by George Gensure <werkt0@gmail.com>.
30260 2010-10-01  Andreas Schwab  <schwab@redhat.com>
30262         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30263         decoding ACE if AI_CANONIDN.
30265 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
30267         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30269 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
30271         * version.h (RELEASE): Bump for 2.13 release.
30272         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30274         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30276         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30277         MADV_NOHUGEPAGE.
30278         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30279         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30280         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30281         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30282         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30283         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30285         * posix/getconf.c: Update copyright year.
30286         * catgets/gencat.c: Likewise.
30287         * csu/version.c: Likewise.
30288         * debug/catchsegv.sh: Likewise.
30289         * debug/xtrace.sh: Likewise.
30290         * elf/ldconfig.c: Likewise.
30291         * elf/ldd.bash.in: Likewise.
30292         * elf/sprof.c (print_version): Likewise.
30293         * iconv/iconv_prog.c: Likewise.
30294         * iconv/iconvconfig.c: Likewise.
30295         * locale/programs/locale.c: Likewise.
30296         * locale/programs/localedef.c: Likewise.
30297         * malloc/memusage.sh: Likewise.
30298         * malloc/mtrace.pl: Likewise.
30299         * nscd/nscd.c (print_version): Likewise.
30300         * nss/getent.c: Likewise.
30302         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30303         PF_CAIF, and PF_ALG.
30304         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30306 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
30308         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30309         (modules-names): Use them.
30310         (ifunc-test-modules, ifunc-pie-tests): Define.
30311         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30312         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30313         (test-extras): Likewise.
30314         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30315         $(compile-command.c).
30316         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30317         (all-built-dso): Define.
30318         (check-textrel.out, check-execstack.out): Depend on it.
30320         * configure.in: Don't override --enable-multi-arch.
30322 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
30324         [BZ #6812]
30325         * nscd/hstcache.c (tryagain): Define.
30326         (cache_addhst): Return tryagain not notfound for temporary errors.
30327         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30328         failed.
30330 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
30332         [BZ #10563]
30333         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30334         to make the syscall.
30335         * sysdeps/unix/sysv/linux/setgroups.c: New file.
30337         [BZ #12378]
30338         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30339         and fall back to matching as normal character if the string ends before
30340         the matching ']' is found.  This is what POSIX requires.
30341         * posix/testfnm.c: Adjust test result.
30342         * posix/globtest.sh: Adjust test result.  Add new test.
30343         * posix/tst-fnmatch.input: Likewise.
30344         * posix/tst-fnmatch2.c: Add new test.
30346 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
30348         * elf/Makefile (check-execstack): Revert last change.  Depend on
30349         check-execstack.h.
30350         (check-execstack.h): New target.
30351         (generated): Add check-execstack.h.
30352         * elf/check-execstack.c: Include "check-execstack.h".
30353         (main): Revert last change.
30354         (handle_file): Return zero if GNU_STACK is absent and
30355         DEFAULT_STACK_PERMS doesn't include PF_X.
30357 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
30359         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30360         in child fails because the descriptor is already closed.
30361         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30362         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30363         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30365         [BZ #12397]
30366         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30367         syscall.
30369         [BZ #10484]
30370         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30371         temporary buffer used to handle multi lookups locally.
30372         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30374 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30376         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30377         loader is ld.so.
30379 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
30381         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30382         alignment for SSE2.
30384 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30386         [BZ #12394]
30387         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30388         characters.  When rounding increased number of integer digits recompute
30389         number of groups.
30390         * stdio-common/tst-grouping.c: New file.
30391         * stdio-common/Makefile: Add rules to build and run tst-grouping.
30393 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
30395         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30396         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
30398         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30399         void.
30400         * bits/select.h: Likewise.
30402 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
30404         * po/ja.po: Update from translation team.
30406 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
30408         [BZ #11155]
30409         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30410         implementation just like for lxstat, fxstatat, et al.
30412 2010-12-27  Jim Meyering  <meyering@redhat.com>
30414         [BZ #12348]
30415         * posix/regexec.c (build_trtable): Return failure indication upon
30416         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
30418 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
30420         [BZ #12201]
30421         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30422         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30423         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30424         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30426         [BZ #12207]
30427         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30429         [BZ #12204]
30430         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30431         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30433 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
30435         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30436         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30437         script has SORT_BY_INIT_PRIORITY.
30438         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30439         NO_CTORS_DTORS_SECTIONS is defined.
30440         * elf/soinit.c: Likewise.
30441         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30442         NO_CTORS_DTORS_SECTIONS is defined.
30443         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30444         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30445         * sysdeps/sh/init-first.c: Likewise.
30446         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30448 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
30450         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30451         always use the slow path.
30453 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
30455         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30456         similar rule which adds the sysdep directories to the header search in
30457         order to pick up the correct platform stackinfo.h.
30458         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30459         perform test if it is, otherwise return successfully without testing.
30460         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30461         DEFAULT_STACK_PERMS define in stackinfo.h.
30462         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30463         defined in stackinfo.h.
30464         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30465         DEFAULT_STACK_PERMS defined in stackinfo.h.
30466         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30467         * sysdeps/ia64/stackinfo.h: Likewise.
30468         * sysdeps/s390/stackinfo.h: Likewise.
30469         * sysdeps/sh/stackinfo.h: Likewise.
30470         * sysdeps/sparc/stackinfo.h: Likewise.
30471         * sysdeps/x86_64/stackinfo.h: Likewise.
30472         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30473         PF_X for powerpc64.  Retain PF_X for powerpc32.
30475 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
30477         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30478         accurately.
30479         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30480         GETDENTS_64BIT_ALIGNED.
30482 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
30484         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30486 2010-12-10  Andreas Schwab  <schwab@redhat.com>
30488         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30489         _GNU_SOURCE.
30491         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30492         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30493         Remove __restrict.
30494         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30495         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30497 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
30499         [BZ #11655]
30500         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30501         are initialized.
30503 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
30505         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30507 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
30509         * po/it.po: Update from translation team.
30511 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
30513         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30514         unused codes.
30516 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
30518         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30520 2010-11-24  Andreas Schwab  <schwab@redhat.com>
30522         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30523         specially.
30524         (gaih_getanswer_slice): Likewise.
30526 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
30528         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30530 2010-05-31  Petr Baudis  <pasky@suse.cz>
30532         [BZ #11149]
30533         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30534         silently even in the chroot mode.
30536 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
30538         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30539         last patch a bit.  Pretty printing
30541 2010-05-31  Petr Baudis <pasky@suse.cz>
30543         [BZ #10085]
30544         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30545         initialization of skip_initgroups_dyn.
30547 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
30549         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30550         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30552 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
30554         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30556 2010-11-11  Andreas Schwab  <schwab@redhat.com>
30558         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30559         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30560         (tst-fnmatch-ENV): Set MALLOC_TRACE.
30561         ($(objpfx)tst-fnmatch-mem): New rule.
30562         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30563         * posix/tst-fnmatch.c (main): Call mtrace.
30565 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
30567         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30568         Support Intel processor model 6 and model 0x2c.
30570 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
30572         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30573           signed comparison.
30575 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
30577         [BZ #12205]
30578         * string/test-strncasecmp.c (check_result): New function.
30579         (do_one_test): Use it.
30580         (check1): New function.
30581         (test_main): Use it.
30582         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30583         Support strcasecmp and strncasecmp.
30585 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
30587         [BZ #12194]
30588         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30589         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30591 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30593         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30594         IFUNC support.
30595         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30596         memset-x86-64.
30597         * sysdeps/x86_64/multiarch/bzero.S: New file.
30598         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30599         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30600         * sysdeps/x86_64/multiarch/memset.S: New file.
30601         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30602         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30603         Set bit_Prefer_SSE_for_memop for Intel processors.
30604         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30605         Define.
30606         (index_Prefer_SSE_for_memop): Define.
30607         (HAS_PREFER_SSE_FOR_MEMOP): Define.
30609 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
30611         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30612         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30614 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
30616         [BZ #12191]
30617         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30618         (__x86_64_raw_data_cache_size_half): Likewise.
30619         (__x86_64_raw_shared_cache_size): Likewise.
30620         (__x86_64_raw_shared_cache_size_half): Likewise.
30622         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30623         (__x86_64_raw_data_cache_size_half): Likewise.
30624         (__x86_64_raw_shared_cache_size): Likewise.
30625         (__x86_64_raw_shared_cache_size_half): Likewise.
30626         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30627         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30628         and __x86_64_raw_shared_cache_size_half.  Round
30629         __x86_64_data_cache_size_half, __x86_64_data_cache_size
30630         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30631         to multiple of 256 bytes.
30633 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30635         [BZ #12167]
30636         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30637         of inacessible symlinks.  Verify result of symlink before returning it.
30638         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30639         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30641 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30643         * math/math.h (isinf): Fix typo in comment.
30645 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30647         * po/da.po: Update from translation team.
30649 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30651         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30652         is added to the list.
30654 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30655             Ulrich Drepper  <drepper@gmail.com>
30657         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30658         the global list here.  Move code to...
30659         (_dl_add_to_namespace_list): ...here.  New function.
30660         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30661         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30662         * elf/dl-load.c (lose): Don't remove the element from the list.
30663         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30664         (_dl_map_object): Likewise.
30666 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30668         [BZ #12159]
30669         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30670         into all bytes of SSE register.
30671         Patch by Richard Li <richardpku@gmail.com>.
30673 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30675         [BZ #12140]
30676         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30677         perturbing.
30679 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30681         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30682         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30683         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30684         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30686         submachine.
30687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30689 2010-10-22  Andreas Schwab  <schwab@redhat.com>
30691         * include/dlfcn.h (__RTLD_SECURE): Define.
30692         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
30693         mode & __RTLD_SECURE instead.
30694         (open_path): Rename preloaded parameter to secure.
30695         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30696         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30697         * elf/dl-deps.c (openaux): Likewise.
30698         * elf/rtld.c (struct map_args): Remove is_preloaded.
30699         (map_doit): Don't use it.
30700         (dl_main): Likewise.
30701         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30702         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30704 2010-09-09  Andreas Schwab  <schwab@redhat.com>
30706         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30707         (sysd-rules-targets): Remove duplicates.
30708         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30709         rtld-%.$o dependency.
30711 2010-10-18  Andreas Schwab  <schwab@redhat.com>
30713         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30714         _dl_map_object do it.
30716 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
30718         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30719         fast fma builtins, define the macros in the C99 standard.
30720         (FP_FAST_FMAF): Likewise.
30721         (FP_FAST_FMAL): Likewise.
30722         * sysdeps/x86_64/bits/mathdef.h: Likewise.
30724         * bits/mathdef.h: Update copyright year.
30725         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30727 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
30729         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30730         builtins, define the macros in the C99 standard.
30731         (FP_FAST_FMAF): Likewise.
30732         (FP_FAST_FMAL): Likewise.
30733         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30734         multiply/add.
30735         (FP_FAST_FMAF): Likewise.
30737 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
30739         [BZ #3268]
30740         * math/libm-test.inc (fma_test): Some new testcases.
30741         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30742         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30743         y and infinite z.  Do multiplication by C already in long double.
30744         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30746         y and infinite z.  Do bitwise or of inexact bit into u.d.
30747         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30748         * sysdeps/i386/fpu/s_fmaf.S: Removed.
30749         * sysdeps/i386/fpu/s_fma.S: Removed.
30750         * sysdeps/i386/fpu/s_fmal.S: Removed.
30752 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
30754         [BZ #3268]
30755         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30756         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30757         computation is not scheduled after fetestexcept.  Fix value
30758         of minimum denormal long double.
30760 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
30762         [BZ #3268]
30763         * math/libm-test.inc (fma_test): Add some more tests.
30764         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30765         correctly.
30767 2010-10-15  Andreas Schwab  <schwab@redhat.com>
30769         * scripts/data/localplt-s390-linux-gnu.data: New file.
30770         * scripts/data/localplt-s390x-linux-gnu.data: New file.
30772 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
30774         [BZ #3268]
30775         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30776         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30777         instead of dbl-64.
30778         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30779         inlines.
30780         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30782         if one of x and y is very large and the other is subnormal.
30783         * sysdeps/s390/fpu/s_fmaf.c: New file.
30784         * sysdeps/s390/fpu/s_fma.c: New file.
30785         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30786         * sysdeps/powerpc/fpu/s_fma.S: New file.
30787         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30788         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30789         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30791 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
30793         [BZ #3268]
30794         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30795         fma tests.
30796         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30797         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30798         * sysdeps/i386/i686/multiarch/s_fma.c: Include
30799         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30800         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30801         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30802         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30804 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
30806         [BZ #12078]
30807         * posix/regcomp.c (parse_branch): One more memory leak plugged.
30808         * posix/bug-regex31.input: Add test case.
30810 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30812         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30813         * posix/bug-regex31.input: New file.
30815         [BZ #12078]
30816         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30817         (parse_sub_exp): Fix last change, use postorder.
30819         * posix/bug-regex31.c: New file.
30820         * posix/Makefile: Add rules to build and run bug-regex31.
30822         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30824         [BZ #12078]
30825         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30827         [BZ #12108]
30828         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30829         to have entries in sys_siglist.
30831         [BZ #12093]
30832         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30833         be NULL.
30835 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
30837         [BZ #3268]
30838         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30839         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30840         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30841         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30842         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30843         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30844         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30845         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30846         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30847         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30848         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30849         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30850         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30851         * math/ftestexcept.c (fetestexcept): Likewise.
30852         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30853         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30854         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30855         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30856         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30857         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30858         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30860 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30862         [BZ #12107]
30863         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30864         newline.
30866 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
30868         * string/bug-strstr1.c: New file.
30869         * string/Makefile: Add rules to build and run bug-strstr1.
30871 2010-10-05  Eric Blake  <eblake@redhat.com>
30873         [BZ #12092]
30874         * string/str-two-way.h (two_way_long_needle): Always clear memory
30875         when skipping input due to the shift table.
30877 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
30879         [BZ #12005]
30880         * malloc/mcheck.c: Handle large requests.
30882         [BZ #12077]
30883         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30884         for strncmp and strncasecmp.
30885         * string/stratcliff.c: Add tests for strcmp and strncmp.
30886         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30888 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30890         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30891         __set_fpscr.
30893 2010-09-30  Andreas Jaeger  <aj@suse.de>
30895         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30896         (CGROUP_SUPER_MAGIC): Define.
30897         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30898         Handle btrfs and cgroup file systems.
30899         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30900         Likewise.
30902 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
30904         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30905         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30907 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30909         [BZ #12067]
30910         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30911         trying to locate the ELF header.
30913 2010-09-27  Andreas Schwab  <schwab@redhat.com>
30915         [BZ #11611]
30916         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30917         Mask out sign-bit copies when constructing f_fsid.
30919 2010-09-24  Petr Baudis <pasky@suse.cz>
30921         * debug/stack_chk_fail_local.c: Add missing licence exception.
30922         * debug/warning-nop.c: Likewise.
30924 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
30926         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30927         implementing getdents64 using getdents syscall, set d_type if
30928         __ASSUME_GETDENTS32_D_TYPE.
30930 2010-09-16  Andreas Schwab  <schwab@redhat.com>
30932         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30933         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30935 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
30937         [BZ #12037]
30938         * posix/unistd.h: Undo change of feature selection for ftruncate from
30939         2010-01-11.
30941 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
30943         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30944         detection.
30946 2010-09-20  Andreas Schwab  <schwab@redhat.com>
30948         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30949         fanotify_mark.
30950         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30952 2010-09-14  Andreas Schwab  <schwab@redhat.com>
30954         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30955         variables after CHECK_SP call.
30956         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30958 2010-09-13  Andreas Schwab  <schwab@redhat.com>
30959             Ulrich Drepper  <drepper@redhat.com>
30961         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30962         re-relocationg ld.so.
30963         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30964         _dl_init_paths call.
30965         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
30966         here anymore.
30968 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
30970         * resolv/res_init.c (__res_vinit): Count the default server we added.
30972 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
30973             Ulrich Drepper  <drepper@redhat.com>
30975         [BZ #11968]
30976         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30977         (____longjmp_chk): Use %ebx for saving value across system call.
30978         Add unwind info.
30980 2010-09-06  Andreas Schwab  <schwab@redhat.com>
30982         * manual/Makefile: Don't mix pattern rules with normal rules.
30984 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30986         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30987         operation.
30988         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30989         * libio/iofopncook.c (_IO_cookie_init): Likewise.
30990         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30991         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30992         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30993         Likewise.
30995 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
30997         [BZ #11979]
30998         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30999         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31001 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
31003         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31004         * sysdeps/x86_64/addmul_1.S: Likewise.
31005         * sysdeps/x86_64/lshift.S: Likewise.
31006         * sysdeps/x86_64/mul_1.S: Likewise.
31007         * sysdeps/x86_64/rshift.S: Likewise.
31008         * sysdeps/x86_64/sub_n.S: Likewise.
31009         * sysdeps/x86_64/submul_1.S: Likewise.
31011 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31013         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31014         Define __sched_param instead of SCHED_* and sched_param when
31015         <bits/sched.h> is included with __need_schedparam defined.
31016         * bits/sched.h [__need_schedparam]
31017         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31018         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31019         (__defined_schedparam): Define to 1.
31020         (__sched_param): New structure, identical to sched_param.
31021         (__need_schedparam): Undefine.
31023 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
31025         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31026         (epoll_create1): Declare.
31028         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31030 2010-08-31  Andreas Schwab  <schwab@redhat.com>
31032         [BZ #7066]
31033         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31034         shifting retval into place.
31036 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
31038         * nis/rpcsvc/nis.h: Update copyright notice.
31039         * nis/rpcsvc/nis.x: Likewise.
31040         * nis/rpcsvc/nis_callback.h: Likewise.
31041         * nis/rpcsvc/nis_callback.x: Likewise.
31042         * nis/rpcsvc/nis_object.x: Likewise.
31043         * nis/rpcsvc/nis_tags.h: Likewise.
31044         * nis/rpcsvc/yp.h: Likewise.
31045         * nis/rpcsvc/yp.x: Likewise.
31046         * nis/rpcsvc/ypupd.h: Likewise.
31047         * nis/yp_xdr.c: Likewise.
31048         * nis/ypupdate_xdr.c: Likewise.
31050         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
31051         mainly the body of pmap_getport.  Add parameters to specify timeouts.
31052         (pmap_getport): Use __libc_rpc_getport.
31053         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31054         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31055         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31057 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
31059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31060         fanotify_mark.
31062 2010-08-27  Roland McGrath  <roland@redhat.com>
31064         * sysdeps/i386/i686/multiarch/Makefile
31065         (CFLAGS-varshift.c): New variable.
31067 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
31069         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31070         * sysdeps/i386/i686/multiarch/varshift.c: New file.
31072         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31074         * sysdeps/x86_64/strlen.S: Minimal code improvement.
31076 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31078         * sysdeps/x86_64/strlen.S: Unroll the loop.
31079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31080         strlen-sse2 strlen-sse2-bsf.
31081         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31082         __strlen_no_bsf if bit_Slow_BSF is set.
31083         (__strlen_sse42): Removed.
31084         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31085         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31087 2010-08-25  Roland McGrath  <roland@redhat.com>
31089         * sysdeps/x86_64/multiarch/varshift.S: File removed.
31090         * sysdeps/x86_64/multiarch/varshift.c: New file.
31091         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31092         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31093         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31094         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31096 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31098         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31099         strlen-sse2 strlen-sse2-bsf.
31100         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31101         __strlen_sse2_bsf if bit_Slow_BSF is unset.
31102         (__strlen_sse2): Removed.
31103         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31104         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31105         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31106         bit_Slow_BSF for Atom.
31107         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31108         (index_Slow_BSF): Define.
31109         (HAS_SLOW_BSF): Define.
31111 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
31113         [BZ #10851]
31114         * resolv/res_init.c (__res_vinit): When no server address at all
31115         is given default to loopback.
31117 2010-08-24  Roland McGrath  <roland@redhat.com>
31119         * configure.in: Remove config-name.h generation.
31120         * configure: Regenerated.
31121         * config-name.in: File removed.
31122         * scripts/config-uname.sh: New file.
31123         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31124         ($(objdir)config-name.h): New target.
31126         * sunrpc/rpc_parse.h: Avoid nested comment.
31128 2010-08-24  Richard Henderson  <rth@redhat.com>
31129             Ulrich Drepper  <drepper@redhat.com>
31130             H.J. Lu  <hongjiu.lu@intel.com>
31132         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31134         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31135         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
31136         _mm_alignr_epi8 with _mm_loadu_si128.
31137         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31138         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31139         (__m128i_shift_right): Removed.
31140         * sysdeps/i386/i686/multiarch/varshift.h: New file.
31141         * sysdeps/i386/i686/multiarch/varshift.S: New file.
31142         * sysdeps/x86_64/multiarch/varshift.h: New file.
31143         * sysdeps/x86_64/multiarch/varshift.S: New file.
31145 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
31147         * configure.in: Move assembler checks to before sysdep dir checking.
31149 2010-08-20  Petr Baudis  <pasky@suse.cz>
31151         * LICENSES: Sync the sunrpc license.
31153 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
31155         * sunrpc/auth_des.c: Update copyright notice once again.
31156         * sunrpc/auth_none.c: Likewise.
31157         * sunrpc/auth_unix.c: Likewise.
31158         * sunrpc/authdes_prot.c: Likewise.
31159         * sunrpc/authuxprot.c: Likewise.
31160         * sunrpc/bindrsvprt.c: Likewise.
31161         * sunrpc/clnt_gen.c: Likewise.
31162         * sunrpc/clnt_perr.c: Likewise.
31163         * sunrpc/clnt_raw.c: Likewise.
31164         * sunrpc/clnt_simp.c: Likewise.
31165         * sunrpc/clnt_tcp.c: Likewise.
31166         * sunrpc/clnt_udp.c: Likewise.
31167         * sunrpc/clnt_unix.c: Likewise.
31168         * sunrpc/des_crypt.c: Likewise.
31169         * sunrpc/des_soft.c: Likewise.
31170         * sunrpc/get_myaddr.c: Likewise.
31171         * sunrpc/getrpcport.c: Likewise.
31172         * sunrpc/key_call.c: Likewise.
31173         * sunrpc/key_prot.c: Likewise.
31174         * sunrpc/openchild.c: Likewise.
31175         * sunrpc/pm_getmaps.c: Likewise.
31176         * sunrpc/pm_getport.c: Likewise.
31177         * sunrpc/pmap_clnt.c: Likewise.
31178         * sunrpc/pmap_prot.c: Likewise.
31179         * sunrpc/pmap_prot2.c: Likewise.
31180         * sunrpc/pmap_rmt.c: Likewise.
31181         * sunrpc/rpc/auth.h: Likewise.
31182         * sunrpc/rpc/auth_unix.h: Likewise.
31183         * sunrpc/rpc/clnt.h: Likewise.
31184         * sunrpc/rpc/des_crypt.h: Likewise.
31185         * sunrpc/rpc/key_prot.h: Likewise.
31186         * sunrpc/rpc/netdb.h: Likewise.
31187         * sunrpc/rpc/pmap_clnt.h: Likewise.
31188         * sunrpc/rpc/pmap_prot.h: Likewise.
31189         * sunrpc/rpc/pmap_rmt.h: Likewise.
31190         * sunrpc/rpc/rpc.h: Likewise.
31191         * sunrpc/rpc/rpc_des.h: Likewise.
31192         * sunrpc/rpc/rpc_msg.h: Likewise.
31193         * sunrpc/rpc/svc.h: Likewise.
31194         * sunrpc/rpc/svc_auth.h: Likewise.
31195         * sunrpc/rpc/types.h: Likewise.
31196         * sunrpc/rpc/xdr.h: Likewise.
31197         * sunrpc/rpc_clntout.c: Likewise.
31198         * sunrpc/rpc_cmsg.c: Likewise.
31199         * sunrpc/rpc_common.c: Likewise.
31200         * sunrpc/rpc_cout.c: Likewise.
31201         * sunrpc/rpc_dtable.c: Likewise.
31202         * sunrpc/rpc_hout.c: Likewise.
31203         * sunrpc/rpc_main.c: Likewise.
31204         * sunrpc/rpc_parse.c: Likewise.
31205         * sunrpc/rpc_parse.h: Likewise.
31206         * sunrpc/rpc_prot.c: Likewise.
31207         * sunrpc/rpc_sample.c: Likewise.
31208         * sunrpc/rpc_scan.c: Likewise.
31209         * sunrpc/rpc_scan.h: Likewise.
31210         * sunrpc/rpc_svcout.c: Likewise.
31211         * sunrpc/rpc_tblout.c: Likewise.
31212         * sunrpc/rpc_util.c: Likewise.
31213         * sunrpc/rpc_util.h: Likewise.
31214         * sunrpc/rpcinfo.c: Likewise.
31215         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31216         * sunrpc/rpcsvc/key_prot.x: Likewise.
31217         * sunrpc/rpcsvc/klm_prot.x: Likewise.
31218         * sunrpc/rpcsvc/mount.x: Likewise.
31219         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31220         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31221         * sunrpc/rpcsvc/rex.x: Likewise.
31222         * sunrpc/rpcsvc/rstat.x: Likewise.
31223         * sunrpc/rpcsvc/rusers.x: Likewise.
31224         * sunrpc/rpcsvc/sm_inter.x: Likewise.
31225         * sunrpc/rpcsvc/spray.x: Likewise.
31226         * sunrpc/rpcsvc/yppasswd.x: Likewise.
31227         * sunrpc/rtime.c: Likewise.
31228         * sunrpc/svc.c: Likewise.
31229         * sunrpc/svc_auth.c: Likewise.
31230         * sunrpc/svc_authux.c: Likewise.
31231         * sunrpc/svc_raw.c: Likewise.
31232         * sunrpc/svc_run.c: Likewise.
31233         * sunrpc/svc_simple.c: Likewise.
31234         * sunrpc/svc_tcp.c: Likewise.
31235         * sunrpc/svc_udp.c: Likewise.
31236         * sunrpc/svc_unix.c: Likewise.
31237         * sunrpc/svcauth_des.c: Likewise.
31238         * sunrpc/xcrypt.c: Likewise.
31239         * sunrpc/xdr.c: Likewise.
31240         * sunrpc/xdr_array.c: Likewise.
31241         * sunrpc/xdr_float.c: Likewise.
31242         * sunrpc/xdr_mem.c: Likewise.
31243         * sunrpc/xdr_rec.c: Likewise.
31244         * sunrpc/xdr_ref.c: Likewise.
31245         * sunrpc/xdr_sizeof.c: Likewise.
31246         * sunrpc/xdr_stdio.c: Likewise.
31248         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31249         handling.
31251 2010-08-19  Andreas Schwab  <schwab@redhat.com>
31253         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31255 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
31257         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31258         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31259         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31260         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31261         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31262         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31263         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31264         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31265         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31266         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31267         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31268         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31269         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31270         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31272 2010-07-26  Anton Blanchard  <anton@samba.org>
31274         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31275         * malloc/arena.c (heap_trim): Likewise.
31277 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
31279         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31280         here.  Not...
31281         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31282         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31284 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31286         * sysdeps/i386/elf/Makefile: New file.
31288 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31290         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31291         from fanotify_init.
31292         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31293         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31295 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
31297         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31298         of strncasecmp_l.
31299         * sysdeps/multiarch/strcmp.S: Likewise.
31301 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
31303         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31304         strncase_l-nonascii.
31305         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31306         Add strncase_l-ssse3.
31307         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31308         * sysdeps/x86_64/strcmp.S: Likewise.
31309         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31310         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31311         * sysdeps/x86_64/strncase.S: New file.
31312         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31313         * sysdeps/x86_64/strncase_l.S: New file.
31314         * string/Makefile (strop-tests): Add strncasecmp.
31315         * string/test-strncasecmp.c: New file.
31317         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31318         warning.
31320         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31321         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31323 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31325         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31327 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
31329         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31330         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31331         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31333 2010-05-01  Alan Modra  <amodra@gmail.com>
31335         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31336         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31337         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31338         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31339         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31340         tidying.  Don't tail-call __sigjmp_save for static lib.
31341         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31342         save location.
31343         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31344         (CALL_MCOUNT): Add eh info, and nop after bl.
31345         (TAIL_CALL_SYSCALL_ERROR): New macro.
31346         (PSEUDO_RET): Use it.
31347         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31348         Correct save location of integer regs and cr.
31349         (_dl_profile_resolve): Correct cr save location.  Delete nops
31350         after bl when SHARED.  Reduce cfi size a little by better
31351         placement of cfi directives.
31352         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31353         make a stack frame.  Instead use parm save area as a temp.
31354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31355         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
31356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31357         Don't make a stack frame for parent, use parm save area.
31358         Increase child stack frame to 112 bytes.  Don't save unused reg,
31359         and adjust reg usage.  Set up cfi on error recovery and
31360         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31362         (__makecontext): Add dummy nop after jump to exit.
31363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31364         Use correct parm save area and cr save, reduce stack frame.
31365         Correct cfi for possible PSEUDO_RET frame setup.
31366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31367         Branch to local label emitted by PSEUDO_RET rather than
31368         __syscall_error.
31370 2010-08-12  Andreas Schwab  <schwab@redhat.com>
31372         [BZ #11904]
31373         * locale/programs/locale.c (print_assignment): New function.
31374         (show_locale_vars): Use it.
31376 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
31378         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31379         field.
31380         (struct statfs64): Likewise.
31381         (_STATFS_F_FLAGS): Define.
31382         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31383         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31384         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31385         (ST_VALID): Define locally.
31386         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31387         __statvfs_getflags, use the provided value.
31388         * sysdeps/unix/sysv/linux/kernel-features.h: Define
31389         __ASSUME_STATFS_F_FLAGS.
31391         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31393         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31394         Add sys/fanotify.h.
31395         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31396         fanotify_mask for GLIBC_2.13.
31397         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31398         fanotify_init and fanotify_mark.
31399         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31400         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31402         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31403         Add prlimit.
31404         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31405         prlimit64 for GLIBC_2.13.
31406         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31407         prlimit64.
31408         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31409         syscall.
31410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31411         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31412         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31413         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31414         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
31415         add prlimit alias.
31416         * sysdeps/unix/sysv/linux/prlimit.c: New file.
31418         [BZ #11903]
31419         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31420         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31422         * nss/Makefile: Add rules to build and run tst-nss-test1.
31423         * shlib-versions: Add entry for libnss_test1.
31424         * nss/nss_test1.c: New file.
31425         * nss/tst-nss-test1.c: New file.
31427         * nss/nsswitch.c (__nss_database_custom): Define new variable.
31428         (__nss_configure_lookup): Set appropriate entry in
31429         __nss_configure_lookup to true.
31430         * nss/nsswitch.h: Define enum with indeces of databases in
31431         databases and __nss_database_custom arrays.  Declare
31432         __nss_database_custom.
31433         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31434         to avoid using nscd when custom rules are installed.
31435         * nss/getXXbyYY_r.c: Likewise.
31436         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31438         * nss/nss_files/files-parse.c: Whitespace fixes.
31440 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
31442         [BZ #11883]
31443         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31444         * posix/fnmatch_loop.c: Likewise.
31446 2010-07-17  Andi Kleen  <ak@linux.intel.com>
31448         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31449         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31450         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31451         * Versions.def [GLIBC_2.13]: Add.
31453 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
31455         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31456         Also fail if tpwd after pwuid call is NULL.
31458 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31460         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31461         when converting to ms.
31463 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31465         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31466         EOPNOTSUPP errors with ENOTTY.
31467         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31468         EOPNOTSUPP errors with ENOTTY.
31470 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
31472         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31473         Add strcasecmp_l-ssse3.
31474         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31475         strcasecmp.
31476         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31477         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31478         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31480 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
31482         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31484         * string/Makefile (strop-tests): Add strcasecmp.
31485         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31486         strcasecmp_l-nonascii.
31487         (gen-as-const-headers): Add locale-defines.sym.
31488         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31489         * sysdeps/x86_64/strcasecmp.S: New file.
31490         * sysdeps/x86_64/strcasecmp_l.S: New file.
31491         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31492         * sysdeps/x86_64/locale-defines.sym: New file.
31493         * string/test-strcasecmp.c: New file.
31495         * string/test-strcasestr.c: Test both ends of the range of characters.
31496         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31498 2010-07-29  Roland McGrath  <roland@redhat.com>
31500         [BZ #11856]
31501         * manual/locale.texi (Yes-or-No Questions): Fix example code.
31503 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
31505         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31506         for ld.so.
31508 2010-07-27  Andreas Schwab  <schwab@redhat.com>
31510         * manual/memory.texi (Malloc Tunable Parameters): Document
31511         M_PERTURB.
31513 2010-07-26  Roland McGrath  <roland@redhat.com>
31515         [BZ #11840]
31516         * configure.in (-fgnu89-inline check): Set and substitute
31517         gnu89_inline, not libc_cv_gnu89_inline.
31518         * configure: Regenerated.
31519         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31521 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
31523         * string/test-strnlen.c: New file.
31524         * string/Makefile (strop-tests): Add strnlen.
31525         * string/tester.c (test_strnlen): Add a few more test cases.
31526         * string/tst-strlen.c: Better error reporting.
31528         * sysdeps/x86_64/strnlen.S: New file.
31530 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
31532         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31533         lower-latency instructions.
31535 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
31537         * string/test-strcasestr.c: New file.
31538         * string/test-strstr.c: New file.
31539         * string/Makefile (strop-tests): Add strstr and strcasestr.
31540         * string/str-two-way.h: Don't undefine MAX.
31541         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31543 2010-07-21  Andreas Schwab  <schwab@redhat.com>
31545         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31546         strcasestr-nonascii.
31547         (CFLAGS-strcasestr-nonascii.c): Define.
31548         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31549         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31550         Remove unused attribute.
31552 2010-07-20  Roland McGrath  <roland@redhat.com>
31554         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31555         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
31556         ld.so.cache was broken.  With it, there is no way to disable dsocaps
31557         like LD_HWCAP_MASK can disable hwcaps.
31559 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31561         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31563 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
31565         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31566         call in strcasestr.
31567         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31568         __strcasestr_sse42_nonascii.
31569         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31570         strcasestr-nonascii.c.
31571         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31573 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
31575         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31576         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31577         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31578         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31580 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
31582         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31583         fcntl.
31585 2010-07-06  Andreas Schwab  <schwab@redhat.com>
31587         [BZ #11577]
31588         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31589         dl_signal_cerror.
31591 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
31593         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31594         _PC_PIPE_BUF using F_GETPIPE_SZ.
31596 2010-07-05  Roland McGrath  <roland@redhat.com>
31598         * manual/arith.texi (Rounding Functions): Fix rint description
31599         implicit in round description.
31601 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
31603         * elf/Makefile: Fix linking for a few tests to make recent linker
31604         happy.
31606 2010-06-30  Andreas Schwab  <schwab@redhat.com>
31608         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31609         $(common-objpfx)libc_nonshared.a.
31611 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
31613         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31614         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31615         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31616         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31617         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31618         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31619         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31620         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31635         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31636         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31637         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31638         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31639         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31640         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31641         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31642         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31643         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31644         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31645         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31646         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31662 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31664         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31665         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31666         * string/memmove.c (memmove): Renamed to ...
31667         (MEMMOVE): ...this.  Default to memmove.
31668         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31669         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31670         (END_CHK): Define.
31671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31672         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31673         mempcpy-ssse3-back memmove-ssse3-back.
31674         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31675         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31676         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31677         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31678         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31679         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31680         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31681         * sysdeps/x86_64/multiarch/memmove.c: New file.
31682         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31683         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31684         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31685         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31686         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31687         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31688         Define.
31689         (index_Fast_Copy_Backward): Define.
31690         (HAS_ARCH_FEATURE): Define.
31691         (HAS_FAST_REP_STRING): Define.
31692         (HAS_FAST_COPY_BACKWARD): Define.
31694 2010-06-21  Andreas Schwab  <schwab@redhat.com>
31696         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31697         Restore proper fallback handling.
31699 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
31701         [BZ #11701]
31702         * posix/group_member.c (__group_member): Correct checking loop.
31704         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31705         OOM in getpwuid_r correctly.  Return error number when the caller
31706         should return, otherwise -1.
31707         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31708         call returning > 0 value.
31709         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31711 2010-06-07  Andreas Schwab  <schwab@redhat.com>
31713         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31714         libc_nonshared.a from targets in modules-names.
31716 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
31718         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31719         requires it.
31721 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
31723         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31724         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31725         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31726         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31728 2010-06-02  Andreas Schwab  <schwab@redhat.com>
31730         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31732 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
31734         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31735         and F_GETPIPE_SZ.
31736         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31737         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31738         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31739         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31740         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31741         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31743 2010-06-14  Roland McGrath  <roland@redhat.com>
31745         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31747 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
31749         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31750         __REDIRECT followed by __THROW.
31751         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31752         * posix/getopt.h (getopt): Likewise.
31754 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31756         * hurd/lookup-at.c (__file_name_lookup_at): Accept
31757         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
31758         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31759         in AT_FLAGS.
31760         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31761         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31763 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
31765         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31767 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
31769         [BZ #11640]
31770         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31771         Properly check family and model.
31773 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
31775         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31777 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
31779         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31781 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
31783         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31784         symbol reference.
31786 2010-05-19  Andreas Schwab  <schwab@redhat.com>
31788         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31789         symbol reference.
31791 2010-05-21  Andreas Schwab  <schwab@redhat.com>
31793         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31794         and internal_recvmmsg.
31795         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31796         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31797         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31798         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31800         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31801         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31802         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31804 2010-05-20  Andreas Schwab  <schwab@redhat.com>
31806         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31808 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
31810         POWER7 optimizations.
31811         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31812         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31814 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
31816         * version.h: Update for 2.13 development version.
31818 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
31820         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31821         exceptions.  Return 0.
31823 2010-05-07  Roland McGrath  <roland@redhat.com>
31825         * elf/ldconfig.c (main): Add a const.
31827 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
31829         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31830         (args_options): Add no-idn option.
31831         (ahosts_keys_int): Add idn_flags to ai_flags.
31832         (parse_option): Handle 'i' option to clear idn_flags.
31834         * malloc/malloc.c (_int_free): Possible race in the most recently
31835         added check.  Only act on the data if no current modification
31836         happened.
31838 See ChangeLog.17 for earlier changes.