Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.
[glibc.git] / ChangeLog
blob1ee4457f2b18df819c36a44138af75987361f15a
1 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4         hardware capabilities in support of AT_HWCAP2.
5         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
6         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
7         GLRO(dl_hwcap2).
8         (_dl_show_auxv): Add support for calling _dl_procinfo to display
9         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
10         explicitly the unknown a_type display mechanism is used.
11         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13         struct member.
14         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
15         to macro prototype for AT_HWCAP2 support.
16         * sysdeps/i386/dl-procinfo.h: Likewise.
17         * sysdeps/s390/dl-procinfo.h: Likewise.
18         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
19         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
20         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
21         return -1 for unknown a_type display fallback.
22         * sysdeps/sparc/dl-procinfo.h: Likewise.
23         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
28         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
31 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
33         [BZ #12492]
34         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
35         mprotect making __stack_prot writable.
37 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
38             Joseph Myers  <joseph@codesourcery.com>
40         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41         as being properly aligned.
43 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
45         * dlfcn/modstatic5.c: New file.
46         * dlfcn/tststatic5.c: New file.
47         * dlfcn/Makefile (tests): Add tststatic5.
48         (tests-static): Likewise.
49         (modules-names): Add modstatic5.
50         (tststatic5-ENV): New variable.
51         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53         [BZ #15022]
54         * elf/dl-support.c (_dl_main_map): New variable.
55         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
56         (_dl_nns, _dl_load_adds): Set to 1.
57         (_dl_initial_searchlist): Refer to _dl_main_map.
58         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
59         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
60         call to _dl_get_origin.
61         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
62         around call_map.
63         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64         * dlfcn/modstatic3.c: New file.
65         * dlfcn/tststatic3.c: New file.
66         * dlfcn/tststatic4.c: New file.
67         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
68         (tests-static): Likewise.
69         (modules-names): Add modstatic3.
70         (tststatic3-ENV, tststatic4-ENV): New variables.
71         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
72         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
74 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
76         * configure.in (CC): Require GCC version 4.4 or later.
77         * configure: Regenerated.
78         * manual/install.texi (Tools for Compilation): Update GCC version
79         requirement.
80         * INSTALL: Regenerated.
82 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84         [BZ #15674]
85         * string/test-memcmp.c (check2): New.
86         (main): Call check2.
88         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
90 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
92         [BZ #15022]
93         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
94         over to...
95         (dl_open_worker) [!SHARED]: ... here.
97 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
99         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
101 2013-06-25  Richard Henderson  <rth@redhat.com>
103         * locale/programs/locarchive.c: Include <libc-internal.h>
105 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
107         * manual/texinfo.tex: Update to version 2013-06-21.17, with
108         trailing whitespace removed.
110 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
112         [BZ #10283]
113         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
114         * locale/programs/locarchive.c: Include libc-mmap.h.
115         (prepare_address_space): Take two new outputs (the mmap base and len).
116         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
117         values.
118         (create_archive): Declare new mmap base and len values for
119         prepare_address_space, and store the result in ah.
120         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
121         (enlarge_archive): If ah->mmap_base is not NULL, use that and
122         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
123         Declare new mmap base and len values for
124         prepare_address_space, and store the result in new_ah.
125         (open_archive): Declare new mmap base and len values for
126         prepare_address_space, and store the result in ah.
127         (close_archive): If ah->mmap_base is not NULL, use that and
128         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
129         * sysdeps/generic/libc-mmap.h: New file.
131 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
133         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
134         (ALIGN_UP): Likewise.
135         (PTR_ALIGN_DOWN): Likewise.
136         (PTR_ALIGN_UP): Likewise.
138 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
140         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
141         entry mapped to PPC_PLATFORM_POWER8.
142         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
143         POWER8.
144         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
145         (_dl_string_platform): Add case for exporting platform position for
146         POWER8.
147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
148         search path to sysdeps/powerpc/powerpc32/power8 directory.
149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
150         search path to sysdeps/powerpc/powerpc64/power8 directory.
151         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
152         power7 directories.
153         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
154         power7 directories.
156 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
158         * INSTALL: Regenerate.
160         * nscd/connections.c (nscd_init): Fix comment.
162 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
164         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
166         [BZ #15667]
167         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
168         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
170 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
172         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
173         DL_DST_REQ_STATIC.
174         (DL_DST_REQ_STATIC): Remove macro.
176 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
178         [BZ #7006]
179         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
180         with a shift of 0 bits.
182 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
184         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
185         $(tststatic-ENV).
187 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
189         [BZ #15655]
190         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
192 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
194         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
195         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
196         accepts -fno-tree-loop-distribute-patterns.
197         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
198         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
199         recursive call.
200         * string/memset.c (memset): Likewise.
201         * string/test-memmove.c (simple_memmove): Disable loop transformation
202         to library calls.
203         * string/test-memset.c (simple_memset): Likewise.
204         * benchtests/bench-memmove.c (simple_memmove): Likewise.
205         * benchtests/bench-memset.c (simple_memset): Likewise.
206         * configure: Regenerated.
208 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
210         * math/test-misc.c (main): Ignore fesetround failure when failures
211         of subsequent rounding tests would be ignored.
213         [BZ #15654]
214         * math/fedisblxcpt.c (fedisableexcept): Return 0.
215         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
216         * math/fegetenv.c (__fegetenv): Return 0.
217         * math/fegetexcept.c (fegetexcept): Return 0.
218         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
219         FE_TONEAREST.
220         * math/feholdexcpt.c (feholdexcept): Return 0.
221         * math/fesetenv.c (__fesetenv): Return 0.
222         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
223         argument FE_TONEAREST.
224         * math/feupdateenv.c (__feupdateenv): Return 0.
225         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
227 2013-06-18  Roland McGrath  <roland@hack.frob.com>
229         * elf/rtld-Rules (rtld-compile-command.S): New variable.
230         (rtld-compile-command.s, rtld-compile-command.c): New variables.
231         ($(objpfx)rtld-%.os rules): Use them.
233 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
235         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
236         fields.
238 2013-06-17  Roland McGrath  <roland@hack.frob.com>
240         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
241         length of target pattern, then descending length of dependency pattern.
242         * configure.in (AWK): Require gawk 3.1.2 or newer.
243         * manual/install.texi (Tools for Compilation): Say that we do.
244         * configure: Regenerated.
246         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
247         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
248         * scripts/sysd-rules.awk: ... this new script.
249         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
250         than a glob-style pattern.
252 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
254         * math/test-misc.c (main): Do not treat incorrectly rounded
255         conversions as failure unless ROUNDING_TESTS passes.
257 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
259         [BZ #15631]
260         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
261         restore exception state around main square root computation, then
262         check for inexactness explicitly.
264         * math/libm-test.inc (fma_test_data): Add another test.
266 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
268         * manual/threads.texi (Non-POSIX Extensions): New document
269         node.  Document pthread_getattr_default_np and
270         pthread_setattr_default_np.
272         * Versions.def (libpthread): Add GLIBC_2.18.
273         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
275         Likewise.
276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
277         Likewise.
278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
279         Likewise.
280         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
281         Likewise.
282         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
283         Likewise.
284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
285         Likewise.
286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
287         Likewise.
288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
289         Likewise.
290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
291         Likewise.
293 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
296         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
298 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
299             H.J. Lu  <hjl.tools@gmail.com>
301         [BZ #15627]
302         * sysdeps/x86_64/rtld-memset.c: Remove file.
303         * sysdeps/x86_64/rtld-memset.S: New file.
305 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
307         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
308         (test_in_one_mode): Take arguments for whether the rounding mode
309         is supported for each floating-point type.
310         (do_test): Pass new arguments to test_in_one_mode using
311         ROUNDING_TESTS.
313 2013-06-13  Roland McGrath  <roland@hack.frob.com>
315         * posix/tst-waitid.c (do_test): Distinguish different instances of
316         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
317         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
318         before entering the kernel for waitpid.
320 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
322         * NEWS: Fix note on clock function precision.  Text by Roland
323         McGrath.
325 2013-06-13  Roland McGrath  <roland@hack.frob.com>
327         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
328         it into place only when and if the sanity check passes.
330 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
332         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
333         output for whether conversion result is exact.  Take argument
334         indicating whether type is IBM long double.
335         (round_for_all): Change need_exact field to ibm_ld.
336         * stdlib/tst-strtod-round.c (struct exactness): New type.
337         (struct test): Change bool ld_ok field to struct exactness exact.
338         (TEST): Update all definitions for change to field.
339         (tests): Regenerate array contents.
340         (test_in_one_mode): Take pointer to new field instead of old ld_ok
341         field value.  Check for IBM long double here.
342         (do_test): Update calls to test_in_one_mode.
344 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
346         [BZ #12515]
347         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
348         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
350 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
352         [BZ #15605]
353         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
354         generated by the compiler on loop optimizations.
355         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
356         general definitions.
358 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
360         * math/bug-nextafter.c: Include <math-tests.h>.
361         (main): Only test for exceptions if EXCEPTION_TESTS is true for
362         the relevant type.
363         * math/bug-nexttoward.c: Include <math-tests.h>.
364         (main): Only test for exceptions if EXCEPTION_TESTS is true for
365         the relevant type.
366         * math/test-misc.c: Include <math-tests.h>.
367         (main): Only test for exceptions if EXCEPTION_TESTS is true for
368         the relevant type.
370 2013-06-12  Andreas Jaeger  <aj@suse.de>
372         * po/ia.po: Update Interlingua translation from translation
373         project.
375 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
377         * include/fenv.h: Include stdbool.h.
378         (struct rm_ctx): New structure.
379         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
380         Define macro.
381         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
382         (SET_RESTORE_ROUNDF): Likewise.
383         (SET_RESTORE_ROUNDL): Likewise.
384         (SET_RESTORE_ROUND_NOEX): Likewise.
385         (SET_RESTORE_ROUND_NOEXF): Likewise.
386         (SET_RESTORE_ROUND_NOEXL): Likewise.
387         (SET_RESTORE_ROUND_53BIT): Likewise.
388         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
389         (libc_feresetround_noexf_ctx): Likewise.
390         (libc_feresetround_noexl_ctx): Likewise.
391         (libc_feholdsetround_53bit_ctx): Likewise.
392         (libc_feresetround_53bit_ctx): Likewise.
393         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
394         (libc_feholdexcept_setround_sse_ctx): New function.
395         (libc_fesetenv_sse_ctx): Likewise.
396         (libc_feupdateenv_sse_ctx): Likewise.
397         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
398         (libc_feholdexcept_setround_387_ctx): Likewise.
399         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
400         (libc_feholdsetround_387_prec_ctx): Likewise.
401         (libc_feholdsetround_387_ctx): Likewise.
402         (libc_feholdsetround_387_53bit_ctx): Likewise.
403         (libc_feholdsetround_sse_ctx): Likewise.
404         (libc_feresetround_sse_ctx): Likewise.
405         (libc_feresetround_387_ctx): Likewise.
406         (libc_feupdateenv_387_ctx): Likewise.
407         (libc_feholdexcept_setroundf_ctx): Define macro.
408         (libc_fesetenvf_ctx): Likewise.
409         (libc_feupdateenvf_ctx): Likewise.
410         (libc_feholdsetroundf_ctx): Likewise.
411         (libc_feresetroundf_ctx): Likewise.
412         (libc_feholdexcept_setround_ctx): Likewise.
413         (libc_fesetenv_ctx): Likewise.
414         (libc_feupdateenv_ctx): Likewise.
415         (libc_feholdsetround_ctx): Likewise.
416         (libc_feresetround_ctx): Likewise.
417         (libc_feholdexcept_setroundl_ctx): Likewise.
418         (libc_feupdateenvl_ctx): Likewise.
419         (libc_feholdsetroundl_ctx): Likewise.
420         (libc_feresetroundl_ctx): Likewise.
421         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
422         (libc_feresetround_53bit_ctx): Likewise.
424 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
426         * locale/iso-639.def: Convert to UTF-8.
428 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
430         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
431         (EXCEPTION_TESTS_double): Likewise.
432         (EXCEPTION_TESTS_long_double): Likewise.
433         (EXCEPTION_TESTS): Likewise.
434         * math/libm-test.inc (test_exceptions): Only test exceptions if
435         EXCEPTION_TESTS (FLOAT).
437 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
439         * benchtests/Makefile (string-bench): Add strcpy_chk and
440         stpcpy_chk.
441         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
442         * benchtests/bench-stpcpy_chk.c: New file.
443         * benchtests/bench-strcpy_chk-ifunc.c: New file.
444         * benchtests/bench-strcpy_chk.c: New file.
445         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
446         code.
447         (do_test): Likewise.
449 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
451         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
452         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
453         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
454         with tabs where appropriate.
455         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
456         dl-procinfo.h.
457         [PPC_PLATFORM_PPC440]: Likewise.
458         [PPC_PLATFORM_PPC464]: Likewise.
459         [PPC_PLATFORM_PPC476]: Likewise.
460         (_dl_string_platform): Add support for detecting ppc405, ppc440,
461         ppc464, and ppc476 platform strings merging from ports/
462         dl-procinfo.h.
464 2013-06-11  Andreas Schwab  <schwab@suse.de>
466         [BZ #14991]
467         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
468         (from_ucs4_idx): Regenerate.
469         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
470         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
471         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
472         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
473         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
474         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
475         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
476         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
477         from FROM_LOOP and TO_LOOP specific macros.
478         (BODY): Handle combining characters.
479         * iconvdata/BIG5HKSCS.irreversible: Update.
480         * iconvdata/BIG5HKSCS.precomposed: New file.
481         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
482         characters.
483         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
485 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
487         * include/sys/time.h: Fix indentation and add copyright header.
489         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
490         (do_test): Likewise.
491         * string/test-memchr.c (do_one_test): Likewise.
492         (do_test): Likewise.
493         * string/test-memcmp.c (do_one_test): Likewise.
494         (do_test): Likewise.
495         * string/test-memcpy.c (do_one_test): Likewise.
496         (do_test): Likewise.
497         * string/test-memmem.c (do_one_test): Likewise.
498         (do_test): Likewise.
499         (do_random_tests): Likewise.
500         * string/test-memmove.c (do_one_test): Likewise.
501         (do_test): Likewise.
502         * string/test-memset.c (do_one_test): Likewise.
503         (do_test): Likewise.
504         * string/test-rawmemchr.c (do_one_test): Likewise.
505         (do_test): Likewise.
506         * string/test-strcasecmp.c (do_one_test): Likewise.
507         (do_test): Likewise.
508         * string/test-strcasestr.c (do_one_test): Likewise.
509         (do_test): Likewise.
510         * string/test-strcat.c (do_one_test): Likewise.
511         (do_test): Likewise.
512         * string/test-strchr.c (do_one_test): Likewise.
513         (do_test): Likewise.
514         * string/test-strcmp.c (do_one_test): Likewise.
515         (do_test): Likewise.
516         * string/test-strcpy.c (do_one_test): Likewise.
517         (do_test): Likewise.
518         * string/test-string.h: Likewise.
519         (test_init): Likewise.
520         * string/test-strlen.c (do_one_test): Likewise.
521         (do_test): Likewise.
522         * string/test-strncasecmp.c (do_one_test): Likewise.
523         (do_test): Likewise.
524         * string/test-strncat.c (do_one_test): Likewise.
525         (do_test): Likewise.
526         * string/test-strncmp.c (do_one_test): Likewise.
527         (do_test_limit): Likewise.
528         (do_test): Likewise.
529         * string/test-strncpy.c (do_one_test): Likewise.
530         (do_test): Likewise.
531         * string/test-strnlen.c (do_one_test): Likewise.
532         (do_test): Likewise.
533         * string/test-strpbrk.c (do_one_test): Likewise.
534         (do_test): Likewise.
535         * string/test-strrchr.c (do_one_test): Likewise.
536         (do_test): Likewise.
537         * string/test-strspn.c (do_one_test): Likewise.
538         (do_test): Likewise.
539         * string/test-strstr.c (do_one_test): Likewise.
540         (do_test): Likewise.
542         * benchtests/Makefile (string-bench): Add string benchmarks.
543         * benchtests/bench-bcopy-ifunc.c: New file.
544         * benchtests/bench-bcopy.c: New file.
545         * benchtests/bench-bzero-ifunc.c: New file.
546         * benchtests/bench-bzero.c: New file.
547         * benchtests/bench-memccpy-ifunc.c: New file.
548         * benchtests/bench-memccpy.c: New file.
549         * benchtests/bench-memchr-ifunc.c: New file.
550         * benchtests/bench-memchr.c: New file.
551         * benchtests/bench-memcmp-ifunc.c: New file.
552         * benchtests/bench-memcmp.c: New file.
553         * benchtests/bench-memmem-ifunc.c: New file.
554         * benchtests/bench-memmem.c: New file.
555         * benchtests/bench-memmove-ifunc.c: New file.
556         * benchtests/bench-memmove.c: New file.
557         * benchtests/bench-mempcpy-ifunc.c: New file.
558         * benchtests/bench-mempcpy.c: New file.
559         * benchtests/bench-memset-ifunc.c: New file.
560         * benchtests/bench-memset.c: New file.
561         * benchtests/bench-rawmemchr-ifunc.c: New file.
562         * benchtests/bench-rawmemchr.c: New file.
563         * benchtests/bench-stpcpy-ifunc.c: New file.
564         * benchtests/bench-stpcpy.c: New file.
565         * benchtests/bench-stpncpy-ifunc.c: New file.
566         * benchtests/bench-stpncpy.c: New file.
567         * benchtests/bench-strcasecmp-ifunc.c: New file.
568         * benchtests/bench-strcasecmp.c: New file.
569         * benchtests/bench-strcasestr-ifunc.c: New file.
570         * benchtests/bench-strcasestr.c: New file.
571         * benchtests/bench-strcat-ifunc.c: New file.
572         * benchtests/bench-strcat.c: New file.
573         * benchtests/bench-strchr-ifunc.c: New file.
574         * benchtests/bench-strchr.c: New file.
575         * benchtests/bench-strchrnul-ifunc.c: New file.
576         * benchtests/bench-strchrnul.c: New file.
577         * benchtests/bench-strcmp-ifunc.c: New file.
578         * benchtests/bench-strcmp.c: New file.
579         * benchtests/bench-strcpy-ifunc.c: New file.
580         * benchtests/bench-strcpy.c: New file.
581         * benchtests/bench-strcspn-ifunc.c: New file.
582         * benchtests/bench-strcspn.c: New file.
583         * benchtests/bench-strlen-ifunc.c: New file.
584         * benchtests/bench-strlen.c: New file.
585         * benchtests/bench-strncasecmp-ifunc.c: New file.
586         * benchtests/bench-strncasecmp.c: New file.
587         * benchtests/bench-strncat-ifunc.c: New file.
588         * benchtests/bench-strncat.c: New file.
589         * benchtests/bench-strncmp-ifunc.c: New file.
590         * benchtests/bench-strncmp.c: New file.
591         * benchtests/bench-strncpy-ifunc.c: New file.
592         * benchtests/bench-strncpy.c: New file.
593         * benchtests/bench-strnlen-ifunc.c: New file.
594         * benchtests/bench-strnlen.c: New file.
595         * benchtests/bench-strpbrk-ifunc.c: New file.
596         * benchtests/bench-strpbrk.c: New file.
597         * benchtests/bench-strrchr-ifunc.c: New file.
598         * benchtests/bench-strrchr.c: New file.
599         * benchtests/bench-strspn-ifunc.c: New file.
600         * benchtests/bench-strspn.c: New file.
601         * benchtests/bench-strstr-ifunc.c: New file.
602         * benchtests/bench-strstr.c: New file.
604         * benchtests/Makefile: Disable parallel execution of targets.
605         (string-bench): Add memcpy.
606         (benchset): New variable to store a list of benchmark sets.
607         (bench-func): Renamed from bench.
608         (bench-set): New target.
609         (bench): Depend on bench-func and bench-set.
610         * benchtests/README: Add section on benchmark sets.
611         * benchtests/bench-memcpy-ifunc.c: New file.
612         * benchtests/bench-memcpy.c: New file.
613         * benchtests/bench-string.h: New file.
615 2013-06-11  Andreas Schwab  <schwab@suse.de>
617         [BZ #15577]
618         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
619         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
620         values in the triple.
621         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
622         terminator in the group key.
624 2013-06-11  Andreas Jaeger  <aj@suse.de>
626         * po/zh_TW.po: Update Chinese (traditional) translation from
627         translation project.
629 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
631         * include/time.h (__clock_gettime): Add libc_hidden_proto.
632         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
633         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
634         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
635         (clock_getcpuclockid): Likewise.
636         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
637         Add weak_alias and libc_hidden_def.
638         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
639         * rt/clock_gettime.c (clock_gettime): Rename to
640         __clock_gettime.  Add weak_alias and libc_hidden_def.
641         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
642         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
643         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
644         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
645         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
646         Likewise.
647         * rt/clock_settime.c (clock_settime): Rename to
648         __clock_settime.  Add weak_alias and libc_hidden_def.
649         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
651 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
653         * mach/err_boot.sub: Remove trailing whitespace.
654         * mach/err_ipc.sub: Likewise.
655         * mach/err_mach.sub: Likewise.
657         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
658         (ROUNDING_TESTS_double): Likewise.
659         (ROUNDING_TESTS_long_double): Likewise.
660         (ROUNDING_TESTS): Likewise.
661         * math/libm-test.inc: Include <math-tests.h>.
662         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
663         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
664         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
665         (IF_ROUND_INIT_FE_UPWARD): Likewise.
667 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
669         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
670         of assigning.
672 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
674         * sysdeps/gnu/errlist.awk: Do not generate space at end of
675         otherwise empty TRANS lines.
676         * sysdeps/gnu/errlist.c: Regenerated.
678         * catgets/gencat.c (error_print): Use (void) in function
679         definition.
680         * crypt/crypt_util.c (__init_des): Likewise.
681         * crypt/speeds.c (Stop): Likewise.
682         (main): Likewise.
683         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
684         * inet/ruserpass.c (token): Likewise.
685         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
686         * intl/localealias.c (extend_alias_table): Likewise.
687         * intl/plural-exp.c (init_germanic_plural): Likewise.
688         * libio/fcloseall.c (__fcloseall): Likewise.
689         * libio/genops.c (_IO_flush_all): Likewise.
690         (_IO_flush_all_linebuffered): Likewise.
691         (_IO_cleanup): Likewise.
692         (_IO_iter_begin): Likewise.
693         (_IO_iter_end): Likewise.
694         (_IO_list_lock): Likewise.
695         (_IO_list_unlock): Likewise.
696         (_IO_list_resetlock): Likewise.
697         * libio/getchar.c (getchar): Likewise.
698         * libio/getchar_u.c (getchar_unlocked): Likewise.
699         * libio/getwchar.c (getwchar): Likewise.
700         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
701         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
702         * login/getpt.c (__getpt): Likewise.
703         * login/tst-utmp.c (main): Likewise.
704         * malloc/hooks.c (__malloc_check_init): Likewise.
705         * malloc/malloc.c (__malloc_stats): Likewise.
706         * malloc/mtrace.c (tr_break): Likewise.
707         (mtrace): Likewise.
708         (muntrace): Likewise.
709         * misc/fstab.c (endfsent): Likewise.
710         * misc/getclktck.c (__getclktck): Likewise.
711         * misc/getdtsz.c (__getdtablesize): Likewise.
712         * misc/gethostid.c (gethostid): Likewise.
713         * misc/getpagesize.c (__getpagesize): Likewise.
714         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
715         (__get_nprocs): Likewise.
716         (__get_phys_pages): Likewise.
717         (__get_avphys_pages): Likewise.
718         * misc/getttyent.c (getttyent): Likewise.
719         (setttyent): Likewise.
720         (endttyent): Likewise.
721         * misc/getusershell.c (getusershell): Likewise.
722         (endusershell): Likewise.
723         (setusershell): Likewise.
724         (initshells): Likewise.
725         * misc/hsearch.c (__hdestroy): Likewise.
726         * misc/sync.c (sync): Likewise.
727         * misc/syslog.c (closelog_internal): Likewise.
728         (closelog): Likewise.
729         * misc/ttyslot.c (ttyslot): Likewise.
730         * misc/vhangup.c (vhangup): Likewise.
731         * posix/fork.c (__fork): Likewise.
732         * posix/getegid.c (__getegid): Likewise.
733         * posix/geteuid.c (__geteuid): Likewise.
734         * posix/getgid.c (__getgid): Likewise.
735         * posix/getpid.c (__getpid): Likewise.
736         * posix/getppid.c (__getppid): Likewise.
737         * posix/getuid.c (__getuid): Likewise.
738         * posix/pause.c (pause): Likewise.
739         * posix/setpgrp.c (setpgrp): Likewise.
740         * posix/setsid.c (__setsid): Likewise.
741         * posix/test-vfork.c (noop): Likewise.
742         * resolv/gethnamaddr.c (_endhtent): Likewise.
743         (_gethtent): Likewise.
744         (ht_endhostent): Likewise.
745         (gethostent): Likewise.
746         (dns_service): Likewise.
747         * stdlib/drand48.c (drand48): Likewise.
748         * stdlib/lrand48.c (lrand48): Likewise.
749         * stdlib/mrand48.c (mrand48): Likewise.
750         * stdlib/rand.c (rand): Likewise.
751         * stdlib/random.c (__random): Likewise.
752         * stdlib/setenv.c (clearenv): Likewise.
753         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
754         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
755         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
756         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
757         (__get_nprocs): Likewise.
758         (__get_phys_pages): Likewise.
759         (__get_avphys_pages): Likewise.
760         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
761         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
762         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
763         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
764         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
765         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
766         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
767         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
768         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
769         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
770         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
771         * sysdeps/mach/hurd/sync.c (sync): Likewise.
772         * sysdeps/posix/clock.c (clock): Likewise.
773         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
774         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
775         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
776         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
777         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
778         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
779         (__get_nprocs_conf): Likewise.
780         (__get_phys_pages): Likewise.
781         (__get_avphys_pages): Likewise.
782         * time/clock.c (clock): Likewise.
783         * time/tzset.c (__tzname_max): Likewise.
785 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
787         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
788         (__bswap_32): Do not use "register".
789         * crypt/crypt.c (_ufc_doit_r): Likewise.
790         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
791         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
792         * gmon/gmon.c (__monstartup): Likewise.
793         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
794         * hurd/hurdmalloc.c (more_memory): Likewise.
795         (malloc): Likewise.
796         (free): Likewise.
797         (realloc): Likewise.
798         (malloc_fork_prepare): Likewise.
799         (malloc_fork_parent): Likewise.
800         (malloc_fork_child): Likewise.
801         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
802         (_svcauth_des): Likewise.
803         * inet/inet_lnaof.c (inet_lnaof): Likewise.
804         * inet/inet_net.c (inet_network): Likewise.
805         * inet/inet_netof.c (inet_netof): Likewise.
806         * inet/rcmd.c (__validuser2_sa): Likewise.
807         * io/fts.c (fts_open): Likewise.
808         (fts_load): Likewise.
809         (fts_close): Likewise.
810         (fts_read): Likewise.
811         (fts_children): Likewise.
812         (fts_build): Likewise.
813         (fts_stat): Likewise.
814         (fts_sort): Likewise.
815         (fts_alloc): Likewise.
816         (fts_lfree): Likewise.
817         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
818         (_IO_file_xsgetn): Likewise.
819         (_IO_file_xsgetn_mmap): Likewise.
820         * libio/iofopncook.c (_IO_cookie_read): Likewise.
821         (_IO_cookie_write): Likewise.
822         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
823         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
824         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
825         * malloc/obstack.c (_obstack_begin): Likewise.
826         (_obstack_begin_1): Likewise.
827         (_obstack_newchunk): Likewise.
828         (_obstack_allocated_p): Likewise.
829         (obstack_free): Likewise.
830         (_obstack_memory_used): Likewise.
831         * misc/getttyent.c (getttynam): Likewise.
832         (getttyent): Likewise.
833         (skip): Likewise.
834         (value): Likewise.
835         * misc/getusershell.c (initshells): Likewise.
836         * misc/syslog.c (__vsyslog_chk): Likewise.
837         * misc/ttyslot.c (ttyslot): Likewise.
838         * nis/nis_hash.c (__nis_hash): Likewise.
839         * posix/fnmatch_loop.c (FCT): Likewise.
840         * posix/getconf.c (print_all): Likewise.
841         (main): Likewise.
842         * posix/getopt.c (exchange): Likewise.
843         * posix/glob.c (globfree): Likewise.
844         (prefix_array): Likewise.
845         (__glob_pattern_type): Likewise.
846         * resolv/arpa/nameser.h (NS_GET16): Likewise.
847         (NS_GET32): Likewise.
848         (NS_PUT16): Likewise.
849         (NS_PUT32): Likewise.
850         * resolv/gethnamaddr.c (getanswer): Likewise.
851         (gethostbyname2): Likewise.
852         (gethostbyaddr): Likewise.
853         (_gethtent): Likewise.
854         (_gethtbyname2): Likewise.
855         (_gethtbyaddr): Likewise.
856         * resolv/ns_print.c (dst_s_get_int16): Likewise.
857         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
858         * resolv/res_init.c (__res_vinit): Likewise.
859         (net_mask): Likewise.
860         * resolv/res_mkquery.c (outchar): Likewise.
861         (PRINT): Likewise.
862         * stdio-common/printf_fp.c (outchar): Likewise.
863         (PRINT): Likewise.
864         * stdio-common/printf_fphex.c (outchar): Likewise.
865         (PRINT): Likewise.
866         * stdio-common/printf_size.c (outchar): Likewise.
867         (PRINT): Likewise.
868         * stdio-common/test_rdwr.c (main): Likewise.
869         * stdio-common/tfformat.c (matches): Likewise.
870         * stdio-common/vfprintf.c (outchar): Likewise.
871         (printf_unknown): Likewise.
872         (buffered_vfprintf): Likewise.
873         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
874         * stdio-common/xbug.c (AppendToBuffer): Likewise.
875         (ReadFile): Likewise.
876         * stdlib/qsort.c (SWAP): Likewise.
877         (_quicksort): Likewise.
878         * stdlib/setenv.c (__add_to_environ): Likewise.
879         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
880         * stdlib/strtol_l.c (__strtol_l): Likewise.
881         * stdlib/tst-strtod.c (main): Likewise.
882         * stdlib/tst-strtol.c (main): Likewise.
883         * stdlib/tst-strtoll.c (main): Likewise.
884         * string/bits/string2.h (__strcmp_cc): Likewise.
885         (__strcmp_cg): Likewise.
886         (__strcspn_c1): Likewise.
887         (__strcspn_c2): Likewise.
888         (__strcspn_c3): Likewise.
889         (__strspn_c1): Likewise.
890         (__strspn_c2): Likewise.
891         (__strspn_c3): Likewise.
892         (__strsep_1c): Likewise.
893         (__strsep_2c): Likewise.
894         (__strsep_3c): Likewise.
895         * string/memccpy.c (__memccpy): Likewise.
896         * string/stpcpy.c (__stpcpy): Likewise.
897         * string/strcmp.c (strcmp): Likewise.
898         * string/strrchr.c (strrchr): Likewise.
899         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
900         Likewise.
901         * sysdeps/mach/hurd/getcwd.c
902         (_hurd_canonicalize_directory_name_internal): Likewise.
903         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
904         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
905         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
906         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
907         Likewise, in both definitions.
908         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
909         definitions.
910         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
911         64] (__bswap_64): Likewise.
912         * time/test_time.c (main): Likewise.
913         * time/tzfile.c (__tzfile_read): Likewise.
914         (__tzfile_compute): Likewise.
915         * time/tzset.c (__tzset_parse_tz): Likewise.
916         (tzset_internal): Likewise.
917         (compute_change): Likewise.
918         * wcsmbs/wcscat.c (__wcscat): Likewise.
919         * wcsmbs/wcschr.c (wcschr): Likewise.
920         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
921         * wcsmbs/wcscspn.c (wcscspn): Likewise.
922         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
923         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
924         * wcsmbs/wcsspn.c (wcsspn): Likewise.
925         * wcsmbs/wcsstr.c (wcsstr): Likewise.
926         * wcsmbs/wmemchr.c (wmemchr): Likewise.
927         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
928         * wcsmbs/wmemset.c (wmemset): Likewise.
930 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
932         * scripts/config.guess: Update to version 2013-05-16.
933         * scripts/config.sub: Update to version 2013-04-24.
934         * scripts/install-sh: Update to version 2011-11-20.07.
935         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
936         * scripts/move-if-change: Update to version 2012-01-06 07:23.
938 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
940         * debug/fgetws_u_chk.c: Fix leading whitespaces.
941         * elf/sln.c: Likewise.
942         * hurd/hurd/ioctl.h: Likewise.
943         * hurd/hurdmalloc.c: Likewise.
944         * hurd/xattr.c: Likewise.
945         * include/shlib-compat.h: Likewise.
946         * inet/ruserpass.c: Likewise.
947         * libio/iofgets_u.c: Likewise.
948         * libio/iofgetws_u.c: Likewise.
949         * locale/programs/ld-identification.c: Likewise.
950         * locale/programs/ld-time.c: Likewise.
951         * mach/msg-destroy.c: Likewise.
952         * nss/nss_files/files-netgrp.c: Likewise.
953         * resolv/res_data.c: Likewise.
954         * soft-fp/op-1.h: Likewise.
955         * soft-fp/op-2.h: Likewise.
956         * soft-fp/op-4.h: Likewise.
957         * soft-fp/op-common.h: Likewise.
958         * stdio-common/printf_fphex.c: Likewise.
959         * stdlib/strtod_l.c: Likewise.
960         * sunrpc/rpc/clnt.h: Likewise.
961         * sysdeps/generic/framestate.c: Likewise.
962         * sysdeps/i386/bsd-_setjmp.S: Likewise.
963         * sysdeps/i386/bsd-setjmp.S: Likewise.
964         * sysdeps/i386/__longjmp.S: Likewise.
965         * sysdeps/i386/setjmp.S: Likewise.
966         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
967         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
968         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
969         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
970         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
971         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
972         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
973         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
974         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
975         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
976         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
977         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
978         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
979         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
980         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
981         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
982         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
983         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
984         * sysdeps/ieee754/support.c: Likewise.
985         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
986         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
987         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
988         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
989         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
990         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
991         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
992         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
993         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
994         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
995         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
996         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
997         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
998         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
999         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1000         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1001         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1004 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
1006         * posix/transbug.c: Remove executable mode.
1008 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
1010         * crypt/speeds.c: Remove trailing whitespace.
1011         * dlfcn/default.c: Likewise.
1012         * elf/ifuncdep2.c: Likewise.
1013         * elf/ifuncmain1.c: Likewise.
1014         * elf/ifuncmain1vis.c: Likewise.
1015         * elf/testobj.h: Likewise.
1016         * elf/tst-stackguard1.c: Likewise.
1017         * gmon/sys/gmon.h: Likewise.
1018         * hurd/hurdmsg.c: Likewise.
1019         * hurd/new-fd.c: Likewise.
1020         * hurd/ports-get.c: Likewise.
1021         * iconvdata/ibm1008_420.c: Likewise.
1022         * inet/tst-getni1.c: Likewise.
1023         * inet/tst-getni2.c: Likewise.
1024         * libio/ioungetc.c: Likewise.
1025         * libio/wfiledoalloc.c: Likewise.
1026         * manual/libm-err-tab.pl: Likewise.
1027         * math/w_dremf.c: Likewise.
1028         * misc/ftruncate.c: Likewise.
1029         * posix/bug-glob2.c: Likewise.
1030         * posix/tst-pcre.c: Likewise.
1031         * posix/wait4.c: Likewise.
1032         * resolv/README: Likewise.
1033         * resolv/res_debug.h: Likewise.
1034         * resolv/tst-inet_ntop.c: Likewise.
1035         * setjmp/bug269-setjmp.c: Likewise.
1036         * soft-fp/extended.h: Likewise.
1037         * soft-fp/op-1.h: Likewise.
1038         * soft-fp/op-2.h: Likewise.
1039         * soft-fp/op-4.h: Likewise.
1040         * soft-fp/op-8.h: Likewise.
1041         * soft-fp/testit.c: Likewise.
1042         * stdio-common/bug16.c: Likewise.
1043         * stdlib/random.c: Likewise.
1044         * sunrpc/rpcsvc/rquota.x: Likewise.
1045         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1046         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1047         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1048         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1049         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1050         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1051         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1052         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1053         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1054         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1055         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1056         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1057         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1058         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1059         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1060         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1061         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1062         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1063         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1064         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1065         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1066         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1067         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1068         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1069         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1070         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1071         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1072         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1073         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1074         * sysdeps/ieee754/s_lib_version.c: Likewise.
1075         * sysdeps/mach/hurd/check_fds.c: Likewise.
1076         * sysdeps/mach/hurd/getsockname.c: Likewise.
1077         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1078         * sysdeps/mach/hurd/recvfrom.c: Likewise.
1079         * sysdeps/powerpc/bits/link.h: Likewise.
1080         * sysdeps/powerpc/dl-procinfo.c: Likewise.
1081         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1082         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1083         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1084         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1085         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1086         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1087         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1088         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1089         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1090         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1091         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1092         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1093         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1094         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1095         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1096         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1097         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1098         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1099         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1100         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1101         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1102         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1103         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1104         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1105         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1106         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1107         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1108         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1109         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1110         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1111         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1112         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1113         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1114         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1115         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1116         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1117         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1118         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1119         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1120         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1121         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1122         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1123         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1124         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1125         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1126         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1127         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1128         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1129         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1130         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1131         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1132         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1133         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1134         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1135         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1136         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1137         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1138         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1139         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1140         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1141         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1142         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1143         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1144         * sysdeps/powerpc/sysdep.h: Likewise.
1145         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1146         * sysdeps/s390/s390-64/sub_n.S: Likewise.
1147         * sysdeps/sh/dl-trampoline.S: Likewise.
1148         * sysdeps/sh/memset.S: Likewise.
1149         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1150         * sysdeps/sh/strlen.S: Likewise.
1151         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1152         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1153         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1154         * sysdeps/sparc/sparc32/rem.S: Likewise.
1155         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1156         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1157         * sysdeps/sparc/sparc32/strchr.S: Likewise.
1158         * sysdeps/sparc/sparc32/udiv.S: Likewise.
1159         * sysdeps/sparc/sparc32/urem.S: Likewise.
1160         * sysdeps/sparc/sparc64/add_n.S: Likewise.
1161         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1162         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1163         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1164         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1165         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1166         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1167         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1168         * sysdeps/unix/bsd/times.c: Likewise.
1169         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1170         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1174         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1175         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1176         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1177         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1178         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1179         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1180         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1181         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1182         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1183         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1184         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1185         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1186         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1187         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1188         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1189         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1190         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1191         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1192         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1193         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1194         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1195         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1196         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1197         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1198         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1199         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1200         * sysdeps/x86_64/strcspn.S: Likewise.
1202 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1204         * locale/C-translit.h: Revert #include <stdint.h> because this is a
1205         generated file.  Regenerate properly from gen-translit.pl.
1206         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
1207         locale/C-translit.h.
1209 2013-06-05  Andreas Schwab  <schwab@suse.de>
1211         [BZ #15100]
1212         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1213         week as 6 instead of -1.
1214         * time/tst-strptime.c (day_tests): Add test case.
1216 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1218         * sysdeps/generic/math_private.h
1219         (libc_feholdexcept_setround_53bit): Replace with
1220         libc_feholdsetround_53bit.
1221         (libc_feupdateenv_53bit): Replace with
1222         libc_feresetround_53bit.
1223         (SET_RESTORE_ROUND_53BIT): Adjust.
1225 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1227         * string/test-strchrnul.c: Add copyright header.
1229         * posix/tst-getaddrinfo4.c: Increase test timeout.
1231 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
1233         [BZ #15536]
1234         * math/libm-test.inc (MAX_EXP): Remove
1235         (MIN_EXP): Define.
1236         (ulp): Use MIN_EXP - MANT_DIG.
1237         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1239 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
1241         * po/be.po: Revert last change.
1242         * po/zh_CN.po: Likewise.
1243         * po/header.pot: Likewise.
1245 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
1247         * Makefile ($(common-objpfx)linkobj/libc.so): Define
1248         link-libc-deps to empty as target-specific variable.
1249         * Makerules (link-libc-args): New variable.
1250         (libc-for-link): Likewise.
1251         (link-libc-deps): Likewise.
1252         (lib%.so): Depend on $(link-libc-deps).  Link with
1253         $(link-libc-args).
1254         (build-module): Link with $(link-libc-args).
1255         (build-module-asneeded): Likewise.
1256         (build-module-helper-objlist): Filter out $(link-libc-deps) from
1257         list of objects.
1258         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1259         target-specific variable.
1260         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1261         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1262         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1263         libc.
1264         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1265         libc and ld.so.
1266         ($(objpfx)libpcprofile.so): Likewise.
1267         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1268         libc_nonshared.a.
1269         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1270         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1271         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1272         $(link-libc-deps).
1273         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1274         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1275         * login/Makefile ($(objpfx)libutil.so): Likewise.
1276         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1277         * math/Makefile ($(objpfx)libm.so): Likewise.
1278         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1279         $(objpfx)libnsl.so): Define libc-for-link as target-specific
1280         variable instead of depending directly on libc.
1281         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1282         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1283         $(link-libc-deps).
1284         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1285         libc.
1286         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1287         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1288         ($(objpfx)libanl.so): Likewise.
1289         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1290         ld.so.
1291         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1292         $(link-libc-deps).
1293         * sysdeps/i386/fpu/Makefile: Remove file.
1294         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1295         ($(objpfx)libm.so): Remove dependency on ld.so.
1297 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
1299         [BZ # 15553]
1300         * nis/yp_xdr.c (XDRMAXNAME): Define.
1301         (XDRMAXRECORD): Define.
1302         (xdr_domainname): Use XDRMAXNAME.
1303         (xdr_mapname): Likewise.
1304         (xdr_peername): Likewise.
1305         (xdr_keydat): Use XDRMAXRECORD.
1306         (xdr_valdat): Likewise.
1308 2013-05-30  Jeff Law  <law@redhat.com>
1310         [BZ #14256]
1311         * manual/errno.texi (ESTALE): Update to account for more than
1312         just NFS file systems.
1313         * sysdeps/gnu/errlist.c: Regenerated.
1315 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1317         [BZ #15465]
1318         * elf/Makefile (tests): Add tst-null-argv.
1319         (modules-names):  Add tst-null-argv-lib.
1320         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1321         (tst-null-argv-ENV): Set environment for tst-null-argv.
1322         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1323         (RTLD_PROGNAME): New macro.
1324         * elf/tst-null-argv.c: New test case.
1325         * elf/tst-null-argv-lib.c: Library for test case.
1326         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1327         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1328         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1329         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1330         * elf/dl-init.c (call_init): Likewise.
1331         (_dl_init): Likewise.
1332         * elf/dl-load.c (print_search_path): Likewise.
1333         (_dl_map_object): Likewise.
1334         * elf/dl-lookup.c (do_lookup_x): Likewise.
1335         (add_dependency): Likewise.
1336         (_dl_lookup_symbol_x): Likewise.
1337         (_dl_debug_bindings): Likewise.
1338         * elf/dl-open.c (_dl_show_scope): Likewise.
1339         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1340         * elf/dl-version.c (match_symbol): Likewise.
1341         (_dl_check_map_versions): Likewise.
1342         * elf/rtld.c (dl_main): Likewise.
1343         (print_unresolved): Use RTLD_PROGNAME.
1344         (print_missing_version): Likewise.
1345         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1346         (elf_machine_rela): Likewise.
1347         * sysdeps/powerpc/powerpc32/dl-machine.c
1348         (__process_machine_rela): Likewise.
1349         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1350         Likewise.
1351         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1352         Likewise.
1353         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1354         Likewise.
1355         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1356         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1357         Likewise.
1358         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1359         Likewise.
1360         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1362 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
1364         * po/be.po: Add descriptive title.
1365         * po/zh_CN.po: Likewise.
1366         * po/header.pot: Likewise.
1368 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
1370         * locale/programs/locarchive.c (create_archive): Inlucde fname in
1371         error message.
1372         (enlarge_archive): Likewise.
1374 2013-05-28  Ben North  <ben@redfrontdoor.org>
1376         * manual/arith.texi (frexp): It is the magnitude of the return
1377         value which lies in [0.5, 1), not the return value itself.
1379 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1381         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1383 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
1385         * stdio-common/bug26.c (main): Correct fscanf template.
1387         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1388         declare _dl_skip_args.
1390         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1391         Don't declare.
1393         * manual/platform.texi: Add missing @end deftypefun.
1395 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1397         [BZ #15529]
1398         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1399         bit of mantissa of 2^16382.
1400         * math/libm-test.inc (hypot_test_data): Add more tests.
1402         * math/libm-test.inc: Add drem and pow10 to list of tested
1403         functions.
1404         (pow10_test): New function.
1405         (drem_test): Likewise.
1406         (drem_test_tonearest): Likewise.
1407         (drem_test_towardzero): Likewise.
1408         (drem_test_downward): Likewise.
1409         (drem_test_upward): Likewise.
1410         (main): Call the new functions.
1412         * math/libm-test.inc (finite_test_data): Remove.
1413         (finite_test): Run tests from isfinite_test_data.
1414         (gamma_test_data): Remove.
1415         (gamma_test): Run tests from lgamma_test_data.
1416         * sysdeps/i386/fpu/libm-test-ulps: Update.
1417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1419 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1421         * manual/platform.texi: Add PowerPC PPR function set documentation.
1422         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1423         implementation.
1425 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
1427         * math/libm-test.inc (MAX_EXP): Define.
1428         (ULPDIFF): Define.
1429         (ulp): New function.
1430         (check_float_internal): Use ULPDIFF.
1431         (cpow_test): Disable failing test.
1432         (check_ulp): Test ulp() implemetnation.
1433         (main): Call check_ulp before starting tests.
1435 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
1437         * math/gen-libm-test.pl (generate_testfile): Do not handle
1438         START_DATA and END_DATA.
1439         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1440         END_DATA.
1441         (acos_tonearest_test_data): Likewise.
1442         (acos_towardzero_test_data): Likewise.
1443         (acos_downward_test_data): Likewise.
1444         (acos_upward_test_data): Likewise.
1445         (acosh_test_data): Likewise.
1446         (asin_test_data): Likewise.
1447         (asin_tonearest_test_data): Likewise.
1448         (asin_towardzero_test_data): Likewise.
1449         (asin_downward_test_data): Likewise.
1450         (asin_upward_test_data): Likewise.
1451         (asinh_test_data): Likewise.
1452         (atan_test_data): Likewise.
1453         (atanh_test_data): Likewise.
1454         (atan2_test_data): Likewise.
1455         (cabs_test_data): Likewise.
1456         (cacos_test_data): Likewise.
1457         (cacosh_test_data): Likewise.
1458         (carg_test_data): Likewise.
1459         (casin_test_data): Likewise.
1460         (casinh_test_data): Likewise.
1461         (catan_test_data): Likewise.
1462         (catanh_test_data): Likewise.
1463         (cbrt_test_data): Likewise.
1464         (ccos_test_data): Likewise.
1465         (ccosh_test_data): Likewise.
1466         (ceil_test_data): Likewise.
1467         (cexp_test_data): Likewise.
1468         (cimag_test_data): Likewise.
1469         (clog_test_data): Likewise.
1470         (clog10_test_data): Likewise.
1471         (conj_test_data): Likewise.
1472         (copysign_test_data): Likewise.
1473         (cos_test_data): Likewise.
1474         (cos_tonearest_test_data): Likewise.
1475         (cos_towardzero_test_data): Likewise.
1476         (cos_downward_test_data): Likewise.
1477         (cos_upward_test_data): Likewise.
1478         (cosh_test_data): Likewise.
1479         (cosh_tonearest_test_data): Likewise.
1480         (cosh_towardzero_test_data): Likewise.
1481         (cosh_downward_test_data): Likewise.
1482         (cosh_upward_test_data): Likewise.
1483         (cpow_test_data): Likewise.
1484         (cproj_test_data): Likewise.
1485         (creal_test_data): Likewise.
1486         (csin_test_data): Likewise.
1487         (csinh_test_data): Likewise.
1488         (csqrt_test_data): Likewise.
1489         (ctan_test_data): Likewise.
1490         (ctan_tonearest_test_data): Likewise.
1491         (ctan_towardzero_test_data): Likewise.
1492         (ctan_downward_test_data): Likewise.
1493         (ctan_upward_test_data): Likewise.
1494         (ctanh_test_data): Likewise.
1495         (ctanh_tonearest_test_data): Likewise.
1496         (ctanh_towardzero_test_data): Likewise.
1497         (ctanh_downward_test_data): Likewise.
1498         (ctanh_upward_test_data): Likewise.
1499         (erf_test_data): Likewise.
1500         (erfc_test_data): Likewise.
1501         (exp_test_data): Likewise.
1502         (exp_tonearest_test_data): Likewise.
1503         (exp_towardzero_test_data): Likewise.
1504         (exp_downward_test_data): Likewise.
1505         (exp_upward_test_data): Likewise.
1506         (exp10_test_data): Likewise.
1507         (exp2_test_data): Likewise.
1508         (expm1_test_data): Likewise.
1509         (fabs_test_data): Likewise.
1510         (fdim_test_data): Likewise.
1511         (finite_test_data): Likewise.
1512         (floor_test_data): Likewise.
1513         (fma_test_data): Likewise.
1514         (fma_towardzero_test_data): Likewise.
1515         (fma_downward_test_data): Likewise.
1516         (fma_upward_test_data): Likewise.
1517         (fmax_test_data): Likewise.
1518         (fmin_test_data): Likewise.
1519         (fmod_test_data): Likewise.
1520         (fpclassify_test_data): Likewise.
1521         (frexp_test_data): Likewise.
1522         (gamma_test_data): Likewise.
1523         (hypot_test_data): Likewise.
1524         (ilogb_test_data): Likewise.
1525         (isfinite_test_data): Likewise.
1526         (isgreater_test_data): Likewise.
1527         (isgreaterequal_test_data): Likewise.
1528         (isinf_test_data): Likewise.
1529         (isless_test_data): Likewise.
1530         (islessequal_test_data): Likewise.
1531         (islessgreater_test_data): Likewise.
1532         (isnan_test_data): Likewise.
1533         (isnormal_test_data): Likewise.
1534         (issignaling_test_data): Likewise.
1535         (isunordered_test_data): Likewise.
1536         (j0_test_data): Likewise.
1537         (j1_test_data): Likewise.
1538         (jn_test_data): Likewise.
1539         (ldexp_test_data): Likewise.
1540         (lgamma_test_data): Likewise.
1541         (lrint_test_data): Likewise.
1542         (lrint_tonearest_test_data): Likewise.
1543         (lrint_towardzero_test_data): Likewise.
1544         (lrint_downward_test_data): Likewise.
1545         (lrint_upward_test_data): Likewise.
1546         (llrint_test_data): Likewise.
1547         (llrint_tonearest_test_data): Likewise.
1548         (llrint_towardzero_test_data): Likewise.
1549         (llrint_downward_test_data): Likewise.
1550         (llrint_upward_test_data): Likewise.
1551         (log_test_data): Likewise.
1552         (log10_test_data): Likewise.
1553         (log1p_test_data): Likewise.
1554         (log2_test_data): Likewise.
1555         (logb_test_data): Likewise.
1556         (logb_downward_test_data): Likewise.
1557         (lround_test_data): Likewise.
1558         (llround_test_data): Likewise.
1559         (modf_test_data): Likewise.
1560         (nearbyint_test_data): Likewise.
1561         (nextafter_test_data): Likewise.
1562         (nexttoward_test_data): Likewise.
1563         (pow_test_data): Likewise.
1564         (pow_tonearest_test_data): Likewise.
1565         (pow_towardzero_test_data): Likewise.
1566         (pow_downward_test_data): Likewise.
1567         (pow_upward_test_data): Likewise.
1568         (remainder_test_data): Likewise.
1569         (remainder_tonearest_test_data): Likewise.
1570         (remainder_towardzero_test_data): Likewise.
1571         (remainder_downward_test_data): Likewise.
1572         (remainder_upward_test_data): Likewise.
1573         (remquo_test_data): Likewise.
1574         (rint_test_data): Likewise.
1575         (rint_tonearest_test_data): Likewise.
1576         (rint_towardzero_test_data): Likewise.
1577         (rint_downward_test_data): Likewise.
1578         (rint_upward_test_data): Likewise.
1579         (round_test_data): Likewise.
1580         (scalb_test_data): Likewise.
1581         (scalbn_test_data): Likewise.
1582         (scalbln_test_data): Likewise.
1583         (signbit_test_data): Likewise.
1584         (sin_test_data): Likewise.
1585         (sin_tonearest_test_data): Likewise.
1586         (sin_towardzero_test_data): Likewise.
1587         (sin_downward_test_data): Likewise.
1588         (sin_upward_test_data): Likewise.
1589         (sincos_test_data): Likewise.
1590         (sinh_test_data): Likewise.
1591         (sinh_tonearest_test_data): Likewise.
1592         (sinh_towardzero_test_data): Likewise.
1593         (sinh_downward_test_data): Likewise.
1594         (sinh_upward_test_data): Likewise.
1595         (sqrt_test_data): Likewise.
1596         (tan_test_data): Likewise.
1597         (tan_tonearest_test_data): Likewise.
1598         (tan_towardzero_test_data): Likewise.
1599         (tan_downward_test_data): Likewise.
1600         (tan_upward_test_data): Likewise.
1601         (tanh_test_data): Likewise.
1602         (tgamma_test_data): Likewise.
1603         (trunc_test_data): Likewise.
1604         (y0_test_data): Likewise.
1605         (y1_test_data): Likewise.
1606         (yn_test_data): Likewise.
1607         (significand_test_data): Likewise.
1609         * math/gen-libm-test.pl (@functions): Remove variable.
1610         (generate_testfile): Don't handle START and END lines.
1611         * math/libm-test.inc (START): New macro.
1612         (END): Likewise.
1613         (END_COMPLEX): Likewise.
1614         (acos_test): Use END macro without arguments.
1615         (acos_test_tonearest): Likewise.
1616         (acos_test_towardzero): Likewise.
1617         (acos_test_downward): Likewise.
1618         (acos_test_upward): Likewise.
1619         (acosh_test): Likewise.
1620         (asin_test): Likewise.
1621         (asin_test_tonearest): Likewise.
1622         (asin_test_towardzero): Likewise.
1623         (asin_test_downward): Likewise.
1624         (asin_test_upward): Likewise.
1625         (asinh_test): Likewise.
1626         (atan_test): Likewise.
1627         (atanh_test): Likewise.
1628         (atan2_test): Likewise.
1629         (cabs_test): Likewise.
1630         (cacos_test): Use END_COMPLEX macro without arguments.
1631         (cacosh_test): Likewise.
1632         (carg_test): Use END macro without arguments.
1633         (casin_test): Use END_COMPLEX macro without arguments.
1634         (casinh_test): Likewise.
1635         (catan_test): Likewise.
1636         (catanh_test): Likewise.
1637         (cbrt_test): Use END macro without arguments.
1638         (ccos_test): Use END_COMPLEX macro without arguments.
1639         (ccosh_test): Likewise.
1640         (ceil_test): Use END macro without arguments.
1641         (cexp_test): Use END_COMPLEX macro without arguments.
1642         (cimag_test): Use END macro without arguments.
1643         (clog_test): Use END_COMPLEX macro without arguments.
1644         (clog10_test): Likewise.
1645         (conj_test): Likewise.
1646         (copysign_test): Use END macro without arguments.
1647         (cos_test): Likewise.
1648         (cos_test_tonearest): Likewise.
1649         (cos_test_towardzero): Likewise.
1650         (cos_test_downward): Likewise.
1651         (cos_test_upward): Likewise.
1652         (cosh_test): Likewise.
1653         (cosh_test_tonearest): Likewise.
1654         (cosh_test_towardzero): Likewise.
1655         (cosh_test_downward): Likewise.
1656         (cosh_test_upward): Likewise.
1657         (cpow_test): Use END_COMPLEX macro without arguments.
1658         (cproj_test): Likewise.
1659         (creal_test): Use END macro without arguments.
1660         (csin_test): Use END_COMPLEX macro without arguments.
1661         (csinh_test): Likewise.
1662         (csqrt_test): Likewise.
1663         (ctan_test): Likewise.
1664         (ctan_test_tonearest): Likewise.
1665         (ctan_test_towardzero): Likewise.
1666         (ctan_test_downward): Likewise.
1667         (ctan_test_upward): Likewise.
1668         (ctanh_test): Likewise.
1669         (ctanh_test_tonearest): Likewise.
1670         (ctanh_test_towardzero): Likewise.
1671         (ctanh_test_downward): Likewise.
1672         (ctanh_test_upward): Likewise.
1673         (erf_test): Use END macro without arguments.
1674         (erfc_test): Likewise.
1675         (exp_test): Likewise.
1676         (exp_test_tonearest): Likewise.
1677         (exp_test_towardzero): Likewise.
1678         (exp_test_downward): Likewise.
1679         (exp_test_upward): Likewise.
1680         (exp10_test): Likewise.
1681         (exp2_test): Likewise.
1682         (expm1_test): Likewise.
1683         (fabs_test): Likewise.
1684         (fdim_test): Likewise.
1685         (finite_test): Likewise.
1686         (floor_test): Likewise.
1687         (fma_test): Likewise.
1688         (fma_test_towardzero): Likewise.
1689         (fma_test_downward): Likewise.
1690         (fma_test_upward): Likewise.
1691         (fmax_test): Likewise.
1692         (fmin_test): Likewise.
1693         (fmod_test): Likewise.
1694         (fpclassify_test): Likewise.
1695         (frexp_test): Likewise.
1696         (gamma_test): Likewise.
1697         (hypot_test): Likewise.
1698         (ilogb_test): Likewise.
1699         (isfinite_test): Likewise.
1700         (isgreater_test): Likewise.
1701         (isgreaterequal_test): Likewise.
1702         (isinf_test): Likewise.
1703         (isless_test): Likewise.
1704         (islessequal_test): Likewise.
1705         (islessgreater_test): Likewise.
1706         (isnan_test): Likewise.
1707         (isnormal_test): Likewise.
1708         (issignaling_test): Likewise.
1709         (isunordered_test): Likewise.
1710         (j0_test): Likewise.
1711         (j1_test): Likewise.
1712         (jn_test): Likewise.
1713         (ldexp_test): Likewise.
1714         (lgamma_test): Likewise.
1715         (lrint_test): Likewise.
1716         (lrint_test_tonearest): Likewise.
1717         (lrint_test_towardzero): Likewise.
1718         (lrint_test_downward): Likewise.
1719         (lrint_test_upward): Likewise.
1720         (llrint_test): Likewise.
1721         (llrint_test_tonearest): Likewise.
1722         (llrint_test_towardzero): Likewise.
1723         (llrint_test_downward): Likewise.
1724         (llrint_test_upward): Likewise.
1725         (log_test): Likewise.
1726         (log10_test): Likewise.
1727         (log1p_test): Likewise.
1728         (log2_test): Likewise.
1729         (logb_test): Likewise.
1730         (logb_test_downward): Likewise.
1731         (lround_test): Likewise.
1732         (llround_test): Likewise.
1733         (modf_test): Likewise.
1734         (nearbyint_test): Likewise.
1735         (nextafter_test): Likewise.
1736         (nexttoward_test): Likewise.
1737         (pow_test): Likewise.
1738         (pow_test_tonearest): Likewise.
1739         (pow_test_towardzero): Likewise.
1740         (pow_test_downward): Likewise.
1741         (pow_test_upward): Likewise.
1742         (remainder_test): Likewise.
1743         (remainder_test_tonearest): Likewise.
1744         (remainder_test_towardzero): Likewise.
1745         (remainder_test_downward): Likewise.
1746         (remainder_test_upward): Likewise.
1747         (remquo_test): Likewise.
1748         (rint_test): Likewise.
1749         (rint_test_tonearest): Likewise.
1750         (rint_test_towardzero): Likewise.
1751         (rint_test_downward): Likewise.
1752         (rint_test_upward): Likewise.
1753         (round_test): Likewise.
1754         (scalb_test): Likewise.
1755         (scalbn_test): Likewise.
1756         (scalbln_test): Likewise.
1757         (signbit_test): Likewise.
1758         (sin_test): Likewise.
1759         (sin_test_tonearest): Likewise.
1760         (sin_test_towardzero): Likewise.
1761         (sin_test_downward): Likewise.
1762         (sin_test_upward): Likewise.
1763         (sincos_test): Likewise.
1764         (sinh_test): Likewise.
1765         (sinh_test_tonearest): Likewise.
1766         (sinh_test_towardzero): Likewise.
1767         (sinh_test_downward): Likewise.
1768         (sinh_test_upward): Likewise.
1769         (sqrt_test): Likewise.
1770         (tan_test): Likewise.
1771         (tan_test_tonearest): Likewise.
1772         (tan_test_towardzero): Likewise.
1773         (tan_test_downward): Likewise.
1774         (tan_test_upward): Likewise.
1775         (tanh_test): Likewise.
1776         (tgamma_test): Likewise.
1777         (trunc_test): Likewise.
1778         (y0_test): Likewise.
1779         (y1_test): Likewise.
1780         (yn_test): Likewise.
1781         (significand_test): Likewise.
1783 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
1785         [BZ #15381]
1786         * libio/genops.c (_IO_no_init): Initialize wide struct info.
1788 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
1790         [BZ #14894]
1791         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1792         __ppc_mdoio and __ppc_mdoom.
1793         * manual/platform.texi: Document new functions __ppc_yield,
1794         __ppc_mdoio and __ppc_mdoom.
1796 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
1798         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1799         (main): Mention "tls" pseudo-hwcap is legacy.
1800         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1802 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1804         * math/gen-libm-test.pl (parse_args): Output only string of
1805         arguments as text for test name, not full call or descriptions of
1806         tests for extra outputs.
1807         (generate_testfile): Do not pass function name to parse_args.
1808         Generate this_func variable from START.
1809         * math/libm-test.inc (struct test_f_f_data): Rename test_name
1810         field to arg_str.
1811         (struct test_ff_f_data): Likewise.
1812         (test_ff_f_data_nexttoward): Likewise.
1813         (struct test_fi_f_data): Likewise.
1814         (struct test_fl_f_data): Likewise.
1815         (struct test_if_f_data): Likewise.
1816         (struct test_fff_f_data): Likewise.
1817         (struct test_c_f_data): Likewise.
1818         (struct test_f_f1_data): Likewise.  Remove field extra_name.
1819         (struct test_fF_f1_data): Likewise.
1820         (struct test_ffI_f1_data): Likewise.
1821         (struct test_c_c_data): Rename test_name field to arg_str.
1822         (struct test_cc_c_data): Likewise.
1823         (struct test_f_i_data): Likewise.
1824         (struct test_ff_i_data): Likewise.
1825         (struct test_f_l_data): Likewise.
1826         (struct test_f_L_data): Likewise.
1827         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
1828         and extra2_name.
1829         (COMMON_TEST_SETUP): New macro.
1830         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1831         (COMMON_TEST_CLEANUP): Likewise.
1832         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1833         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
1834         macros.
1835         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1836         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
1837         macros.
1838         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1839         (RUN_TEST_fff_f): Take argument string.  Call new setup and
1840         cleanup macros.
1841         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1842         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
1843         macros.
1844         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1845         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
1846         macros.
1847         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1848         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
1849         cleanup macros.
1850         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1851         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
1852         cleanup macros.
1853         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1854         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
1855         cleanup macros.
1856         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1857         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
1858         macros.
1859         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1860         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
1861         macros.
1862         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1863         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
1864         macros.
1865         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1866         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
1867         cleanup macros.
1868         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1869         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
1870         cleanup macros.
1871         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1872         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
1873         macros.
1874         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1875         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
1876         cleanup macros.
1877         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1878         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
1879         macros.
1880         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1881         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
1882         macros.
1883         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1884         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
1885         cleanup macros.
1886         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1888 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
1890         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1891         to _sifields.sigfault.
1892         (si_addr_lsb): Define new macro.
1893         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1894         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1895         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1897 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
1899         [BZ #15441]
1900         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1901         returns -1.
1902         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1903         null return -1.
1904         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1905         loading the domain.
1907 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
1909         * math/gen-libm-test.pl (parse_args): Do not include expected
1910         result in test name.
1911         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1912         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1913         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1914         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1915         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1918 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1920         * benchtests/Makefile: Sort function entries.
1922         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1923         tanh, asinh, acosh, atanh.
1924         * benchtests/acos-inputs: New file.
1925         * benchtests/acosh-inputs: New file.
1926         * benchtests/asin-inputs: New file.
1927         * benchtests/asinh-inputs: New file.
1928         * benchtests/atanh-inputs: New file.
1929         * benchtests/cosh-inputs: New file.
1930         * benchtests/log-inputs: New file.
1931         * benchtests/sinh-inputs: New file.
1932         * benchtests/tanh-inputs: New file.
1934 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
1936         [BZ #15339]
1937         * posix/tst-getaddrinfo4.c: New test.
1938         * posix/Makefile (tests): Add it.
1940 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1942         [BZ #15339]
1943         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1944         when no services were used.
1945         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1946         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1948 2013-05-21  Andreas Schwab  <schwab@suse.de>
1950         [BZ #15014]
1951         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1952         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1953         successful.
1954         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1955         redundant variable declarations and reallocation of buffer when
1956         parsing as IPv6 address.  Always set NSS status when called from
1957         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
1958         buffer too small.  Correct computation of needed size.
1959         * nss/Makefile (tests): Add test-digits-dots.
1960         * nss/test-digits-dots.c: New test.
1962 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1964         * benchtests/Makefile: Remove instructions for adding
1965         benchmark tests.
1966         * benchtests/README: New file to explain how to execute and
1967         enhance the benchmark tests.
1969 2013-05-21  Andreas Schwab  <schwab@suse.de>
1971         [BZ #15493]
1972         * setjmp/Makefile (tests): Add tst-sigsetjmp.
1973         * setjmp/tst-sigsetjmp.c: New test.
1975 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1977         * sysdeps/x86_64/memset.S (memset): New implementation.
1978         (__bzero): Likewise.
1979         (__memset_tail): New function.
1981 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
1983         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1984         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1985         __memcpy_sse2_unaligned ifunc selection.
1986         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1987         Add memcpy-sse2-unaligned.S.
1988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1989         Add: __memcpy_sse2_unaligned.
1991 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
1993         [BZ #15490]
1994         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1995         math_force_eval before restoring floating-point envrionment.
1996         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1997         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1998         Likewise.
1999         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2000         <math_private.h>.
2001         (__nearbyintl): Use math_force_eval before restoring
2002         floating-point environment.
2003         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2005         * math/gen-libm-test.pl (special_functions): Remove.
2006         (parse_args): Don't handle TEST_extra.  Handle functions with no
2007         return value.
2008         * math/libm-test.inc (struct test_sincos_data): Replace with
2009         struct test_fFF_11_data.
2010         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2011         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2012         (sincos_test_data): Change element type to struct
2013         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
2014         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2015         RUN_TEST_LOOP_sincos.
2016         * math/README.libm-test: Don't mention special handling of
2017         individual functions.
2018         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2019         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2020         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2021         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2022         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2023         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2025         * math/gen-libm-test.pl (get_variable): Remove function.
2026         (parse_args): Don't show pointer parameters to call in test
2027         names.  Use "extra output N" in test names for extra outputs
2028         rather than naming variables.
2030 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
2032         [BZ #15488]
2033         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2034         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2035         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2036         double tests.
2037         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2038         disable.
2039         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2040         check_long_double.
2042         * math/gen-libm-test.pl (@tests): Remove variable.
2043         ($count): Likewise.
2044         (new_test): Remove function.
2045         (show_exceptions): New function.
2046         (special_functions): Use show_exceptions instead of new_test.
2047         (parse_args): Likewise.
2048         (generate_testfile): Pass only function name in generated call to
2049         print_max_error or print_complex_max_error.
2050         (get_ulps): Do not handle complex tests specially.
2051         (output_test): Rename to ...
2052         (get_all_ulps_for_test): ... this.  Return a string rather than
2053         printing to a file.  Require ulps to be present.
2054         (output_ulps): Generate arrays rather than #defines.
2055         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2056         (struct ulp_data): New type.
2057         (BUILD_COMPLEX_ULP): Remove macro.
2058         (compare_ulp_data): New function.
2059         (find_ulps): Likewise.
2060         (find_test_ulps): Likewise.
2061         (find_function_ulps): Likewise.
2062         (find_complex_function_ulps): Likewise.
2063         (print_max_error): Determine allowed ulps using
2064         find_function_ulps.
2065         (print_complex_max_error): Determine allowed ulps using
2066         find_complex_function_ulps.
2067         (check_float_internal): Determine max ulps using find_test_ulps.
2068         (check_float): Do not take max_ulp parameter.  Update call to
2069         check_float_internal.
2070         (check_complex): Likewise.
2071         (check_int): Do not take max_ulp parameter.
2072         (check_long): Likewise.
2073         (check_bool): Likewise.
2074         (check_longlong): Likewise.
2075         (struct test_f_f_data): Remove max_ulp field.
2076         (struct test_ff_f_data): Likewise.
2077         (struct test_ff_f_data_nexttoward): Likewise.
2078         (struct test_fi_f_data): Likewise.
2079         (struct test_fl_f_data): Likewise.
2080         (struct test_if_f_data): Likewise.
2081         (struct test_fff_f_data): Likewise.
2082         (struct test_c_f_data): Likewise.
2083         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2084         (struct test_fF_f1_data): Likewise.
2085         (struct test_ffI_f1_data): Likewise.
2086         (struct test_c_c_data): Remove max_ulp field.
2087         (struct test_cc_c_data): Likewise.
2088         (struct test_f_i_data): Likewise.
2089         (struct test_ff_i_data): Likewise.
2090         (struct test_f_l_data): Likewise.
2091         (struct test_f_L_data): Likewise.
2092         (struct test_sincos_data): Likewise.
2093         (RUN_TEST_f_f): Do not handle ulps.
2094         (RUN_TEST_LOOP_f_f): Likewise.
2095         (RUN_TEST_2_f): Likewise.
2096         (RUN_TEST_LOOP_2_f): Likewise.
2097         (RUN_TEST_fff_f): Likewise.
2098         (RUN_TEST_LOOP_fff_f): Likewise.
2099         (RUN_TEST_c_f): Likewise.
2100         (RUN_TEST_LOOP_c_f): Likewise.
2101         (RUN_TEST_f_f1): Likewise.
2102         (RUN_TEST_LOOP_f_f1): Likewise.
2103         (RUN_TEST_fF_f1): Likewise.
2104         (RUN_TEST_LOOP_fF_f1): Likewise.
2105         (RUN_TEST_fI_f1): Likewise.
2106         (RUN_TEST_LOOP_fI_f1): Likewise.
2107         (RUN_TEST_ffI_f1): Likewise.
2108         (RUN_TEST_LOOP_ffI_f1): Likewise.
2109         (RUN_TEST_c_c): Likewise.
2110         (RUN_TEST_LOOP_c_c): Likewise.
2111         (RUN_TEST_cc_c): Likewise.
2112         (RUN_TEST_LOOP_cc_c): Likewise.
2113         (RUN_TEST_f_i): Likewise.
2114         (RUN_TEST_LOOP_f_i): Likewise.
2115         (RUN_TEST_f_i_tg): Likewise.
2116         (RUN_TEST_LOOP_f_i_tg): Likewise.
2117         (RUN_TEST_ff_i_tg): Likewise.
2118         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2119         (RUN_TEST_f_b): Likewise.
2120         (RUN_TEST_LOOP_f_b): Likewise.
2121         (RUN_TEST_f_b_tg): Likewise.
2122         (RUN_TEST_LOOP_f_b_tg): Likewise.
2123         (RUN_TEST_f_l): Likewise.
2124         (RUN_TEST_LOOP_f_l): Likewise.
2125         (RUN_TEST_f_L): Likewise.
2126         (RUN_TEST_LOOP_f_L): Likewise.
2127         (RUN_TEST_sincos): Likewise.
2128         (RUN_TEST_LOOP_sincos): Likewise.
2130 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
2132         [BZ #15480]
2133         [BZ #15485]
2134         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2135         main case of finite arguments, set rounding mode to FE_TONEAREST
2136         and discard exceptions.
2137         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2138         exceptions.
2139         (remainder_tonearest_test_data): New variable.
2140         (remainder_test_tonearest): New function.
2141         (remainder_towardzero_test_data): New variable.
2142         (remainder_test_towardzero): New function.
2143         (remainder_downward_test_data): New variable.
2144         (remainder_test_downward): New function.
2145         (remainder_upward_test_data): New variable.
2146         (remainder_test_upward): New function.
2147         (main): Call the new test functions.
2149         * math/libm-test.inc (struct test_f_f1_data): Remove field
2150         extra_init.
2151         (struct test_fF_f1_data): Likewise.
2152         (struct test_ffI_f1_data): Likewise.
2153         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
2154         based on value of EXTRA_EXPECTED.
2155         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2156         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
2157         EXTRA_VAR based on value of EXTRA_EXPECTED.
2158         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2159         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
2160         EXTRA_VAR based on value of EXTRA_EXPECTED.
2161         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2162         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
2163         EXTRA_VAR based on value of EXTRA_EXPECTED.
2164         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2165         * math/gen-libm-test.pl (parse_args): Don't output initializers
2166         for extra output values.
2168         * math/libm-test.inc (check_int): Expect result to be exactly
2169         equal to expected value and do not handle ulps.
2170         (check_long): Likewise.
2171         (check_longlong): Likewise.
2173         * math/libm-test.inc (ceil_test_data): Test for "inexact"
2174         exceptions.
2175         (cimag_test_data): Likewise.
2176         (conj_test_data): Likewise.
2177         (copysign_test_data): Likewise.
2178         (cproj_test_data): Likewise.
2179         (creal_test_data): Likewise.
2180         (fabs_test_data): Likewise.
2181         (fdim_test_data): Likewise.
2182         (finite_test_data): Likewise.
2183         (floor_test_data): Likewise.
2184         (fmax_test_data): Likewise.
2185         (fmin_test_data): Likewise.
2186         (fmod_test_data): Likewise.
2187         (fpclassify_test_data): Likewise.
2188         (frexp_test_data): Likewise.
2189         (ilogb_test_data): Likewise.
2190         (isfinite_test_data): Likewise.
2191         (isgreater_test_data): Likewise.
2192         (isgreaterequal_test_data): Likewise.
2193         (isinf_test_data): Likewise.
2194         (isless_test_data): Likewise.
2195         (islessequal_test_data): Likewise.
2196         (islessgreater_test_data): Likewise.
2197         (isnan_test_data): Likewise.
2198         (isnormal_test_data): Likewise.
2199         (issignaling_test_data): Likewise.
2200         (isunordered_test_data): Likewise.
2201         (ldexp_test_data): Likewise.
2202         (lrint_test_data): Likewise.
2203         (lrint_test_data) [TEST_FLOAT]: Disable one test.
2204         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2205         (lrint_tonearest_test_data): Test for "inexact" exceptions.
2206         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2207         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2208         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2209         test input.
2210         (lrint_towardzero_test_data): Test for "inexact" exceptions.
2211         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2212         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2213         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2214         that test input.
2215         (lrint_downward_test_data): Test for "inexact" exceptions.
2216         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2217         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2218         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2219         test input.
2220         (lrint_upward_test_data): Test for "inexact" exceptions.
2221         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2222         test input.
2223         (llrint_test_data): Test for "inexact" exceptions.
2224         (llrint_test_data) [TEST_FLOAT]: Disable one test.
2225         (llrint_tonearest_test_data): Test for "inexact" exceptions.
2226         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2227         (llrint_towardzero_test_data): Test for "inexact" exceptions.
2228         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2229         (llrint_downward_test_data): Test for "inexact" exceptions.
2230         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2231         (llrint_upward_test_data): Test for "inexact" exceptions.
2232         (logb_test_data): Likewise.
2233         (logb_downward_test_data): Likewise.
2234         (nextafter_test_data): Likewise.
2235         (nexttoward_test_data): Likewise.
2236         (remainder_test_data): Likewise.
2237         (remquo_test_data): Likewise.
2238         (scalbn_test_data): Likewise.
2239         (scalbln_test_data): Likewise.
2240         (signbit_test_data): Likewise.
2241         (sqrt_test_data): Likewise.
2242         (significand_test_data): Likewise.
2244 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2246         [BZ #15424]
2247         * benchtests/bench-modf.c (struct args): Mark arg0 as
2248         volatile.
2249         * scripts/bench.pl: Mark members of struct args as volatile.
2251 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2253         [BZ # 15497]
2254         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2255         negative infinity on POWER6 or lower.
2256         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2258 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2260         [BZ #15442]
2261         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2262         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2263         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2264         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2265         (_FP_SETQNAN): New macro.
2266         (_FP_SETQNAN_SEMIRAW): Likewise.
2267         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2268         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2269         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2270         (FP_EXTEND): Use _FP_FRAC_SNANP.
2271         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2272         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2273         into account.
2274         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2275         New macro.
2276         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2277         Likewise.
2279 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2281         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2282         with DIVIDE_BY_ZERO_EXCEPTION.
2283         (gamma_test_data): Likewise.
2284         (lgamma_test_data): Likewise.
2285         (log_test_data): Likewise.
2286         (log10_test_data): Likewise.
2287         (log2_test_data): Likewise.
2288         (tgamma_test_data): Likewise.
2290         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2291         (acos_test_tonearest): Likewise.
2292         (acos_test_towardzero): Likewise.
2293         (acos_test_downward): Likewise.
2294         (acos_test_upward): Likewise.
2295         (acosh_test): Likewise.
2296         (asin_test): Likewise.
2297         (asin_test_tonearest): Likewise.
2298         (asin_test_towardzero): Likewise.
2299         (asin_test_downward): Likewise.
2300         (asin_test_upward): Likewise.
2301         (asinh_test): Likewise.
2302         (atan_test): Likewise.
2303         (atanh_test): Likewise.
2304         (atan2_test): Likewise.
2305         (cabs_test): Likewise.
2306         (cacos_test): Likewise.
2307         (cacosh_test): Likewise.
2308         (casin_test): Likewise.
2309         (casinh_test): Likewise.
2310         (catan_test): Likewise.
2311         (catanh_test): Likewise.
2312         (cbrt_test): Likewise.
2313         (ccos_test): Likewise.
2314         (ccosh_test): Likewise.
2315         (cexp_test): Likewise.
2316         (clog_test): Likewise.
2317         (clog10_test): Likewise.
2318         (cos_test): Likewise.
2319         (cos_test_tonearest): Likewise.
2320         (cos_test_towardzero): Likewise.
2321         (cos_test_downward): Likewise.
2322         (cos_test_upward): Likewise.
2323         (cosh_test): Likewise.
2324         (cosh_test_tonearest): Likewise.
2325         (cosh_test_towardzero): Likewise.
2326         (cosh_test_downward): Likewise.
2327         (cosh_test_upward): Likewise.
2328         (cpow_test): Likewise.
2329         (csin_test): Likewise.
2330         (csinh_test): Likewise.
2331         (csqrt_test): Likewise.
2332         (ctan_test): Likewise.
2333         (ctan_test_tonearest): Likewise.
2334         (ctan_test_towardzero): Likewise.
2335         (ctan_test_downward): Likewise.
2336         (ctan_test_upward): Likewise.
2337         (ctanh_test): Likewise.
2338         (ctanh_test_tonearest): Likewise.
2339         (ctanh_test_towardzero): Likewise.
2340         (ctanh_test_downward): Likewise.
2341         (ctanh_test_upward): Likewise.
2342         (erf_test): Likewise.
2343         (erfc_test): Likewise.
2344         (exp_test): Likewise.
2345         (exp_test_tonearest): Likewise.
2346         (exp_test_towardzero): Likewise.
2347         (exp_test_downward): Likewise.
2348         (exp_test_upward): Likewise.
2349         (exp10_test): Likewise.
2350         (exp2_test): Likewise.
2351         (expm1_test): Likewise.
2352         (fmod_test): Likewise.
2353         (gamma_test): Likewise.
2354         (hypot_test): Likewise.
2355         (j0_test): Likewise.
2356         (j1_test): Likewise.
2357         (jn_test): Likewise.
2358         (lgamma_test): Likewise.
2359         (log_test): Likewise.
2360         (log10_test): Likewise.
2361         (log1p_test): Likewise.
2362         (log2_test): Likewise.
2363         (logb_test_downward): Likewise.
2364         (pow_test): Likewise.
2365         (pow_test_tonearest): Likewise.
2366         (pow_test_towardzero): Likewise.
2367         (pow_test_downward): Likewise.
2368         (pow_test_upward): Likewise.
2369         (remainder_test): Likewise.
2370         (remquo_test): Likewise.
2371         (sin_test): Likewise.
2372         (sin_test_tonearest): Likewise.
2373         (sin_test_towardzero): Likewise.
2374         (sin_test_downward): Likewise.
2375         (sin_test_upward): Likewise.
2376         (sincos_test): Likewise.
2377         (sinh_test): Likewise.
2378         (sinh_test_tonearest): Likewise.
2379         (sinh_test_towardzero): Likewise.
2380         (sinh_test_downward): Likewise.
2381         (sinh_test_upward): Likewise.
2382         (sqrt_test): Likewise.
2383         (tan_test): Likewise.
2384         (tan_test_tonearest): Likewise.
2385         (tan_test_towardzero): Likewise.
2386         (tan_test_downward): Likewise.
2387         (tan_test_upward): Likewise.
2388         (tanh_test): Likewise.
2389         (tgamma_test): Likewise.
2390         (y0_test): Likewise.
2391         (y1_test): Likewise.
2392         (yn_test): Likewise.
2394         * math/gen-libm-test.pl (adjust_arg): Remove function.
2395         (special_function): Remove argument $in_func.  Only handle
2396         generating output for tables of tests, not inside functions.
2397         (parse_args): Likewise.
2398         (generate_testfile): Remove variable $in_func.  Update call to
2399         parse_args.
2400         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2401         (MINUS_ZERO_INIT): Rename macro to minus_zero.
2402         (PLUS_INFTY_INIT): Rename macro to plus_infty.
2403         (MINUS_INFTY_INIT): Rename macro to minus_infty.
2404         (QNAN_VALUE_INIT): Rename macro to qnan_value.
2405         (MAX_VALUE_INIT): Rename macro to max_value.
2406         (MIN_VALUE_INIT): Rename macro to min_value.
2407         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2408         (plus_zero): Remove variable.
2409         (minus_zero): Likewise.
2410         (plus_infty): Likewise.
2411         (minus_infty): Likewise.
2412         (qnan_value): Likewise.
2413         (max_value): Likewise.
2414         (min_value): Likewise.
2415         (min_subnorm_value): Likewise.
2417 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2419         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2420         uint64_t or uint32_t usage.
2421         * crypt/sha256-block.c: Likewise.
2422         * crypt/sha256-crypt.c: Likewise.
2423         * crypt/sha256.c: Likewise.
2424         * crypt/sha512-block.c: Likewise.
2425         * crypt/sha512-crypt.c: Likewise.
2426         * crypt/sha512.c: Likewise.
2427         * debug/backtrace-tst.c: Likewise.
2428         * debug/pcprofiledump.c: Likewise.
2429         * elf/cache.c: Likewise.
2430         * elf/dl-cache.c: Likewise.
2431         * elf/dl-misc.c: Likewise.
2432         * elf/dl-profile.c: Likewise.
2433         * elf/dl-support.c: Likewise.
2434         * elf/ldconfig.c: Likewise.
2435         * elf/sprof.c: Likewise.
2436         * iconv/dummy-repertoire.c: Likewise.
2437         * iconv/iconv_charmap.c: Likewise.
2438         * iconv/skeleton.c: Likewise.
2439         * iconvdata/8bit-generic.c: Likewise.
2440         * iconvdata/cp737.h: Likewise.
2441         * iconvdata/cp775.h: Likewise.
2442         * iconvdata/ibm1008.h: Likewise.
2443         * iconvdata/ibm1025.h: Likewise.
2444         * iconvdata/ibm1046.h: Likewise.
2445         * iconvdata/ibm1097.h: Likewise.
2446         * iconvdata/ibm1112.h: Likewise.
2447         * iconvdata/ibm1122.h: Likewise.
2448         * iconvdata/ibm1123.h: Likewise.
2449         * iconvdata/ibm1124.h: Likewise.
2450         * iconvdata/ibm1129.h: Likewise.
2451         * iconvdata/ibm1130.h: Likewise.
2452         * iconvdata/ibm1132.h: Likewise.
2453         * iconvdata/ibm1133.h: Likewise.
2454         * iconvdata/ibm1137.h: Likewise.
2455         * iconvdata/ibm1140.h: Likewise.
2456         * iconvdata/ibm1141.h: Likewise.
2457         * iconvdata/ibm1142.h: Likewise.
2458         * iconvdata/ibm1143.h: Likewise.
2459         * iconvdata/ibm1144.h: Likewise.
2460         * iconvdata/ibm1145.h: Likewise.
2461         * iconvdata/ibm1146.h: Likewise.
2462         * iconvdata/ibm1147.h: Likewise.
2463         * iconvdata/ibm1148.h: Likewise.
2464         * iconvdata/ibm1149.h: Likewise.
2465         * iconvdata/ibm1153.h: Likewise.
2466         * iconvdata/ibm1154.h: Likewise.
2467         * iconvdata/ibm1155.h: Likewise.
2468         * iconvdata/ibm1156.h: Likewise.
2469         * iconvdata/ibm1157.h: Likewise.
2470         * iconvdata/ibm1158.h: Likewise.
2471         * iconvdata/ibm1160.h: Likewise.
2472         * iconvdata/ibm1161.h: Likewise.
2473         * iconvdata/ibm1162.h: Likewise.
2474         * iconvdata/ibm1163.h: Likewise.
2475         * iconvdata/ibm1164.h: Likewise.
2476         * iconvdata/ibm1166.h: Likewise.
2477         * iconvdata/ibm1167.h: Likewise.
2478         * iconvdata/ibm12712.h: Likewise.
2479         * iconvdata/ibm1390.h: Likewise.
2480         * iconvdata/ibm1399.h: Likewise.
2481         * iconvdata/ibm16804.h: Likewise.
2482         * iconvdata/ibm4517.h: Likewise.
2483         * iconvdata/ibm4899.h: Likewise.
2484         * iconvdata/ibm4909.h: Likewise.
2485         * iconvdata/ibm4971.h: Likewise.
2486         * iconvdata/ibm5347.h: Likewise.
2487         * iconvdata/ibm803.h: Likewise.
2488         * iconvdata/ibm856.h: Likewise.
2489         * iconvdata/ibm901.h: Likewise.
2490         * iconvdata/ibm902.h: Likewise.
2491         * iconvdata/ibm9030.h: Likewise.
2492         * iconvdata/ibm9066.h: Likewise.
2493         * iconvdata/ibm921.h: Likewise.
2494         * iconvdata/ibm922.h: Likewise.
2495         * iconvdata/ibm9448.h: Likewise.
2496         * iconvdata/isiri-3342.h: Likewise.
2497         * iconvdata/jis0201.h: Likewise.
2498         * include/link.h: Likewise.
2499         * include/netdb.h: Likewise.
2500         * inet/check_native.c: Likewise.
2501         * inet/check_pf.c: Likewise.
2502         * inet/getipv4sourcefilter.c: Likewise.
2503         * inet/getnameinfo.c: Likewise.
2504         * inet/getsourcefilter.c: Likewise.
2505         * inet/htonl.c: Likewise.
2506         * inet/setipv4sourcefilter.c: Likewise.
2507         * inet/setsourcefilter.c: Likewise.
2508         * inet/test-inet6_opt.c: Likewise.
2509         * inet/tst-network.c: Likewise.
2510         * locale/C-collate.c: Likewise.
2511         * locale/C-ctype.c: Likewise.
2512         * locale/C-time.c: Likewise.
2513         * locale/C-translit.h: Likewise.
2514         * locale/loadarchive.c: Likewise.
2515         * locale/programs/3level.h: Likewise.
2516         * locale/programs/charmap.c: Likewise.
2517         * locale/programs/charmap.h: Likewise.
2518         * locale/programs/ld-address.c: Likewise.
2519         * locale/programs/ld-collate.c: Likewise.
2520         * locale/programs/ld-ctype.c: Likewise.
2521         * locale/programs/ld-identification.c: Likewise.
2522         * locale/programs/ld-measurement.c: Likewise.
2523         * locale/programs/ld-messages.c: Likewise.
2524         * locale/programs/ld-monetary.c: Likewise.
2525         * locale/programs/ld-name.c: Likewise.
2526         * locale/programs/ld-numeric.c: Likewise.
2527         * locale/programs/ld-paper.c: Likewise.
2528         * locale/programs/ld-telephone.c: Likewise.
2529         * locale/programs/ld-time.c: Likewise.
2530         * locale/programs/linereader.c: Likewise.
2531         * locale/programs/locale.c: Likewise.
2532         * locale/programs/locarchive.c: Likewise.
2533         * locale/programs/locfile.h: Likewise.
2534         * locale/programs/repertoire.c: Likewise.
2535         * locale/programs/simple-hash.c: Likewise.
2536         * locale/programs/simple-hash.h: Likewise.
2537         * malloc/memusage.c: Likewise.
2538         * malloc/memusagestat.c: Likewise.
2539         * nis/nis_defaults.c: Likewise.
2540         * nis/nis_hash.c: Likewise.
2541         * nis/nis_print.c: Likewise.
2542         * nis/nis_xdr.c: Likewise.
2543         * nscd/connections.c: Likewise.
2544         * nscd/hstcache.c: Likewise.
2545         * nscd/nscd_gethst_r.c: Likewise.
2546         * nscd/nscd_getserv_r.c: Likewise.
2547         * nscd/nscd_helper.c: Likewise.
2548         * nscd/servicescache.c: Likewise.
2549         * nss/makedb.c: Likewise.
2550         * nss/nss_db/db-XXX.c: Likewise.
2551         * nss/nss_db/db-initgroups.c: Likewise.
2552         * nss/nss_db/db-netgrp.c: Likewise.
2553         * nss/nss_files/files-network.c: Likewise.
2554         * nss/nss_files/files-parse.c: Likewise.
2555         * posix/bug-regex5.c: Likewise.
2556         * posix/fnmatch_loop.c: Likewise.
2557         * posix/regcomp.c: Likewise.
2558         * posix/regexec.c: Likewise.
2559         * posix/tst-rfc3484-2.c: Likewise.
2560         * posix/tst-rfc3484-3.c: Likewise.
2561         * posix/tst-rfc3484.c: Likewise.
2562         * resolv/nss_dns/dns-canon.c: Likewise.
2563         * resolv/nss_dns/dns-network.c: Likewise.
2564         * resolv/res_init.c: Likewise.
2565         * resolv/res_mkquery.c: Likewise.
2566         * resolv/tst-aton.c: Likewise.
2567         * stdlib/cxa_atexit.c: Likewise.
2568         * stdlib/cxa_finalize.c: Likewise.
2569         * stdlib/gen-fpioconst.c: Likewise.
2570         * stdlib/strtol_l.c: Likewise.
2571         * string/tst-endian.c: Likewise.
2572         * sunrpc/auth_des.c: Likewise.
2573         * sunrpc/clnt_udp.c: Likewise.
2574         * sunrpc/rtime.c: Likewise.
2575         * sunrpc/svcauth_des.c: Likewise.
2576         * sunrpc/xdr.c: Likewise.
2577         * sunrpc/xdr_intXX_t.c: Likewise.
2578         * sunrpc/xdr_rec.c: Likewise.
2579         * sysdeps/generic/ldconfig.h: Likewise.
2580         * sysdeps/generic/ldsodefs.h: Likewise.
2581         * sysdeps/generic/memusage.h: Likewise.
2582         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2583         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2584         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2585         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2586         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2587         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2588         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2589         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2590         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2591         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2592         * sysdeps/posix/getaddrinfo.c: Likewise.
2593         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2594         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2595         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2596         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2597         * sysdeps/powerpc/test-gettimebase.c: Likewise.
2598         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2599         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2600         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2601         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2602         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2603         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2604         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2605         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2606         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2607         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2608         * sysdeps/x86_64/dl-tls.h: Likewise.
2609         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2610         * time/alt_digit.c: Likewise.
2611         * time/era.c: Likewise.
2612         * wcsmbs/tst-c16c32-1.c: Likewise.
2614 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2616         * math/libm-test.inc (struct test_sincos_data): New type.
2617         (RUN_TEST_LOOP_sincos): New macro.
2618         (sincos_test_data): New variable.
2619         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2621 2013-05-16  Richard Henderson  <rth@redhat.com>
2623         * math/atest-exp2.c (LIMB64): New macro.
2624         (CONSTSZ): New macro.
2625         (mp_exp1, mp_exp_m1, mp_log2): New variables.
2626         (hexdig): Move ...
2627         (print_mpn_fp): ... to function scope.
2628         (read_mpn_hex): Remove.
2629         (get_log2): Remove.
2630         (exp2_mpn): Use mp_log2.
2631         (main): Use mp_exp1.
2633 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
2635         * math/libm-test.inc: Remove comment about not testing "inexact"
2636         exceptions.
2637         (INEXACT_EXCEPTION): New macro.
2638         (NO_INEXACT_EXCEPTION): Likewise.
2639         (INVALID_EXCEPTION_OK): Update value.
2640         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2641         (OVERFLOW_EXCEPTION_OK): Likewise.
2642         (UNDERFLOW_EXCEPTION_OK): Likewise.
2643         (IGNORE_ZERO_INF_SIGN): Likewise.
2644         (ERRNO_UNCHANGED): Likewise.
2645         (ERRNO_EDOM): Likewise.
2646         (ERRNO_ERANGE): Likewise.
2647         (test_exceptions): Handle testing "inexact" exceptions.
2648         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2649         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2650         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2651         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2652         INEXACT_EXCEPTION.
2653         (rint_towardzero_test_data): Likewise.
2654         (rint_downward_test_data): Likewise.
2655         (rint_upward_test_data): Likewise.
2657         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2658         with OVERFLOW_EXCEPTION.
2659         (exp10_test_data): Likewise.
2660         (exp2_test_data): Likewise.
2661         (expm1_test_data): Likewise.
2662         (lgamma_test_data): Likewise.
2663         (pow_test_data): Likewise.
2664         (tgamma_test_data): Likewise.
2665         (yn_test_data): Remove duplicate test of overflow.
2667         * math/libm-test.inc (struct test_cc_c_data): New type.
2668         (RUN_TEST_LOOP_cc_c): New macro.
2669         (cpow_test_data): New variable.
2670         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2672         * math/libm-test.inc (struct test_f_L_data): New type.
2673         (RUN_TEST_LOOP_f_L): New macro.
2674         (llrint_test_data): New variable.
2675         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2676         (llrint_tonearest_test_data): New variable.
2677         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2678         (llrint_towardzero_test_data): New variable.
2679         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2680         (llrint_downward_test_data): New variable.
2681         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2682         (llrint_upward_test_data): New variable.
2683         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2684         (llround_test_data): New variable.
2685         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2687 2013-05-13  Peter Collingbourne  <pcc@google.com>
2689         * math/atest-exp2.c (get_log2): Remove const attribute.
2691 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2693         * math/libm-test.inc (struct test_f_l_data): New type.
2694         (RUN_TEST_LOOP_f_l): New macro.
2695         (lrint_test_data): New variable.
2696         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2697         (lrint_tonearest_test_data): New variable.
2698         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2699         (lrint_towardzero_test_data): New variable.
2700         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2701         (lrint_downward_test_data): New variable.
2702         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2703         (lrint_upward_test_data): New variable.
2704         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2705         (lround_test_data): New variable.
2706         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2708 2013-05-15  Peter Collingbourne  <pcc@google.com>
2710         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2711         (EXTRACT_WORDS64) Use where appropriate.
2712         (INSERT_WORDS64) Likewise.
2714         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2715         constraints with x constraints.
2716         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2718         * malloc/obstack.c (_obstack_compat): Add initializer.
2720 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
2722         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2723         si_trapno and add si_addr_lsb to _sifields.sigfault.
2724         (si_trapno): Remove macro.
2725         (si_addr_lsb): Define new macro.
2726         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2728 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
2730         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2731         instead of TEST_f_l.
2732         (llrint_test_tonearest): Likewise.
2733         (llrint_test_towardzero): Likewise.
2734         (llrint_test_downward): Likewise.
2735         (llrint_test_upward): Likewise.
2736         (llround_test): Likewise.
2738         * math/libm-test.inc (struct test_f_i_data): Add comment.
2739         (RUN_TEST_LOOP_f_b): New macro.
2740         (RUN_TEST_LOOP_f_b_tg): Likewise.
2741         (finite_test_data): New variable.
2742         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2743         (isfinite_test_data): New variable.
2744         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2745         (isinf_test_data): New variable.
2746         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2747         (isnan_test_data): New variable.
2748         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2749         (isnormal_test_data): New variable.
2750         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2751         (issignaling_test_data): New variable.
2752         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2753         (signbit_test_data): New variable.
2754         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2756         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2757         with INVALID_EXCEPTION.
2758         (acosh_test_data): Likewise.
2759         (asin_test_data): Likewise.
2760         (atanh_test_data): Likewise.
2761         (fmod_test_data): Likewise.
2762         (log_test_data): Likewise.
2763         (log10_test_data): Likewise.
2764         (log2_test_data): Likewise.
2765         (pow_test_data): Likewise.
2766         (sqrt_test_data): Likewise.
2767         (y0_test_data): Likewise.
2768         (y1_test_data): Likewise.
2769         (yn_test_data): Likewise.
2771         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2772         function contents.
2774         * math/libm-test.inc (struct test_ff_i_data): New type.
2775         (RUN_TEST_LOOP_ff_i_tg): New macro.
2776         (isgreater_test_data): New variable.
2777         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2778         (isgreaterequal_test_data): New variable.
2779         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2780         (isless_test_data): New variable.
2781         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2782         (islessequal_test_data): New variable.
2783         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2784         (islessgreater_test_data): New variable.
2785         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2786         (isunordered_test_data): New variable.
2787         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2789 2013-05-14  David S. Miller  <davem@davemloft.net>
2791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2793 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
2795         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2797         * math/libm-test.inc (struct test_fF_f1_data): Change type of
2798         extra_test to int.
2799         (struct test_f_i_data): Change type of max_ulp to int.
2801         * math/libm-test.inc (test_ffI_f1_data): New type.
2802         (RUN_TEST_LOOP_ffI_f1): New macro.
2803         (remquo_test_data): New variable.
2804         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2806         * setjmp/tst-setjmp-fp.c: New file.
2807         * setjmp/Makefile (tests): Add tst-setjmp-fp.
2808         (link-libm): New variable.
2809         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2811         * math/libm-test.inc (struct test_f_i_data): New type.
2812         (RUN_TEST_LOOP_f_i): New macro.
2813         (RUN_TEST_LOOP_f_i_tg): Likewise.
2814         (fpclassify_test_data): New variable.
2815         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2816         (ilogb_test_data): New variable.
2817         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2819         * math/libm-test.inc (scalbln_test): Correct function name in END
2820         call.
2822         * math/libm-test.inc (struct test_f_f1_data): Add comment.
2823         (RUN_TEST_LOOP_fI_f1): New macro.
2824         (frexp_test_data): New variable.
2825         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2827         * math/libm-test.inc (struct test_fF_f1_data): New type.
2828         (RUN_TEST_LOOP_fF_f1): New macro.
2829         (modf_test_data): New variable.
2830         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2832         * math/libm-test.inc (struct test_f_f1_data): New type.
2833         (RUN_TEST_LOOP_f_f1): New macro.
2834         (gamma_test_data): New variable.
2835         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2836         (lgamma_test_data): New variable.
2837         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2839 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
2841         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2842         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2843         (main): Comment "tls" pseudo-hwcap.
2845 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
2847         * math/libm-test.inc (struct test_fl_f_data): New type.
2848         (RUN_TEST_LOOP_fl_f): New variable.
2849         (scalbln_test_data): New variable.
2850         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2852         * math/libm-test.inc (struct test_fi_f_data): New type.
2853         (RUN_TEST_LOOP_fi_f): New macro.
2854         (ldexp_test_data): New variable.
2855         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2856         (scalbn_test_data): New variable.
2857         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2859         * math/libm-test.inc (struct test_c_f_data): New type.
2860         (RUN_TEST_LOOP_c_f): New macro.
2861         (cabs_test_data): New variable.
2862         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2863         (carg_test_data): New variable.
2864         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2865         (cimag_test_data): New variable.
2866         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2867         (creal_test_data): New variable.
2868         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2870         * math/libm-test.inc (struct test_if_f_data): New type.
2871         (RUN_TEST_LOOP_if_f): New macro.
2872         (jn_test_data): New variable.
2873         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2874         (yn_test_data): New variable.
2875         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2877         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2879 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2881         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2882         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2884 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2886         * benchtests/Makefile (CPPFLAGS-nonlib): Add
2887         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2888         (bench-deps): Add bench-timing.h.
2889         * benchtests-bench-skeleton.c: Include bench-timing.h.
2890         (main): Use TIMING_* macros instead of clock_gettime.
2891         * benchtests/bench-timing.h: New file.
2893         [BZ #14582]
2894         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2895         Renamed from _LIB_VERSION.
2896         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2898 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
2900         * math/libm-test.inc (struct test_fff_f_data): New type.
2901         (RUN_TEST_LOOP_fff_f): New macro.
2902         (fma_test_data): New variable.
2903         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2904         (fma_towardzero_test_data): New variable.
2905         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2906         (fma_downward_test_data): New variable.
2907         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2908         (fma_upward_test_data): New variable.
2909         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2911         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2912         (struct test_c_c_data): New type.
2913         (RUN_TEST_LOOP_c_c): New macro.
2914         (cacos_test_data): New variable.
2915         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2916         (cacosh_test_data): New variable.
2917         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2918         (casin_test_data): New variable.
2919         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2920         (casinh_test_data): New variable.
2921         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2922         (catan_test_data): New variable.
2923         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2924         (catanh_test_data): New variable.
2925         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2926         (ccos_test_data): New variable.
2927         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2928         (ccosh_test_data): New variable.
2929         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2930         (cexp_test_data): New variable.
2931         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2932         (clog_test_data): New variable.
2933         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2934         (clog10_test_data): New variable.
2935         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2936         (conj_test_data): New variable.
2937         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2938         (cproj_test_data): New variable.
2939         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2940         (csin_test_data): New variable.
2941         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2942         (csinh_test_data): New variable.
2943         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2944         (csqrt_test_data): New variable.
2945         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2946         (ctan_test_data): New variable.
2947         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2948         (ctan_tonearest_test_data): New variable.
2949         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2950         (ctan_towardzero_test_data): New variable.
2951         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2952         (ctan_downward_test_data): New variable.
2953         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2954         (ctan_upward_test_data): New variable.
2955         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2956         (ctanh_test_data): New variable.
2957         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2958         (ctanh_tonearest_test_data): New variable.
2959         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2960         (ctanh_towardzero_test_data): New variable.
2961         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2962         (ctanh_downward_test_data): New variable.
2963         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2964         (ctanh_upward_test_data): New variable.
2965         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2966         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2967         of BUILD_COMPLEX.
2969         * math/libm-test.inc (struct test_ff_f_data): New type.
2970         (struct test_ff_f_data_nexttoward): Likewise.
2971         (RUN_TEST_LOOP_2_f): New macro.
2972         (RUN_TEST_LOOP_ff_f): Likewise.
2973         (atan2_test_data): New variable.
2974         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2975         (copysign_test_data): New variable.
2976         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2977         (fdim_test_data): New variable.
2978         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2979         (fmax_test_data): New variable.
2980         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2981         (fmin_test_data): New variable.
2982         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2983         (fmod_test_data): New variable.
2984         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2985         (hypot_test_data): New variable.
2986         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2987         (nextafter_test_data): New variable.
2988         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2989         (nexttoward_test_data): New variable.
2990         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2991         (pow_test_data): New variable.
2992         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2993         (pow_tonearest_test_data): New variable.
2994         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2995         (pow_towardzero_test_data): New variable.
2996         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2997         (pow_downward_test_data): New variable.
2998         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2999         (pow_upward_test_data): New variable.
3000         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3001         (remainder_test_data): New variable.
3002         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3003         (scalb_test_data): New variable.
3004         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3005         * sysdeps/i386/fpu/libm-test-ulps: Update.
3007 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
3009         * math/libm-test.inc (fma_test): Use max_value instead of local
3010         variable fltmax.
3011         (nextafter_test): Likewise.
3013         * math/libm-test.inc (acos_towardzero_test_data): New variable.
3014         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3015         (acos_downward_test_data): New variable.
3016         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3017         (acos_upward_test_data): New variable.
3018         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3019         (acosh_test_data): New variable.
3020         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3021         (asin_test_data): New variable.
3022         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3023         (asin_tonearest_test_data): New variable.
3024         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3025         (asin_towardzero_test_data): New variable.
3026         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3027         (asin_downward_test_data): New variable.
3028         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3029         (asin_upward_test_data): New variable.
3030         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3031         (asinh_test_data): New variable.
3032         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3033         (atan_test_data): New variable.
3034         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3035         (atanh_test_data): New variable.
3036         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3037         (cbrt_test_data): New variable.
3038         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3039         (ceil_test_data): New variable.
3040         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3041         (cos_test_data): New variable.
3042         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3043         (cos_tonearest_test_data): New variable.
3044         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3045         (cos_towardzero_test_data): New variable.
3046         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3047         (cos_downward_test_data): New variable.
3048         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3049         (cos_upward_test_data): New variable.
3050         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3051         (cosh_test_data): New variable.
3052         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3053         (cosh_tonearest_test_data): New variable.
3054         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3055         (cosh_towardzero_test_data): New variable.
3056         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3057         (cosh_downward_test_data): New variable.
3058         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3059         (cosh_upward_test_data): New variable.
3060         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3061         (erf_test_data): New variable.
3062         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3063         (erfc_test_data): New variable.
3064         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3065         (exp_test_data): New variable.
3066         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3067         (exp_tonearest_test_data): New variable.
3068         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3069         (exp_towardzero_test_data): New variable.
3070         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3071         (exp_downward_test_data): New variable.
3072         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3073         (exp_upward_test_data): New variable.
3074         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3075         (exp10_test_data): New variable.
3076         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3077         (exp2_test_data): New variable.
3078         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3079         (expm1_test_data): New variable.
3080         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3081         (fabs_test_data): New variable.
3082         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3083         (floor_test_data): New variable.
3084         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3085         (j0_test_data): New variable.
3086         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3087         (j1_test_data): New variable.
3088         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3089         (log_test_data): New variable.
3090         (log_test): Run tests with RUN_TEST_LOOP_f_f.
3091         (log10_test_data): New variable.
3092         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3093         (log1p_test_data): New variable.
3094         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3095         (log2_test_data): New variable.
3096         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3097         (logb_test_data): New variable.
3098         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3099         (logb_downward_test_data): New variable.
3100         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3101         (nearbyint_test_data): New variable.
3102         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3103         (rint_test_data): New variable.
3104         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3105         (rint_tonearest_test_data): New variable.
3106         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3107         (rint_towardzero_test_data): New variable.
3108         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3109         (rint_downward_test_data): New variable.
3110         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3111         (rint_upward_test_data): New variable.
3112         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3113         (round_test_data): New variable.
3114         (round_test): Run tests with RUN_TEST_LOOP_f_f.
3115         (sin_test_data): New variable.
3116         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3117         (sin_tonearest_test_data): New variable.
3118         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3119         (sin_towardzero_test_data): New variable.
3120         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3121         (sin_downward_test_data): New variable.
3122         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3123         (sin_upward_test_data): New variable.
3124         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3125         (sinh_test_data): New variable.
3126         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3127         (sinh_tonearest_test_data): New variable.
3128         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3129         (sinh_towardzero_test_data): New variable.
3130         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3131         (sinh_downward_test_data): New variable.
3132         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3133         (sinh_upward_test_data): New variable.
3134         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3135         (sqrt_test_data): New variable.
3136         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3137         (tan_test_data): New variable.
3138         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3139         (tan_tonearest_test_data): New variable.
3140         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3141         (tan_towardzero_test_data): New variable.
3142         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3143         (tan_downward_test_data): New variable.
3144         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3145         (tan_upward_test_data): New variable.
3146         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3147         (tanh_test_data): New variable.
3148         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3149         (tgamma_test_data): New variable.
3150         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3151         (trunc_test_data): New variable.
3152         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3153         (y0_test_data): New variable.
3154         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3155         (y1_test_data): New variable.
3156         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3157         (significand_test_data): New variable.
3158         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3160 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
3162         [BZ #12387]
3163         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3165 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
3167         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3169 2013-05-10  Andreas Jaeger  <aj@suse.de>
3171         [BZ #15448]
3172         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3173         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3175 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3177         * math/gen-libm-test.pl (adjust_arg): New function.
3178         (special_functions): Handle generating output in both functions
3179         and arrays.
3180         (parse_args): Likewise.
3181         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
3182         $in_func argument to parse_args.
3183         * math/libm-test.inc (struct test_f_f_data): New type.
3184         (IF_ROUND_INIT_): New macro.
3185         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3186         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3187         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3188         (IF_ROUND_INIT_FE_UPWARD): Likewise.
3189         (ROUND_RESTORE_): Likewise.
3190         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3191         (ROUND_RESTORE_FE_TONEAREST): Likewise.
3192         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3193         (ROUND_RESTORE_FE_UPWARD): Likewise.
3194         (RUN_TEST_LOOP_f_f): New macro.
3195         (acos_test_data): New variable.
3196         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3197         (acos_tonearest_test_data): New variable.
3198         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3200 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3202         * benchtests/bench-skeleton.c (startup): Fix coding style.
3204 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
3206         [BZ #6809]
3207         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3208         negative infinity argument.
3209         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3210         negative infinity argument.
3211         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3212         negative infinity argument.
3213         * math/libm-test.inc (tgamma_test): Expect errno to be set for
3214         domain errors.
3216 2013-05-10  Florian Weimer  <fweimer@redhat.com>
3218         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3219         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3220         * iconv/iconv_prog.c (main): Likewise.
3221         * locale/programs/charmap-dir.c (charmap_readdir)
3222         (fopen_uncompressed): Likewise.
3223         * locale/programs/locfile.c (siblings_uncached)
3224         (write_locale_data): Use lstat64 instead of lstat.
3225         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3226         stat.
3228 2013-05-10  Andreas Jaeger  <aj@suse.de>
3230         [BZ #15395]
3231         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3232         localization.
3233         Include <locale.h>.
3235 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
3237         * elf/dl-close.c (_dl_close_worker): Add comments.
3239 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
3241         [BZ #15359]
3242         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3243         high part of pi/2.
3244         (__ieee754_rem_pio2l): Update comments.
3246         [BZ #15429]
3247         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3248         high part of pi/2.
3249         (__ieee754_rem_pio2l): Update comments.
3251         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3252         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3254         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3255         M_PI_4l.
3257         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3258         (M_PI_34_LOG10El): Likewise.
3259         (M_PI2_LOG10El): Likewise.
3260         (M_PI4_LOG10El): Likewise.
3261         (M_PI_LOG10El): Likewise.
3263 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3267 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
3269         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3270         (MINUS_ZERO_INIT): Likewise.
3271         (PLUS_INFTY_INIT): Likewise.
3272         (MINUS_INFTY_INIT): Likewise.
3273         (QNAN_VALUE_INIT): Likewise.
3274         (MAX_VALUE_INIT): Likewise.
3275         (MIN_VALUE_INIT): Likewise.
3276         (MIN_SUBNORM_VALUE_INIT): Likewise.
3277         (plus_zero): Initialize with PLUS_ZERO_INIT.
3278         (minus_zero): Initialize with MINUS_ZERO_INIT.
3279         (plus_infty): Initialize with PLUS_INFTY_INIT.
3280         (minus_infty): Initialize with MINUS_INFTY_INIT.
3281         (qnan_value): Initialize with QNAN_VALUE_INIT.
3282         (max_value): Initialize with MAX_VALUE_INIT.
3283         (min_value): Initialize with MIN_VALUE_INIT.
3284         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3286         * math/libm-test.inc (RUN_TEST_if_f): New macro.
3287         (jn_test): Use TEST_if_f instead of TEST_ff_f.
3288         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3289         (yn_test): Use TEST_if_f instead of TEST_ff_f.
3291         * math/libm-test.inc (RUN_TEST_f_f): New macro.
3292         (RUN_TEST_2_f): Likewise.
3293         (RUN_TEST_ff_f): Likewise.
3294         (RUN_TEST_fi_f): Likewise.
3295         (RUN_TEST_fl_f): Likewise.
3296         (RUN_TEST_fff_f): Likewise.
3297         (RUN_TEST_c_f): Likewise.
3298         (RUN_TEST_f_f1): Likewise.
3299         (RUN_TEST_fF_f1): Likewise.
3300         (RUN_TEST_fI_f1): Likewise.
3301         (RUN_TEST_ffI_f1): Likewise.
3302         (RUN_TEST_c_c): Likewise.
3303         (RUN_TEST_cc_c): Likewise.
3304         (RUN_TEST_f_i): Likewise.
3305         (RUN_TEST_f_i_tg): Likewise.
3306         (RUN_TEST_ff_i_tg): Likewise.
3307         (RUN_TEST_f_b): Likewise.
3308         (RUN_TEST_f_b_tg): Likewise.
3309         (RUN_TEST_f_l): Likewise.
3310         (RUN_TEST_f_L): Likewise.
3311         (RUN_TEST_sincos): Likewise.
3312         * math/gen-libm-test.pl (new_test): Take new argument to indicate
3313         whether to show exceptions.  Do not include ");\n" in return
3314         value.
3315         (special_functions): Output call to RUN_TEST_sincos instead of
3316         check_float calls.  Update calls to new_test.
3317         (parse_args): Output call to single RUN_TEST_* macro instead of
3318         check_* calls and other assignments.  Update calls to new_test.
3320         [BZ #2546]
3321         [BZ #2560]
3322         [BZ #5159]
3323         [BZ #15426]
3324         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3325         input to result for tgamma overflow.
3326         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3327         (gamma_coeff): New variable.
3328         (NCOEFF): New macro.
3329         (gamma_positive): New function.
3330         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3331         underflow here.  Use gamma_positive instead of exp (lgamma) for
3332         other arguments.
3333         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3334         (gamma_coeff): New variable.
3335         (NCOEFF): New macro.
3336         (gammaf_positive): New function.
3337         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3338         underflow here.  Use gamma_positive instead of exp (lgamma) for
3339         other arguments.
3340         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3341         (gamma_coeff): New variable.
3342         (NCOEFF): New macro.
3343         (gammal_positive): New function.
3344         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3345         underflow here.  Use gamma_positive instead of exp (lgamma) for
3346         other arguments.
3347         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3348         (gamma_coeff): New variable.
3349         (NCOEFF): New macro.
3350         (gammal_positive): New function.
3351         (__ieee754_gammal_r): Handle positive infinity, overflow and
3352         underflow here.  Handle NaN the same as positive infinity.  Remove
3353         check x < 0xffffffff for negative integers.  Use gamma_positive
3354         instead of exp (lgamma) for other arguments.
3355         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3356         (gamma_coeff): New variable.
3357         (NCOEFF): New macro.
3358         (gammal_positive): New function.
3359         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3360         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3361         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3362         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3363         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3364         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3365         * sysdeps/generic/math_private.h (__gamma_productf): New
3366         prototype.
3367         (__gamma_product): Likewise.
3368         (__gamma_productl): Likewise.
3369         * math/Makefile (libm-calls): Add gamma_product.
3370         * math/libm-test.inc (tgamma_test): Add more tests.
3371         * sysdeps/i386/fpu/libm-test-ulps: Update.
3372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3374 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
3376         * benchtests/bench-skeleton.c (main): Preheat CPU.
3378 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
3380         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3382 2013-05-07  Roland McGrath  <roland@hack.frob.com>
3384         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3385         and _dl_skip_args_internal.
3387 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
3389         * manual/message.texi (Message Translation): Talk about users.
3390         Message to key mapping impacts design.
3392 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3394         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3396         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3398         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3399         * sysdeps/wordsize-64/glob64.c: ... here.
3401         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3402         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3403         New macros.
3405         * debug/getlogin_r_chk.c: Moved to ...
3406         * login/getlogin_r_chk.c: ... here.
3407         * debug/Makefile (routines): Move getlogin_r_chk to ...
3408         * login/Makefile (routines): ... here.
3409         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3410         * login/Versions (libc: GLIBC_2.4): ... here.
3412         * io/poll.c (__poll): Renamed from poll.
3413         Add libc_hidden_def.
3414         (poll): Define as weak alias.
3416         * debug/ptsname_r_chk.c: Moved to ...
3417         * login/ptsname_r_chk.c: ... here.
3418         * debug/Makefile (routines): Move ptsname_r_chk to ...
3419         * login/Makefile (routines): ... here.
3420         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3421         * login/Versions (libc: GLIBC_2.4): ... here.
3423         * posix/getlogin.c: Moved to ...
3424         * login/getlogin.c: ... here.
3425         * posix/getlogin_r.c: Moved to ...
3426         * login/getlogin_r.c: ... here.
3427         * posix/getlogin_r.c: Moved to ...
3428         * login/getlogin_r.c: ... here.
3429         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3430         * login/Makefile (routines): ... here.
3431         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3432         * login/Versions (libc: GLIBC_2.0): ... here.
3434         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3435         (setrlimit): Define as weak alias.
3437         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3438         Call __ names for open, ftruncate, and close.
3439         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3440         (truncate): Define as weak alias.
3442 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
3444         * math/gen-libm-test.pl (parse_args): Initialize x before each
3445         test of frexp, modf and remquo.
3447         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3448         test signgam value.
3450 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3452         [BZ #15418]
3453         [BZ #15419]
3454         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3455         internal tests.
3456         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3458 2013-05-06  Roland McGrath  <roland@hack.frob.com>
3460         * elf/dl-writev.h: New file.
3461         * elf/dl-misc.c: Include it.
3462         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3463         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3465 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
3467         * math/libm-test.inc (noXFails): Remove variable.
3468         (noXPasses): Likewise.
3469         (BUILD_COMPLEX_INT): Remove macro.
3470         (print_screen): Remove xfail argument.
3471         (print_screen_max_error): Likewise.
3472         (update_stats): Likewise.
3473         (print_max_error): Likewise.  Update calls to other affected
3474         functions.
3475         (print_complex_max_error): Likewise.
3476         (test_single_exception): Update calls to print_screen.
3477         (test_single_errno): Likewise.
3478         (check_float_internal): Remove xfail argument.  Update calls to
3479         other affected functions.
3480         (check_float): Likewise.
3481         (check_complex): Likewise.
3482         (check_int): Likewise.
3483         (check_long): Likewise.
3484         (check_bool): Likewise.
3485         (check_longlong): Likewise.
3486         (main): Don't print noXFails and noXPasses.
3487         * math/gen-libm-test.pl (top level): Don't mention expected
3488         failure handling in comment.
3489         (new_test): Don't handle expected failures.
3490         (parse_args): Don't mention expected failure handling in comment.
3491         (generate_testfile): Don't handle expected failures.
3492         (parse_ulps): Likewise.
3493         (print_ulps_file): Likewise.
3494         (get_failure): Remove function.
3495         (output_test): Don't handle expected failures.
3496         * make/README.libm-test: Don't mention expected failure handling.
3498         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
3499         (minus_zero): Likewise.
3500         (plus_infty): Likewise.
3501         (minus_infty): Likewise.
3502         (qnan_value): Likewise.
3503         (max_value): Likewise.
3504         (min_value): Likewise.
3505         (min_subnorm_value): Likewise.
3506         (initialize): Do not initialize those variables dynamically.
3508 2013-05-03  Roland McGrath  <roland@hack.frob.com>
3510         * io/open.c (__open_2): Moved to ...
3511         * io/open_2.c: ... this new file.
3512         * io/open64.c (__open64_2): Moved to ...
3513         * io/open64_2.c: ... this new file.
3514         * io/openat.c (__openat_2): Moved to ...
3515         * io/openat_2.c: ... this new file.
3516         * io/openat64.c (__openat64_2): Moved to ...
3517         * io/openat64_2.c: ... this new file.
3518         * io/Makefile (routines): Add them.
3519         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3520         * sysdeps/unix/sysv/linux/open_2.c: File removed.
3521         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3522         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3523         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3524         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3525         (__openat64): Add hidden_ver.
3526         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3527         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3529         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3530         Separately conditionalize setting of GLRO(dl_sysinfo) so
3531         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3532         as well, but the actual setting is only under [NEED_DL_SYSINFO].
3534 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3536         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3537         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3538         definition.
3539         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3540         * sysdeps/unix/sysv/linux/powerpc/init-first.c
3541         (_libc_vdso_platform_setup): Add __vdso_time initialization.
3542         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3543         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3545 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
3547         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3548         test signgam value.
3550         * math/libm-test.inc (hypot_test): Do not use
3551         IGNORE_ZERO_INF_SIGN.
3553 2013-05-03  Andreas Jaeger  <aj@suse.de>
3555         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3556         Linux 3.9.
3557         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3558         (PF_MAX): Adjust for VSOCK change.
3560 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3562         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3564 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
3566         [BZ #15264]
3567         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3568         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3569         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3571 2013-05-02  David S. Miller  <davem@davemloft.net>
3573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3575 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
3577         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3579 2013-05-01  Roland McGrath  <roland@hack.frob.com>
3581         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3583 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
3585         [BZ #14952]
3586         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3587         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3588         Use __attribute__ ((__gnu_inline__)).
3589         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3590         Don't use __attribute__ ((__gnu_inline__)).
3592 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
3594         [BZ #15423]
3595         * math/s_catan.c (__catan): Handle small real or imaginary part of
3596         input specially to avoid spurious underflow.
3597         * math/s_catanf.c (__catanf): Likewise.
3598         * math/s_catanh.c (__catanh): Likewise.
3599         * math/s_catanhf.c (__catanhf): Likewise.
3600         * math/s_catanhl.c (__catanhl): Likewise.
3601         * math/s_catanl.c (__catanl): Likewise.
3602         * math/libm-test.inc (catan_test): Add more tests.
3603         (catanh_test): Likewise.
3604         * sysdeps/i386/fpu/libm-test-ulps: Update.
3605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3607 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3611 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
3613         [BZ #15416]
3614         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3615         accurately for denominator in atan2.
3616         * math/s_catanf.c (__catanf): Likewise.
3617         * math/s_catanh.c (__catanh): Likewise.
3618         * math/s_catanhf.c (__catanhf): Likewise.
3619         * math/s_catanhl.c (__catanhl): Likewise.
3620         * math/s_catanl.c (__catanl): Likewise.
3621         * math/libm-test.inc (catan_test): Add more tests.
3622         (catanh_test): Likewise.
3623         * sysdeps/i386/fpu/libm-test-ulps: Update.
3624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3626 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3628         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3630         * benchtests/Makefile (bench): Remove slow benchmarks.
3631         * benchtests/atan-inputs: Add slow benchmark inputs.
3632         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3633         (BENCH_FUNC): Accept variant offset.
3634         (VARIANT): Define.
3635         * benchtests/bench-skeleton.c (main): Run benchmark for each
3636         variant.
3637         * benchtests/cos-inputs: Add slow benchmark inputs.
3638         * benchtests/exp-inputs: Likewise.
3639         * benchtests/pow-inputs: Likewise.
3640         * benchtests/sin-inputs: Likewise.
3641         * benchtests/slowatan-inputs: Remove.
3642         * benchtests/slowatan.c: Remove.
3643         * benchtests/slowcos-inputs: Remove.
3644         * benchtests/slowcos.c: Remove.
3645         * benchtests/slowexp-inputs: Remove.
3646         * benchtests/slowexp.c: Remove.
3647         * benchtests/slowpow-inputs: Remove.
3648         * benchtests/slowpow.c: Remove.
3649         * benchtests/slowsin-inputs: Remove.
3650         * benchtests/slowsin.c: Remove.
3651         * benchtests/slowtan-inputs: Remove.
3652         * benchtests/slowtan.c: Remove.
3653         * benchtests/tan-inputs: Add slow benchmark inputs.
3654         * scripts/bench.pl: Parse comments and directives.
3656         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
3657         in CPPFLAGS.
3658         ($(objpfx)bench-%.c): Remove *-ITER.
3659         * benchtests/bench-modf.c: Remove definition of ITER.
3660         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3661         (main): Loop for DURATION seconds instead of fixed number of
3662         iterations.
3663         * scripts/bench.pl: Don't expect iterations in parameters.
3665 2013-04-29  Roland McGrath  <roland@hack.frob.com>
3667         * io/fchdir.c (__fchdir): Renamed from fchdir.
3668         (fchdir): Define as weak alias.
3670 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3672         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3673         (ERRNO_EDOM): Likewise.
3674         (ERRNO_ERANGE): Likewise.
3675         (noErrnoTests): New variable.
3676         (init_max_error): Set errno to 0.
3677         (test_single_errno): New function.
3678         (test_errno): Likewise.
3679         (check_float_internal): Call test_errno.  Set errno to 0.
3680         (check_complex): Refer to errno tests in comment.
3681         (check_int): Call test_errno.  Set errno to 0.
3682         (check_long): Likewise.
3683         (check_bool): Likewise.
3684         (check_longlong): Likewise.
3685         (cos_test): Use ERRNO_* flags for errno tests instead of
3686         check_int.
3687         (expm1_test): Likewise.
3688         (fmod_test): Likewise.
3689         (ilogb_test): Likewise.
3690         (lgamma_test): Likewise.
3691         (pow_test): Likewise.
3692         (remainder_test): Likewise.
3693         (sin_test): Likewise.
3694         (tan_test): Likewise.
3695         (yn_test): Likewise.
3696         (initialize): Set errno to 0.
3697         (main): Print number of errno tests.
3698         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3700 2013-04-29  Andreas Jaeger  <aj@suse.de>
3702         [BZ #15084]
3703         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3704         and RES_USEVC.
3706         [BZ #15085]
3707         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3708         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3709         unimplemented.
3711         [BZ #15380]
3712         * stdlib/random.c (__initstate): Return NULL if
3713         __initstate fails.
3715         [BZ #15086]
3716         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3717         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3718         RES_SNGLKUPREOP.
3720 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3724 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
3726         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3727         of individual tests.
3728         (casin_test): Likewise.
3729         (casinh_test): Likewise.
3731 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
3733         [BZ #15409]
3734         * math/s_catan.c (__catan): Handle arguments with large real or
3735         imaginary part separately without squaring.
3736         * math/s_catanf.c (__catanf): Likewise.
3737         * math/s_catanh.c (__catanh): Likewise.
3738         * math/s_catanhf.c (__catanhf): Likewise.
3739         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3740         and redefine.
3741         (__catanhl): Handle arguments with large real or imaginary part
3742         separately without squaring.
3743         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3744         and redefine.
3745         (__catanl): Handle arguments with large real or imaginary part
3746         separately without squaring.
3747         * math/libm-test.inc (catan_test): Add more tests.
3748         (catanh_test): Likewise.
3749         * sysdeps/i386/fpu/libm-test-ulps: Update.
3750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3752 2013-04-27  Andreas Jaeger  <aj@suse.de>
3754         [BZ #15007]
3755         * stdlib/stdlib.h: Update guards for qecvt.
3756         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3757         <stdlib.h>.
3759 2013-04-27  Allan McRae  <allan@archlinux.org>
3761         * sysdeps/i386/fpu/libm-test-ulps: Update.
3763 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
3765         [BZ #15406]
3766         * math/s_catan.c: Include <float.h>.
3767         (__catan): Ensure underflow exception occurs for underflowed
3768         result.
3769         * math/s_catanf.c: Include <float.h>.
3770         (__catanf): Ensure underflow exception occurs for underflowed
3771         result.
3772         * math/s_catanh.c: Include <float.h>.
3773         (__catanh): Ensure underflow exception occurs for underflowed
3774         result.
3775         * math/s_catanhf.c: Include <float.h>.
3776         (__catanhf): Ensure underflow exception occurs for underflowed
3777         result.
3778         * math/s_catanhl.c: Include <float.h>.
3779         (__catanhl): Ensure underflow exception occurs for underflowed
3780         result.
3781         * math/s_catanl.c: Include <float.h>.
3782         (__catanl): Ensure underflow exception occurs for underflowed
3783         result.
3784         * math/libm-test.inc (catan_test): Add more tests.
3785         (catanh_test): Likewise.
3787         [BZ #15405]
3788         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3789         underflowed result.
3790         * math/s_ccoshf.c (__ccoshf): Likewise.
3791         * math/s_ccoshl.c (__ccoshl): Likewise.
3792         * math/s_csin.c (__csin): Likewise.
3793         * math/s_csinf.c (__csinf): Likewise.
3794         * math/s_csinh.c (__csinh): Likewise.
3795         * math/s_csinhf.c (__csinhf): Likewise.
3796         * math/s_csinhl.c (__csinhl): Likewise.
3797         * math/s_csinl.c (__csinl): Likewise.
3798         * math/libm-test.inc (ccos_test): Add more tests.
3799         (ccosh_test): Likewise.
3800         (csin_test): Likewise.
3801         (csinh_test): Likewise.
3803 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3805         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3806         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3807         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3808         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3809         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3810         powerpc/power5+/fpu folders.
3811         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3814 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
3816         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3818 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
3820         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3821         additions to variable.
3822         [$(config-machine) = x86_64] (modules-names): Likewise.
3823         ($(objpfx)tst-audit3): Remove dependency.
3824         ($(objpfx)tst-audit3.out): Likewise.
3825         ($(objpfx)tst-audit4): Likewise.
3826         ($(objpfx)tst-audit4.out): Likewise.
3827         ($(objpfx)tst-audit5): Likewise.
3828         ($(objpfx)tst-audit5.out): Likewise.
3829         ($(objpfx)tst-audit6): Likewise.
3830         ($(objpfx)tst-audit6.out): Likewise.
3831         ($(objpfx)tst-audit7): Likewise.
3832         ($(objpfx)tst-audit7.out): Likewise.
3833         (tst-audit3-ENV): Remove variable.
3834         (tst-audit4-ENV): Likewise.
3835         (tst-audit5-ENV): Likewise.
3836         (tst-audit6-ENV): Likewise.
3837         (tst-audit7-ENV): Likewise.
3838         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3839         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3840         addition to variable.
3841         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3842         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3843         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3844         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3845         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3846         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3847         tst-audit3, tst-audit4 and tst-audit5.
3848         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3849         tst-audit6 and tst-audit7.
3850         [$(subdir) = elf] (modules-names): Add audit modules for those
3851         tests.
3852         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3853         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3854         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3855         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3856         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3857         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3858         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3859         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3860         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3861         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3862         [$(subdir) = elf] (tst-audit3-ENV): New variable.
3863         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3864         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3865         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3866         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3867         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3868         Likewise.
3869         [$(subdir) = elf && $(config-cflags-avx) = yes]
3870         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3871         [$(subdir) = elf && $(config-cflags-avx) = yes]
3872         (CFLAGS-tst-auditmod4a.c): Likewise.
3873         [$(subdir) = elf && $(config-cflags-avx) = yes]
3874         (CFLAGS-tst-auditmod4b.c): Likewise.
3875         [$(subdir) = elf && $(config-cflags-avx) = yes]
3876         (CFLAGS-tst-auditmod6b.c): Likewise.
3877         [$(subdir) = elf && $(config-cflags-avx) = yes]
3878         (CFLAGS-tst-auditmod6c.c): Likewise.
3879         [$(subdir) = elf && $(config-cflags-avx) = yes]
3880         (CFLAGS-tst-auditmod7b.c): Likewise.
3881         * elf/tst-audit3.c: Move to ...
3882         * sysdeps/x86_64/tst-audit3.c: ... here.
3883         * elf/tst-audit4.c: Move to ...
3884         * sysdeps/x86_64/tst-audit4.c: ... here.
3885         * elf/tst-audit5.c: Move to ...
3886         * sysdeps/x86_64/tst-audit5.c: ... here.
3887         * elf/tst-audit6.c: Move to ...
3888         * sysdeps/x86_64/tst-audit6.c: ... here.
3889         * elf/tst-audit7.c: Move to ...
3890         * sysdeps/x86_64/tst-audit7.c: ... here.
3891         * elf/tst-auditmod3a.c: Move to ...
3892         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3893         * elf/tst-auditmod3b.c: Move to ...
3894         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3895         * elf/tst-auditmod4a.c: Move to ...
3896         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3897         * elf/tst-auditmod4b.c: Move to ...
3898         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3899         * elf/tst-auditmod5a.c: Move to ...
3900         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3901         * elf/tst-auditmod5b.c: Move to ...
3902         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3903         * elf/tst-auditmod6a.c: Move to ...
3904         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3905         * elf/tst-auditmod6b.c: Move to ...
3906         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3907         * elf/tst-auditmod6c.c: Move to ...
3908         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3909         * elf/tst-auditmod7a.c: Move to ...
3910         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3911         * elf/tst-auditmod7b.c: Move to ...
3912         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3914 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
3916         [BZ #15366]
3917         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3918         define unconditionally.
3919         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3920         define unconditionally.
3921         (INT8_C, INT16_C, etc.): Likewise.
3923 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
3925         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3926         __ehdr_start with hidden visibility.
3928         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3930 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
3932         * math/libm-test.inc (cos_test): Use accurate hex constants.
3933         (sincost_test): Likewise.
3935 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
3937         * math/libm-test.inc (catan_test): Add more tests.
3938         (catanh_test): Likewise.
3940         * math/s_catanf.c (__catanf): Use suffixed floating-point
3941         constants.
3942         * math/s_catanhf.c (__catanhf): Likewise.
3943         * math/s_catanhl.c (__catanhl): Likewise.
3944         * math/s_catanl.c (__catanl): Likewise.
3946         [BZ #15394]
3947         * math/s_catan.c (__catan): Calculate imaginary part of result
3948         with log1p not log unless computing log of number close to 0.
3949         * math/s_catanf.c (__catanf): Likewise.
3950         * math/s_catanl.c (__catanl): Likewise.
3951         * math/s_catanh.c (__catanh): Calculate real part of result with
3952         log1p not log unless computing log of number close to 0.
3953         * math/s_catanhf.c (__catanhf): Likewise.
3954         * math/s_catanhl.c (__catanhl): Likewise.
3955         * math/libm-test.inc (catan_test): Add more tests.
3956         (catanh_test): Likewise.
3957         * sysdeps/i386/fpu/libm-test-ulps: Update.
3958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3960 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3962         * benchtests/Makefile: Mention files in which fast and slow
3963         paths of math functions are implemented.
3965 2013-04-23  Roland McGrath  <roland@hack.frob.com>
3967         * sysdeps/posix/timespec_get.c: New file.
3969 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3971         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3972         POWER.
3973         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3974         for POWER.
3975         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3976         powerpc/power5/fpu folders.
3977         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3978         * benchtests/Makefile: Add modf testcase.
3979         * benchtests/bench-modf.c: New file: Benchmark test for mo
3981 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3983         [BZ #14888]
3984         * time/Makefile (tests): Add tst-strptime-whitespace.
3985         * time/strptime_l.c (get_number): Use ISSPACE.
3986         (__strptime_internal): Likewise.
3987         * time/tst-strptime-whitespace.c: New test case.
3989 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
3991         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3992         member.
3993         (_nss_files_init): Set it here.
3995 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
3997         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3998         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3999         unsigned.
4001 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
4003         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4005 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4007         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4008         size just once.
4010 2013-04-21  David S. Miller  <davem@davemloft.net>
4012         * po/ru.po: Update Russion translation from translation project.
4014 2013-04-17  Adam Conrad  <adconrad@0c3.net>
4016         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4017         and setfsgid.
4019 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
4021         * configure.in: Remove i386 configure warning. Remove i386 case.
4022         * configure: Regenerate.
4023         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
4024         Add example to error message.
4025         * sysdeps/i386/configure: Regenerate.
4027 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4029         * benchtests/Makefile (bench): Add cos, tan, slowcos and
4030         slowtan.
4031         * benchtests/cos-inputs: New file.
4032         * benchtests/slowcos-inputs: New file.
4033         * benchtests/slowcos.c: New file.
4034         * benchtests/slowtan-inputs: New file.
4035         * benchtests/slowtan.c: New file.
4036         * benchtests/tan-inputs: New file.
4038 2013-04-16  Roland McGrath  <roland@hack.frob.com>
4040         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4041         considered kosher.
4043 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4045         * benchtests/Makefile: Include cppflags-iterator.mk to add
4046         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4048         * Makefile.in (bench-clean): New target.
4049         * benchtests/Makefile (bench-clean): Likewise.
4051 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
4053         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4055 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
4057         * stdio-common/tstdiomisc.c: Fix coding-style violation.
4059 2013-04-15  Andreas Schwab  <schwab@suse.de>
4061         * nscd/grpcache.c (cache_addgr): Properly check for short write.
4062         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4063         * nscd/pwdcache.c (cache_addpw): Likewise.
4064         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
4065         more than recsize.
4067 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4069         * benchtests/Makefile (bench): Write all output to
4070         bench-out.tmp together.
4072 2013-04-15  Andreas Schwab  <schwab@suse.de>
4074         * nscd/nscd.c (main): Don't fork again after closing files.
4076 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4078         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4080         * benchtests/Rules (bench-deps): Collect dependencies into a
4081         single variable.  Add Makefile to dependencies.
4082         ($(objpfx)bench-%.c): Depend on bench-deps.
4084 2013-04-12  Roland McGrath  <roland@hack.frob.com>
4085             Xavier Roche  <roche+kml2@exalead.com>
4087         [BZ #15361]
4088         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4089         just that it's a file descriptor.
4090         * manual/llio.texi (Synchronizing AIO Operations): Update description
4091         for EBADF error from aio_fsync.
4093 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4095         * Rules (bench): Move target definition...
4096         * benchtests/Makefile: ... here.
4098 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
4100         * math/libm-test.inc (cos_test): Fix PI/2 test.
4101         (sincos_test): Likewise.
4102         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4103         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4105 2013-04-11  Andreas Schwab  <schwab@suse.de>
4107         [BZ #13988]
4108         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4109         accept exponent character only when digits were seen.
4110         * stdio-common/Makefile (tests): Add bug26.
4111         * stdio-common/bug26.c: New file.
4113         [BZ #14293]
4114         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4115         non-freeable.
4117 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4119         * Makeconfig (rtld-prefix): Define built linker prefix.
4120         * Rules (run-bench): Use it.
4121         * math/Makefile (run-regen-ulps): Likewise.
4123         * Rules (bench): Remove eval.
4125 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4126             Roland McGrath  <roland@hack.frob.com>
4127             Ondrej Bilka  <neleai@seznam.cz>
4129         [BZ #15346]
4130         * time/getdate.c: Include ctype.h and alloca.h.
4131         (__getdate_r): Trim leading and trailing spaces of input.
4132         * time/tst-getdate.c (tests): Add tests with leading and
4133         trailing spaces.
4135 2013-04-08  Roland McGrath  <roland@hack.frob.com>
4137         [BZ #14280]
4138         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4139         when computing value.
4141 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4143         * math/README.libm-test (How can I generate "libm-test-ulps"?):
4144         Use testrun.sh to run libm tests.
4146         [BZ #15309]
4147         * elf/dl-open.c (dl_open_worker): memset all of seen array.
4149 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
4151         [BZ #15264]
4152         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4154 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4156         * Makefile.in (regen-ulps): New target.
4157         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4158         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4159         [ifneq (no,$(PERL)] (regen-ulps): New target.
4160         [ifeq (no,$(PERL)] (regen-ulps): New target.
4161         * math/libm-test.inc (ulps_file_name): Define.
4162         (output_dir): New variable.
4163         (options): Add "output-dir" option.
4164         (parse_opt): Handle 'o' case.
4165         (main): If output_dir is non-NULL use it as a prefix
4166         otherwise use "".
4167         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4169 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4171         [BZ #10060, #10062]
4172         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4173         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4174         fail configure if __sync_val_compare_and_swap is not inlined.
4175         * sysdeps/i386/configure: Regenerate.
4176         * configure.in: Build for i686 when configured for i386.
4177         * configure: Regenerate.
4178         * README: Remove i386 reference.
4180 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
4182         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4183         * sysdeps/s390/s390-64/sysdep.h: Likewise.
4185 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
4187         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4188         (lmsnanval): New variables.
4189         (F): Add conversion tests.
4190         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4191         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4193         * stdio-common/tstdiomisc.c (F): Properly collect individual
4194         tests' results.
4196         [BZ #14686, #15336]
4197         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4198         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4199         Instead, use input NaN values or generate a qNaN by arithmetic
4200         operation.  Also fix bugs to comply with the standard.
4201         * math/libm-test.inc (remainder_test): Add more tests.
4203         [BZ #15335, #15342]
4204         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4205         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4206         input NaN values or generate a qNaN by arithmetic operation.
4208         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4209         unreachable code.
4211         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4212         definitions.
4214 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
4216         [BZ #14478]
4217         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4218         underflowed result.
4219         * math/s_cexpf.c (__cexpf): Likewise.
4220         * math/s_cexpl.c (__cexpl): Likewise.
4221         * math/libm-test.inc (cexp_test): Add more tests.
4223 2013-04-03  Andreas Schwab  <schwab@suse.de>
4225         [BZ #15330]
4226         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4227         order arrays from heap if bigger than alloca cutoff.
4229 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
4231         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4232         (SNAN_TESTS_double): Refer to GCC PR56831.
4233         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4234         GCC PR56828.
4236 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4238         * Rules (bench): Move bench.out after the run is complete.
4240         * Rules (bench): Echo currently running benchmark.
4242         * benchtests/Makefile (bench): Add atan and slowatan.
4243         * benchtests/atan-inputs: New file.
4244         * benchtests/slowatan-inputs: New file.
4245         * benchtests/slowatan.c: New file.
4247         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4248         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4249         its value.
4251         [BZ #15305]
4252         * sysdeps/unix/sysv/linux/kernel-features.h
4253         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4254         __ASSUME_XFS_RESTRICTED_CHOWN.
4255         * sysdeps/unix/sysv/linux/pathconf.c
4256         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4257         Save and restore errno.
4259 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
4261         [BZ #15327]
4262         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4263         arguments using __kernel_casinh.
4264         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4265         arguments using __kernel_casinhf.
4266         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4267         arguments using __kernel_casinhl.
4268         * math/libm-test.inc (cacosh_test): Add more tests.
4269         * sysdeps/i386/fpu/libm-test-ulps: Update.
4270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4272 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4274         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4275         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4277         * bench/Makefile (bench): Add sin and slowsin.
4278         * benchtests/sin-inputs: New file.
4279         * benchtests/slowsin-inputs: New file.
4280         * benchtests/slowsin.c: New file.
4282         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4283         (bench): Add slowexp and slowpow.
4284         (exp-ITER): Increase iterations.
4285         (pow-ITER): Likewise.
4286         * benchtests/exp-inputs: Change input.
4287         * benchtests/pow-inputs: Likewise.
4288         * benchtests/slowexp-inputs: New file.
4289         * benchtests/slowexp.c: New file.
4290         * benchtests/slowpow-inputs: New file.
4291         * benchtests/slowpow.c: New file.
4293 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4295         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4296         instructions.
4297         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4298         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4299         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4300         * benchtests/Makefile: Add rint benchtest.
4301         * benchtests/rint-inputs: Input for rint benchtest.
4303 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
4305         * Versions.def (libm): Add GLIBC_2.18.
4306         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4307         hidden libm prototypes.
4308         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4309         * math/Makefile (libm-calls): Add s_issignaling.
4310         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4311         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
4312         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4313         declaration.
4314         * math/math.h [__USE_GNU] (issignaling): New macro.
4315         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4316         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4317         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4318         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4319         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4320         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4321         * manual/arith.texi (issignaling): New section.
4322         * manual/libm-err-tab.pl (@all_functions): Update comment.
4323         * math/gen-libm-test.pl (parse_args): Apply special handling for
4324         issignaling.
4325         * math/libm-test.inc (print_float, issignaling_test): New
4326         functions.
4327         (check_float_internal): Add issignaling checks.
4328         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4329         default definition.
4330         * sysdeps/powerpc/math-tests.h: New file.
4331         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4332         tests.
4333         * math/test-snan.c (TEST_FUNC): Likewise.
4335 2013-03-30  David S. Miller  <davem@davemloft.net>
4337         * po/de.po: Update from translation team.
4339 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
4341         [BZ #10357]
4342         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4343         imaginary part less than 1.0 and real part less than 0.5
4344         specially.
4345         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4346         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4347         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4348         (cacos_test): Add more tests.
4349         (casin_test): Likewise.
4350         (casinh_test): Likewise.
4351         * sysdeps/i386/fpu/libm-test-ulps: Update.
4352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4354 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4356         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4357         ONE with its value.
4359         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4360         (__pow_mp): Replace ONE and MONE with their values.
4361         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4362         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4363         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4364         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4365         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4366         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4368         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4370         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4371         (__pow_mp): Replace ZERO and MZERO with their values.
4372         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4373         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4374         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4375         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4376         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4377         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4378         (__sqr): Likewise.
4380         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4382         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4384 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4386         * include/stdlib.h [!SHARED] (__call_tls_dtors):
4387         Declare with __attribute__ ((weak)).
4388         * stdlib/exit.c (__libc_atexit) [!SHARED]:
4389         Call __call_tls_dtors only if it's not NULL.
4391 2013-03-28  Roland McGrath  <roland@hack.frob.com>
4393         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4394         didn't do it already, then set _dl_phdr and _dl_phnum based on the
4395         magic __ehdr_start linker symbol if it's defined.
4396         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4397         them up here if it was already done.
4399         * elf/dl-support.c (_dl_phdr): Make pointer to const.
4400         (_dl_aux_init): Use const in cast when setting it.
4401         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4402         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4403         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4405         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4406         Declare them here.
4407         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4408         * csu/libc-tls.c: Nor here.
4409         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4411         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4412         (__libc_message): Never call vsyslog.
4414 2013-03-28  Alan Modra  <amodra@gmail.com>
4416         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4417         Define as empty.
4418         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4419         Likewise.
4421 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4423         [BZ #15214]
4424         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4425         underflow.
4426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4428 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4430         [BZ #15304]
4431         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4432         Don't add gid passed as argument.
4434         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4436 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
4438         [BZ #15307]
4439         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4440         imaginary part between 1.0 and 1.5 and real part less than 0.5
4441         specially.
4442         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4443         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4444         * math/libm-test.inc (cacos_test): Add more tests.
4445         (casin_test): Likewise.
4446         (casinh_test): Likewise.
4447         * sysdeps/i386/fpu/libm-test-ulps: Update.
4448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4450 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4452         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4453         constants.
4454         (norm): Likewise.
4455         (denorm): Likewise.
4456         (__dbl_mp): Likewise.
4457         (add_magnitudes): Likewise.
4458         (sub_magnitudes): Likewise.
4459         (__add): Likewise.
4460         (__sub): Likewise.
4461         (__mul): Likewise.
4462         (__sqr): Likewise.
4463         (__inv): Likewise.
4464         (__dvd): Likewise.
4466         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4467         commented code.
4468         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4469         (__dubcos): Likewise.
4470         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4471         (__ieee754_acos): Likewise.
4472         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4473         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4474         (__exp1): Likewise.
4475         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4476         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4477         (log1): Likewise.
4478         (my_log2): Likewise.
4479         (checkint): Likewise.
4480         * sysdeps/ieee754/dbl-64/e_remainder.c
4481         (__ieee754_remainder): Likewise.
4482         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4483         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4484         (bsloww): Likewise.
4485         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4487         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4488         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4489         MANTISSA_STORE_T to store computations on mantissa.  Use
4490         macros for rounding and division.
4491         (denorm): Likewise.
4492         (__dbl_mp): Likewise.
4493         (add_magnitudes): Likewise.
4494         (sub_magnitudes): Likewise.
4495         (__mul): Likewise.
4496         (__sqr): Likewise.
4497         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4498         powers of two in terms of TWOPOW macro.
4499         (mp_no): Make type of mantissa as MANTISSA_T.
4500         [!RADIXI]: Define RADIXI.
4501         [!TWO52]: Define TWO52.
4502         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4504 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4506         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4507         llroundl symbol when building for PPC32.
4509 2013-03-24  Mark H Weaver  <mhw@netris.org>
4511         * manual/arith.texi (Normalization Functions): Fix prototypes for
4512         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4514 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4516         [BZ #13889]
4517         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4518         high value to check if expl overflow.
4519         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4520         to check for underflow and overflow.
4521         * math/libm-test.inc: Add exp test.
4523 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
4525         [BZ #11120]
4526         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4527         with NOT_IN_libc.
4529 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4531         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4532         symbol.
4534 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
4536         * math/gen-libm-test.pl (parse_args, special_functions): Properly
4537         wrap blocks consisting of several statements.
4539         * sysdeps/generic/math-tests.h: New file.
4540         * sysdeps/i386/fpu/math-tests.h: Likewise.
4541         * math/test-snan.c: Include it.
4542         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4544 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4546         [BZ #15285]
4547         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4548         (__ieee754_j0l): Do not improve calculations using cos of twice
4549         input for inputs above LDBL_MAX / 2.0L.
4550         (__ieee754_y0l): Likewise.
4551         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4552         (__ieee754_j1l): Do not improve calculations using cos of twice
4553         input for inputs above LDBL_MAX / 2.0L.
4554         (__ieee754_y1l): Likewise.
4555         * math/libm-test.inc (j0_test): Add another test.
4556         (j1_test): Likewise.
4557         (y0_test): Likewise.
4558         (y1_test): Likewise.
4559         * sysdeps/i386/fpu/libm-test-ulps: Update.
4561 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4563         * Rules ($(objpfx)bench-%.c): Include code from a C source
4564         file.
4566 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
4568         [BZ #15287]
4569         * math/k_casinh.c (__kernel_casinh): Handle arguments with
4570         imaginary part 1.0 and real part less than 0.5 specially.
4571         * math/k_casinhf.c (__kernel_casinhf): Likewise.
4572         * math/k_casinhl.c (__kernel_casinhl): Likewise.
4573         * math/libm-test.inc (cacos_test): Add more tests.
4574         (casin_test): Likewise.
4575         (casinh_test): Likewise.
4576         * sysdeps/i386/fpu/libm-test-ulps: Update.
4577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4579 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4581         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4582         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4584 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
4586         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4587         * config.make.in (config-cflags-sse4): Remove variable.
4588         (config-cflags-avx): Likewise.
4589         (config-cflags-sse2avx): Likewise.
4590         (config-cflags-novzeroupper): Likewise.
4591         (config-asflags-i686): Likewise.
4592         (have-mfma4): Likewise.
4593         (have-as-vis3): Likewise.
4594         (MIG): Likewise.
4595         * configure.in (MIG): Do not AC_SUBST.
4596         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4597         (libc_cv_cc_sse4): Do not AC_SUBST.
4598         (libc_cv_cc_avx): Likewise.
4599         (libc_cv_cc_sse2avx): Likewise.
4600         (libc_cv_cc_novzeroupper): Likewise.
4601         (libc_cv_cc_fma4): Likewise.
4602         (libc_cv_as_i686): Likewise.
4603         (libc_cv_sparc_as_vis3): Likewise.
4604         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4605         LIBC_CONFIG_VAR.
4606         (config-asflags-i686): Likewise.
4607         (config-cflags-avx): Likewise.
4608         (config-cflags-sse2avx): Likewise.
4609         (have-mfma4): Likewise.
4610         (config-cflags-novzeroupper): Likewise.
4611         * sysdeps/mach/configure.in (MIG): Likewise.
4612         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4613         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4614         LIBC_CONFIG_VAR.
4615         (config-cflags-avx): Likewise.
4616         (config-cflags-sse2avx): Likewise.
4617         (have-mfma4): Likewise.
4618         (config-cflags-novzeroupper): Likewise.
4619         * configure: Regenerated.
4620         * sysdeps/i386/configure: Likewise.
4621         * sysdeps/mach/configure: Likewise.
4622         * sysdeps/sparc/configure: Likewise.
4623         * sysdeps/x86_64/configure: Likewise.
4625 2013-03-20  Roland McGrath  <roland@hack.frob.com>
4627         [BZ #14812]
4628         * locale/programs/localedef.c (options): Put N_ translation marker
4629         on argument names, not just descriptions.
4631 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4633         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4635 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
4637         [BZ #14176]
4638         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4640 2013-03-19  Roland McGrath  <roland@hack.frob.com>
4642         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4643         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4644         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4645         [!BEFORE_ABORT] (before_abort): New function.
4646         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4647         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4648         (writev_for_fatal): New function.
4649         (WRITEV_FOR_FATAL): New macro; call that.
4650         (backtrace_and_maps): New function.
4651         (BEFORE_ABORT): New macro; call that.
4652         (struct str_list): Type removed.
4653         (__libc_message, __libc_fatal): Functions removed.
4654         Include <sysdeps/posix/libc_fatal.c> instead.
4656 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
4658         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4659         constants.
4660         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4661         double constants.
4663 2013-03-19  Andreas Schwab  <schwab@suse.de>
4665         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4666         * sysdeps/gnu/configure: Regenerate.
4668         * configure.in: Substitute libc_cv_rtlddir.
4669         * configure: Regenerate.
4670         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4671         * Makeconfig (rtlddir, inst_rtlddir): New variables.
4672         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4673         * elf/Makefile (install-others, CFLAGS-interp.c)
4674         (ldso_install, common-ldd-rewrite): Likewise.
4675         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4676         $(inst_slibdir)/$(rtld-installed-name).
4677         * scripts/rellns-sh: Add -p option.
4678         * Makerules (make-shlib-link): Use rellns-sh to get relative name
4679         for source.
4681 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4683         * manual/nptl.texi: Renamed to ...
4684         * manual/threads.texi: ... this.
4685         * manual/Makefile (chapters): Update.
4687 2013-03-18  Roland McGrath  <roland@hack.frob.com>
4689         [BZ #14812]
4690         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4691         on argument names, not just descriptions.
4692         * malloc/memusagestat.c (options): Likewise.
4693         * nss/getent.c (options): Likewise.
4695 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
4697         [BZ #14812]
4698         * iconv/iconv_prog.c (options): Put N_ translation marker
4699         on argument names, not just descriptions.
4700         * iconv/iconvconfig.c (options): Likewise.
4702 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
4704         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4705         implementation which is faster on all x86_64 architectures.
4706         Tested on AMD, Intel Nehalem, SNB, IVB.
4707         * sysdeps/x86_64/strnlen.S: Likewise.
4709         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4710         Remove all multiarch strlen and strnlen versions.
4711         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4712         Remove strlen and strnlen related parts.
4714         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4715         Inline strlen part.
4716         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4718         * sysdeps/x86_64/multiarch/strlen.S: Remove.
4719         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4720         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4721         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4722         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4723         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4725 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
4727         * manual/memory.texi (Malloc Tunable Parameters):
4728         Sort parameters alphabetically. Add comments for missing entries.
4730 2013-03-17  David S. Miller  <davem@davemloft.net>
4732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4734 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
4736         [BZ #15283]
4737         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4738         for arguments at most half maximum finite value.
4739         * math/libm-test.inc (j0_test): Add more tests.
4740         (j1_test): Likewise.
4741         (y0_test): Likewise.
4742         (y1_test): Likewise.
4743         * sysdeps/i386/fpu/libm-test-ulps: Update.
4744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4746         [BZ #14155]
4747         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4748         1 / x and functions P and Q for arguments above 0x1p256L.
4749         (__ieee754_y0l): Likewise.
4750         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4751         (__ieee754_y1l): Likewise.
4752         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4753         (j1_test): Likewise.
4754         (y0_test): Likewise.
4755         (y1_test): Likewise.
4757 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
4759         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4760         variable.
4762 2013-03-15  Roland McGrath  <roland@hack.frob.com>
4764         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4765         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4766         zero since it's initialized to EXEC_PAGESIZE.
4768         * sysdeps/unix/sysv/linux/ldsodefs.h
4769         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4770         * sysdeps/generic/ldsodefs.h: ... here.
4772 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
4774         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4776         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4777         math/test-snan.c.
4778         * math/test-snan.c: Renamed from
4779         sysdeps/powerpc/fpu/test-powerpc-snan.c.
4780         * math/Makefile (tests): Add test-snan.
4781         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4782         test-powerpc-snan.
4784         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4785         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
4786         functions.
4787         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
4788         __builtin_nan family of functions.
4789         * math/libm-test.inc (initialize): Initialize qnan_value with
4790         __builtin_nan family of functions.
4791         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4792         Remove variables.
4793         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4794         Remove functions.
4795         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
4796         storage class.  Initialize qNaN_var and sNaN_var with
4797         __builtin_nan and __builtin_nans families of functions,
4798         respectively.
4800         * math/libm-test.inc (acosh_test): Also test with qNaN input.
4801         (sqrt_test): Remove duplicate test with qNaN input.
4802         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4803         (round_test, signbit_test, significand_test): Note missing +/-Inf
4804         as well as qNaN tests.
4806         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4807         qNaN_var.  Fix a few strings, too.
4808         * math/libm-test.inc (nan_value): Rename to qnan_value.
4809         * math/gen-libm-test.pl (%beautify): Adjust to that.
4810         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4811         * math/test-misc.c (main): Likewise.
4812         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4813         to __qnan_bytes, and __qnan_union, respectively.
4814         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4815         Likewise.
4816         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4817         and lqnanval, respectively.
4818         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4819         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4820         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4821         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4823         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4824         * math/test-misc.c (main) [__x86_64__]: Enable test for long
4825         doubles.
4827         * math/test-misc.c (main): Fix copy'n'pastos.
4828         * misc/tst-efgcvt.c (special): Likewise.
4830         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4831         Remove declarations.
4833 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4835         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4836         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4837         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4838         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4840 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4842         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4843         macro to return vdso values correctly in IFUNC implementations.
4844         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4845         Optimization by using IFUNC.
4847 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4848             Richard Henderson  <rth@redhat.com>
4849             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4851         * Makefile.in (bench): New target.
4852         * NEWS: Mention the benchmark framework.
4853         * Rules (bench): Likewise.
4854         (binaries-bench): Generate binaries for functions to
4855         benchmark.
4856         * benchtests/Makefile: New makefile for benchmark tests.
4857         * benchtests/bench-skeleton.c: New skeleton file for benchmark
4858         programs.
4859         * benchtests/exp-inputs: New input file for EXP function.
4860         * benchtests/pow-inputs: New input file for POW function.
4861         * scripts/bench.pl: New script to generate source files for
4862         benchmark programs.
4864 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4866         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4867         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4868         computations on mantissa.  Use macros for rounding and
4869         division.
4870         (denorm): Likewise.
4871         (__dbl_mp): Likewise.
4872         (add_magnitudes): Likewise.
4873         (sub_magnitudes): Likewise.
4874         (__mul): Likewise.
4875         (__sqr): Likewise.
4876         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
4877         powers of two in terms of TWOPOW macro.
4878         (mp_no): Make type of mantissa as MANTISSA_T.
4879         [!RADIXI]: Define RADIXI.
4880         [!TWO52]: Define TWO52.
4881         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4883         * manual/nptl.texi (cindex): Modify threads to pthreads.
4885 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
4887         * sysdeps/x86_64/preconfigure: Regenerated.
4889 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
4891         [BZ #14155]
4892         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4893         0x1p28 and above.
4894         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4895         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4896         0x1p28 and above.
4897         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4898         * math/libm-test.inc (j0_test): Do not allow one spurious
4899         underflow exception.
4900         (y1_test): Likewise.
4902 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
4904         * manual/Makefile (chapters): Add nptl.
4905         * manual/debug.texi (Debugging Support): Add link to Threads
4906         chapter.
4907         * manual/nptl.texi: New file.
4909         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4911 2013-03-14  Petr Baudis  <pasky@ucw.cz>
4913         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4914         for non-NULL pointer before the memory validity test. Pointed
4915         out by Holger Brunck <holger.brunck@keymile.com>.
4917 2013-03-13  Andreas Schwab  <schwab@suse.de>
4919         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4920         instead of .os.
4922 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
4924         * timezone/zic.c: Update from tzcode 2013b.
4926 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
4928         * manual/install.texi (Configuring and compiling):
4929         Mention i686 and i586.
4930         * INSTALL: Regenerate.
4932 2013-03-12  Roland McGrath  <roland@hack.frob.com>
4934         * sysdeps/init_array/elf-init.c: New file.
4935         * csu/elf-init.c
4936         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4937         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4939         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4940         __gmon_start__ as global, but as static with a .preinit_array pointer.
4941         * sysdeps/init_array/gmon-start.c: New file.  Use that.
4942         * sysdeps/init_array/crti.S: New file, empty except for comments.
4943         * sysdeps/init_array/crtn.S: Likewise.
4945 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
4947         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4948         definining bcopy.
4949         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4950         Remove Prefer_SSE_for_memop.
4951         * sysdeps/x86_64/multiarch/init-arch.h: Remove
4952         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4953         HAS_PREFER_SSE_FOR_MEMOP.
4954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4955         memset-x86-64.
4956         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4957         Remove bzero, memset ifunc support.
4958         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4959         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4960         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4961         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4963 2013-03-11  Andreas Schwab  <schwab@suse.de>
4965         [BZ #15234]
4966         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4967         by SHLIB_COMPAT.
4968         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4969         (GLIBC_2.16): Remove pthread_atfork.
4971 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4973         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4974         (ptestcases.h): Likewise.
4976 2013-03-08  Roland McGrath  <roland@hack.frob.com>
4978         * Makeconfig ($(common-objpfx)config.status): Depend on
4979         sysdeps/*/preconfigure{,.in} too.
4981 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
4983         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4984         (__free_hook): Use void * instead of __malloc_ptr_t.
4985         (__malloc_hook): Likewise.
4986         (__realloc_hook): Likewise.
4987         (__memalign_hook): Likewise.
4988         (__after_morecore_hook): Likewise.
4989         * malloc/arena.c (save_malloc_hook): Likewise.
4990         (save_free_hook): Likewise.
4991         * malloc/hooks.c (malloc_hook_ini): Likewise.
4992         (realloc_hook_ini): Likewise.
4993         (memalign_hook_ini): Likewise.
4994         * malloc/malloc.c (malloc_hook_ini): Likewise.
4995         (realloc_hook_ini): Likewise.
4996         (memalign_hook_ini): Likewise.
4997         (__free_hook): Likewise.
4998         (__malloc_hook): Likewise.
4999         (__realloc_hook): Likewise.
5000         (__memalign_hook): Likewise.
5001         (__libc_malloc): Likewise.
5002         (__libc_free): Likewise.
5003         (__libc_realloc): Likewise.
5004         (__libc_memalign): Likewise.
5005         (__libc_valloc): Likewise.
5006         (__libc_pvalloc): Likewise.
5007         (__libc_calloc): Likewise.
5008         (__posix_memalign): Likewise.
5009         * malloc/morecore.c (__sbrk): Likewise.
5010         (__default_morecore): Likewise.
5012         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5014         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5015         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5016         __malloc_ptrdiff_t.
5018         * malloc/malloc.h (__malloc_size_t): Remove macro.
5019         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5020         __malloc_size_t.
5021         (old_memalign_hook): Likewise.
5022         (old_realloc_hook): Likewise.
5023         (struct hdr): Likewise.
5024         (flood): Likewise.
5025         (mallochook): Likewise.
5026         (memalignhook): Likewise.
5027         (reallochook): Likewise.
5028         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5029         (tr_old_realloc_hook): Likewise.
5030         (tr_old_memalign_hook): Likewise.
5031         (tr_mallochook): Likewise.
5032         (tr_reallochook): Likewise.
5033         (tr_memalignhook): Likewise.
5035 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5037         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5038         default_ldbl_pack and using as default implementation.
5039         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5040         implementation.
5041         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5042         redundant definition.
5043         (ldbl_insert_mantissa): Likewise.
5044         (ldbl_canonicalize): Likewise.
5045         (ldbl_nearbyint): Likewise.
5046         (ldbl_pack): Rename to ldbl_pack_ppc.
5047         (ldbl_unpack): Rename to ldbl_unpack_ppc.
5048         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5049         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5051 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5054         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5055         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5056         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5058         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5059         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5060         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5062 2013-03-07  Andreas Jaeger  <aj@suse.de>
5064         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5065         bits/mman-linux.h.
5067 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
5069         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5070         Include mpa.h and declare __MPEXP.
5071         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5072         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5073         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5074         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5075         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5076         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5077         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5079         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5080         (__slowpow): Use long double EXPL and LOGL functions to
5081         compute POW.
5082         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5083         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5084         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5085         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5086         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5087         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5090         intermediate variable to calculate exponent.
5091         (__sqr): Likewise.
5092         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5093         Likewise.
5094         (__sqr): Likewise.
5096         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5097         [!NO__SQR]: Define __sqr.
5098         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5099         and NO__SQR.  Remove all code except __mul and __sqr.  Include
5100         sysdeps/ieee754/dbl-64/mpa.c.
5101         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5103         [BZ #12723]
5104         * posix/Makefile (tests): Add tst-pathconf.
5105         * posix/tst-pathconf.c: New test case.
5106         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5107         _PC_PIPE_BUF.
5108         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5110 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
5112         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5114 2013-03-06  Andreas Jaeger  <aj@suse.de>
5116         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5117         definition via __MAP_ANONYMOUS.
5119         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5120         it's not part of Linux headers.
5122         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5123         (MAP_HUGE_MASK): Define.
5125         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5126         Define.
5127         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5128         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5129         Define.
5130         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5131         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5132         Define.
5133         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5134         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5135         Define.
5136         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5138         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5139         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5140         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5141         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5142         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5143         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5145         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5146         Handle f2fs.
5148         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5149         Handle f2fs and efivarfs.
5151         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5152         f2fs.
5154         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5155         (EFIVARFS_MAGIC): Add.
5156         (F2FS_LINK_MAX): Add.
5158 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
5160         * stdio-common/vfprintf.c: Replace __builtin_expect with
5161         __glibc_unlikely.
5163 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
5165         [BZ #13550]
5166         * sysdeps/generic/bp-sym.h: Remove file.
5167         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5168         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5169         <bp-sym.h> and <bp-asm.h>.
5170         (__longjmp): Don't use BP_SYM.
5171         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5172         and <bp-asm.h>.
5173         (memcpy): Don't use BP_SYM.
5174         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5175         <bp-sym.h> and <bp-asm.h>.
5176         (memcpy): Don't use BP_SYM.
5177         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5178         <bp-asm.h>.
5179         (memcpy): Don't use BP_SYM.
5180         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5181         <bp-asm.h>.
5182         (memset): Don't use BP_SYM.
5183         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5184         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5185         (__bzero): Don't use BP_SYM.
5186         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5187         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5188         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5189         <bp-sym.h> and <bp-asm.h>.
5190         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5191         pointers.
5192         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5193         <bp-sym.h> and <bp-asm.h>.
5194         (memcpy): Don't use BP_SYM.
5195         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5196         <bp-sym.h> and <bp-asm.h>.
5197         (memset): Don't use BP_SYM.
5198         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5199         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5200         (__bzero): Don't use BP_SYM.
5201         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5202         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5203         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5204         <bp-sym.h> and <bp-asm.h>.
5205         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5206         pointers.
5207         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5208         <bp-sym.h> and <bp-asm.h>.
5209         (memcpy): Don't use BP_SYM.
5210         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5211         <bp-sym.h> and <bp-asm.h>.
5212         (memset): Don't use BP_SYM.
5213         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5214         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5215         (__bzero): Don't use BP_SYM.
5216         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5217         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5218         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5219         <bp-sym.h> and <bp-asm.h>.
5220         (__memchr): Don't use BP_SYM.
5221         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5222         <bp-sym.h> and <bp-asm.h>.
5223         (memcmp): Don't use BP_SYM.  Remove comment about bounded
5224         pointers.
5225         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5226         <bp-sym.h> and <bp-asm.h>.
5227         (memcpy): Don't use BP_SYM.
5228         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5229         <bp-sym.h> and <bp-asm.h>.
5230         (__mempcpy): Don't use BP_SYM.
5231         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5232         <bp-sym.h> and <bp-asm.h>.
5233         (__memrchr): Don't use BP_SYM.
5234         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5235         <bp-sym.h> and <bp-asm.h>.
5236         (memset): Don't use BP_SYM.
5237         (__bzero): Likewise.
5238         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5239         <bp-sym.h> and <bp-asm.h>.
5240         (__rawmemchr): Don't use BP_SYM.
5241         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5242         <bp-sym.h> and <bp-asm.h>.
5243         (__STRCMP): Don't use BP_SYM.
5244         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5245         <bp-sym.h> and <bp-asm.h>.
5246         (strchr): Don't use BP_SYM.
5247         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5248         <bp-sym.h> and <bp-asm.h>.
5249         (__strchrnul): Don't use BP_SYM.
5250         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5251         <bp-sym.h> and <bp-asm.h>.
5252         (strlen): Don't use BP_SYM.
5253         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5254         <bp-sym.h> and <bp-asm.h>.
5255         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5256         pointers.
5257         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5258         <bp-sym.h> and <bp-asm.h>.
5259         (__strnlen): Don't use BP_SYM.
5260         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5261         <bp-sym.h> and <bp-asm.h>.
5262         (__GI__setjmp): Don't use BP_SYM.
5263         (_setjmp): Likewise.
5264         (__sigsetjmp): Likewise.
5265         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5266         (L(start_addresses)): Don't use BP_SYM.
5267         (_start): Likewise.
5268         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5269         <bp-asm.h>.
5270         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5271         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5272         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5273         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5274         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5275         <bp-asm.h>.
5276         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5277         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
5278         about bounded pointers.
5279         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5280         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5281         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5282         <bp-asm.h>.
5283         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5284         about bounded pointers.  Remove GKM FIXME comments.
5285         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5286         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5287         <bp-asm.h>.
5288         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5289         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
5290         Remove GKM FIXME comments.
5291         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5292         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5293         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5294         <bp-asm.h>.
5295         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
5296         about bounded pointers.  Remove GKM FIXME comment.
5297         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5298         and <bp-asm.h>.
5299         (strncmp): Don't use BP_SYM.  Remove comment about bounded
5300         pointers.
5301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5302         <bp-sym.h> and <bp-asm.h>.
5303         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5305         <bp-sym.h> and <bp-asm.h>.
5306         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5307         comment.
5309 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5311         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5312         call free(NULL).
5314 2013-03-05  David S. Miller  <davem@davemloft.net>
5316         * po/es.po: Update from translation team.
5318 2013-03-05  Andreas Jaeger  <aj@suse.de>
5320         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5321         <bits/mman-linux.h>.
5322         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5323         is fine.
5324         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5325         <bits/mman-linux.h> to end of file.
5326         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5327         is fine.
5328         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5329         <bits/mman-linux.h> to end of file.
5330         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5331         is fine.
5332         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5333         <bits/mman-linux.h> to end of file.
5335         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5336         (MCL_CURRENT, MCL_FUTURE): Define here.
5338 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5340         [BZ #15232]
5341         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5342         attribute_hidden.
5343         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5345 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5347         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5348         fourth parameter needed for rt_sigprocmask syscall.
5349         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5350         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5351         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5352         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5353         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5354         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5356 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
5358         [BZ #13550]
5359         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5360         comment about bounded pointers.
5361         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5362         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5364 2013-03-04  Andreas Jaeger  <aj@suse.de>
5366         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5367         common definitions.
5369         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5370         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5371         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5372         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5373         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5374         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5376 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5378         [BZ #15055]
5379         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5380         __ieee754_sqrl instead of __sqrl.
5382 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
5384         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5385         * sysdeps/powerpc/fpu_control.h: ... here.
5386         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5387         * sysdeps/powerpc/bits/fenvinline.h: ... here.
5388         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5389         * sysdeps/powerpc/bits/mathinline.h: ... here.
5391 2013-03-01  Roland McGrath  <roland@hack.frob.com>
5393         * elf/dl-hwcaps.c (_dl_important_hwcaps):
5394         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5395         to just [NEED_DL_SYSINFO_DSO].
5396         * elf/dl-support.c: Likewise.
5397         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5398         * elf/rtld.c (dl_main): Likewise.
5399         * elf/setup-vdso.h (setup_vdso): Likewise.
5400         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5401         * sysdeps/unix/sysv/linux/dl-sysdep.c
5402         (_dl_discover_osversion): Likewise.
5404 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
5406         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5407         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5409 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5411         * NEWS: Mention libm performance improvements and non-x86 PI
5412         futex support.
5414         * csu/libc-start.c (__pthread_initialize_minimal): Change
5415         function arguments.
5416         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5418 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
5420         [BZ #13550]
5421         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5422         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5423         <bp-sym.h> and <bp-asm.h>.
5424         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5425         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5426         and <bp-asm.h>.
5427         (memcpy): Don't use BP_SYM.
5428         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5429         <bp-asm.h>.
5430         (__mpn_add_n): Don't use BP_SYM.
5431         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5432         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5433         and <bp-asm.h>.
5434         (__mpn_addmul_1): Don't use BP_SYM.
5435         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5436         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5437         <bp-sym.h>.
5438         (_setjmp): Don't use BP_SYM.
5439         (__novmx_setjmp): Likewise.
5440         (__GI__setjmp): Likewise.
5441         (__vmx_setjmp): Likewise.
5442         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5443         <bp-sym.h>.
5444         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5445         (__bzero): Don't use BP_SYM.
5446         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5447         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5448         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5449         <bp-sym.h> and <bp-asm.h>.
5450         (memcpy): Don't use BP_SYM.
5451         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5452         <bp-sym.h> and <bp-asm.h>.
5453         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5454         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5455         <bp-sym.h> and <bp-asm.h>.
5456         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5457         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5458         <bp-asm.h>.
5459         (__mpn_lshift): Don't use BP_SYM.
5460         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5461         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5462         <bp-asm.h>.
5463         (memset): Don't use BP_SYM.
5464         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5465         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5466         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5467         <bp-asm.h>.
5468         (__mpn_mul_1): Don't use BP_SYM.
5469         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5470         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5471         <bp-sym.h> and <bp-asm.h>.
5472         (memcmp): Don't use BP_SYM.
5473         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5474         <bp-sym.h> and <bp-asm.h>.
5475         (memcpy): Don't use BP_SYM.
5476         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5477         <bp-sym.h> and <bp-asm.h>.
5478         (memset): Don't use BP_SYM.
5479         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5480         <bp-sym.h> and <bp-asm.h>.
5481         (strncmp): Don't use BP_SYM.
5482         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5483         <bp-sym.h> and <bp-asm.h>.
5484         (memcpy): Don't use BP_SYM.
5485         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5486         <bp-sym.h> and <bp-asm.h>.
5487         (memset): Don't use BP_SYM.
5488         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5489         <bp-sym.h> and <bp-asm.h>.
5490         (__memchr): Don't use BP_SYM.
5491         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5492         <bp-sym.h> and <bp-asm.h>.
5493         (memcmp): Don't use BP_SYM.
5494         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5495         <bp-sym.h> and <bp-asm.h>.
5496         (memcpy): Don't use BP_SYM.
5497         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5498         <bp-sym.h> and <bp-asm.h>.
5499         (__mempcpy): Don't use BP_SYM.
5500         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5501         <bp-sym.h> and <bp-asm.h>.
5502         (__memrchr): Don't use BP_SYM.
5503         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5504         <bp-sym.h> and <bp-asm.h>.
5505         (memset): Don't use BP_SYM.
5506         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5507         <bp-sym.h> and <bp-asm.h>.
5508         (__rawmemchr): Don't use BP_SYM.
5509         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5510         <bp-sym.h> and <bp-asm.h>.
5511         (__STRCMP): Don't use BP_SYM.
5512         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5513         <bp-sym.h> and <bp-asm.h>.
5514         (strchr): Don't use BP_SYM.
5515         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5516         <bp-sym.h> and <bp-asm.h>.
5517         (__strchrnul): Don't use BP_SYM.
5518         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5519         <bp-sym.h> and <bp-asm.h>.
5520         (strlen): Don't use BP_SYM.
5521         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5522         <bp-sym.h> and <bp-asm.h>.
5523         (strncmp): Don't use BP_SYM.
5524         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5525         <bp-sym.h> and <bp-asm.h>.
5526         (__strnlen): Don't use BP_SYM.
5527         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5528         <bp-asm.h>.
5529         (__mpn_rshift): Don't use BP_SYM.
5530         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5531         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5532         <bp-sym.h> and <bp-asm.h>.
5533         (__sigsetjmp): Don't use BP_SYM.
5534         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5535         (L(start_addresses)): Don't use BP_SYM.
5536         (_start): Likewise.
5537         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5538         <bp-asm.h>.
5539         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5540         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5541         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5542         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5543         <bp-asm.h>.
5544         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5545         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5546         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5547         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5548         <bp-asm.h>.
5549         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5550         comments.
5551         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5552         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5553         <bp-asm.h>.
5554         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
5555         FIXME comments.
5556         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5557         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5558         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5559         <bp-asm.h>.
5560         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
5561         comment.
5562         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5563         and <bp-asm.h>.
5564         (strncmp): Don't use BP_SYM,
5565         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5566         <bp-asm.h>.
5567         (__mpn_sub_n): Don't use BP_SYM.
5568         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5569         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5570         and <bp-asm.h>.
5571         (__mpn_submul_1): Don't use BP_SYM.
5572         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5574         <bp-sym.h> and <bp-asm.h>.
5575         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5577         <bp-sym.h> and <bp-asm.h>.
5578         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
5579         comment.
5581 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5583         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5584         Use ZK to minimize writes to Z.
5585         (sub_magnitudes): Simplify code a bit.
5586         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5587         Use ZK to minimize writes to Z.
5588         (sub_magnitudes): Simplify code a bit.
5590 2013-02-27  Roland McGrath  <roland@hack.frob.com>
5592         * csu/gmon-start.c: Add special exception to license text.
5594 2013-02-27  Richard Henderson  <rth@redhat.com>
5596         * scripts/config.guess: Update from config.git.
5597         * scripts/config.sub: Likewise.
5599 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5601         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5603         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5605         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5607         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5609         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5611 2013-02-26  Roland McGrath  <roland@hack.frob.com>
5613         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5614         [$(build-shared = yes].
5616 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5618         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5619         (__mul): Reduce iterations for calculating mantissa.
5621         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5622         MPTWO.
5623         (__mpranred): Likewise.
5625         [BZ #15160]
5626         * malloc/memusagestat.c (main): Draw graphs for heap and stack
5627         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5629 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
5631         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5632         Define __attribute__.
5634 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5636         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5637         unused.
5638         * posix/regex_internal.h (__attribute): Remove.
5639         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5640         (re_string_context_at): Likewise.
5641         (bitset_not): Use __attribute__ and mark function as possibly
5642         unused.
5643         (bitset_merge): Likewise.
5644         (bitset_mask): Likewise.
5645         (re_string_char_size_at): Likewise.
5646         (re_string_wchar_at): Likewise.
5647         (re_string_elem_size_at): Likewise.
5649 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5651         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5652         code.
5653         (cc32): Likewise.
5655         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5656         (__acr): Likewise.
5657         (__cpy): Likewise.
5658         (norm): Likewise.
5659         (denorm): Likewise.
5660         (__dbl_mp): Likewise.
5661         (add_magnitudes): Likewise.
5662         (sub_magnitudes): Likewise.
5663         (__mul): Likewise.
5664         (__inv): Likewise.
5666         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5667         style.
5669         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5670         style.
5672         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5673         code.
5675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5676         up changes with default code.
5677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5678         Likewise.
5680 2013-02-24  Allan McRae  <allan@archlinux.org>
5682         * manual/socket.texi (The Internet Namespace): Order menu items
5683         to match that in the file.
5685         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5686         node listing of the info page menu.
5688 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
5690         [BZ #13550]
5691         * sysdeps/i386/bp-asm.h: Remove file.
5692         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5693         (PARMS): Do not use macros from bp-asm.h.
5694         (S1): Likewise.
5695         (S2): Likewise.
5696         (SIZE): Likewise.
5697         (__mpn_add_n): Do not use BP_SYM
5698         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5699         "bp-asm.h".
5700         (PARMS): Do not use macros from bp-asm.h.
5701         (S1): Likewise.
5702         (SIZE): Likewise.
5703         (__mpn_addmul_1): Do not use BP_SYM
5704         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5705         "bp-asm.h".
5706         (PARMS): Do not use macros from bp-asm.h.
5707         (SIGMSK): Likewise.
5708         (_setjmp): Likewise.  Do not use BP_SYM.
5709         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5710         "bp-asm.h".
5711         (PARMS): Do not use macros from bp-asm.h.
5712         (SIGMSK): Likewise.
5713         (setjmp): Likewise.  Do not use BP_SYM.
5714         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5715         "bp-asm.h".
5716         (PARMS): Do not use macros from bp-asm.h.
5717         (__frexp): Do not use BP_SYM.
5718         (frexp): Likewise.
5719         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5720         "bp-asm.h".
5721         (PARMS): Do not use macros from bp-asm.h.
5722         (__frexpf): Do not use BP_SYM.
5723         (frexpf): Likewise.
5724         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5725         "bp-asm.h".
5726         (PARMS): Do not use macros from bp-asm.h.
5727         (__frexpl): Do not use BP_SYM.
5728         (frexpl): Likewise.
5729         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5730         "bp-asm.h".
5731         (PARMS): Do not use macros from bp-asm.h.
5732         (__remquo): Do not use BP_SYM.
5733         (remquo): Likewise.
5734         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5735         "bp-asm.h".
5736         (PARMS): Do not use macros from bp-asm.h.
5737         (__remquof): Do not use BP_SYM.
5738         (remquof): Likewise.
5739         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5740         "bp-asm.h".
5741         (PARMS): Do not use macros from bp-asm.h.
5742         (__remquol): Do not use BP_SYM.
5743         (remquol): Likewise.
5744         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5745         "bp-asm.h".
5746         (PARMS): Do not use macros from bp-asm.h.
5747         (DEST): Likewise.
5748         (SRC): Likewise.
5749         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
5750         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5751         "bp-asm.h".
5752         (PARMS): Do not use macros from bp-asm.h.
5753         (strlen): Do not use BP_SYM.
5754         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5755         "bp-asm.h".
5756         (PARMS): Do not use macros from bp-asm.h.
5757         (S1): Likewise.
5758         (S2): Likewise.
5759         (SIZE): Likewise.
5760         (__mpn_add_n): Do not use BP_SYM.
5761         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5762         "bp-asm.h".
5763         (PARMS): Do not use macros from bp-asm.h.
5764         (S1): Likewise.
5765         (SIZE): Likewise.
5766         (__mpn_addmul_1): Do not use BP_SYM.
5767         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5768         weak_alias.
5769         (bzero): Likewise.
5770         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5771         "bp-asm.h".
5772         (PARMS): Do not use macros from bp-asm.h.
5773         (S): Likewise.
5774         (SIZE): Likewise.
5775         (__mpn_lshift): Do not use BP_SYM.
5776         * sysdeps/i386/i586/memcpy.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         (LEN): Likewise.
5782         (memcpy): Likewise.  Do not use BP_SYM.
5783         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5784         libc_hidden_def and weak_alias.
5785         (mempcpy): Do not use BP_SYM in weak_alias.
5786         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5787         "bp-asm.h".
5788         (PARMS): Do not use macros from bp-asm.h.
5789         (DEST): Likewise.
5790         (LEN): Likewise.
5791         [!BZERO_P] (CHR): Likewise.
5792         (memset): Likewise.  Do not use BP_SYM.
5793         * sysdeps/i386/i586/mul_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_mul_1): Do not use BP_SYM.
5799         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5800         "bp-asm.h".
5801         (PARMS): Do not use macros from bp-asm.h.
5802         (S): Likewise.
5803         (SIZE): Likewise.
5804         (__mpn_rshift): Do not use BP_SYM.
5805         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5806         "bp-asm.h".
5807         (PARMS): Do not use macros from bp-asm.h.
5808         (STR): Likewise.
5809         (CHR): Likewise.
5810         (strchr): Likewise.  Do not use BP_SYM.
5811         (index): Do not use BP_SYM in weak_alias.
5812         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5813         "bp-asm.h".
5814         (PARMS): Do not use macros from bp-asm.h.
5815         (DEST): Likewise.
5816         (SRC): Likewise.
5817         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
5818         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5819         "bp-asm.h".
5820         (PARMS): Do not use macros from bp-asm.h.
5821         (strlen): Do not use BP_SYM.
5822         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5823         "bp-asm.h".
5824         (PARMS): Do not use macros from bp-asm.h.
5825         (S1): Likewise.
5826         (S2): Likewise.
5827         (SIZE): Likewise.
5828         (__mpn_sub_n): Do not use BP_SYM.
5829         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5830         "bp-asm.h".
5831         (PARMS): Do not use macros from bp-asm.h.
5832         (S1): Likewise.
5833         (SIZE): Likewise.
5834         (__mpn_submul_1): Do not use BP_SYM.
5835         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5836         "bp-asm.h".
5837         (PARMS): Do not use macros from bp-asm.h.
5838         (S1): Likewise.
5839         (S2): Likewise.
5840         (SIZE): Likewise.
5841         (__mpn_add_n): Do not use BP_SYM.
5842         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5843         weak_alias.
5844         (bzero): Likewise.
5845         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5846         "bp-asm.h".
5847         (PARMS): Do not use macros from bp-asm.h.
5848         (BLK2): Likewise.
5849         (LEN): Likewise.
5850         (memcmp): Do not use BP_SYM.
5851         (bcmp): Do not use BP_SYM in weak_alias.
5852         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5853         "bp-asm.h".
5854         (PARMS): Do not use macros from bp-asm.h.
5855         (DEST): Likewise.
5856         (SRC): Likewise.
5857         (LEN): Likewise.
5858         (memcpy): Likewise.  Do not use BP_SYM.
5859         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5860         "bp-asm.h".
5861         (PARMS): Do not use macros from bp-asm.h.
5862         (DEST): Likewise.
5863         (SRC): Likewise.
5864         (LEN): Likewise.
5865         (memmove): Likewise.  Do not use BP_SYM.
5866         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5867         "bp-asm.h".
5868         (PARMS): Do not use macros from bp-asm.h.
5869         (DEST): Likewise.
5870         (SRC): Likewise.
5871         (LEN): Likewise.
5872         (__mempcpy): Likewise.  Do not use BP_SYM.
5873         (mempcpy): Do not use BP_SYM in weak_alias.
5874         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5875         "bp-asm.h".
5876         (PARMS): Do not use macros from bp-asm.h.
5877         (DEST): Likewise.
5878         (LEN): Likewise.
5879         [!BZERO_P] (CHR): Likewise.
5880         (memset): Likewise.  Do not use BP_SYM.
5881         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5882         "bp-asm.h".
5883         (PARMS): Do not use macros from bp-asm.h.
5884         (STR2): Likewise.
5885         (strcmp): Do not use BP_SYM.
5886         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5887         "bp-asm.h".
5888         (PARMS): Do not use macros from bp-asm.h.
5889         (STR): Likewise.
5890         (DELIM): Likewise.
5891         [USE_AS_STRTOK_R] (SAVE): Likewise.
5892         (FUNCTION): Likewise.  Do not use BP_SYM.
5893         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5894         aliases.
5895         (strtok_r): Likewise.
5896         (__GI___strtok_r): Likewise.
5897         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5898         (PARMS): Do not use macros from bp-asm.h.
5899         (S): Likewise.
5900         (SIZE): Likewise.
5901         (__mpn_lshift): Do not use BP_SYM.
5902         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5903         (PARMS): Do not use macros from bp-asm.h.
5904         (STR): Likewise.
5905         (CHR): Likewise.
5906         (__memchr): Do not use BP_SYM.
5907         (memchr): Do not use BP_SYM in weak_alias.
5908         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5909         (PARMS): Do not use macros from bp-asm.h.
5910         (BLK2): Likewise.
5911         (LEN): Likewise.
5912         (memcmp): Do not use BP_SYM.
5913         (bcmp): Do not use BP_SYM in weak_alias.
5914         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5915         (PARMS): Do not use macros from bp-asm.h.
5916         (S1): Likewise.
5917         (SIZE): Likewise.
5918         (__mpn_mul_1): Do not use BP_SYM.
5919         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5920         "bp-asm.h".
5921         (PARMS): Do not use macros from bp-asm.h.
5922         (STR): Likewise.
5923         (CHR): Likewise.
5924         (__rawmemchr): Do not use BP_SYM.
5925         (rawmemchr): Do not use BP_SYM in weak_alias.
5926         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5927         (PARMS): Do not use macros from bp-asm.h.
5928         (S): Likewise.
5929         (SIZE): Likewise.
5930         (__mpn_rshift): Do not use BP_SYM.
5931         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5932         (PARMS): Do not use macros from bp-asm.h.
5933         (SIGMSK): Likewise.
5934         (__sigsetjmp): Likewise.  Do not use BP_SYM.
5935         * sysdeps/i386/start.S: Do not include "bp-sym.h".
5936         (_start): Do not use BP_SYM.
5937         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5938         (PARMS): Do not use macros from bp-asm.h.
5939         (DEST): Likewise.
5940         (SRC): Likewise.
5941         (__stpcpy): Likewise.  Do not use BP_SYM.
5942         (stpcpy): Do not use BP_SYM in weak_alias.
5943         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5944         "bp-asm.h".
5945         (PARMS): Do not use macros from bp-asm.h.
5946         (DEST): Likewise.
5947         (SRC): Likewise.
5948         (LEN): Likewise.
5949         (__stpncpy): Likewise.  Do not use BP_SYM.
5950         (stpncpy): Do not use BP_SYM in weak_alias.
5951         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5952         (PARMS): Do not use macros from bp-asm.h.
5953         (STR): Likewise.
5954         (CHR): Likewise.
5955         (strchr): Likewise.  Do not use BP_SYM.
5956         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5957         "bp-asm.h".
5958         (PARMS): Do not use macros from bp-asm.h.
5959         (STR): Likewise.
5960         (CHR): Likewise.
5961         (__strchrnul): Likewise.  Do not use BP_SYM.
5962         (strchrnul): Do not use BP_SYM in weak_alias.
5963         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5964         "bp-asm.h".
5965         (PARMS): Do not use macros from bp-asm.h.
5966         (STOP): Likewise.
5967         (strcspn): Do not use BP_SYM.
5968         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5969         "bp-asm.h".
5970         (PARMS): Do not use macros from bp-asm.h.
5971         (STR): Likewise.
5972         (STOP): Likewise.
5973         (strpbrk): Likewise.  Do not use BP_SYM.
5974         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5975         "bp-asm.h".
5976         (PARMS): Do not use macros from bp-asm.h.
5977         (STR): Likewise.
5978         (CHR): Likewise.
5979         (strrchr): Likewise.  Do not use BP_SYM.
5980         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5981         (PARMS): Do not use macros from bp-asm.h.
5982         (SKIP): Likewise.
5983         (strspn): Do not use BP_SYM.
5984         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5985         (PARMS): Do not use macros from bp-asm.h.
5986         (STR): Likewise.
5987         (DELIM): Likewise.
5988         (SAVE): Likewise.
5989         (FUNCTION): Likewise.  Do not use BP_SYM.
5990         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5991         aliases.
5992         (strtok_r): Likewise.
5993         (__GI___strtok_r): Likewise.
5994         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5995         (PARMS): Do not use macros from bp-asm.h.
5996         (S1): Likewise.
5997         (S2): Likewise.
5998         (SIZE): Likewise.
5999         (__mpn_sub_n): Do not use BP_SYM.
6000         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6001         "bp-asm.h".
6002         (PARMS): Do not use macros from bp-asm.h.
6003         (S1): Likewise.
6004         (SIZE): Likewise.
6005         (__mpn_submul_1): Do not use BP_SYM.
6006         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6007         <bp-sym.h>.
6008         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6009         and <bp-asm.h>.
6010         (PARMS): Do not use macros from bp-asm.h.
6011         (FLAGS): Likewise.
6012         (PTID): Likewise.
6013         (TLS): Likewise.
6014         (CTID): Likewise.
6015         (__clone): Do not use BP_SYM.
6016         (clone): Do not use BP_SYM in weak_alias.
6017         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6018         and <bp-asm.h>.
6019         (PARMS): Do not use macros from bp-asm.h.
6020         (LEN): Likewise.
6021         (__mmap64): Do not use BP_SYM.
6022         (mmap64): Do not use BP_SYM in weak_alias.
6023         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6024         <bp-sym.h> and <bp-asm.h>.
6025         (PARMS): Do not use macros from bp-asm.h.
6026         (__posix_fadvise64_l64): Do not use BP_SYM.
6027         * sysdeps/unix/sysv/linux/i386/semtimedop.S
6028         (PARMS): Do not use macros from bp-asm.h.
6029         (NSOPS): Likewise.
6030         (semtimedop): Do not use BP_SYM.
6031         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6032         and <bp-asm.h>.
6034 2013-02-21  Allan McRae  <allan@archlinux.org>
6036         * manual/message.texi (Charset conversion in gettext):
6037         Move @end statement to beginning of line.
6039 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6041         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6042         static.
6043         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6044         Likewise.
6046         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6047         (denorm): Likewise.
6048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6051 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6053         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6054         tail-call to the resolved function if pltexit isn't needed.
6056 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6058         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6059         or Y being zero as being unlikely.
6060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6061         Likewise.
6063 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
6065         * manual/nss.texi (System Databases and Name Service Switch):
6066         Remove frobnicate @pxref.
6068 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6070         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6071         __attribute__ ((unused)) to __attribute__ ((__unused__)).
6073 2013-02-20  Petr Machata  <pmachata@redhat.com>
6075         * elf/elf.h (R_ARM_TARGET1): New macro.
6076         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6077         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6078         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6079         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6080         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6081         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6082         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6083         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6084         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6085         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6086         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6087         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6088         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6089         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6090         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6091         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6092         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6093         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6094         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6095         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6096         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6097         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6098         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6099         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6100         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6101         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6102         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6103         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6104         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6105         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6106         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6107         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6108         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6109         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6110         (R_ARM_THM_GOT_BREL12): Likewise.
6111         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6112         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6113         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6114         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6115         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6116         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6117         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6118         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6119         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6121 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
6123         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6124         __attribute_used__ to __attribute__ ((unused)).
6126 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6128         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6129         powerpc mpa.c.
6130         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6131         comment formatting.
6132         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6134 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
6136         [BZ #13550]
6137         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6138         Remove macro.
6139         (ENTER): Remove both macro definitions.
6140         (LEAVE): Likewise.
6141         (CHECK_BOUNDS_LOW): Likewise.
6142         (CHECK_BOUNDS_HIGH): Likewise.
6143         (CHECK_BOUNDS_BOTH): Likewise.
6144         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6145         (RETURN_BOUNDED_POINTER): Likewise.
6146         (RETURN_NULL_BOUNDED_POINTER): Likewise.
6147         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6148         (POP_ERRNO_LOCATION_RETURN): Likewise.
6149         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6150         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6151         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6152         macros.
6153         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6154         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6155         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6156         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6157         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6158         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6159         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6160         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6161         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6162         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6163         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6164         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6165         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6166         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6167         removed macros.
6168         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6169         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6170         macros.
6171         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6172         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6173         * sysdeps/i386/i586/memset.S (memset): Likewise.
6174         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6175         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6176         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6177         macros.
6178         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6179         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6180         Change uses of L(2) to L(out).
6181         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6182         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6183         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6184         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6185         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6186         removed macros.
6187         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6188         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6189         macros.
6190         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6191         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6192         (RETURN): Do not use macro LEAVE.
6193         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6194         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6195         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6196         * sysdeps/i386/i686/memset.S (memset): Likewise.
6197         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6198         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6199         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6200         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6201         Likewise.
6202         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6203         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
6204         L(1_2) and L(1_3) into L(1).
6205         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6206         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6207         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6208         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6209         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6210         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6211         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6212         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6213         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6214         macros.
6215         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6216         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6217         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6218         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6219         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6220         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6221         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6222         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6223         * sysdeps/i386/strcspn.S (strcspn): Likewise.
6224         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6225         * sysdeps/i386/strrchr.S (strrchr): Likewise.
6226         * sysdeps/i386/strspn.S (strspn): Likewise.
6227         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6228         conditional code.
6229         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6230         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6231         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6232         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
6233         L(1_3) into L(1_1).
6234         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6235         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6236         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6237         macros.
6238         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6240 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
6242         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6243         macro.
6245 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6247         * math/atest-exp.c (exp_mpn): Remove ROUND.
6248         * math/atest-exp2.c (exp_mpn): Likewise.
6249         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6251         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6252         * stdlib/tst-tls-atexit-lib.c: Likewise.
6253         * stdlib/tst-tls-atexit.c: Likewise.
6255 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6257         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6258         and __attribute_alloc_size__.
6260 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6262         * include/programs/xmalloc.h: Change __attribute_alloc_size to
6263         __attribute_alloc_size__.
6264         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6265         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6267 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
6269         * include/programs/xmalloc.h: New file.
6270         * catgets/gencat.c: Include it.
6271         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6272         * elf/pldd.c: Likewise.
6273         * iconv/iconv_charmap.c: Likewise.
6274         * iconv/iconvconfig.c: Likewise.
6275         * iconv/strtab.c: Likewise.
6276         * locale/programs/locale.c: Likewise.
6277         * locale/programs/localedef.h: Likewise.
6278         * locale/programs/simple-hash.c: Likewise.
6279         * nscd/nscd.h: Likewise.
6280         * nss/makedb.c: Likewise.
6281         * sysdeps/generic/ldconfig.h: Likewise.
6283 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6285         * Versions.def: Add GLIBC_2.18.
6286         * include/link.h (struct link_map): New member l_tls_dtor_count.
6287         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6288         (__call_tls_dtors): Likewise.
6289         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6290         __cxa_thread_atexit_impl.
6291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6292         Likewise.
6293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6294         Likewise.
6295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6296         Likewise.
6297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6298         Likewise.
6299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6301         Likewise.
6302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6303         Likewise.
6304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6306         Likewise.
6307         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6308         (tests): Add test case tst-tls-atexit.
6309         (modules-names): Add shared library for tst-tls-atexit.
6310         * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6311         (GLIBC_PRIVATE): Add __call_tls_dtors.
6312         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6313         for libstdc++.
6314         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6315         * stdlib/tst-tls-atexit.c: New test case.
6316         * stdlib/tst-tls-atexit-lib.c: New test case.
6318         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6320         * elf/Versions (ld): Add _dl_find_dso_for_object.
6321         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6322         * elf/dl-open.c (_dl_find_dso_for_object): New function.
6323         (dl_open_worker): Use _dl_find_dso_for_object.
6324         * elf/dl-sym.c (do_sym): Likewise.
6325         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6327 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6329         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6330         Syntactic changes only.
6331         (_dl_runtime_profile): Do a tail-call to the resolved function.
6333 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
6335         [BZ #13550]
6336         * sysdeps/x86_64/bp-asm.h: Remove file.
6337         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6338         <bp-sym.h> and <bp-asm.h>.
6339         (__clone): Do not use BP_SYM.
6340         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6341         <bp-sym.h> and <bp-asm.h>.
6342         * sysdeps/unix/x86_64/sysdep.S: Likewise.
6343         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6344         "bp-asm.h".
6345         (_setjmp): Do not use BP_SYM.
6346         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6347         "bp-asm.h".
6348         (setjmp): Do not use BP_SYM.
6349         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6350         libc_hidden_def.
6351         (mempcpy): Do not use BP_SYM in weak_alias.
6352         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6353         "bp-asm.h".
6354         (strchr): Do not use BP_SYM.
6355         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6356         "bp-asm.h".
6357         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6358         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6359         (_start): Do not use BP_SYM.
6360         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6361         "bp-asm.h".
6362         (strcat): Do not use BP_SYM.
6363         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6364         "bp-asm.h".
6365         (STRCMP): Do not use BP_SYM.
6366         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6367         "bp-asm.h".
6368         (STRCPY): Do not use BP_SYM.
6369         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6370         "bp-asm.h".
6371         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6372         "bp-asm.h".
6373         (FUNCTION): Do not use BP_SYM.
6374         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6375         weak_alias.
6376         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6378 2013-02-17  Andreas Jaeger  <aj@suse.de>
6380         * time/Versions: Sort entries.
6381         * string/Versions: Likewise.
6382         * resolv/Versions: Likewise.
6383         * posix/Versions: Likewise.
6384         * iconv/Versions: Likewise.
6385         * elf/Versions: Likewise.
6386         * wcsmbs/Versions: Likewise.
6388 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6390         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6391         loop termination condition.
6393         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6394         variable to calculate EZ.
6395         (__sqr): Likewise.
6397         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6398         the lower precision input.
6400 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
6402         [BZ #13550]
6403         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6404         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6405         (run-via-rtld-prefix): Do not handle %-bp tests.
6406         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6407         (all-object-suffixes): Remove .ob.
6408         (bppfx): Remove variable.
6409         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6410         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6411         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6412         [$(build-bounded) = yes] (libtype.ob): Likewise.
6413         * Makerules (elide-routines.ob): Remove variable.
6414         (do-tests-clean): Do not handle *-bp.out.
6415         (common-mostlyclean): Do not handle *-bp and *-bp.out.
6416         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6417         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6418         (tests): Do not include $(tests-bp.out).
6419         (xtests): Do not include $(xtests-bp.out).
6420         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6421         [$(build-bounded) = yes] ($(addprefix
6422         $(objpfx),$(binaries-bounded))): Remove rule.
6423         ($(objpfx)%-bp.out): Remove rule.
6424         * config.make.in (build-bounded): Remove variable.
6425         * crypt/Makefile [$(build-bounded) = yes]
6426         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6427         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6428         append to variable.
6429         [$(build-bounded) = yes] (install-lib): Likewise.
6430         [$(build-bounded) = yes] (generated): Likewise.
6431         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6432         Remove rule.
6433         * intl/Makefile [$(build-bounded) = yes]
6434         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6435         * math/Makefile [$(build-bounded) = yes]
6436         ($(tests:%=$(objpfx)%-bp): Likewise.
6437         * misc/Makefile [$(build-bounded) = yes]
6438         ($(objpfx)tst-tsearch-bp): Likewise.
6439         * nptl/Makeconfig (bounded-thread-library): Remove variable.
6440         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6441         Remove dependency.
6442         * string/Makefile (o-objects.ob): Remove variable.
6443         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6444         (CFLAGS-.ob): Remove variable.
6445         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6446         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6447         both definitions of variable.
6448         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6449         (ASFLAGS-.ob): Remove variable.
6451 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
6453         [BZ #13550]
6454         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6455         Remove __BOUNDED_POINTERS__ from condition.
6456         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6457         * string/bits/string2.h [!__NO_STRING_INLINES &&
6458         !__BOUNDED_POINTERS__]: Likewise.
6459         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6460         Likewise.
6461         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6462         Remove conditional code.
6463         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6464         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6465         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6466         condition.
6468         [BZ #13550]
6469         * csu/libc-start.c: Do not include <bp-sym.h>.
6470         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6471         * elf/dl-open.c: Do not include <bp-sym.h>.
6472         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6473         * math/fegetenv.c: Do not include <bp-sym.h>.
6474         (fegetenv): Do not use BP_SYM in versioned symbols.
6475         * nptl/sysdeps/pthread/bits/libc-lockP.h
6476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6477         <bp-sym.h>.
6478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6479         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6481         (__pthread_mutex_destroy): Likewise.
6482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6483         (__pthread_mutex_lock): Likewise.
6484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6485         (__pthread_mutex_trylock): Likewise.
6486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6487         (__pthread_mutex_unlock): Likewise.
6488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6489         (__pthread_mutexattr_init): Likewise.
6490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6491         (__pthread_mutexattr_destroy): Likewise.
6492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6493         (__pthread_mutexattr_settype): Likewise.
6494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6495         (__pthread_rwlock_init): Likewise.
6496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6497         (__pthread_rwlock_destroy): Likewise.
6498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6499         (__pthread_rwlock_rdlock): Likewise.
6500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6501         (__pthread_rwlock_tryrdlock): Likewise.
6502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6503         (__pthread_rwlock_wrlock): Likewise.
6504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6505         (__pthread_rwlock_trywrlock): Likewise.
6506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6507         (__pthread_rwlock_unlock): Likewise.
6508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6509         (__pthread_key_create): Likewise.
6510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6511         (__pthread_setspecific): Likewise.
6512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6513         (__pthread_getspecific): Likewise.
6514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6515         Likewise.
6516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6517         (_pthread_cleanup_push_defer): Likewise.
6518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6519         (_pthread_cleanup_pop_restore): Likewise.
6520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6521         (pthread_setcancelstate): Likewise.
6522         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6523         <bp-sym.h>.
6524         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6525         (memchr): Do not use BP_SYM in weak_alias.
6526         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6527         (fegetenv): Do not use BP_SYM in versioned symbols.
6528         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6529         (fesetenv): Do not use BP_SYM in versioned symbols.
6530         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6531         (feupdateenv): Do not use BP_SYM in versioned symbols.
6532         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6533         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6534         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6535         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6536         (open64): Do not use BP_SYM in weak_alias.
6537         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6538         (fegetenv): Do not use BP_SYM in versioned symbols.
6539         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6540         (fesetenv): Do not use BP_SYM in versioned symbols.
6541         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6542         (feupdateenv): Do not use BP_SYM in versioned symbols.
6543         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6544         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6545         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6546         (feraiseexcept): Do not use BP_SYM in versioned symbols.
6547         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6548         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6549         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6550         <bp-sym.h>.
6551         (__libc_start_main): Do not use BP_SYM.
6553 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6555         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6556         redundant return line.
6557         (norm): Likewise.
6558         (denorm): Likewise.
6559         (dbl_mp): Likewise.
6560         (sub_magnitudes): Likewise.
6561         (__add): Likewise.
6562         (__sub): Likewise.
6563         (__mul): Likewise.
6564         (__inv): Likewise.
6565         (__dvd): Likewise.
6566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6567         (norm): Likewise.
6568         (denorm): Likewise.
6569         (dbl_mp): Likewise.
6570         (sub_magnitudes): Likewise.
6571         (__add): Likewise.
6572         (__sub): Likewise.
6573         (__mul): Likewise.
6574         (__inv): Likewise.
6575         (__dvd): Likewise.
6577         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6578         instead of __mul.
6579         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6580         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6581         (cc32): Likewise.
6583         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6584         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6585         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6586         of __mul for squares.
6587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6588         function
6589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6590         Likewise.
6591         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6592         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6594 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
6596         [BZ #13550]
6597         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6598         code.
6599         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6600         prototype or function definition.  Rename ubp_* variables and
6601         parameters.  Remove argv definitions conditional on
6602         [__BOUNDED_POINTERS__].
6603         * debug/backtrace.c (__backtrace): Do not use __unbounded.
6604         * elf/dl-runtime.c (_dl_fixup): Likewise.
6605         * include/set-hooks.h (RUN_HOOK): Likewise.
6606         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6607         definition.
6608         * string/strcpy.c (strcpy): Do not use __unbounded.
6609         * sysdeps/generic/frame.h (struct layout): Likewise.
6610         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6611         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6612         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6613         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6614         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6615         (__backtrace): Likewise.
6616         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6617         use __ptrvalue.
6618         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6619         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6620         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6621         Likewise.
6622         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6623         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6624         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6625         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6626         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6627         Do not use __unbounded.
6628         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6629         Rename __unboundedrlimits parameter to rlimits in prototype.
6630         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6631         Do not use __unbounded.
6632         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6633         not use __ptrvalue.
6634         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6635         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6636         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6637         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6638         __ptrvalue or __unbounded.
6639         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6640         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6641         use __unbounded.
6642         (__new_msgctl): Do not use __ptrvalue.
6643         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6644         __unbounded.
6645         (__libc_msgrcv): Do not use __ptrvalue.
6646         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6647         startup_info): Do not use __unbounded.
6648         (__libc_start_main): Likewise.  Rename ubp_* variables and
6649         parameters.  Remove argv definitions conditional on
6650         [__BOUNDED_POINTERS__].
6651         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6652         __ptrvalue.
6653         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6654         use __unbounded.
6655         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6656         or __ptrvalue.
6657         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6658         use __unbounded.
6659         (__new_shmctl): Do not use __ptrvalue.
6660         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6661         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6662         Likewise.
6663         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6664         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6665         (__libc_sigaction): Likewise.
6666         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6667         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6668         Likewise.
6669         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6671 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
6673         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6675         * string/mempcpy.c: Implement by calling memcpy.
6677 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6679         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6682         evaluation.
6684         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6685         values in the mantissa.
6687         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6688         minimize writes to Z.
6689         (sub_magnitudes): Simplify code a bit.
6691 2013-02-12  Roland McGrath  <roland@hack.frob.com>
6693         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6694         from the message.  The linker prefixes all warnings with that already.
6696 2013-02-12  Andreas Schwab  <schwab@suse.de>
6698         [BZ #15078]
6699         * posix/regexec.c (extend_buffers): Add parameter min_len.
6700         (check_matching): Pass minimum needed length.
6701         (clean_state_log_if_needed): Likewise.
6702         (get_subexp): Likewise.
6703         * posix/Makefile (tests): Add bug-regex34.
6704         (bug-regex34-ENV): Define.
6705         * posix/bug-regex34.c: New file.
6707         [BZ #11561]
6708         * posix/regcomp.c (parse_bracket_exp): When looking up collating
6709         elements compare against the byte sequence of it, not its name.
6710         * posix/Makefile (tests): Add bug-regex35.
6711         (bug-regex35-ENV): Define.
6712         * posix/bug-regex35.c: New file.
6714 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6716         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
6717         comment.
6718         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6719         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6720         (CHECK_EOL): Add undef.
6722 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
6724         * bits/stdlib-bsearch.h: New file.
6725         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6726         * stdlib/stdlib.h: Likewise.
6728 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6730         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6731         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6732         declaration.
6733         * manual/search.texi (Array Search Function): Add missing const in
6734         lfind prototype.
6735         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6736         declaration to use rlim_t.
6737         (Basic Scheduling Functions): Remove erroneous const from
6738         sched_getparam prototype.  Remove erroneous * from
6739         sched_get_priority_max and sched_get_priority_min prototypes.
6740         (Resource Usage): Fix summary @comment on vtimes to refer to
6741         sys/vtimes.h rather than vtimes.h.
6742         Add missing *s in vtimes prototype.
6743         (Limits on Resources): Fix ulimit prototype to return long int.
6744         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6745         prototypes to use long int rather than double.
6746         (BSD Random): Fix initstate and setstate to use char *, not void *.
6747         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6748         prototype to make second argument 'struct aiocb64 *const[]'.
6749         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6750         (Status of AIO Operations): Remove erroneous const in aio_return and
6751         aio_return64 prototypes.
6752         (Synchronizing I/O): Fix sync prototype to return void.
6753         * manual/startup.texi (Suboptions): Remove an erroneous const in
6754         getsubopt prototype.
6755         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6756         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6757         use size_t rather than int.
6758         (Scanning All Users): Likewise for getpwent_r.
6759         (Setting Groups): Add missing const to setgroups prototype.
6760         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6761         * manual/socket.texi (Host Names): Fix gethostbyaddr and
6762         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6763         'const void *' rather than 'const char *'.
6764         (Host Address Functions): Likewise for inet_ntop.
6765         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6766         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6767         ssize_t for return value.
6768         (Sending Data): Likewise for send, sendto, sendmsg.
6769         (Socket Option Functions): Add a missing const in setsockopt prototype.
6770         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6771         use wchar_t for the argument.
6772         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6773         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6774         take no arguments.
6775         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6776         double/float/long double for second argument.
6777         Fix return types of significand, significandf, significandl.
6778         * manual/filesys.texi (Setting Permissions): Use mode_t for second
6779         argument in fchmod prototype.
6780         (File Owner): Use uid_t and gid_t in fchown prototype.
6781         (File Times): Add const to utimes, futimes, and lutimes prototypes.
6782         (Making Special Files): Use mode_t and dev_t in mknod prototype.
6783         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6784         use 'const struct dirent **' as argument types to CMP function pointer
6785         argument.
6786         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6787         (File Times): Fix summary magic @comment for struct utimbuf and utime
6788         to refer to utime.h, not time.h.
6789         * manual/string.texi (Argz Functions): Add missing const in
6790         argz_extract and argz_next prototypes.
6791         (Finding Tokens in a String): Likewise for basename.
6792         (String/Array Comparison): Fix typo in wcscasecmp prototype.
6793         (Copying and Concatenation): Fix typo in wmemmove prototype.
6794         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6795         (Signal Stack): Remove erroneous const in sigstack prototype.
6796         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6797         prototype.
6798         (Simple Calendar Time): Likewise for stime.
6799         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6800         prototype.
6801         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6802         say sys/sysctl.h instead.
6803         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6804         and vsyslog prototypes.
6806 2013-02-11  Tom de Vries  <tom@codesourcery.com>
6808         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6809         Remove.
6811 2013-02-11  Roland McGrath  <roland@hack.frob.com>
6813         * misc/sys/mman.h: Fix typo in mremap comment.
6815 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6817         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6818         the '\0' terminator.
6820 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6822         [BZ #13550]
6823         * debug/segfault.c: Don't include <bp-checks.h>.
6824         * sysdeps/generic/bp-checks.h: Remove file.
6825         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6826         (__GETDENTS): Don't use CHECK_N.
6827         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6828         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6829         (__getgroups): Don't use CHECK_N.
6830         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6831         (setgroups): Don't use CHECK_N.
6832         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6833         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6834         (__libc_msgrcv): Don't use CHECK_N.
6835         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6836         (__libc_msgsnd): Don't use CHECK_N.
6837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6838         <bp-checks.h>.
6839         (__libc_pread): Don't use CHECK_N.
6840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6841         include <bp-checks.h>.
6842         (__libc_pread64): Don't use CHECK_N.
6843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6844         include <bp-checks.h>.
6845         (__libc_pwrite): Don't use CHECK_N.
6846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6847         include <bp-checks.h>.
6848         (__libc_pwrite64): Don't use CHECK_N.
6849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6850         <bp-checks.h>.
6851         (__libc_pread): Don't use CHECK_N.
6852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6853         include <bp-checks.h>.
6854         (__libc_pread64): Don't use CHECK_N.
6855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6856         include <bp-checks.h>.
6857         (__libc_pwrite): Don't use CHECK_N.
6858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6859         include <bp-checks.h>.
6860         (__libc_pwrite64): Don't use CHECK_N.
6861         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6862         (do_pread): Don't use CHECK_N.
6863         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6864         (do_pread64): Don't use CHECK_N.
6865         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6866         (do_pwrite): Don't use CHECK_N.
6867         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6868         (do_pwrite64): Don't use CHECK_N.
6869         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6870         (__libc_readv): Don't use CHECK_N.
6871         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6872         (semop): Don't use CHECK_N.
6873         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6874         <bp-checks.h>.
6875         (semtimedop): Don't use CHECK_N.
6876         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6877         (__libc_pread): Don't use CHECK_N.
6878         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6879         <bp-checks.h>.
6880         (__libc_pread64): Don't use CHECK_N.
6881         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6882         <bp-checks.h>.
6883         (__libc_pwrite): Don't use CHECK_N.
6884         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6885         <bp-checks.h>.
6886         (__libc_pwrite64): Don't use CHECK_N.
6887         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6888         <bp-checks.h>.
6889         (__libc_msgrcv): Don't use CHECK_N.
6890         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6891         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
6892         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6893         (__libc_writev): Don't use CHECK_N.
6895 2013-02-08  Roland McGrath  <roland@hack.frob.com>
6897         * string/strcpy.c: Removed unused variable.
6899         * Makeconfig (+sysdep-includes): Define with := rather than =.
6900         Use an existing include/ subdir of each sysdeps dir before it.
6902 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6904         * nscd/connection.c (register_traced_file): Comment function.
6905         [HAVE_INOTIFY] (union __inev): Define.
6906         [HAVE_INOTIFY] (inotify_check_files): New function.
6907         [HAVE_INOTIFY] (clear_db_cache): Likewise.
6908         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6909         clear_db_cache.
6910         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6912 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6914         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6915         loaded if not already and that a failure is permanent.
6917 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
6919         [BZ #15006]
6920         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6921         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6923 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
6925         [BZ #13550]
6926         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6927         (CHECK_1_NULL_OK): Likewise.
6928         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6929         (__fxstat): Do not use CHECK_1.
6930         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6931         <bp-checks.h>.
6932         (___fxstat64): Do not use CHECK_1.
6933         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6934         <bp-checks.h>.
6935         (__fxstatat): Do not use CHECK_1.
6936         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6937         <bp-checks.h>.
6938         (__fxstatat64): Do not use CHECK_1.
6939         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6940         <bp-checks.h>.
6941         (__fxstat): Do not use CHECK_1.
6942         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6943         <bp-checks.h>.
6944         (__fxstatat): Do not use CHECK_1.
6945         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6946         <bp-checks.h>.
6947         (__getresgid): Do not use CHECK_1.
6948         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6949         <bp-checks.h>.
6950         (__getresuid): Do not use CHECK_1.
6951         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6952         <bp-checks.h>.
6953         (__lxstat): Do not use CHECK_1.
6954         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6955         <bp-checks.h>.
6956         (__old_msgctl): Do not use CHECK_1.
6957         (__new_msgctl): Likewise.
6958         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6959         <bp-checks.h>.
6960         (__new_setrlimit): Do not use CHECK_1.
6961         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6962         <bp-checks.h>.
6963         (__old_shmctl): Do not use CHECK_1.
6964         (__new_shmctl): Likewise.
6965         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6966         <bp-checks.h>.
6967         (__xstat): Do not use CHECK_1.
6968         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6969         (__lxstat): Do not use CHECK_1.
6970         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6971         <bp-checks.h>.
6972         (___lxstat64): Do not use CHECK_1.
6973         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6974         (__old_msgctl): Do not use CHECK_1.
6975         (__new_msgctl): Likewise.
6976         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6977         <bp-checks.h>.
6978         (__gettimeofday): Do not use CHECK_1.
6979         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6980         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6981         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6982         <bp-checks.h>.
6983         (__gettimeofday): Do not use CHECK_1.
6984         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6985         (__old_shmctl): Do not use CHECK_1_NULL_OK.
6986         (__new_shmctl): Do not use CHECK_1.
6987         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6988         <bp-checks.h>.
6989         (do_sigtimedwait): Do not use CHECK_1.
6990         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6991         <bp-checks.h>.
6992         (do_sigwaitinfo): Do not use CHECK_1.
6993         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6994         <bp-checks.h>.
6995         (msgctl): Do not use CHECK_1.
6996         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6997         <bp-checks.h>.
6998         (shmctl): Do not use CHECK_1.
6999         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7000         (ustat): Do not use CHECK_1.
7001         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7002         <bp-checks.h>.
7003         (__fxstat): Do not use CHECK_1.
7004         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7005         <bp-checks.h>.
7006         (__fxstatat): Do not use CHECK_1.
7007         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7008         <bp-checks.h>.
7009         (__lxstat): Do not use CHECK_1.
7010         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7011         <bp-checks.h>.
7012         (__xstat): Do not use CHECK_1.
7013         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7014         (__xstat): Do not use CHECK_1.
7015         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7016         (___xstat64): Do not use CHECK_1.
7018         [BZ #13550]
7019         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7020         definitions.
7021         (CHECK_BOUNDS_HIGH): Likewise.
7022         * string/strcpy.c: Do not include <bp-checks.h>.
7023         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7025 2013-02-07  Roland McGrath  <roland@hack.frob.com>
7027         * nscd/nscd-client.h (__nscd_drop_map_ref):
7028         Add __attribute__ ((unused)).
7029         * nis/nss-nisplus.h (niserr2nss): Likewise.
7031         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7032         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7034         * csu/libc-tls.c (init_static_tls, init_slotinfo):
7035         Remove inline keyword.
7036         * include/rounding-mode.h (round_away): Likewise.
7037         * libio/wfileops.c (adjust_wide_data): Likewise.
7038         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7039         (__m128i_strloadu_tolower): Likewise.
7040         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7041         (__m128i_strloadu_tolower): Likewise.
7042         * time/mktime.c (ydhms_diff): Likewise.
7043         * locale/elem-hash.h (elem_hash): Likewise.
7044         * locale/setlocale.c (setdata): Likewise.
7045         * posix/regex_internal.h (re_string_char_size_at): Likewise.
7046         (re_string_wchar_at): Likewise.
7047         (bitset_not, bitset_merge, bitset_mask): Likewise.
7048         [!(__GNUC__ > 3)] (inline): Remove macro.
7049         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7050         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7051         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7052         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7053         * string/memcmp.c (memcmp_bytes): Likewise.
7054         * locale/programs/locarchive.c (compute_hashval): Likewise.
7055         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7056         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7057         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7058         * nss/getent.c (print_rpc, print_protocols): Likewise.
7059         (print_passwd, print_group, print_aliases): Likewise.
7060         * nis/nss-nisplus.h (niserr2nss): Likewise.
7061         * nscd/connections.c (restart_p): Likewise.
7062         Change return type to bool.
7064 2013-02-05  Roland McGrath  <roland@hack.frob.com>
7066         * Makeconfig (all-Depend-files): Add existing
7067         $(sorted-subdirs:=/Depend) files.
7068         (all-subdirs): Remove nss.
7069         * sysdeps/unix/inet/Subdirs: Add it here instead.
7070         * hesiod/Depend: New file.
7072         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7073         instead of calling alloca.
7075         * io/lseek.c (__lseek): Rename to __libc_lseek.
7076         Define __lseek as an alias.
7078         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7080 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
7082         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7083         else clause and remove check for non-standard endianness.
7085 2013-02-04  David S. Miller  <davem@davemloft.net>
7087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7089 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
7091         [BZ #13550]
7092         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7093         (__ubp_memchr): Remove prototype.
7094         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7095         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7096         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7097         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7098         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7099         Remove alias.
7100         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7101         (__ubp_memchr): Likewise.
7102         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7103         (__ubp_memchr): Likewise.
7104         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7105         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7106         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7107         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7108         CHECK_STRING.
7109         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7110         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7111         (__getcwd): Do not use CHECK_STRING.
7112         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7113         <bp-checks.h>.
7114         (__real_chown): Do not use CHECK_STRING.
7115         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7116         <bp-checks.h>.
7117         (fchownat): Do not use CHECK_STRING.
7118         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7119         CHECK_STRING.
7120         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7121         <bp-checks.h>.
7122         (__lchown): Do not use CHECK_STRING.
7123         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7124         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7125         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7126         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7128         include <bp-checks.h>.
7129         (truncate64): Do not use CHECK_STRING.
7130         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7131         <bp-checks.h>.
7132         (__real_chown): Do not use CHECK_STRING.
7133         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7134         <bp-checks.h>.
7135         (__lchown): Do not use CHECK_STRING.
7136         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7137         <bp-checks.h>.
7138         (__chown): Do not use CHECK_STRING.
7139         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7140         <bp-checks.h>.
7141         (truncate64): Do not use CHECK_STRING.
7142         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7143         Likewise.
7144         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7145         (__xmknod): Do not use CHECK_STRING.
7146         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7147         <bp-checks.h>.
7148         (__xmknodat): Do not use CHECK_STRING.
7149         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7150         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7152 2013-02-04  Andreas Schwab  <schwab@suse.de>
7154         [BZ #14142]
7155         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7156         * include/netdb.h: Likewise for h_errno.
7157         * elf/tst-stackguard1.c: Include <tls.h>.
7159 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
7161         * elf/link.h (struct link_map): Extend the l_addr comment.
7162         * include/link.h (struct link_map): Likewise.
7164 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
7166         [BZ #13550]
7167         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7168         (BOUNDED_1): Remove macro.
7169         * debug/backtrace.c: Don't include <bp-checks.h>.
7170         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7171         (__backtrace): Likewise.
7172         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7173         <bp-checks.h>.
7174         (__backtrace): Don't use BOUNDED_1.
7175         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7176         <bp-checks.h>.
7177         (__backtrace): Don't use BOUNDED_1.
7178         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7179         (__backtrace): Don't use BOUNDED_1.
7180         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7181         (shmat): Don't use BOUNDED_N.
7183 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
7185         [BZ #13550]
7186         * sysdeps/generic/bp-start.h: Remove file.
7187         * csu/libc-start.c: Don't include <bp-start.h>.
7188         (LIBC_START_MAIN): Set up __environ directly instead of using
7189         INIT_ARGV_and_ENVIRON.
7190         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7191         <bp-start.h>.
7193         [BZ #13550]
7194         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7195         definitions.
7196         (CHECK_FCNTL): Likewise.
7197         (CHECK_N_PAGES): Likewise.
7199         [BZ #13550]
7200         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7201         definitions.
7202         (CHECK_SIGSET_NULL_OK): Likewise.
7203         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7204         <bp-checks.h>.
7205         (sigpending): Don't use CHECK_SIGSET.
7206         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7207         <bp-checks.h>.
7208         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7209         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7210         <bp-checks.h>.
7211         (do_sigsuspend): Don't use CHECK_SIGSET.
7212         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7213         use CHECK_SIGSET.
7214         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7215         (do_sigwait): Don't use CHECK_SIGSET.
7216         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7217         use CHECK_SIGSET.
7218         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7219         include <bp-checks.h>.
7220         (sigpending): Don't use CHECK_SIGSET.
7221         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7222         include <bp-checks.h>.
7223         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7224         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7225         <bp-checks.h>.
7226         (sigpending): Don't use CHECK_SIGSET.
7227         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7228         <bp-checks.h>.
7229         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7231         [BZ #13550]
7232         * sysdeps/generic/bp-semctl.h: Remove file.
7233         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7234         <bp-checks.h> and <bp-semctl.h>.
7235         (__old_semctl): Don't use CHECK_SEMCTL.
7236         (__new_semctl): Likewise.
7237         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7238         and <bp-semctl.h>.
7239         (__old_semctl): Don't use CHECK_SEMCTL.
7240         (__new_semctl): Likewise.
7241         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7242         <bp-checks.h> and <bp-semctl.h>.
7243         (__old_semctl): Don't use CHECK_SEMCTL.
7244         (__new_semctl): Likewise.
7245         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7246         <bp-checks.h> and <bp-semctl.h>.
7247         (semctl): Don't use CHECK_SEMCTL.
7249         [BZ #13550]
7250         * Makerules (elide-bp-thunks): Remove variable.
7251         (elide-routines.oS): Don't use $(elide-bp-thunks).
7252         (elide-routines.os): Likewise.
7253         (elide-routines.o): Likewise.
7254         (elide-routines.op): Likewise.
7255         (elide-routines.og): Likewise.
7256         (objects): Don't use $(bp-thunks).
7257         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7258         include.
7259         (common-generated): Do not add s-proto-bp.d.
7260         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7261         (int): Likewise.
7262         (typ): Likewise.
7263         Do not generate makefile rules for bounded-pointer thunks.
7264         * sysdeps/generic/bp-thunks.h: Remove file.
7265         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7266         * sysdeps/unix/s-proto-bp.S: Likewise.
7268         [BZ #15062]
7269         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7270         parts of result separately when argument is not close to line from
7271         -i to i and one part of argument is small.
7272         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7273         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7274         * math/libm-test.inc (cacos_test): Add more tests.
7275         (casin_test): Likewise.
7276         (casinh_test): Likewise.
7277         * sysdeps/i386/fpu/libm-test-ulps: Update.
7278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7280 2013-01-31  David S. Miller  <davem@davemloft.net>
7282         * po/de.po: Update from translation team.
7284 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
7286         * time/tzfile.c: Include stdint.h for SIZE_MAX.
7288 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
7290         * configure.in (_AC_PROG_CC_C89): New definition.
7291         * configure: Regenerate.
7293         * configure.in (AC_PROG_CPP): New definition.
7294         * configure: Regenerate.
7296 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7298         * debug/tst-backtrace.h: New file.
7299         * debug/tst-backtrace2.c: Include tst-backtrace.h.
7300         (ret): Remove variable.
7301         (x): Likewise.
7302         (FAIL): Remove macro.
7303         (NO_INLINE): Likewise.
7304         (fn1): Use match function instead of strstr.
7305         * debug/tst-backtrace3.c: Include tst-backtrace.h.
7306         (ret): Remove variable.
7307         (x): Likewise.
7308         (FAIL): Remove macro.
7309         (NO_INLINE): Likewise.
7310         (fn): Use match function instead of strstr.
7311         * debug/tst-backtrace4.c: Include tst-backtrace.h.
7312         (ret): Remove variable.
7313         (x): Likewise.
7314         (FAIL): Remove macro.
7315         (NO_INLINE): Likewise.
7316         (handle_signal): Use match function instead of strstr.
7317         * debug/tst-backtrace5.c: Include tst-backtrace.h.
7318         (ret): Remove variable.
7319         (x): Likewise.
7320         (FAIL): Remove macro.
7321         (NO_INLINE): Likewise.
7322         (handle_signal): Use match function instead of strstr.
7324 2013-01-23  Roland McGrath  <roland@hack.frob.com>
7326         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7328 2013-01-23  David S. Miller  <davem@davemloft.net>
7330         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7331         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7332         argument of CAS if possible.
7333         * sysdeps/sparc/sparc64/bits/atomic.h
7334         (__arch_compare_and_exchange_val_32_acq): Likewise.
7335         (__arch_compare_and_exchange_val_64_acq): Likewise.
7337 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
7339         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7340         * sysdeps/posix/ulimit.c: ... this.
7341         Include <limits.h>.
7342         * sysdeps/unix/bsd/ulimit.c: Remove file.
7344 2013-01-23  Adam Conrad  <adconrad@0c3.net>
7346         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7347         (LDFLAGS-tst-array5): Likewise.
7349 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
7351         [BZ #15036]
7352         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7353         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7354         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7355         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7357 2013-01-21  David S. Miller  <davem@davemloft.net>
7359         * sysdeps/sparc/backtrace.c: New file.
7360         * sysdeps/sparc/sparc32/backtrace.h: New file.
7361         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7362         * sysdeps/sparc/sparc64/backtrace.h: New file.
7363         * sysdeps/sparc/sparc64/backtrace.c: Delete.
7364         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7365         -funwind-tables.
7367 2013-01-21  Andreas Schwab  <schwab@suse.de>
7369         [BZ #15020]
7370         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7371         closed its stdout.
7373 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
7375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7376         "mpa2.h".
7377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7379 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
7380             Mark Mitchell  <mark@codesourcery.com>
7381             Tom de Vries  <tom@codesourcery.com>
7382             Paul Pluzhnikov  <ppluzhnikov@google.com>
7384         * debug/tst-backtrace2.c: New file.
7385         * debug/tst-backtrace3.c: Likewise.
7386         * debug/tst-backtrace4.c: Likewise.
7387         * debug/tst-backtrace5.c: Likewise.
7388         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7389         (CFLAGS-tst-backtrace3.c): Likewise.
7390         (CFLAGS-tst-backtrace4.c): Likewise.
7391         (CFLAGS-tst-backtrace5.c): Likewise.
7392         (LDFLAGS-tst-backtrace2): Likewise.
7393         (LDFLAGS-tst-backtrace3): Likewise.
7394         (LDFLAGS-tst-backtrace4): Likewise.
7395         (LDFLAGS-tst-backtrace5): Likewise.
7396         (tests): Add new tests tst-backtrace2, tst-backtrace3,
7397         tst-backtrace4 and tst-backtrace5.
7399 2013-01-18  Anton Blanchard  <anton@samba.org>
7400             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7402         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7403         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7404         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7405         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7407         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7408         "+r" and remove output regs list as redundant.  Add explicit inline
7409         asm to specify register of return val to work around compiler codegen
7410         bug.  Remove (int) cast on return value.  Add return type parameter to
7411         use in macro so that this macro does not truncate return value for
7412         64-bit values.
7413         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7414         pass to INTERNAL_VSYSCALL_NCS.
7415         (INLINE_VSYSCALL): Add 'long int' as return type to
7416         INTERNAL_VSYSCALL_NCS macro invocation.
7417         (INTERNAL_VSYSCALL): Add 'long int' as return type to
7418         INTERNAL_VSYSCALL_NCS macro invocation.
7419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7421 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7423         [BZ #14496]
7424         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7425         Fix application of SIMD FP exception mask.
7427         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7428         mp_no from a power of two.
7429         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7430         __mpexp_twomm1.  Use __pow_mp.
7432         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7433         multiplication.
7435 2013-01-17  David S. Miller  <davem@davemloft.net>
7437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7439 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7441         [BZ #15023]
7442         * include/complex.h: Condition contents on [!_COMPLEX_H].
7443         (__kernel_casinhf): New prototype.
7444         (__kernel_casinh): Likewise.
7445         (__kernel_casinhl): Likewise.
7446         * math/Makefile (libm_calls): Add k_casinh.
7447         * math/k_casinh.c: New file.
7448         * math/k_casinhf.c: Likewise.
7449         * math/k_casinhl.c: Likewise.
7450         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7451         finite nonzero arguments.
7452         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7453         finite nonzero arguments.
7454         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7455         finite nonzero arguments.
7456         * math/s_casinh.c: Do not include <float.h>.
7457         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7458         * math/s_casinhf.c: Do not include <float.h>.
7459         (__casinhf): Move code for finite nonzero arguments to
7460         k_casinhf.c.
7461         * math/s_casinhl.c: Do not include <float.h>.
7462         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7463         redefine.
7464         (__casinhl): Move code for finite nonzero arguments to
7465         k_casinhl.c.
7466         * math/libm-test.inc (cacos_test): Add more tests.
7467         * sysdeps/i386/fpu/libm-test-ulps: Update.
7468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7470 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
7472         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7473         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7474         [!HAVE_MREMAP]: Remove [defined linux] case.
7475         * malloc/arena.c: Do not include <malloc-sysdep.h>.
7477 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7479         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7481 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
7483         * elf/elf.h (R_386_SIZE32): New relocation.
7484         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7485         R_386_SIZE32.
7486         (elf_machine_rela): Likewise.
7487         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7488         R_X86_64_SIZE64 and R_X86_64_SIZE32.
7490 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
7492         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7493         (FP_FAST_FMA): Do not define.
7494         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7495         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7496         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7497         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7498         !_SOFT_FLOAT]: Likewise.
7499         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7500         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7501         value.
7502         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7503         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7504         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7505         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7506         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7507         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7508         file.
7510 2013-01-16  Andreas Schwab  <schwab@suse.de>
7512         [BZ #14327]
7513         * include/stdlib.h (__mktemp): Add declaration.
7514         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7515         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7517 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7519         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7520         definitions.
7521         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7522         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7523         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7524         definitions here.
7525         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7526         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7527         definitions.
7528         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7529         and ONE.
7530         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7531         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7532         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7533         definitions.
7534         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7535         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7536         definitions.
7537         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7539         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7541 2013-01-15  David S. Miller  <davem@davemloft.net>
7543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7544         trunc{,f} to libm-sysdep_routes.
7545         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7547         file.
7548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7550         file.
7551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7552         file.
7553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7555         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7556         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7557         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7558         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7559         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7560         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7563         nearbyint{,f} to libm-sysdep_routes.
7564         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7566         New file.
7567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7568         file.
7569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7570         New file.
7571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7572         file.
7573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7575         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7576         file.
7577         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7578         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7579         file.
7580         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7581         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7582         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7584         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7585         libc_feholdexcept and libc_fesetenv.
7587 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
7589         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7591 2013-01-14  David S. Miller  <davem@davemloft.net>
7593         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7594         (SPARC_ASM_VIS2_IFUNC): Likewise.
7595         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7597         use of 'siam' instruction.
7598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7599         Likewise.
7600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7601         Likewise.
7602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7603         Likewise.
7604         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7605         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7609         file.
7610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7611         file.
7612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7613         file.
7614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7615         file.
7616         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7617         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7619         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7621         new VIS2 routines.
7622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7625         Likewise.
7626         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7627         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7628         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7629         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7631         routines to libm-sysdep_routines.
7632         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7635         fdim/fdimf to libm-sysdep_routines.
7636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7637         file.
7638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7640         file.
7641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7644         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7645         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7646         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7647         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7649 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
7651         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7652         to optimize copies.
7654         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7656         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7659         local variable MPTWO.
7660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7661         Likewise.
7663 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7665         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7666         GLOB_NOESCAPE.
7668 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7670         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7672 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
7674         * manual/pattern.texi (glob_t): Document gl_flags.
7675         (glob64_t): Likewise.
7677 2013-01-11  David S. Miller  <davem@davemloft.net>
7679         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7680         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7681         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
7682         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7683         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7684         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7685         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7686         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7687         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7688         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7689         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7690         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7691         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7693         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7694         sparc V9 rather than using V8 code.
7695         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7696         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7698         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7699         Move to...
7700         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7701         Here.
7703 2013-01-11  Roland McGrath  <roland@hack.frob.com>
7705         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7706         not in the main loop.
7707         * configure: Regenerated.
7709 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
7711         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7712         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7713         to just #else.
7714         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
7715         [!__GLIBC_HAVE_LONG_LONG] case.
7716         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7717         condition to just #else.
7718         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7719         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7720         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7721         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7722         unconditional.
7723         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7724         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7725         #elif condition to just #else.
7726         * sysdeps/unix/sysv/linux/sys/sysmacros.h
7727         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7728         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7729         #elif condition to just #else.
7731 2013-01-11  Steve Ellcey  <sellcey@mips.com>
7733         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7734         (EF_MIPS_ARCH_64): Fix value.
7735         (EF_MIPS_ARCH_32R2): New.
7736         (EF_MIPS_ARCH_64R2): New.
7738 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
7740         * Makeconfig (+link-pie-before-libc): New.
7741         (+link-pie-after-libc): Likewise.
7742         (+link-pie-tests): Likewise.
7743         (+link-pie): Rewritten.
7744         (link-before-libc): Remove $(config-LDFLAGS).
7745         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7746         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7747         (config-LDFLAGS): Renamed to ...
7748         (rtld-LDFLAGS): This.
7749         (rtld-tests-LDFLAGS): New macro.
7750         (link-libc-rpath-link): Likewise.
7751         (link-libc-tests-rpath-link): Likewise.
7752         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7753         (link-libc): Prepand $(link-libc-rpath-link).
7754         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7755         (test-program-prefix): New macro.
7756         (test-via-rtld-prefix): Likewise.
7757         (test-program-cmd): Likewise.
7758         (host-test-program-cmd): Likewise.
7759         * Makefile ($(common-objpfx)testrun.sh): Replace
7760         $(run-program-prefix) with $(test-program-prefix).
7761         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7762         $(rtld-LDFLAGS).
7763         ($(common-objpfx)shlib.lds): Likewise.
7764         (build-module-helper): Likewise.
7765         ($(common-objpfx)format.lds): Likewise.
7766         * Rules (binaries-pie-tests): New.
7767         (binaries-pie-notests): Likewise.
7768         (binaries-pie): Rewritten.
7769         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7770         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7771         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7772         (make-test-out): Replace $(host-built-program-cmd) with
7773         $(host-test-program-cmd).
7774         * config.make.in (build-hardcoded-path-in-tests): New variable.
7775         * configure.in (--enable-hardcoded-path-in-tests): New configure
7776         option.
7777         (hardcoded_path_in_tests): New AC_SUBST.
7778         * configure: Regenerated.
7779         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7780         $(built-program-cmd) with $(test-program-cmd).
7781         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7782         (test_program_cmd): This.
7783         * elf/Makefile ($(objpfx)order.out): Run test with
7784         $(test-program-prefix).
7785         ($(objpfx)order2.out): Likewise.
7786         ($(objpfx)tst-initorder.out): Likewise.
7787         ($(objpfx)tst-initorder2.out): Likewise.
7788         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7789         $(test-program-cmd).
7790         ($(objpfx)tst-array1-static.out): Likewise.
7791         ($(objpfx)tst-array2.out): Likewise.
7792         ($(objpfx)tst-array3.out): Likewise.
7793         ($(objpfx)tst-array4.out): Likewise.
7794         ($(objpfx)tst-array5.out): Likewise.
7795         ($(objpfx)tst-array5-static.out): Likewise.
7796         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7797         $(test-program-cmd).
7798         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7799         $(run-program-prefix) with $(test-program-prefix).
7800         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7801         (test_program_prefix): This.
7802         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7803         $(run-program-prefix) with $(test-program-prefix).
7804         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7805         (test_program_prefix): This.
7806         * iconvdata/tst-tables.sh: Likewise.
7807         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7808         $(run-program-prefix) with $(test-program-prefix).
7809         ($(objpfx)tst-translit.out): Likewise.
7810         ($(objpfx)tst-gettext2.out): Likewise.
7811         ($(objpfx)tst-gettext4.out): Likewise.
7812         ($(objpfx)tst-gettext6.out): Likewise.
7813         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7814         (test_program_prefix): This.
7815         * intl/tst-gettext2.sh: Likewise.
7816         * intl/tst-gettext4.sh  Likewise.
7817         * intl/tst-gettext6.sh: Likewise.
7818         * intl/tst-translit.sh: Likewise.
7819         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7820         with $(test-program-cmd).
7821         * libio/Makefile ($(objpfx)test-freopen.out): Replace
7822         $(run-program-prefix) with $(test-program-prefix).
7823         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7824         (test_program_prefix): This.
7825         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7826         $(run-program-prefix) with $(test-program-prefix).
7827         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7828         (test_program_prefix): This.
7829         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7830         * posix/Makefile ($(objpfx)globtest.out): Replace
7831         $(run-via-rtld-prefix) and $(test-wrapper) with
7832         $(test-program-prefix) and $(test-via-rtld-prefix).
7833         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7834         $(test-program-prefix).
7835         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7836         $(host-test-program-cmd).
7837         (tst-spawn-ARGS): Likewise.
7838         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7839         $(test-program-prefix).
7840         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7841         (test_via_rtld_prefix): This.
7842         (test_wrapper): Renamed to ...
7843         (test_program_prefix): This.
7844         (run_program_prefix): Replaced by test_program_prefix.
7845         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7846         (test_program_prefix): This.
7847         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7848         with $(host-test-program-cmd).
7849         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7850         $(run-program-prefix) with $(test-program-prefix).
7851         ($(objpfx)tst-printf.out): Likewise.
7852         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7853         $(test-program-cmd).
7854         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7855         (test_program_prefix): This.
7856         * stdio-common/tst-unbputc.sh: Likewise.
7857         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7858         $(run-program-prefix) with $(test-program-prefix).
7859         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7860         (test_program_prefix): This.
7861         * string/Makefile ($(objpfx)tst-svc.out):  Replace
7862         $(built-program-cmd) with $(test-program-cmd).
7864 2013-01-11  Andreas Jaeger  <aj@suse.de>
7866         [BZ #15003]
7867         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7868         value. Sync with Linux 3.7.
7870 2013-01-10  David S. Miller  <davem@davemloft.net>
7872         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7873         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7874         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7876 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7878         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7879         never set.
7880         * configure: Regenerated.
7882 2013-01-10  David S. Miller  <davem@davemloft.net>
7884         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7885         sparc V9 rather than using V8 code.
7886         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7887         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7889 2013-01-10  Roland McGrath  <roland@hack.frob.com>
7891         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7892         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7893         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7894         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7895         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7896         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7897         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7898         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7899         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7900         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7901         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7902         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7903         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7904         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7905         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7906         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7907         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7908         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7909         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7910         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7911         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7912         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7913         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7914         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7915         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7916         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7917         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7919 2013-01-10  David S. Miller  <davem@davemloft.net>
7921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7923 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7925         * posix/Makefile (tests-static): New variable.
7926         (tests): Add $(tests-static).
7927         (tst-exec-static-ARGS): New variable.
7928         (tst-spawn-static-ARGS): Likewise.
7929         * posix/tst-exec-static.c: New file.
7930         * posix/tst-spawn-static.c: Likewise.
7931         * posix/tst-exec.c: Support run directly.
7932         * posix/tst-spawn.c: Likewise.
7934 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
7936         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7937         long.
7938         * math/bits/mathcalls.h (llrint): Likewise.
7939         (llround): Likewise.
7940         * stdlib/stdlib.h (struct drand48_data): Likewise.
7941         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7942         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7943         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7944         Likewise.
7945         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7946         Likewise.
7947         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7948         (elf_greg_t): Likewise.
7949         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7950         (__jmp_buf): Likewise.
7951         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7952         definitions.
7953         (llrint): Likewise, for all definitions.
7954         (llrintl): Likewise.
7956         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7957         Remove [__GNUC__] condition.
7958         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7959         condition to just [__USE_ISOC99].
7960         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7962 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
7964         [BZ #14200]
7965         * sysdeps/unix/sysv/linux/x86/bits/environments.h
7966         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7967         defined.
7968         (_POSIX_V6_ILP32_OFF32): Likewise.
7969         (_XBS5_ILP32_OFF32): Likewise.
7970         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7971         (__ILP32_OFFBIG_LDFLAGS): Likewise.
7973 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7975         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7978         doubles __mpexp_twomm1.  Adjust usage.
7979         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7980         Remove.
7982 2013-01-10  Andreas Schwab  <schwab@suse.de>
7984         [BZ #14964]
7985         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7986         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7988 2013-01-09  David S. Miller  <davem@davemloft.net>
7990         [BZ #15003]
7991         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7992         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7993         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7994         TCP_FASTOPEN): Define.
7995         (tcp_repair_opt): New structure.
7996         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7997         enum values.
7998         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7999         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8000         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8001         (tcp_cookie_transactions): New structure.
8003 2013-01-09  Anton Blanchard  <anton@samba.org>
8005         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8006         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8007         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8008         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8010 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
8012         * include/features.h (__USE_ANSI): Remove.
8014 2013-01-09  Roland McGrath  <roland@hack.frob.com>
8016         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8018         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8020 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8022         * sysdeps/s390/fpu/libm-test-ulps: Update.
8024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8026         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8027         (__acr): Likewise.
8028         (__cpy): Likewise.
8029         (norm): Likewise.
8030         (denorm): Likewise.
8031         (__mp_dbl): Likewise.
8032         (__dbl_mp): Likewise.
8033         (add_magnitudes): Likewise.
8034         (sub_magnitudes): Likewise.
8035         (__add): Likewise.
8036         (__sub): Likewise.
8037         (__mul): Likewise.
8038         (__inv): Likewise.
8039         (__dvd): Likewise.
8040         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8041         (__acr): Likewise.
8042         (__cpy): Likewise.
8043         (norm): Likewise.
8044         (denorm): Likewise.
8045         (__mp_dbl): Likewise.
8046         (__dbl_mp): Likewise.
8047         (add_magnitudes): Likewise.
8048         (sub_magnitudes): Likewise.
8049         (__add): Likewise.
8050         (__sub): Likewise.
8051         (__mul): Likewise.
8052         (__inv): Likewise.
8053         (__dvd): Likewise.
8054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8055         (__acr): Likewise.
8056         (__cpy): Likewise.
8057         (norm): Likewise.
8058         (denorm): Likewise.
8059         (__mp_dbl): Likewise.
8060         (__dbl_mp): Likewise.
8061         (add_magnitudes): Likewise.
8062         (sub_magnitudes): Likewise.
8063         (__add): Likewise.
8064         (__sub): Likewise.
8065         (__mul): Likewise.
8066         (__inv): Likewise.
8067         (__dvd): Likewise.
8069 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
8071         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8072         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8073         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8074         2 && __USE_EXTERN_INLINES]: Likewise.
8076 2013-01-08  Andreas Jaeger  <aj@suse.de>
8078         [BZ# 14985]
8079         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8080         Remove.
8081         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8082         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8084 2013-01-07  Anton Blanchard  <anton@samba.org>
8086         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8087         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8088         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8089         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8090         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8091         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8092         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8093         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8094         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8095         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8096         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8097         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8098         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8099         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8100         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8101         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8102         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8103         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8104         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8105         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8106         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8107         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8108         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8109         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8110         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8111         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8112         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8113         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8114         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8115         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8116         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8118         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8119         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8120         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8121         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8122         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8123         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8124         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8125         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8126         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8127         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8128         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8130 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
8132         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8133         (__MALLOC_PMT): Likewise.
8134         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8135         [__GNUC__], only on [_LIBC].
8136         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8137         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8138         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8139         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8140         forward declaration.
8141         (realloc_hook_ini): Likewise.
8142         (memalign_hook_ini): Likewise.
8143         (__libc_memalign): Do not use __MALLOC_PMT in variable
8144         declaration.
8145         (__libc_valloc): Likewise.
8146         (__libc_pvalloc): Likewise.
8147         (__libc_calloc): Likewise.
8148         (__posix_memalign): Likewise.
8150         [BZ #14996]
8151         * math/s_casinh.c: Include <float.h>.
8152         (__casinh): Do not do computation with squaring and square root
8153         for large arguments.
8154         * math/s_casinhf.c: Include <float.h>.
8155         (__casinhf): Do not do computation with squaring and square root
8156         for large arguments.
8157         * math/s_casinhl.c: Include <float.h>.
8158         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8159         (__casinhl): Do not do computation with squaring and square root
8160         for large arguments.
8161         * math/libm-test.inc (casin_test): Add more tests.
8162         (casinh_test): Likewise.
8163         * sysdeps/i386/fpu/libm-test-ulps: Update.
8164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8166 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
8168         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8169         (__x86_64_raw_data_cache_size): Likewise.
8170         (__x86_64_data_cache_size_half): Likewise.
8171         (__x86_64_raw_data_cache_size_half): Likewise.
8172         (__x86_64_shared_cache_size): Likewise.
8173         (__x86_64_raw_shared_cache_size): Likewise.
8174         (__x86_64_shared_cache_size_half): Likewise.
8175         (__x86_64_raw_shared_cache_size_half): Likewise.
8176         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8177         to ...
8178         (__x86_data_cache_size): This.
8179         (__x86_64_raw_data_cache_size): Renamed to ...
8180         (__x86_raw_data_cache_size): This.
8181         (__x86_64_data_cache_size_half): Renamed to ...
8182         (__x86_data_cache_size_half): This.
8183         (__x86_64_raw_data_cache_size_half): Renamed to ...
8184         (__x86_raw_data_cache_size_half): This.
8185         (__x86_64_shared_cache_size): Renamed to ...
8186         (__x86_shared_cache_size): This.
8187         (__x86_64_raw_shared_cache_size): Renamed to ...
8188         (__x86_raw_shared_cache_size): This.
8189         (__x86_64_shared_cache_size_half): Renamed to ...
8190         (__x86_shared_cache_size_half): This.
8191         (__x86_64_raw_shared_cache_size_half): Renamed to ...
8192         (__x86_raw_shared_cache_size_half): This.
8193         * sysdeps/x86_64/memcpy.S: Updated.
8194         * sysdeps/x86_64/memset.S: Likewise.
8195         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8196         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8197         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8199 2013-01-04  David S. Miller  <davem@davemloft.net>
8201         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8203 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
8205         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8206         1 to avoid redefinition warning.
8207         (__USE_GNU): Don't define.
8208         (init_signaling_nan): Protoize.
8210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8212 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8214         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8215         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8216         (__cpymn): Likewise.
8217         (norm): Remove commented code.
8218         (denorm): Likewise.
8219         (__mp_dbl): Likewise.
8220         (__inv): Likewise.
8221         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8222         (__cpymn): Likewise.
8223         (norm): Remove commented code.
8224         (denorm): Likewise.
8225         (__mp_dbl): Likewise.
8226         (__inv): Likewise.
8228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8229         mp_no value for 1.0 and 2.0.
8230         (norm): Use RADIXI instead of radixi.d.
8231         (denorm): Likewise.
8232         (__mul): Use 0.0 instead of zero.d.
8233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8234         mp_no value for 1.0 and 2.0.
8235         (norm): Use RADIXI instead of radixi.d.
8236         (denorm): Likewise.
8237         (__mul): Use 0.0 instead of zero.d.
8239 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
8241         [BZ #14994]
8242         * math/s_casinh.c (__casinh): Reduce finite argument to first
8243         quadrant then set signs of results at the end.
8244         * math/s_casinhf.c (__casinhf): Likewise.
8245         * math/s_casinhl.c (__casinhl): Likewise.
8246         * math/libm-test.inc (casin_test): Add more tests.
8247         (casinh_test): Likewise.
8248         * sysdeps/i386/fpu/libm-test-ulps: Update.
8249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8251 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8253         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8255         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8257         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8258         declarations.
8259         (denorm): Likewise.
8260         (__mp_dbl): Likewise.
8261         (__inv): Likewise.
8263         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8264         and adjust the header comment.
8266         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8267         variable name from declaration.
8269 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
8271         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8272         Initialize COMMON_CPUID_INDEX_7 element.
8273         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8274         (CPUID_RTM): Likewise.
8275         (HAS_RTM): Likewise.
8276         (COMMON_CPUID_INDEX_7): New enum.
8278 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
8280         [BZ #14981]
8281         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8282         size is zero, record memory as freed.
8284 2013-01-03  Andreas Jaeger  <aj@suse.de>
8286         * po/ia.po: Add new Interlingua translation.
8288 2012-01-03  Allan McRae  <allan@archlinux.org>
8290         * locale/programs/localedef.c: Fix description of '--posix' flag.
8292 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
8294         * NEWS: Update dates in second copyright notice.
8295         * README: Update copyright dates in example.
8296         * manual/libc.texinfo: Update copyright dates.
8297         * scripts/test-installation.pl: Update copyright date in --version
8298         output.
8300         * hurd/ctty-input.c: Fix copyright notice formatting.
8301         * hurd/ctty-output.c: Likewise.
8302         * hurd/dtable.c: Likewise.
8303         * hurd/hurd-raise.c: Likewise.
8304         * hurd/hurdprio.c: Likewise.
8305         * hurd/msgportdemux.c: Likewise.
8306         * misc/sys/file.h: Likewise.
8307         * misc/sys/ioctl.h: Likewise.
8308         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8309         * sysdeps/mach/hurd/chdir.c: Likewise.
8310         * sysdeps/mach/hurd/fchdir.c: Likewise.
8311         * sysdeps/mach/hurd/rename.c: Likewise.
8312         * sysdeps/mach/hurd/rmdir.c: Likewise.
8313         * sysdeps/mach/hurd/seekdir.c: Likewise.
8314         * sysdeps/mach/hurd/setsid.c: Likewise.
8315         * sysdeps/posix/wait3.c: Likewise.
8317         * All files with FSF copyright notices: Update copyright dates
8318         using scripts/update-copyrights.
8319         * intl/plural.c: Regenerated.
8320         * locale/programs/charmap-kw.h: Likewise.
8321         * locale/programs/locfile-kw.h: Likewise.
8323 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8325         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8326         four values.
8328         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8329         calculation loop and add branch prediction.
8331         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8332         check access beyond bounds of m1np.
8334         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8335         MPTWO.
8336         (__inv): Remove local variable MPTWO to use the global
8337         constant.
8338         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8339         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8340         variable MPTWO.
8341         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8342         MP3HALFS static const.
8344 2013-01-01  David S. Miller  <davem@davemloft.net>
8346         * po/ca.po: Update from translation team.
8348 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
8350         * scripts/update-copyrights: New file.
8351         * Makeconfig: Reformat copyright notice.
8352         * ctype/ctype.h: Likewise.
8353         * debug/swprintf_chk.c: Likewise.
8354         * elf/dl-cache.c: Likewise.
8355         * elf/dl-debug.c: Likewise.
8356         * elf/dl-object.c: Likewise.
8357         * grp/initgroups.c: Likewise.
8358         * hurd/Makefile: Likewise.
8359         * hurd/hurd/signal.h: Likewise.
8360         * hurd/hurdfault.c: Likewise.
8361         * hurd/hurdioctl.c: Likewise.
8362         * hurd/hurdlookup.c: Likewise.
8363         * hurd/intr-msg.c: Likewise.
8364         * iconv/gconv_open.c: Likewise.
8365         * libio/swprintf.c: Likewise.
8366         * locale/lc-ctype.c: Likewise.
8367         * locale/nl_langinfo.c: Likewise.
8368         * mach/Machrules: Likewise.
8369         * mach/Makefile: Likewise.
8370         * malloc/obstack.h: Likewise.
8371         * manual/Makefile: Likewise.
8372         * manual/tsort.awk: Likewise.
8373         * misc/bits/stab.def: Likewise.
8374         * nis/nis_print_group_entry.c: Likewise.
8375         * nis/nis_table.c: Likewise.
8376         * nis/nss_compat/compat-pwd.c: Likewise.
8377         * nis/nss_compat/compat-spwd.c: Likewise.
8378         * po/Makefile: Likewise.
8379         * posix/fnmatch.c: Likewise.
8380         * posix/regex.h: Likewise.
8381         * resolv/Makefile: Likewise.
8382         * resolv/nss_dns/dns-network.c: Likewise.
8383         * resolv/res_hconf.c: Likewise.
8384         * scripts/gen-sorted.awk: Likewise.
8385         * soft-fp/soft-fp.h: Likewise.
8386         * stdio-common/printf.h: Likewise.
8387         * stdlib/monetary.h: Likewise.
8388         * stdlib/random.c: Likewise.
8389         * stdlib/random_r.c: Likewise.
8390         * sysdeps/generic/Makefile: Likewise.
8391         * sysdeps/gnu/Makefile: Likewise.
8392         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8393         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8394         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8395         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8396         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8397         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8398         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8399         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8400         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8401         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8402         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8403         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8404         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8405         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8406         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8407         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8408         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8409         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8410         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8411         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8412         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8413         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8414         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8415         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8416         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8417         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8418         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8419         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8420         * sysdeps/mach/hurd/errnos.awk: Likewise.
8421         * sysdeps/mach/hurd/fork.c: Likewise.
8422         * sysdeps/mach/hurd/getcwd.c: Likewise.
8423         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8424         * sysdeps/mach/hurd/mmap.c: Likewise.
8425         * sysdeps/mach/hurd/utimes.c: Likewise.
8426         * sysdeps/mach/hurd/xmknod.c: Likewise.
8427         * sysdeps/posix/profil.c: Likewise.
8428         * sysdeps/posix/readdir_r.c: Likewise.
8429         * sysdeps/powerpc/bits/mathdef.h: Likewise.
8430         * sysdeps/powerpc/bits/setjmp.h: Likewise.
8431         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8432         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8434         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8435         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8436         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8437         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8438         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8439         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8440         * sysdeps/pthread/lio_listio.c: Likewise.
8441         * sysdeps/sparc/dl-procinfo.h: Likewise.
8442         * sysdeps/unix/i386/sysdep.S: Likewise.
8443         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8444         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8445         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8446         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8448         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8449         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8450         * sysdeps/unix/sysv/linux/speed.c: Likewise.
8451         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8452         * sysdeps/wordsize-32/divdi3.c: Likewise.
8453         * time/sys/time.h: Likewise.
8454         * wcsmbs/Makefile: Likewise.
8456 2013-01-01  David S. Miller  <davem@davemloft.net>
8458         * po/fr.po: Update from translation team.
8460         * catgets/gencat.c: Update copyright year.
8461         * csu/version.c: Likewise.
8462         * debug/catchsegv.sh: Likewise.
8463         * debug/pcprofiledump.c: Likewise.
8464         * debug/xtrace.sh: Likewise.
8465         * elf/ldconfig.c: Likewise.
8466         * elf/ldd.bash.in: Likewise.
8467         * elf/pldd.c: Likewise.
8468         * elf/sotruss.ksh: Likewise.
8469         * elf/sprof.c: Likewise.
8470         * iconv/iconv_prog.c: Likewise.
8471         * iconv/iconvconfig.c: Likewise.
8472         * locale/programs/locale.c: Likewise.
8473         * locale/programs/localedef.c: Likewise.
8474         * login/programs/pt_chown.c: Likewise.
8475         * malloc/memusage.sh: Likewise.
8476         * malloc/memusagestat.c: Likewise.
8477         * malloc/mtrace.pl: Likewise.
8478         * nscd/nscd.c: Likewise.
8479         * nss/getent.c: Likewise.
8480         * nss/makedb.c: Likewise.
8481         * posix/getconf.c: Likewise.
8483 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8485         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8486         numbers.
8488 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
8490         * math/bits/mathcalls.h (modf): Use __nonnull.
8492 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8494         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8495         (split): Use macro CN instead of the bare value.
8496         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8497         could be used.
8498         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8499         instead of the bare value.
8500         (power1): Likewise.
8502 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8504         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8505         __ATAN_TWOM.
8506         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8508         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8509         their values.
8510         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8511         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8512         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8513         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8515 2012-12-28  Andreas Jaeger  <aj@suse.de>
8517         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
8518         values are from Linux 3.7.
8520         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8521         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
8523 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8525         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8526         TRUE case.
8528         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8529         (norm): Likewise.
8530         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8531         variables with preprocessor constants.
8532         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8533         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8534         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8536 2012-12-27  Bruno Haible  <bruno@clisp.org>
8538         [BZ #14317]
8539         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8540         only if needed.
8542 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8545         and use variable directly.
8546         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8548         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8549         MPONE.
8550         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8551         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8552         variable MPONE.
8553         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8555         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8556         include directive.  Remove local variable MPONE.
8557         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8558         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8559         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8561 2012-12-25  David S. Miller  <davem@davemloft.net>
8563         * version.h (RELEASE): Set to "development".
8564         (VERSION): Set to "2.17.90".
8565         * NEWS: Add 2.18 section.
8567 2012-12-21  David S. Miller  <davem@davemloft.net>
8569         * po/hr.po: Update from translation team.
8571 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8573         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8575 2012-12-19  Steve Ellcey  <sellcey@mips.com>
8577         * NEWS:  Mention new memcpy for MIPS.
8579 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
8581         * manual/contrib.texi (Contributors): Spelling correction.
8583 2012-12-15  David S. Miller  <davem@davemloft.net>
8585         * po/ru.po: Update from translation team.
8587 2012-12-13  David S. Miller  <davem@davemloft.net>
8589         * NEWS: Mention IFUNC testsuite enhancements.
8591         * po/pl.po: Update from translation team.
8592         * po/bg.po: Likewise.
8594         * manual/contrib.texi (Contributors): Update entries for Hongjiu
8595         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
8597 2012-12-11  David S. Miller  <davem@davemloft.net>
8599         * po/sv.po: Update from translation team.
8601         * po/vi.po: Update from translation team.
8603         * po/cs.po: Update from translation team.
8605         * po/de.po: Update from translation team.
8606         * po/eo.po: Likewise.
8607         * po/nl.po: Likewise.
8609 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8611         [BZ #14246]
8612         * manual/argp.texi (Argp Helper Functions): Move node to follow
8613         Argp Parsing State.
8615         [BZ #14872]
8616         * manual/conf.texi (Limits on File System Capacity): Mention if
8617         terminating null is included in the max size.
8619 2012-12-10  Andreas Jaeger  <aj@suse.de>
8621         * po/cs.po: Update from translation team.
8623 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8625         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8626         void pointer and cast to uintptr_t.
8627         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8628         path.
8629         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8630         * sysdeps/s390/s390-64/memset.S: Likewise.
8632 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
8634         [BZ #14833]
8635         * menual/message.texi (Message Translation): Fix typos.
8636         (Helper programs for gettext): Likewise.
8638 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
8640         [BZ #14898]
8641         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8642         Change to -1.
8644 2012-12-07  David S. Miller  <davem@davemloft.net>
8646         * po/libc.pot: Update.
8648 2012-12-07  Richard Henderson  <rth@redhat.com>
8650         [BZ #10114]
8651         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8652         normal/normal case to before the switch.
8653         (_FP_DIV): Likewise.
8655 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
8656             Mike Frysinger  <vapier@gentoo.org>
8658         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8659         check for __NR_fadvise64_64.
8661 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
8663         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8664         0, not just to plain "0" as a statement.
8665         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8666         with cw.
8668 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
8670         * NEWS: Use sourceware.org in Bugzilla URL.
8672 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8675         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8677         * stdio-common/tst-put-error.c (do_test): Add newline to the
8678         padded test to ensure flush.
8680 2012-12-05  Jeff Law  <law@redhat.com>
8682         * sunrpc/etc.rpc (fedfs_admin): Add entry.
8684 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
8686         * README: Don't refer to ports add-on as distributed separately.
8687         Mention AArch64 in list of systems supported in the ports add-on.
8689         * LICENSES: Add more non-FSF copyright and license notices.
8691         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8692         ((unused)).
8694         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8696         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8697         10000 as width of padded output.
8699 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8701         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8703         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8704         variable LX with __attribute__ ((unused)).
8705         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8706         Likewise.
8707         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8708         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8709         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8710         with __attribute__ ((unused)).
8712 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
8714         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8716 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
8718         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8719         (CFLAGS-nldbl-acos.c): New variable.
8720         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8721         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8722         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8723         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8724         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8725         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8726         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8727         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8728         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8729         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8730         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8731         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8732         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8733         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8734         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8735         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8736         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8737         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8738         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8739         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8740         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8741         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8742         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8743         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8744         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8745         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8746         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8747         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8748         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8749         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8750         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8751         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8752         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8753         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8754         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8755         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8756         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8757         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8758         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8759         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8760         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8761         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8762         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8763         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8764         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8765         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8766         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8767         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8768         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8769         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8770         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8771         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8772         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8773         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8774         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8775         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8776         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8777         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8778         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8779         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8780         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8781         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8782         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8783         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8784         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8785         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8786         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8787         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8788         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8789         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8790         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8791         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8792         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8793         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8794         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8795         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8796         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8797         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8798         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8799         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8800         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8801         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8802         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8803         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8804         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8805         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8806         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8807         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8808         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8809         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8810         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8811         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8812         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8813         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8814         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8815         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8816         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8819         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8821         [BZ #14914]
8822         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8823         whole low double instead of just low 47 bits when splitting values
8824         into two parts.
8826 2012-12-03  Allan McRae  <allan@archlinux.org>
8828         * manual/stdio.texi (Predefined Printf Handlers): Remove
8829         @hsep and @vsep usage.
8831 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
8833         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8834         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8836 2012-12-03  Jeff Law  <law@redhat.com>
8838         * time/sys/time.h (settimeofday): Do not mark TV argument
8839         as __nonnull.
8841 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
8843         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8844         when currently writing and seek to current position when not.
8845         * libio/Makefile (tests): Remove bug-fclose1.
8846         * libio/bug-fclose1.c: Delete.
8848 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
8850         * manual/arith.texi (feenableexcept): Fix typo.
8851         (fedisableexcept): Likewise.
8853 2012-11-30  Roland McGrath  <roland@hack.frob.com>
8855         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8856         second, differently-typed declaration, rather than a cast.
8858 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8860         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8861         * include/rpc/svc.h: ... here.
8863 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
8865         [BZ #13013]
8866         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8867         depending n and resplen2 to catch cases where answer
8868         equals answerp2.
8870 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
8872         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8873         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8875 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
8877         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8879 2012-11-29  Roland McGrath  <roland@hack.frob.com>
8881         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8883 2012-11-28  Jeff Law  <law@redhat.com>
8885         [BZ #13761]
8886         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8887         dataset_temporary.  Track alloca usage into alloca_used.
8888         If dataset is large allocate and release it via malloc/free.
8890 2012-06-04  Florian Weimer  <fweimer@redhat.com>
8892         [BZ #14197]
8893         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8895 2012-11-28  David S. Miller  <davem@davemloft.net>
8897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8899 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8901         [BZ #14803]
8902         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8903         of pi/2 rounded to nearest to 64 bits.
8904         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8905         nearest to 64 bits.
8906         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8907         bits.
8909 2012-11-28  Jeff Law <law@redhat.com>
8910             Martin Osvald <mosvald@redhat.com>
8912         [BZ #14889]
8913         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8914         * sunrpc/svc.c: Include time.h.
8915         (__svc_accept_failed): New function.
8916         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8917         any reason other than EINTR, call __svc_accept_failed.
8918         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8919         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8921 2012-11-28  Andreas Schwab  <schwab@suse.de>
8923         * scripts/abilist.awk: Also handle indirect functions in .opd
8924         section.
8926 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
8928         [BZ #13881]
8929         * sysdeps/x86/fpu/powl_helper.c: New file.
8930         * sysdeps/x86/fpu/Makefile: Likewise.
8931         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8932         (p3): New object.
8933         (__ieee754_powl): Use __powl_helper for finite arguments except
8934         integer exponents below 8.
8935         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8936         (p3): New object.
8937         (__ieee754_powl): Use __powl_helper for finite arguments except
8938         integer exponents below 8.
8939         * math/libm-test.inc (pow_test): Add more tests and enable some
8940         previously disabled tests.
8941         * sysdeps/i386/fpu/libm-test-ulps: Update.
8942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8944 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8945             Carlos O'Donell  <carlos_odonell@mentor.com>
8947         * nss/makedb.c (is_prime): Assert that input is odd and greater
8948         than 4.  Note that fact in a comment too.
8949         (next_prime): Add 4 to input.
8951 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8953         [BZ #11741]
8954         * libio/Makefile (tests): Add test case tst-fwrite-error.
8955         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8956         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8957         * libio/tst-fwrite-error.c: New test case.
8959 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
8961         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8962         before casting to void *.
8963         * include/libc-internal.h (__pointer_type): New macro.
8964         (__integer_if_pointer_type_sub): Likewise.
8965         (__integer_if_pointer_type): Likewise.
8966         (cast_to_integer): Likewise.
8967         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8968         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8969         before casting to atomic64_t.
8970         (atomic_exchange_acq): Likewise.
8971         (__arch_exchange_and_add_body): Likewise.
8972         (__arch_add_body): Likewise.
8973         (atomic_add_negative): Likewise.
8974         (atomic_add_zero): Likewise.
8976 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
8978         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8979         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8980         (add_fdes): Likewise.
8981         (linear_search_fdes): Likewise.
8982         (binary_search_unencoded_fdes): Likewise.
8984 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
8986         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8988 2012-11-24  Adam Conrad  <adconrad@0c3.net>
8990         * configure.in: Autodetect C++ header directories.
8991         * configure: Regenerated.
8993 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
8995         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8997 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
8999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9001 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
9003         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9004         LDBL_MANT_DIG == 106]: Disable some tests.
9005         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9006         Likewise.
9007         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9008         Likewise.
9010         [BZ #14871]
9011         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9012         input for small inputs.  Return +/- pi/2 for large inputs.
9013         * math/libm-test.inc (atan_test): Add more tests.
9015         * sysdeps/generic/unwind-dw2-fde-glibc.c
9016         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9017         __attribute__ ((unused)).
9019         [BZ #14645]
9020         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9021         x * y if x and y are nonzero and z is zero.
9023         [BZ #14811]
9024         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9025         nonzero exponents with absolute value below 0x1p-117 to +/-
9026         0x1p-117.
9028         [BZ #14869]
9029         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9030         up arguments below 2**-450, not just those below 2**-500.
9031         * math/libm-test.inc (hypot_test): Add another test.
9033         [BZ #14868]
9034         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9035         Return a+b for ratio over 2**120, not 2**60.
9036         * math/libm-test.inc (hypot_test): Add another test.
9038         * math/libm-test.inc (clog_test): Use
9039         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9040         (clog10_test): Likewise.
9042         [BZ #6778]
9043         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9045 2012-11-22  Andreas Schwab  <schwab@suse.de>
9047         * sysdeps/i386/fpu/libm-test-ulps: Update.
9049 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
9051         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9052         printf output with newline.
9054 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
9056         [BZ #14865]
9057         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9058         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9059         -z nodlopen, -z initfirst and -z execstack support.
9060         * configure: Regenerated.
9062         * elf/elf.h (DF_1_NODIRECT): New macro.
9063         (DF_1_IGNMULDEF): Likewise.
9064         (DF_1_NOKSYMS): Likewise.
9065         (DF_1_NOHDR): Likewise.
9066         (DF_1_EDITED): Likewise.
9067         (DF_1_NORELOC): Likewise.
9068         (DF_1_SYMINTPOSE): Likewise.
9069         (DF_1_GLOBAUDIT): Likewise.
9070         (DF_1_SINGLETON): Likewise.
9071         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9072         DT_1_SUPPORTED_MASK bits.
9073         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9075 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
9077         * sysdeps/unix/make-syscalls.sh: Document prefixes.
9079 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
9081         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9082         macro.
9084         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9085         (sendmmsg): Move declarations...
9086         * socket/sys/socket.h: ... here.
9087         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9088         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9089         include it from...
9090         * socket/recvmmsg.c: ... this new file.
9091         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9092         (sendmmsg): Rename to __sendmmsg, create weak alias and make
9093         definition of __sendmmsg hidden.
9094         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9095         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9096         Move ENOSYS stub into and include it from...
9097         * socket/sendmmsg.c: ... this new file.
9098         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9099         (sysdep_routines): Move recvmmsg and sendmmsg...
9100         * socket/Makefile (routines): ... here.
9101         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9102         (GLIBC_PRIVATE): Add __sendmmsg.
9103         * include/sys/socket.h (__sendmmsg): Add declarations.
9104         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9105         sendmmsg.
9107 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
9109         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9110         variable I1 with __attribute__ ((unused)).
9111         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9113 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9115         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9116         DUMMY variables with __attribute__ ((unused)).
9118         * bits/byteswap.h: Include <bits/types.h>.
9119         (__bswap_64): Use __uint64_t instead of unsigned long long int.
9121 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9123         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9124         string_t.  Do not manually set errno.
9125         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9126         length with __strnlen.  Make sure to both set errno and return it on
9127         failure.
9129 2012-11-19  David S. Miller  <davem@davemloft.net>
9131         With help from Joseph Myers.
9132         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9133         very large arguments properly.
9134         * math/libm-test.inc (atan_test): New tests.
9135         (atan2_test): New tests.
9136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9139 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
9141         [BZ #14856]
9142         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9143         Define to 3.
9145         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9146         [POSIX] (EADDRNOTAVAIL): Likewise.
9147         [POSIX] (EAFNOSUPPORT): Likewise.
9148         [POSIX] (EALREADY): Likewise.
9149         [POSIX] (ECONNABORTED): Likewise.
9150         [POSIX] (ECONNREFUSED): Likewise.
9151         [POSIX] (ECONNRESET): Likewise.
9152         [POSIX] (EDESTADDRREQ): Likewise.
9153         [POSIX] (EDQUOT): Likewise.
9154         [POSIX] (EHOSTUNREACH): Likewise.
9155         [POSIX] (EIDRM): Likewise.
9156         [POSIX] (EISCONN): Likewise.
9157         [POSIX] (ELOOP): Likewise.
9158         [POSIX] (EMULTIHOP): Likewise.
9159         [POSIX] (ENETDOWN): Likewise.
9160         [POSIX] (ENETUNREACH): Likewise.
9161         [POSIX] (ENOBUFS): Likewise.
9162         [POSIX] (ENODATA): Likewise.
9163         [POSIX] (ENOLINK): Likewise.
9164         [POSIX] (ENOMSG): Likewise.
9165         [POSIX] (ENOPROTOOPT): Likewise.
9166         [POSIX] (ENOSR): Likewise.
9167         [POSIX] (ENOSTR): Likewise.
9168         [POSIX] (ENOTCONN): Likewise.
9169         [POSIX] (ENOTSOCK): Likewise.
9170         [POSIX] (EOPNOTSUPP): Likewise.
9171         [POSIX] (EOVERFLOW): Likewise.
9172         [POSIX] (EPROTO): Likewise.
9173         [POSIX] (EPROTONOSUPPORT): Likewise.
9174         [POSIX] (EPROTOTYPE): Likewise.
9175         [POSIX] (ESTALE): Likewise.
9176         [POSIX] (ETIME): Likewise.
9177         [POSIX] (ETXTBSY): Likewise.
9178         [POSIX] (EWOULDBLOCK): Likewise.
9179         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9180         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9181         [POSIX] (SEEK_CUR): Likewise.
9182         [POSIX] (SEEK_END): Likewise.
9183         [POSIX || UNIX98] (mode_t): Do not require.
9184         [POSIX] (off_t): Likewise.
9185         [POSIX] (pid_t): Likewise.
9186         [POSIX] (sys/stat.h): Do not allow header.
9187         [POSIX] (unistd.h): Likewise.
9188         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9189         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9190         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9191         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9192         require.
9193         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9194         sigevent): Specify elements.
9195         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9196         entry.
9197         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9198         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9200         * conform/data/cpio.h-data [POSIX]: Disable whole file.
9201         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9202         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9203         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9204         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9205         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9206         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9207         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9208         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9209         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9210         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9211         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9212         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9213         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9214         Likewise.
9215         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9216         Likewise.
9217         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9218         Likewise.
9219         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9220         Likewise.
9221         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9222         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9223         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9224         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9225         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9226         Specify lower bound on value.
9227         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9228         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9229         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9230         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9231         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9232         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9233         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9234         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9235         value.
9236         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9237         as optional.
9238         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9239         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9240         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9241         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9242         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9243         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9244         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9245         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9246         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9247         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9248         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9249         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9250         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9251         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9252         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9253         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9254         entry.
9255         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9256         optional.
9257         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9258         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9259         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9260         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9261         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9262         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9263         Likewise.
9264         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9265         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9266         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9267         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9268         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
9269         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9270         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9271         as optional.
9272         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9273         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9274         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9275         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9276         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9277         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9278         specify as optional.
9279         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9280         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9281         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9282         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9283         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9284         [XPG3] (NL_LANGMAX): Likewise.
9285         [POSIX || XPG3] (NL_MSGMAX): Likewise.
9286         [POSIX || XPG3] (NL_NMAX): Likewise.
9287         [POSIX || XPG3] (NL_SETMAX): Likewise.
9288         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9289         [XPG3] (NZERO): Likewise.
9290         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9291         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9292         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9293         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9294         (REG_ERANGE): Expect.
9295         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9296         optional-constant.
9297         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9298         Use (void) in prototype.
9299         [POSIX] (*_t): Allow.
9300         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9301         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9302         (WRDE_BADVAL): Expect.
9304         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9305         expect.
9306         [XPG3 || XPG4] (O_RSYNC): Likewise.
9307         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9308         Likewise.
9309         [XPG3 || XPG4] (pthread_sigmask): Likewise.
9310         [XPG3 || XPG4] (sigqueue): Likewise.
9311         [XPG3 || XPG4] (sigtimedwait): Likewise.
9312         [XPG3 || XPG4] (sigwaitinfo): Likewise.
9313         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9314         [XPG3 || XPG4] (vsnprintf): Likewise.
9315         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9316         Likewise.
9317         [XPG3 || XPG4] (blksize_t): Likewise.
9318         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9319         Likewise.
9320         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9321         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9322         [XPG3 || XPG4] (struct itimerspec): Likewise.
9323         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9324         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9325         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9326         [XPG3 || XPG4] (clockid_t): Likewise.
9327         [XPG3 || XPG4] (timer_t): Likewise.
9328         [XPG3 || XPG4] (clock_getres): Likewise.
9329         [XPG3 || XPG4] (clock_gettime): Likewise.
9330         [XPG3 || XPG4] (clock_settime): Likewise.
9331         [XPG3 || XPG4] (nanosleep): Likewise.
9332         [XPG3 || XPG4] (timer_create): Likewise.
9333         [XPG3 || XPG4] (timer_delete): Likewise.
9334         [XPG3 || XPG4] (timer_gettime): Likewise.
9335         [XPG3 || XPG4] (timer_getoverrun): Likewise.
9336         [XPG3 || XPG4] (timer_settime): Likewise.
9337         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9338         [XPG3 || XPG4] (getlogin_r): Likewise.
9339         [XPG3 || XPG4] (pread): Likewise.
9340         [XPG3 || XPG4] (pthread_atfork): Likewise.
9341         [XPG3 || XPG4] (pwrite): Likewise.
9343         [BZ #14835]
9344         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9345         <bits/siginfo.h>.
9347 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
9349         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9350         finalizing MALLSTREAM.
9352         * sysdeps/mach/hurd/syncfs.c: New file.
9354 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9356         [BZ #14719]
9357         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9358         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9359         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9360         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9361         (_nss_dns_gethostbyname4_r): Likewise.
9362         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9363         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9365 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
9367         [BZ #13763]
9368         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9370 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
9372         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9373         * elf/cache.c (print_entry): Print ",AArch64" for
9374         FLAG_AARCH64_LIB64
9376         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9377         * elf/cache.c (print_entry): Print ",hard-float" for
9378         FLAG_ARM_LIBHF.
9380 2012-11-18  David S. Miller  <davem@davemloft.net>
9382         With help from Joseph Myers.
9383         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9384         cutoff to 2**-13.
9385         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9386         cutoff to 2**-25.
9387         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9388         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9389         small.
9390         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9391         * math/libm-test.inc (y0_test): New tests.
9392         (y1_test): New tests.
9393         * sysdeps/i386/fpu/libm-test-ulps: Update.
9394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9397 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
9399         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9400         64-bit targets.
9401         * configure: Regenerated.
9403 2012-11-17  David S. Miller  <davem@davemloft.net>
9405         [BZ #14811]
9406         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9407         nonzero exponents with absolute value below 0x1p-128 to +/-
9408         0x1p-128.
9410 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
9412         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9414         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9416         * posix/getconf-speclist.c: New file.
9417         * posix/posix-envs.def: Likewise.
9418         * posix/confstr.c (START_ENV_GROUP): New macro.
9419         (END_ENV_GROUP): Likewise.
9420         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9421         (KNOWN_PRESENT_ENV_STRING): Likewise.
9422         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9423         (UNKNOWN_ENVIRONMENT): Likewise.
9424         (confstr): Include posix-envs.def instead of handling
9425         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9426         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9427         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9428         (END_ENV_GROUP): Likewise.
9429         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9430         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9431         (UNKNOWN_ENVIRONMENT): Likewise.
9432         (__sysconf): Include posix-envs.def instead of handling associated
9433         cases directly here.
9434         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9435         preprocessing getconf-speclist.c rather than running getconf or
9436         generating empty file.
9438 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
9440         * scripts/check-local-headers.sh: Ignore 'mach' headers.
9442 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
9444         [BZ #14672]
9445         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9447 2012-11-16  David S. Miller  <davem@davemloft.net>
9449         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9450         smaller than LDBL_EPSILON/2.0L, just return xm1.
9452 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
9454         * elf/tst-array1.c (init): Set constructor priority to 1000.
9455         (fini): Set destructor priority to 1000.
9456         * elf/tst-array2dep.c: Likewise.
9458 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9460         [BZ #11741]
9461         * libio/fileops.c (_IO_new_file_write): Correctly return error.
9462         (_IO_new_file_xsputn): Also return EOF if none of the input
9463         data was written when overflow failed.
9464         * libio/iopadn.c (_IO_padn): Likewise.
9465         * libio/iowpadn.c (_IO_wpadn): Likewise.
9466         * stdio-common/tst-put-error.c: Add copyright notice.
9467         (do_test): Add case for printing padded string.
9468         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9469         _IO_padn returned error.
9470         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9471         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9472         return EOF.
9474 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9476         * libio/libioP.h: Add comment note that the references to C++
9477         bits are now obsolete.
9479 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9481         * math/libm-test.inc (check_complex): Use asprintf.
9483 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
9485         * debug/pcprofiledump.c (print_version): Update copyright year.
9486         * malloc/memusagestat.c (print_version): Likewise.
9488 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9490         [BZ #14831]
9491         * elf/Makefile (tests): Add tst-audit8.
9492         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9493         ($(objpfx)tst-audit8.out): New target.
9494         (tst-audit8-ENV): New variable.
9495         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9496         audit if l_reloc_result is NULL.
9497         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9498         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9499         * elf/tst-audit8.c: New file.
9501 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9503         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9504         * misc/Makefile (CFLAGS-select.c): Define.
9505         * posix/Makefile (CFLAGS-pause.c): Define.
9507 2012-11-13  David S. Miller  <davem@davemloft.net>
9509         * crypt/Makefile: Move test targets after toplevel Rules
9510         inclusion.  Grab any necessary sysdep routines when linking.
9511         * crypt/md5.c (md5_process_block): Remove define, we will always
9512         name it __md5_process_block.
9513         (md5_finish_ctx): Update md5_process_block call.
9514         (md5_stream): Likewise.
9515         (md5_process_bytes): Likewise.
9516         (md5_process_block): Rename to __md5_process_block and move to ...
9517         * crypt/md5-block.c: ... here.
9518         * crypt/sha256.c (sha256_process_block): Move to ...
9519         * crypt/sha256-block.c: ... here.
9520         * crypt/sha512.c (sha512_process_block): Move to ...
9521         * crypt/sha512-block.c: ... here.
9522         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9523         path.
9524         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9525         * sysdeps/sparc/sparc64/multiarch/Makefile
9526         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9527         crypt subdir.
9528         (localedef-aux): Add md5 crypto assembler when in locale subdir.
9529         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9530         multiarch changes.
9531         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9532         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9533         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9534         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9535         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9536         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9537         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9538         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9539         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9540         file.
9541         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9542         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9543         file.
9544         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9546 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
9548         * timezone/tzselect.ksh: Update from tzcode git revision
9549         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9550         * timezone/zdump.c: Likewise.
9551         * timezone/zic.c: Likewise.
9552         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9553         in TZVERSION setting, not $(PKGVERSION).
9554         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
9555         REPORT_BUGS_TO settings.
9557         [BZ #14838]
9558         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9559         macro.
9561 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9563         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9564         detection to immediately after _FP_ROUND().
9565         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9566         bits are 0.
9568 2012-11-11  David S. Miller  <davem@davemloft.net>
9570         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9571         inttypes.h
9572         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9573         __close rather than their public counterparts.
9575 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
9577         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9578         file.
9579         [UNIX98] (sem_timedwait): Do not expect.
9580         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9581         [XPG4 || UNIX98] (sockatmark): Do not expect.
9582         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9583         (clock_getcpuclockid): Do not expect.
9584         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9585         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9586         Do not expect.
9587         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9588         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9589         [UNIX98] (vwscanf): Likewise.
9590         [UNIX98] (vswscanf): Likewise.
9592 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
9594         * timezone/version.h: Remove file.
9595         * timezone/README: Do not refer to version.h.
9596         * timezone/Makefile ($(objpfx)zic.o): New dependency on
9597         $(objpfx)version.h.
9598         ($(objpfx)zdump.o): Likewise.
9599         ($(objpfx)version.h): New target.
9601         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9602         2012i.
9603         * timezone/README: Don't mention modification to tzselect.ksh.
9604         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9605         work on unmodified tzselect.ksh.  Substitute version numbers in
9606         tzselect.ksh.
9608         * Makefile (format-me): Remove.
9609         (INSTALL): Adjust indentation.  Use commands directly instead of
9610         using $(format-me).
9612         * aclocal.m4 (ACX_PKGVERSION): New macro.
9613         (ACX_BUGURL): Likewise.
9614         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9615         (PKGVERSION): New AC_DEFINE_UNQUOTED.
9616         (REPORT_BUGS_TO): Likewise.
9617         * configure: Regenerated.
9618         * config.h.in (PKGVERSION): New macro.
9619         (REPORT_BUGS_TO): Likewise.
9620         * config.make.in (PKGVERSION): New variable.
9621         (PKGVERSION_TEXI): Likewise.
9622         (REPORT_BUGS_TO): Likewise.
9623         (REPORT_BUGS_TEXI): Likewise.
9624         * Makefile (format-me): Use -I$(common-objpfx)manual.
9625         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9626         ($(common-objpfx)manual/%): New target.
9627         (manual/%): Remove target.
9628         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9629         (print_version): Use PKGVERSION.
9630         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9631         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9632         and REPORT_BUGS_TO.
9633         ($(objpfx)xtrace): Likewise.
9634         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9635         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9636         (print_version): Use PKGVERSION.
9637         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9638         (do_version): Use PKGVERSION.
9639         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9640         REPORT_BUGS_TO.
9641         (common-ldd-rewrite): Likewise.
9642         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9643         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9644         (print_version): Use PKGVERSION.
9645         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9646         * elf/pldd.c (argp_program_bug_address): Remove variable.
9647         (more_help): New function.
9648         (argp): Use more_help.
9649         (print_version): Use PKGVERSION.
9650         * elf/sln.c (main): Use PKGVERSION.
9651         (usage): Use REPORT_BUGS_TO.
9652         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9653         (top level): Use PKGVERSION.
9654         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9655         (print_version): Use PKGVERSION.
9656         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9657         (print_version): Use PKGVERSION.
9658         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9659         (print_version): Use PKGVERSION.
9660         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9661         (print_version): Use PKGVERSION.
9662         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9663         (print_version): Use PKGVERSION.
9664         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9665         (print_version): Use PKGVERSION.
9666         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9667         and BUGURL.
9668         ($(objpfx)memusage): Likewise.
9669         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9670         (do_version): Use PKGVERSION.
9671         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9672         (print_version): Use PKGVERSION.
9673         * malloc/mtrace.pl ($PACKAGE): Remove variable.
9674         ($PKGVERSION): New variable.
9675         ($REPORT_BUGS_TO): Likewise.
9676         (usage): Use $REPORT_BUGS_TO.
9677         (top level): Use $PKGVERSION.
9678         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9679         ($(objpfx)pkgvers.texi): New rule.
9680         ($(objpfx)stamp-pkgvers): Likewise.
9681         * manual/install.texi: Include pkgvers.texi.
9682         (--with-pkgversion): Document new configure option.
9683         (--with-bugurl): Likewise.
9684         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9685         than necessarily for this particular distribution.  Use
9686         REPORT_BUGS_TO for where to report bugs.
9687         * INSTALL: Regenerated.
9688         * manual/libc.texinfo: Include pkgvers.texi.
9689         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9690         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9691         (print_version): Use PKGVERSION.
9692         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9693         (print_version): Use PKGVERSION.
9694         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9695         (print_version): Use PKGVERSION.
9696         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9697         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9698         macro.
9699         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9700         (print_version): Use PKGVERSION.
9701         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9702         (print_version): Use PKGVERSION.
9703         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9704         and PKGVERSION.
9706         * timezone/checktab.awk: Update from tzcode 2012i.
9707         * timezone/ialloc.c: Likewise.
9708         * timezone/private.h: Likewise.
9709         * timezone/scheck.c: Likewise.
9710         * timezone/tzfile.h: Likewise.
9711         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9712         (TZVERSION): Hardcode tzcode version number.
9713         * timezone/zdump.c: Update from tzcode 2012i.
9714         * timezone/zic.c: Likewise.
9715         * timezone/version.h: New file.
9716         * timezone/README: Describe version.h.  Update upstream location.
9718         [BZ #14824]
9719         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9720         (mktemp): Enable declaration.
9721         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9722         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9723         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9724         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9725         Likewise.
9726         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9727         Likewise.
9728         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9729         Likewise.
9730         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9731         Likewise.
9732         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9733         Likewise.
9734         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9735         Likewise.
9737         [BZ #14821]
9738         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9739         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
9740         for copies of such integer values.
9741         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9742         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9744 2012-11-09  Andreas Jaeger  <aj@suse.de>
9746         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9747         definitions and declarations that are provided by
9748         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9750 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9752         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9753         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9754         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9755         definition.
9757 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9759         * elf/elf.h: Update comment before AArch64 relocations.
9761 2012-11-07  David S. Miller  <davem@davemloft.net>
9763         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9764         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9765         (__start_context): Declare.
9766         (__makecontext_ret): Delete.
9767         (__makecontext): Hook up __start_context instead of
9768         __makecontext_ret.
9769         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9770         (sysdep_routines): Add __start_context when in stdlib.
9772 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9774         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9775         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9776         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
9777         hardcoded "nm".
9778         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
9779         (READELF): New variable.  Use it instead of hardcoded "readelf".
9781 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9783         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9784         * sysdeps/x86/Makefile: Here.
9785         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9786         * sysdeps/x86/tst-xmmymm.sh: This.
9788 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
9790         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9791         expectations.
9792         [UNIX98] (pthread_barrier_t): Do not expect.
9793         [UNIX98] (pthread_barrierattr_t): Likewise.
9794         [UNIX98] (pthread_spinlock_t): Likewise.
9795         [UNIX98] (pthread_barrier_destroy): Likewise.
9796         [UNIX98] (pthread_barrier_init): Likewise.
9797         [UNIX98] (pthread_barrier_wait): Likewise.
9798         [UNIX98] (pthread_barrierattr_destroy): Likewise.
9799         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9800         [UNIX98] (pthread_barrierattr_init): Likewise.
9801         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9802         [UNIX98] (pthread_getcpuclockid): Likewise.
9803         [UNIX98] (pthread_mutex_timedlock): Likewise.
9804         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9805         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9806         [UNIX98] (pthread_sigmask): Likewise.
9807         [UNIX98] (pthread_spin_destroy): Likewise.
9808         [UNIX98] (pthread_spin_init): Likewise.
9809         [UNIX98] (pthread_spin_lock): Likewise.
9810         [UNIX98] (pthread_spin_trylock): Likewise.
9811         [UNIX98] (pthread_spin_unlock): Likewise.
9812         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9813         Do not expect.
9814         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9815         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9816         [XPG3 || XPG4] (pthread_cond_t): Likewise.
9817         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9818         [XPG3 || XPG4] (pthread_key_t): Likewise.
9819         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9820         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9821         [XPG3 || XPG4] (pthread_once_t): Likewise.
9822         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9823         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9824         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9825         [XPG3 || XPG4] (pthread_t): Likewise.
9827         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9828         not expect.
9829         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9831         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9832         Change function return type to int.
9834         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9835         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9836         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9837         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9838         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9839         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9840         [!POSIX] (posix_madvise): Likewise.
9841         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9842         && !UNIX98].
9843         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9844         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9845         (mode_t): Likewise.
9846         (posix_mem_offset): Likewise.
9847         (posix_typed_mem_get_info): Likewise.
9848         (posix_typed_mem_open): Likewise.
9850         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9851         Change condition to [XOPEN2K8].
9853         * conform/conformtest.pl: Preprocess allow-header data with -x c
9854         instead of from stdin.
9855         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9856         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9857         [C99-based standards] (cerfc): Likewise.
9858         [C99-based standards] (cexp2): Likewise.
9859         [C99-based standards] (cexpm1): Likewise.
9860         [C99-based standards] (clog10): Likewise.
9861         [C99-based standards] (clog1p): Likewise.
9862         [C99-based standards] (clog2): Likewise.
9863         [C99-based standards] (clgamma): Likewise.
9864         [C99-based standards] (ctgamma): Likewise.
9865         [C99-based standards] (cerff): Likewise.
9866         [C99-based standards] (cerfcf): Likewise.
9867         [C99-based standards] (cexp2f): Likewise.
9868         [C99-based standards] (cexpm1f): Likewise.
9869         [C99-based standards] (clog10f): Likewise.
9870         [C99-based standards] (clog1pf): Likewise.
9871         [C99-based standards] (clog2f): Likewise.
9872         [C99-based standards] (clgammaf): Likewise.
9873         [C99-based standards] (ctgammaf): Likewise.
9874         [C99-based standards] (cerfl): Likewise.
9875         [C99-based standards] (cerfcl): Likewise.
9876         [C99-based standards] (cexp2l): Likewise.
9877         [C99-based standards] (cexpm1l): Likewise.
9878         [C99-based standards] (clog10l): Likewise.
9879         [C99-based standards] (clog1pl): Likewise.
9880         [C99-based standards] (clog2l): Likewise.
9881         [C99-based standards] (clgammal): Likewise.
9882         [C99-based standards] (ctgammal): Likewise.
9883         * conform/data/inttypes.h-data [C99-based standards]: Include
9884         stdint.h-data.  Remove all expectations for stdint.h contents.
9885         [C99-based standards] (PRI*): Do not allow.
9886         [C99-based standards] (SCN*): Likewise.
9887         [C99-based standards] (*_t): Likewise.
9888         [C99-based-standards] (PRId8): Expect macro.
9889         [C99-based-standards] (PRIi8): Likewise.
9890         [C99-based-standards] (PRIo8): Likewise.
9891         [C99-based-standards] (PRIu8): Likewise.
9892         [C99-based-standards] (PRIx8): Likewise.
9893         [C99-based-standards] (PRIX8): Likewise.
9894         [C99-based-standards] (SCNd8): Likewise.
9895         [C99-based-standards] (SCNi8): Likewise.
9896         [C99-based-standards] (SCNo8): Likewise.
9897         [C99-based-standards] (SCNu8): Likewise.
9898         [C99-based-standards] (SCNx8): Likewise.
9899         [C99-based-standards] (PRIdLEAST8): Likewise.
9900         [C99-based-standards] (PRIiLEAST8): Likewise.
9901         [C99-based-standards] (PRIoLEAST8): Likewise.
9902         [C99-based-standards] (PRIuLEAST8): Likewise.
9903         [C99-based-standards] (PRIxLEAST8): Likewise.
9904         [C99-based-standards] (PRIXLEAST8): Likewise.
9905         [C99-based-standards] (SCNdLEAST8): Likewise.
9906         [C99-based-standards] (SCNiLEAST8): Likewise.
9907         [C99-based-standards] (SCNoLEAST8): Likewise.
9908         [C99-based-standards] (SCNuLEAST8): Likewise.
9909         [C99-based-standards] (SCNxLEAST8): Likewise.
9910         [C99-based-standards] (PRIdFAST8): Likewise.
9911         [C99-based-standards] (PRIiFAST8): Likewise.
9912         [C99-based-standards] (PRIoFAST8): Likewise.
9913         [C99-based-standards] (PRIuFAST8): Likewise.
9914         [C99-based-standards] (PRIxFAST8): Likewise.
9915         [C99-based-standards] (PRIXFAST8): Likewise.
9916         [C99-based-standards] (SCNdFAST8): Likewise.
9917         [C99-based-standards] (SCNiFAST8): Likewise.
9918         [C99-based-standards] (SCNoFAST8): Likewise.
9919         [C99-based-standards] (SCNuFAST8): Likewise.
9920         [C99-based-standards] (SCNxFAST8): Likewise.
9921         [C99-based-standards] (PRId16): Likewise.
9922         [C99-based-standards] (PRIi16): Likewise.
9923         [C99-based-standards] (PRIo16): Likewise.
9924         [C99-based-standards] (PRIu16): Likewise.
9925         [C99-based-standards] (PRIx16): Likewise.
9926         [C99-based-standards] (PRIX16): Likewise.
9927         [C99-based-standards] (SCNd16): Likewise.
9928         [C99-based-standards] (SCNi16): Likewise.
9929         [C99-based-standards] (SCNo16): Likewise.
9930         [C99-based-standards] (SCNu16): Likewise.
9931         [C99-based-standards] (SCNx16): Likewise.
9932         [C99-based-standards] (PRIdLEAST16): Likewise.
9933         [C99-based-standards] (PRIiLEAST16): Likewise.
9934         [C99-based-standards] (PRIoLEAST16): Likewise.
9935         [C99-based-standards] (PRIuLEAST16): Likewise.
9936         [C99-based-standards] (PRIxLEAST16): Likewise.
9937         [C99-based-standards] (PRIXLEAST16): Likewise.
9938         [C99-based-standards] (SCNdLEAST16): Likewise.
9939         [C99-based-standards] (SCNiLEAST16): Likewise.
9940         [C99-based-standards] (SCNoLEAST16): Likewise.
9941         [C99-based-standards] (SCNuLEAST16): Likewise.
9942         [C99-based-standards] (SCNxLEAST16): Likewise.
9943         [C99-based-standards] (PRIdFAST16): Likewise.
9944         [C99-based-standards] (PRIiFAST16): Likewise.
9945         [C99-based-standards] (PRIoFAST16): Likewise.
9946         [C99-based-standards] (PRIuFAST16): Likewise.
9947         [C99-based-standards] (PRIxFAST16): Likewise.
9948         [C99-based-standards] (PRIXFAST16): Likewise.
9949         [C99-based-standards] (SCNdFAST16): Likewise.
9950         [C99-based-standards] (SCNiFAST16): Likewise.
9951         [C99-based-standards] (SCNoFAST16): Likewise.
9952         [C99-based-standards] (SCNuFAST16): Likewise.
9953         [C99-based-standards] (SCNxFAST16): Likewise.
9954         [C99-based-standards] (PRId32): Likewise.
9955         [C99-based-standards] (PRIi32): Likewise.
9956         [C99-based-standards] (PRIo32): Likewise.
9957         [C99-based-standards] (PRIu32): Likewise.
9958         [C99-based-standards] (PRIx32): Likewise.
9959         [C99-based-standards] (PRIX32): Likewise.
9960         [C99-based-standards] (SCNd32): Likewise.
9961         [C99-based-standards] (SCNi32): Likewise.
9962         [C99-based-standards] (SCNo32): Likewise.
9963         [C99-based-standards] (SCNu32): Likewise.
9964         [C99-based-standards] (SCNx32): Likewise.
9965         [C99-based-standards] (PRIdLEAST32): Likewise.
9966         [C99-based-standards] (PRIiLEAST32): Likewise.
9967         [C99-based-standards] (PRIoLEAST32): Likewise.
9968         [C99-based-standards] (PRIuLEAST32): Likewise.
9969         [C99-based-standards] (PRIxLEAST32): Likewise.
9970         [C99-based-standards] (PRIXLEAST32): Likewise.
9971         [C99-based-standards] (SCNdLEAST32): Likewise.
9972         [C99-based-standards] (SCNiLEAST32): Likewise.
9973         [C99-based-standards] (SCNoLEAST32): Likewise.
9974         [C99-based-standards] (SCNuLEAST32): Likewise.
9975         [C99-based-standards] (SCNxLEAST32): Likewise.
9976         [C99-based-standards] (PRIdFAST32): Likewise.
9977         [C99-based-standards] (PRIiFAST32): Likewise.
9978         [C99-based-standards] (PRIoFAST32): Likewise.
9979         [C99-based-standards] (PRIuFAST32): Likewise.
9980         [C99-based-standards] (PRIxFAST32): Likewise.
9981         [C99-based-standards] (PRIXFAST32): Likewise.
9982         [C99-based-standards] (SCNdFAST32): Likewise.
9983         [C99-based-standards] (SCNiFAST32): Likewise.
9984         [C99-based-standards] (SCNoFAST32): Likewise.
9985         [C99-based-standards] (SCNuFAST32): Likewise.
9986         [C99-based-standards] (SCNxFAST32): Likewise.
9987         [C99-based-standards] (PRId64): Likewise.
9988         [C99-based-standards] (PRIi64): Likewise.
9989         [C99-based-standards] (PRIo64): Likewise.
9990         [C99-based-standards] (PRIu64): Likewise.
9991         [C99-based-standards] (PRIx64): Likewise.
9992         [C99-based-standards] (PRIX64): Likewise.
9993         [C99-based-standards] (SCNd64): Likewise.
9994         [C99-based-standards] (SCNi64): Likewise.
9995         [C99-based-standards] (SCNo64): Likewise.
9996         [C99-based-standards] (SCNu64): Likewise.
9997         [C99-based-standards] (SCNx64): Likewise.
9998         [C99-based-standards] (PRIdLEAST64): Likewise.
9999         [C99-based-standards] (PRIiLEAST64): Likewise.
10000         [C99-based-standards] (PRIoLEAST64): Likewise.
10001         [C99-based-standards] (PRIuLEAST64): Likewise.
10002         [C99-based-standards] (PRIxLEAST64): Likewise.
10003         [C99-based-standards] (PRIXLEAST64): Likewise.
10004         [C99-based-standards] (SCNdLEAST64): Likewise.
10005         [C99-based-standards] (SCNiLEAST64): Likewise.
10006         [C99-based-standards] (SCNoLEAST64): Likewise.
10007         [C99-based-standards] (SCNuLEAST64): Likewise.
10008         [C99-based-standards] (SCNxLEAST64): Likewise.
10009         [C99-based-standards] (PRIdFAST64): Likewise.
10010         [C99-based-standards] (PRIiFAST64): Likewise.
10011         [C99-based-standards] (PRIoFAST64): Likewise.
10012         [C99-based-standards] (PRIuFAST64): Likewise.
10013         [C99-based-standards] (PRIxFAST64): Likewise.
10014         [C99-based-standards] (PRIXFAST64): Likewise.
10015         [C99-based-standards] (SCNdFAST64): Likewise.
10016         [C99-based-standards] (SCNiFAST64): Likewise.
10017         [C99-based-standards] (SCNoFAST64): Likewise.
10018         [C99-based-standards] (SCNuFAST64): Likewise.
10019         [C99-based-standards] (SCNxFAST64): Likewise.
10020         [C99-based-standards] (PRIdMAX): Likewise.
10021         [C99-based-standards] (PRIiMAX): Likewise.
10022         [C99-based-standards] (PRIoMAX): Likewise.
10023         [C99-based-standards] (PRIuMAX): Likewise.
10024         [C99-based-standards] (PRIxMAX): Likewise.
10025         [C99-based-standards] (PRIXMAX): Likewise.
10026         [C99-based-standards] (SCNdMAX): Likewise.
10027         [C99-based-standards] (SCNiMAX): Likewise.
10028         [C99-based-standards] (SCNoMAX): Likewise.
10029         [C99-based-standards] (SCNuMAX): Likewise.
10030         [C99-based-standards] (SCNxMAX): Likewise.
10031         [C99-based-standards] (PRIdPTR): Likewise.
10032         [C99-based-standards] (PRIiPTR): Likewise.
10033         [C99-based-standards] (PRIoPTR): Likewise.
10034         [C99-based-standards] (PRIuPTR): Likewise.
10035         [C99-based-standards] (PRIxPTR): Likewise.
10036         [C99-based-standards] (PRIXPTR): Likewise.
10037         [C99-based-standards] (SCNdPTR): Likewise.
10038         [C99-based-standards] (SCNiPTR): Likewise.
10039         [C99-based-standards] (SCNoPTR): Likewise.
10040         [C99-based-standards] (SCNuPTR): Likewise.
10041         [C99-based-standards] (SCNxPTR): Likewise.
10042         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10043         allow.
10044         * conform/data/stdint.h-data: Update comments to clarify
10045         requirements.
10046         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
10047         type.
10048         [C99-based standards] (INT8_MAX): Likewise.
10049         [C99-based standards] (INT16_MIN): Likewise.
10050         [C99-based standards] (INT16_MAX): Likewise.
10051         [C99-based standards] (INT32_MIN): Likewise.
10052         [C99-based standards] (INT32_MAX): Likewise.
10053         [C99-based standards] (INT64_MIN): Likewise.
10054         [C99-based standards] (INT64_MAX): Likewise.
10055         [C99-based standards] (UINT8_MAX): Likewise.
10056         [C99-based standards] (UINT16_MAX): Likewise.
10057         [C99-based standards] (UINT32_MAX): Likewise.
10058         [C99-based standards] (UINT64_MAX): Likewise.
10059         [C99-based standards] (INT_LEAST8_MIN): Likewise.
10060         [C99-based standards] (INT_LEAST8_MAX): Likewise.
10061         [C99-based standards] (INT_LEAST16_MIN): Likewise.
10062         [C99-based standards] (INT_LEAST16_MAX): Likewise.
10063         [C99-based standards] (INT_LEAST32_MIN): Likewise.
10064         [C99-based standards] (INT_LEAST32_MAX): Likewise.
10065         [C99-based standards] (INT_LEAST64_MIN): Likewise.
10066         [C99-based standards] (INT_LEAST64_MAX): Likewise.
10067         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10068         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10069         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10070         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10071         [C99-based standards] (INT_FAST8_MIN): Likewise.
10072         [C99-based standards] (INT_FAST8_MAX): Likewise.
10073         [C99-based standards] (INT_FAST16_MIN): Likewise.
10074         [C99-based standards] (INT_FAST16_MAX): Likewise.
10075         [C99-based standards] (INT_FAST32_MIN): Likewise.
10076         [C99-based standards] (INT_FAST32_MAX): Likewise.
10077         [C99-based standards] (INT_FAST64_MIN): Likewise.
10078         [C99-based standards] (INT_FAST64_MAX): Likewise.
10079         [C99-based standards] (UINT_FAST8_MAX): Likewise.
10080         [C99-based standards] (UINT_FAST16_MAX): Likewise.
10081         [C99-based standards] (UINT_FAST32_MAX): Likewise.
10082         [C99-based standards] (UINT_FAST64_MAX): Likewise.
10083         [C99-based standards] (INTPTR_MIN): Likewise.
10084         [C99-based standards] (INTPTR_MAX): Likewise.
10085         [C99-based standards] (UINTPTR_MAX): Likewise.
10086         [C99-based standards] (INTMAX_MIN): Likewise.
10087         [C99-based standards] (INTMAX_MAX): Likewise.
10088         [C99-based standards] (UINTMAX_MAX): Likewise.
10089         [C99-based standards] (PTRDIFF_MIN): Likewise.
10090         [C99-based standards] (PTRDIFF_MAX): Likewise.
10091         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10092         [C99-based standards] (SIZE_MAX): Likewise.
10093         [C99-based standards] (WCHAR_MAX): Likewise.
10094         [C99-based standards] (WINT_MAX): Likewise.
10095         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
10096         constraint on value.
10097         [C99-based standards] (WCHAR_MIN): Likewise.
10098         [C99-based standards] (WINT_MIN): Likewise.
10099         [C99-based standards] (*_t): Allow.
10100         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10101         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10102         Include math.h-data and complex.h-data.  Remove all expectations
10103         of math.h and complex.h contents.
10104         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10105         at end of line.
10106         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10107         (struct tm): Expect tag.
10108         [C99-based-standards] (wcstof): Expect function.
10109         [C99-based-standards] (wcstold): Likewise.
10110         [C99-based-standards] (wcstoll): Likewise.
10111         [C99-based-standards] (wcstoull): Likewise.
10112         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10113         macro-int-constant.  Specify type.
10114         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
10115         constraint on value.
10116         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10117         Specify type.
10118         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10119         Specify value.
10120         [ISO C standards]: Do not allow headers.
10121         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10122         wcs[abcdefghijklmnopqrstuvwxyz]*.
10123         [ISO C standards] (*_t): Do not allow.
10124         * conform/data/wctype.h-data [C99-based standards] (iswblank):
10125         Expect function.
10126         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10127         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10128         Specify type.
10129         [ISO C standards]: Do not allow headers.
10130         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10131         is[abcdefghijklmnopqrstuvwxyz]*.
10132         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10133         to[abcdefghijklmnopqrstuvwxyz]*.
10134         [ISO C standards] (*_t): Do not allow.
10135         * conform/data/stdalign.h-data: New file.
10136         * conform/data/stdbool.h-data: Likewise.
10137         * conform/data/stdnoreturn.h-data: Likewise.
10139 2012-11-07  Roland McGrath  <roland@hack.frob.com>
10141         [BZ #14815]
10142         * manual/filesys.texi (Directory Entries): Typo fix.
10143         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10145 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10147         * elf/elf.h (EM_AARCH64): New macro.
10148         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10149         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10150         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10151         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10152         (R_AARCH64_TLSDESC): Likewise.
10153         (NT_ARM_TLS): Likewise.
10154         (NT_ARM_HW_BREAK): Likewise.
10155         (NT_ARM_HW_WATCH): Likewise.
10157 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10159         [BZ #14811]
10160         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10161         (__ieee754_powl): Saturate nonzero exponents with absolute value
10162         below 0x1p-79 to +/- 0x1p-79.
10163         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10164         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10165         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10166         nonzero exponents with absolute value below 0x1p-32 to +/-
10167         0x1p-32.
10168         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10169         (__ieee754_powl): Saturate nonzero exponents with absolute value
10170         below 0x1p-79 to +/- 0x1p-79.
10171         * math/libm-test.inc (pow_test): Add more tests.
10173 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10175         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10176         _dl_s390_cap_flags with kernel. Increase string length.
10177         (_dl_s390_platforms): Add z196 and zEC12.
10179 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
10181         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10182         Change XOPEN21K to XOPEN2K.
10184 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
10186         * string/memmove.c: Use memcpy when possible.
10188 2012-11-06  Andreas Jaeger  <aj@suse.de>
10190         * po/eo.po: Update from translation team.
10192 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
10194         [BZ #14793]
10195         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10196         exponent and small x and y exponents, scale x or y up.  Increase
10197         by 2 the exponent used in scaling up.
10198         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10199         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10200         * math/libm-test.inc (fma_test): Add more tests.
10201         (fma_test_towardzero): Likewise.
10202         (fma_test_downward): Likewise.
10203         (fma_test_upward): Likewise.
10205 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
10207         [BZ #14805]
10208         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10209         fenv_t *.
10211         [BZ #14801]
10212         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10213         namespace for names of struct fields.
10214         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10215         fenv_t fields.
10216         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10217         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10219 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10221         [BZ #3665]
10222         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10224 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10226         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10227         PTR_DEMANGLE.
10229         [BZ #5246]
10230         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10231         PTR_DEMANGLE.
10233 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
10235         [BZ #14797]
10236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10237         definitely overflow as x * y not x * y + z.
10238         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10239         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10240         * math/libm-test.inc (fma_test): Add more tests.
10241         (fma_test_towardzero): Likewise.
10242         (fma_test_downward): Likewise.
10243         (fma_test_upward): Likewise.
10245 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
10247         [BZ #157]
10249         * include/stub-tag.h: Remove file.
10250         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10251         '#include' of it.
10252         * manual/maint.texi (Porting): Don't reference it.
10253         * Makerules ($(objpfx)stubs): Likewise.
10254         * dirent/closedir.c: Don't include <stub-tag.h>.
10255         * dirent/dirfd.c: Likewise.
10256         * dirent/fdopendir.c: Likewise.
10257         * dirent/getdents.c: Likewise.
10258         * dirent/getdents64.c: Likewise.
10259         * dirent/opendir.c: Likewise.
10260         * dirent/readdir.c: Likewise.
10261         * dirent/readdir64.c: Likewise.
10262         * dirent/readdir64_r.c: Likewise.
10263         * dirent/readdir_r.c: Likewise.
10264         * dirent/rewinddir.c: Likewise.
10265         * dirent/seekdir.c: Likewise.
10266         * dirent/telldir.c: Likewise.
10267         * gmon/profil.c: Likewise.
10268         * grp/setgroups.c: Likewise.
10269         * inet/if_index.c: Likewise.
10270         * io/access.c: Likewise.
10271         * io/chdir.c: Likewise.
10272         * io/chmod.c: Likewise.
10273         * io/chown.c: Likewise.
10274         * io/close.c: Likewise.
10275         * io/dup.c: Likewise.
10276         * io/dup2.c: Likewise.
10277         * io/dup3.c: Likewise.
10278         * io/euidaccess.c: Likewise.
10279         * io/faccessat.c: Likewise.
10280         * io/fchdir.c: Likewise.
10281         * io/fchmod.c: Likewise.
10282         * io/fchmodat.c: Likewise.
10283         * io/fchown.c: Likewise.
10284         * io/fchownat.c: Likewise.
10285         * io/fcntl.c: Likewise.
10286         * io/flock.c: Likewise.
10287         * io/fstatfs.c: Likewise.
10288         * io/fstatfs64.c: Likewise.
10289         * io/fstatvfs.c: Likewise.
10290         * io/fstatvfs64.c: Likewise.
10291         * io/futimens.c: Likewise.
10292         * io/fxstat.c: Likewise.
10293         * io/fxstat64.c: Likewise.
10294         * io/fxstatat.c: Likewise.
10295         * io/fxstatat64.c: Likewise.
10296         * io/getcwd.c: Likewise.
10297         * io/isatty.c: Likewise.
10298         * io/lchmod.c: Likewise.
10299         * io/lchown.c: Likewise.
10300         * io/link.c: Likewise.
10301         * io/linkat.c: Likewise.
10302         * io/lseek.c: Likewise.
10303         * io/lseek64.c: Likewise.
10304         * io/lxstat64.c: Likewise.
10305         * io/mkdir.c: Likewise.
10306         * io/mkdirat.c: Likewise.
10307         * io/mkfifo.c: Likewise.
10308         * io/mkfifoat.c: Likewise.
10309         * io/open.c: Likewise.
10310         * io/open64.c: Likewise.
10311         * io/openat.c: Likewise.
10312         * io/openat64.c: Likewise.
10313         * io/pipe.c: Likewise.
10314         * io/pipe2.c: Likewise.
10315         * io/poll.c: Likewise.
10316         * io/posix_fadvise.c: Likewise.
10317         * io/posix_fadvise64.c: Likewise.
10318         * io/posix_fallocate.c: Likewise.
10319         * io/posix_fallocate64.c: Likewise.
10320         * io/read.c: Likewise.
10321         * io/readlink.c: Likewise.
10322         * io/readlinkat.c: Likewise.
10323         * io/rmdir.c: Likewise.
10324         * io/sendfile.c: Likewise.
10325         * io/sendfile64.c: Likewise.
10326         * io/statfs.c: Likewise.
10327         * io/statfs64.c: Likewise.
10328         * io/statvfs.c: Likewise.
10329         * io/statvfs64.c: Likewise.
10330         * io/symlink.c: Likewise.
10331         * io/symlinkat.c: Likewise.
10332         * io/ttyname.c: Likewise.
10333         * io/ttyname_r.c: Likewise.
10334         * io/umask.c: Likewise.
10335         * io/unlink.c: Likewise.
10336         * io/unlinkat.c: Likewise.
10337         * io/utime.c: Likewise.
10338         * io/utimensat.c: Likewise.
10339         * io/write.c: Likewise.
10340         * io/xmknod.c: Likewise.
10341         * io/xmknodat.c: Likewise.
10342         * io/xstat.c: Likewise.
10343         * io/xstat64.c: Likewise.
10344         * login/getpt.c: Likewise.
10345         * login/grantpt.c: Likewise.
10346         * login/unlockpt.c: Likewise.
10347         * math/e_acoshl.c: Likewise.
10348         * math/e_acosl.c: Likewise.
10349         * math/e_asinl.c: Likewise.
10350         * math/e_atan2l.c: Likewise.
10351         * math/e_atanhl.c: Likewise.
10352         * math/e_coshl.c: Likewise.
10353         * math/e_expl.c: Likewise.
10354         * math/e_fmodl.c: Likewise.
10355         * math/e_gammal_r.c: Likewise.
10356         * math/e_hypotl.c: Likewise.
10357         * math/e_j0l.c: Likewise.
10358         * math/e_j1l.c: Likewise.
10359         * math/e_jnl.c: Likewise.
10360         * math/e_lgammal_r.c: Likewise.
10361         * math/e_log10l.c: Likewise.
10362         * math/e_log2l.c: Likewise.
10363         * math/e_logl.c: Likewise.
10364         * math/e_powl.c: Likewise.
10365         * math/e_rem_pio2l.c: Likewise.
10366         * math/e_sinhl.c: Likewise.
10367         * math/e_sqrtl.c: Likewise.
10368         * math/fclrexcpt.c: Likewise.
10369         * math/fedisblxcpt.c: Likewise.
10370         * math/feenablxcpt.c: Likewise.
10371         * math/fegetenv.c: Likewise.
10372         * math/fegetexcept.c: Likewise.
10373         * math/fegetround.c: Likewise.
10374         * math/feholdexcpt.c: Likewise.
10375         * math/fesetenv.c: Likewise.
10376         * math/fesetround.c: Likewise.
10377         * math/feupdateenv.c: Likewise.
10378         * math/fgetexcptflg.c: Likewise.
10379         * math/fraiseexcpt.c: Likewise.
10380         * math/fsetexcptflg.c: Likewise.
10381         * math/ftestexcept.c: Likewise.
10382         * math/k_cosl.c: Likewise.
10383         * math/k_rem_pio2l.c: Likewise.
10384         * math/k_sinl.c: Likewise.
10385         * math/k_tanl.c: Likewise.
10386         * math/s_asinhl.c: Likewise.
10387         * math/s_atanl.c: Likewise.
10388         * math/s_cbrtl.c: Likewise.
10389         * math/s_erfl.c: Likewise.
10390         * math/s_expm1l.c: Likewise.
10391         * math/s_log1pl.c: Likewise.
10392         * math/s_tanhl.c: Likewise.
10393         * misc/acct.c: Likewise.
10394         * misc/brk.c: Likewise.
10395         * misc/chflags.c: Likewise.
10396         * misc/chroot.c: Likewise.
10397         * misc/fchflags.c: Likewise.
10398         * misc/fgetxattr.c: Likewise.
10399         * misc/flistxattr.c: Likewise.
10400         * misc/fremovexattr.c: Likewise.
10401         * misc/fsetxattr.c: Likewise.
10402         * misc/fsync.c: Likewise.
10403         * misc/ftruncate.c: Likewise.
10404         * misc/futimes.c: Likewise.
10405         * misc/futimesat.c: Likewise.
10406         * misc/getdomain.c: Likewise.
10407         * misc/getdtsz.c: Likewise.
10408         * misc/gethostid.c: Likewise.
10409         * misc/gethostname.c: Likewise.
10410         * misc/getloadavg.c: Likewise.
10411         * misc/getpagesize.c: Likewise.
10412         * misc/getsysstats.c: Likewise.
10413         * misc/getxattr.c: Likewise.
10414         * misc/gtty.c: Likewise.
10415         * misc/ioctl.c: Likewise.
10416         * misc/lgetxattr.c: Likewise.
10417         * misc/listxattr.c: Likewise.
10418         * misc/llistxattr.c: Likewise.
10419         * misc/lremovexattr.c: Likewise.
10420         * misc/lsetxattr.c: Likewise.
10421         * misc/lutimes.c: Likewise.
10422         * misc/madvise.c: Likewise.
10423         * misc/mincore.c: Likewise.
10424         * misc/mlock.c: Likewise.
10425         * misc/mlockall.c: Likewise.
10426         * misc/mmap.c: Likewise.
10427         * misc/mprotect.c: Likewise.
10428         * misc/msync.c: Likewise.
10429         * misc/munlock.c: Likewise.
10430         * misc/munlockall.c: Likewise.
10431         * misc/munmap.c: Likewise.
10432         * misc/preadv.c: Likewise.
10433         * misc/preadv64.c: Likewise.
10434         * misc/ptrace.c: Likewise.
10435         * misc/pwritev.c: Likewise.
10436         * misc/pwritev64.c: Likewise.
10437         * misc/readv.c: Likewise.
10438         * misc/reboot.c: Likewise.
10439         * misc/remap_file_pages.c: Likewise.
10440         * misc/removexattr.c: Likewise.
10441         * misc/revoke.c: Likewise.
10442         * misc/select.c: Likewise.
10443         * misc/setdomain.c: Likewise.
10444         * misc/setegid.c: Likewise.
10445         * misc/seteuid.c: Likewise.
10446         * misc/sethostid.c: Likewise.
10447         * misc/sethostname.c: Likewise.
10448         * misc/setregid.c: Likewise.
10449         * misc/setreuid.c: Likewise.
10450         * misc/setxattr.c: Likewise.
10451         * misc/sstk.c: Likewise.
10452         * misc/stty.c: Likewise.
10453         * misc/swapoff.c: Likewise.
10454         * misc/swapon.c: Likewise.
10455         * misc/sync.c: Likewise.
10456         * misc/syncfs.c: Likewise.
10457         * misc/syscall.c: Likewise.
10458         * misc/truncate.c: Likewise.
10459         * misc/ualarm.c: Likewise.
10460         * misc/usleep.c: Likewise.
10461         * misc/ustat.c: Likewise.
10462         * misc/utimes.c: Likewise.
10463         * misc/vhangup.c: Likewise.
10464         * misc/writev.c: Likewise.
10465         * posix/_exit.c: Likewise.
10466         * posix/alarm.c: Likewise.
10467         * posix/execve.c: Likewise.
10468         * posix/fexecve.c: Likewise.
10469         * posix/fork.c: Likewise.
10470         * posix/fpathconf.c: Likewise.
10471         * posix/getaddrinfo.c: Likewise.
10472         * posix/getegid.c: Likewise.
10473         * posix/geteuid.c: Likewise.
10474         * posix/getgid.c: Likewise.
10475         * posix/getgroups.c: Likewise.
10476         * posix/getlogin.c: Likewise.
10477         * posix/getlogin_r.c: Likewise.
10478         * posix/getpgid.c: Likewise.
10479         * posix/getpid.c: Likewise.
10480         * posix/getppid.c: Likewise.
10481         * posix/getresgid.c: Likewise.
10482         * posix/getresuid.c: Likewise.
10483         * posix/getsid.c: Likewise.
10484         * posix/getuid.c: Likewise.
10485         * posix/glob64.c: Likewise.
10486         * posix/nanosleep.c: Likewise.
10487         * posix/pathconf.c: Likewise.
10488         * posix/pause.c: Likewise.
10489         * posix/posix_madvise.c: Likewise.
10490         * posix/pread.c: Likewise.
10491         * posix/pread64.c: Likewise.
10492         * posix/pwrite.c: Likewise.
10493         * posix/pwrite64.c: Likewise.
10494         * posix/sched_getaffinity.c: Likewise.
10495         * posix/sched_getp.c: Likewise.
10496         * posix/sched_gets.c: Likewise.
10497         * posix/sched_primax.c: Likewise.
10498         * posix/sched_primin.c: Likewise.
10499         * posix/sched_rr_gi.c: Likewise.
10500         * posix/sched_setaffinity.c: Likewise.
10501         * posix/sched_setp.c: Likewise.
10502         * posix/sched_sets.c: Likewise.
10503         * posix/sched_yield.c: Likewise.
10504         * posix/setgid.c: Likewise.
10505         * posix/setlogin.c: Likewise.
10506         * posix/setpgid.c: Likewise.
10507         * posix/setresgid.c: Likewise.
10508         * posix/setresuid.c: Likewise.
10509         * posix/setsid.c: Likewise.
10510         * posix/setuid.c: Likewise.
10511         * posix/sleep.c: Likewise.
10512         * posix/spawni.c: Likewise.
10513         * posix/sysconf.c: Likewise.
10514         * posix/times.c: Likewise.
10515         * posix/wait.c: Likewise.
10516         * posix/wait3.c: Likewise.
10517         * posix/wait4.c: Likewise.
10518         * posix/waitpid.c: Likewise.
10519         * resolv/gai_sigqueue.c: Likewise.
10520         * resource/getpriority.c: Likewise.
10521         * resource/getrlimit.c: Likewise.
10522         * resource/getrusage.c: Likewise.
10523         * resource/nice.c: Likewise.
10524         * resource/setpriority.c: Likewise.
10525         * resource/setrlimit.c: Likewise.
10526         * resource/ulimit.c: Likewise.
10527         * rt/aio_cancel.c: Likewise.
10528         * rt/aio_fsync.c: Likewise.
10529         * rt/aio_read.c: Likewise.
10530         * rt/aio_sigqueue.c: Likewise.
10531         * rt/aio_suspend.c: Likewise.
10532         * rt/aio_write.c: Likewise.
10533         * rt/clock_getres.c: Likewise.
10534         * rt/clock_gettime.c: Likewise.
10535         * rt/clock_nanosleep.c: Likewise.
10536         * rt/clock_settime.c: Likewise.
10537         * rt/lio_listio.c: Likewise.
10538         * rt/mq_close.c: Likewise.
10539         * rt/mq_getattr.c: Likewise.
10540         * rt/mq_notify.c: Likewise.
10541         * rt/mq_open.c: Likewise.
10542         * rt/mq_receive.c: Likewise.
10543         * rt/mq_send.c: Likewise.
10544         * rt/mq_setattr.c: Likewise.
10545         * rt/mq_timedreceive.c: Likewise.
10546         * rt/mq_timedsend.c: Likewise.
10547         * rt/mq_unlink.c: Likewise.
10548         * rt/shm_open.c: Likewise.
10549         * rt/shm_unlink.c: Likewise.
10550         * rt/timer_create.c: Likewise.
10551         * rt/timer_delete.c: Likewise.
10552         * rt/timer_getoverr.c: Likewise.
10553         * rt/timer_gettime.c: Likewise.
10554         * rt/timer_settime.c: Likewise.
10555         * setjmp/__longjmp.c: Likewise.
10556         * setjmp/setjmp.c: Likewise.
10557         * signal/kill.c: Likewise.
10558         * signal/killpg.c: Likewise.
10559         * signal/raise.c: Likewise.
10560         * signal/sigaction.c: Likewise.
10561         * signal/sigaltstack.c: Likewise.
10562         * signal/sigblock.c: Likewise.
10563         * signal/sigignore.c: Likewise.
10564         * signal/sigintr.c: Likewise.
10565         * signal/signal.c: Likewise.
10566         * signal/sigpause.c: Likewise.
10567         * signal/sigpending.c: Likewise.
10568         * signal/sigqueue.c: Likewise.
10569         * signal/sigreturn.c: Likewise.
10570         * signal/sigset.c: Likewise.
10571         * signal/sigsetmask.c: Likewise.
10572         * signal/sigstack.c: Likewise.
10573         * signal/sigsuspend.c: Likewise.
10574         * signal/sigtimedwait.c: Likewise.
10575         * signal/sigvec.c: Likewise.
10576         * signal/sigwait.c: Likewise.
10577         * signal/sigwaitinfo.c: Likewise.
10578         * signal/sysv_signal.c: Likewise.
10579         * socket/accept.c: Likewise.
10580         * socket/accept4.c: Likewise.
10581         * socket/bind.c: Likewise.
10582         * socket/connect.c: Likewise.
10583         * socket/getpeername.c: Likewise.
10584         * socket/getsockname.c: Likewise.
10585         * socket/getsockopt.c: Likewise.
10586         * socket/isfdtype.c: Likewise.
10587         * socket/listen.c: Likewise.
10588         * socket/recv.c: Likewise.
10589         * socket/recvfrom.c: Likewise.
10590         * socket/recvmsg.c: Likewise.
10591         * socket/send.c: Likewise.
10592         * socket/sendmsg.c: Likewise.
10593         * socket/sendto.c: Likewise.
10594         * socket/setsockopt.c: Likewise.
10595         * socket/shutdown.c: Likewise.
10596         * socket/sockatmark.c: Likewise.
10597         * socket/socket.c: Likewise.
10598         * socket/socketpair.c: Likewise.
10599         * stdio-common/ctermid.c: Likewise.
10600         * stdio-common/cuserid.c: Likewise.
10601         * stdio-common/remove.c: Likewise.
10602         * stdio-common/rename.c: Likewise.
10603         * stdio-common/renameat.c: Likewise.
10604         * stdio-common/tempname.c: Likewise.
10605         * stdlib/getcontext.c: Likewise.
10606         * stdlib/makecontext.c: Likewise.
10607         * stdlib/setcontext.c: Likewise.
10608         * stdlib/swapcontext.c: Likewise.
10609         * stdlib/system.c: Likewise.
10610         * streams/fattach.c: Likewise.
10611         * streams/fdetach.c: Likewise.
10612         * streams/getmsg.c: Likewise.
10613         * streams/getpmsg.c: Likewise.
10614         * streams/putmsg.c: Likewise.
10615         * streams/putpmsg.c: Likewise.
10616         * sysdeps/unix/bsd/getpt.c: Likewise.
10617         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10618         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10619         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10621         Likewise.
10622         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10623         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10624         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10625         * sysvipc/msgctl.c: Likewise.
10626         * sysvipc/msgget.c: Likewise.
10627         * sysvipc/msgrcv.c: Likewise.
10628         * sysvipc/msgsnd.c: Likewise.
10629         * sysvipc/semctl.c: Likewise.
10630         * sysvipc/semget.c: Likewise.
10631         * sysvipc/semop.c: Likewise.
10632         * sysvipc/semtimedop.c: Likewise.
10633         * sysvipc/shmat.c: Likewise.
10634         * sysvipc/shmctl.c: Likewise.
10635         * sysvipc/shmdt.c: Likewise.
10636         * sysvipc/shmget.c: Likewise.
10637         * termios/tcdrain.c: Likewise.
10638         * termios/tcflow.c: Likewise.
10639         * termios/tcflush.c: Likewise.
10640         * termios/tcgetattr.c: Likewise.
10641         * termios/tcgetpgrp.c: Likewise.
10642         * termios/tcsendbrk.c: Likewise.
10643         * termios/tcsetattr.c: Likewise.
10644         * termios/tcsetpgrp.c: Likewise.
10645         * time/adjtime.c: Likewise.
10646         * time/clock.c: Likewise.
10647         * time/getitimer.c: Likewise.
10648         * time/gettimeofday.c: Likewise.
10649         * time/setitimer.c: Likewise.
10650         * time/settimeofday.c: Likewise.
10651         * time/stime.c: Likewise.
10652         * time/time.c: Likewise.
10654 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
10656         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10657         /usr/old/bin.
10659         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10660         instead of spaces.
10661         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10663 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
10665         [BZ #14796]
10666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10667         FE_TONEAREST before applying Dekker multiplication and Knuth
10668         addition.  Clear inexact exceptions and check for exact zero
10669         results afterwards.
10670         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10671         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10672         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10673         * math/libm-test.inc (fma_test): Add more tests.
10674         (fma_test_towardzero): Likewise.
10675         (fma_test_downward): Likewise.
10676         (fma_test_upward): Likewise.
10677         * sysdeps/generic/math_private.h (default_libc_fesetround): New
10678         function.
10679         (libc_fesetround): New macro.
10680         (libc_fesetroundf): Likewise.
10681         (libc_fesetroundl): Likewise.
10682         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10683         function.
10684         (libc_fesetround_387): Likewise.
10685         (libc_fesetroundf): New macro.
10686         (libc_fesetround): Likewise.
10687         (libc_fesetroundl): Likewise.
10688         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10689         function.
10690         (libc_fesetroundf): New macro.
10691         (libc_fesetround): Likewise.
10692         (libc_fesetroundl): Likewise.
10693         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10694         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10695         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10696         libm_hidden_ver.
10697         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10698         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10699         libm_hidden_def.
10700         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10701         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10702         libm_hidden_ver.
10703         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10704         libm_hidden_def.
10706         [BZ #3439]
10707         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10708         integer constant usable in #if and use that to give value to enum
10709         constant.
10710         (FE_DIVBYZERO): Likewise.
10711         (FE_UNDERFLOW): Likewise.
10712         (FE_OVERFLOW): Likewise.
10713         (FE_INVALID): Likewise.
10714         (FE_INVALID_SNAN): Likewise.
10715         (FE_INVALID_ISI): Likewise.
10716         (FE_INVALID_IDI): Likewise.
10717         (FE_INVALID_ZDZ): Likewise.
10718         (FE_INVALID_IMZ): Likewise.
10719         (FE_INVALID_COMPARE): Likewise.
10720         (FE_INVALID_SOFTWARE): Likewise.
10721         (FE_INVALID_SQRT): Likewise.
10722         (FE_INVALID_INTEGER_CONVERSION): Likewise.
10723         (FE_TONEAREST): Likewise.
10724         (FE_TOWARDZERO): Likewise.
10725         (FE_UPWARD): Likewise.
10726         (FE_DOWNWARD): Likewise.
10727         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10728         (FE_DIVBYZERO): Likewise.
10729         (FE_OVERFLOW): Likewise.
10730         (FE_UNDERFLOW): Likewise.
10731         (FE_INEXACT): Likewise.
10732         (FE_TONEAREST): Likewise.
10733         (FE_DOWNWARD): Likewise.
10734         (FE_UPWARD): Likewise.
10735         (FE_TOWARDZERO): Likewise.
10736         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10737         (FE_UNDERFLOW): Likewise.
10738         (FE_OVERFLOW): Likewise.
10739         (FE_DIVBYZERO): Likewise.
10740         (FE_INVALID): Likewise.
10741         (FE_TONEAREST): Likewise.
10742         (FE_TOWARDZERO): Likewise.
10743         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10744         (FE_OVERFLOW): Likewise.
10745         (FE_UNDERFLOW): Likewise.
10746         (FE_DIVBYZERO): Likewise.
10747         (FE_INEXACT): Likewise.
10748         (FE_TONEAREST): Likewise.
10749         (FE_TOWARDZERO): Likewise.
10750         (FE_UPWARD): Likewise.
10751         (FE_DOWNWARD): Likewise.
10752         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10753         (FE_DIVBYZERO): Likewise.
10754         (FE_OVERFLOW): Likewise.
10755         (FE_UNDERFLOW): Likewise.
10756         (FE_INEXACT): Likewise.
10757         (FE_TONEAREST): Likewise.
10758         (FE_DOWNWARD): Likewise.
10759         (FE_UPWARD): Likewise.
10760         (FE_TOWARDZERO): Likewise.
10762 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
10764         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10766 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
10768         * scripts/cross-test-ssh.sh (command): Use newlines to separate
10769         commands.  Quote $PWD.
10770         (blacklist_exports): Don't use remove_newlines.  Replace "declare
10771         -x" by "export".
10772         (remove_newlines): Remove.
10774 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
10776         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10777         * stdlib/stdlib.h (atof): Moved to ...
10778         * include/bits/stdlib-float.h: Here.  New file.
10779         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10780         * stdlib/bits/stdlib-float.h: New file.
10781         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10782         -mno-sse -mno-mmx.
10783         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10784         <xmmintrin.h>.
10786 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10788         * conform/conformtest.pl (@headers): Add fenv.h.
10789         * conform/data/fenv.h-data: New file.
10790         * include/fenv.h [_ISOMAC]: Disable all contents of file except
10791         include of <math/fenv.h>.
10793         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10794         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10795         && !UNIX98].  Enables tests for XOPEN2K8.
10796         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10797         POSIX2008]: Likewise.
10799         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10800         (struct rusage): Do not expect type or its members.
10802         [BZ #3439]
10803         * math/math.h (FP_NAN): Define macro to integer constant usable in
10804         #if and use that to give value to enum constant.
10805         (FP_INFINITE): Likewise.
10806         (FP_ZERO): Likewise.
10807         (FP_SUBNORMAL): Likewise.
10808         (FP_NORMAL): Likewise.
10810 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
10812         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10813         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10814         arguments.
10816 2012-11-02  Roland McGrath  <roland@hack.frob.com>
10818         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10819         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10820         autoconf-time if not.
10821         * configure.in: Remove AC_PREREQ.
10823 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10825         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10826         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10827         of the internal implementation.
10829 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
10831         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10832         except include of <misc/sys/syslog.h>.
10834 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10837         function returns with a NULL context exit with zero.
10839 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10841         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10843 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
10845         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10846         (run_program_cmd): This.
10847         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10848         (tst_langinfo): New variable.  Use it.
10850 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
10852         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10853         floating point opcodes.
10855 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10857         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10858         variable.
10860         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10862         * sysdeps/mach/hurd/powerpc: Remove directory.
10863         * sysdeps/mach/powerpc: Likewise.
10865 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
10867         * scripts/check-local-headers.sh: Ignore c++ headers.
10869 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10871         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10872         __libc_cleanup_region_start argument.
10874 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
10876         [BZ #14784]
10877         [BZ #14785]
10878         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10879         x * y using scaling, not as x * y + z.
10880         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10881         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10882         * math/libm-test.inc (fma_test): Add more tests.
10883         (fma_test_towardzero): Likewise.
10884         (fma_test_downward): Likewise.
10885         (fma_test_upward): Likewise.
10887 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
10889         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10891 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10893         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10894         New variable.
10896 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
10898         * rt/tst-shm.c (worker): Correct checking for mmap failure.
10900 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10903         Fix sort order.
10904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10905         Likewise.
10907 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10910         Fix the order of the list for glibc 2.17.
10911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10912         Likewise.
10914 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10918 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
10920         [BZ #14610]
10921         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10922         for low part of x being zero before using __atanl (y).
10923         * math/libm-test.inc (atan2_test): Add another test.
10925         * manual/install.texi (Configuring and compiling): Document
10926         general use of test-wrapper and test-wrapper-env.
10927         * INSTALL: Regenerated.
10929         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10930         (__fma): Do not extract and scale down low bits on after-rounding
10931         systems when result rounded to normal precision would have normal
10932         exponent.
10933         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10934         (__fmal): Do not extract and scale down low bits on after-rounding
10935         systems when result rounded to normal precision would have normal
10936         exponent.
10937         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10938         (__fmal): Do not extract and scale down low bits on after-rounding
10939         systems when result rounded to normal precision would have normal
10940         exponent.
10941         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10942         macro.
10943         (fma_test): Add more tests.
10944         (fma_test_towardzero): Likewise.
10945         (fma_test_downward): Likewise.
10946         (fma_test_upward): Likewise.
10948 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
10950         * sysdeps/i386/tininess.h: Renamed to ...
10951         * sysdeps/x86/tininess.h: This.
10952         * sysdeps/x86_64/tininess.h: Removed.
10954 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10956         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10957         input.  Use $(build-program-cmd).
10958         ($(objpfx)tst-array1-static.out): Likewise.
10959         ($(objpfx)tst-array2.out): Likewise.
10960         ($(objpfx)tst-array3.out): Likewise.
10961         ($(objpfx)tst-array4.out): Likewise.
10962         ($(objpfx)tst-array5.out): Likewise.
10963         ($(objpfx)tst-array5-static.out): Likewise.
10965 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
10967         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10968         if defined.
10970         * nss/nsswitch.h (nss_interface_function): Provide new
10971         macro for use with NSS functions.
10972         * grp/initgroups.c: Use new macro.
10973         * nss/getXXbyYY.c: Likewise.
10974         * nss/getXXbyYY_r.c: Likewise.
10975         * nss/getXXent.c: Likewise.
10976         * nss/getXXent_r.c: Likewise.
10977         * sysdeps/posix/getaddrinfo.c: Likewise.
10979 2012-10-30  Andreas Jaeger  <aj@suse.de>
10981         * po/ru.po: Update Russion translation from translation project.
10983 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
10985         [BZ #14152]
10986         [BZ #14783]
10987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10988         result and shift together with sticky bit instead of replicating
10989         round-to-nearest rounding.
10990         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10991         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10992         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
10993         missing underflow exceptions.
10994         (fma_test_towardzero): Add more tests.
10995         (fma_test_downward): Likewise.
10996         (fma_test_upward): Likewise.
10998         [BZ #14047]
10999         * sysdeps/generic/tininess.h: New file.
11000         * sysdeps/i386/tininess.h: Likewise.
11001         * sysdeps/sh/tininess.h: Likewise.
11002         * sysdeps/x86_64/tininess.h: Likewise.
11003         * stdlib/tst-strtod-underflow.c: Likewise.
11004         * stdlib/tst-tininess.c: Likewise.
11005         * stdlib/strtod_l.c: Include <tininess.h>.
11006         (round_and_return): Do not set errno for exact underflow cases.
11007         Force an underflow exception when setting errno for underflow.
11008         Determine underflow based on rounding to normal precision if
11009         TININESS_AFTER_ROUNDING.
11010         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11011         ERANGE for exact underflow cases.
11012         * stdlib/Makefile (tests): Add tst-tininess and
11013         tst-strtod-underflow.
11014         ($(objpfx)tst-tininess): Use $(link-libm).
11015         ($(objpfx)tst-strtod-underflow): Likewise.
11017 2012-10-30  Andreas Jaeger  <aj@suse.de>
11019         [BZ#14767]
11020         * elf/Makefile (tests): Remove conditional for have-initfini-array
11021         since this is now always required and the variable does not exist
11022         anymore.
11023         (tests-static): Likewise.
11024         (modules-names): Likewise.
11026         * po/eo.po: Add Esperanto translation from translation project.
11028         * elf/tst-array1.c (fini_array): Make writeable so that it can be
11029         merged with constructor/destructor.
11030         (init_array): Likewise.
11031         * elf/tst-array2dep.c (fini_array): Likewise.
11032         (init_array): Likewise.
11034 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
11036         * manual/message.texi: Delete @cartouche tags.
11038 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
11040         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11041         EOPNOTSUPP.
11042         * sysdeps/mach/hurd/fsync.c: Likewise.
11044         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11045         [_POSIX_REALTIME_SIGNALS]: Change condition to
11046         [_POSIX_REALTIME_SIGNALS > 0].
11048 2012-10-27  Andreas Jaeger  <aj@suse.de>
11050         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11051         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11052         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11053         [__WORDSIZE != 64]: Likewise.
11055 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
11057         *  iconvdata/tst-table.sh: Remove ${SHELL}.
11058         *  iconvdata/tst-tables.sh: Likewise.
11060 2012-10-25  David S. Miller  <davem@davemloft.net>
11062         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11063         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11064         of strtoull.
11066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11067         ifunc-impl-list.c
11068         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11069         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11070         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11071         file.
11073 2012-10-25  Roland McGrath  <roland@hack.frob.com>
11075         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11076         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11077         __getdirentries.
11079 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11080             Jim Blandy  <jimb@codesourcery.com>
11082         * scripts/cross-test-ssh.sh: New file.
11083         * manual/install.texi (Configuring and compiling): Document use of
11084         cross-test-ssh.sh.
11085         * INSTALL: Regenerated.
11087 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
11089         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11090         EOPNOTSUPP.
11092 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
11094         * Makeconfig (run-program-prefix): Fix comment.
11096 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11097             Jim Blandy  <jimb@codesourcery.com>
11099         * Makeconfig (test-wrapper): New variable,
11100         (test-wrapper-env): Likewise.
11101         [$(cross-compiling) = yes && $(test-wrapper) != ""]
11102         (run-built-tests): Define to yes.
11103         (run-program-prefix): Use $(test-wrapper).
11104         (built-program-cmd): Likewise.
11105         * Rules (make-test-out): Use $(test-wrapper-env) and
11106         $(host-built-program-cmd).
11107         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11108         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11109         tst-pathopt.sh.
11110         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11111         $(test-wrapper-env) to tst-rtld-load-self.sh.
11112         ($(objpfx)order2.out): Use $(test-wrapper).
11113         ($(objpfx)tst-initorder.out): Likewise.
11114         ($(objpfx)tst-initorder2.out): Likewise.
11115         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11116         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11117         (test_wrapper_env): New variable.  Use it to run ld.so.
11118         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11119         Use it to run ld.so.
11120         (test_wrapper_env): Likewise.
11121         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11122         $(test-wrapper) to run-iconv-test.sh.
11123         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11124         (ICONV): Use $test_wrapper.
11125         * posix/Makefile ($(objpfx)globtest.out): Pass
11126         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11127         globtest.sh, not $(run-program-prefix).
11128         * posix/globtest.sh (run_via_rtld_prefix): New variable.
11129         (test_wrapper): Likewise.
11130         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
11131         set together with run_via_rtld_prefix.
11132         (run_program_prefix): Define in terms of test_wrapper and
11133         run_via_rtld_prefix.
11135 2012-10-24  Roland McGrath  <roland@hack.frob.com>
11137         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11138         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11139         Targets removed.
11141         [BZ #14743]
11142         * include/time.h: Remove librt_hidden_proto (clock_gettime).
11143         Declare __clock_getres, __clock_gettime, __clock_settime,
11144         __clock_nanosleep, and __clock_getcpuclockid.
11145         * rt/clock_gettime.c: Define __clock_gettime as an alias.
11146         Remove librt_hidden_def (clock_gettime).
11147         * sysdeps/unix/clock_gettime.c: Likewise.
11148         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11149         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11150         * rt/clock_getres.c: Define __clock_getres as an alias.
11151         * sysdeps/posix/clock_getres.c: Likewise.
11152         * rt/clock_settime.c: Define __clock_settime as an alias.
11153         * sysdeps/unix/clock_settime.c: Likewise.
11154         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11155         * sysdeps/unix/clock_nanosleep.c: Likewise.
11156         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11157         * rt/clock-compat.c: New file.
11158         * rt/Makefile (librt-routines): Add clock-compat and move
11159         $(clock-routines) to ...
11160         (routines): ... here, new variable.
11161         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11162         Don't add get_clockfreq here.
11163         * rt/Versions (libc: GLIBC_2.17): New version set.
11164         Add clock_* symbols here.
11165         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
11166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11167         (GLIBC_2.17): Add clock_* symbols.
11168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11170         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11172         Likewise.
11173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11174         Likewise.
11175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11179         * NEWS: Mention the move.
11181         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11182         Use __open, __read, __close rather than their public counterparts.
11183         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11184         (__get_clockfreq_via_cpuinfo): Likewise.
11185         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11186         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11188         * config.h.in (HAVE_IFUNC): New #undef.
11189         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11190         was successful.
11191         * configure: Regenerated.
11193 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11195         * configure.in: Move READELF check to start of file.
11196         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11197         libc_cv_asm_gnu_indirect_function in the process.
11198         * configure: Regenerated.
11200 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
11202         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11203         send the output to /dev/null.
11204         (libc_cv_cc_with_libunwind): Likewise.
11205         (libc_cv_as_noexecstack): Likewise.
11206         * configure: Regenerate.
11208 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
11210         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11212         * posix/globtest.sh (TMPDIR): Do not set.
11213         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11214         (testout): Likewise.
11216 2012-10-24  Andreas Jaeger  <aj@suse.de>
11218         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11219         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11220         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11221         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11222         posix_fadvise64, posix_fallocate64.
11224         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11225         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11226         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11227         Likewise.
11228         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11229         Likewise.
11230         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11232         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11233         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11234         <bits/fcntl-linux.h>.
11235         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11237         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11238         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11239         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11240         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11241         [__WORDSIZE != 64]: Likewise.
11243 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11245         * Makeconfig (run-built-tests): New variable.
11246         * Rules [$(cross-compiling) = yes]: Change condition to
11247         [$(run-built-tests) = no].
11248         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11249         to [$(run-built-tests) = yes].
11250         * elf/Makefile [$(cross-compiling) = no]: Likewise
11251         * grp/Makefile [$(cross-compiling) = no]: Likewise.
11252         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11253         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11254         * intl/Makefile [$(cross-compiling) = no]: Likewise.
11255         * io/Makefile [$(cross-compiling) = no]: Likewise.
11256         * libio/Makefile [$(cross-compiling) = no]: Likewise.
11257         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11258         * misc/Makefile [$(cross-compiling) = no]: Likewise.
11259         * posix/Makefile [$(cross-compiling) = no]: Likewise.
11260         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11261         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11262         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11263         * string/Makefile [$(cross-compiling) = no]: Likewise.
11265         * posix/Makefile ($(objpfx)globtest.out): Pass
11266         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11267         $(rtld-installed-name).
11268         * posix/globtest.sh (elf_objpfx): Remove variable.
11269         (rtld_installed_name): Likewise.
11270         (library_path): Likewise.
11271         (run_program_prefix): New variable.  Use for running globtest
11272         binary.
11274 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
11275             Joseph Myers  <joseph@codesourcery.com>
11277         * Makeconfig (host-built-program-cmd): New variable.
11278         * elf/Makefile (tst-stackguard1-ARGS): Use
11279         $(host-built-program-cmd).
11280         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11281         (tst-spawn-ARGS): Likewise.
11282         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11284 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
11285             Jim Blandy  <jimb@codesourcery.com>
11287         * Makeconfig (run-via-rtld-prefix): New variable.
11288         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11289         (built-program-cmd): Likewise.
11291 2012-10-22  Andreas Jaeger  <aj@suse.de>
11293         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11294         __O_RSYNC if it exists, otherwise to O_SYNC.
11296 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
11297             Joseph Myers  <joseph@codesourcery.com>
11299         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11300         /dev/null.
11301         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11302         from /dev/null
11303         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11304         /dev/null.
11306 2012-10-22  Andreas Jaeger  <aj@suse.de>
11308         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11309         Define always.
11310         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11312         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11313         bits/fcntl-linux.h.
11315         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11316         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11318         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11319         to __O_LARGEFILE.
11320         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11321         to __O_LARGEFILE.
11323 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
11324             Joseph Myers  <joseph@codesourcery.com>
11326         * config.make.in (NM): New variable.
11328 2012-10-21  Andreas Jaeger  <aj@suse.de>
11330         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11331         definitions and declarations that are provided by
11332         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11334 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11336         [BZ #14683]
11337         * elf/Makefile (tests-static): Add tst-leaks1-static.
11338         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11339         ($(objpfx)tst-leaks1-static): New rule.
11340         ($(objpfx)tst-leaks1-static-mem): Likewise.
11341         (tst-leaks1-static-ENV): New macro.
11342         * elf/dl-open.c (dl_open_worker): Check the main application
11343         only if SHARED is defined.
11344         * elf/tst-leaks1-static.c: New file.
11346 2012-10-20  Andreas Jaeger  <aj@suse.de>
11348         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11349         generic values for Linux.
11350         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11351         and declarations that are provided by <bits/fcntl-linux.h> and
11352         include <bits/fcntl-linux.h>.
11353         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11354         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11356 2012-10-20  Roland McGrath  <roland@hack.frob.com>
11358         * io/fcntl.h: Move include of <bits/types.h> to the top and
11359         include it unconditionally.
11361 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
11363         * wcsmbs/Makefile (tests-ifunc): New variable.
11364         (tests): Add $(tests-ifunc).
11365         * wcsmbs/test-wcschr-ifunc.c: New file.
11366         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11367         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11368         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11369         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11370         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11372         * string/Makefile (tests-ifunc): New variable.
11373         (tests): Add $(tests-ifunc).
11374         * string/test-memccpy.c (TEST_NAME): New macro.
11375         * string/test-memchr.c (TEST_NAME): Likewise.
11376         * string/test-memcmp.c (TEST_NAME): Likewise.
11377         * string/test-memcpy.c (TEST_NAME): Likewise.
11378         * string/test-memmem.c (TEST_NAME): Likewise.
11379         * string/test-memmove.c (TEST_NAME): Likewise.
11380         * string/test-memset.c (TEST_NAME): Likewise.
11381         * string/test-rawmemchr.c (TEST_NAME): Likewise.
11382         * string/test-stpcpy.c (TEST_NAME): Likewise.
11383         * string/test-stpncpy.c (TEST_NAME): Likewise.
11384         * string/test-strcasecmp.c (TEST_NAME): Likewise.
11385         * string/test-strcasestr.c (TEST_NAME): Likewise.
11386         * string/test-strcat.c (TEST_NAME): Likewise.
11387         * string/test-strchr.c (TEST_NAME): Likewise.
11388         * string/test-strcmp.c(TEST_NAME): Likewise.
11389         * string/test-strcpy.c (TEST_NAME): Likewise.
11390         * string/test-strcspn.c (TEST_NAME): Likewise.
11391         * string/test-strlen.c (TEST_NAME): Likewise.
11392         * string/test-strncasecmp.c (TEST_NAME): Likewise.
11393         * string/test-strncmp.c (TEST_NAME): Likewise.
11394         * string/test-strncpy.c (TEST_NAME): Likewise.
11395         * string/test-strnlen.c (TEST_NAME): Likewise.
11396         * string/test-strpbrk.c (TEST_NAME): Likewise.
11397         * string/test-strrchr.c (TEST_NAME): Likewise.
11398         * string/test-strspn.c (TEST_NAME): Likewise.
11399         * string/test-strstr.c (TEST_NAME): Likewise.
11400         * string/test-bcopy-ifunc.c: New file.
11401         * string/test-bzero-ifunc.c: Likewise.
11402         * string/test-memccpy-ifunc.c: Likewise.
11403         * string/test-memchr-ifunc.c: Likewise.
11404         * string/test-memcmp-ifunc.c: Likewise.
11405         * string/test-memcpy-ifunc.c: Likewise.
11406         * string/test-memmem-ifunc.c: Likewise.
11407         * string/test-memmove-ifunc.c: Likewise.
11408         * string/test-mempcpy-ifunc.c: Likewise.
11409         * string/test-memset-ifunc.c: Likewise.
11410         * string/test-rawmemchr-ifunc.c: Likewise.
11411         * string/test-stpcpy-ifunc.c: Likewise.
11412         * string/test-stpncpy-ifunc.c: Likewise.
11413         * string/test-strcasecmp-ifunc.c: Likewise.
11414         * string/test-strcasestr-ifunc.c: Likewise.
11415         * string/test-strcat-ifunc.c: Likewise.
11416         * string/test-strchr-ifunc.c: Likewise.
11417         * string/test-strchrnul-ifunc.c: Likewise.
11418         * string/test-strcmp-ifunc.c: Likewise.
11419         * string/test-strcpy-ifunc.c: Likewise.
11420         * string/test-strcspn-ifunc.c: Likewise.
11421         * string/test-strlen-ifunc.c: Likewise.
11422         * string/test-strncasecmp-ifunc.c: Likewise.
11423         * string/test-strncat-ifunc.c: Likewise.
11424         * string/test-strncmp-ifunc.c: Likewise.
11425         * string/test-strncpy-ifunc.c: Likewise.
11426         * string/test-strnlen-ifunc.c: Likewise.
11427         * string/test-strpbrk-ifunc.c: Likewise.
11428         * string/test-strrchr-ifunc.c: Likewise.
11429         * string/test-strspn-ifunc.c: Likewise.
11430         * string/test-strstr-ifunc.c: Likewise.
11432         * debug/Makefile (tests-ifunc): New variable.
11433         (tests): Add $(tests-ifunc).
11434         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11435         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11436         * debug/test-stpcpy_chk-ifunc.c: New file.
11437         * debug/test-strcpy_chk-ifunc.c: Likewise.
11439 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11441         [BZ #13601]
11442         * elf/dl-load.c (open_verify): Retry read if the entire ELF
11443         header is not read in.
11445 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
11447         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
11448         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
11449         directly.  Pass built executable to script as
11450         $(built-program-cmd).
11451         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
11452         $testprogram without using LD_LIBRARY_PATH and $ldso.
11454         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11455         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11456         $(rtld-installed-name).
11457         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11458         (rtld_installed_name): Likewise.
11459         (library_path): Likewise.
11460         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
11461         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11462         $(run-program-prefix) to tst-tables.sh.
11463         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
11464         it to run tst-table-from and tst-table-to.
11465         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11466         Pass it to tst-table.sh.
11467         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11468         $(run-program-prefix) to tst-gettext.sh.
11469         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11470         tst-translit.sh.
11471         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11472         tst-gettext2.sh.
11473         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
11474         to run tst-gettext.
11475         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
11476         to run tst-gettext2.
11477         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
11478         to run tst-translit.
11479         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11480         $(run-program-prefix) to tst-mtrace.sh.
11481         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
11482         to run tst-mtrace.
11483         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11484         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11485         $(rtld-installed-name).
11486         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11487         (rtld_installed_name): Likewise.
11488         (run_program_prefix): New variable.  Use it to run wordexp-test.
11490         * Makeconfig (ARCH): Remove all definitions.
11491         (machine): Likewise.
11492         [ARCH]: Remove conditional code.
11493         [!objdir]: Give error.
11494         [!objdir] (objpfx): Remove.
11495         [!objdir] (common-objpfx): Likewise.
11496         [!objdir] (common-objdir): Likewise.
11497         * configure.in (config_makefile): Remove.  Hardcode Makefile in
11498         AC_CONFIG_FILES call.
11499         * configure: Regenerated.
11501         [BZ #13888]
11502         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11503         or TMPDIR.
11504         (testout): Likewise.
11506         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11507         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11508         $(rtld-installed-name).
11509         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11510         (rtld_installed_name): Likwise.
11511         (runit): Remove function.
11512         (run_getconf): New variable,  Use it for running getconf binary.
11514 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
11516         [BZ #14716]
11517         * string/test-memmem.c (check_result): New function.
11518         (do_one_test): Use it.
11519         (check1): New function.
11520         (test_main): Use it.
11522 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
11524         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11526 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
11528         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11529         (_G_LSEEK64): Likewise.
11530         (_G_MMAP64): Likewise.
11531         (_G_FSTAT64): Likewise.
11532         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11533         (_G_LSEEK64): Likewise.
11534         (_G_MMAP64): Likewise.
11535         (_G_FSTAT64): Likewise.
11536         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11537         unconditional.  Call __mmap64 directly.
11538         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11539         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
11540         __lseek64 directly.
11541         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11542         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
11543         __mmap64 directly.
11544         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11545         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11546         __lseek64 directly.
11547         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11548         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
11549         __lseek64 directly.
11550         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11551         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
11552         __lseek64 directly.
11553         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11554         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
11555         __fxstat64 directly.
11556         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11557         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11558         unconditional.
11559         (freopen64) [!_G_OPEN64]: Remove conditional code.
11560         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11561         unconditional.
11562         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11563         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11564         unconditional.
11565         (ftello64) [!_G_LSEEK64]: Remove conditional code.
11566         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11567         unconditional.
11568         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11569         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11570         unconditional.
11571         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11572         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11573         unconditional.
11574         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11575         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11576         unconditional.
11577         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11578         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11579         unconditional.
11580         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11582 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11584         [BZ #12140]
11585         * manual/memory.texi (Malloc Tunable Parameters): Add note
11586         about free list pointers overwriting some perturb bytes.
11587         Wording suggested by Roland McGrath.
11589 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
11591         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11592         (lgamma_test): Likewise.
11593         (tgamma_test): Likewise.
11595 2012-10-16  Florian Weimer  <fweimer@redhat.com>
11597         [BZ #14700]
11598         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11599         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11601 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
11603         * NEWS: Mention BZ #14716.
11604         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11605         when removing AVAILABLE1_USES_J macro.
11607 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
11609         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11610         (__bswap_64): __uint64_t for unsigned 64-bit int.
11612 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
11614         * include/string.h (memmem): Declare libc hidden alias.
11615         * string/memmem.c (memmem): Define libc hidden alias.
11616         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11617         __read, __close instead of open, read, close.
11619 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
11621         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11622         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11623         global and hidden.
11624         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11625         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11626         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11627         Likewise.
11628         (__rawmemchr_sse2): Likewise.
11629         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11630         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11631         (__strchr_sse2): Likewise.
11632         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11633         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11634         (__strcasecmp_sse2): Likewise.
11635         (__strncasecmp_sse2): Likewise.
11636         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11637         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11638         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11639         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11640         (__strrchr_sse2): Likewise.
11641         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11642         ifunc-impl-list.c.
11643         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11644         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11645         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11646         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11647         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11648         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11649         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11650         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11651         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11652         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11653         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11654         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11655         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11656         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11657         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11658         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11659         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11660         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11661         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11662         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11663         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11664         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11665         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11666         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11667         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11668         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11669         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11670         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11671         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11672         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11674         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11675         global and hidden.
11676         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11677         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11678         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11679         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11680         Likewise.
11681         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11682         Likewise.
11683         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11684         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11685         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11686         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11687         ifunc-impl-list.c.
11688         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11689         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11690         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11691         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11692         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11693         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11694         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11695         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11696         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11697         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11698         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11699         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11700         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11701         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11702         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11703         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11704         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11705         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11706         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11707         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11708         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11709         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11710         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11711         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11712         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11713         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11714         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11715         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11716         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11717         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11718         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11719         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11720         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11721         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11722         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11723         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11724         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11725         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11726         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11727         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11728         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11730         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11731         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11732         * include/ifunc-impl-list.h: New file.
11733         * misc/ifunc-impl-list.c: Likewise.
11734         * misc/Makefile (routines): Add ifunc-impl-list.
11735         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11736         * string/test-string.h: Include <ifunc-impl-list.h>.
11737         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11738         impl_array): New variables.
11739         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11740         are defined.
11741         (test_init): Call __libc_ifunc_impl_list to initialize
11742         func_list if TEST_IFUNC and TEST_NAME are defined.
11744         * string/Makefile (strop-tests): Add bcopy and bzero.
11745         * string/test-bcopy.c: New file.
11746         * string/test-bzero.c: Likewise.
11747         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11748         defined.
11749         * string/test-memset.c: Support bzero test if TEST_BZERO is
11750         defined.
11751         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11752         __libc_memmove.
11753         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11754         __libc_memset.
11755         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11756         of memset.
11758 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
11760         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11761         * configure: Regenerated.
11763         * Makeconfig (+link-static-before-libc): Don't include
11764         $(link-static-libc).
11766         * libio/libio.h (_IO_pos_t): Remove.
11768 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11770         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
11771         McGrath.
11773 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11775         * crypt/crypt-entry.c: Include fips-private.h.
11776         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11777         * crypt/md5c-test.c (main): Tolerate disabled MD5.
11778         * sysdeps/unix/sysv/linux/fips-private.h: New file.
11779         * sysdeps/generic/fips-private.h: New file, dummy fallback.
11781 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
11783         * crypt/crypt-private.h: Include stdbool.h.
11784         (_ufc_setup_salt_r): Return bool.
11785         * crypt/crypt-entry.c: Include errno.h.
11786         (__crypt_r): Return NULL with EINVAL for bad salt.
11787         * crypt/crypt_util.c (bad_for_salt): New.
11788         (_ufc_setup_salt_r): Check that salt is long enough and within
11789         the specified alphabet.
11790         * crypt/badsalttest.c: New file.
11791         * crypt/Makefile (tests): Add it.
11792         ($(objpfx)badsalttest): New.
11794 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
11796         * NEWS: Add entry for BZ #14602.
11798 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11800         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11801         type-generic.
11802         * math/libm-test.inc: Update comment listing what functions and
11803         macros are tested.
11804         (isgreater_test): New function.
11805         (isgreaterequal_test): Likewise.
11806         (isless_test): Likewise.
11807         (islessequal_test): Likewise.
11808         (islessgreater_test): Likewise.
11809         (isunordered_test): Likewise.
11810         (main): Call the new functions.
11812 2012-10-09  Roland McGrath  <roland@hack.frob.com>
11814         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11815         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11816         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11817         * sysdeps/i386/configure: Regenerated.
11818         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11819         * sysdeps/mach/configure: Regenerated.
11820         * sysdeps/mach/hurd/configure: Regenerated.
11821         * sysdeps/powerpc/configure: Regenerated.
11822         * sysdeps/powerpc/powerpc32/configure: Regenerated.
11823         * sysdeps/powerpc/powerpc64/configure: Regenerated.
11824         * sysdeps/s390/s390-32/configure: Regenerated.
11825         * sysdeps/s390/s390-64/configure: Regenerated.
11826         * sysdeps/sh/configure: Regenerated.
11827         * sysdeps/sparc/configure: Regenerated.
11828         * sysdeps/unix/sysv/linux/configure: Regenerated.
11829         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11830         * sysdeps/x86_64/configure: Regenerated.
11832         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11833         defined.  Don't check if MAP is NULL.
11835 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
11837         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11838         (_G_stat64): Likewise.
11839         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11840         (_G_stat64): Likewise.
11841         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11842         instead of struct _G_stat64.
11843         * libio/fileops.c (mmap_remap_check): Likewise.
11844         (decide_maybe_mmap): Likewise.
11845         (_IO_new_file_seekoff): Likewise.
11846         (_IO_file_stat): Likewise.
11847         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11848         _G_off64_t.
11849         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11850         instead of struct _G_stat64.
11851         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11853 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
11855         [BZ #14602]
11856         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11857         Replace with ...
11858         (CHECK_EOL): New macro.
11859         (two_way_short_needle): Check beginning of haystack for EOL.  Use
11860         CHECK_EOL.
11861         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11862         Replace with CHECK_EOL.
11863         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11864         Replace with CHECK_EOL.
11866 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
11868         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11869         type-generic.
11870         * math/libm-test.inc: Update comment listing what functions and
11871         macros are tested.
11872         (finite_test): New function.
11873         (isinf_test): Likewise.
11874         (isnan_test): Likewise.
11875         (fpclassify_test): Test subnormal input.
11876         (isfinite_test): Likewise.
11877         (isnormal_test): Likewise.
11878         (main): Call the new functions.
11880 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
11882         [BZ #14660]
11883         * Makerules (%.dynsym): Force C locale when running
11884         $(OBJDUMP) --dynamic-syms.
11886 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
11888         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11889         <stdint.h>.
11891 2012-10-06  David S. Miller  <davem@davemloft.net>
11893         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11894         upper 32-bits of the length value in %o2 since we use branch-on-register
11895         tests which consider the entire 64-bit register.
11897 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
11899         * string/test-strstr.c (check2): Add a test for page boundary.
11901 2012-10-05  David S. Miller  <davem@davemloft.net>
11903         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11904         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11905         file.
11906         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11907         sysdep_routines.
11908         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11909         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11910         and bzero when HWCAP_SPARC_CRYPTO is present.
11912 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
11914         [BZ #14602]
11915         * string/test-strstr.c (check2): New function.
11916         (test_main): Call check2.
11918         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11919         and bug-strchr1.
11920         * string/bug-strcasestr1.c (do_test): Moved to ...
11921         * string/test-strcasestr.c (check1): Here.  New function.
11922         (do_one_test): Break out result checking code into ...
11923         (check_result): This.  New function.
11924         (do_one_test): Call check_result.
11925         (test_main): Call check1.
11926         * string/bug-strchr1.c (do_test): Moved to ...
11927         * string/test-strchr.c (check1): Here.  New function.
11928         (do_one_test): Break out result checking code into ...
11929         (check_result): This.  New function.
11930         (do_one_test): Call check_result.
11931         (test_main): Call check1.
11932         * string/bug-strstr1.c (main): Moved to ...
11933         * string/test-strstr.c (check1): Here.  New function.
11934         (do_one_test): Break out result checking code into ...
11935         (check_result): This.  New function.
11936         (do_one_test): Call check_result.
11937         (test_main): Call check1.
11938         * string/bug-strcasestr1.c: Removed.
11939         * string/bug-strchr1.c: Likewise.
11940         * string/bug-strstr1.c: Likewise.
11942         * elf/Makefile (dl-routines): Add hwcaps.
11943         * elf/dl-support.c (_dl_important_hwcaps): Removed.
11944         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11945         (_dl_important_hwcaps): Moved to ...
11946         * elf/dl-hwcaps.c: Here.  New file.
11947         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11949         [BZ #14557]
11950         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11951         if IS_IN_rtld isn't defined.
11953         * elf/dl-support.c (_dl_sysinfo_map): New.
11954         Include "get-dynamic-info.h" and "setup-vdso.h".
11955         (_dl_non_dynamic_init): Call setup_vdso.
11956         * elf/dynamic-link.h: Don't include <assert.h>.
11957         (elf_get_dynamic_info): Moved to ...
11958         * elf/get-dynamic-info.h: Here.  New file.
11959         * elf/dynamic-link.h: Include "get-dynamic-info.h".
11960         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11961         * elf/setup-vdso.h: Here.  New file.
11962         * elf/rtld.c: Include "setup-vdso.h".
11963         (dl_main): Call setup_vdso.
11965 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
11967         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11968         creal in comment listing functions tested.  List finite, isinf,
11969         isnan, isless, islessequal, isgreater, isgreaterequal,
11970         islessgreater, isunordered, lgamma_r and pow10 as functions and
11971         macros not tested.  Mention which functions not tested are aliases
11972         for other functions.  Fix typo.  Note that signs of NaNs are not
11973         tested.
11975         * scripts/config.guess: Update from config.git.
11976         * scripts/config.sub: Likewise.
11978 2012-10-04  Roland McGrath  <roland@hack.frob.com>
11980         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11981         * misc/madvise.c (madvise): Renamed to __madvise.
11982         Make madvise a weak alias.
11983         * include/sys/mman.h: Declare __madvise.
11984         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11985         * sysdeps/unix/syscalls.list
11986         (madvise): Make __madvise the strong name, and madvise a weak alias.
11987         * sysdeps/unix/sysv/linux/syscalls.list
11988         (madvise, mmap): Remove redundant entries.
11989         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11990         * malloc/malloc.c (mtrim): Likewise.
11991         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11993 2012-10-03  Roland McGrath  <roland@hack.frob.com>
11995         * sysdeps/mach/hurd/dl-cache.c: File removed.
11996         * config.h.in (USE_LDCONFIG): New #undef.
11997         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11998         * configure: Regenerated.
11999         * elf/Makefile (dl-routines): Add dl-cache only under
12000         [$(use-ldconfig) = yes].
12001         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12002         cache on [USE_LDCONFIG].
12003         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12004         [USE_LDCONFIG].
12005         * elf/rtld.c (dl_main): Likewise.
12007 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
12009         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12010         _SC_LEVEL4_CACHE_LINESIZE.
12012 2012-10-03  Roland McGrath  <roland@hack.frob.com>
12014         * sysdeps/unix/bsd/confstr.h: File removed.
12016 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
12018         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12019         sys/sdt-config.h.
12021 2012-10-02  Roland McGrath  <roland@hack.frob.com>
12023         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12024         Make 'mapoff' field ElfW(Off) rather than off_t.
12026 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
12028         * nscd/Makefile: Remove nscd-cflags and all its users.
12029         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12030         (CFLAGS-nonlib): Add compiler flags for nscd modules.
12032         [BZ #10631]
12033         * malloc.c (malloc_printerr): Clarify error message.
12035 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
12037         [BZ #14648]
12038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12039         Set bit_FMA_Usable if FMA is supported.
12040         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12041         macro.
12042         (bit_FMA4_Usable): Updated.
12043         (index_FMA_Usable): New macro.
12044         (CPUID_FMA): Likewise
12045         (HAS_FMA): Defined with bit_FMA_Usable.
12047 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12049         * bits/types.h (__swblk_t): Type removed.
12050         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12051         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12052         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12053         (__SWBLK_T_TYPE): Likewise.
12054         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12055         (__SWBLK_T_TYPE): Likewise.
12056         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12057         (__SWBLK_T_TYPE): Likewise.
12058         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12059         (__SWBLK_T_TYPE): Likewise.
12061 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
12062             Honza Horak <hhorak@redhat.com>
12064         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12065         (xdr_mapname): Use YPMAXMAP as maxsize.
12066         (xdr_peername): Use YPMAXPEER as maxsize.
12067         (xdr_keydat): Use YPAXRECORD as maxsize.
12068         (xdr_valdat): Use YPMAXRECORD as maxsize.
12070 2012-10-01  Roland McGrath  <roland@hack.frob.com>
12072         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12074         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12075         * csu/init-first.c: ... here.
12076         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12077         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12078         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12079         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12080         * sysdeps/i386/init-first.c: File removed.
12081         * sysdeps/sh/init-first.c: File removed.
12083 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
12085         [BZ #14645]
12086         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12087         if x * y might underflow to zero and z is zero.
12088         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12089         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12090         * math/libm-test.inc (min_subnorm_value): New variable.
12091         (fma_test): Add more tests.
12092         (fma_test_towardzero): Likewise.
12093         (fma_test_downward): Likewise
12094         (fma_test_upward): Likewise.
12095         (initialize): Set min_subnorm_value.
12097 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
12099         [BZ #14638]
12100         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12101         0 + 0.
12102         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12103         mode for addition resulting in exact zero.
12104         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12105         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12106         exact 0 + 0.
12107         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12108         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12109         * math/libm-test.inc (fma_test): Add more tests.
12110         (fma_test_towardzero): New function.
12111         (fma_test_downward): Likewise.
12112         (fma_test_upward): Likewise.
12113         (main): Call the new functions.
12115 2012-09-28  David S. Miller  <davem@davemloft.net>
12117         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12119 2012-09-28  Roland McGrath  <roland@hack.frob.com>
12121         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12122         instead of SIGALRM.
12124         * sysdeps/gnu/_G_config.h: Moved to ...
12125         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12126         * sysdeps/mach/hurd/_G_config.h: Moved to ...
12127         * sysdeps/generic/_G_config.h: ... here.
12129         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
12131         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12133         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12134         Conditionalize target on [libnss_test1.so-version].
12136         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12138         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12139         (elfobjdir): Move out of conditionals.
12141         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12142         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12143         (__nss_lookup_function): Conditionalize label remove_from_tree on
12144         [!DO_STATIC_NSS || SHARED], matching its only use.
12146 2012-09-28  David S. Miller  <davem@davemloft.net>
12148         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12149         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12150         file.
12151         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12152         sysdep_routines.
12153         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12154         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12155         when HWCAP_SPARC_CRYPTO is present.
12157 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12159         * io/tst-mknodat.c: Create a FIFO instead of a socket.
12161 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
12163         [BZ #6530]
12164         * stdio-common/vfprintf.c (process_string_arg): Revert
12165         2000-07-22 change.
12167 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
12169         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12170         for testcase.
12171         * stdio-common/tst-sprintf.c: Include <locale.h>
12172         (main): Test sprintf's handling of incomplete multibyte
12173         characters.
12175 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
12177         * elf/dl-runtime.c (VERSYMIDX): Removed.
12178         * elf/dl-version.c (VERSYMIDX): Likewise.
12179         * elf/do-rel.h (VERSYMIDX): Likewise.
12180         (VALIDX): Likewise.
12181         * elf/dynamic-link.h (VERSYMIDX): Likewise.
12182         * elf/rtld.c (VALIDX): Likewise.
12183         (ADDRIDX): Likewise.
12184         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12185         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12186         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12187         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12188         (VALIDX): Likewise.
12189         (ADDRIDX): Likewise.
12191 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12193         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12195 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
12197         [BZ #11438]
12198         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12199         to global scope.
12200         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12201         addresses are in the same scope as 192.0.2/24.
12202         * posix/gai.conf: Document new scope table defaults.
12204 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12206         [BZ #5298]
12207         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12208         for ftell.  Compute offsets from write pointers instead.
12209         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12211 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12213         [BZ #14543]
12214         * libio/Makefile (tests): New test case tst-fseek.
12215         * libio/tst-fseek.c: New test case to verify that fseek/ftell
12216         combination works in wide mode.
12217         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12218         state when the external buffer state changes.
12220 2012-09-27  David S. Miller  <davem@davemloft.net>
12222         [BZ #14376]
12223         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12224         pass reloc->r_addend in as the 'high' argument to
12225         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12229 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
12231         * rt/tst-aio2.c: Include <pthread.h>.
12232         * rt/tst-aio3.c: Likewise.
12234 2012-09-27  Steve Ellcey  <sellcey@mips.com>
12236         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12238 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
12240         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12241         contents on [SHARED].
12243 2012-09-26  Marek Polacek  <polacek@redhat.com>
12245         [BZ #14530]
12246         [BZ #13741]
12247         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12248         for C++ and GCC <4.3 as well as for non GCC compilers.
12250 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
12252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12254 2012-09-25  Roland McGrath  <roland@hack.frob.com>
12256         * Makefile.in (all, install): Declare with .PHONY.
12257         Reported by Michael Hope <michael.hope@linaro.org>.
12259 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12261         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12262         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12263         system header.
12264         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12265         Likewise.
12266         (sydep_routines): Add the new and the internal functions.
12267         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12268         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12270         (GLIBC_2.17): Add the new function.
12271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12272         (GLIBC_2.17): Likewise.
12273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12274         (GLIBC_2.17): Likewise.
12275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12276         (GLIBC_2.17): Likewise.
12277         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12279 2012-09-25  Alan Modra  <amodra@gmail.com>
12281         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12282         Add release barrier before setting once_control to say
12283         initialisation is done.  Add hints on lwarx.  Use macro in
12284         place of isync.
12285         (clear_once_control): Add release barrier.
12287 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12289         [BZ #13629]
12290         * math/s_clog.c (__clog): Handle more values close to |z| = 1
12291         specially.
12292         * math/s_clog10.c (__clog10): Likewise.
12293         * math/s_clog10f.c (__clog10f): Likewise.
12294         * math/s_clog10l.c (__clog10l): Likewise.
12295         * math/s_clogf.c (__clogf): Likewise.
12296         * math/s_clogl.c (__clogl): Likewise.
12297         * math/Makefile (libm-calls): Add x2y2m1.
12298         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12299         (__x2y2m1): Likewise.
12300         (__x2y2m1l): Likewise.
12301         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12302         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12303         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12304         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12305         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12306         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12307         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12308         * sysdeps/i386/fpu/libm-test-ulps: Update.
12309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12311         [BZ #14621]
12312         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12313         int as type of variable DEPTH.
12314         (glob): Use size_t instead of int as type of variables NEWCOUNT
12315         and OLD_PATHC.
12317 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12319         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12320         Add s_sincosf-sse2.
12321         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12322         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12323         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12324         macros for using routine as __sincosf_ia32.
12325         Use macro for function declaration and weak_alias.
12326         * sysdeps/i386/fpu/libm-test-ulps: Update.
12328         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12331         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12332         subnormal argument.
12333         * math/s_cexpf.c (__cexpf): Likewise.
12334         * math/s_csinf.c (__csinf): Likewise.
12335         * math/s_csinhf.c (__csinhf): Likewise.
12336         * math/s_ctanf.c (__ctanf): Likewise.
12337         * math/s_ctanhf.c (__ctanhf): Likewise.
12338         * math/s_ccosh.c (__ccoshf): Likewise.
12339         * math/s_cexp.c (__cexpl): Likewise.
12340         * math/s_csin.c (__csin): Likewise.
12341         * math/s_csinh.c (__csinh): Likewise.
12342         * math/s_ctan.c (__ctan): Likewise.
12343         * math/s_ctanh.c (ctanh): Likewise.
12344         * math/s_ccoshl.c (__ccoshl): Likewise.
12345         * math/s_cexpl.c (__cexpl): Likewise.
12346         * math/s_csinl.c (__csinl): Likewise.
12347         * math/s_csinhl.c (__csinhl): Likewise.
12348         * math/s_ctanl.c (__ctanl): Likewise.
12349         * math/s_ctanhl.c (__ctanhl): Likewise.
12351 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
12353         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12354         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12355         (_IO_off_t): Define to __off_t, not _G_off_t.
12356         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12357         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12358         (_IO_wint_t): Define to wint_t, not _G_wint_t.
12359         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12360         type of __dummy and __dummy2 fields.
12361         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12362         (_G_ssize_t): Likewise.
12363         (_G_off_t): Likewise.
12364         (_G_pid_t): Likewise.
12365         (_G_uid_t): Likewise.
12366         (_G_wchar_t): Likewise.
12367         (_G_wint_t): Likewise.
12368         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12369         (_G_ssize_t): Likewise.
12370         (_G_off_t): Likewise.
12371         (_G_pid_t): Likewise.
12372         (_G_uid_t): Likewise.
12373         (_G_wchar_t): Likewise.
12374         (_G_wint_t): Likewise.
12375         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12376         (_G_ssize_t): Likewise.
12377         (_G_off_t): Likewise.
12378         (_G_pid_t): Likewise.
12379         (_G_uid_t): Likewise.
12380         (_G_wchar_t): Likewise.
12381         (_G_wint_t): Likewise.
12383 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12385         * malloc/arena.c: Include malloc-sysdep.h.
12386         (shrink_heap): Use check_may_shrink_heap to decide if madvise
12387         is sufficient to shrink the heap or an unmap is needed.
12388         * sysdeps/generic/malloc-sysdep.h: New file.  Define
12389         new function check_may_shrink_heap.
12390         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
12391         new function check_may_shrink_heap.
12393 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12395         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12396         comments.
12398 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
12400         * catgets/test-gencat.sh: Add "set -e".
12401         * elf/tst-pathopt.sh: Likewise.
12402         * grp/tst_fgetgrent.sh: Likewise.
12403         * iconvdata/run-iconv-test.sh: Likewise.
12404         * intl/tst-gettext.sh: Likewise.
12405         * intl/tst-gettext2.sh: Likewise.
12406         * intl/tst-gettext4.sh: Likewise.
12407         * intl/tst-gettext6.sh: Likewise.
12408         * intl/tst-translit.sh: Likewise.
12409         * io/ftwtest-sh: Likewise.
12410         * libio/test-freopen.sh: Likewise.
12411         * malloc/tst-mtrace.sh: Likewise.
12412         * posix/globtest.sh: Likewise.
12413         * posix/tst-getconf.sh: Likewise.
12414         * posix/wordexp-tst.sh: Likewise.
12415         * stdio-common/tst-printf.sh: Likewise.
12416         * stdio-common/tst-unbputc.sh: Likewise.
12417         * stdlib/tst-fmtmsg.sh: Likewise.
12418         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12419         * catgets/Makefile: Do not specify -e option when running
12420         testsuite shell scripts.
12421         * elf/Makefile: Likewise.
12422         * grp/Makefile: Likewise.
12423         * iconvdata/Makefile: Likewise.
12424         * intl/Makefile: Likewise.
12425         * io/Makefile: Likewise.
12426         * libio/Makefile: Likewise.
12427         * malloc/Makefile: Likewise.
12428         * posix/Makefile: Likewise.
12429         * stdio-common/Makefile: Likewise.
12430         * stdlib/Makefile: Likewise.
12431         * sysdeps/x86_64/Makefile: Likewise.
12433         * io/ftwtest-sh: Add copyright header.
12434         * posix/globtest.sh: Likewise.
12435         * posix/tst-getconf.sh: Likewise.
12436         * posix/wordexp-tst.sh: Likewise.
12437         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12439 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
12441         [BZ #13679]
12442         * Makeconfig (+link): Defined as $(+link-static) if
12443         $(build-shared) isn't yes.
12444         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12445         isn't yes.
12446         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12448         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12450         [BZ #14562]
12451         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12452         new chunk size with MALLOC_ALIGN_MASK.
12454 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
12456         [BZ #5044]
12457         * stdio-common/printf_fphex.c: Include <stdbool.h> and
12458         <rounding-mode.h>.
12459         (__printf_fphex): Determine rounding using get_rounding_mode and
12460         round_away.
12461         * stdio-common/tst-printf-round.c (struct hex_test): New
12462         structure.
12463         (hex_tests): New variable.
12464         (test_hex_in_one_mode): New function.
12465         (do_test): Also run tests for hex float output.
12467 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
12469         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12470         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12471         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12472         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12473         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12474         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12475         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12476         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12478 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
12480         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12481         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12482         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12483         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12485 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
12487         [BZ #14579]
12488         * elf/rtld.c (dl_main): Limit the check for self loading to normal
12489         mode only.
12490         * elf/tst-rtld-load-self.sh: New test.
12491         * elf/Makefile: Run it.
12493 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
12495         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12496         (tst-writev-ENV): Remove.
12497         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12499 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
12501         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12503 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
12505         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12506         unconditional.
12507         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12508         Likewise.
12509         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12510         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12511         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12512         Likewise.
12514 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
12516         [BZ #14587]
12517         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12518         * config.make.in (have-cpp-asm-debuginfo): Removed.
12519         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12520         * configure: Regenerated.
12522 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
12524         [BZ #5044]
12525         * stdio-common/printf_fp.c: Include <stdbool.h> and
12526         <rounding-mode.h>.
12527         (___printf_fp): Determine rounding using get_rounding_mode and
12528         round_away.
12529         * stdio-common/tst-printf-round.c: New file.
12530         * stdio-common/Makefile (tests): Add tst-printf-round.
12531         (link-libm): New variable.
12532         ($(objpfx)tst-printf-round): Depend in $(link-libm).
12534 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
12536         [BZ #14576]
12537         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12538         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12539         Likewise.
12540         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12541         Likewise.
12543 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
12545         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12546         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12547         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12548         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12550 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
12552         [BZ #14518]
12553         * include/rounding-mode.h: New file.
12554         * sysdeps/generic/get-rounding-mode.h: Likewise.
12555         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12556         * stdlib/strtod_l.c: Include <rounding-mode.h>.
12557         (MAX_VALUE): New macro.
12558         (MIN_VALUE): Likewise.
12559         (overflow_value): New function.
12560         (underflow_value): Likewise.
12561         (round_and_return): Use overflow_value and underflow_value to
12562         determine return values in overflow and underflow cases.  Use
12563         round_away to determine rounding depending on rounding mode.
12564         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12565         determine return values in overflow and underflow cases.
12566         * stdlib/tst-strtod-round.c: Include <fenv.h>.
12567         (struct test_results): New structure.
12568         (struct test): Use struct test_results to store expected results
12569         for all rounding modes.
12570         (TEST): Include expected results for all rounding modes.
12571         (test_in_one_mode): New function.
12572         (do_test): Use test_in_one_mode to compute and check results.
12573         Check results for all rounding modes.
12574         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12575         $(link-libm).
12577 2012-12-09  Allan McRae  <allan@archlinux.org>
12579         * sysdeps/i386/fpu/libm-test-ulps: Update
12581 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
12583         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12584         (_G_int32_t): Likewise.
12585         (_G_uint16_t): Likewise.
12586         (_G_uint32_t): Likewise.
12587         (_G_HAVE_BOOL): Likewise.
12588         (_G_HAVE_ATEXIT): Likewise.
12589         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12590         (_G_HAVE_IO_FILE_OPEN): Likewise.
12591         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12592         (_G_int32_t): Likewise.
12593         (_G_uint16_t): Likewise.
12594         (_G_uint32_t): Likewise.
12595         (_G_HAVE_BOOL): Likewise.
12596         (_G_HAVE_ATEXIT): Likewise.
12597         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12598         (_G_HAVE_IO_FILE_OPEN): Likewise.
12599         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12600         (_G_int32_t): Likewise.
12601         (_G_uint16_t): Likewise.
12602         (_G_uint32_t): Likewise.
12603         (_G_HAVE_BOOL): Likewise.
12604         (_G_HAVE_ATEXIT): Likewise.
12605         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12606         (_G_HAVE_IO_FILE_OPEN): Likewise.
12608 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
12610         * csu/libc-tls.c: Update copyright years.
12612 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
12614         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12615         [!_G_USING_THUNKS]: Remove conditional code.
12616         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12617         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12619         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12620         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12621         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12622         (_G_VTABLE_LABEL_PREFIX): Likewise.
12623         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12624         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12625         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12626         (_G_VTABLE_LABEL_PREFIX): Likewise.
12627         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12628         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12629         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12630         (_G_VTABLE_LABEL_PREFIX): Likewise.
12631         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12633 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
12635         * libio/Makefile: Include ../Makeconfig before tests.
12636         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12637         only if $(build-shared) is yes.
12639         * iconv/gconv_db.c: Update copyright years.
12641 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12643         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12644         unwind info if defined PIC. Fix special cases description.
12645         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12647         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12648         DP_HI_MASK entry.
12649         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12651 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
12653         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12655         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12656         is NULL.
12658         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12659         (LDLIBS-tst-chk4): This.
12660         (LDFLAGS-tst-chk5): Renamed to ...
12661         (LDLIBS-tst-chk5): This.
12662         (LDFLAGS-tst-chk6): Renamed to ...
12663         (LDLIBS-tst-chk6): This.
12664         (LDFLAGS-tst-lfschk4): Renamed to ...
12665         (LDLIBS-tst-lfschk4): This.
12666         (LDFLAGS-tst-lfschk5): Renamed to ...
12667         (LDLIBS-tst-lfschk5): This.
12668         (LDFLAGS-tst-lfschk6): Renamed to ...
12669         (LDLIBS-tst-lfschk6): This.
12671         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12672         on $(common-objpfx)soversions.mk.
12674 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
12676         [BZ #10014]
12677         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12678         example host name.
12680 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12682         * malloc/arena.c (arena_get_retry): New function that gets
12683         another arena for the caller to try its request on.
12684         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12685         current arena cannot fulfill the request.
12686         (__libc_memalign): Likewise.
12687         (__libc_memalign): Likewise.
12688         (__libc_pvalloc): Likewise.
12689         (__libc_calloc): Likewise.
12691 2012-09-05  John Tobey  <john.tobey@gmail.com>
12693         [BZ #13542]
12694         * manual/arith.texi (Operations on Complex): Fix description
12695         of carg branch cut.
12697 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12699         [BZ #10014]
12700         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12701         host name.
12703         [BZ #10038]
12704         * manual/memory.texi (Memory): Make order of menu items match
12705         order of sections.
12707 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12709         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12710         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
12711         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12713 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12715         * csu/libc-tls.c (static_dtv): Renamed to ...
12716         (_dl_static_dtv): This.  Make it global.
12717         (_dl_initial_dtv): Removed.
12718         (__libc_setup_tls): Updated.
12719         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12720         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12721         DL_INITIAL_DTV.
12723 2012-09-06  Petr Machata  <pmachata@redhat.com>
12725         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12726         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12727         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12728         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12730 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12732         [BZ #14545]
12733         * csu/libc-tls.c (_dl_initial_dtv): New variable.
12734         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12735         freeing dtv[-1].
12737 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
12739         [BZ #14544]
12740         * Makeconfig (link-static-before-libc): Replace $(+prector)
12741         with $(+prectorT).
12742         (link-static-after-libc): Replace $(+postctor) with
12743         $(+postctorT).
12744         (link-bounded): Replace $(+prector)/$(+postctor) with
12745         $(+prectorT)/$(+postctorT).
12746         (+prectorT): New macro.
12747         (+postctorT): Likewise.
12749 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
12751         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12752         (round_str): Handle values above the maximum for IBM long double
12753         as inexact.
12754         * stdlib/tst-strtod-round.c (tests): Regenerated.
12756 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12758         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12759         assembler flag.
12760         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12761         zarch_nohighgprs around the zarch optimized routines.
12762         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12763         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12764         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12765         for zarch.
12767 2012-09-05  David S. Miller  <davem@davemloft.net>
12769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12771         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12772         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12773         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12774         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12775         entries.
12777 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12779         * malloc/arena.c: Fold copyright years.
12780         * malloc/mcheck.c, malloc/memusage.c: Likewise.
12782 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12784         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12786 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12788         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
12790 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12792         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12793         change internal state upon failure.
12795 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
12797         * malloc/mcheck.c (mcheck_check_all): Fix typo.
12798         * malloc/memusage.c (mmap): Likewise.
12799         (mmap64, mremap): Likewise.  Adjust name in comment.
12801 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12803         * libio/fileops.c: Fix typos in comments.
12804         * libio/oldfileops.c: Likewise.
12805         * libio/wfileops.c: Likewise.
12807 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12809         [BZ #1349]
12810         * malloc/Makefile (tests): Add tst-malloc-usable test case.
12811         (tst-malloc-usable-ENV): Set environment for test case.
12812         * malloc/hooks.c (malloc_check_get_size): New function to get
12813         requested size.
12814         * malloc/malloc.c (musable): Use malloc_check_get_size.
12815         * malloc/tst-malloc-usable.c: New test case.
12817 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12819         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12821 2012-09-05  Allan McRae  <allan@archlinux.org>
12823         [BZ #13966]
12824         * configure.in (CXX_SYSINCLUDES): Use compiler output to
12825         determine header location.
12826         * configure: Regenerated.
12828 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
12830         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12831         float format.
12832         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12833         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12834         format.
12835         (test): Regenerate.
12837 2012-09-04  David S. Miller  <davem@davemloft.net>
12839         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12840         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12841         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12843 2012-09-04  Florian Weimer  <fweimer@redhat.com>
12845         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12846         failures.
12848         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12850 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
12852         [BZ #9914]
12853         * libio/iogetdelim.c: Include <limits.h>.
12854         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12855         + len + 1 would overflow.
12857 2012-09-03  Andreas Jaeger  <aj@suse.de>
12859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12860         * sysdeps/i386/fpu/libm-test-ulps: Update.
12862 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
12864         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12865         Add s_sinf-sse2, s_conf-sse2.
12867         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12868         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12869         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12870         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12872         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12873         for using routine as __sinf_ia32.
12874         Use macro for function declaration and weak_alias.
12875         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12876         for using routine as __cosf_ia32.
12877         Use macro for function declaration and weak_alias.
12879         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12880         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12882         * sysdeps/x86_64/fpu/s_sinf.S: New file.
12883         * sysdeps/x86_64/fpu/s_cosf.S: New file.
12884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12886         * math/libm-test.inc (cos_test): Add more test cases.
12887         (sin_test): Likewise.
12888         (sincos_test): Likewise.
12890 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12892         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12893         (IFUNC_RESOLVE): Make pointers to the specialized implementations
12894         hidden.
12895         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12897 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
12899         [BZ #14538]
12900         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12901         first element of the GOT.
12902         (elf_machine_load_address): Return the difference between
12903         the runtime address of _DYNAMIC and elf_machine_dynamic ().
12905 2012-09-01  Allan McRae  <allan@archlinux.org>
12907         [BZ #13412]
12908         * configure.in (AWK): Require gawk version 3.0 or later.
12909         * configure: Regenerated.
12911 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
12913         * sysdeps/unix/sysv/linux/kernel-features.h
12914         (__ASSUME_POSIX_CPU_TIMERS): Remove.
12915         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12916         [__NR_clock_getres]: Make code unconditional.
12917         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12918         (clock_getcpuclockid): Remove code left unreachable by removal of
12919         conditionals.
12920         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12921         code unconditional.
12922         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12923         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12924         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12925         Make code unconditional.
12926         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12927         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12928         * sysdeps/unix/sysv/linux/clock_settime.c
12929         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12930         conditional code.
12931         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12932         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12934 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
12936         [BZ #14476]
12937         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12938         scripts/test-installation.pl.
12940         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12941         and $ld_so_version if it is set.
12943 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12945         [BZ #14516]
12946         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12947         failure if reading from procfs failed.
12948         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12950 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12952         * sysdeps/unix/sysv/linux/kernel-features.h
12953         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12954         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12955         Remove conditional code.
12956         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12957         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12958         Remove conditional code.
12959         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12960         * sysdeps/unix/sysv/linux/i386/fxstat.c
12961         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12962         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12963         * sysdeps/unix/sysv/linux/i386/fxstatat.c
12964         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12965         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12966         * sysdeps/unix/sysv/linux/i386/lxstat.c
12967         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12968         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12969         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12970         Remove conditional code.
12971         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12972         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12973         Remove conditional code.
12974         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12975         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12976         <kernel-features.h>.
12977         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12978         Remove.
12979         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12980         Remove conditional code.
12981         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12982         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12983         Remove conditional.
12985 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
12987         [BZ #5400]
12988         * NEWS: Add fixed bug number.
12990 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
12992         [BZ #14519]
12993         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12994         underflowing exponent in case of negative sign.
12995         * stdlib/tst-strtod-round-data: Add more tests.
12996         * stdlib/tst-strtod-round.c (tests): Regenerated.
12998         [BZ #3479]
12999         * stdlib/strtod_l.c (NDIG): Remove.
13000         (HEXNDIG): Likewise.
13001         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13002         smallest representable value.
13003         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13004         lie within an exact representation of 1/2 ulp of the result.
13005         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13006         unconditionally.
13007         (TENS_P9_IDX): Define unconditionally.
13008         (TENS_P9_SIZE): Likewise.
13009         (TENS_P10_IDX): Likewise.
13010         (TENS_P10_SIZE): Likewise.
13011         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13012         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13013         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13014         entries for 10^2^13 and 10^2^14.
13015         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13016         (TENS_P13_IDX): Define.
13017         (TENS_P13_SIZE): Likewise.
13018         (TENS_P14_IDX): Likewise.
13019         (TENS_P14_SIZE): Likewise.
13020         (_fpioconst_pow10): Change array size to
13021         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
13022         unconditional.
13023         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13024         1024]: Add entries for 10^2^13 and 10^2^14.
13025         [LAST_POW10 > _LAST_POW10]: Remove #error.
13026         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13027         (_fpioconst_pow10): Change array size to
13028         FPIOCONST_POW10_ARRAY_SIZE.
13029         * stdlib/gen-fpioconst.c: New file.
13030         * stdlib/gen-tst-strtod-round.c: Likewise.
13031         * stdlib/tst-strtod-round-data: Likewise.
13032         * stdlib/tst-strtod-round.c: Likewise.
13033         * stdlib/Makefile (tests): Add tst-strtod-round.
13035         [BZ #14459]
13036         * stdlib/strtod_l.c: Include <stdint.h>.
13037         (NDEBUG): Do not define.
13038         (round_and_return): Change EXPONENT parameter to type intmax_t.
13039         Rearrange calculations to avoid internal overflow possibilities.
13040         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13041         Rearrange calculations to avoid internal overflow possibilities.
13042         Assert that number fits inside MPNSIZE limbs.
13043         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13044         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
13045         calculations and add assertions to avoid internal overflow
13046         possibilities.  Add casts to avoid signed/unsigned operations.
13047         * stdlib/tst-strtod-overflow.c: New file.
13048         * stdlib/Makefile (tests): Add tst-strtod-overflow.
13050 2012-08-25  Marek Polacek  <polacek@redhat.com>
13052         * time/time.h: Fix some typos in comments.
13054 2012-08-23  Roland McGrath  <roland@hack.frob.com>
13056         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13057         * posix/tst-rfc3484-2.c: Likewise.
13058         * posix/tst-rfc3484-3.c: Likewise.
13060 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
13062         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13063         (EF_ARM_ABI_FLOAT_HARD): Likewise.
13065 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
13067         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13068         #include of fxstatat64.c.
13070 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13072         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13073         * shadow/getspent_r.c: Likewise.
13074         * shadow/getspnam.c: Likewise.
13075         * shadow/getspnam_r.c: Likewise.
13076         * gshadow/getsgent.c: Likewise.
13077         * gshadow/getsgent_r.c: Likewise.
13078         * gshadow/getsgnam.c: Likewise.
13079         * gshadow/getsgnam_r.c: Likewise.
13080         * inet/getnetbyad.c: Likewise.
13081         * inet/getnetbyad_r.c: Likewise.
13082         * inet/getnetbynm.c: Likewise.
13083         * inet/getnetbynm_r.c: Likewise.
13084         * inet/getnetent.c: Likewise.
13085         * inet/getnetent_r.c: Likewise.
13086         * inet/getproto.c: Likewise.
13087         * inet/getproto_r.c: Likewise.
13088         * inet/getprtent.c: Likewise.
13089         * inet/getprtent_r.c: Likewise.
13090         * inet/getprtname.c: Likewise.
13091         * inet/getprtname_r.c: Likewise.
13092         * inet/getrpcbyname.c: Likewise.
13093         * inet/getrpcbyname_r.c: Likewise.
13094         * inet/getrpcbynumber.c: Likewise.
13095         * inet/getrpcbynumber_r.c: Likewise.
13096         * inet/getrpcent.c: Likewise.
13097         * inet/getrpcent_r.c: Likewise.
13098         * inet/getaliasent.c: Likewise.
13099         * inet/getaliasent_r.c: Likewise.
13100         * inet/getaliasname.c: Likewise.
13101         * inet/getaliasname_r.c: Likewise.
13102         * nscd/getgrgid_r.c: Likewise.
13103         * nscd/getgrnam_r.c: Likewise.
13104         * nscd/gethstbyad_r.c: Likewise.
13105         * nscd/gethstbynm3_r.c: Likewise.
13106         * nscd/getpwnam_r.c: Likewise.
13107         * nscd/getpwuid_r.c: Likewise.
13108         * nscd/getsrvbynm_r.c: Likewise.
13109         * nscd/getsrvbypt_r.c: Likewise.
13110         * nscd/gai.c: Likewise.
13112         * configure.in (build_nscd): New substituted variable, set
13113         by --disable-build-nscd and defaults to $use_nscd.
13114         * configure: Regenerated.
13115         * config.make.in (build-nscd): New substituted variable.
13116         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13117         Change conditional to require [$(build-nscd) = yes] as well.
13118         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13120         [BZ# 13696]
13121         * configure.in (use_nscd): New substituted variable, set by
13122         --disable-nscd.  If enabled, define USE_NSCD.
13123         * configure: Regenerated.
13124         * config.h.in: Add USE_NSCD.
13125         * config.make.in (use-nscd): New substituted variable.
13126         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13127         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13128         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13129         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13130         (CFLAGS-getgrnam_r.c): Likewise.
13131         (CFLAGS-initgroups.c): Likewise.
13132         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13133         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13134         Variables removed.
13135         * inet/getnetgrent_r.c
13136         (nscd_setnetgrent): New function, broken out of ...
13137         (setnetgrent): ... here.  Call it.
13138         (innetgr): Conditionalize nscd bits on [USE_NSCD].
13139         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13140         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13141         * nscd/Makefile (routines, aux): Move definitions after include of
13142         Makeconfig.  Conditionalize on [$(use-nscd) != no].
13143         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13144         Conditionalize on [USE_NSCD].
13145         (is_nscd, nscd_init_cb): Likewise.
13146         (nss_load_library): Conditionalize init callback on [USE_NSCD].
13147         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13148         * nss/nss_db/db-init.c: Likewise.
13149         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13150         [USE_NSCD].
13151         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13152         (make_request): Use it.
13153         (cache_valid_p): New function.
13154         (__check_pf): Use it.
13155         * NEWS: Add item for --disable-nscd.
13157 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
13159         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13160         to support sed >= 4.2.1-20-ga9bf076.
13161         * configure: Regenerated.
13163 2012-08-22  Roland McGrath  <roland@hack.frob.com>
13165         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13166         Conditionalize whole body on [IREL].
13168 2012-08-22  Jeff Law <law@redhat.com>
13170         [BZ #14505]
13171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13172         if the family is PF_UNSPEC.
13174 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
13176         * Makerules (lib-version): Rename from V.
13177         (install-lib-nosubdir): Change V to lib-version.
13179 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
13181         [BZ #14252]
13182         * powerpc32/power6/wcschr.c: New file.
13183         * powerpc32/power6/wcscpy.c: New file.
13184         * powerpc32/power6/wcsrchr.c: New file.
13185         * powerpc64/power6/wcschr.c: New file.
13186         * powerpc64/power6/wcscpy.c: New file.
13187         * powerpc64/power6/wcsrchr.c: New file.
13189 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13191         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13192         (two_way_short_needle): Use it.
13193         * string/strstr.c (AVAILABLE1_USES_J): Define.
13194         * string/strcasestr.c: Likewise.
13196         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13197         array references.
13198         * string/strcasestr.c (TOLOWER): Make side-effect safe.
13200         [BZ #11607]
13201         * NEWS: Add an entry.
13202         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13203         define their defaults.
13204         (two_way_short_needle): Detect end-of-string on-the-fly.
13205         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13206         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13207         * string/bug-strcasestr1.c: New test.
13208         * string/Makefile: Run it.
13210 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
13212         [BZ #11607]
13213         * string/str-two-way.h (two_way_short_needle): Optimize matching of
13214         the first character.
13216 2012-08-21  Roland McGrath  <roland@hack.frob.com>
13218         * csu/elf-init.c (__libc_csu_irel): Function removed.
13219         * csu/libc-start.c (apply_irel): New function.
13220         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13222 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
13224         * sysdeps/unix/sysv/linux/kernel-features.h
13225         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13226         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13227         <kernel-features.h>.
13228         [__NR_fadvise64_64]: Make code unconditional.
13229         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13230         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13231         !__NR_fadvise64_64)]: Likewise.
13232         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13233         !__NR_fadvise64_64))]: Likewise.
13234         [__NR_fadvise64]: Make code unconditional.
13235         [!__NR_fadvise64]: Remove conditional code.
13236         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13237         <kernel-features.h>.
13238         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13239         unconditional.
13240         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13241         conditional code.
13242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13243         not include <kernel-features.h>.
13244         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13245         unconditional.
13246         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13247         conditional code.
13248         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13249         include <kernel-features.h>.
13250         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13251         unconditional.
13252         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13253         conditional code.
13255 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
13257         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13258         slight instruction rearrangements per scrollpipe analysis.
13259         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13261 2012-08-20  Roland McGrath  <roland@hack.frob.com>
13263         * manual/syslog.texi (syslog; vsyslog, closelog):
13264         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13265         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13267         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13268         DSOCAPS to match condition on defining it.
13270 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
13272         * sysdeps/unix/sysv/linux/kernel-features.h
13273         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13275         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13276         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13278         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13279         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13281         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13282         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13284         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13285         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13287         * sysdeps/unix/sysv/linux/kernel-features.h
13288         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13289         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13290         unconditional.
13291         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13292         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13293         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13294         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13295         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13296         Make code unconditional.
13297         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13298         (__mmap64) [!__NR_mmap2]: Likewise.
13299         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13300         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13301         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13302         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13303         [__NR_mmap2]: Make code unconditional.
13304         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13305         (__mmap64) [!__NR_mmap2]: Likewise.
13307 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13309         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13311 2012-08-18  Andreas Jaeger  <aj@suse.de>
13313         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13315 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13317         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13318         * include/unistd.h (__have_sock_cloexec): Likewise.
13319         (__have_pipe2): Likewise.
13320         (__have_dup3): Likewise.
13322 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
13324         [BZ #9685]
13325         * include/unistd.h (__have_pipe2): Change define into an extern int.
13326         (__have_dup3): Likewise.
13327         * socket/have_sock_cloexec.c: Include fcntl.h.
13328         (__have_pipe2): New variable.
13329         (__have_dup3): Likewise.
13331 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
13333         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13335 2012-08-17  Marek Polacek  <polacek@redhat.com>
13337         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13338         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13340 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13342         * configure.in: Add AC_SUBST for sysheaders.
13343         * configure: Regenerated.
13344         * config.make.in (sysheaders): New substituted variable.
13346         * sysdeps/unix/mkfifo.c: Moved ...
13347         * sysdeps/posix/mkfifo.c: ... here.
13348         * sysdeps/unix/mkfifoat.c: Moved ...
13349         * sysdeps/posix/mkfifoat.c: ... here.
13351         * sysdeps/unix/utime.c: Moved ...
13352         * sysdeps/posix/utime.c: ... here.
13354         * sysdeps/unix/time.c: Moved ...
13355         * sysdeps/posix/time.c: ... here.
13356         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13357         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13359         * sysdeps/unix/nice.c: Moved ...
13360         * sysdeps/posix/nice.c: ... here.
13362         * sysdeps/unix/alarm.c: Moved ...
13363         * sysdeps/posix/alarm.c: ... here.
13365         * intl/Makefile ($(codeset_mo)): Depend on the input file.
13367 2012-08-17  Jeff Law <law@redhat.com>
13369         * intl/Makefile (codeset_mo): New variable.
13370         ($(codeset_mo)): New target.
13371         (tst-codeset.out): Depend on that.  Remove explicit rule.
13372         (tst-gettext3.out, tst-gettext5.out): Likewise.
13373         (LOCPATH-ENV, tst-codeset-ENV): New variables.
13374         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13375         * intl/tst-codeset.sh: Remove.
13376         * intl/tst-gettext3.sh: Likewise.
13377         * intl/tst-gettext5.sh: Likewise.
13379 2012-08-17  Roland McGrath  <roland@hack.frob.com>
13381         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
13382         * sysdeps/unix/syscalls.list: ... here.
13384         * sysdeps/posix/getaddrinfo.c
13385         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13386         (gaiconf_init, gaiconf_reload): Use them.
13387         [!_STATBUF_ST_NSEC]
13388         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13389         Define using time_t rather than struct timespec.
13391         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13392         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13393         Macros removed.
13394         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13395         [!NO_THREADS].
13396         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13397         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13398         Likewise.
13400         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13401         __libc_cleanup_push argument.
13403         * bits/param.h: New file.
13404         * misc/sys/param.h: New file.
13405         * include/sys/param.h: New file.
13406         * misc/Makefile (headers): Add bits/param.h.
13407         * sysdeps/generic/sys/param.h: File removed.
13408         * sysdeps/unix/sysv/linux/bits/param.h: New file.
13409         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13410         * sysdeps/mach/hurd/bits/param.h: New file.
13411         * sysdeps/mach/hurd/sys/param.h: File removed.
13413         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13414         last change.
13416         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13417         [_IO_MTSAFE_IO].
13418         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13419         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13420         New macros.
13422         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13423         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13424         rather than -D_IO_MTSAFE_IO conditionally.
13425         * stdio-common/Makefile (CPPFLAGS): Likewise.
13426         * wcsmbs/Makefile (CPPFLAGS): Likewise.
13427         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13428         Use $(libio-mtsafe).
13429         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13430         of -D_IO_MTSAFE_IO.
13431         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13432         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13433         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13434         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13435         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13436         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13437         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13438         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13439         (CFLAGS-fread_u_chk.c): Likewise.
13440         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13441         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13442         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13443         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13444         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13445         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13446         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13447         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13448         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13450         * libio/Makefile: Test [$(libc-reentrant) = yes]
13451         instead of [$(filter %REENTRANT, $(defines)) nonempty].
13453         * Makeconfig
13454         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13455         * sysdeps/pthread/configure: File removed.
13456         * sysdeps/pthread/Makeconfig: New file.
13457         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13458         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13460 2012-08-16  Gary Benson  <gbenson@redhat.com>
13462         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13463         unmapping the first object in a namespace.
13465 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13467         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13468         (__internal_setnetgrent): ... this.  Add internal_function to
13469         definition.  Add libc_hidden_def.
13470         (setnetgrent): Update caller.
13471         (internal_endnetgrent): Renamed to ...
13472         (__internal_endnetgrent): ... this.  Add internal_function to
13473         definition.  Add libc_hidden_def.
13474         (endnetgrent): Update caller.
13475         (internal_getnetgrent_r): Renamed to ...
13476         (__internal_getnetgrent_r): ... this.  Add internal_function to
13477         definition.  Add libc_hidden_def.
13478         (__getnetgrent_r): Update caller.
13479         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
13481 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13483         * stdlib/longlong.h: Update from GCC.
13485 2012-08-16  Roland McGrath  <roland@hack.frob.com>
13487         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13488         on _QL, which is set by umul_ppmm but never used.
13489         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13490         variables, which are set by GMP macros but never used.
13491         * stdio-common/_itowa.c (_itowa): Likewise.
13492         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13493         * stdlib/mod_1.c (mpn_mod_1): Likewise.
13495 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
13497         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13498         struct La_sh_regs is not constant.
13499         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13500         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13501         and struct La_sparc64_regs are not constant.
13503 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
13505         * sysdeps/unix/sysv/linux/kernel-features.h
13506         (__ASSUME_POSIX_TIMERS): Remove.
13507         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13508         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13509         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13510         Make code unconditional.
13511         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13512         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13513         Make code unconditional.
13514         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13515         * sysdeps/unix/sysv/linux/clock_nanosleep.c
13516         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13517         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13518         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13519         Make code unconditional.
13520         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13521         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13522         (__libc_missing_posix_timers): Remove.
13524 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13526         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13527         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13529         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13531         * elf/dl-sym.c: Include <stdlib.h>.
13533         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13534         constants, which avoids warnings in 32-bit builds.
13536         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13537         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13539         * misc/lseek.c: File moved to ...
13540         * io/lseek.c: ... here.
13542         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13544         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13545         shifting LEN more than 31 bits at once.
13547 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13549         [BZ #14195]
13550         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13551         segmentation fault for a case of two empty input strings.
13552         * string/test-strncasecmp.c (check1): Renamed to...
13553         (bz12205): ...this.
13554         (bz14195): Add new testcase for two empty input strings and N > 0.
13555         (test_main): Call new testcase, adapt for renamed function.
13557 2012-08-15  Andreas Jaeger  <aj@suse.de>
13559         [BZ #14090]
13560         * crypt/md5test2.c: New test, based on test supplied by Serge
13561         Belyshev <belyshev@depni.sinp.msu.ru>.
13562         * crypt/Makefile (xtests): Add md5test-giant..
13563         * crypt/Makefile ($(objpfx)md5test-giant): Add.
13565 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
13567         [BZ #14090]
13568         * crypt/md5.c (md5_process_block): Don't assume the buffer
13569         length is less than 2**32.
13570         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13571         length is less than 2**64.
13573 2012-08-15  Roland McGrath  <roland@hack.frob.com>
13575         * string/str-two-way.h: Include <sys/param.h>.
13576         (MAX): Macro removed.
13578         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13579         Move #define and #undef of memmove to just before and after
13580         including <string.h>.
13582         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13583         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13584         and after including <string.h>.  Move declarations of
13585         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13586         to before #include "string/memmove.c".
13588         * include/dirent.h: Declare __getdirentries.
13590         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13591         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13593 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
13595         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13596         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13597         * sysdeps/i386/configure: Regenerated.
13598         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13599         STABS_CURRENT_FILE, and STABS_FUN.
13600         (END): Remove call to STABS_FUN_END.
13601         (STABS_CURRENT_FILE1): Delete.
13602         (STABS_CURRENT_FILE): Likewise.
13603         (STABS_FUN): Likewise.
13604         (STABS_FUN_END): Likewise.
13605         (STABS_FUN2): Likewise.
13606         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13607         * sysdeps/x86_64/configure: Regenerated.
13609 2012-08-14  Roland McGrath  <roland@hack.frob.com>
13611         * elf/dl-open.c: Include <atomic.h>.
13612         * elf/dl-lookup.c: Likewise.
13614 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
13616         * sysdeps/unix/sysv/linux/kernel-features.h
13617         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13618         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13619         unconditionally.
13620         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13621         unconditionally.
13622         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13623         condition on __ASSUME_CLONE_THREAD_FLAGS.
13625 2012-08-14  Andreas Jaeger  <aj@suse.de>
13627         * sysdeps/i386/fpu/libm-test-ulps: Update.
13629 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
13631         * include/atomic.h (atomic_exchange_and_add): Split into ...
13632         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13633         New atomic macros.
13635 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
13637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13639 2012-08-13  Jeff Law <law@redhat.com>
13641         * manual/stdio.texi (snprintf): Clarify handling of the trailing
13642         null byte in the output string.
13644 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
13646         * sysdeps/unix/sysv/linux/kernel-features.h
13647         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13648         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13649         (__ASSUME_ARG_MAX_STACK_BASED): Define.
13650         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13651         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13652         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
13653         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13655 2012-08-09  Jeff Law <law@redhat.com>
13657         [BZ #13939]
13658         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13659         When avoid_arena is set, don't retry in the that arena.  Pick the
13660         next one, whatever it might be.
13661         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13662         (arena_lock): Pass in new parameter to arena_get2.
13663         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13664         arena_get2.
13665         (__libc_malloc): Unify retrying after main arena failure with
13666         __libc_memalign version.
13667         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13669 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
13671         [BZ #14166]
13672         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13673         to __redirect_strstr.
13674         (__strstr_sse42): Use typeof __redirect_strstr.
13675         (__strstr_ia32): Likewise.
13676         (__libc_strstr): New prototype.
13677         (strstr): Renamed to ...
13678         (__libc_strstr): This.
13679         (strstr): New strong alias of __libc_strstr.
13680         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13681         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13682         __redirect_time.
13683         Include <time.h>.
13684         (__libc_time): New prototype.
13685         (time_ifunc): Replace time with __libc_time.
13686         (time): New strong alias and hidden definition of __libc_time.
13687         (__GI_time): Remove strong alias.
13688         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13689         Include <stddef.h>.
13690         (memmove): Redefined to __redirect_memmove.
13691         (__memmove_sse2): Use typeof __redirect_memmove.
13692         (__memmove_ssse3): Likewise.
13693         (__memmove_ssse3_back): Likewise.
13694         (__libc_memmove): New prototype.
13695         (memmove): Renamed to ...
13696         (__libc_memmove): This.
13697         (memmove): New strong alias of __libc_memmove.
13699 2012-08-08  Mark Salter  <msalter@redhat.com>
13701         * elf/elf.h
13702         (R_MN10300_TLS_GD): Define.
13703         (R_MN10300_TLS_LD): Likewise.
13704         (R_MN10300_TLS_LDO): Likewise.
13705         (R_MN10300_TLS_GOTIE): Likewise.
13706         (R_MN10300_TLS_IE): Likewise.
13707         (R_MN10300_TLS_LE): Likewise.
13708         (R_MN10300_TLS_DTPMOD): Likewise.
13709         (R_MN10300_TLS_DTPOFF): Likewise.
13710         (R_MN10300_TLS_TPOFF): Likewise.
13711         (R_MN10300_SYM_DIFF): Likewise.
13712         (R_MN10300_ALIGN): Likewise.
13713         (R_MN10300_NUM): Update.
13715 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
13717         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13718         Remove.
13720 2012-08-08  Roland McGrath  <roland@hack.frob.com>
13722         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13724         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13725         sysdeps/unix -> sysdeps/posix move.
13726         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13728 2012-08-07      Allan McRae     <allan@archlinux.org>
13730         [BZ #14303]
13731         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13732         (SUNOS_CPP): Likewise.
13733         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13734         not found.
13735         (open_input): Call CPP using execvp.
13737 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13739         * sysdeps/unix/sysv/linux/kernel-features.h
13740         (__ASSUME_PROT_GROWSUPDOWN): Remove.
13741         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13742         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13743         (__ASSUME_WAITID_SYSCALL): Likewise.
13744         * sysdeps/unix/sysv/linux/dl-execstack.c
13745         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13746         code unconditional.
13747         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13748         conditional code.
13749         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13750         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13751         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13752         code.
13753         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13754         unconditional.
13755         [__ASSUME_WAITID_SYSCALL]: Likewise.
13756         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13758 2012-08-07  Roland McGrath  <roland@hack.frob.com>
13760         * sysdeps/unix/closedir.c: Renamed to ...
13761         * sysdeps/posix/closedir.c: ... here.
13762         * sysdeps/unix/dirfd.c: Renamed to ...
13763         * sysdeps/posix/dirfd.c: ... here.
13764         * sysdeps/unix/dirstream.h: Renamed to ...
13765         * sysdeps/posix/dirstream.h: ... here.
13766         * sysdeps/unix/fdopendir.c: Renamed to ...
13767         * sysdeps/posix/fdopendir.c: ... here.
13768         * sysdeps/unix/opendir.c: Renamed to ...
13769         * sysdeps/posix/opendir.c: ... here.
13770         * sysdeps/unix/readdir.c: Renamed to ...
13771         * sysdeps/posix/readdir.c: ... here.
13772         * sysdeps/unix/readdir_r.c: Renamed to ...
13773         * sysdeps/posix/readdir_r.c: ... here.
13774         * sysdeps/unix/rewinddir.c: Renamed to ...
13775         * sysdeps/posix/rewinddir.c: ... here.
13776         * sysdeps/unix/seekdir.c: Renamed to ...
13777         * sysdeps/posix/seekdir.c: ... here.
13778         * sysdeps/unix/telldir.c: Renamed to ...
13779         * sysdeps/posix/telldir.c: ... here.
13780         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13781         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13782         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13783         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13785         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13786         * bits/fcntl.h: ... here.
13788         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13789         not 0.
13790         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13791         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13792         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13793         (struct flock): Move l_start, l_len to the beginning.
13794         Use __pid_t for l_pid.
13795         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13796         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13797         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13798         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13799         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13800         [__USE_LARGEFILE64] (struct flock64): New type.
13801         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13803         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13804         * bits/dirent.h: ... here.
13806         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13807         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13809 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
13811         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13812         Change from 2.6.0 to 2.6.16.
13813         * sysdeps/unix/sysv/linux/configure: Regenerated.
13814         * sysdeps/unix/sysv/linux/kernel-features.h
13815         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13816         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13817         version.
13818         (__ASSUME_UTIMES): Likewise.
13819         (__ASSUME_CLONE_STOPPED): Remove.
13820         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13821         architectures, not kernel version.
13822         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13823         (__ASSUME_NO_CLONE_DETACHED): Likewise.
13824         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13825         (__ASSUME_WAITID_SYSCALL): Likewise.
13826         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13827         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13828         * README: State 2.6.16 as minimum Linux kernel version.  Do not
13829         refer to older versions.
13831 2012-08-06  Roland McGrath  <roland@hack.frob.com>
13833         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13834         Define alphasort64 as an alias.
13835         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13836         Define versionsort64 as an alias.
13837         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13838         Define scandir64 as an alias.
13839         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13840         Define scandirat64 as an alias.
13841         * dirent/alphasort64.c (alphasort64):
13842         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13843         * dirent/versionsort64.c: Likewise.
13844         * dirent/scandir64.c: Likewise.
13845         * dirent/scandirat64.c: Likewise.
13846         * sysdeps/wordsize-64/alphasort.c: File removed.
13847         * sysdeps/wordsize-64/alphasort64.c: File removed.
13848         * sysdeps/wordsize-64/scandir.c: File removed.
13849         * sysdeps/wordsize-64/scandir64.c: File removed.
13850         * sysdeps/wordsize-64/scandirat.c: File removed.
13851         * sysdeps/wordsize-64/scandirat64.c: File removed.
13852         * sysdeps/wordsize-64/versionsort.c: File removed.
13853         * sysdeps/wordsize-64/versionsort64.c: File removed.
13854         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13855         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13856         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13857         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13858         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13859         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13860         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13861         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13863         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13865         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13867         [defined __arch64__ || defined __sparcv9]
13868         (__INO_T_MATCHES_INO64_T): New macro.
13869         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13870         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13871         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13872         * sysdeps/unix/sysv/linux/bits/dirent.h
13873         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13874         (_DIRENT_MATCHES_DIRENT64): New macro.
13876         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13877         Define lockf64 as an alias.
13878         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13879         Define fseeko64 as an alias.
13880         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13881         Define ftello64 as an alias.
13882         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13883         Define _IO_fgetpos64 and fgetpos64 as aliases.
13884         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13885         Define _IO_fsetpos64 and fsetpos64 as aliases.
13886         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13887         Conditionalize body on this.
13888         * libio/fseeko64.c: Likewise.
13889         * libio/ftello64.c: Likewise.
13890         * libio/iofgetpos64.c: Likewise.
13891         * libio/iofsetpos64.c: Likewise.
13892         * sysdeps/wordsize-64/lockf.c: File removed.
13893         * sysdeps/wordsize-64/lockf64.c: File removed.
13894         * sysdeps/wordsize-64/fseeko.c: File removed.
13895         * sysdeps/wordsize-64/fseeko64.c: File removed.
13896         * sysdeps/wordsize-64/ftello.c: File removed.
13897         * sysdeps/wordsize-64/ftello64.c: File removed.
13898         * sysdeps/wordsize-64/iofgetpos.c: File removed.
13899         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13900         * sysdeps/wordsize-64/iofsetpos.c: File removed.
13901         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13902         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13903         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13904         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13905         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13906         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13907         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13908         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13909         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13910         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13911         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13913         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13914         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13915         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13916         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13917         [defined __arch64__ || defined __sparcv9]
13918         (__OFF_T_MATCHES_OFF64_T): New macro.
13919         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13920         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13921         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13922         (__OFF_T_MATCHES_OFF64_T): New macro.
13924 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13926         * stdlib/secure-getenv.c (__secure_getenv): Replace
13927         GLIBC_2_16 with GLIBC_2_17.
13929 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
13931         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13932         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13934 2012-08-03  David S. Miller  <davem@davemloft.net>
13936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13938 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13940         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13941         Remove.
13942         (__ASSUME_CORRECT_SI_PID): Likewise.
13943         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13944         (__ASSUME_TMPFS_NAME): Likewise.
13945         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13946         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13947         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13948         (HAVE_AUX_SECURE): Make definition unconditional.
13949         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13950         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13952 2012-08-03  Roland McGrath  <roland@hack.frob.com>
13954         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13955         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13956         * sysdeps/mach/hurd/eloop-threshold.h: New file.
13957         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13958         __eloop_threshold instead of SYMLOOP_MAX.
13960         * sysdeps/generic/eloop-threshold.h: New file.
13961         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13962         of MAXSYMLINKS.
13963         * elf/chroot_canon.c (chroot_canon): Likewise.
13965 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
13967         [BZ #13717]
13968         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13969         Change to 2.6.0 everywhere.
13970         * sysdeps/unix/sysv/linux/configure: Regenerated.
13971         * sysdeps/unix/sysv/linux/kernel-features.h
13972         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13973         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13974         kernel versions.
13975         (__ASSUME_POSIX_TIMERS): Define unconditionally.
13976         (__ASSUME_FUTEX_REQUEUE): Remove.
13977         (__ASSUME_STATFS64): Define unconditionally.
13978         (__ASSUME_AT_SECURE): Likewise.
13979         (__ASSUME_CORRECT_SI_PID): Likewise.
13980         (__ASSUME_TGKILL): Define without depending on kernel version for
13981         i386.
13982         (__ASSUME_UTIMES): Likewise.
13983         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13984         kernel version.
13985         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13986         (__ASSUME_TMPFS_NAME): Likewise.
13987         * README: Update reference to Linux kernel versions.
13989 2012-08-02  Marek Polacek  <polacek@redhat.com>
13991         [BZ# 14150]
13992         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
13993         libc_cv_asm_type_prefix with %.
13994         * configure: Regenerated.
13995         * include/libc-symbols.h: Remove comment about
13996         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13997         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13998         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13999         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14000         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14001         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14002         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14003         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14004         * elf/tst-unique2mod1.c: Likewise.
14005         * elf/tst-unique1mod2.c: Likewise.
14006         * elf/tst-unique1mod1.c: Likewise.
14007         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14008         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14009         Replace ASM_TYPE_DIRECTIVE with .type.
14010         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14011         * sysdeps/i386/sysdep.h: Likewise.
14012         * sysdeps/x86_64/sysdep.h: Likewise.
14013         * sysdeps/sh/sysdep.h: Likewise.
14014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14015         Do not define ASM_TYPE_DIRECTIVE.
14016         * sysdeps/powerpc/sysdep.h: Likewise.
14017         * sysdeps/powerpc/powerpc32/sysdep.h:
14018         Replace ASM_TYPE_DIRECTIVE with .type.
14019         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14020         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14021         * sysdeps/i386/fpu/e_powf.S: Likewise.
14022         * sysdeps/i386/fpu/e_expl.S: Likewise.
14023         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14024         * sysdeps/i386/fpu/e_acosh.S: Likewise.
14025         * sysdeps/i386/fpu/e_pow.S: Likewise.
14026         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14027         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14028         * sysdeps/i386/fpu/s_expm1.S: Likewise.
14029         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14030         * sysdeps/i386/fpu/e_log2.S: Likewise.
14031         * sysdeps/i386/fpu/e_log2l.S: Likewise.
14032         * sysdeps/i386/fpu/e_scalb.S: Likewise.
14033         * sysdeps/i386/fpu/e_powl.S: Likewise.
14034         * sysdeps/i386/fpu/e_log10f.S: Likewise.
14035         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14036         * sysdeps/i386/fpu/e_logl.S: Likewise.
14037         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14038         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14039         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14040         * sysdeps/i386/fpu/e_log2f.S: Likewise.
14041         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14042         * sysdeps/i386/fpu/e_log.S: Likewise.
14043         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14044         * sysdeps/i386/fpu/e_logf.S: Likewise.
14045         * sysdeps/i386/fpu/e_log10l.S: Likewise.
14046         * sysdeps/i386/fpu/e_atanh.S: Likewise.
14047         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14048         * sysdeps/i386/fpu/e_log10.S: Likewise.
14049         * sysdeps/i386/fpu/s_frexp.S: Likewise.
14050         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14051         * sysdeps/i386/fpu/s_asinh.S: Likewise.
14052         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14053         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14054         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14055         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14056         * sysdeps/i386/i686/strtok.S: Likewise.
14057         * sysdeps/i386/i386-mcount.S: Likewise.
14058         * sysdeps/i386/strtok.S: Likewise.
14059         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14060         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14061         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14062         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14063         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14064         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14065         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14066         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14067         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14068         * sysdeps/x86_64/_mcount.S: Likewise.
14069         * sysdeps/x86_64/strtok.S: Likewise.
14070         * sysdeps/sh/_mcount.S: Likewise.
14072 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14074         * libio/iofopen.c: Include <fcntl.h>.
14075         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14076         (_IO_fopen64, fopen64): Define as aliases.
14077         * libio/iofopen64.c: Include <fcntl.h>.
14078         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14079         Conditionalize body on this.
14080         * sysdeps/wordsize-64/iofopen.c: File removed.
14081         * sysdeps/wordsize-64/iofopen64.c: File removed.
14083 2012-08-01  Marek Polacek  <polacek@redhat.com>
14085         * libc/Makeconfig: Use elf in place of binfmt-subdir.
14086         Use dlfcn directly instead of a variable.
14087         (binfmt-subdir): Do not define.
14088         (dlfcn): Likewise.
14090 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
14092         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14093         Remove all definitions.
14094         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14095         <kernel-features.h>.
14096         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14097         (miss_F_GETOWN_EX): Remove all definitions.
14098         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14099         macro definition.
14100         [!__ASSUME_FCNTL64]: Remove conditional code.
14101         [__ASSUME_FCNTL64]: Make code unconditional.
14102         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14103         <kernel-features.h>.
14104         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14105         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14106         (lockf64) [__NR_fcntl64]: Make code unconditional.
14107         (lockf64) [__ASSUME_FCNTL64]: Likewise.
14109         * sysdeps/unix/sysv/linux/kernel-features.h
14110         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14111         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14112         Make code unconditional.
14113         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14114         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14116         [__NR_vfork]: Make code unconditional.
14117         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14118         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14120         [__NR_vfork]: Make code unconditional.
14121         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14122         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14124 2012-08-01  Roland McGrath  <roland@hack.frob.com>
14126         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14127         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14129         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14130         Define mkstemp64 as an alias.
14131         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14132         Define mkstemps64 as an alias.
14133         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14134         Define mkostemp64 as an alias.
14135         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14136         Define mkostemps64 as an alias.
14137         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14138         Conditionalize body on this.
14139         * misc/mkostemp64.c: Likewise.
14140         * misc/mkostemps64.c: Likewise.
14141         * misc/mkstemps64.c: Likewise.
14142         * sysdeps/wordsize-64/mkstemp64.c: File removed.
14143         * sysdeps/wordsize-64/mkostemp64.c: File removed.
14144         * sysdeps/wordsize-64/mkostemp.c: File removed.
14145         * sysdeps/wordsize-64/mkstemp.c: File removed.
14146         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14147         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14148         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14149         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14151         [BZ #14138]
14152         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14153         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14154         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14155         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14157         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14158         compat_symbol macros from <shlib-compat.h> rather than the underlying
14159         default_symbol_version and symbol_version macros, so that DEFAULT
14160         lines in shlib-versions are respected.
14161         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14163 2012-08-01  Florian Weimer  <fweimer@redhat.com>
14165         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14166         Declare with warn_unused_result.
14167         (setgid, setregid, setegid, setresgid): Likewise.
14168         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14169         Likewise.
14170         * WUR-REPORT: Remove set*id functions.
14172 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
14174         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14176 2012-07-31  Roland McGrath  <roland@hack.frob.com>
14178         [BZ #10191]
14179         * include/sys/socket.h (__libc_accept, __libc_accept4):
14180         Add attribute_hidden.
14181         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14183         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14184         use of PTR_MANGLE.
14185         * inet/getnetgrent_r.c (setup): Likewise.
14187         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14189 2012-07-31  David S. Miller  <davem@davemloft.net>
14191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14193 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
14195         [BZ #13629]
14196         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14197         value between 1.0 and 2.0 and smaller part has absolute value less
14198         than 1.0.
14199         * math/s_clog10.c (__clog10): Likewise.
14200         * math/s_clog10f.c (__clog10f): Likewise.
14201         * math/s_clog10l.c (__clog10l): Likewise.
14202         * math/s_clogf.c (__clogf): Likewise.
14203         * math/s_clogl.c (__clogl): Likewise.
14204         * math/libm-test.inc (clog_test): Add more tests.
14205         (clog10_test): Likewise.
14206         * sysdeps/i386/fpu/libm-test-ulps: Update.
14207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14209 2012-07-31  Florian Weimer  <fweimer@redhat.com>
14211         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14212         Exit with zero in case no suitable GID is found, and write a
14213         message to standard error.
14215 2012-07-30  Roland McGrath  <roland@hack.frob.com>
14217         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14218         rather than to 1.
14219         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14220         (MAXPATHLEN): Removed.
14221         (NOGROUP, NODEV): New macros.
14222         (setbit, clrbit, isset, isclr): New macros.
14223         (howmany, roundup, powerof2): New macros.
14224         (DEV_BSIZE): New macro.
14226         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14227         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14229         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14230         definition on [!__NO_LONG_DOUBLE_MATH].
14232         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14233         PTR_MANGLE and PTR_DEMANGLE.
14235         * socket/accept4.c (accept4): Rename to __libc_accept4.
14236         Define accept4 as a weak alias.
14238         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14239         on [_DIRENT_HAVE_D_TYPE].
14240         * io/ftw.c (ftw_dir): Likewise.
14242         * io/xmknod.c (__xmknod): Don't check PATH for being null.
14244         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14246         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14247         Use the BSD numbers rather than the arbitrary ones we had.
14248         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14249         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14250         (SIGXCPU, SIGXFSZ): New macros.
14251         (_NSIG): Now 32.
14253         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14254         initializer on [_LIBC_REENTRANT].
14256         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14257         definitions inside [_POSIX_MAPPED_FILES].
14259         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14261         * dirent/opendir.c: Include <fcntl.h>.
14263         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14264         (__libc_getspecific): Likewise.
14265         (__libc_key_create): Likewise.
14267         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14268         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14269         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14270         (tmpfile64): Define as alias.
14271         * sysdeps/wordsize-64/tmpfile.c: File removed.
14272         * sysdeps/wordsize-64/tmpfile64.c: File removed.
14273         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14274         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14276         * stdio-common/vfscanf.c: Include <stdbool.h>.
14277         * nss/makedb.c: Likewise.
14278         * stdio-common/_i18n_number.h: Likewise.
14279         * argp/argp-help.c: Likewise.
14280         * posix/wordexp.c: Likewise.
14281         * sysdeps/posix/spawni.c: Likewise.
14282         * nss/nss_files/files-initgroups.c: Likewise.
14283         * stdio-common/reg-modifier.c: Include <stdlib.h>.
14284         * nss/nss_files/files-initgroups.c: Likewise.
14285         * nss/nss_db/db-netgrp.c: Likewise.
14286         * nss/nss_db/db-initgroups.c: Likewise.
14287         * io/fchmodat.c: Include <sys/stat.h>.
14289         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14290         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14292         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14293         [HAVE_MMAP].
14295         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14296         Add multiple inclusion protection.
14298 2012-07-27  David S. Miller  <davem@davemloft.net>
14300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14302 2012-07-27  Gary Benson  <gbenson@redhat.com>
14304         [BZ #14298]
14305         * elf/rtld.c: Include <stap-probe.h>.
14306         (dl_main): Added static probes "init_start" and "init_complete".
14307         * elf/dl-load.c: Include <stap-probe.h>.
14308         (lose): Take new parameter "nsid".
14309         Added static probe "map_failed".
14310         (_dl_map_object_from_fd): Pass namespace id to lose.
14311         Added static probe "map_start".
14312         (open_verify): Pass namespace id to lose.
14313         * elf/dl-open.c: Include <stap-probe.h>.
14314         (dl_open_worker) Added static probes "map_complete", "reloc_start"
14315         and "reloc_complete".
14316         * elf/dl-close.c: Include <stap-probe.h>.
14317         (_dl_close_worker): Added static probes "unmap_start" and
14318         "unmap_complete".
14319         * elf/rtld-debugger-interface.txt: New file documenting the above.
14321 2012-07-26  Roland McGrath  <roland@hack.frob.com>
14323         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14324         rather than a string variable.
14325         * sunrpc/rpc_main.c (h_output): Likewise.
14326         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14328 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
14330         * inet/check_native.c: New file.
14332 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
14334         [BZ #13629]
14335         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14336         if larger part has absolute value 1.0.
14337         * math/s_clog10.c (__clog10): Likewise.
14338         * math/s_clog10f.c (__clog10f): Likewise.
14339         * math/s_clog10l.c (__clog10l): Likewise.
14340         * math/s_clogf.c (__clogf): Likewise.
14341         * math/s_clogl.c (__clogl): Likewise.
14342         * math/libm-test.inc (clog_test): Add more tests.
14343         (clog10_test): Likewise.
14344         * sysdeps/i386/fpu/libm-test-ulps: Update.
14345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14347         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14348         (pltexit): Likewise.
14349         (La_regs): Likewise.
14350         (La_retval): Likewise.
14351         (int_retval): Likewise.
14352         Update #error for removed macros to refer only to definitions in
14353         tst-audit.h.
14354         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14355         macro.
14356         (pltexit): Likewise.
14357         (La_regs): Likewise.
14358         (La_retval): Likewise.
14359         (int_retval): Likewise.
14360         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14361         macro.
14362         (pltexit): Likewise.
14363         (La_regs): Likewise.
14364         (La_retval): Likewise.
14365         (int_retval): Likewise.
14366         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14367         macro.
14368         (pltexit): Likewise.
14369         (La_regs): Likewise.
14370         (La_retval): Likewise.
14371         (int_retval): Likewise.
14372         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14373         macro.
14374         (pltexit): Likewise.
14375         (La_regs): Likewise.
14376         (La_retval): Likewise.
14377         (int_retval): Likewise.
14378         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14379         macro.
14380         (pltexit): Likewise.
14381         (La_regs): Likewise.
14382         (La_retval): Likewise.
14383         (int_retval): Likewise.
14384         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14385         macro.
14386         (pltexit): Likewise.
14387         (La_regs): Likewise.
14388         (La_retval): Likewise.
14389         (int_retval): Likewise.
14390         * sysdeps/generic/tst-audit.h: Update comment to refer only to
14391         macro definitions in tst-audit.h.
14392         * sysdeps/i386/tst-audit.h: New file.
14393         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14394         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14395         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14396         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14397         * sysdeps/sh/tst-audit.h: Likewise.
14398         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14399         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14400         * sysdeps/x86_64/tst-audit.h: Likewise.
14402 2012-07-26  Andreas Jaeger  <aj@suse.de>
14404         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14405         ptrace.
14407         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14408         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14409         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14410         PTRACE_O_MASK.
14411         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14412         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14413         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14415         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14416         value.
14418         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14419         _sigsys.
14420         (si_call_addr, si_syscall, si_arch): Define new macro.
14421         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14422         _sigsys.
14423         (si_call_addr, si_syscall, si_arch): Define new marcro.
14424         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14425         _sigsys.
14426         (si_call_addr, si_syscall, si_arch): Define new macro.
14427         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14428         _sigsys.
14429         (si_call_addr, si_syscall, si_arch): Define new macro.
14431 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14433         [BZ #13717]
14434         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14435         Change to 2.4.21 where previously 2.4.1.
14436         * sysdeps/unix/sysv/linux/configure: Regenerated.
14437         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14438         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14439         Linux kernel version.
14440         (__ASSUME_STD_AUXV): Remove.
14441         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14442         kernel version.
14443         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14444         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14445         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14446         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14447         (__ASSUME_NETLINK_SUPPORT): Likewise.
14448         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14449         (__no_netlink_support): Remove conditional definition.
14450         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14451         Remove.
14452         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14453         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14454         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14455         (if_nameindex_ioctl): Remove.
14456         (if_nameindex_netlink): Do not handle __no_netlink_support.
14457         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14458         code.
14459         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14460         Remove conditional code.
14461         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14462         code.
14463         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14464         unconditional.
14465         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14466         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14467         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14468         Remove.
14469         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14470         [!__ASSUME_STD_AUXV]: Remove conditional code.
14471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14472         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14473         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14475         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14476         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14477         code.
14478         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14480         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14481         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14482         conditional code.
14483         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14485         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14486         code.
14487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14488         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14489         conditional code.
14490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14491         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14492         code unconditional.
14493         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14494         conditional code.
14495         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14496         unconditional.
14497         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14498         conditional code.
14499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14500         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14501         unconditional.
14502         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14503         conditional code.
14504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14505         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14506         code unconditional.
14507         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14508         conditional code.
14509         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14510         unconditional.
14511         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14512         conditional code.
14513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14514         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14515         code unconditional.
14516         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14517         conditional code.
14518         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14519         unconditional.
14520         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14521         conditional code.
14523 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
14525         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14526         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14527         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14528         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14529         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14530         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14531         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14532         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14533         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14534         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14535         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14536         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14537         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14538         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14539         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14540         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14541         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14542         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14543         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14544         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14545         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14546         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14547         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14549 2012-07-25  Florian Weimer  <fweimer@redhat.com>
14551         * Versions.def: Add GLIBC_2.17.
14552         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14553         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14554         Introduce __libc_secure_getenv.
14555         * stdlib/Versions (2.17): Add secure_getenv
14556         (GLIBC_PRIVATE): Add __libc_secure_getenv.
14557         * stdlib/secure-getenv.c: Rename __secure_getenv to
14558         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
14559         symbol __secure_getenv for GLIBC_2.0.
14560         * stdlib/tst-secure-getenv.c: New.
14561         * stdlib/Makefile (tests): Add testcase.
14562         * manual/startup.texi (Environment Access): Document
14563         secure_getenv.
14564         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14565         __libc_secure_getenv.
14566         * inet/ruserpass.c (ruserpass): Likewise.
14567         * malloc/mtrace.c (mtrace): Likewise.
14568         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14569         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14570         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14571         * sysdeps/posix/tempname.c: Likewise.  Evaluate
14572         HAVE_SECURE_GETENV.
14573         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14574         __secure_getenv to __libc_secure_getenv.
14575         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14577         Likewise.
14578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14579         Likewise.
14580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14582         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14588 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
14590         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14591         (struct La_i86_retval): Likewise.
14592         (struct La_x86_64_regs): Likewise.
14593         (struct La_x86_64_retval): Likewise.
14594         (struct La_x32_regs): Likewise.
14595         (struct La_x32_retval): Likewise.
14596         (struct La_ppc32_regs): Likewise.
14597         (struct La_ppc32_retval): Likewise.
14598         (struct La_ppc64_regs): Likewise.
14599         (struct La_ppc64_retval): Likewise.
14600         (struct La_sh_regs): Likewise.
14601         (struct La_sh_retval): Likewise.
14602         (struct La_s390_32_regs): Likewise.
14603         (struct La_s390_32_retval): Likewise.
14604         (struct La_s390_64_regs): Likewise.
14605         (struct La_s390_64_retval): Likewise.
14606         (struct La_sparc32_regs): Likewise.
14607         (struct La_sparc32_retval): Likewise.
14608         (struct La_sparc64_regs): Likewise.
14609         (struct La_sparc64_retval): Likewise.
14610         (struct audit_ifaces): Remove architecture-specific pltenter and
14611         pltexit members.
14612         * sysdeps/i386/ldsodefs.h: New file.
14613         * sysdeps/powerpc/ldsodefs.h: Likewise.
14614         * sysdeps/s390/ldsodefs.h: Likewise.
14615         * sysdeps/sh/ldsodefs.h: Likewise.
14616         * sysdeps/sparc/ldsodefs.h: Likewise.
14617         * sysdeps/x86_64/ldsodefs.h: Likewise.
14619 2012-07-25  Marek Polacek  <polacek@redhat.com>
14621         [BZ #6808]
14622         * math/libm-test.inc (yn_test): Add another test.
14623         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14624         to ERANGE when the result is +-Inf.
14625         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14626         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14627         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14628         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14630 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
14632         * conform/data/time.h-data (NULL): Use macro-constant.  Require
14633         equal to 0.
14634         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
14635         clock_t.
14636         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
14638 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
14640         * configure.in <sysdeps resolving>: Correct printing
14641         Implies_before.
14642         * configure: Regenerate.
14644 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
14646         * math/w_ilogb.c: Include <limits.h>.
14647         * math/w_ilogbl.c: Likewise.
14649 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14651         * manual/lang.texi (__va_copy): Document primarily as ISO C99
14652         va_copy.  Document allowing for unavailable va_copy only as
14653         pre-C99 compatibility.
14654         * manual/string.texi (Copying and Concatenation): Use va_copy
14655         instead of __va_copy in concat example.
14657 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
14659         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14660         (__sendto): Use create_address_port.  Initialize APORT and deallocate
14661         it if not null.
14663         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14664         with O_NOLINK passed to __file_name_lookup.
14666         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14667         with O_NOLINK passed to __file_name_lookup.
14669         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14670         negative N or less than NGIDS.
14672         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14673         type to string_t.  Set ERANGE as errno and return it if NAME is not big
14674         enough.  Use memcpy instead of strncpy.
14676 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
14678         * elf/Makefile (check-data): Remove.
14679         (localplt.data): New vpath directive.
14680         ($(objpfx)check-localplt.out): Use localplt.data from vpath
14681         instead of $(check-data).
14682         * scripts/data/localplt-generic.data: Move to ...
14683         * sysdeps/generic/localplt.data: ... here.
14684         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14685         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14686         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14688         ... here.
14689         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14691         ... here.
14692         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14693         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14694         ... here.
14695         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14697         ... here.
14698         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14700         ... here.
14701         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14703         ... here.
14705 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14707         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14708         PPC32 and PPC64 files.
14709         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14710         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14712 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14714         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14715         __makecontext_ret to ...
14716         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14717         ... here and call exit if uc_link is NULL.  New file.
14718         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14719         __makecontext_ret.S.
14720         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14721         __makecontext_ret to ...
14722         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14723         ... here and call exit if uc_link is NULL.  New file.
14724         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14725         __makecontext_ret.S.
14727 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14729         * elf/elf.h (R_390_IRELATIVE): New definition.
14730         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14731         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
14732         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14733         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14734         (elf_machine_lazy_rel): Likewise.
14735         * sysdeps/s390/dl-irel.h: New file.
14736         * sysdeps/s390/s390-64/memcpy.S: New asm code.
14737         * sysdeps/s390/s390-64/memset.S: New asm code.
14738         * sysdeps/s390/s390-64/memcmp.S: New asm code.
14739         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14740         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14741         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14742         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14743         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14744         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14745         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14746         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14747         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14748         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14749         * sysdeps/s390/s390-32/memcpy.S: New asm code.
14750         * sysdeps/s390/s390-32/memset.S: New asm code.
14751         * sysdeps/s390/s390-32/memcmp.S: New asm code.
14753 2012-07-17  Marek Polacek  <polacek@redhat.com>
14755         [BZ #14349]
14756         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14757         * sysdeps/s390/s390-64/configure.in: Likewise.
14758         * sysdeps/sparc/configure.in: Likewise.
14759         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14760         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14761         * sysdeps/i386/configure.in: Likewise.
14762         * sysdeps/x86_64/configure.in: Likewise.
14763         * sysdeps/sh/configure.in: Likewise.
14764         * sysdeps/s390/s390-32/configure: Regenerated.
14765         * sysdeps/s390/s390-64/configure: Likewise.
14766         * sysdeps/x86_64/configure: Likewise.
14767         * sysdeps/sh/configure: Likewise.
14768         * sysdeps/powerpc/powerpc64/configure: Likewise.
14769         * sysdeps/powerpc/powerpc32/configure: Likewise.
14770         * sysdeps/sparc/configure: Likwise.
14771         * sysdeps/i386/configure: Likewise.
14773         * elf/dl-open.c: Comment fixes.
14775 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
14777         * Makefile [CXX] (check-data): Remove.
14778         [CXX] (c++-types.data): New vpath directive.
14779         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14780         vpath.  Do not allow for C++ type data being missing.
14781         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14782         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14783         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14784         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14785         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14786         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14787         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14789         ... here.
14790         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14792         ... here.
14793         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14795         ... here.
14796         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14797         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14798         ... here.
14799         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14801         ... here.
14802         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14803         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14804         ... here.
14805         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14807         ... here.
14808         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14811         * elf/tls-macros.h (TLS_LE): Move architecture-specific
14812         definitions to architecture-specific files.
14813         (TLS_IE): Likewise.
14814         (TLS_LD): Likewise.
14815         (TLS_GD): Likewise.
14816         * sysdeps/i386/tls-macros.h: New file.
14817         * sysdeps/powerpc/tls-macros.h: Likewise.
14818         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14819         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14820         * sysdeps/sh/tls-macros.h: Likewise.
14821         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14822         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14823         * sysdeps/x86_64/tls-macros.h: Likewise.
14825 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14827         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14828         zero value for regular exit case.
14830         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14831         (__start_context): Preserve zero value for regular exit case.
14833 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
14834             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14836         * manual/setjmp.texi (setcontext): Clarify normal process
14837         termination when uc_link is the null pointer.
14838         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14839         exit call.
14841 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
14843         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14844         preprocessor.  Test for each exception mask separately.
14846 2012-07-16  Andreas Jaeger  <aj@suse.de>
14848         * po/ru.po: Update from translation team.
14850 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
14852         * conform/data/string.h-data (NULL): Use macro-constant.  Require
14853         equal to 0.
14854         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14855         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14856         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14857         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14858         [ISO || ISO99 || ISO11] (*_t): Do not allow.
14860 2012-07-13  Andreas Jaeger  <aj@suse.de>
14862         * po/fr.po: Update from translation team.
14864 2012-07-12  Marek Polacek  <polacek@redhat.com>
14866         [BZ #14173]
14867         * math/libm-test.inc (yn_test): Add test for BZ #14173.
14868         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14869         loop condition.
14871 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
14873         [BZ #13717]
14874         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14875         Change to 2.4.1 where previously 2.4.0.
14876         * sysdeps/unix/sysv/linux/configure: Regenerated.
14877         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14878         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14879         version.
14880         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14881         (__ASSUME_AT_CLKTCK): Remove.
14882         (__ASSUME_AT_PAGESIZE): Likewise.
14883         (__ASSUME_AT_XID): Likewise.
14884         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14885         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14886         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14887         unconditionally.
14888         (HAVE_AUX_PAGESIZE): Likewise.
14889         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14890         [__ASSUME_AT_CLKTCK]: Make code unconditional.
14891         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14893 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
14895         [BZ #14307]
14896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14897         the temporary buffer used to invoke __gethostbyname2_r,
14898         __gethostbyaddr_r and gethostbyname4_r to make room for struct
14899         host_data / struct gaih_addrtuple.
14900         * resolv/nss_dns/dns-host.c (global scope): Move definition of
14901         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14902         header file nss/nsswitch.h.
14903         * nss/nsswitch.h (global scope): Add definition of implementation
14904         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14905         resolv/nss_dns/dns-host.c).
14907 2012-07-11  Andreas Jaeger  <aj@suse.de>
14909         * po/fr.po: Update from translation team.
14911         * po/sv.po: Update from translation team
14912         * po/fr.po: Another update from translation team.
14914 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14916         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14917         for subnormals or multiply small sinh result by itself.
14918         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14921 2012-07-11  David S. Miller  <davem@davemloft.net>
14923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14925 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
14927         [BZ #14347]
14928         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14929         (INTERNAL_MARK): Shift it here.
14931 2012-07-10  Marek Polacek  <polacek@redhat.com>
14933         [BZ #14151]
14934         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
14935         libc_cv_asm_global_directive with .globl.
14936         * configure: Regenerated.
14937         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14938         with .globl.
14939         * sysdeps/i386/configure: Regenerated.
14940         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14941         with .globl.
14942         * sysdeps/x86_64/configure: Regenerated.
14943         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14944         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14945         * elf/tst-unique2mod2.c: Likewise.
14946         * elf/tst-unique2mod1.c: Likewise.
14947         * elf/tst-unique1mod2.c: Likewise.
14948         * elf/tst-unique1mod1.c: Likewise.
14949         * sysdeps/s390/s390-32/sysdep.h: Likewise.
14950         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14951         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14952         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14953         * sysdeps/mach/sysdep.h: Likewise.
14954         * sysdeps/i386/sysdep.h: Likewise.
14955         * sysdeps/i386/i386-mcount.S: Likewise.
14956         * sysdeps/x86_64/_mcount.S: Likewise.
14957         * sysdeps/x86_64/sysdep.h: Likewise.
14958         * sysdeps/sh/_mcount.S: Likewise.
14959         * sysdeps/sh/sysdep.h: Likewise.
14960         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14961         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14962         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14963         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14964         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14965         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14966         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14967         * locale/localeinfo.h: Likewise.
14968         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14969         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14971 2012-07-09  Roland McGrath  <roland@hack.frob.com>
14973         [BZ #14336]
14974         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14975         system".
14976         * manual/message.texi (The Uniforum approach): Likewise.
14977         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14978         (glibc iconv Implementation): Likewise.
14980 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
14982         [BZ #14337]
14983         * math/s_clog.c (__clog): Avoid scaling a value down where that
14984         could result in underflow.
14985         * math/s_clog10.c (__clog10): Likewise.
14986         * math/s_clog10f.c (__clog10f): Likewise.
14987         * math/s_clog10l.c (__clog10l): Likewise.
14988         * math/s_clogf.c (__clogf): Likewise.
14989         * math/s_clogl.c (__clogl): Likewise.
14990         * math/libm-test.inc (clog_test): Add more tests.
14991         (clog10_test): Likewise.
14992         * sysdeps/i386/fpu/libm-test-ulps: Update.
14993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14995 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
14997         [BZ #14283]
14998         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14999         by 7 not 8 to examine high bit of fractional part.
15001         [BZ #14042]
15002         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15003         for call to __mcount_internal.
15004         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15005         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15006         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15008 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
15010         [BZ #14154]
15011         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15012         approximation for values within 0x1p-13f of an odd multiple of
15013         pi/4.
15014         * math/libm-test.inc (tan_test): Do not allow spurious underflow
15015         exception.  Add more tests.
15016         * sysdeps/i386/fpu/libm-test-ulps: Update.
15018         [BZ #6778]
15019         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15020         inputs and return -1 for them.  Do not check for +Inf in case not
15021         reachable for +Inf.
15022         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15023         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15024         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15025         and return -1 for them.  Do not check for +Inf in case not
15026         reachable for +Inf.
15027         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15028         define.
15029         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15030         and return -1 for them.  Do not check for +Inf in case not
15031         reachable for +Inf.
15032         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
15033         spurious underflow.
15034         * sysdeps/i386/fpu/libm-test-ulps: Update.
15035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15037 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
15039         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15041 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
15043         [BZ #14157]
15044         [BZ #14331]
15045         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15046         could result in spurious underflow.  Scale down values above
15047         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15048         * math/s_csqrtf.c (__csqrtf): Likewise.
15049         * math/s_csqrtl.c (__csqrtl): Likewise.
15050         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
15051         spurious underflow.
15052         * sysdeps/i386/fpu/libm-test-ulps: Update.
15053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15055 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
15057         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15058         xopen-msg.sed.
15059         * catgets/xopen-msg.awk: New file.
15060         * catgets/xopen-msg.sed: Removed.
15062         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15063         po2text.sed.
15064         * intl/po2test.awk: New file.
15065         * intl/po2test.sed: Removed.
15067 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
15069         [BZ #14328]
15070         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15071         or multiply small sinh result by itself.
15072         * math/s_ctanf.c (__ctanf): Likewise.
15073         * math/s_ctanh.c (__ctanh): Likewise.
15074         * math/s_ctanhf.c (__ctanhf): Likewise.
15075         * math/s_ctanhl.c (__ctanhl): Likewise.
15076         * math/s_ctanl.c (__ctanl): Likewise.
15077         * math/libm-test.inc (ctan_test_tonearest): New function.
15078         (ctan_test_towardzero): Likewise.
15079         (ctan_test_downward): Likewise.
15080         (ctan_test_upward): Likewise.
15081         (ctanh_test_tonearest): Likewise.
15082         (ctanh_test_towardzero): Likewise.
15083         (ctanh_test_downward): Likewise.
15084         (ctanh_test_upward): Likewise.
15085         (main): Call these new functions.
15086         * sysdeps/i386/fpu/libm-test-ulps: Update.
15087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15089 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
15091         * .gitignore: Delete /ports entry.
15093 2012-07-03  Andreas Jaeger  <aj@suse.de>
15095         * po/bg.po: Update from translation team.
15096         * po/cs.po: Likewise.
15097         * po/de.po: Likewise.
15098         * po/hr.po: Likewise.
15099         * po/nl.pl: Likewise.
15100         * po/pl.po: Likewise.
15101         * po/vi.po: Likewise.
15103 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
15105         * Makeconfig [!+link] (+link-before-libc): New variable.
15106         [!+link] (+link-after-libc): Likewise.
15107         [!+link] (+link-tests): Likewise.
15108         [!+link] (+link): Define in terms of $(+link-before-libc) and
15109         $(+link-after-libc).
15110         [!+link-static] (+link-static-before-libc): New variable.
15111         [!+link-static] (+link-static-after-libc): Likewise.
15112         [!+link-static] (+link-static-tests): Likewise.
15113         [!+link-static] (+link-static): Define in terms of
15114         $(+link-static-before-libc) and $(+link-static-after-libc).
15115         [build-shared] (link-libc-before-gnulib): New variable.
15116         [build-shared] (link-libc-tests): Likewise.
15117         [build-shared] (link-libc): Define in terms of
15118         $(link-libc-before-gnulib).
15119         [!build-shared] (link-libc-tests): New variable.
15120         (link-libc-static-tests): New variable.
15121         [!gnulib] (gnulib-arch): New variable.
15122         [!gnulib] (gnulib-tests): Likewise.
15123         [!gnulib] (static-gnulib-arch): Likewise.
15124         [!gnulib] (static-gnulib-tests): Likewise.
15125         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
15126         Define with "=" instead of ":=".
15127         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
15128         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
15129         * Rules (binaries-all-notests): New variable.
15130         (binaries-all-tests): Likewise.
15131         (binaries-static-notests): Likewise.
15132         (binaries-static-tests): Likewise.
15133         (binaries-all): Define using $(binaries-all-notests) and
15134         $(binaries-all-tests).
15135         (binaries-static): Define using $(binaries-static-notests) and
15136         $(binaries-static-tests).
15137         (binaries-shared-tests): New variable.
15138         (binaries-shared-notests): Likewise.
15139         (binaries-shared): Remove variable.
15140         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15141         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15142         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15143         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15144         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15145         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15146         * elf/Makefile (sln-modules): New variable.
15147         (extra-objs): Add $(sln-modules:=.o).
15148         (ldconfig-modules): Add static-stubs.
15149         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15150         * elf/static-stubs.c: New file.
15152         [BZ #14283]
15153         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15154         by 7 not 8 to examine high bit of fractional part.  Use volatile
15155         variables when splitting into final array of floats if
15156         __FLT_EVAL_METHOD__ != 0.
15157         * math/libm-test.inc (cos_test): Add another test.
15158         (sin_test): Likewise.
15159         * sysdeps/i386/fpu/libm-test-ulps: Update.
15161         [BZ #14273]
15162         * math/libm-test.inc (cosh_test): Add more tests.
15164         * version.h (RELEASE): Set to "development".
15165         (VERSION): Set to "2.16.90".
15167 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
15169         * NEWS: Update copyright. Remove last-updated date.
15170         Mention math library bug fixes and timezone data changes.
15171         * README: Mention GNU/Hurd, x32, and HPPA support status.
15173 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
15175         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15177 2012-06-27  Andreas Jaeger  <aj@suse.de>
15179         * manual/contrib.texi (Contributors): Add Samuel Thibault.
15181 2012-06-25  Andreas Jaeger  <aj@suse.de>
15183         * sysdeps/s390/fpu/libm-test-ulps: Update.
15185 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
15186             Thomas Schwinge  <thomas@codesourcery.com>
15188         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15189         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15190         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15191         fanotify_mark.
15193 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
15195         * sysdeps/mach/start.c: Remove file.
15196         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15197         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15198         * sysdeps/sh/init-first.c: Likewise.
15200         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15201         registers for frame unwinding purposes, add CFI directives.
15202         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15203         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15204         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15205         Likewise.
15207         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15208         __fortify_fail returning.
15209         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15211         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15212         sysdeps/sh/____longjmp_chk.S.
15213         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15214         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15215         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15216         (gen-as-const-headers): Append sigaltstack-offsets.sym.
15218         * sysdeps/sh/abort-instr.h: New file.
15219         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15220         process in case exit returns.
15222         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15223         initialize the GOT register before use.
15225         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15226         calculation of ARGC > 4.
15228         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15229         meaningful names to some local labels.
15231 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
15232             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15234         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15235         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15236         (__arch_compare_and_exchange_val_16_acq): Likewise.
15237         (__arch_compare_and_exchange_val_32_acq): Likewise.
15238         (atomic_exchange_and_add): Fix gUSA sequence.
15239         (atomic_add): Likewise.
15240         (atomic_add_negative): Likewise.
15241         (atomic_add_zero): Likewise.
15242         (atomic_bit_test_set): Likewise.
15244 2012-06-22  Andreas Schwab  <schwab@redhat.com>
15246         [BZ #13579]
15247         * include/link.h (struct link_map): Add l_free_initfini.
15248         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15249         l_initfini.
15250         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15251         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15252         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15253         set.
15255 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
15257         * configure.in: Use AC_LANG_SOURCE.
15258         * configure: Regenerate.
15260 2012-06-22  Roland McGrath  <roland@hack.frob.com>
15262         * configure.in (libc_cv_localstatedir): New substituted variable.
15263         * configure: Regenerated.
15264         * config.make.in (localstatedir): New variable, substituted from
15265         libc_cv_localstatedir.
15266         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15267         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15268         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15269         * sysdeps/gnu/configure: Regenerated.
15271 2012-06-21  Jeff Law  <law@redhat.com>
15273         [BZ #14277]
15274         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15275         free.  Simplify list management for _LIBC case.
15277 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
15279         [BZ #14273]
15280         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15281         Clear sign bit of 64-bit integer value before comparing against
15282         overflow value.
15284         * sysdeps/mach/configure: Regenerated.
15286 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
15288         [BZ #14278]
15289         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15291 2012-06-21  Jeff Law  <law@redhat.com>
15293         [BZ #13882]
15294         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
15295         uint16_t for elements in the "seen" array to avoid char overflows.
15296         * elf/dl-fini.c (_dl_sort_fini): Likewise.
15297         * elf/dl-open.c (dl_open_worker): Likewise.
15299 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
15301         * scripts/list-sources.sh: Scan PORTS for translations.
15302         * po/libc.pot: Regenerated.
15304 2012-06-21  Andreas Jaeger  <aj@suse.de>
15306         [BZ #12194]
15307         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15308         warning.
15309         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15310         * bits/byteswap-16.h (__bswap_16): Likewise.
15311         * bits/byteswap.h (__bswap_constant_16): Likewise.
15313 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
15315         [BZ #14117]
15316         * sysdeps/i386/fpu_control.h: Removed.
15317         * sysdeps/x86_64/fpu_control.h: Moved to ...
15318         * sysdeps/x86/fpu_control.h: Here.
15320         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15321         (_FPU_SETCW): Likewise.
15323 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
15325         [BZ #14117]
15326         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15327         * sysdeps/x86/fpu/bits/mathinline.h: This.
15328         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15330         [BZ #14050]
15331         [BZ #14117]
15332         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15333         functions if __x86_64__ is defined.
15335 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
15337         * string/endian.h: Add !__ASSEMBLER__ condition for including
15338         conversion interfaces.
15340 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
15342         [BZ #14241]
15343         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15344         of ABS(x) in calculating zero to negative powers other than odd
15345         integers.
15346         * math/libm-test.inc (pow_test): Add more tests.
15348 2012-06-15  Andreas Jaeger  <aj@suse.de>
15350         * manual/contrib.texi (Contributors): Update entry of Liubov
15351         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15352         Machado Filho.
15354 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
15356         * string/string.h: Add __wur to GNU version of strerror_r.
15358 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
15360         [BZ #14229]
15361         * string/Makefile (tests): Add tst-strtok_r.
15362         * string/tst-strtok_r.c: New file.
15363         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15364         RAX_LP/RDX_LP on SAVE_PTR.
15366 2012-06-14  Roland McGrath  <roland@hack.frob.com>
15368         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15370 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
15372         * libm_test.inc (csqrt_test): Allow more spurious underflow
15373         exceptions.
15374         (j0_test): Likewise.
15375         (j1_test): Likewise.
15376         (y0_test): Likewise.
15377         (y1_test): Likewise.
15379 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
15381         * po/Makefile (libc.pot): Use UTF-8 charset.
15383 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
15385         [BZ #14210]
15386         Suppress sign-conversion warning from FD_SET.
15387         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15388         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15389         not unsigned long int.
15390         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15392 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
15394         [BZ #14050]
15395         [BZ #14117]
15396         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15397         __extern_always_inline instead of __extern_inline.
15398         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15399         (__signbit): Likewise.
15400         (__signbitl): Support C++ namespace.
15401         (lrintf): New inline function.
15402         (lrint): Likewise.
15403         (llrintf): Likewise.
15404         (llrint): Likewise.
15405         (fmaxf): Likewise.
15406         (fmax): Likewise.
15407         (fminf): Likewise.
15408         (fmin): Likewise.
15409         (rint): Likewise.
15410         (rintf): Likewise.
15411         (ceil): Likewise.
15412         (ceilf): Likewise.
15413         (floor): Likewise.
15414         (floorf): Likewise.
15415         (nearbyint): Likewise.
15416         (nearbyintf): Likewise.
15418 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
15420         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15421         non-default versions.
15423 2012-06-11  Roland McGrath  <roland@hack.frob.com>
15425         [BZ #14218]
15426         * manual/argp.texi (Argp): Reword argp_parse description slightly.
15428 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
15430         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15431         (FE_UPWARD, FE_DOWNWARD): Don't define.
15432         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15433         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15435         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15436         reading it.
15437         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15438         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15440 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15442         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15443         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15444         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15445         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15447 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
15449         [BZ #14117]
15450         * sysdeps/i386/fpu/bits/fenv.h: Removed.
15451         * sysdeps/i386/fpu/Implies: New file.
15452         * sysdeps/x86_64/fpu/Implies: Likewise.
15453         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15454         * sysdeps/x86/fpu/bits/fenv.h: This.
15456         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15457         __SSE_MATH__.
15459 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15461         [BZ #14134]
15462         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15463         character 0xffff that matches the last element of the
15464         conversion table.
15466 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15468         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15469         fmodl commit.
15471 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15473         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15474         values higher than 25.6283.
15476 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15478         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15479         subnormal exponent extraction and add some __builtin_expect.
15480         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15481         Fix for subnormal mantissa calculation.
15483 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
15485         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15486         cpu2 is -1 and errno is not ENOSYS.
15488 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
15490         [BZ #14117]
15491         * sysdeps/i386/i486/bits/string.h: Renamed to ...
15492         * sysdeps/x86/bits/string.h: This.
15493         * sysdeps/x86_64/bits/string.h: Removed.
15495         * sysdeps/i386/i486/bits/string.h: Define inline functions only
15496         if not compiling for x86-64, but compiling for >= i486.
15498         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15499         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15501         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15502         New macro from Linux kernel 3.4.0.
15503         (FP_XSTATE_MAGIC2): Likewise.
15504         (FP_XSTATE_MAGIC2_SIZE): Likewise.
15505         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15506         (struct _fpx_sw_bytes): New struct.
15507         (struct _xsave_hdr): Likewise.
15508         (struct _ymmh_state): Likewise.
15509         (struct _xstate): Likewise.
15511         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15512         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15513         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15514         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15515         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15516         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15518         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15519         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15520         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15521         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15522         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15523         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15525 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15527         [BZ #13743]
15528         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15529         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15530         (sysdep_headers): Include sys/platform/ppc.h.
15531         * sysdeps/powerpc/test-gettimebase.c: Test for
15532         __ppc_get_timebase() to catch future ISA opcode/insn changes.
15533         * manual/Makefile (appendices): Include platform.texi.
15534         * manual/contrib.texi (Contributors): Update @node pointers.
15535         * manual/maint.texi (Maintenance): Likewise.
15536         (Platform): New node.
15537         * manual/platform.texi: New file.  Document the new features.
15539 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15540             Jakub Jelinek  <jakub@redhat.com>
15542         [BZ #14188]
15543         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15544         where __builtin_expect is unavailable.
15546 2012-06-03  David S. Miller  <davem@davemloft.net>
15548         * stdlib/longlong.h: Updated from GCC.
15550 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
15552         [BZ #14042]
15553         * sysdeps/powerpc/powerpc32/mcount.c: New file.
15554         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15555         __mcount_internal.
15556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15557         (GLIBC_2.16): Likewise.
15559 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15561         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15563 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15566         (default-abi): New variable.
15567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15568         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15569         variable.
15570         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15571         Likewise.
15572         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15573         Likewise.
15574         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15575         Likewise.
15577         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15578         definition.  Document in comment.
15580 2012-06-01  David S. Miller  <davem@davemloft.net>
15582         * stdlib/longlong.h: Updated from GCC.
15584 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15586         [BZ #14117]
15587         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15588         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15589         sys/debugreg.h sys/io.h here.
15590         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15591         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15592         sys/io.h.
15593         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15594         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15595         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15596         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15597         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15598         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15600         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15601         Define only if __x86_64__ is defined.
15603 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
15605         [BZ #14048]
15606         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15607         Use int64_t for variable i.
15608         * math/libm-test.inc (fmod_test): Add more tests.
15610         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15611         z computation is not scheduled after fetestexcept.
15612         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15613         Use math_force_eval instead of asm to ensure calculation scheduled
15614         before exception test.
15615         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15616         Ensure a1 + u.d computation is not scheduled after fetestexcept.
15618 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
15620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15621         computation is not scheduled after fetestexcept.
15623 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
15625         [BZ #14117]
15626         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15627         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15629 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15631         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15632         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15634 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15636         [BZ #14117]
15637         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15638         <bits/wordsize.h>.
15639         (__WCHAR_MIN): Support __WORDSIZE == 64.
15640         (__WCHAR_MAX): Likewise.
15642         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15643         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15645         [BZ #14183]
15646         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15647         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15649         [BZ #14117]
15650         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15651         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15653         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15654         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15656         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15657         Defined to 1 if __x86_64__ isn't defined.
15658         (_STAT_VER_LINUX_OLD): New.
15659         (st_atime): Remove duplicate.
15660         (st_mtime): Likewise.
15661         (st_ctime): Likewise.
15663 2012-05-31  David S. Miller  <davem@davemloft.net>
15665         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15666         entries.
15668 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
15670         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15671         gen-libm-test.pl.
15673         [BZ #14132]
15674         * elf/dl-reloc.c: Include <_itoa.h>.
15675         (_dl_reloc_bad_type): Remove use of INTUSE.
15676         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15677         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15678         * stdio-common/psiginfo.c (psiginfo): Likewise.
15679         * stdio-common/psignal.c (psignal): Likewise.
15680         * string/strsignal.c (strsignal): Likewise.
15681         * include/signal.h (_sys_siglist): Declare hidden proto.
15682         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
15683         INTVARDEF with libc_hidden_data_def.
15684         * stdio-common/itoa-udigits.c: Likewise.
15685         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15686         (_itoa_lower_digits_internal): Remove declaration.
15687         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15688         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15689         (_sys_sigabbrev_internal): Remove aliases.
15690         (_sys_siglist): Define hidden alias.
15692 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
15694         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15695         bits/sysctl.h.
15697 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
15699         [BZ #14117]
15700         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15701         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15703         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15704         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15705         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15706         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15707         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15708         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15710         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15711         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15712         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15714         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15715         with __addr.
15716         (insw): Likewise.
15717         (insl): Likewise.
15718         (outsb): Likewise.
15719         (outsw): Likewise.
15720         (outsl): Likewise.
15722         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15723         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15724         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15726         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15727         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15728         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15729         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15730         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15731         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15733         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15734         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15736         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15737         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15739         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15740         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15741         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15743         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15744         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15745         to ...
15746         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15748         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15749         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15750         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15752         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15753         for x86-64.
15754         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15756 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
15758         * math/math.h (M_El): Use two more decimal places.
15759         (M_LOG2El): Likewise.
15760         (M_LOG10El): Likewise.
15761         (M_LN2l): Likewise.
15762         (M_LN10l): Likewise.
15763         (M_PIl): Likewise.
15764         (M_PI_2l): Likewise.
15765         (M_PI_4l): Likewise.
15766         (M_1_PIl): Likewise.
15767         (M_2_PIl): Likewise.
15768         (M_2_SQRTPIl): Likewise.
15769         (M_SQRT2l): Likewise.
15770         (M_SQRT1_2l): Likewise.
15772 2012-05-31  David S. Miller  <davem@davemloft.net>
15774         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15775         values between float registers.
15776         * sysdeps/sparc/sparc64/memset.S: Likewise.
15777         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15779 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
15781         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15782         -D_FORTIFY_SOURCE=1.
15783         (CPPFLAGS-tst-longjmp_chk.c): Define.
15784         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15785         (CPPFLAGS-tst-longjmp_chk2.c): Define.
15786         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15787         CFLAGS-tst-wchar-h.c.
15789 2012-05-31  Marek Polacek  <polacek@redhat.com>
15791         [BZ #14132]
15792         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15793         __endmntent_internal): Remove declaration.
15794         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15795         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15796         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15798 2012-05-30  David S. Miller  <davem@davemloft.net>
15800         * sysdeps/sparc/sparc32/soft-fp/q_util.c
15801         (___Q_simulate_exceptions): Use real FP ops rather than writing
15802         into the %fsr.
15803         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15804         Likewise.
15806 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15808         [BZ #14117]
15809         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15810         * sysdeps/x86/bits/xtitypes.h: This.
15812         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15813         * sysdeps/x86/bits/wordsize.h: This.
15815         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15816         * sysdeps/x86/bits/huge_vall.h: This.
15818         * sysdeps/i386/bits/select.h: Removed.
15819         * sysdeps/x86_64/bits/select.h: Renamed to ...
15820         * sysdeps/x86/bits/select.h: This.
15822         * sysdeps/i386/bits/setjmp.h: Removed.
15823         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15824         * sysdeps/x86/bits/setjmp.h: This.
15826         * sysdeps/i386/bits/mathdef.h: Removed.
15827         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15828         * sysdeps/x86/bits/mathdef.h: This.
15830 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
15832         [BZ #14132]
15833         * include/sys/socket.h (__connect_internal)
15834         (__libc_sa_len_internal): Remove declaration.
15835         (__connect, __libc_sa_len): Declare hidden_proto.
15836         (SA_LEN): Remove use of INTUSE.
15837         * socket/connect.c: Add libc_hidden_def.
15838         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15839         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15840         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15841         alias.
15842         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15843         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15844         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15845         of adding _internal alias.
15847 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15849         [BZ #14117]
15850         * sysdeps/i386/bits/link.h: Removed.
15851         * sysdeps/i386/bits/linkmap.h: Likewise.
15852         * sysdeps/x86_64/bits/link.h: Renamed to ...
15853         * sysdeps/x86/bits/link.h: This.
15854         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15855         * sysdeps/x86/bits/linkmap.h: This.
15857         * sysdeps/i386/bits/endian.h: Removed.
15858         * sysdeps/x86_64/bits/endian.h: Renamed to ...
15859         * sysdeps/x86/bits/endian.h: This.
15861         * sysdeps/i386/bits/byteswap.h: Removed.
15862         * sysdeps/i386/bits/byteswap-16.h: Likewise.
15863         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15864         * sysdeps/x86/bits/byteswap.h: This.
15865         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15866         * sysdeps/x86/bits/byteswap-16.h: This.
15867         * sysdeps/i386/Implies: Add x86.
15868         * sysdeps/x86_64/Implies: Likewise.
15870 2012-05-30  David S. Miller  <davem@davemloft.net>
15872         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15873         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15874         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15875         (FP_TRAPPING_EXCEPTIONS): Define.
15876         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15877         (FP_TRAPPING_EXCEPTIONS): Define.
15878         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15879         subnormals only when inexact has been signalled or underflow
15880         exceptions are enabled.
15881         (_FP_PACK_CANONICAL): Likewise.
15883 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15885         [BZ #14183]
15886         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15887         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15889 2012-05-30  Richard Henderson  <rth@twiddle.net>
15891         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15892         with #ifndef NOT_IN_libc.
15894         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
15895         marked to avoid plt entry.
15897 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
15899         [BZ #14112]
15900         * Makeconfig (default-abi): New macro.
15901         (abi-includes): Likewise.
15902         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
15903         $(abi-$(default-abi)-lib-soname) for soname if defined.
15904         ($(common-objpfx)gnu/lib-names.stmp): Generate from
15905         abi-variants.
15906         * Makefile (installed-stubs): Likewise.
15907         * include/stubs-biarch.h: Removed.
15908         * scripts/lib-names.awk: Only handle one library at a time.
15909         * scripts/soversions.awk: Remove WORDSIZE support.
15910         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15911         entries.
15912         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15913         Removed.
15914         (syscall-list-default-condition): Likewise.
15915         (syscall-list-default-condition): Likewise.
15916         (syscall-list-includes): Likewise.
15917         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15918         syscall-list-* with abi-*.  Handle undefined abi-variants.
15919         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15920         * sysdeps/unix/sysv/linux/i386/Implies: New file.
15921         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15922         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15923         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15924         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15925         Removed.
15926         (syscall-list-32-options): Likewise.
15927         (syscall-list-32-condition): Likewise.
15928         (syscall-list-64-options): Likewise.
15929         (syscall-list-64-condition): Likewise.
15930         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15931         macro.
15932         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15933         Renamed to ...
15934         (abi-*): This.
15935         (abi-64-ld-soname): New macro.
15936         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15937         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15938         Renamed to ...
15939         (abi-*): This.
15940         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15941         * sysdeps/x86_64/x32/shlib-versions: Likewise.
15943 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
15945         * sysdeps/unix/sysv/linux/kernel-features.h
15946         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15947         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15948         include <kernel-features.h>.
15949         [!__NR_ftruncate64]: Remove conditional code.
15950         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15951         [__NR_ftruncate64]: Make code unconditional.
15952         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15953         * sysdeps/unix/sysv/linux/truncate64.c: Do not
15954         include <kernel-features.h>.
15955         [!__NR_ftruncate64]: Remove conditional code.
15956         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15957         [__NR_ftruncate64]: Make code unconditional.
15958         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15960         include <kernel-features.h>.
15961         [!__NR_ftruncate64]: Remove conditional code.
15962         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15963         [__NR_ftruncate64]: Make code unconditional.
15964         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15966         include <kernel-features.h>.
15967         [!__NR_ftruncate64]: Remove conditional code.
15968         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15969         [__NR_ftruncate64]: Make code unconditional.
15970         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15972         * configure.in (libc_cv_fpie): Weaken to a compile test using
15973         LIBC_TRY_CC_OPTION.
15974         * configure: Regenerated.
15976 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15982         Refreshed.
15983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15989         Refreshed.
15991 2012-05-27  David S. Miller  <davem@davemloft.net>
15993         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15994         (___Q_zero): New.
15995         (__Q_simulate_exceptions): Return void.  Change to simulate
15996         exceptions by writing into the %fsr.
15997         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15998         (__Qp_handle_exceptions): Likewise.
15999         (numbers): Delete.
16000         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16001         __Qp_handle_exceptions.
16002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16003         __Qp_handle_exceptions.
16004         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16005         as unused and give dummy FP_RND_NEAREST initializer.
16006         (FP_INHIBIT_RESULTS): Define.
16007         (___Q_simulate_exceptions): Update declaration.
16008         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16009         formatting.
16010         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16011         as unused and give dummy FP_RND_NEAREST initializer.
16012         (__Qp_handle_exceptions): Update declaration.
16013         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16014         formatting.
16016 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
16018         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16019         the temporary FPU control word.
16020         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16021         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16022         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16023         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16024         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16025         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16026         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16027         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16028         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16029         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16030         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16032 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16034         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16035         fields.
16037 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
16039         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16040         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16041         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16042         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16043         Likewise.
16044         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16045         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16046         Likewise.
16048 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
16050         * po/h.po: Update from translation team.
16052 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
16054         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16056         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16057         handling of denormals.
16058         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16059         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16060         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16061         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16062         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16063         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16064         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16065         Likewise.
16067 2012-05-26  Marek Polacek  <polacek@redhat.com>
16069         [BZ #14152]
16070         * math/libm-test.inc (fma_test): Don't always expect underflow
16071         exception.
16073 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16075         [BZ #12416]
16076         * elf/tst-execstack.c: Include stackinfo.h.
16077         (do_test): Adjust test case to ensure that pthread_getattr_np
16078         behaviour remains the same after marking stack executable.
16080 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16082         * sysdeps/unix/sysv/linux/kernel-features.h
16083         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16084         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16085         kernel-features.h.
16086         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16087         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16088         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16089         kernel-features.h.
16090         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16091         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16093 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
16095         * configure.in: Define the default includes to being none.
16096         * configure: Regenerated.
16098 2012-05-25  Roland McGrath  <roland@hack.frob.com>
16100         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16101         * sysdeps/x86_64/setjmp.S: Likewise.
16102         * sysdeps/i386/bsd-setjmp.S: Likewise.
16103         * sysdeps/i386/bsd-_setjmp.S: Likewise.
16104         * sysdeps/i386/setjmp.S: Likewise.
16105         * sysdeps/i386/__longjmp.S: Likewise.
16106         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16107         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16109         * include/stap-probe.h: New file.
16110         * configure.in: Handle --enable-systemtap.
16111         * configure: Regenerated.
16112         * config.h.in (USE_STAP_PROBE): New #undef.
16113         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16114         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16115         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16117 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
16119         [BZ #13717]
16120         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16121         to 2.4.0 where earlier.
16122         * sysdeps/unix/sysv/linux/configure: Regenerated.
16123         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16124         <kernel-features.h>.
16125         [__ASSUME_32BITUIDS]: Make code unconditional.
16126         [!__ASSUME_32BITUIDS]: Remove conditional code.
16127         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16128         <kernel-features.h>.
16129         [__ASSUME_32BITUIDS]: Make code unconditional.
16130         [!__ASSUME_32BITUIDS]: Remove conditional code.
16131         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16132         [__ASSUME_32BITUIDS]: Make code unconditional.
16133         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16134         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
16139         <kernel-features.h>.
16140         [__ASSUME_32BITUIDS]: Make code unconditional.
16141         [!__ASSUME_32BITUIDS]: Remove conditional code.
16142         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16143         <kernel-features.h>.
16144         [__ASSUME_32BITUIDS]: Make code unconditional.
16145         [!__ASSUME_32BITUIDS]: Remove conditional code.
16146         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16147         <kernel-features.h>.
16148         [__ASSUME_32BITUIDS]: Make code unconditional.
16149         [!__ASSUME_32BITUIDS]: Remove conditional code.
16150         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16151         <kernel-features.h>.
16152         [__ASSUME_32BITUIDS]: Make code unconditional.
16153         [!__ASSUME_32BITUIDS]: Remove conditional code.
16154         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16155         <kernel-features.h>.
16156         [__ASSUME_32BITUIDS]: Make code unconditional.
16157         [!__ASSUME_32BITUIDS]: Remove conditional code.
16158         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16159         <kernel-features.h>.
16160         [__ASSUME_32BITUIDS]: Make code unconditional.
16161         [!__ASSUME_32BITUIDS]: Remove conditional code.
16162         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16163         <kernel-features.h>.
16164         [__ASSUME_32BITUIDS]: Make code unconditional.
16165         [!__ASSUME_32BITUIDS]: Remove conditional code.
16166         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16167         <kernel-features.h>.
16168         [__ASSUME_32BITUIDS]: Make code unconditional.
16169         [!__ASSUME_32BITUIDS]: Remove conditional code.
16170         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16171         <kernel-features.h>.
16172         [__ASSUME_32BITUIDS]: Make code unconditional.
16173         [!__ASSUME_32BITUIDS]: Remove conditional code.
16174         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16175         <kernel-features.h>.
16176         [__NR_setresgid] (__setresgid): Do not declare.
16177         [__ASSUME_32BITUIDS]: Make code unconditional.
16178         [!__ASSUME_32BITUIDS]: Remove conditional code.
16179         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16180         <kernel-features.h>.
16181         [__NR_setresuid] (__setresuid): Do not declare.
16182         [__ASSUME_32BITUIDS]: Make code unconditional.
16183         [!__ASSUME_32BITUIDS]: Remove conditional code.
16184         * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
16189         <kernel-features.h>.
16190         [__ASSUME_32BITUIDS]: Make code unconditional.
16191         [!__ASSUME_32BITUIDS]: Remove conditional code.
16192         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16193         <kernel-features.h>.
16194         [__ASSUME_32BITUIDS]: Make code unconditional.
16195         [!__ASSUME_32BITUIDS]: Remove conditional code.
16196         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16197         <kernel-features.h>.
16198         [__ASSUME_32BITUIDS]: Make code unconditional.
16199         [!__ASSUME_32BITUIDS]: Remove conditional code.
16200         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16201         <kernel-features.h>.
16202         [__ASSUME_32BITUIDS]: Make code unconditional.
16203         [!__ASSUME_32BITUIDS]: Remove conditional code.
16204         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16205         <kernel-features.h>.
16206         [__ASSUME_32BITUIDS]: Make code unconditional.
16207         [!__ASSUME_32BITUIDS]: Remove conditional code.
16208         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16209         <kernel-features.h>.
16210         [__ASSUME_32BITUIDS]: Make code unconditional.
16211         [!__ASSUME_32BITUIDS]: Remove conditional code.
16212         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16213         <kernel-features.h>.
16214         [__ASSUME_32BITUIDS]: Make code unconditional.
16215         [!__ASSUME_32BITUIDS]: Remove conditional code.
16216         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16217         <kernel-features.h>.
16218         [__ASSUME_32BITUIDS]: Make code unconditional.
16219         [!__ASSUME_32BITUIDS]: Remove conditional code.
16220         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16221         <kernel-features.h>.
16222         [__ASSUME_32BITUIDS]: Make code unconditional.
16223         [!__ASSUME_32BITUIDS]: Remove conditional code.
16224         * sysdeps/unix/sysv/linux/kernel-features.h
16225         (__ASSUME_SETRESUID_SYSCALL): Remove.
16226         (__ASSUME_SETRESGID_SYSCALL): Likewise.
16227         (__ASSUME_32BITUIDS): Likewise.
16228         (__ASSUME_LDT_WORKS): Likewise.
16229         (__ASSUME_O_DIRECTORY): Likewise.
16230         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16231         architecture but not kernel version.
16232         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16233         (__ASSUME_MMAP2_SYSCALL): Likewise.
16234         (__ASSUME_STAT64_SYSCALL): Likewise.
16235         (__ASSUME_IPC64): Likewise.
16236         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16237         <kernel-features.h>.
16238         [__ASSUME_32BITUIDS]: Make code unconditional.
16239         [!__ASSUME_32BITUIDS]: Remove conditional code.
16240         * sysdeps/unix/sysv/linux/opendir.c: Do not include
16241         <kernel-features.h>.
16242         [__ASSUME_O_DIRECTORY]: Make code unconditional.
16243         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16244         132096]: Remove conditional code.
16245         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16246         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16247         <kernel-features.h>.
16248         [__ASSUME_32BITUIDS]: Make code unconditional.
16249         [!__ASSUME_32BITUIDS]: Remove conditional code.
16250         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16251         <kernel-features.h>.
16252         [__ASSUME_32BITUIDS]: Make code unconditional.
16253         [!__ASSUME_32BITUIDS]: Remove conditional code.
16254         * sysdeps/unix/sysv/linux/setegid.c: Do not include
16255         <kernel-features.h>.
16256         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16257         unconditional.
16258         (__setresgid): Do not declare.
16259         [__ASSUME_32BITUIDS]: Make code unconditional.
16260         [!__ASSUME_32BITUIDS]: Remove conditional code.
16261         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16262         <kernel-features.h>.
16263         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16264         unconditional.
16265         (__setresuid): Do not declare.
16266         [__ASSUME_32BITUIDS]: Make code unconditional.
16267         [!__ASSUME_32BITUIDS]: Remove conditional code.
16268         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16269         <kernel-features.h>.
16270         [__ASSUME_32BITUIDS]: Make code unconditional.
16271         [!__ASSUME_32BITUIDS]: Remove conditional code.
16272         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16273         <kernel-features.h>.
16274         [__ASSUME_32BITUIDS]: Make code unconditional.
16275         [!__ASSUME_32BITUIDS]: Remove conditional code.
16277 2012-05-25  Richard Henderson  <rth@twiddle.net>
16279         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16280         dl_hwcap to ifunc resolver.
16281         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16282         elf_ifunc_invoke.
16283         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16284         dl_hwcap to ifunc resolver.
16285         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16287 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16289         [BZ #14153]
16290         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16291         for |x| <= 2**-26, not 2**-57.
16292         * math/libm-test.inc (acos_test): Do not allow spurious underflow
16293         exception.
16295 2012-05-24  Jeff Law  <law@redhat.com>
16297         * stdio-common/Makefile (tests): Add bug25.
16298         * stdio-common/bug25.c: New test.
16300 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16302         [BZ #13576]
16303         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16304         multiple of MALLOC_ALIGNMENT in size.
16305         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16307 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16309         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16310         Require >= 256.
16311         (FILENAME_MAX): Use macro-int-constant.
16312         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
16313         (_IOFBF): Use macro-int-constant.
16314         (_IOLBF): Likewise.
16315         (_IONBF): Likewise.
16316         (SEEK_CUR): Likewise.
16317         (SEEK_END): Likewise.
16318         (SEEK_SET): Likewise.
16319         (TMP_MAX): Likewise.
16320         (EOF): Use macro-int-constant.  Require < 0.
16321         (NULL): Use macro-constant.  Require == 0.
16322         (stdin): Require type to be FILE *.
16323         (stdout): Likewise.
16324         (stderr): Likewise.
16325         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16326         macro-int-constant.
16327         (EXIT_SUCCESS): Likewise.
16328         (NULL): Use macro-constant.  Require == 0.
16329         (RAND_MAX): Use macro-int-constant.
16330         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16331         [C99-based standards] (strtof): Require function.
16332         [C99-based standards] (strtold): Likewise.
16333         [C99-based standards] (strtoll): Likewise.
16334         [C99-based standards] (strtoull): Likewise.
16335         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16336         [ISO || ISO99 || ISO11] (limits.h): Likewise.
16337         [ISO || ISO99 || ISO11] (math.h): Likewise.
16338         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16339         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16340         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16342 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
16344         [BZ #14132]
16345         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16346         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16347         * intl/dgettext.c (DCGETTEXT): Likewise.
16348         * intl/gettext.c (DCGETTEXT): Likewise.
16349         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16350         * posix/regex_internal.h (gettext): Likewise.
16351         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16352         Remove declaration.
16353         * include/argz.h (__argz_count_internal)
16354         (__argz_stringify_internal): Remove declaration.
16355         (__argz_count, __argz_stringify): Declare hidden proto.
16356         * intl/dcgettext.c: Remove use of INTDEF.
16357         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16358         * string/argz-stringify.c: Likewise.
16359         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16360         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16361         Declare hidden proto.
16362         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16363         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16364         Declare hidden proto.
16365         * include/stdio.h (__asprintf_internal): Don't declare.
16366         (__asprintf): Don't define as macro.  Declare hidden proto.
16367         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16368         (__fsetlocking): Declare hidden proto.
16369         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16370         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16371         hidden proto.
16372         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16373         (_IO_setlinebuf): Remove use of INTUSE.
16374         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16375         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16376         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16377         Remove declaration.
16378         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16379         (_IO_do_flush): Remove use of INTUSE.
16380         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16381         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16382         (_IO_adjust_column, _IO_least_wmarker)
16383         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16384         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16385         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16386         (_IO_default_doallocate, _IO_wdefault_doallocate)
16387         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16388         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16389         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16390         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16391         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16392         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16393         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16394         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16395         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16396         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16397         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16398         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16399         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16400         proto.
16401         (_IO_flush_all_internal, _IO_adjust_column_internal)
16402         (_IO_default_uflow_internal, _IO_default_finish_internal)
16403         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16404         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16405         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16406         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16407         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16408         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16409         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16410         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16411         (_IO_file_close_internal, _IO_file_close_it_internal)
16412         (_IO_file_underflow_internal, _IO_file_overflow_internal)
16413         (_IO_file_init_internal, _IO_file_attach_internal)
16414         (_IO_file_fopen_internal, _IO_file_read_internal)
16415         (_IO_file_sync_internal, _IO_file_seek_internal)
16416         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16417         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16418         (_IO_str_underflow_internal, _IO_str_overflow_internal)
16419         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16420         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16421         (_IO_list_all_internal, _IO_link_in_internal)
16422         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16423         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16424         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16425         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16426         (_IO_do_write_internal, _IO_padn_internal)
16427         (_IO_getline_info_internal, _IO_getline_internal)
16428         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16429         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16430         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16431         (_IO_vfscanf_internal, _IO_vfprintf_internal)
16432         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16433         (_IO_init_internal, _IO_un_link_internal): Don't declare.
16434         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16435         with libc_hidden_ver, remove use of INTUSE.
16436         * libio/genops.c: Likewise.
16437         * libio/freopen.c: Likewise.
16438         * libio/freopen64.c: Likewise.
16439         * libio/iofclose.c: Likewise.
16440         * libio/iofdopen.c: Likewise.
16441         * libio/iofflush.c: Likewise.
16442         * libio/iofflush_u.c: Likewise.
16443         * libio/iofgets.c: Likewise.
16444         * libio/iofgets_u.c: Likewise.
16445         * libio/iofopen.c: Likewise.
16446         * libio/iofopncook.c: Likewise.
16447         * libio/iofread.c: Likewise.
16448         * libio/iofread_u.c: Likewise.
16449         * libio/ioftell.c: Likewise.
16450         * libio/iofwrite.c: Likewise.
16451         * libio/iogetline.c: Likewise.
16452         * libio/iogets.c: Likewise.
16453         * libio/iogetwline.c: Likewise.
16454         * libio/iopadn.c: Likewise.
16455         * libio/iopopen.c: Likewise.
16456         * libio/ioseekoff.c: Likewise.
16457         * libio/ioseekpos.c: Likewise.
16458         * libio/iosetbuffer.c: Likewise.
16459         * libio/iosetvbuf.c: Likewise.
16460         * libio/ioungetc.c: Likewise.
16461         * libio/ioungetwc.c: Likewise.
16462         * libio/iovdprintf.c: Likewise.
16463         * libio/iovsprintf.c: Likewise.
16464         * libio/iovsscanf.c: Likewise.
16465         * libio/memstream.c: Likewise.
16466         * libio/obprintf.c: Likewise.
16467         * libio/oldfileops.c: Likewise.
16468         * libio/oldiofclose.c: Likewise.
16469         * libio/oldiofdopen.c: Likewise.
16470         * libio/oldiofopen.c: Likewise.
16471         * libio/oldiopopen.c: Likewise.
16472         * libio/oldstdfiles.c: Likewise.
16473         * libio/putc.c: Likewise.
16474         * libio/setbuf.c: Likewise.
16475         * libio/setlinebuf.c: Likewise.
16476         * libio/stdfiles.c: Likewise.
16477         * libio/strops.c: Likewise.
16478         * libio/vasprintf.c: Likewise.
16479         * libio/vscanf.c: Likewise.
16480         * libio/vsnprintf.c: Likewise.
16481         * libio/vswprintf.c: Likewise.
16482         * libio/wfiledoalloc.c: Likewise.
16483         * libio/wfileops.c: Likewise.
16484         * libio/wgenops.c: Likewise.
16485         * libio/wmemstream.c: Likewise.
16486         * libio/wstrops.c: Likewise.
16487         * libio/__fpurge.c: Likewise.
16488         * libio/__fsetlocking.c: Likewise.
16489         * assert/assert.c: Likewise.
16490         * debug/fgets_chk.c: Likewise.
16491         * debug/fgets_u_chk.c: Likewise.
16492         * debug/fread_chk.c: Likewise.
16493         * debug/fread_u_chk.c: Likewise.
16494         * debug/gets_chk.c: Likewise.
16495         * debug/obprintf_chk.c: Likewise.
16496         * debug/vasprintf_chk.c: Likewise.
16497         * debug/vdprintf_chk.c: Likewise.
16498         * debug/vsnprintf_chk.c: Likewise.
16499         * debug/vsprintf_chk.c: Likewise.
16500         * malloc/mtrace.c: Likewise.
16501         * misc/error.c: Likewise.
16502         * misc/syslog.c: Likewise.
16503         * stdio-common/asprintf.c: Likewise.
16504         * stdio-common/fxprintf.c: Likewise.
16505         * stdio-common/getw.c: Likewise.
16506         * stdio-common/isoc99_fscanf.c: Likewise.
16507         * stdio-common/isoc99_scanf.c: Likewise.
16508         * stdio-common/isoc99_vfscanf.c: Likewise.
16509         * stdio-common/isoc99_vscanf.c: Likewise.
16510         * stdio-common/isoc99_vsscanf.c: Likewise.
16511         * stdio-common/printf-prs.c: Likewise.
16512         * stdio-common/printf_fp.c: Likewise.
16513         * stdio-common/printf_fphex.c: Likewise.
16514         * stdio-common/printf_size.c: Likewise.
16515         * stdio-common/putw.c: Likewise.
16516         * stdio-common/scanf.c: Likewise.
16517         * stdio-common/sprintf.c: Likewise.
16518         * stdio-common/tmpfile.c: Likewise.
16519         * stdio-common/vfprintf.c: Likewise.
16520         * stdio-common/vfscanf.c: Likewise.
16521         * stdlib/strfmon_l.c: Likewise.
16522         * sunrpc/openchild.c: Likewise.
16523         * sunrpc/xdr_stdio.c: Likewise.
16524         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16525         * sysdeps/mach/hurd/tmpfile.c: Likewise.
16527 2012-05-24  Roland McGrath  <roland@hack.frob.com>
16529         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16531         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16532         in the third column, to generate for the shared library an IFUNC
16533         that uses _dl_vdso_vsym.
16534         * Makerules (COMPILE.c, compile-stdin.c): New variables.
16535         * Makeconfig (object-suffixes-noshared): New variable.
16537         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16538         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16539         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16540         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16542         [BZ #14132]
16543         * include/sys/time.h (__gettimeofday): Remove macro.
16544         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16545         * time/gettimeofday.c (__gettimeofday): Remove #undef.
16546         Remove INTDEF.
16547         (__gettimeofday): Add libc_hidden_def.
16548         (gettimeofday): Add libc_hidden_weak.
16549         * sysdeps/mach/gettimeofday.c: Likewise.
16550         * sysdeps/posix/gettimeofday.c: Likewise.
16551         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16552         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16553         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16554         (__gettimeofday_internal): Remove strong_alias.
16555         (__gettimeofday): Add libc_hidden_def.
16556         (gettimeofday): Add libc_hidden_weak.
16557         * sysdeps/unix/syscalls.list (gettimeofday):
16558         Remove __gettimeofday_internal alias.
16560 2012-05-24  Daniel Jacobowitz  <drow@false.org>
16561             H.J. Lu  <hongjiu.lu@intel.com>
16563         [BZ #12495]
16564         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16565         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16566         (largebin_index_32_big): New.
16567         (largebin_index): Use it for 16-byte alignment.
16568         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
16569         correction with front_misalign.
16571 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
16573         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16575         Likewise.
16576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16577         Likewise.
16578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16579         Likewise.
16580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16581         Likewise.
16582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16583         Likewise.
16584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16585         Likewise.
16586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16587         Likewise.
16588         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16589         Likewise.
16590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16591         Likewise.
16592         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16593         Likewise.
16594         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16595         Likewise.
16596         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16597         Likewise.
16599         * scripts/data/c++-types-x32-linux-gnu.data: New file.
16600         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16602 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
16604         [BZ #10846]
16605         [BZ #14036]
16606         * math/libm-test.inc (exp_test): Add test from bug 14036.
16607         (pow_test): Add test from bug 10846.
16609         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16610         and other flags.
16611         (special_function): Do not include flags in test name.
16612         (parse_args): Likewise.
16613         * sysdeps/i386/fpu/libm-test-ulps: Update.
16614         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16615         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16616         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16619         * math/gen-libm-test.pl (%beautify): Add entries for underflow
16620         exceptions.
16621         * math/libm-test.inc ("Philosophy"): Update comment about
16622         exception testing.
16623         (UNDERFLOW_EXCEPTION): New macro.
16624         (UNDERFLOW_EXCEPTION_OK): Likewise.
16625         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16626         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16627         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16628         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16629         (INVALID_EXCEPTION_OK): Update value.
16630         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16631         (OVERFLOW_EXCEPTION_OK): Likewise.
16632         (IGNORE_ZERO_INF_SIGN): Likewise.
16633         (test_exceptions): Handle underflow exceptions.
16634         (acos_test): Update for underflow exception expectations.
16635         (cexp_test): Likewise.
16636         (clog_test): Likewise.
16637         (clog10_test): Likewise.
16638         (csqrt_test): Likewise.
16639         (ctan_test): Likewise.
16640         (ctanh_test): Likewise.
16641         (exp_test): Likewise.
16642         (exp10_test): Likewise.
16643         (exp2_test): Likewise.
16644         (expm1_test): Likewise.
16645         (fma_test): Likewise.
16646         (j0_test): Likewise.
16647         (jn_test): Likewise.
16648         (nexttoward_test): Likewise.
16649         (pow_test): Likewise.
16650         (scalbn_test): Likewise.
16651         (scalbln_test): Likewise.
16652         (tan_test): Likewise.
16653         (y1_test): Likewise.
16654         * sysdeps/i386/fpu/libm-test-ulps: Update.
16655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16657 2012-05-23  David S. Miller  <davem@davemloft.net>
16659         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16660         (__libc_sigaction): Remove unused local variables.
16662 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16664         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16666 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
16668         mktime: avoid signed integer overflow
16669         * time/mktime.c (__mktime_internal): Do not mishandle the case
16670         where diff == INT_MIN.
16672         mktime: simplify computation of average
16673         * time/mktime.c (ranged_convert): Use new time_t_avg function
16674         instead of rolling our own (probably-slower) code.
16676         mktime: do not assume signed right shift propagates sign bit
16677         * time/mktime.c (isdst_differ): New static function.
16678         (__mktime_internal): No need to normalize tm_isdst now.
16679         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16680         tm_isdst values.
16682         mktime: merge another wrapv change from gnulib
16683         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16684         from some compilers.
16686         mktime: remove incorrect attempt at unusual arithmetics
16687         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16688         The code didn't really work on such machines anyway.
16689         (TYPE_MINIMUM): Assume two's complement.
16690         (twos_complement_arithmetic): Verify that long_int and time_t
16691         are two's complement (or unsigned, in the latter case).
16693         mktime: check signed shifts on long_int and time_t, too
16694         * time/mktime.c (SHR): Check that shifts work as desired
16695         on the types long_int and time_t too, as SHR is used on
16696         such types.
16698         mktime: do not assume 'long' is wide enough
16699         * time/mktime.c (verify): Move decl up.
16700         (long_int): New type.
16701         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16702         to remove assumption in the code that 'long' is wide enough to
16703         store year values.  This assumption is not true on x32 and on
16704         some non-glibc platforms.
16706         mktime: merge wrapv change from gnulib
16707         * time/mktime.c (WRAPV): New macro.
16708         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16709         (guess_time_tm, __mktime_internal): Do not assume that signed
16710         integer overflow wraps around; modern compilers generate code
16711         where this assumption is no longer valid.
16713 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16715         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16716         Replace "jmp L(pseudo_end)" with "ret".
16717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16718         Likewise.
16720 2012-05-23  Andreas Jaeger  <aj@suse.de>
16722         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16723         * sysdeps/unix/sysv/linux/poll.c: Remove file.
16725 2012-05-23  Andreas Jaeger  <aj@suse.de>
16726             Maximilian Attems  <max@stro.at>
16728         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16729         New macros.
16731 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
16733         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16734         code so that pseudo_end is just ret and the stack pointer is
16735         correct also for static library in error case.
16737 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
16739         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16740         move to syscalls.list.
16741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16746         * manual/install.texi (Running make install): Do not mention Linux
16747         kernel version for which pt_chown is not needed.
16748         (Linux): Do not mention problems with nscd with 2.0 kernels.
16749         * INSTALL: Regenerated.
16751 2012-05-23  Andreas Jaeger  <aj@suse.de>
16753         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16754         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16755         macro.
16756         * sysdeps/unix/sysv/linux/s390/bits/mman.h
16757         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16758         * sysdeps/unix/sysv/linux/sh/bits/mman.h
16759         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16760         * sysdeps/unix/sysv/linux/i386/bits/mman.h
16761         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16762         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16763         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16764         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16765         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16766         * sysdeps/unix/sysv/linux/bits/in.h
16767         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16769 2012-05-22  Roland McGrath  <roland@hack.frob.com>
16771         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16772         (PREPARE_VERSION): Just use assert instead, it will be elided
16773         under [NDEBUG] anyway.
16775 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16777         * sysdeps/unix/sysv/linux/Makefile: Include
16778         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16779         (sysdep_routines): Remove sysctl.
16780         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16781         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16782         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16783         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16784         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16786 2012-05-22  Andreas Jaeger  <aj@suse.de>
16788         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16789         that pseudo_end is just ret and the stack pointer is correct also
16790         for static library in error case.
16792 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16794         [BZ #14122]
16795         * nss/nsswitch.c (defconfig_entries): New variable.
16796         (__nss_database_lookup): Don't leak defconfig entries.
16797         (nss_parse_service_list): Don't leak on error paths.
16798         (free_database_entries): New function.
16799         (free_defconfig): New function.
16800         (free_mem): Move common code to free_database_entries.
16802 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16804         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16805         Add arch_prctl.
16806         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16808         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16809         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16811         New macro.
16812         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16813         (INTERNAL_SYSCALL_TYPES): Likewise.
16814         (LOAD_ARGS_TYPES_[1-6]): Likewise.
16815         (LOAD_REGS_TYPES_[1-6]): Likewise.
16816         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16817         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16819 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16821         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16822         copysignl for GLIBC_2_0.
16823         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16824         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16825         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16826         logbl for GLIBC_2_0.
16827         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16828         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16830 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16832         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16833         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
16835         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16836         Use "neg %eax".
16838         * time/mktime.c: Update copyright years.
16840 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16842         mktime: merge comment-quoting-style change from gnulib
16843         * time/mktime.c: Quote 'like this' in comments.
16844         The GNU coding standards suggest that we no longer quote `like this',
16845         as "`" and "'" are typically rendered asymmetrically nowadays.
16846         The typical gnulib style is to quote 'like this' when quoting
16847         code, and "like this" when quoting English.
16849         * time/mktime.c (compile-command): Add "-I.".
16851         mktime: merge mktime-internal.h change from gnulib
16852         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16854         mktime: merge time_r change from gnulib
16855         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16857         mktime: merge DEBUG change from gnulib
16858         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16859         case system <time.h> has a #define.
16861         mktime: merge <sys/types.h> change from gnulib
16862         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16863         since <time.t> is now guaranteed to define time_t.
16865         mktime: merge HAVE_CONFIG_H change from gnulib
16866         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16868 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16871         Use "neg %eax".
16873         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16874         __rlim_t cast.
16875         (struct rusage): Use anonymous union to pad each field to
16876         __syscall_slong_t.
16878 2012-05-21  David S. Miller  <davem@davemloft.net>
16880         * Makefules (o-iterator): Remove .s cases.
16881         (compile-command.s): Delete.
16882         (COMPILE.s): Delete.
16883         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16885 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
16887         * configure.in (libc_cv_predef_stack_protector): Only consider
16888         "foobar" and "__stack_chk_fail" lines in libc_undefs.
16889         * configure: Regenerated.
16891 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16893         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16894         New macro.  Use R*LP on int and pointer.
16895         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16896         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16897         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16898         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16900         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16901         [__WORDSIZE_TIME64_COMPAT32] instead of
16902         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16903         (struct utmp): Likewise.
16904         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16905         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16906         Renamed to ...
16907         (__WORDSIZE_TIME64_COMPAT32): This.
16908         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16909         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16910         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16911         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16912         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16913         (__WORDSIZE_TIME64_COMPAT32): New macro.
16915 2012-05-21  Andreas Jaeger  <aj@suse.de>
16917         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16918         only if [SHARED]. Add prototype for __wcschr_ia32.
16920 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16922         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16923         of %rbp unmolested in the jmp_buf while mangling the low bits.
16924         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16925         unmolested high bits of %rbp while demangling the low bits.
16926         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16928 2012-05-21  Andreas Jaeger  <aj@suse.de>
16930         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16931         * sunrpc/svc_simple.c: Use it for registerrpc.
16932         * sunrpc/xcrypt.c: Use it for passwd2des.
16934         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16936 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16938         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16939         Don't define if [__SYSCALL_WORDSIZE != 32].
16940         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16941         New macro.
16943 2012-05-21  Bruno Haible  <bruno@clisp.org>
16944             Andreas Jaeger  <aj@suse.de>
16946         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16947         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16948         inptr and inend for must_buffer_ch.
16949         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16950         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16951         * stdio-common/Makefile (tests): Remove bug15.
16952         (bug15-ENV): Remove macro.
16953         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16954         anymore.
16956 2012-05-19  Andreas Jaeger  <aj@suse.de>
16957             Roland McGrath  <roland@hack.frob.com>
16959         * manual/contrib.texi: Completely rewritten. It contains now an
16960         alphabetical list of contributors and their contributions.
16962 2012-05-21  Richard Henderson  <rth@twiddle.net>
16964         * misc/getauxval.c (__getauxval): Use unsigned long int.
16965         * misc/sys/auxv.h: Include <sys/cdefs.h>.
16966         (getauxval): Use unsigned long int.
16968 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
16970         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16972 2012-05-21  Roland McGrath  <roland@hack.frob.com>
16974         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16975         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16976         __alignof__ (long double).
16978 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16982 2012-05-20  Richard Henderson  <rth@twiddle.net>
16984         * misc/getauxval.c: New file.
16985         * misc/sys/auxv.h: New file.
16986         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16987         (routines): Add getauxval.
16988         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16989         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16990         * elf/dl-sysdep.c (_dl_auxv): Remove.
16991         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16992         * elf/dl-support.c (_dl_auxv): New variable.
16993         (_dl_aux_init): Initialize it.
16994         * manual/startup.texi (Auxiliary Vector): New node.
16995         * sysdeps/generic/bits/hwcap.h: New file.
16996         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16997         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
16998         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16999         * sysdeps/sparc/sysdep.h: ... here.  Include it.
17000         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17001         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
17002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17003         Update.
17004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17005         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17007         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17009         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17013 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17015         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17017 2012-05-19  David S. Miller  <davem@davemloft.net>
17019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17021 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17023         [BZ #14123]
17024         * math/s_ccosh.c: Include <float.h>
17025         (__ccosh): Avoid internal overflow calculating sinh and cosh
17026         values before multiplying by sin and cos values.
17027         * math/s_ccoshf.c: Likewise.
17028         * math/s_ccoshl.c: Likewise.
17029         * math/s_csin.c: Likewise.
17030         * math/s_csinf.c: Likewise.
17031         * math/s_csinl.c: Likewise.
17032         * math/s_csinh.c: Likewise.
17033         * math/s_csinhf.c: Likewise.
17034         * math/s_csinhl.c: Likewise.
17035         * math/libm-test.inc (ccos_test): Add more tests.
17036         (ccosh_test): Likewise.
17037         (csin_test): Likewise.
17038         (csinh_test): Likewise.
17039         * sysdeps/i386/fpu/libm-test-ulps: Update.
17040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17042 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
17044         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17045         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17047         * sysdeps/x86_64/x32/_itoa.h: Add comment.
17049 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
17051         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17052         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17053         * sysdeps/powerpc/soft-fp/Versions: Likewise.
17054         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17055         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17056         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17057         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17058         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17059         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17060         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17061         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17062         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17063         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17064         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17065         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17066         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17067         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17068         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17069         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17070         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17071         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17072         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17073         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17074         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17075         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17076         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17077         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17078         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17079         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17080         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17081         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17083 2012-05-18  Andreas Jaeger  <aj@suse.de>
17085         * csu/.gitignore: Delete.
17087 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17089         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17090         (timex): Use __syscall_slong_t.
17092 2012-05-18  Andreas Jaeger  <aj@suse.de>
17093             Carlos O'Donell  <carlos_odonell@mentor.com>
17095         * manual/install.texi (Configuring and compiling): Update
17096         description about files modified in the source directory.
17097         * INSTALL: Regenerated.
17099 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17101         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17102         value.  Use "or" to set return value to -1.
17103         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17104         negate return value.
17106 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17108         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17109         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17110         failure if the compiler has Graphite support disabled.
17111         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17112         Likewise.
17113         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17114         CFLAGS-memmove.c): Likewise.
17115         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17116         Likewise.
17118 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
17120         * sysdeps/x86_64/x32/_itoa.h: New file.
17122         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17123         getdents system call only if kernel and user dirents have the
17124         same d_ino and d_off.
17126         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17127         LLONG_MAX != LONG_MAX.
17128         (_itoa_word): Use _ITOA_WORD_TYPE on value.
17129         (_fitoa_word): Likewise.
17131         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17132         years.
17133         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17134         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17135         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17137         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17138         include <bits/wordsize.h>.  Check __x86_64__ instead of
17139         __WORDSIZE.
17140         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17141         if __x86_64__ is defined.  Use anonymous union on fpstate.
17143         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17144         anonymous union.
17146 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
17148         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17149         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17150         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17151         Refer to _rtld_local_ro instead of _rtld_global_ro.
17152         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17153         Likewise.
17154         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17155         Likewise.
17156         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17157         Likewise.
17158         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17159         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17160         of _rtld_global, and rtld_progname instead of _dl_argv[0].
17162         * sysdeps/powerpc/powerpc32/dl-machine.c
17163         (__elf_machine_runtime_setup) [PROF]: Don't reference
17164         _dl_prof_resolve.
17166 2012-05-18  Andreas Jaeger  <aj@suse.de>
17168         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17169         function only available for GCCs before 3.4 since GCC 3.4
17170         introduced a builtin.
17171         (lrint): Likewise.
17172         (llrintf): Likewise.
17173         (llrint): Likewise.
17174         (fmaxf): Likewise.
17175         (fmax): Likewise.
17176         (fminf): Likewise.
17177         (fmin): Likewise.
17178         (rint): Likewise.
17179         (rintf): Likewise.
17180         (nearbyint): Likewise.
17181         (nearbyintf): Likewise.
17182         (ceil): Likewise.
17183         (ceilf): Likewise.
17184         (floor): Likewise.
17185         (floorf): Likewise.
17187 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17189         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17190         on both fields and cast pointer to __syscall_ulong_t.
17192         * bits/types.h (__fsword_t): New type.
17193         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17194         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17195         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17196         (__FSWORD_T_TYPE): Likewise.
17197         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17198         (__FSWORD_T_TYPE): Likewise.
17199         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17200         (__FSWORD_T_TYPE): Likewise.
17201         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17202         (__FSWORD_T_TYPE): Likewise.
17203         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17204         __SWORD_TYPE with __fsword_t.
17205         (statfs64): Likewise.
17207 2012-05-17  David S. Miller  <davem@davemloft.net>
17209         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17211 2012-05-17  Andreas Jaeger  <aj@suse.de>
17213         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17214         warning.
17216 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17218         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17220 2012-05-17  Andreas Jaeger  <aj@suse.de>
17222         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17223         when it is used.
17225 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17227         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17229 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
17231         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17232         * sysdeps/x86_64/tst-mallocalign1.c: New file.
17234 2012-05-17  Andreas Jaeger  <aj@suse.de>
17235             Carlos O'Donell  <carlos_odonell@mentor.com>
17237         [BZ #14059]
17238         * sysdeps/x86_64/multiarch/init-arch.h
17239         (bit_YMM_Usable): Rename to...
17240         (bit_AVX_Usable): ... this.
17241         (bit_FMA4_Usable): New macro.
17242         (bit_XMM_state): New macro.
17243         (bit_YMM_state): New macro.
17244         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17245         [__ASSEMBLER__] (index_AVX_Usable): ... this.
17246         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17247         (CPUID_OSXSAVE): New macro.
17248         (CPUID_AVX): New macro.
17249         (CPUID_FMA4): New macro.
17250         (index_YMM_Usable): Rename to...
17251         (index_AVX_Usable): ... this.
17252         (HAS_AVX): Use HAS_ARCH_FEATURE.
17253         (HAS_FMA4): Likewise.
17254         (HAS_YMM_USABLE): Remove.
17255         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17256         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17257         are present.
17258         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17259         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17260         * sysdeps/x86_64/multiarch/Makefile: Likewise.
17261         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17262         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17264 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
17266         * math/libm-test.c: Support platforms without multiple rounding modes.
17267         * math/bug-nextafter.c: Support platforms without FP exceptions.
17268         * math/bug-nexttoward.c: Likewise.
17269         * math/test-fenv.c: Likewise.
17270         * math/test-misc.c: Likewise.
17271         * stdlib/bug-getcontext.c: Likewise.
17273 2012-05-17  Andreas Jaeger  <aj@suse.de>
17275         * manual/examples/search.c (critter_cmp): Change signature to
17276         avoid warnings.
17277         * manual/string.texi (Collation Functions): Likewise.
17279 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17281         * bits/types.h: Fold copyright years.
17282         * bits/typesizes.h: Likewise.
17283         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17284         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17285         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17286         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17287         * time/time.h: Likewise.
17289 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
17291         [BZ #208]
17292         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17293         in instead of returning them.  Return void.
17294         (__libc_mallinfo): Accumulate over all arenas.
17295         (__malloc_stats): Adjust for change in int_mallinfo interface.
17297 2012-05-16  Roland McGrath  <roland@hack.frob.com>
17299         [BZ #10375]
17300         * configure.in (NM): Add AC_CHECK_TOOL for it.
17301         (libc_extra_cflags): New substituted variable.
17302         Check for -fstack-protector being used implicitly.
17303         * configure: Regenerated.
17304         * config.make.in (config-extra-cflags): New variable,
17305         gets @libc_extra_cflags@.
17306         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17308         [BZ #10375]
17309         * configure.in: Check for _FORTIFY_SOURCE being predefined.
17310         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17311         * configure: Regenerated.
17312         * config.make.in (CPPUNDEFS): New substituted variable.
17313         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17314         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17315         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17317 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17319         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17320         (mq_attr): Use __syscall_slong_t.
17322 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17324         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17325         Check __x86_64__ instead of __WORDSIZE.
17326         (_STAT_VER_LINUX): Likewise.
17327         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
17328         __syscall_ulong_t and __syscall_slong_t.
17329         (stat64): Likewise.
17331 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17333         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17335 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17337         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17339 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17341         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17342         __syscall_ulong_t.
17344         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17345         include <bits/wordsize.h>.  Check __x86_64__ instead of
17346         __WORDSIZE.
17347         (greg_t): Use "__extension__ long long int" if __x86_64__ is
17348         defined.
17349         (mcontext_t): Replace "unsigned long" with "unsigned long long".
17351         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17352         include <bits/wordsize.h>.  Check __x86_64__ instead of
17353         __WORDSIZE.
17354         (user_regs_struct): Use "__extension__ unsigned long long"
17355         instead of "unsigned long" if __x86_64__ is defined.
17356         (user): Likewise.  Pad after pointer field if __ILP32__ is
17357         defined.
17359 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
17361         * configure.in (makeinfo): Require version 4.5 or later.  Allow
17362         versions 5 to 9.
17363         * configure: Regenerated.
17364         * manual/install.texi (texinfo): Increase version requirement to
17365         4.5 or later.
17366         * INSTALL: Regenerated.
17368         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17370 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
17372         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17374         * sysdeps/x86_64/x32/ffs.c: New file.
17376         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17377         __syscall_ulong_t.
17378         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17379         defined.  Use __syscall_ulong_t.
17380         (shminfo): Use __syscall_ulong_t.
17381         (shm_info): Likewise.
17383         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17384         __syscall_ulong_t.
17386         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17387         <bits/wordsize.h>.
17388         (msgqnum_t): Use __syscall_ulong_t.
17389         (msglen_t): Likewise.
17390         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
17391         __syscall_ulong_t.
17393         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17394         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17396         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17398         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17399         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17401         * sysvipc/sys/msg.h (msgbuf): Replace long int with
17402         __syscall_slong_t.
17404         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17405         include <bits/wordsize.h>.  Check __x86_64__ instead of
17406         __WORDSIZE.
17408         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17409         "unsigned long long int" if __x86_64__ is defined.
17410         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17412         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17413         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
17414         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17416         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17417         <stdint.h>.
17418         (GET_PC): Cast to uintptr_t first.
17419         (GET_FRAME): Likewise.
17420         (GET_STACK): Likewise.
17422         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17423         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17424         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17425         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17426         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17427         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17428         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17429         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17430         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17431         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17432         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17433         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17434         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17435         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17436         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17437         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17438         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17439         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17440         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17441         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17442         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17443         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17444         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17445         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17446         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17447         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17448         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17449         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17450         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17452 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
17454         * Makerules (+depfiles): Also collect depfiles from .oS in
17455         $(extra-objs).
17456         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17457         .oS, $(libnldbl-routines)).
17459         * Makerules (native-compile-mkdep-flags): Define.
17460         * sunrpc/Makefile (extra-objs): Add $(addprefix
17461         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17462         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17463         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
17464         calling $(make-target-directory).
17466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17468         * bits/types.h (__snseconds_t): Removed.
17469         * time/time.h (struct timespec): Replace __snseconds_t with
17470         __syscall_slong_t.
17471         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17472         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17473         Likewise.
17474         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17475         (__SNSECONDS_T_TYPE): Likewise.
17476         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17477         (__SNSECONDS_T_TYPE): Likewise.
17478         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17479         (__SNSECONDS_T_TYPE): Likewise.
17481 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17483         * sysdeps/mach/hurd/bits/typesizes.h
17484         (__SYSCALL_SLONG_TYPE): New macro.
17485         (__SYSCALL_ULONG_TYPE): Likewise.
17487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17489         * bits/types.h (__syscall_slong_t): New type.
17490         (__syscall_ulong_t): Likewise.
17492         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17493         (__SYSCALL_ULONG_TYPE): Likewise.
17494         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17495         (__SYSCALL_SLONG_TYPE): Likewise.
17496         (__SYSCALL_ULONG_TYPE): Likewise.
17497         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17498         (__SYSCALL_SLONG_TYPE): Likewise.
17499         (__SYSCALL_ULONG_TYPE): Likewise.
17500         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17501         (__SYSCALL_SLONG_TYPE): Likewise.
17502         (__SYSCALL_ULONG_TYPE): Likewise.
17504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17506         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17507         Add sigaltstack-offsets.sym.
17508         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17509         <sigaltstack-offsets.h>.
17510         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
17511         longjmp_msg pointer.
17512         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
17513         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17514         signal stack.
17515         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17517 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17519         * elf/stackguard-macros.h: Remove file.
17520         * sysdeps/generic/stackguard-macros.h: New file.
17521         * sysdeps/i386/stackguard-macros.h: Likewise.
17522         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17523         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17524         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17525         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17526         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17527         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17528         * sysdeps/x86_64/stackguard-macros.h: Likewise.
17529         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17530         <elf/stackguard-macros.h>.
17532         [BZ #14109]
17533         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17534         __aligned__ in attribute.
17535         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17536         (gregset_t): Likewise.
17538 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17540         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17541         * sysdeps/x86_64/64/Implies-after: Here.  New file.
17542         * sysdeps/x86_64/x32/Implies-after: New file.
17544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17546         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17547         and access return value for _dl_profile_fixup.  Use R10_LP to
17548         load frame size.
17550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17552         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17554 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17556         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17557         * sysdeps/x86_64/x32/sysdep.h: New file.
17559 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17561         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17562         * sysdeps/x86_64/setjmp.S: Likewise.
17564 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17566         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17567         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17568         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17569         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17570         remove unused global constant.
17572 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
17574         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17575         include of <not-cancel.h>.
17577 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17579         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17581 2012-05-15  Jeff Law  <law@redhat.com>
17582             Andreas Jaeger  <aj@suse.de>
17584         [BZ #13594]
17585         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17586         out from...
17587         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17588         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17589         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17590         code changing __hst_map_handle.map.
17592 2012-05-15  Roland McGrath  <roland@hack.frob.com>
17594         * configure.in (sysnames): Look for Implies-before and Implies-after
17595         files.
17596         * configure: Regenerated.
17598 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17600         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17601         8-byte data alignment with LP_SIZE alignment.
17603 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17605         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17606         into R10_LP.
17608 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17610         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17614         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17615         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17616         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17617         Likewise.
17618         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17620 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17622         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17623         (stackinfo_sub_sp): Likewise.
17625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17627         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17628         RAX_LP.
17630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17632         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17633         into R*_LP.
17635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17637         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17638         sizes into R*_LP.
17640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17642         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17644 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17646         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17647         into R11_LP and load __x86_64_shared_cache_size_half into
17648         R8_LP.
17650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
17652         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17653         R8_LP.
17655 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17657         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17658         logb for POWER7.
17659         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17660         logbf for POWER7.
17661         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17662         logbl for POWER7.
17663         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17664         powerpc32/power7/fpu/s_logb.c via #include.
17665         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17666         powerpc32/power7/fpu/s_logbf.c via #include.
17667         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17668         powerpc32/power7/fpu/s_logbl.c via #include.
17670 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
17672         * README.libm: Remove file.
17674 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17676         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17677         count for x32.  Use R*_LP and omit operand-size suffix.
17679 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17681         * shlib-versions: Move x86_64-.*-linux.* entries to ...
17682         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
17683         * sysdeps/x86_64/x32/shlib-versions: New file.
17685 2012-05-14  Roland McGrath  <roland@hack.frob.com>
17687         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17688         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17689         Use _dl_fatal_printf instead.
17691 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17693         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17694         set if not set by the user.  Do not allow for being unset.
17695         * sysdeps/unix/sysv/linux/configure: Regenerated.
17697 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17699         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17700         the `q' suffix from lea and replace .quad with ASM_ADDR.
17702 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17704         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17705         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
17706         instead of $17.
17707         (PTR_DEMANGLE): Likewise.
17709 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17711         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17712         (LP_OP): Likewise.
17713         (ASM_ADDR): Likewise.
17714         (RAX_LP): Likewise.
17715         (RBP_LP): Likewise.
17716         (RBX_LP): Likewise.
17717         (RCX_LP): Likewise.
17718         (RDI_LP): Likewise.
17719         (RSI_LP): Likewise.
17720         (RSP_LP): Likewise.
17721         (R8_LP): Likewise.
17722         (R9_LP): Likewise.
17723         (R10_LP): Likewise.
17724         (R10_LP): Likewise.
17725         (R11_LP): Likewise.
17726         (R12_LP): Likewise.
17727         (R13_LP): Likewise.
17728         (R14_LP): Likewise.
17729         (R15_LP): Likewise.
17731 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17733         * sysdeps/x86_64/x32/dl-machine.h: New file.
17735 2012-05-14  Andreas Jaeger  <aj@suse.de>
17737         * manual/Makefile (subdir): Remove export of subdir.
17738         (all): Remove target.
17739         (.PHONY): Remove all from list.
17740         (mkinstalldirs): Remove.
17741         (.PHONY): Remove installdirs from list.
17742         ($(inst_infodir)/libc.info): Use make-target-directory.
17743         (installdirs): Remove.
17744         (subdir_%): Remove.
17745         (glibc-targets): Remove.
17746         (lib): Remove.
17747         (stubs): Remove.
17748         ($(objpfx)stubs ../po/manual.pot): Remove.
17749         ($(objpfx)stamp%): Remove.
17750         (make-target-directory): Remove.
17751         (subdir_install): Remove.
17752         (routines): Remove.
17753         (aux): Remove.
17754         (sources): Remove.
17755         (objects): Remove.
17756         (headers): Remove.
17758         [BZ #13750]
17759         * manual/.gitignore: Remove, it's not needed anymore.
17760         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17761         all files in it.
17762         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17763         directory.
17764         (texis): Renamed to $(objpfx)texis.
17765         (texis-path): New, contains path to generated files.
17766         (chapters.%): Use texis-path for complete path, add extra argument
17767         libc-texinfo.sh.
17768         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17769         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17770         (summary,texi, stamp-summary): Use complete path of
17771         files. Generate files in build dir.
17772         (dir-add.texi): Build in build dir.
17773         (libm-err.texi,stamp-libm-err): Likewise.
17774         (version.texi, stamp-version): Likewise.
17775         (.%c.texi): Likewise.
17776         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17777         (mostlyclean): Remove target.
17778         (realclean): Remove target.
17779         (generated): Add new variable with contents from mostlyclean and
17780         realclean, remove entries duplicated in common-mostlyclean, add
17781         stamp-libm-err and stamp-version.
17782         (generated-dirs): Add libc directory.
17783         ($(inst_infodir)/libc.info): Install files from build dir.
17785         * manual/install.texi (Configuring and compiling): Adjust since
17786         the info files are not part of the tar ball anymore.
17788 2012-05-14  Andreas Jaeger  <aj@suse.de>
17790         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17791         variable.
17793 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
17795         [BZ #13717]
17796         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17797         to 2.2.0 where earlier.
17798         * sysdeps/unix/sysv/linux/configure: Regenerated.
17799         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17800         Remove conditional code.
17801         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17802         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17803         Remove conditional code.
17804         [!__NR_lchown]: Likewise.
17805         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17806         [__NR_lchown]: Likewise.
17807         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17808         comment referencing __ASSUME_LCHOWN_SYSCALL.
17809         * sysdeps/unix/sysv/linux/i386/sigaction.c
17810         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17811         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17812         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17813         Remove conditional code.
17814         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17815         (__protocol_available): Remove #if 0 code.
17816         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17817         conditional code.
17818         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17819         * sysdeps/unix/sysv/linux/kernel-features.h
17820         (__ASSUME_GETCWD_SYSCALL): Don't define.
17821         (__ASSUME_REALTIME_SIGNALS): Likewise.
17822         (__ASSUME_PREAD_SYSCALL): Likewise.
17823         (__ASSUME_PWRITE_SYSCALL): Likewise.
17824         (__ASSUME_POLL_SYSCALL): Likewise.
17825         (__ASSUME_LCHOWN_SYSCALL): Likewise.
17826         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17827         non-SPARC.
17828         (__ASSUME_SIOCGIFNAME): Don't define.
17829         (__ASSUME_MSG_NOSIGNAL): Likewise.
17830         (__ASSUME_SENDFILE): Define unconditionally.
17831         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17832         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17833         conditional code.
17834         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17835         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17836         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17837         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17838         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17839         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17840         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17842         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17843         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17845         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17846         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17848         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17849         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17851         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17852         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17854         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17855         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17857         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17858         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17860         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17861         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17863         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17864         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17865         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17866         Remove conditional code.
17867         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17868         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17869         Remove conditional code.
17870         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17871         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17872         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17873         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17874         Remove conditional code.
17875         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17876         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17877         Remove conditional code.
17878         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17879         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17880         Remove conditional code.
17881         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17882         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17883         Remove conditional code.
17884         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17885         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17886         Remove conditional code.
17887         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17888         * sysdeps/unix/sysv/linux/sh/pwrite64.c
17889         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17890         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17891         * sysdeps/unix/sysv/linux/sigaction.c
17892         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17893         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17894         * sysdeps/unix/sysv/linux/sigpending.c
17895         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17896         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17897         * sysdeps/unix/sysv/linux/sigprocmask.c
17898         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17899         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17900         * sysdeps/unix/sysv/linux/sigsuspend.c
17901         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17902         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17903         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17904         (__libc_missing_rt_sigs): Remove.
17905         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17906         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17907         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17908         Remove conditional code.
17909         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17910         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17911         return 1.
17912         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17913         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17914         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17915         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17917 2012-05-14  Andreas Jaeger  <aj@suse.de>
17919         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17920         it's not used in glibc.
17921         (__coshm1): Likewise.
17922         (__acosh1p): Likewise.
17923         (__sgn): Likewise.
17925         * manual/string.texi (Copying and Concatenation): Add missing
17926         variable in concat example.
17927         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17929 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17931         [BZ #14103]
17932         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17933         __builtin_clzl with __builtin_clzll.
17935 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
17937         [BZ #14104]
17938         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17939         libc_freeres_ptr.
17941 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17943         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17944         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17945         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17946         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17948 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
17950         * NEWS: Update ia64 info.
17952 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
17954         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17955         used as bcopy.
17957 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
17959         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17960         * sysdeps/unix/syscalls.list (dup3): Likewise.
17961         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17962         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17964 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17966         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17967         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17969 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
17971         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17972         thread pointer.
17973         (TLS_IE): Use mov/add instead of movq/addq to load thread
17974         pointer.
17975         (TLS_GD_PREFIX): New.
17976         (TLS_GD): Use it.
17978 2012-05-11  David S. Miller  <davem@davemloft.net>
17980         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17981         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17982         (_FPU_SETCW): Likewise.
17984 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
17986         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17987         is 32-byte aligned.
17989 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
17991         [BZ #11837]
17992         * iconvdata/gb18030.c: Update tables.
17993         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
17994         characters specially.
17995         (BODY for TO_LOOP): Add encoding of missing ranges.
17997 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
17999         [BZ #13673]
18000         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18001         * sysdeps/mach/hurd/dup3.c: Likewise.
18002         * sysdeps/mach/hurd/readlinkat.c: Likewise.
18003         * sysdeps/powerpc/memmove.c:: Likewise.
18005 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18007         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18008         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18010 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18012         * elf/elf.h (R_X86_64_RELATIVE64): New.
18013         (R_X86_64_NUM): Updated.
18014         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18015         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
18016         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18017         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18018         tst-quad1pie tst-quad2pie
18019         (modules-names): Add tst-quadmod1 tst-quadmod2.
18020         ($(objpfx)tst-quad1): New dependency.
18021         ($(objpfx)tst-quad2): Likewise.
18022         ($(objpfx)tst-quad1pie): Likewise.
18023         ($(objpfx)tst-quad2pie): Likewise.
18024         * sysdeps/x86_64/tst-quad1.c: New file.
18025         * sysdeps/x86_64/tst-quad1pie.c: New file.
18026         * sysdeps/x86_64/tst-quad2.c: Likewise.
18027         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18028         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18029         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18030         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18031         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18033 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18035         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18036         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18037         * streams/stropts.h (t_scalar_t): Define type.
18039         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18040         (_PATH_PRESERVE): Set to "/var/lib".
18041         (_PATH_RWHODIR): Set to "/var/spool/rwho".
18043         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18044         instead of int.
18046         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18047         if __dir_mkfile succeeded.
18049         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18050         checking for _hurd_dtablesize.  Unlock it right after having
18051         finished _hurd_dtable allocation.
18053 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18055         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18056         * sysdeps/mach/hurd/configure: Regenerated.
18057         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18058         special-casing to...
18059         * sysdeps/gnu/configure.in: ... this new file.
18060         * sysdeps/unix/sysv/linux/configure: Regenerated.
18061         * sysdeps/gnu/configure: New generated file.
18063         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18064         for Linux: use nsec instead of usec, as well as:
18065         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18066         members of type struct timespec.
18067         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18068         New macros.
18069         (struct stat64): Likewise.
18070         (_STATBUF_ST_NSEC): New macro.
18071         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18073         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18074         __strtoul_internal rather than strtoul.
18076 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18078         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18079         and reject them.
18081 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18083         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18084         which preserves existing values.
18085         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18087 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18089         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18090         TIMEOUT values.  Return EINVAL for NFDS values either negative or
18091         greater than FD_SETSIZE.
18093 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18095         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18096         allocated, call __vm_protect to finish enabling the existing space, and
18097         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18098         allocate the remainder.
18100 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18102         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18103         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
18105 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18107         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18108         sysdeps/mach/hurd/readlink.c.
18110         * posix/tst-sysconf.c (posix_options): Only use
18111         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18112         _POSIX_SYNCHRONIZED_IO when they are defined
18113         * sysdeps/mach/hurd/bits/posix_opt.h:
18114         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18115         (_XOPEN_REALTIME): Undefine macro.
18116         (_XOPEN_REALTIME_THREADS): Undefine macro.
18117         (_XOPEN_SHM): Undefine macro.
18118         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18119         macro to -1.
18120         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18121         macro to -1.
18122         (_POSIX_ASYNC_IO): Undefine macro.
18123         (_POSIX_PRIORITIZED_IO): Undefine macro.
18124         (_POSIX_SPIN_LOCKS): Define macro to -1.
18126         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18127         SA_NODEFER, SA_RESETHAND.
18128         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18129         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18130         F_DUPFD_CLOEXEC.
18132 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18134         * elf/Makefile (pldd-modules): Define unconditionally.
18136 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18138         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18140 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18142         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18143         Return ENOENT when name is empty.
18144         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18146 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18148         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18150         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18152 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18154         Fix mlock in all cases except non-readable pages.
18155         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18156         instead of VM_PROT_ALL as parameter to __vm_wire function.
18158         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18159         (__mkdir): When path is `/', just fail with EEXIST.
18160         * sysdeps/mach/hurd/mkdirat.c: Likewise.
18162 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18164         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18165         <sys/uio.h> (for writev).
18166         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18167         and <sys/param.h> (for MIN).
18169 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18171         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18172         REQUESTED_TIME.  Properly set the remaining time and return EINTR
18173         if interrupted.
18175 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18177         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18178         Depend on against $(link-rpcuserlibs).
18180 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18182         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18183         (__libc_stack_end): Do not use attribute_relro.
18184         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18185         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18186         to libthread-provided value.
18187         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18188         attribute_relro.
18190 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18192         [BZ #3748]
18193         * bits/libc-lock.h (__libc_once_get): New macro.
18194         * sysdeps/mach/bits/libc-lock.h: Likewise.
18195         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18196         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18197         instead of using implementation details.
18199         * libio/fileops.c: Unconditionally include <kernel-features.h>.
18200         * libio/freopen.c: Likewise.
18201         * libio/freopen64.c: Likewise.
18202         * misc/syslog.c: Likewise.
18203         * nscd/connections.c: Likewise.
18204         * nscd/netgroupcache.c: Likewise.
18205         * sysdeps/posix/getcwd.c: Likewise.
18207 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18209         * math/w_ilogbf.c: Add #include <limits.h>.
18211 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18213         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18214         path instead of returning without unlocking.
18216         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18217         immediate-write ioctls.
18218         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18220 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18222         * sysdeps/mach/hurd/i386/init-first.c (init): Use
18223         __builtin_frame_address instead of making assumptions about the
18224         location of the return address relative to DATA.  Force early load of
18225         the return address.
18226         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18227         __builtin_frame_address.
18229         dup3 for GNU Hurd.
18230         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18231         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
18232         implement dup3 and do some further code clean-ups.
18233         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18234         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18236 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18238         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18240         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18241         HURD_CRITICAL_END around holding _hurd_dtable_lock.
18242         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18243         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18244         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18245         d->port.lock.
18247         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18248         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
18249         when handler == SIG_ERR, not when handler != SIG_ERR.
18251 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18253         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18254         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18255         definitions.
18257         accept4 for GNU Hurd.
18258         * include/sys/socket.h (__libc_accept4): New prototype.
18259         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
18260         to implement __libc_accept4.
18261         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18262         __libc_accept4.
18263         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18265         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18266         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18267         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18268         signal-defines.sym.
18270 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18272         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18274 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
18276         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18277         assertion on O_CLOEXEC flag.
18278         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18279         * hurd/intern-fd.c: Likewise.
18280         * hurd/port2fd.c: Likewise.
18282 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18284         [BZ #3906]
18285         * bits/in.h (IPV6_PKTINFO): Define new macro.
18286         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18288 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18290         [BZ #13954]
18291         [BZ #13955]
18292         [BZ #13956]
18293         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18294         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18295         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18296         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18297         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18298         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18299         * math/libm-test.inc (logb_test) : Additional logb tests.
18301 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
18302             Andreas Jaeger  <aj@suse.de>
18304         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18305         * configure: Regenerated.
18306         * config.h.in (LINK_OBSOLETE_RPC): New macro.
18307         * config.make.in (link-obsolete-rpc): New substituted variable.
18308         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18309         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18310         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18311         (shared-only-routines): Don't set it under [link-obsolete-rpc],
18312         so that libc.a contains the symbols.
18313         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18314         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18315         * sunrpc/auth_none.c: Likewise.
18316         * sunrpc/auth_unix.c: Likewise.
18317         * sunrpc/authdes_prot.c: Likewise.
18318         * sunrpc/authuxprot.c: Likewise.
18319         * sunrpc/clnt_gen.c: Likewise.
18320         * sunrpc/clnt_perr.c: Likewise.
18321         * sunrpc/clnt_raw.c: Likewise.
18322         * sunrpc/clnt_simp.c: Likewise.
18323         * sunrpc/clnt_tcp.c: Likewise.
18324         * sunrpc/clnt_udp.c: Likewise.
18325         * sunrpc/clnt_unix.c: Likewise.
18326         * sunrpc/des_crypt.c: Likewise.
18327         * sunrpc/des_soft.c: Likewise.
18328         * sunrpc/get_myaddr.c: Likewise.
18329         * sunrpc/key_call.c: Likewise.
18330         * sunrpc/key_prot.c: Likewise.
18331         * sunrpc/netname.c: Likewise.
18332         * sunrpc/pm_getmaps.c: Likewise.
18333         * sunrpc/pm_getport.c: Likewise.
18334         * sunrpc/pmap_clnt.c: Likewise.
18335         * sunrpc/pmap_prot.c: Likewise.
18336         * sunrpc/pmap_prot2.c: Likewise.
18337         * sunrpc/pmap_rmt.c: Likewise.
18338         * sunrpc/publickey.c: Likewise.
18339         * sunrpc/rpc_cmsg.c: Likewise.
18340         * sunrpc/rpc_common.c: Likewise.
18341         * sunrpc/rpc_dtable.c: Likewise.
18342         * sunrpc/rpc_prot.c: Likewise.
18343         * sunrpc/rpc_thread.c: Likewise.
18344         * sunrpc/rtime.c: Likewise.
18345         * sunrpc/svc.c: Likewise.
18346         * sunrpc/svc_auth.c: Likewise.
18347         * sunrpc/svc_raw.c: Likewise.
18348         * sunrpc/svc_run.c: Likewise.
18349         * sunrpc/svc_tcp.c: Likewise.
18350         * sunrpc/svc_udp.c: Likewise.
18351         * sunrpc/svc_unix.c: Likewise.
18352         * sunrpc/svcauth_des.c: Likewise.
18353         * sunrpc/xcrypt.c: Likewise.
18354         * sunrpc/xdr.c: Likewise.
18355         * sunrpc/xdr_array.c: Likewise.
18356         * sunrpc/xdr_float.c: Likewise.
18357         * sunrpc/xdr_intXX_t.c: Likewise.
18358         * sunrpc/xdr_mem.c: Likewise.
18359         * sunrpc/xdr_rec.c: Likewise.
18360         * sunrpc/xdr_ref.c: Likewise.
18361         * sunrpc/xdr_sizeof.c: Likewise.
18362         * sunrpc/xdr_stdio.c: Likewise.
18364 2012-05-10  Roland McGrath  <roland@hack.frob.com>
18366         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18367         change.  Update copyright years.
18369 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18371         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18373 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
18374             Joseph Myers  <joseph@codesourcery.com>
18375             Paul Pluzhnikov  <ppluzhnikov@google.com>
18377         [BZ #14012]
18378         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18379         requiring rpcgen.
18380         [cross-compiling] (extra-libs): Likewise.
18381         [cross-compiling] (extra-libs-others): Likewise.
18382         [cross-compiling] (librpcsvc-routines): Likewise.
18383         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18384         [cross-compiling] (omit-deps): Likewise.
18385         (sunrpc-CPPFLAGS): New variable.
18386         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18387         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18388         (cross-rpcgen-objs): New variable.
18389         (extra-objs): Append $(cross-rpcgen-objs).
18390         ($(cross-rpcgen-objs)): New rule.
18391         ($(objpfx)cross-rpcgen): Likewise.
18392         (rpcgen-cmd): Define to use $(built-program-file).  Expand
18393         comment.
18394         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18395         ($(objpfx)x%.stmp): Likewise.
18396         * sunrpc/proto.h [IS_IN_build] (_): Define.
18397         [IS_IN_build] (_libc_intl_domainname): Likewise.
18399 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
18401         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18402         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18403         and R_X86_64_TPOFF64.
18405 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
18407         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18408         sysdeps/unix/sysv/syscalls.list.
18409         (stime): Likewise.
18410         (utime): Likewise.
18411         * sysdeps/unix/sysv/syscalls.list: Remove file.
18413 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
18415         [BZ #3440]
18416         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18417         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18418         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18419         (__LC_IDENTIFICATION): Make these macros useful in #if
18420         expressions, as required by C99.
18422 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
18424         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18425         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
18426         after this.
18428 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
18430         * stdlib/longlong.h: Updated from GCC.
18432 2012-05-09  Andreas Jaeger  <aj@suse.de>
18434         * nscd/nscd.c (run_modes): Make named enum, reorder so that
18435         default is first entry.
18436         (run_mode): Set type.
18437         (main): Remove informal message about syslog.
18438         (options): Fix typo.
18440         [BZ #14053]
18441         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18442         to asm.
18443         (lrint): Likewise.
18444         (llrintf): Likewise.
18445         (llrint): Likewise.
18446         (rint): Likewise.
18447         (rintf): Likewise.
18448         (nearbyint): Likewise.
18449         (nearbyintf): Likewise.
18451 2012-05-09  Andreas Jaeger  <aj@suse.de>
18452             Pedro Alves  <palves@redhat.com>
18454         * nscd/nscd.c (run_mode): Use enum.
18455         (main): Cleanup coding style issue.
18457 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
18458             Andreas Jaeger  <aj@suse.de>
18460         * nscd/nscd.c (go_background): Replaced with...
18461         (run_mode): ... this.
18462         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18463         (options): Add -F --foreground.
18464         (main): Implement it.
18465         (parse_opt): Parse it.
18467 2012-05-09  Andreas Jaeger  <aj@suse.de>
18469         [BZ #14083]
18470         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18471         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18472         -Wconversion warning.
18473         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18474         Likewise.
18476 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
18478         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
18479         == 0.
18480         (LC_ALL): Use macro-int-constant.
18481         (LC_COLLATE): Likewise.
18482         (LC_CTYPE): Likewise.
18483         (LC_MESSAGES): Likewise.
18484         (LC_MONETARY): Likewise.
18485         (LC_NUMERIC): Likewise.
18486         (LC_TIME): Likewise.
18487         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18488         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18489         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18490         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18491         Specify type.
18492         [C99-based standards] (float_t): Expect type.
18493         [C99-based standards] (double_t): Expect type.
18494         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
18495         type.
18496         [C99-based standards] (HUGE_VALL): Likewise.
18497         [C99-based standards] (INFINITY): Likewise.
18498         [C99-based standards] (NAN): Likewise.
18499         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18500         [C99-based standards] (FP_NAN): Likewise.
18501         [C99-based standards] (FP_NORMAL): Likewise.
18502         [C99-based standards] (FP_SUBNORMAL): Likewise.
18503         [C99-based standards] (FP_ZERO): Likewise.
18504         [C99-based standards] (FP_FAST_FMA): Use
18505         optional-macro-int-constant.  Specify type.  Require == 1.
18506         [C99-based standards] (FP_FAST_FMAF): Likewise.
18507         [C99-based standards] (FP_FAST_FMAL): Likewise.
18508         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18509         [C99-based standards] (FP_ILOGBNAN): Likewise.
18510         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18511         Specify type.
18512         [C99-based standards] (MATH_ERREXCEPT): Likewise.
18513         [C99-based standards] (math_errhandling): Specify type.
18514         [ISO99 || ISO11] (signgam): Do not allow.
18515         [non-C99-based standards] (copysignf): Do not allow.
18516         [non-C99-based standards] (exp2f): Likewise.
18517         [non-C99-based standards] (log2f): Likewise.
18518         [non-C99-based standards] (modff): Allow.
18519         [non-C99-based standards] (erff): Do not allow.
18520         [non-C99-based standards] (erfcf): Likewise.
18521         [non-C99-based standards] (gammaf): Likewise.
18522         [non-C99-based standards] (hypotf): Likewise.
18523         [non-C99-based standards] (j0f): Likewise.
18524         [non-C99-based standards] (j1f): Likewise.
18525         [non-C99-based standards] (jnf): Likewise.
18526         [non-C99-based standards] (lgammaf): Likewise.
18527         [non-C99-based standards] (tgammaf): Likewise.
18528         [non-C99-based standards] (y0f): Likewise.
18529         [non-C99-based standards] (y1f): Likewise.
18530         [non-C99-based standards] (ynf): Likewise.
18531         [non-C99-based standards] (isnanf): Likewise.
18532         [non-C99-based standards] (acoshf): Likewise.
18533         [non-C99-based standards] (asinhf): Likewise.
18534         [non-C99-based standards] (atanhf): Likewise.
18535         [non-C99-based standards] (cbrtf): Likewise.
18536         [non-C99-based standards] (expm1f): Likewise.
18537         [non-C99-based standards] (ilogbf): Likewise.
18538         [non-C99-based standards] (log1pf): Likewise.
18539         [non-C99-based standards] (logbf): Likewise.
18540         [non-C99-based standards] (nextafterf): Likewise.
18541         [non-C99-based standards] (remainderf): Likewise.
18542         [non-C99-based standards] (rintf): Likewise.
18543         [non-C99-based standards] (scalbf): Likewise.
18544         [non-C99-based standards] (copysignl): Likewise.
18545         [non-C99-based standards] (exp2l): Likewise.
18546         [non-C99-based standards] (log2l): Likewise.
18547         [non-C99-based standards] (modfl): Allow.
18548         [non-C99-based standards] (erfl): Do not allow.
18549         [non-C99-based standards] (erfcl): Likewise.
18550         [non-C99-based standards] (gammal): Likewise.
18551         [non-C99-based standards] (hypotl): Likewise.
18552         [non-C99-based standards] (j0l): Likewise.
18553         [non-C99-based standards] (j1l): Likewise.
18554         [non-C99-based standards] (jnl): Likewise.
18555         [non-C99-based standards] (lgammal): Likewise.
18556         [non-C99-based standards] (tgammal): Likewise.
18557         [non-C99-based standards] (y0l): Likewise.
18558         [non-C99-based standards] (y1l): Likewise.
18559         [non-C99-based standards] (ynl): Likewise.
18560         [non-C99-based standards] (isnanl): Likewise.
18561         [non-C99-based standards] (acoshl): Likewise.
18562         [non-C99-based standards] (asinhl): Likewise.
18563         [non-C99-based standards] (atanhl): Likewise.
18564         [non-C99-based standards] (cbrtl): Likewise.
18565         [non-C99-based standards] (expm1l): Likewise.
18566         [non-C99-based standards] (ilogbl): Likewise.
18567         [non-C99-based standards] (log1pl): Likewise.
18568         [non-C99-based standards] (logbl): Likewise.
18569         [non-C99-based standards] (nextafterl): Likewise.
18570         [non-C99-based standards] (remainderl): Likewise.
18571         [non-C99-based standards] (rintl): Likewise.
18572         [non-C99-based standards] (scalbl): Likewise.
18573         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18574         [non-C99-based standards] (FP_*): Do not allow.
18575         [C99-based standards] (FP_*): Change to
18576         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18577         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18578         allow.
18579         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18580         (SIG_ERR): Likewise.
18581         [X/Open-based standards] (SIG_HOLD): Likewise.
18582         (SIG_IGN): Likewise.
18583         (SIGABRT): Use macro-int-constant.  Specify type.  Require
18584         positive value.
18585         (SIGFPE): Likewise.
18586         (SIGILL): Likewise.
18587         (SIGINT): Likewise.
18588         (SIGSEGV): Likewise.
18589         (SIGTER): Likewise.
18590         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18591         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18592         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18593         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18594         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18595         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18596         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18597         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18598         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18599         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18600         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18601         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18602         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18603         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18604         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18605         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18606         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18607         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18608         [X/Open-based standards] (SIGTRAP): Likewise.
18609         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18610         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18611         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18612         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18613         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18614         allow.
18616 2012-05-08  Ian Wienand  <ianw@vmware.com>
18618         [BZ #14080]
18619         * time/tzset.c (__tzset_parse_tz): Update default rules for
18620         daylight time changes in the Energy Policy Act of 2005.
18622 2012-05-09  Andreas Jaeger  <aj@suse.de>
18624         [BZ #13983]
18625         * elf/ldconfig.c (parse_conf): Change string to make clear that
18626         ldconfig only issued a warning if ld.so.conf does not exist.
18628 2012-05-08  David S. Miller  <davem@davemloft.net>
18630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18631         movxtod instead of popping the value on the stack.
18633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18635 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
18637         * config.h.in: Add HAVE_ARM_PCS_VFP.
18639 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
18641         [BZ #13979]
18642         * include/features.h: Warn if user requests __FORTIFY_SOURCE
18643         checking but the checks are disabled for any reason.
18645 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
18647         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18648         and ELF64_R_TYPE with ELFW(R_TYPE).
18650 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
18652         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18653         (ulimit): Likewise.
18655         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18656         (settimeofday): Likewise.
18658 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
18660         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
18661         a struct th_u2 inside the union, and move tu_block/tu_code into
18662         a new th_u3 union of tu_block/tu_code inside of that.  Move
18663         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
18664         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
18665         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18666         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18667         (th_stuff): Change to th_u1.tu_stuff.
18668         (th_data): Define.
18669         (th_msg): Change to th_u1.th_u2.tu_data.
18671 2012-05-07  David S. Miller  <davem@davemloft.net>
18673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18675         [BZ #14074]
18676         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18677         (SETUP_PIC_REG): Use it.
18678         (SETUP_PIC_REG_LEAF): Use it.
18680 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
18682         [BZ #13885]
18683         [BZ #13923]
18684         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18685         USE_AS_EXPM1L.
18686         (EXPL_FINITE): Likewise.
18687         (FLDLOG): Likewise.
18688         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18689         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18690         e_expl.S.
18691         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18692         USE_AS_EXPM1L.
18693         (EXPL_FINITE): Likewise.
18694         (FLDLOG): Likewise.
18695         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18696         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18697         e_expl.S.
18698         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
18699         test of -max_value argument for long double.
18700         * sysdeps/i386/fpu/libm-test-ulps: Update.
18701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18703 2012-05-06  David S. Miller  <davem@davemloft.net>
18705         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18706         quad soft-float symbols whose references which are compiler
18707         generated.
18708         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18710 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
18712         [BZ #13884]
18713         [BZ #13914]
18714         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18715         USE_AS_EXP10L.
18716         (EXPL_FINITE): Likewise.
18717         (FLDLOG): Likewise.
18718         (c0): Likewise.
18719         (c1): Likewise.
18720         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18721         Adjust comments for base varying.
18722         (__expl_finite): Change alias to EXPL_FINITE.
18723         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18724         e_expl.S.
18725         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18726         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18727         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18728         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18729         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18730         USE_AS_EXP10L.
18731         (EXPL_FINITE): Likewise.
18732         (FLDLOG): Likewise.
18733         (c0): Likewise.
18734         (c1): Likewise.
18735         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
18736         Adjust comments for base varying.
18737         (__expl_finite): Change alias to EXPL_FINITE.
18738         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
18739         tests for bugs.
18740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18742         [BZ #14064]
18743         * math/libm-test.inc (check_float_internal): Correct ulp
18744         calculation for subnormal expected results.
18746 2012-05-06  Andreas Jaeger  <aj@suse.de>
18748         * Makeconfig (+math-flags): New, set to -frounding-math.
18749         (+cflags): Add +math-flags so that all of glibc gets compiled with
18750         it.
18752         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18754 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
18756         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18757         Disable one test.
18759         [BZ #13787]
18760         [BZ #13922]
18761         [BZ #14036]
18762         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18763         (__ieee754_expl): Allow for and saturate large arguments.
18764         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18765         (u_threshold): Likewise.
18766         (__exp): Call __ieee754_exp before checking for overflow and
18767         underflow.
18768         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18769         (u_threshold): Likewise.
18770         (__expf): Call __ieee754_expf before checking for overflow and
18771         underflow.
18772         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18773         (u_threshold): Likewise.
18774         (__expl): Call __ieee754_expl before checking for overflow and
18775         underflow.
18776         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18777         (__ieee754_expl): Allow for and saturate large arguments.
18778         * math/libm-test.inc (exp_test): Add another test.  Do not allow
18779         missing overflow exception on overflow.
18780         (expm1_test): Do not allow missing overflow exception on overflow.
18782         * sysdeps/i386/fpu/e_expl.c: Move to ...
18783         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
18784         rather than using inline asm.
18785         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18786         * sysdeps/x86_64/fpu/e_expl.S: Copy from
18787         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18789         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18790         (nice): Likewise.
18791         (poll): Likewise.
18792         (signal): Likewise.
18793         (time): Likewise.
18794         (times): Likewise.
18796 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18798         * sysdeps/unix/syscalls.list (adjtime): Add entry from
18799         sysdeps/unix/common/syscalls.list.
18800         (fchmod): Likewise.
18801         (fchown): Likewise.
18802         (ftruncate): Likewise.
18803         (getrusage): Likewise.
18804         (gettimeofday): Likewise.
18805         (setpgid): Likewise.
18806         (setregid): Likewise.
18807         (setreuid): Likewise.
18808         (sigaction): Likewise.
18809         (truncate): Likewise.
18810         (vhangup): Likewise.
18811         * sysdeps/unix/common/syscalls.list: Remove file.
18812         * sysdeps/unix/bsd/Implies: Don't include unix/common.
18813         * sysdeps/unix/sysv/linux/Implies: Likewise.
18815 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
18817         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18819         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18820         Moved to ...
18821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18822         Here.
18823         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18824         to ...
18825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18826         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18827         to ...
18828         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18829         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18830         to ...
18831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18832         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18833         to ...
18834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18835         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18836         to ...
18837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18838         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18839         to ...
18840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18841         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18842         to ...
18843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18844         Here.
18845         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18846         to ...
18847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18848         Here.
18849         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18850         to ...
18851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18852         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18853         Moved to ...
18854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18855         Here.
18856         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18857         to ...
18858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18860 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18862         * sysdeps/unix/common/bits/dirent.h: Remove file.
18863         * sysdeps/unix/common/bits/fcntl.h: Likewise.
18865         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18866         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18867         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18868         * sysdeps/unix/bsd/isatty.c: Likewise.
18869         * sysdeps/unix/bsd/tcdrain.c: Likewise.
18870         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18871         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18873 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18875         [BZ #13563]
18876         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18877         long double comparison inaccuracies.
18878         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18881 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
18883         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18884         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18886 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
18888         [BZ #14049]
18889         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18890         nonzero digits before rounding a hex value.
18891         * stdlib/tst-strtod.c (tests): Add another test.
18893 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18895         * sysdeps/s390/fpu/libm-test-ulps: Update.
18897 2012-05-03  Andreas Jaeger  <aj@suse.de>
18899         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18900         does not get optimized out.
18901         (malloc_opt_barrier): New.
18903 2012-05-03  Andreas Jaeger  <aj@suse.de>
18904             Roland McGrath  <roland@hack.frob.com>
18906         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18907         intermediate file deletion.
18908         (generated): Add .symlist files.
18910 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
18912         [BZ #13775]
18913         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18914         Redirect under this condition.
18915         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18916         [__USE_GNU] (__dprintf_chk): Not under this condition.
18917         [__USE_GNU] (__vdprintf_chk): Likewise.
18918         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18919         under this condition.
18920         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18921         [__USE_XOPEN2K8] (dprintf): Define under this condition.
18922         [__USE_XOPEN2K8] (vdprintf): Likewise.
18923         [__USE_GNU] (__dprintf_chk): Not under this condition.
18924         [__USE_GNU] (__vdprintf_chk): Likewise.
18925         [__USE_GNU] (dprintf): Likewise.
18926         [__USE_GNU] (vdprintf): Likewise.
18928 2012-05-03  Roland McGrath  <roland@hack.frob.com>
18930         * elf/Makefile (common-generated): Set this instead of generated for
18931         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
18932         $(all-built-dso)-derived lists.
18934 2012-05-03  Andreas Jaeger  <aj@suse.de>
18936         * sysdeps/i386/fpu/libm-test-ulps: Update.
18938         * FAQ: Removed.
18939         * FAQ.in: Likewise.
18940         * scripts/gen-FAQ.pl: Likewise.
18941         * manual/install.texi (Installation): Point to online location of
18942         FAQ.
18943         * Makefile (files-for-dist): Remove FAQ.
18944         (FAQ): Remove.
18946 2012-05-02  Allan McRae  <allan@archlinux.org>
18948         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18949         (LDFLAGS-reldepmod5.so): Likewise.
18950         (LDFLAGS-reldep6mod1.so): Likewise.
18951         (LDFLAGS-reldep6mod4.so): Likewise.
18952         (LDFLAGS-reldep8mod3.so): Likewise.
18953         (LDFLAGS-unload4mod1.so): Likewise.
18954         (LDFLAGS-unload4mod2.so): Likewise.
18955         (LDFLAGS-tst-initorder): Likewise.
18956         (LDFLAGS-tst-initordera2.so): Likewise.
18957         (LDFLAGS-tst-initordera3.so): Likewise.
18958         (LDFLAGS-tst-initordera4.so): Likewise.
18959         (LDFLAGS-tst-initorderb2.so): Likewise.
18960         (LDFLAGS-noload): Likewise.
18961         (LDFLAGS-next): Likewise.
18962         (LDFLAGS-order2mod1.so): Likewise.
18963         (LDFLAGS-order2mod2.so): Likewise.
18964         (LDFLAGS-tst-initorder2): Likewise.
18965         (LDFLAGS-tst-initorder2a.so): Likewise.
18966         (LDFLAGS-tst-initorder2b.so): Likewise.
18967         (LDFLAGS-tst-initorder2c.so): Likewise.
18968         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18970 2012-05-02  David S. Miller  <davem@davemloft.net>
18972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18974 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18976         [BZ #14055]
18977         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18979 2012-05-02  Andreas Jaeger  <aj@suse.de>
18981         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18982         since we manipulate rounding mode.
18983         (CPPFLAGS-test-idouble.c): Likewise.
18984         (CPPFLAGS-test-ifloat.c): Likewise.
18985         (CFLAGS-test-ldouble.c): Likewise.
18986         (CFLAGS-test-double.c): Likewise.
18987         (CFLAGS-test-float.c): Likewise.
18988         (CFLAGS-test-misc.c): Likewise.
18989         (CFLAGS-test-test-fenv.c): Likewise.
18991 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18993         [BZ #2550]
18994         [BZ #2570]
18995         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18996         comparisons to determine direction to adjust input.
18998 2012-05-01  Roland McGrath  <roland@hack.frob.com>
19000         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19001         output to the target.
19003         * scripts/localplt.awk: New file.
19004         * elf/Makefile ($(objpfx)check-localplt): Target removed.
19005         (check-localplt-CFLAGS): Variable removed.
19006         ($(all-built-dso:=.jmprel)): New static pattern rule.
19007         (generated): Add those targets.
19008         (localplt-built-dso): New variable.
19009         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19011         * elf/check-localplt.c: File removed.
19013         * scripts/check-execstack.awk: New file.
19014         * elf/Makefile ($(objpfx)check-execstack): Target removed.
19015         (check-execstack-CFLAGS): Variable removed.
19016         ($(objpfx)check-execstack.h): Target removed.
19017         ($(objpfx)execstack-default): New target.
19018         (generated): Add that instead of check-execstack.h.
19019         ($(all-built-dso:=.phdr)): New static pattern rule.
19020         (generated): Add those targets.
19021         * elf/check-execstack.c: File removed.
19023         * scripts/check-textrel.awk: New file.
19024         * elf/Makefile ($(objpfx)check-textrel): Target removed.
19025         (check-textrel-CFLAGS): Variable removed.
19026         (all-built-dso): Use := to define.o
19027         ($(all-built-dso:=.dyn)): New static pattern rule.
19028         (generated): Add those targets.
19029         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19030         * config.make.in (READELF): New substituted variable.
19031         * elf/check-textrel.c: File removed.
19033 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19035         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19036         allow.
19037         * conform/data/ctype.h-data [C99-based standards] (isblank):
19038         Expect function.
19039         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19040         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19041         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19042         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19043         Specify type.  Require positive value.
19044         (EILSEQ): Likewise.
19045         (ERANGE): Likewise.
19046         [ISO || POSIX] (EILSEQ): Do not expect.
19047         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19048         Specify type.  Require positive value.
19049         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19050         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19051         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19052         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19053         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19054         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19055         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19056         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19057         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19058         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19059         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19060         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19061         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19062         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19063         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19064         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19065         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19066         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19067         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19068         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19069         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19070         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19071         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19072         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19073         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19074         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19075         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19076         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19077         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19078         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19079         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19080         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19081         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19082         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19083         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19084         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19085         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19086         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19087         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19088         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19089         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19090         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19091         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19092         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19093         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19094         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19095         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19096         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19097         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19098         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19099         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19100         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19101         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19102         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19103         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19104         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19105         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19106         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19107         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19108         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19109         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19110         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19111         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19112         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19113         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19114         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19115         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19116         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19117         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19118         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19119         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19120         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19121         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19122         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19123         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19124         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19125         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19126         Require >= 2.
19127         (FLT_ROUNDS): Expect as macro, not constant.
19128         (FLT_MANT_DIG): Use macro-int-constant.
19129         (DBL_MANT_DIG): Likewise.
19130         (LDBL_MANT_DIG): Likewise.
19131         (FLT_DIG): Likewise.
19132         (DBL_DIG): Likewise.
19133         (LDBL_DIG): Likewise.
19134         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
19135         (DBL_MIN_EXP): Likewise.
19136         (LDBL_MIN_EXP): Likewise.
19137         (FLT_MAX_EXP): Use macro-int-constant.
19138         (DBL_MAX_EXP): Likewise.
19139         (LDBL_MAX_EXP): Likewise.
19140         (FLT_MAX_10_EXP): Likewise.
19141         (DBL_MAX_10_EXP): Likewise.
19142         (LDBL_MAX_10_EXP): Likewise.
19143         (FLT_MAX): Use macro-constant.
19144         (DBL_MAX): Likewise.
19145         (LDBL_MAX): Likewise.
19146         (FLT_EPSILON): Use macro-constant.  Give upper bound.
19147         (DBL_EPSILON): Likewise.
19148         (LDBL_EPSILON): Likewise.
19149         (FLT_MIN): Likewise.
19150         (DBL_MIN): Likewise.
19151         (LDBL_MIN): Likewise.
19152         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19153         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19154         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19155         [ISO11] (FLT_HAS_SUBNORM): Likewise.
19156         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19157         [ISO11] (DBL_DECIMAL_DIG): Likewise.
19158         [ISO11] (FLT_DECIMAL_DIG): Likewise.
19159         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19160         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19161         [ISO11] (FLT_TRUE_MIN): Likewise.
19162         [ISO11] (LDBL_TRUE_MIN): Likewise.
19163         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19164         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19165         (SCHAR_MIN): Use macro-int-constant.  Specify type.
19166         (SCHAR_MAX): Likewise.
19167         (UCHAR_MAX): Likewise.
19168         (CHAR_MIN): Likewise.
19169         (CHAR_MAX): Likewise.
19170         (MB_LEN_MAX): Use macro-int-constant.
19171         (SHRT_MIN): Use macro-int-constant.  Specify type.
19172         (SHRT_MAX): Likewise.
19173         (USHRT_MAX): Likewise.
19174         (INT_MAX): Likewise.
19175         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
19176         bound negative.
19177         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19178         bound with "U".
19179         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19180         bound with "L".
19181         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
19182         bound negative.  Suffix upper bound with "L".
19183         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
19184         bound with "UL".
19185         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19186         Specify type.
19187         [C99-based standards] (LLONG_MAX): Likewise.
19188         [C99-based standards] (ULLONG_MAX): Likewise.
19189         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
19190         == 0.
19191         [ISO11] (max_align_t): Require type.
19192         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19194         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19195         from $CFLAGS, without defining away __attribute__ calls.
19196         (checknamespace): Use $CFLAGS_namespace.
19198         * conform/conformtest.pl (@keywords): Only include C99 keywords
19199         for standards based on C99 or C11.
19201         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19202         Disable tests.
19203         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19204         UNIX98]: Likewise.
19206         * conform/conformtest.pl: Handle "macro-int-constant" and test for
19207         usability of symbols in #if.
19209         * conform/conformtest.pl: If macro or constant types start
19210         "promoted:", expect the symbol to be of the following type
19211         promoted by the integer promotions.
19213         * conform/conformtest.pl: Parse all "constant" and "macro" lines
19214         in one place.  Also handle "macro-constant".
19216         * conform/conformtest.pl: Only accept expected macro values with
19217         "==".  Parse all "macro" lines in one place.
19218         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19220         * conform/conformtest.pl: Handle braced types on "constant" lines
19221         instead of handling "typed-constant".
19222         * conform/data/signal.h-data: Use "constant" instead of
19223         "typed-constant".
19225         * conform/conformtest.pl: Handle "optional-" at start of lines in
19226         one place rather than duplicating several cases.  Handle each
19227         format of "macro" line with initial "optional-".
19229         * conform/conformtest.pl: Only accept expected constant or
19230         optional-constant values with "==".  Parse all "constant" lines in
19231         one place.  Parse all "optional-constant" lines in one place.
19232         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19233         * conform/data/fmtmsg.h-data: Likewise.
19234         * conform/data/netinet/in.h-data: Likewise.
19235         * conform/data/tar.h-data: Likewise.
19236         * conform/data/limits.h-data: Use "==" form on "constant" and
19237         "optional-constant" lines.
19239         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19240         Use -std=c99 for XOPEN2K.
19241         (@knownproblems): Remove.
19242         (newtoken): Don't check %isknown.
19244         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19245         Do not expect macro.
19246         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19247         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19248         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19249         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19250         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19251         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19252         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19253         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19254         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19255         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19256         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19257         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19258         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19259         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19260         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19261         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19262         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19263         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19264         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19265         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19266         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19267         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19268         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19269         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19270         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19271         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19272         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19273         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19274         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19275         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19276         [XPG3] (acosh): Likewise.
19277         [XPG3] (asinh): Likewise.
19278         [XPG3] (atanh): Likewise.
19279         [XPG3] (cbrt): Likewise.
19280         [XPG3] (expm1): Likewise.
19281         [XPG3] (ilogb): Likewise.
19282         [XPG3] (log1p): Likewise.
19283         [XPG3] (logb): Likewise.
19284         [XPG3] (nextafter): Likewise.
19285         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19286         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19287         [XPG3] (remainder): Likewise.
19288         [XPG3] (rint): Likewise.
19289         [XPG3 || XPG4 || UNIX98] (round): Likewise.
19290         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19291         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19292         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19293         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19294         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19295         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19296         [UNIX98 || XOPEN2K] (scalb): Expect.
19297         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19298         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19299         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19300         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19301         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19302         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19303         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19304         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19305         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19306         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19307         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19308         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19309         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19310         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19311         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19312         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19313         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19314         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19315         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19316         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19317         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19318         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19319         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19320         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19321         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19322         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19323         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19324         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19325         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19326         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19327         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19328         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19329         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19330         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19331         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19332         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19333         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19334         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19335         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19336         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19337         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19338         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19339         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19340         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19341         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19342         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19343         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19344         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19345         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19346         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19347         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19348         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19349         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19350         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19351         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19352         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19353         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19354         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19355         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19356         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19357         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19358         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19359         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19360         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19361         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19362         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19363         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19364         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19365         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19366         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19367         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19368         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19369         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19370         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19371         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19372         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19373         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19374         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19375         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19376         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19377         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19378         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19379         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19380         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19381         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19382         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19383         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19384         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19385         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19386         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19387         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19388         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19389         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19390         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19391         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19392         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19393         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19394         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19395         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19396         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19397         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19398         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19399         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19400         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19401         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19402         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19403         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19404         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19405         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19406         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19407         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19408         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19409         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19410         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19411         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19412         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19413         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19414         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19415         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19416         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19417         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19418         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19419         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19420         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19421         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19422         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19423         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19424         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19425         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19426         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19427         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19428         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19429         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19430         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19431         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19432         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19433         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19435         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19436         _XOPEN_SOURCE_EXTENDED for XPG4.
19438         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19440         * Makeconfig (localtime): Remove variable.
19441         (inst_localtime-file): Likewise.
19443 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19446         Update.
19447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19448         Update.
19449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19450         Update.
19451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19452         Update.
19453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19454         Update.
19455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19456         Update.
19457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19458         Update.
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19460         Update.
19461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19462         Update.
19464 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
19466         [BZ #2550]
19467         [BZ #2570]
19468         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19469         comparisons to determine direction to adjust input.
19470         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19471         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19472         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19473         Likewise.
19474         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19475         Likewise.
19476         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19477         Likewise.
19478         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19479         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19480         Likewise.
19481         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19482         Likewise.
19483         * math/libm-test.inc (nexttoward_test): Add more tests.
19485 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
19487         [BZ #14040]
19488         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19489         in version GLIBC_2.1, not GLIBC_2.0.
19490         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19491         Likewise.
19493 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
19495         [BZ #13942]
19496         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19497         (1 - x) * (1 + x).
19498         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19499         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19500         * math/libm-test.inc (acos_test): Add more tests.
19501         (asin_test): Likewise.
19502         * sysdeps/i386/fpu/libm-test-ulps: Update.
19503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19505         [BZ #14034]
19506         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19507         of square root.
19508         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19509         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19510         * math/libm-test.inc (acos_test_tonearest): New function.
19511         (acos_test_towardzero): Likewise.
19512         (acos_test_downward): Likewise.
19513         (acos_test_upward): Likewise.
19514         (asin_test_tonearest): Likewise.
19515         (asin_test_towardzero): Likewise.
19516         (asin_test_downward): Likewise.
19517         (asin_test_upward): Likewise.
19518         (main): Call the new functions.
19519         * sysdeps/i386/fpu/libm-test-ulps: Update.
19520         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19522         [BZ #13884]
19523         [BZ #13924]
19524         * math/e_exp10.c: Include <float.h>.
19525         (__ieee754_exp10): Handle underflow here rather than multiplying
19526         large negative argument by M_LN10.
19527         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19528         of __ieee754_expf.
19529         * math/e_exp10l.c: Include <float.h>.
19530         (__ieee754_exp10l): Handle underflow here rather than multiplying
19531         large negative argument by M_LN10l.
19532         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
19533         spurious overflow exception on underflow.
19535 2012-04-29  Marek Polacek  <polacek@redhat.com>
19537         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19538         (__fortify_function): New macro.
19539         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19540         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19541         __extern_always_inline.
19542         * libio/bits/stdio2.h: Likewise.
19543         * libio/bits/stdio.h: Likewise.
19544         * string/string.h: Likewise.
19545         * string/bits/string3.h: Likewise.
19546         * include/stdio.h: Likewise.
19547         * stdlib/bits/stdlib.h: Likewise.
19548         * stdlib/stdlib.h: Likewise.
19549         * rt/bits/mqueue2.h: Likewise.
19550         * rt/mqueue.h: Likewise.
19551         * posix/bits/unistd.h: Likewise.
19552         * posix/unistd.h: Likewise.
19553         * io/bits/poll2.h: Likewise.
19554         * io/bits/fcntl2.h: Likewise.
19555         * io/fcntl.h: Likewise.
19556         * io/sys/poll.h: Likewise.
19557         * misc/bits/syslog.h: Likewise.
19558         * misc/bits/syslog-ldbl.h: Likewise.
19559         * misc/sys/syslog.h: Likewise.
19560         * socket/bits/socket2.h: Likewise.
19561         * socket/sys/socket.h: Likewise.
19562         * debug/tst-chk1.c: Likewise.
19563         * wcsmbs/bits/wchar2.h: Likewise.
19564         * wcsmbs/bits/wchar-ldbl.h: Likewise.
19565         * wcsmbs/wchar.h: Likewise.
19567 2012-04-29  Andreas Jaeger  <aj@suse.de>
19569         * Makerules (tests): Remove enable-check-abi protection.
19570         (check-abi-warn): Remove.
19571         (check-abi-%): Remove check-abi-warn usage.
19573         * configure.in: Remove check-abi configure option.
19574         * configure: Regenerated.
19575         * config.make.in (enable-check-abi): Remove.
19577 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
19579         [BZ #14033]
19580         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19581         double functions to double *_finite functions.
19583         [BZ #13941]
19584         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19585         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19586         LDBL_MIN_EXP.
19587         * stdio-common/Makefile (tests): Add tst-sprintf3.
19588         * stdio-common/tst-sprintf3.c: New file.
19590         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19591         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19593 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19595         * conform/conformtest.pl: Remove duplicate typed-constant
19596         handling.
19598 2012-04-28  David S. Miller  <davem@davemloft.net>
19600         * Makerules (%.abilist): Add vpath on sysdep_dirs.
19601         (check-abi-%): Remove AWK script prerequisite and explicit
19602         abilist directory.
19603         (check-abi): Rewrite to just diff the symlist with the abilist.
19604         (config-tls, config-abi-config): Delete, no longer used.
19605         (update-abi-%): Remove AWK script and explicit abilist directory.
19606         (update-abi): Rewrite to simply compare and conditionally copy the
19607         symlist and the sysdep abilist file.  Remove update-abi-config
19608         checks.
19609         * abilist/ld.abilist: Remove.
19610         * abilist/libBrokenLocale.abilist: Remove.
19611         * abilist/libanl.abilist: Remove.
19612         * abilist/libcrypt.abilist: Remove.
19613         * abilist/libdl.abilist: Remove.
19614         * abilist/librt.abilist: Remove.
19615         * abilist/libthread_db.abilist: Remove.
19616         * abilist/libutil.abilist: Remove.
19617         * scripts/extract-abilist.awk: Remove.
19618         * scripts/merge-abilist.awk: Remove.
19619         * sysdeps/generic/libcidn.abilist: New file.
19620         * sysdeps/generic/libnss_compat.abilist: New file.
19621         * sysdeps/generic/libnss_db.abilist: New file.
19622         * sysdeps/generic/libnss_dns.abilist: New file.
19623         * sysdeps/generic/libnss_files.abilist: New file.
19624         * sysdeps/generic/libnss_hesiod.abilist: New file.
19625         * sysdeps/generic/libnss_nis.abilist: New file.
19626         * sysdeps/generic/libnss_nisplus.abilist: New file.
19627         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19628         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19629         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19630         file.
19631         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19632         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19633         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19634         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19635         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19636         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19637         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19638         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19639         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19640         file.
19641         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19642         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19643         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19644         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19645         file.
19646         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19647         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19648         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19649         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19650         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19651         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19652         file.
19653         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19654         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19655         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19656         file.
19657         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19658         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19659         New file.
19660         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19661         New file.
19662         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19663         New file.
19664         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19665         New file.
19666         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19667         New file.
19668         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19669         New file.
19670         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19671         New file.
19672         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19673         New file.
19674         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19675         New file.
19676         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19677         New file.
19678         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19679         New file.
19680         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19681         New file.
19682         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19683         New file.
19684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19685         file.
19686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19687         New file.
19688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19689         New file.
19690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19691         file.
19692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19693         New file.
19694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19695         New file.
19696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19697         file.
19698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19699         New file.
19700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19701         New file.
19702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19703         New file.
19704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19705         New file.
19706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19707         New file.
19708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19709         New file.
19710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19712         file.
19713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19714         New file.
19715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19716         file.
19717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19718         file.
19719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19720         file.
19721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19722         file.
19723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19724         file.
19725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19726         New file.
19727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19728         file.
19729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19730         file.
19731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19732         New file.
19733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19734         file.
19735         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19737         file.
19738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19739         New file.
19740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19741         file.
19742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19743         file.
19744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19745         file.
19746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19747         file.
19748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19749         file.
19750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19751         New file.
19752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19753         file.
19754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19755         file.
19756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19757         New file.
19758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19759         file.
19760         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19761         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19762         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19763         file.
19764         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19765         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19766         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19767         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19768         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19769         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19770         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19771         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19772         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19773         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19776         file.
19777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19778         New file.
19779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19780         file.
19781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19782         file.
19783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19784         file.
19785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19786         file.
19787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19788         file.
19789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19790         New file.
19791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19792         New file.
19793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19794         file.
19795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19796         New file.
19797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19798         file.
19799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19801         file.
19802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19803         New file.
19804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19805         file.
19806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19807         file.
19808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19809         file.
19810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19811         file.
19812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19813         file.
19814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19815         New file.
19816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19817         New file.
19818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19819         file.
19820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19821         New file.
19822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19823         file.
19825 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
19827         * conform/conformtest.pl: Fix typo in handling typed-constant from
19828         allow-header.
19830 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19832         * README: Cut down references to pre-2.6 Linux kernels and
19833         Linuxthreads.  Update lists of configurations in libc and ports
19834         and sort alphabetically.  Say "or newer" with Linux kernel version
19835         requirements.
19837         * config.h.in [IS_IN_build]: Allow compiling without optimization.
19839 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19841         [BZ #887]
19842         * math/libm-test.inc (logb_test_downward): New test to expose
19843         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19844         rounding mode.
19846 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
19848         [BZ #14027]
19849         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19850         to be done.
19851         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19852         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19854 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
19856         * sysdeps/unix/i386/brk.S: Remove file.
19857         * sysdeps/unix/i386/dl-brk.S: Likewise.
19858         * sysdeps/unix/i386/pipe.S: Likewise.
19859         * sysdeps/unix/i386/sigreturn.S: Likewise.
19860         * sysdeps/unix/i386/syscall.S: Likewise.
19861         * sysdeps/unix/i386/vfork.S: Likewise.
19862         * sysdeps/unix/i386/wait.S: Likewise.
19864         * sysdeps/unix/common/tcsendbrk.c: Move to ...
19865         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19867         * configure.in (arm*-none*): Do not allow without
19868         --enable-hacker-mode.
19869         (netbsd*): Remove case setting base_os.
19870         (386bsd*): Likewise.
19871         (freebsd*): Likewise.
19872         (bsdi*): Likewise.
19873         (osf*): Likewise.
19874         (sunos*): Likewise.
19875         (ultrix*): Likewise.
19876         (newsos*): Likewise.
19877         (dynix*): Likewise.
19878         (*bsd*): Likewise.
19879         (sysv*): Likewise.
19880         (isc*): Likewise.
19881         (esix*): Likewise.
19882         (sco*): Likewise.
19883         (minix*): Likewise.
19884         (irix4*): Likewise.
19885         (irix6*): Likewise.
19886         (solaris[2-9]*): Likewise.
19887         (none): Likewise.
19888         * configure: Regenerated.
19890 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19892         [BZ #11521]
19893         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19894         overflow or cancellation in calculating denominator.
19895         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19896         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19897         down expression to avoid unexpected rounding in newer GCCs.
19898         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19900 2012-04-26  David S. Miller  <davem@davemloft.net>
19902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19903         long-double compat symbols.
19904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19918 2012-04-25  David S. Miller  <davem@davemloft.net>
19920         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19921         HWCAP_* values only after the memory barriers have been defined.
19922         (atomic_full_barrier): Define.
19923         (atomic_read_barrier): Define.
19924         (atomic_write_barrier): Define.
19926 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19928         * shlib-versions: Add libgcc_s version information.
19929         * sysdeps/generic/libgcc_s.h: Remove.
19930         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19931         libgcc_s.h.
19932         * sysdeps/gnu/unwind-resume.c: Likewise.
19933         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19935 2012-04-25  David S. Miller  <davem@davemloft.net>
19937         * sysdeps/unix/sparc/brk.S: Delete.
19938         * sysdeps/unix/sparc/dl-brk.S: Delete.
19939         * sysdeps/unix/sparc/pipe.S: Delete.
19940         * sysdeps/unix/sparc/sysdep.S: Delete.
19941         * sysdeps/unix/sparc/sysdep.h: Delete.
19942         * sysdeps/unix/sparc/vfork.S: Delete.
19943         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19944         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19945         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19946         ret_ERRVAL, r0, r1, MOVE): Define.
19947         (JUMPTARGET): Remove.
19948         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19949         sysdeps/unix/sparc/sysdep.h
19950         (ENTRY, END): Remove.
19951         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19953 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
19955         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19956         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19957         -DIS_IN_build.
19959         * timezone/README: Update upstream location and email address for
19960         tzcode and tzdata.
19961         * timezone/zdump.c: Update from tzcode 2012b.
19962         * timezone/zic.c: Likewise.
19964         * configure.in (libc_cv_as_needed): Remove test.
19965         * configure: Regenerated.
19966         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19967         conditional definition.
19968         [$(have-as-needed) != yes] (no-as-needed): Likewise.
19969         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19970         * config.make.in (have-as-needed): Remove variable.
19972 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19973             Paul Pluzhnikov  <ppluzhnikov@google.com>
19975         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19976         strings correctly.
19978 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19980         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19981         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19982         * sysdeps/sh/strlen.S: Likewise.
19984 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
19986         * sysdeps/unix/fork.S: Remove file.
19987         * sysdeps/unix/i386/fork.S: Likewise.
19988         * sysdeps/unix/sparc/fork.S: Likewise.
19990         * sysdeps/unix/system.c: Remove file.
19991         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19993         * sysdeps/unix/getegid.S: Remove file.
19994         * sysdeps/unix/geteuid.S: Likewise.
19996 2012-04-24  Roland McGrath  <roland@hack.frob.com>
19998         * scripts/check-localplt.awk: New file.
19999         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20000         of diff.
20001         * scripts/data/localplt-generic.data: Add a comment.
20003         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20004         NODE when __dir_mkfile failed.
20005         * sysdeps/mach/hurd/symlinkat.c: Likewise.
20006         Reported by Ludovic Courtès <ludo@gnu.org>.
20008 2012-04-24  Andreas Jaeger  <aj@suse.de>
20010         * Makerules (common-clean): Also remove gen-as-const-headers
20011         files.
20013 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20015         * Makerules (native-compile): Do not change working directory for
20016         build.  Use $(OUTPUT_OPTION) in command.
20017         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20019 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20021         [BZ #13886]
20022         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20023         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20024         * math/libm-test.inc (floor_test): Add more tests.
20025         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20027 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
20029         * sysdeps/unix/getdents.c: Remove file.
20030         * sysdeps/unix/sysv/getdents.c: Likewise.
20031         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20033         * sysdeps/unix/syscalls.list (madvise): Add syscall from
20034         sysdeps/unix/mman/syscalls.list.
20035         (mmap): Likewise.
20036         (mprotect): Likewise.
20037         (msync): Likewise.
20038         (munmap): Likewise.
20039         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20040         * sysdeps/unix/mman/syscalls.list: Remove.
20041         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20043         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20044         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20045         * configure: Regenerated.
20046         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20047         $(libgcc_s_suffix).
20048         * config.make.in (libgcc_s_suffix): Remove variable.
20050 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
20052         * sysdeps/unix/sysv/gethostname.c: Move to ...
20053         * sysdeps/posix/gethostname.c: ... here.
20055         * sysdeps/unix/execve.S: Remove file.
20057         * sysdeps/unix/_exit.S: Remove file.
20059 2012-04-23  Andreas Jaeger  <aj@suse.de>
20061         [BZ #13739]
20062         * manual/Makefile: Remove make dist support, there's no
20063         need for a stand-alone documentation tar ball.
20064         (TEXI2DVI): Define always, it's not in Makeconfig.
20065         (dist): Removed.
20066         (tar-it): Removed.
20067         (edition): Removed.
20068         (glibc-doc-$(edition).tar): Removed
20069         (%.Z): Removed.
20070         (%.gz): Removed.
20071         (%.uu): Removed.
20072         (ETAGS): Remove, it's in Makeconfig.
20073         (move-if-change): Remove, it's in Makeconfig.
20075 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
20077         [BZ #13970]
20078         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20079         (strtod, strtof, strtold, strtol, strtoul, strtoq)
20080         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20081         (strtod_l, strtof_l, strtold_l): Remove __wur.
20082         It is not necessarily an error to ignore strtol's return value.
20083         One can reliably look at the stored endptr to decide whether
20084         the number had valid syntax.
20086 2012-04-21  Andreas Jaeger  <aj@suse.de>
20088         [BZ #13739]
20089         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20091 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
20093         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20094         * sysdeps/unix/sysv/Versions: Remove file.
20096 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
20098         [BZ #13927]
20099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20101 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
20103         [BZ #7064]
20104         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20105         version from __vm86.
20107 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
20109         * sysdeps/unix/common/lxstat.c: Remove file.
20110         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20112         * sysdeps/unix/sysv/Makefile: Remove file.
20114         * sysdeps/unix/sysv/direct.h: Remove file.
20116         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20117         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20118         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20119         * sysdeps/unix/sysv/bits/signum.h: Likewise.
20120         * sysdeps/unix/sysv/bits/stat.h: Likewise.
20121         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20122         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20124         * sysdeps/unix/sysv/setrlimit.c: Remove file.
20126         * sysdeps/unix/xmknod.c: Remove file.
20127         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20129         * sysdeps/unix/sysv/settimeofday.c: Remove file.
20131         * sysdeps/unix/sysv/i386/time.S: Remove file.
20133         * sysdeps/unix/fxstat.c: Remove file.
20134         * sysdeps/unix/xstat.c: Likewise.
20135         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20137         * sysdeps/unix/sysv/sigaction.c: Remove file.
20139         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20140         (sysdep_headers): Remove variable.
20141         [termio.h not in sysdep_headers] (generated): Likewise.
20142         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20143         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20144         * sysdeps/unix/sysv/tcdrain.c: Likewise.
20145         * sysdeps/unix/sysv/tcflow.c: Likewise.
20146         * sysdeps/unix/sysv/tcflush.c: Likewise.
20147         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20148         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20149         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20150         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20151         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20153         * sysdeps/unix/siglist.c: Remove file.
20155         * sysdeps/unix/getppid.S: Remove file.
20157         * sysdeps/unix/mkdir.c: Remove file.
20158         * sysdeps/unix/rmdir.c: Likewise.
20160 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
20162         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20163         ERR_MAX value.
20164         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20165         errlist-compat value.
20167 2012-04-18  David S. Miller  <davem@davemloft.net>
20169         * sysdeps/generic/memcopy.h (reg_char): Delete.
20170         * debug/strcat_chk.c: Use char, not reg_char.
20171         * debug/strcpy_chk.c: Likewise.
20172         * debug/strncat_chk.c: Likewise.
20173         * debug/strncpy_chk.c: Likewise.
20174         * string/memchr.c: Likewise.
20175         * string/memrchr.c: Likewise.
20176         * string/rawmemchr.c: Likewise.
20177         * string/strcat.c: Likewise.
20178         * string/strchr.c: Likewise.
20179         * string/strchrnul.c: Likewise.
20180         * string/strcmp.c: Likewise.
20181         * string/strcpy.c: Likewise.
20182         * string/strncat.c: Likewise.
20183         * string/strncmp.c: Likewise.
20184         * string/strncpy.c: Likewise.
20186 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20188         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20189         __builtin_memcopy is called when src and dest ranges are known to not
20190         overlap.
20192 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20194         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20195         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20196         fwd_align_merge macro call.
20197         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20198         bwd_align_merge macro call.
20199         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20201 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
20203         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20204         bwd_align_merge macros.
20205         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20206         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20207         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20209 2012-04-18  David S. Miller  <davem@davemloft.net>
20211         * sysdeps/sparc/sparc64/memcopy.h: Delete.
20213 2012-04-18  Andreas Jaeger  <aj@suse.de>
20215         [BZ# 6794]
20216         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20217         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20218         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20220         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20221         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20222         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20224         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20225         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20226         Adjust for changed ldbl-128 files.
20228         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20229         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20230         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20232 2012-04-17  David S. Miller  <davem@davemloft.net>
20234         * sysdeps/sparc/sparc32/memcopy.h: Delete.
20236 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
20238         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20239         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20240         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20241         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20242         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20243         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20245 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20247         [BZ #6794]
20248         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20249         * math/libm-test.inc: Add ilogb errno and exception tests.
20250         * math/w_ilogb.c: New file: ilogb wrapper.
20251         * math/w_ilogbf.c: New file: ilogbf wrapper.
20252         * math/w_ilogbl.c: New file: ilogbl wrapper.
20253         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20254         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20255         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20256         exception being thrown with 0.0 as argument.
20257         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20258         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20259         exception being thrown with 0.0 as argument.
20260         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20261         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20262         exception being thrown with 0.0 as argument.
20263         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20264         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20265         exception being thrown with 0.0 as argument.
20266         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20267         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20268         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20269         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20270         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20271         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20272         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20273         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20274         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20276 2012-04-17  Petr Baudis  <pasky@ucw.cz>
20278         * include/sys/uio.h: Change __vector to __iovec to avoid clash
20279         with altivec.
20281 2012-04-16  Marek Polacek  <polacek@redhat.com>
20283         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20285 2012-04-16  Marek Polacek  <polacek@redhat.com>
20287         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20288         operands of fdivp instruction.
20290 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20292         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20293         * elf/tst-auditmod3b.c: Likewise.
20294         * elf/tst-auditmod4b.c: Likewise.
20295         * elf/tst-auditmod5b.c: Likewise.
20296         * elf/tst-auditmod6b.c: Likewise.
20297         * elf/tst-auditmod6c.c: Likewise.
20298         * elf/tst-auditmod7b.c: Likewise.
20299         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20300         * sysdeps/x86_64/preconfigure.in: Likewise.
20301         * sysdeps/x86_64/preconfigure: Regenerated.
20303 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
20305         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20306         __ILP32__.
20308 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
20310         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20311         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20313 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
20315         [BZ #13973]
20316         * locale/iso-639.def: Fix gl language name. Spotted by
20317         Yaron Shahrabani.
20319 2012-04-12  Roland McGrath  <roland@hack.frob.com>
20321         [BZ #2074]
20322         * libio/libio.h (__io_write_fn): Update comment.
20324 2012-04-12  Petr Baudis  <pasky@ucw.cz>
20326         [BZ #2074]
20327         * stdio.texi (Hook Functions): The user provided writer function
20328         is not allowed to return -1.
20330 2012-04-11  David S. Miller  <davem@davemloft.net>
20332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20334 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
20336         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20337         Add a leading slash to rtkaio.
20339 2012-04-11  Jim Meyering  <meyering@redhat.com>
20341         [BZ #11959]
20342         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20343         It is not necessarily an error to ignore fwrite's return
20344         value.  One can reliably use ferror to test for errors after
20345         the fact.
20347 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20349         * bits/types.h (__snseconds_t): New type.
20350         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20352         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20353         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20354         (__SNSECONDS_T_TYPE): Likewise.
20355         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20356         (__SNSECONDS_T_TYPE): Likewise.
20357         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20358         (__SNSECONDS_T_TYPE): Likewise.
20360 2012-04-10  Andreas Jaeger  <aj@suse.de>
20362         [BZ #2636]
20363         * manual/time.texi (Processor Time): Return type of times is
20364         elapsed real time since an arbitrary point in the past.
20365         (CPU Time): Move CLK_TCK from here...
20366         (Processor Time): ...to here.  Correct description.
20367         * manual/conf.texi (Constants for Sysconf): Correct description of
20368         _SC_CLK_TCK.
20370 2012-04-10  David S. Miller  <davem@davemloft.net>
20372         [BZ #13967]
20373         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20374         where the is a gap between DT_REL(A) and DT_JMPREL.
20376 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
20378         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20379         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20380         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20382 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20384         * elf/dl-support.c (_dl_inhibit_cache): New variable.
20385         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20386         (dl_main): Handle --inhibit-cache.
20387         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20388         _dl_inhibit_cache.
20389         * elf/dl-load.c (_dl_map_object): Use it.
20390         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20392 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20394         [BZ #13872]
20395         * sysdeps/i386/fpu/e_powl.S (p78): New object.
20396         (__ieee754_powl): Saturate large exponents rather than testing for
20397         overflow of y*log2(x).
20398         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20399         * math/libm-test.inc (pow_test): Do not permit spurious overflow
20400         exceptions.
20402         [BZ #11521]
20403         * math/s_ctan.c: Include <float.h>.
20404         (__ctan): Avoid internal overflow or cancellation in calculating
20405         denominator.
20406         * math/s_ctanf.c: Likewise.
20407         * math/s_ctanl.c: Likewise.
20408         * math/s_ctanh.c: Likewise.
20409         * math/s_ctanhf.c: Likewise.
20410         * math/s_ctanhl.c: Likewise.
20411         * math/libm-test.inc (ctan_test): Add more tests.
20412         (ctanh_test): Likewise.
20413         * sysdeps/i386/fpu/libm-test-ulps: Update.
20414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20416 2012-04-09  Andreas Jaeger  <aj@suse.de>
20418         [BZ #6894]
20419         * manual/filesys.texi (Directory Entries): Mention that d_namlen
20420         is an optional BSD extension.
20422         [BZ #10254]
20423         * manual/stdio.texi (Opening Streams): Document additional fopen
20424         parameters.
20426 2012-04-09  Roland McGrath  <roland@hack.frob.com>
20428         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20429         %eax without telling the compiler.
20431 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
20433         [BZ # 13963]
20434         * manual/install.texi: Use sourceware.org.
20436 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
20438         [BZ #13873]
20439         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20440         (__ieee754_pow): Generate overflow and underflow using huge*huge
20441         and tiny*tiny rather than just returning constant infinity or zero
20442         for large exponents.
20443         * math/libm-test.inc (pow_test): Require overflow exceptions for
20444         applicable cases of large exponents.
20446         [BZ #706]
20447         * sysdeps/i386/fpu/e_pow.S (p10): New object.
20448         (__ieee754_pow): Use iterative multiplication algorithm only for
20449         integer exponents with absolute value below 1024.  Check for odd
20450         integer exponents when using algorithm for real exponents.
20451         * math/libm-test.inc (pow_test): Add more tests.
20452         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20454 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
20456         [BZ #13705]
20457         * math/libm-test.inc (exp_test): Do not allow overflow exception
20458         on underflow test.
20460 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
20462         [BZ #13705]
20463         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20464         instead of __kernel_standard_f.
20466 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
20468         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20469         * sysdeps/x86_64/memset_chk.S: Likewise.
20471 2012-04-08  Andreas Jaeger  <aj@suse.de>
20473         [BZ #10153]
20474         * manual/startup.texi (Environment Access): Describe return value
20475         for putenv and setenv.
20477         [BZ #6895]
20478         * manual/filesys.texi (Directory Entries): Add description for
20479         DT_LNK.
20481         [BZ #6890]
20482         * manual/filesys.texi (Directory Entries): Clarify that it's file
20483         system not operating system in the description of DT_UNKNOWN.
20485         [BZ #6578]
20486         * manual/syslog.texi (closelog): Fix reference, it's openlog.
20488 2012-04-08  Stephen Compall  <s11@member.fsf.org>
20490         [BZ #6649]
20491         * manual/llio.texi (Opening and Closing Files): Add cross
20492         reference to explain mode argument.
20494 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
20496         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20497         * sysdeps/x86_64/memset_chk.S: Likewise.
20499 2012-04-07  David S. Miller  <davem@davemloft.net>
20501         * elf/elf.h (R_SPARC_WDISP10): Define.
20502         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20503         R_SPARC_SIZE32.
20504         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20505         R_SPARC_SIZE64 and R_SPARC_H34.
20507 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
20509         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20510         conditions and remove no longer applicable assertion.
20512 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20514         * bits/byteswap.h: Include <features.h>.
20515         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20516         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20518 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
20520         * bits/byteswap.h (__bswap_16): Removed.
20521         Include <bits/byteswap-16.h> to get __bswap_16.
20522         * sysdeps/i386/bits/byteswap.h: Likewise.
20523         * sysdeps/s390/bits/byteswap.h: Likewise.
20524         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20525         * bits/byteswap-16.h: New file.
20526         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20527         * sysdeps/s390/bits/byteswap-16.h: Likewise.
20528         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20529         * string/Makefile (headers): Add bits/byteswap-16.h.
20531 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20533         [BZ #13895]
20534         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20535         extra indirection.
20536         * nss/Makefile (tests-static, tests): Add tst-nss-static.
20537         * nss/tst-nss-static.c: New.
20539 2012-04-06  Robert Millan  <rmh@gnu.org>
20541         [BZ #6486]
20542         * manual/llio.texi (File Position Primitive): lseek
20543         refers to WHENCE when it really means OFFSET.
20545 2012-04-06  Andreas Jaeger  <aj@suse.de>
20547         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20548         strncmp declarations.
20550         * abilist/libc.abilist: Add __poll and __ppoll.
20552 2012-04-05  David S. Miller  <davem@davemloft.net>
20554         * scripts/check-local-headers.sh: Accept a host triplet in the
20555         path matched by the exclude regexp.
20557         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20558         definition.
20559         * sysdeps/powerpc/powerpc32/dl-machine.h
20560         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20561         * sysdeps/s390/s390-32/dl-machine.h
20562         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20563         * sysdeps/sparc/sparc32/dl-machine.h
20564         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20565         * sysdeps/sparc/sparc64/dl-machine.h
20566         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20568         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20569         lazy binding.
20570         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20571         undefined symbol errors.
20573         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20574         DT_NEEDED entries.
20576 2012-04-05  Michael Matz  <matz@suse.de>
20578         [BZ #13592]
20579         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20581 2012-04-05  Andreas Jaeger  <aj@suse.de>
20583         [BZ #13908]
20584         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20585         comment.
20587 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20589         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20590         which ROUND is no valid rounding mode.
20592 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20594         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20595         read again.
20596         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20598 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20600         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20601         an exception using FPU order intentionally.
20603 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20605         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20606         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20607         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20608         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20610 2012-04-05  Simon Josefsson  <simon@josefsson.org>
20612         [BZ #12340]
20613         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20614         EINVAL when BUFLEN is too smal.
20616 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20618         [BZ #13553]
20619         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20620         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20622 2012-04-03  Andreas Jaeger  <aj@suse.de>
20624         [BZ #13938]
20625         * manual/setjmp.texi (System V contexts): Fix sentence.
20627         [BZ #13926]
20628         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20629         New macro for this case.
20630         [!__GNUC__] (__bswap_64): New inline function for this case.
20631         * sysdeps/x86_64/bits/byteswap.h: Likewise.
20632         * bits/byteswap.h: Likewise.
20633         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20634         ull, guard with __GLIBC_HAVE_LONG_LONG.
20636         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20637         __GLIBC_HAVE_LONG_LONG.
20639         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20640         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20642 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20644         [BZ #13691]
20645         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20646         inptr and inend, rather than using last_ch.
20648 2012-04-02  David S. Miller  <davem@davemloft.net>
20650         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20651         * stdio-common/printf-parse.h (read_int): Change return type to
20652         'int', return -1 on INT_MAX overflow.
20653         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20654         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
20655         overflows INT_MAX.  Check for overflow of in-format-string precision
20656         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
20657         SIZE_MAX not INT_MAX for integer overflow test.
20658         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20659         skip the construct in the format string but do not record anything.
20660         * stdio-common/bug22.c: Adjust to test both width/prevision
20661         INT_MAX overflow as well as total length INT_MAX overflow.  Check
20662         explicitly for proper errno values.
20664 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20666         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20667         CHAR_MAX.
20668         * string/test-strcmp.c [! WIDE]: Likewise.
20669         * time/tst-mktime2.c: Likewise for INT_MAX.
20670         * string/test-string.h: #include <sys/param.h> for MIN.
20672         * csu/init-first.c (__libc_init_first): Call __ctype_init.
20673         * sysdeps/i386/init-first.c (init): Likewise.
20674         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20675         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20676         * sysdeps/sh/init-first.c (init): Likewise.
20678 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
20680         * po/ru.po: Update from translation team.
20681         * po/vi.po: Likewise.
20683 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20685         * resolv/nss_dns/dns-host.c: Merge copyright years.
20687 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
20689         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20690         Optimize memcpy with prefetch if
20691         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
20692         src, dst pointers have unequal 16 byte alignments.
20694 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20696         [BZ #13928]
20697         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20698         from a CNAME entry and return the minimum ttl for the query.
20699         (gaih_getanswer_slice): Likewise.
20701 2012-03-30  Jeff Law  <law@redhat.com>
20703         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20704         due to long keys.
20705         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20706         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20708         * resolv/nss_dns/dns-host.c: Update copyright year.
20710 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
20712         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20713         requests to save a system call.  Fix check that all bytes are sent.
20715         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20716         comments for sendmmsg.
20718 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20720         [BZ #13691]
20721         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20722         with only 1 character between 0x0041 and 0x01b0.
20723         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20724         * wcsmbs/tst-mbsnrtowcs.c: New file.
20726 2012-03-29  David S. Miller  <davem@davemloft.net>
20728         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20729         small copies by hand.
20731 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20733         [BZ #13761]
20734         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20735         _nss_compat_initgroups_dyn): Fall back to malloc/free
20736         for large group memberships.
20738 2012-03-28  David S. Miller  <davem@davemloft.net>
20740         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20741         that branches into memcpy.
20742         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20743         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20744         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20745         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20746         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20747         bits.
20748         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20749         implementation too.
20750         * sysdeps/sparc/mempcpy.S: New file.
20752         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20753         the IFUNC routine in the libc case.
20754         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20756         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20757         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20758         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20759         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20760         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20761         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20762         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20763         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20765         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20766         loop to 256 bytes instead of 64 bytes and fix test signedness.
20768         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20769         * sysdeps/sparc/sparc32/Makefile: rather than here...
20770         * sysdeps/sparc/sparc64/Makefile: and here.
20772 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
20774         * malloc/mallocbug.c: Avoid warnings about unused variables.
20776 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20778         [BZ #13760]
20779         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20780         in the right place. Discard and retry query if response is
20781         larger than input buffer size.
20783 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
20785         [BZ #369]
20786         [BZ #2678]
20787         [BZ #3866]
20788         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20789         x for large integer exponent.
20790         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20791         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
20792         sign of result as needed afterwards.
20793         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20794         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20795         result for underflowing pow the same as for overflow.
20796         (__kernel_standard_l): Handle powl overflow and underflow here
20797         rather than calling __kernel_standard.
20798         * math/libm-test.inc (pow_test): Add more tests.
20800         [BZ #3868]
20801         [BZ #13879]
20802         [BZ #13910]
20803         [BZ #13911]
20804         [BZ #13912]
20805         [BZ #13913]
20806         [BZ #13915]
20807         [BZ #13916]
20808         [BZ #13917]
20809         [BZ #13918]
20810         [BZ #13919]
20811         [BZ #13920]
20812         [BZ #13921]
20813         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20814         * sysdeps/ieee754/k_standard.c: Include <float.h>.
20815         (__kernel_standard_l): New function.
20816         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20817         __kernel_standard.
20818         * math/w_acosl.c (__acosl): Likewise.
20819         * math/w_asinl.c (__asinl): Likewise.
20820         * math/w_atan2l.c (__atan2l): Likewise.
20821         * math/w_atanhl.c (__atanhl): Likewise.
20822         * math/w_coshl.c (__coshl): Likewise.
20823         * math/w_exp10l.c (__exp10l): Likewise.
20824         * math/w_exp2l.c (__exp2l): Likewise.
20825         * math/w_fmodl.c (__fmodl): Likewise.
20826         * math/w_hypotl.c (__hypotl): Likewise.
20827         * math/w_j0l.c (__j0l, __y0l): Likewise.
20828         * math/w_j1l.c (__j1l, __y1l): Likewise.
20829         * math/w_jnl.c (__jnl, __ynl): Likewise.
20830         * math/w_lgammal.c (__lgammal): Likewise.
20831         * math/w_log10l.c (__log10l): Likewise.
20832         * math/w_log2l.c (__log2l): Likewise.
20833         * math/w_logl.c (__logl): Likewise.
20834         * math/w_powl.c (__powl): Likewise.
20835         * math/w_remainderl.c (__remainderl): Likewise.
20836         * math/w_scalbl.c (sysv_scalbl): Likewise.
20837         * math/w_sinhl.c (__sinhl): Likewise.
20838         * math/w_sqrtl.c (__sqrtl): Likewise.
20839         * math/w_tgammal.c (__tgammal): Likewise.
20840         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20841         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20842         * math/libm-test.inc (acos_test): Add more tests.
20843         (acosh_test): Likewise.
20844         (asin_test): Likewise.
20845         (atanh_test): Likewise.
20846         (exp_test): Likewise.
20847         (exp10_test): Likewise.
20848         (exp2_test): Likewise.
20849         (expm1_test): Likewise.
20850         (lgamma_test): Likewise.
20851         (log_test): Likewise.
20852         (log10_test): Likewise.
20853         (log1p_test): Likewise.
20854         (log2_test): Likewise.
20855         (pow_test): Do not allow some spurious overflow exceptions.
20856         (sqrt_test): Add more tests.
20857         (tgamma_test): Likewise.
20858         (y0_test): Likewise.
20859         (y1_test): Likewise.
20860         (yn_test): Likewise.
20862 2012-03-27  Anton Blanchard  <anton@samba.org>
20864         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20865         MAP_HUGETLB.
20866         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20867         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20868         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20870 2012-03-27  David S. Miller  <davem@davemloft.net>
20872         * conform/Makefile: Run run-conformtest.sh using $(BASH).
20874         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20875         have-as-vis3 check.
20877 2012-03-27  Andreas Jaeger  <aj@suse.de>
20879         * sysdeps/x86_64/elf/configure.in: Moved to ...
20880         * sysdeps/x86_64/configure.in: ... here.
20881         * sysdeps/x86_64/elf/start.S: Moved to ...
20882         * sysdeps/x86_64/start.S: ... here.
20883         * sysdeps/x86_64/elf/configure: Delete.
20885         * sysdeps/x86_64/configure.in: Merge contents from
20886         sysdeps/i386/configure.in (without i686 check).
20888         * sysdeps/i386/elf/Versions: Merge into ...
20889         * sysdeps/i386/Versions: ... this.
20890         * sysdeps/i386/elf/Versions: Delete file.
20891         * sysdeps/i386/elf/start.S: Moved to ...
20892         * sysdeps/i386/start.S: ...here.
20893         * sysdeps/i386/elf/configure.in: Merge into...
20894         * sysdeps/i386/configure.in: ...here.
20895         * sysdeps/i386/elf/configure.in: Delete file.
20896         * sysdeps/i386/elf/configure: Delete file.
20898         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20899         * debug/backtracesyms.c: ... here.
20900         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20901         * debug/backtracesymsfd.c: ... here.
20902         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20903         * sysdeps/generic/ifunc-sel.h: ... here.
20905         * sysdeps/unix/i386/start.c: Delete file.
20906         * sysdeps/unix/sparc/start.c: Delete file.
20907         * sysdeps/unix/start.c: Delete file.
20909         * sysdeps/sh/elf/configure.in: Moved to ...
20910         * sysdeps/sh/configure.in: ... here.
20911         * sysdeps/sh/elf/start.S: Moved to ...
20912         * sysdeps/sh/start.S: ... here.
20913         * sysdeps/sh/elf/configure: Delete file.
20915         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20916         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20917         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20918         * sysdeps/powerpc/powerpc64/entry.h: ... here.
20919         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20920         * sysdeps/powerpc/powerpc64/start.S: here.
20921         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20922         * sysdeps/powerpc/powerpc64/Makefile: ... this.
20923         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20924         * sysdeps/powerpc/powerpc64/configure.in: ... this.
20925         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20927         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20928         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20929         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20930         * sysdeps/powerpc/powerpc32/start.S: ... here.
20931         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20932         * sysdeps/powerpc/powerpc32/configure.in: ... this.
20933         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20935         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20936         * sysdeps/powerpc/ifunc-sel.h: ... here.
20937         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20938         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20940         * sysdeps/sparc/elf/configure.in: Moved to ...
20941         * sysdeps/sparc/configure.in: ... here.
20942         * sysdeps/sparc/elf/configure: Delete file.
20943         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20944         * sysdeps/sparc/sparc32/start.S: ... here.
20945         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20946         * sysdeps/sparc/sparc64/start.S: ... here.
20947         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20948         * sysdeps/sparc/sparc32/Makefile: ... this.
20949         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20950         * sysdeps/sparc/sparc64/Makefile: ... this.
20952         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20953         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20954         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20955         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20956         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20957         * sysdeps/s390/s390-32/setjmp.S: ... here.
20958         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20959         * sysdeps/s390/s390-32/configure.in: ... here.
20960         * sysdeps/s390/s390-32/elf/configure: Delete file.
20961         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20962         * sysdeps/s390/s390-32/start.S: ... here.
20964         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20965         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20966         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20967         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20968         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20969         * sysdeps/s390/s390-64/setjmp.S: ... here.
20970         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20971         * sysdeps/s390/s390-64/configure.in: ... here
20972         * sysdeps/s390/s390-64/elf/configure: Delete file.
20973         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20974         * sysdeps/s390/s390-64/start.S: ... here.
20975         * sysdeps/s390/s390-64/elf/configure: Delete.
20977         * configure.in: Remove support for elf directories in sysdeps.
20979         * configure: Regenerated.
20980         * sysdeps/i386/configure: Regenerated.
20981         * sysdeps/powerpc/powerpc32/configure: Regenerated.
20982         * sysdeps/powerpc/powerpc64/configure: Regenerated.
20983         * sysdeps/s390/s390-32/configure: Regenerated.
20984         * sysdeps/s390/s390-64/configure: Regenerated.
20985         * sysdeps/sh/configure: Regenerated.
20986         * sysdeps/sparc/configure: Regenerated.
20987         * sysdeps/x86_64/configure: Regenerated.
20989 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
20991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20993         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20994         denormal result into account.
20996 2012-03-25  Roland McGrath  <roland@hack.frob.com>
20998         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20999         Reported by Allan McRae <allan@archlinux.org>.
21001 2012-03-23  Jeff Law  <law@redhat.com>
21003         * nss/getnssent.c (__nss_getent): Fix typo.
21005 2012-03-23  David S. Miller  <davem@davemloft.net>
21007         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21009 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
21011         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21012         to pad to uint64_t for each field.
21013         (dl_tls_index): Replace unsigned long with uint64_t.
21015 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
21016         Paul Pluzhnikov  <ppluzhnikov@google.com>
21018         [BZ #6528]
21019         * grp/Makefile (otherlibs): Don't set it.
21020         * inet/Makefile (otherlibs): Likewise.
21021         * login/Makefile (otherlibs): Likewise.
21022         * nscd/Makefile (otherlibs): Likewise.
21023         * posix/Makefile (otherlibs): Likewise.
21024         * pwd/Makefile (otherlibs): Likewise.
21025         * rt/Makefile (otherlibs): Likewise.
21026         * sunrpc/Makefile (otherlibs): Likewise.
21027         * nss/Makefile (otherlibs): Likewise.
21028         Add libnss_files to routines and static-only-routines.
21029         ($(objpfx)getent): Remove rule.
21030         * resolv/Makefile: Add libnss_dns and libresolv to routines and
21031         static-only-routines.
21033 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21035         [BZ #13892]
21036         * math/s_cexp.c: Include <float.h>.
21037         (__cexp): Handle exp result overflowing not necessarily
21038         overflowing both real and imaginary parts of result.
21039         * math/s_cexpf.c: Likewise.
21040         * math/s_cexpl.c: Likewise.
21041         * math/libm-test.inc (cexp_test): Add more tests.
21042         * sysdeps/i386/fpu/libm-test-ulps: Update.
21043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21045 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21047         * include/link.h (ELFW): New macro.
21048         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21049         Replace ELF64_R_TYPE with ELFW(R_TYPE).
21051 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21053         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21054         with uint64_t.
21056 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21058         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21059         declaration.
21060         (struct La_x32_retval): Likewise.
21062 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
21064         * sysdeps/x86_64/preconfigure.in: New file.
21065         * sysdeps/x86_64/preconfigure: New generated file.
21067 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
21069         [BZ #13824]
21070         * math/e_exp2l.c: Include <float.h>.
21071         (__ieee754_exp2l): Handle overflow and underflow cases
21072         separately.  Only pass fractional part of argument to
21073         __ieee754_expl.
21074         * math/libm-test.inc (exp2_test): Add more tests.
21076         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21077         negating x to take absolute value.
21078         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21079         Likewise.
21080         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21081         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21082         Likewise.
21083         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21084         computing low part if x was negated.
21085         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21087 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21089         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21090         la_x32_gnu_pltexit.
21091         (pltexit): Cast int_retval to ptrdiff_t.
21092         * elf/tst-auditmod3b.c: Likewise.
21093         * elf/tst-auditmod4b.c: Likewise.
21094         * elf/tst-auditmod5b.c: Likewise.
21095         * elf/tst-auditmod6b.c: Likewise.
21096         * elf/tst-auditmod6c.c: Likewise.
21097         * elf/tst-auditmod7b.c: Likewise.
21099         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21100         and x32_gnu_pltexit.
21102         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21103         __ELF_NATIVE_CLASS.
21104         (La_x32_regs): New macro.
21105         (La_x32_retval): Likewise.
21106         (la_x32_gnu_pltenter): New function prototype.
21107         (la_x32_gnu_pltexit): Likewise.
21109 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
21111         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21112         exponent.
21114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21116         * configure.in (libc_cv_cc_nofma): Check for option to disable
21117         generation of FMA instructions.
21118         * configure: Regenerate.
21119         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21120         * sysdeps/ieee754/dbl-64/Makefile: New file.
21121         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21122         Remove brandred-fma4.
21123         (CFLAGS-brandred-fma4.c): Remove.
21124         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21125         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21126         define.
21127         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21128         define.
21130 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21132         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21133         LLONG_MAX != LONG_MAX.
21134         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21135         (_fitoa_word): Likewise.
21136         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21137         LLONG_MAX != LONG_MAX.
21138         * stdio-common/_itowa.h: Include <_itoa.h>.
21139         (_itowa_word): Use _ITOA_WORD_TYPE on value.
21140         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
21141         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
21142         only if not defined.
21143         (_ITOA_WORD_TYPE): Likewise.
21144         (_itoa_word): Use _ITOA_WORD_TYPE on value.
21145         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21147 2012-03-21  David S. Miller  <davem@davemloft.net>
21149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21151 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
21153         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21154         of x86_64 when setting libc_cv_slibdir, libdir and
21155         libc_cv_localedir.
21156         * sysdeps/unix/sysv/linux/configure: Regenerated.
21158 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21160         * manual/lang.texi (Old Varargs): Remove section.
21161         (How Variadic): Update menu.
21162         (va_start): Do not mention varargs.h.
21164 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21165             Joseph Myers  <joseph@codesourcery.com>
21167         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21168         link test.
21169         * configure: Regenerated.
21171 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
21173         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21174         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21175         conformtest.pl
21177 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21179         * NOTES: Remove.
21180         * Makefile (files-for-dist): Remove NOTES.
21181         (NOTES): Remove rule.
21182         * README: Don't refer to NOTES.
21183         * manual/creature.texi: Don't include macros.texi.
21184         * manual/intro.texi (creature.texi): Remove comment referring to
21185         NOTES.
21187         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21188         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21189         * configure: Regenerated.
21190         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21191         LIBC_TRY_CC_OPTION.
21192         (libc_cv_as_i686): Likewise.
21193         (libc_cv_cc_avx): Likewise.
21194         (libc_cv_cc_sse2avx): Likewise.
21195         (libc_cv_cc_fma4): Likewise.
21196         (libc_cv_cc_novzeroupper): Likewise.
21197         * sysdeps/i386/configure: Regenerated.
21199         [BZ #13883]
21200         * sysdeps/i386/fpu/s_cexp.S: Remove.
21201         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21202         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21203         * math/libm-test.inc (cexp_test): Add more tests.
21204         * sysdeps/i386/fpu/libm-test-ulps: Update.
21205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21207 2012-03-21  Allan McRae  <allan@archlinux.org>
21209         * timezone/Makefile: Do not install iso3166.tab and zone.tab
21211 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
21213         [BZ #13871]
21214         * math/w_exp2.c: Do not include <float.h>.
21215         (o_threshold, u_threshold): Remove.
21216         (__exp2): Calculate result before checking finiteness and calling
21217         __kernel_standard.
21218         * math/w_exp2f.c: Likewise.
21219         * math/w_exp2l.c: Likewise.
21220         * math/libm-test.inc (exp2_test): Require overflow exception for
21221         1e6 input.
21223         [BZ #3866]
21224         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21225         range of signed 64-bit integers before using fistpll.  Remove
21226         checks for whether integers fit in mantissa bits.
21227         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21228         the range of signed 32-bit integers before using fistpl.  Remove
21229         checks for whether integers fit in mantissa bits.
21230         * sysdeps/i386/fpu/e_powl.S (p64): New object.
21231         (__ieee754_powl): Test for y outside the range of signed 64-bit
21232         integers before using fistpll.  Reduce 64-bit values to 63-bit
21233         ones as needed.
21234         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21235         divide-by-zero is raised for zero to large negative powers.
21236         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21237         (__ieee754_powl): Test for y outside the range of signed 64-bit
21238         integers before using fistpll.  Reduce 64-bit values to 63-bit
21239         ones as needed.
21240         * math/libm-test.inc (pow_test): Add more tests.
21242 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21244         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21245         <stdio-common/_itoa.h>.
21246         * debug/segfault.c: Likewise.
21247         * elf/dl-cache.c: Likewise.
21248         * elf/dl-minimal.c: Likewise.
21249         * elf/dl-misc.c: Likewise.
21250         * elf/dl-sysdep.c: Likewise.
21251         * elf/dl-version.c: Likewise.
21252         * elf/rtld.c: Likewise.
21253         * hurd/hurdsock.c: Likewise.
21254         * hurd/lookup-retry.c: Likewise.
21255         * malloc/malloc.c: Likewise.
21256         * malloc/mtrace.c: Likewise.
21257         * nscd/nscd_getgr_r.c: Likewise.
21258         * nscd/nscd_getpw_r.c: Likewise.
21259         * nscd/nscd_getserv_r.c: Likewise.
21260         * posix/getopt_init.c: Likewise.
21261         * posix/wordexp.c: Likewise.
21262         * stdio-common/_itoa.c: Likewise.
21263         * stdio-common/printf_fphex.c: Likewise.
21264         * stdio-common/vfprintf.c: Likewise.
21265         * string/_strerror.c: Likewise.
21266         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21267         * sysdeps/i386/i686/hp-timing.h: Likewise.
21268         * sysdeps/mach/_strerror.c: Likewise.
21269         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21270         * sysdeps/mach/hurd/sethostid.c: Likewise.
21271         * sysdeps/mach/hurd/xmknodat.c: Likewise.
21272         * sysdeps/mach/xpg-strerror.c: Likewise.
21273         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21274         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21275         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21276         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21277         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21278         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21279         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21280         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21281         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21282         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21283         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21284         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21285         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21286         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21287         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21288         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21289         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21290         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21291         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21292         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21293         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21295         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21297         * stdio-common/_itoa.h: Moved to ...
21298         * sysdeps/generic/_itoa.h: Here.
21300         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21302         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21303         instead of "_itoa.h" and "_itowa.h".
21304         * stdio-common/vfprintf.: Likewise.
21306 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21308         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21309         <bits/wordsize.h>.
21310         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21311         (__signbit): Likwise.
21312         (llrintf): Likwise.
21313         (llrint): Likwise.
21315 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
21317         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21318         __WORDSIZE != 64.
21320 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
21322         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21323         OVERFLOW_EXCEPTION_OK.
21324         * math/libm-test.inc ("Philosophy"): Update comment about
21325         exception testing.
21326         (OVERFLOW_EXCEPTION): Define.
21327         (OVERFLOW_EXCEPTION_OK): Likewise.
21328         (INVALID_EXCEPTION_OK): Renumber.
21329         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21330         (IGNORE_ZERO_INF_SIGN): Likewise.
21331         (test_exceptions): Handle FE_OVERFLOW.
21332         (exp10_test): Expect overflow exceptions.
21333         (exp2_test): Likewise.
21334         (expm1_test): Likewise.
21335         (nextafter_test): Likewise.
21336         (pow_test): Likewise.
21337         (scalbn_test): Likewise.
21338         (scalbln_test): Likewise.
21340 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21342         * sysdeps/x86_64/bits/atomic.h
21343         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21344         64bit integer.
21345         (atomic_exchange_acq): Likewise.
21346         (__arch_exchange_and_add_body): Likewise.
21347         (__arch_add_body): Likewise.
21348         (atomic_add_negative): Likewise.
21349         (atomic_add_zero): Likewise.
21351 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21353         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21354         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21356 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21358         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21359         Check __x86_64__ instead of __WORDSIZE.
21361 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21363         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21365 2012-03-19  David S. Miller  <davem@davemloft.net>
21367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21369         * sysdeps/sparc/fpu/fenv_private.h: New file.
21370         * sysdeps/sparc/fpu/math_private.h: Use it.
21371         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21372         Remove.
21373         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21374         (libc_feholdexcept_setroundl): Remove.
21375         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21376         Remove.
21377         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21378         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21380 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21382         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21383         int64_t instead of long int.
21384         (INSERT_WORDS64): Likwise.
21386 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
21388         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21389         _Unwind_GetCFA return to _Unwind_Ptr first.
21391 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
21393         [BZ #13629]
21394         * math/s_clog.c: Include <float.h>.
21395         (__clog): Scale large or subnormal inputs.
21396         * math/s_clogf.c: Likewise.
21397         * math/s_clogl.c: Likewise.
21398         * math/s_clog10.c: Include <float.h>.
21399         (M_LOG10_2): Define.
21400         (__clog10): Scale large or subnormal inputs.
21401         * math/s_clog10f.c: Likewise.
21402         * math/s_clog10l.c: Likewise.
21403         * math/libm-test.inc (clog_test): Add more tests.
21404         (clog10_test): Likewise.
21405         * sysdeps/i386/fpu/libm-test-ulps: Update.
21406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21408         [BZ #11451]
21409         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21410         x and y.
21411         * math/libm-test.inc (atan2_test): Add another test.
21413         * Makerules (common-objdir-compile): Remove.
21414         * sysdeps/unix/Makefile (config-generated): Do not add
21415         $(unix-generated) to variable.
21416         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21417         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21418         Remove rule.
21419         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21420         Likewise.
21421         [generic bits/local_lim.h] (before-compile): Do not append to
21422         variable.
21423         [generic bits/local_lim.h] (common-generated): Likewise.
21424         [generic sys/param.h] (before-compile): Do not append to variable.
21425         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21426         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21427         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21428         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21429         include.
21430         [generic sys/param.h] (sys/param.h-includes): Remove variable.
21431         [generic sys/param.h] (sys/param.h-includes): Remove rule.
21432         [generic sys/param.h] ($(addprefix
21433         $(common-objpfx),$(sys/param.h-includes))): Likewise.
21434         [generic sys/param.h] (common-generated): Do not append to
21435         variable.
21436         [generic sys/param.h] (sysdep_headers): Likewise.
21437         [generic bits/errno.h] (before-compile): Do not append to
21438         variable.
21439         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21440         rule.
21441         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21442         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21443         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21444         [generic bits/errno.h] (common-generated): Do not append to
21445         variable.
21446         [generic bits/ioctls.h] (before-compile): Do not append to
21447         variable.
21448         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21449         rule.
21450         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21451         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21452         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21453         rule.
21454         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21455         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21456         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21457         [generic bits/ioctls.h] (common-generated): Do not append to
21458         variable.
21459         [generic sys/syscall.h] (syscall.h): Remove variable.
21460         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21461         rule.
21462         [generic sys/syscall.h] (before-compile): Do not append to
21463         variable.
21464         [generic sys/syscall.h] (common-generated): Likewise.
21465         * sysdeps/unix/errnos-tmpl.c: Remove file.
21466         * sysdeps/unix/errnos.awk: Likewise.
21467         * sysdeps/unix/ioctls-tmpl.c: Likewise.
21468         * sysdeps/unix/ioctls.awk: Likewise.
21469         * sysdeps/unix/mk-local_lim.c: Likewise.
21470         * sysdeps/unix/snarf-ioctls: Likewise.
21472 2012-03-19  Richard Henderson  <rth@twiddle.net>
21474         * sysdeps/i386/fpu/fenv_private.h: New file.
21475         * sysdeps/i386/fpu/math_private.h: Use it.
21476         (math_opt_barrier, math_force_eval): Remove.
21477         (libc_feholdexcept_setround_53bit): Remove.
21478         (libc_feupdateenv_53bit): Remove.
21479         * sysdeps/x86_64/fpu/math_private.h: Likewise.
21480         (math_opt_barrier, math_force_eval): Remove.
21481         (libc_feholdexcept): Remove.
21482         (libc_feholdexcept_setround): Remove.
21483         (libc_fetestexcept, libc_fesetenv): Remove.
21484         (libc_feupdateenv_test): Remove.
21485         (libc_feupdateenv, libc_feholdsetround): Remove.
21486         (libc_feresetround): Remove.
21488         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21489         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21491         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21492         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21493         (libc_feupdateenv_testl): New.
21494         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21495         (libc_feupdateenv_testf): New.
21496         (libc_feupdateenv): Use libc_feupdateenv_test.
21497         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21498         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21500         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21501         (libc_feholdsetroundf, libc_feholdsetroundl): New.
21502         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21503         (libc_feresetround_noex): New.
21504         (libc_feresetround_noexf): New.
21505         (libc_feresetround_noexl): New.
21506         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21507         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21508         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21509         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21510         SET_RESTORE_ROUND.
21511         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21513         (__cos): Likewise.
21514         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21515         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21516         SET_RESTORE_ROUND_NOEX.
21517         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21518         SET_RESTORE_ROUND_NOEXF.
21519         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21520         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21521         (libc_feholdsetroundf): New.
21522         (libc_feresetround, libc_feresetroundf): New.
21524         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21525         (libc_feholdexcept_setround_53bit): Convert from macro to function.
21526         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
21528         * sysdeps/generic/math_private.h: Include <fenv.h>.
21529         (default_libc_feholdexcept): New.
21530         (default_libc_feholdexcept_setround): New.
21531         (default_libc_fesetenv, default_libc_feupdateenv): New.
21532         (libc_feholdexcept): Only define if undefined.
21533         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21534         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21535         (libc_feholdexcept_setroundl): Likewise.
21536         (libc_feholdexcept_setround_53bit): Likewise.
21537         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21538         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21539         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21540         (libc_feupdateenv_53bit): Likewise.
21541         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21542         (libc_feholdexcept): Convert from macro to inline function.
21543         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21544         (libc_fesetenv, libc_feupdateenv): Likewise.
21546         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21547         not previously defined.
21548         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21549         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21550         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21551         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21552         * sysdeps/ieee754/flt-32/math_private.h: New file.
21553         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21554         math_private.h below SET_FLOAT_WORD.
21555         (__isnan, __isinf_ns, __finite): Remove.
21556         (__isnanf, __isinf_nsf, __finitef): Remove.
21558 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
21560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21562 2012-03-17  David S. Miller  <davem@davemloft.net>
21564         [BZ #6471]
21565         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21566         for 2.16.
21568 2012-03-16  David S. Miller  <davem@davemloft.net>
21570         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21571         warnings.
21573         [BZ #6471]
21574         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21575         properly.
21576         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21577         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21578         sysdep_routines when subdir is sysvipc.
21579         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21580         __getshmlba helper.
21582         * sysdeps/sparc/fpu/libm-test/ulps: Update.
21584 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21586         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21587         [__LP64__].
21589 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21591         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21592         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21593         (__lround): Renamed to ...
21594         (__llround): This.  Replace long int with long long int.
21595         Define lround functions as aliases of llround functions.
21596         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21598 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21600         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21601         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
21602         adresses to uintptr_t.  Replace "long int" and "unsigned long
21603         int" with "greg_t" on va_arg.
21605 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21607         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21608         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21610         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21611         Move e_machine check before EI_CLASS check.  Handle x32
21612         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21613         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21614         SKIP_EM_IA_64 and include
21615         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21617         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21618         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21619         (add_system_dir): New macro.
21621         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21622         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21624 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21626         [BZ #2551]
21627         [BZ #2552]
21628         [BZ #2553]
21629         [BZ #2554]
21630         [BZ #2562]
21631         [BZ #2563]
21632         [BZ #2565]
21633         [BZ #2566]
21634         [BZ #2576]
21635         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21636         (y0): Likewise.
21637         * math/w_j0f.c (j0f): Likewise.
21638         (y0f): Likewise.
21639         * math/w_j0l.c (__j0l): Likewise.
21640         (__y0l): Likewise.
21641         * math/w_j1.c (j1): Likewise.
21642         (y1): Likewise.
21643         * math/w_j1f.c (j1f): Likewise.
21644         (y1f): Likewise.
21645         * math/w_j1l.c (__j1l): Likewise.
21646         (__y1l): Likewise.
21647         * math/w_jn.c (jn): Likewise.
21648         (yn): Likewise.
21649         * math/w_jnf.c (jnf): Likewise.
21650         (ynf): Likewise.
21651         * math/w_jnl.c (__jnl): Likewise.
21652         (__ynl): Likewise.
21653         * math/libm-test.inc (j0_test): Add more tests.
21654         (j1_test): Likewise.
21655         (jn_test): Likewise.  Add trailing semicolon to existing test.
21656         (y0_test): Likewise.
21657         (y1_test): Likewise.
21658         * sysdeps/i386/fpu/libm-test-ulps: Update.
21659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21661         [BZ #13851]
21662         [BZ #13854]
21663         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21664         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21665         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21666         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21667         (__tanl): Set errno for infinite argument.
21668         * sysdeps/i386/fpu/mptan.c: Remove.
21669         * sysdeps/i386/fpu/s_tan.S: Likewise.
21670         * sysdeps/i386/fpu/s_tanl.S: Likewise.
21671         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21672         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21673         * math/libm-test.inc (tan_test): Add more tests and enable more
21674         tests for double and long double.
21675         * sysdeps/i386/fpu/libm-test-ulps: Update.
21676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21678 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
21680         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21681         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21683 2012-03-16  Roland McGrath  <roland@hack.frob.com>
21685         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21686         * configure.in: Use it for both main tree and add-ons.
21687         * configure: Regenerated.
21689 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21691         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21693 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
21695         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21696         in comment.
21698         [BZ #13851]
21699         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21700         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21701         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21702         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21703         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21704         infinite argument.
21705         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21706         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21707         != 0 for prec == 2.
21708         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21709         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21710         * sysdeps/i386/fpu/s_cosl.S: Likewise.
21711         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21712         * sysdeps/i386/fpu/s_sinl.S: Likewise.
21713         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21714         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21715         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21716         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21717         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21718         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21719         * math/libm-test.inc (cos_test): Add more tests and enable more
21720         tests for long double.
21721         (sin_test): Likewise.
21722         (sincos_test): Likewise.
21723         * sysdeps/i386/fpu/libm-test-ulps: Update.
21724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21726 2012-03-16  David S. Miller  <davem@davemloft.net>
21728         * sysdeps/sparc/fpu/math_private.h: New file.
21730 2012-03-15  David S. Miller  <davem@davemloft.net>
21732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21733         file.
21734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21736         file.
21737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21738         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21739         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21740         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21741         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21742         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21743         sysdep routines.
21744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21746         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21747         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21749         * sysdeps/sparc/sparc-ifunc.h: New file.
21750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21751         sparc-ifunc.h
21752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21754         Likewise.
21755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21756         Likewise.
21757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21761         Likewise.
21762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21767         Likewise.
21768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21769         Likewise.
21770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21774         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21775         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21776         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21777         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21782         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21783         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21788         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21789         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21790         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21791         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21792         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21793         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21795 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21797         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21798         scaling.
21799         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21801 2012-03-15  Andreas Jaeger  <aj@suse.de>
21803         [BZ #13852]
21804         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21805         ieee754/flt-32 implementation for sin, cos and sincos.
21806         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21807         * sysdeps/i386/fpu/s_cosf.S: Likewise.
21808         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21809         * sysdeps/i386/fpu/s_sinf.S: Likewise.
21810         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21811         ieee754/flt-32 implementation for tan.
21813         * math/libm-test.inc (cos_test): Enable some large input tests for
21814         float as well
21815         (sin_test): Likewise.
21816         (sincos_test): Likewise.
21817         (tan_test): Add tests for large input.
21819         * sysdeps/i386/fpu/libm-test-ulps: Update.
21821 2012-03-15  Andreas Jaeger  <aj@suse.de>
21823         [BZ #13658]
21824         * math/libm-test.inc (cos_test): Add more test cases.
21825         (sin_test): Likewise.
21826         (sincos_test): Likewise.
21828 2012-03-15  Andreas Jaeger  <aj@suse.de>
21830         [BZ #13837]
21831         * math/libm-test.inc (cos_test): Add a test case for large input
21832         value.
21833         (sin_test): Likewise.
21834         (sincos_test): Likewise.
21836 2012-03-15  Andreas Jaeger  <aj@suse.de>,
21837         Joseph Myers  <joseph@codesourcery.com>
21839         [BZ #13658]
21840         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21841         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21842         * sysdeps/i386/fpu/branred.c: Likewise.
21843         * sysdeps/i386/fpu/dosincos.c: Likewise.
21844         * sysdeps/i386/fpu/mpa.c: Likewise.
21845         * sysdeps/i386/fpu/s_cos.S: Likewise.
21846         * sysdeps/i386/fpu/s_sin.S: Likewise.
21847         * sysdeps/i386/fpu/s_sincos.S: Likewise.
21848         * sysdeps/i386/fpu/sincos32.c: Likewise.
21850         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21851         Define.
21852         (libc_feupdateenv_53bit): Define.
21853         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21854         Define.
21855         (libc_feupdateenv_53bit): Define.
21857         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21858         53 bit (without extend i386 double precision).
21860         * math/libm-test.inc (sincos_test): Add tests for large input.
21861         (sin): Likewise.
21862         (cos): Likewise.
21864         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21866 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
21868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21870 2012-03-15  David S. Miller  <davem@davemloft.net>
21872         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21873         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21874         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21875         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21876         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21877         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21878         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21880         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21881         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21888         file.
21889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21891         file.
21892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21894         file.
21895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21897         file.
21898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21899         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21900         fmin/fmax sysdep routines.
21901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21903 2012-03-14  David S. Miller  <davem@davemloft.net>
21905         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21906         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21907         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21908         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21909         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21910         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21911         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21912         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21913         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21914         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21915         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21916         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21917         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21918         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21919         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21920         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21921         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21922         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21923         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21925         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21926         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21927         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21928         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21929         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21930         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21931         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21932         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21933         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21934         routines.
21935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21936         file.
21937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21939         file.
21940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21942         file.
21943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21945         file.
21946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21948         file.
21949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21951         file.
21952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21953         file.
21954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21955         file.
21956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21957         file.
21958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21959         New file.
21960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21961         file.
21962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21963         file.
21964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21966         file.
21967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21969         file.
21970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21972         file.
21973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21975         VIS3 routines.
21977         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21978         New file.
21980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21982         * sysdeps/sparc/configure.in: New file.
21983         * sysdeps/sparc/configure: Generate.
21984         * configure.in (libc_cv_sparc_as_vis3): Substitute.
21985         * configure: Regenerate.
21986         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21987         * config.make.in (have-as-vis3): New.
21988         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21989         available use -Av9d instead of -Av9a.
21990         * sysdeps/sparc/sparc64/Makefile: Likewise.
21991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21993         New file.
21994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21995         file.
21996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21997         New file.
21998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21999         file.
22000         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22001         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22002         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22003         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22004         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22006         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22007         fzeros/fnegs to load 0x80000000 into a float register instead of
22008         using the stack.
22009         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22011 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22013         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22014         bits/syscall.h.
22015         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22016         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22017         ($(inst_includedir)/bits/syscall.h): Remove rule.
22018         ($(objpfx)bits/syscall.d): Include instead of
22019         $(objpfx)syscall-list.d.
22020         (generated): Change syscall-list.h and syscall-list.d to
22021         bits/syscall.h and bits/syscall.d.
22023 2012-03-14  Roland McGrath  <roland@hack.frob.com>
22025         [BZ #13846]
22026         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22028 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
22030         [BZ #13841]
22031         * math/s_csqrt.c: Include <float.h>.
22032         (__csqrt): Scale large or subnormal inputs.
22033         * math/s_csqrtf.c: Likewise.
22034         * math/s_csqrtl.c: Likewise.
22035         * math/libm-test.inc (csqrt_test): Add more tests.
22036         * sysdeps/i386/fpu/libm-test-ulps: Update.
22037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22039         [BZ #13840]
22040         * math/libm-test.inc (hypot_test): Add more tests.
22042 2012-03-13  David S. Miller  <davem@davemloft.net>
22044         [BZ #13840]
22045         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22046         double-precision for the calculation instead of scaling.
22048 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
22050         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22051         manipulate bits before adding and subtracting TWO52[sx].
22052         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22053         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22054         Likewise.
22055         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22057 2012-03-13  David S. Miller  <davem@davemloft.net>
22059         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22060         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22061         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22062         rtld-global-offsets.h
22063         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22065         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22066         large parameters.
22068         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22070         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22071         'err' in the ifdef scope in which it is actually used.
22073         * nss/nss_db/db-init.c: Include string.h
22075 2012-03-12  David S. Miller  <davem@davemloft.net>
22077         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22078         masking out of the most significant byte of random value used.
22079         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22080         Fix coding style in previous change.
22082         * sysdeps/unix/sysv/linux/kernel-features.h
22083         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22084         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22085         expression.
22086         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22087         later.
22089 2012-03-11  David S. Miller  <davem@davemloft.net>
22091         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22092         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22093         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22094         for 'resultvar' otherwise things get truncated on 64-bit.
22096         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22097         Fix masking out of the most significant byte of random value used.
22099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22101 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
22103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22105 2012-03-09  David S. Miller  <davem@davemloft.net>
22107         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22108         variables with appropriate CPP guards.
22109         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22110         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
22111         on resulting framesize and the management of the outregs buffer for pltexit.
22112         Preserve floating point return values across _dl_call_pltexit call.
22113         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22114         framesize and the management of the outregs buffer for pltexit.
22115         Preserve floating point return values across _dl_call_pltexit
22116         call.
22117         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22118         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22119         (print_exit): Fix format string for return register value.
22121 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
22123         * sunrpc/Makefile (others): Add rpcgen.
22124         ($(objpfx)rpcgen): Remove special build rule and dependency on
22125         libc.
22126         * sunrpc/rpcgen.c: New file.
22128 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
22130         [BZ #13673]
22131         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22132         * stdio-common/bug-vfprintf-nargs.c: Likewise.
22133         * sysdeps/i386/crti.S: Likewise.
22134         * sysdeps/i386/crtn.S: Likewise.
22135         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22136         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22137         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22138         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22139         * sysdeps/sh/crti.S: Likewise.
22140         * sysdeps/sh/crtn.S: Likewise.
22141         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22143         [BZ #13673]
22144         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22145         with URL.
22146         * locale/programs/locfile-kw.gperf: Likewise.
22147         * locale/programs/charmap-kw.h: Regenerated.
22148         * locale/programs/locfile-kw.h: Likewise.
22150         [BZ #13673]
22151         * intl/plural.y: Replace FSF snail mail address with URL.
22152         * intl/plural.c: Regenerated.
22154 2012-03-09  Richard Henderson  <rth@twiddle.net>
22156         * include/math_private.h: Remove file.
22157         * math/math_private.h: Move file ...
22158         * sysdeps/generic/math_private.h: ... here.
22160         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22161         * sysdeps/powerpc/fpu/math_private.h: Likewise.
22162         * sysdeps/x86_64/fpu/math_private.h: Likewise.
22164         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22165         and <math_private.h>.
22166         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22167         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22168         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22169         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22170         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22171         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22172         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22173         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22174         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22175         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22176         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22177         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22178         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22179         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22180         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22181         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22182         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22183         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22184         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22185         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22186         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22187         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22188         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22190         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22191         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22192         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22193         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22194         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22195         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22196         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22197         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22198         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22199         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22200         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22201         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22202         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22203         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22204         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22205         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22206         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22207         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22208         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22209         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22210         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22211         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22212         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22213         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22214         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22215         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22216         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22217         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22218         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22219         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22220         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22221         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22222         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22223         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22224         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22225         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22226         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22227         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22228         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22229         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22230         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22231         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22232         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22233         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22234         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22235         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22236         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22237         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22238         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22239         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22240         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22241         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22242         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22243         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22244         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22245         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22246         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22247         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22248         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22249         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22250         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22251         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22252         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22253         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22254         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22255         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22256         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22257         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22258         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22259         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22260         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22261         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22262         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22263         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22264         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22265         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22266         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22267         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22268         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22269         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22270         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22271         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22272         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22273         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22274         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22275         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22276         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22277         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22278         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22279         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22280         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22281         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22282         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22283         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22284         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22285         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22286         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22287         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22288         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22289         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22290         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22291         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22292         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22293         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22294         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22295         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22296         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22297         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22298         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22299         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22300         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22301         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22302         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22303         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22304         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22305         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22306         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22307         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22308         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22309         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22310         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22311         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22312         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22313         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22314         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22315         * sysdeps/ieee754/k_standard.c: Likewise.
22316         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22317         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22318         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22319         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22320         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22321         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22322         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22323         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22324         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22325         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22326         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22327         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22328         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22329         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22330         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22331         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22332         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22333         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22334         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22335         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22336         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22337         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22338         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22339         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22340         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22341         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22342         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22343         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22344         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22345         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22346         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22347         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22348         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22349         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22350         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22351         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22352         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22353         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22354         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22355         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22356         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22357         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22358         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22359         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22360         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22361         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22362         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22363         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22364         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22365         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22366         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22367         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22368         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22369         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22370         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22371         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22372         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22373         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22374         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22375         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22376         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22377         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22378         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22379         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22380         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22381         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22382         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22383         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22384         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22385         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22386         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22387         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22388         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22389         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22390         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22392         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22393         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22394         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22395         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22396         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22397         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22398         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22399         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22400         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22401         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22402         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22403         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22404         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22405         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22406         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22407         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22408         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22409         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22410         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22411         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22412         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22413         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22414         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22415         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22416         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22417         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22418         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22419         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22420         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22421         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22422         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22423         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22424         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22425         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22426         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22427         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22428         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22429         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22430         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22431         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22432         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22433         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22434         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22435         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22436         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22437         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22438         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22439         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22440         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22441         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22442         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22443         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22444         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22445         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22446         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22447         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22448         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22449         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22450         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22451         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22452         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22453         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22454         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22455         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22456         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22457         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22458         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22459         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22460         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22461         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22462         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22463         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22464         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22465         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22466         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22467         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22468         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22469         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22470         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22471         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22472         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22473         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22474         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22475         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22476         * sysdeps/ieee754/s_lib_version.c: Likewise.
22477         * sysdeps/ieee754/s_matherr.c: Likewise.
22478         * sysdeps/ieee754/s_signgam.c: Likewise.
22479         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22480         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22481         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22482         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22483         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22484         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22485         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22486         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22487         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22488         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22489         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22490         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22491         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22492         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22493         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22494         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22495         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22496         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22497         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22498         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22499         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22501 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22503         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22504         * sunrpc/rpc_main.c: Likewise.
22505         * sunrpc/rpc_svcout.c: Likewise.
22507 2012-03-09  David S. Miller  <davem@davemloft.net>
22509         * include/math_private.h: New file.
22511 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
22513         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22514         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22515         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22516         from <bits/socket_type.h>.
22517         (enum __socket_type): Don't define here.
22518         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22519         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22520         bits/socket_type.h.
22522         [BZ #13566]
22523         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22524         checking __USE_GNU.
22526         * Makerules ($(inst_includedir)/%.h): New rule.
22527         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22528         (install-others): Remove variable setting.
22529         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22531 2012-03-08  Richard Henderson  <rth@twiddle.net>
22533         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22534         from macro to inline function; merge with the
22535         !__LIBC_INTERNAL_MATH_INLINES version.
22536         (__ieee754_sqrtf): Likewise.
22538         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22539         to inline function.
22540         (__rintf, __floor, __floorf): Likewise.
22542         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22543         macro to inline function.
22544         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22546         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22547         not <math/math_private.h>.
22549 2012-03-08  David S. Miller  <davem@davemloft.net>
22551         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22552         copyright year.
22553         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22555 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
22557         * resolv/gai_misc.c (handle_requests): Fix struct timespec
22558         normalization.
22559         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22560         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22562 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
22564         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
22565         be defined individually, they must be defined as a block.  Define
22566         S for printing a string instead of hidint the different by using a
22567         macro for adding the 'l'.
22568         * stdio-common/tst-fphex-wide.c: Adjust.
22570 2012-03-07  Marek Polacek  <polacek@redhat.com>
22572         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22574 2012-03-08  Marek Polacek  <polacek@redhat.com>
22576         [BZ #13806]
22577         * stdio-common/Makefile (tests): Add tst-fphex-wide.
22578         * stdio-common/tst-fphex.c: Define a few macros to make the
22579         test reusable.  Use them.
22580         * stdio-common/tst-fphex-wide.c: New file.
22582 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
22584         [BZ #6911]
22585         * manual/macros.texi (gnusystems): New macro.
22586         (nongnusystems): Likewise.
22587         (gnulinuxhurdsystems): Likewise.
22588         (gnuhurdsystems): Likewise..
22589         (gnulinuxsystems): Likewise.
22590         * manual/charset.texi: Use new macros or @theglibc{} to refer to
22591         variants of the GNU system, not "GNU system".
22592         * manual/conf.texi: Likewise.
22593         * manual/errno.texi: Likewise.  Update example of errno macro
22594         expansion.
22595         * manual/filesys.texi: Likewise.
22596         (getumask): Document as specific to GNU/Hurd.
22597         * manual/install.texi: Likewise.  Reword some references to
22598         GNU/Linux.
22599         * manual/intro.texi: Likewise.
22600         * manual/io.texi: Likewise.
22601         (File Name Portability): Detail which constraints are inapplicable
22602         to all GNU systems and which are only inapplicable to GNU/Hurd.
22603         * manual/job.texi: Likewise.
22604         * manual/llio.texi: Likewise.
22605         (O_NOCTTY): Document as present on GNU/Linux.
22606         * manual/maint.texi: Likewise.
22607         * manual/memory.texi: Likewise.
22608         * manual/pattern.texi: Likewise.
22609         * manual/pipe.texi: Likewise.
22610         * manual/process.texi: Likewise.
22611         * manual/resource.texi: Likewise.
22612         (RUSAGE_CHILDREN): Remove statement about specifying a particular
22613         child on GNU/Hurd.
22614         * manual/setjmp.texi: Likewise.
22615         * manual/signal.texi: Likewise.
22616         * manual/startup.texi: Likewise.
22617         * manual/stdio.texi: Likewise.
22618         * manual/terminal.texi: Likewise.
22619         (ONLCR): Document as POSIX.
22620         (OXTABS): Document availability on GNU/Linux as XTABS.
22621         (ONOEOT): Document availability separately from other bits.
22622         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22623         * manual/time.texi: Likewise.
22624         * manual/users.texi: Likewise.
22625         * INSTALL: Regenerated.
22626         * sysdeps/gnu/errlist.c: Regenerated.
22628         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22629         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22630         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
22631         puts.
22632         * configure: Regenerated.
22634 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
22636         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22637         default includes instead of AC_HEADER_CHECK.
22638         * sysdeps/i386/configure: Regenerated.
22640         [BZ #10716]
22641         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22642         * math/s_cacoshf.c (__cacoshf): Likewise.
22643         * math/s_cacoshl.c (__cacoshl): Likewise.
22644         * math/s_casinh.c (__casinh): Set signs of result from argument.
22645         * math/s_casinhf.c (__casinhf): Likewise.
22646         * math/s_casinhl.c (__casinhl): Likewise.
22647         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22648         (casinh_test): Add more tests.
22649         * sysdeps/i386/fpu/libm-test-ulps: Update.
22650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22652 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
22654         * po/zh_TW.po: Update from translation team.
22656         * login/Makefile (distribute): Remove variable.
22657         * catgets/Makefile: Likewise.
22658         * mach/Makefile: Likewise.
22659         * malloc/Makefile: Likewise.
22660         * misc/Makefile: Likewise.
22661         * iconv/Makefile: Likewise.
22662         * nscd/Makefile: Likewise.
22663         * hurd/Makefile: Likewise.
22664         * manual/Makefile: Likewise.
22665         * locale/Makefile: Likewise.
22666         * intl/Makefile: Likewise.
22667         * conform/Makefile: Likewise.
22668         * nss/Makefile: Likewise.
22669         * time/Makefile: Likewise.
22670         * soft-fp/Makefile: Likewise.
22671         * dirent/Makefile: Likewise.
22672         * gmon/Makefile: Likewise.
22673         * po/Makefile: Likewise.
22674         * rt/Makefile: Likewise.
22675         * socket/Makefile: Likewise.
22676         * math/Makefile: Likewise.
22677         * signal/Makefile: Likewise.
22678         * debug/Makefile: Likewise.
22679         * elf/Makefile: Likewise.
22680         * timezone/Makefile: Likewise.
22681         * stdlib/Makefile: Likewise.
22682         * iconvdata/Makefile: Likewise.
22683         * sunrpc/Makefile: Likewise.
22684         * io/Makefile: Likewise.
22685         * argp/Makefile: Likewise.
22686         * inet/Makefile: Likewise.
22687         * hesiod/Makefile: Likewise.
22688         * grp/Makefile: Likewise.
22689         * csu/Makefile: Likewise.
22690         * wctype/Makefile: Likewise.
22691         * crypt/Makefile: Likewise.
22692         * libio/Makefile: Likewise.
22693         * string/Makefile: Likewise.
22694         * nis/Makefile: Likewise.
22695         * resolv/Makefile: Likewise.
22696         * stdio-common/Makefile: Likewise.
22697         * wcsmbs/Makefile: Likewise.
22698         * dlfcn/Makefile: Likewise.
22699         * posix/Makefile: Likewise.
22701         [BZ #6959]
22702         * timezone/Makefile: Don't install timezone files, just the programs
22703         and scripts.
22705 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
22707         * nss/databases.def: Add missing gshadow entry.
22709         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
22711 2012-03-06  Marek Polacek  <polacek@redhat.com>
22713         [BZ #13726]
22714         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22715         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22716         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22717         * stdio-common/tst-long-dbl-fphex.c: New file.
22719 2012-03-06  David S. Miller  <davem@davemloft.net>
22721         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22722         (set_obp_int): New function.
22723         (get_obp_int): New function.
22724         (__get_clockfreq_via_dev_openprom): Likewise.
22725         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22726         Avoid unused variable warnings on 'val' and use builtin_expect.
22727         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22728         __builtin_expect.
22729         (INLINE_CLONE_SYSCALL): Likewise.
22731 2012-03-05  David S. Miller  <davem@davemloft.net>
22733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22735 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
22737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22739         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22740         only for |x| >= 40.
22741         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22743 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22745         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22746         Replace gettimeofday with __vdso_gettimeofday.
22748         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22749         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22750         __vdso_clock_gettime and __vdso_getcpu.
22752         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22753         time with __vdso_time.
22755 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22757         * manual/lang.texi (size_t): Note types to which size_t may be
22758         equivalent with the GNU C Library, but do not describe when
22759         differences between them are significant.
22761 2012-03-05  Andreas Jaeger  <aj@suse.de>
22763         * sysdeps/i386/fpu/libm-test-ulps: Update.
22765 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
22767         [BZ #3976]
22768         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22769         (__ieee754_pow): Save and restore rounding mode and use
22770         round-to-nearest for main computations.
22771         * math/libm-test.inc (pow_test_tonearest): New function.
22772         (pow_test_towardzero): Likewise.
22773         (pow_test_downward): Likewise.
22774         (pow_test_upward): Likewise.
22775         (main): Call the new functions.
22776         * sysdeps/i386/fpu/libm-test-ulps: Update.
22777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22779         [BZ #3976]
22780         * math/libm-test.inc (cosh_test_tonearest): New function.
22781         (cosh_test_towardzero): Likewise.
22782         (cosh_test_downward): Likewise.
22783         (cosh_test_upward): Likewise.
22784         (sinh_test_tonearest): Likewise.
22785         (sinh_test_towardzero): Likewise.
22786         (sinh_test_downward): Likewise.
22787         (sinh_test_upward): Likewise.
22788         (main): Call the new functions.
22789         * sysdeps/i386/fpu/libm-test-ulps: Update.
22790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22792 2012-03-05  Tom de Vries  <tom@codesourcery.com>
22794         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22795         default stack guard is set in last bytes.
22796         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22798 2012-03-05  Kees Cook  <keescook@chromium.org>
22800         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22802         [BZ #13656]
22803         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22804         possibly allocate from heap instead of stack.
22805         * stdio-common/bug-vfprintf-nargs.c: New file.
22806         * stdio-common/Makefile (tests): Add nargs overflow test.
22808 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
22810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22812 2012-03-03  Marek Polacek  <polacek@redhat.com>
22814         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22815         * math/math_private.h: Likewise.
22816         * stdlib/tst-strtod.c: Likewise.
22817         * sysdeps/i386/i486/bits/atomic.h: Likewise.
22818         * sysdeps/x86_64/bits/atomic.h: Likewise.
22820 2012-03-02  David S. Miller  <davem@davemloft.net>
22822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22826         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22827         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22828         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22829         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22831 2012-03-02  Roland McGrath  <roland@hack.frob.com>
22833         [BZ #13792]
22834         * manual/examples/README: New file, says the example source files
22835         can be used under GPL>=2.
22836         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22837         line containing just "*/".
22838         * manual/examples/add.c: Add copyright header (GPL>=2).
22839         * manual/examples/argp-ex1.c: Likewise.
22840         * manual/examples/argp-ex2.c: Likewise.
22841         * manual/examples/argp-ex3.c: Likewise.
22842         * manual/examples/argp-ex4.c: Likewise.
22843         * manual/examples/atexit.c: Likewise.
22844         * manual/examples/db.c: Likewise.
22845         * manual/examples/dir.c: Likewise.
22846         * manual/examples/dir2.c: Likewise.
22847         * manual/examples/execinfo.c: Likewise.
22848         * manual/examples/filecli.c: Likewise.
22849         * manual/examples/filesrv.c: Likewise.
22850         * manual/examples/fmtmsgexpl.c: Likewise.
22851         * manual/examples/genpass.c: Likewise.
22852         * manual/examples/inetcli.c: Likewise.
22853         * manual/examples/inetsrv.c: Likewise.
22854         * manual/examples/isockad.c: Likewise.
22855         * manual/examples/longopt.c: Likewise.
22856         * manual/examples/memopen.c: Likewise.
22857         * manual/examples/memstrm.c: Likewise.
22858         * manual/examples/mkfsock.c: Likewise.
22859         * manual/examples/mkisock.c: Likewise.
22860         * manual/examples/mygetpass.c: Likewise.
22861         * manual/examples/pipe.c: Likewise.
22862         * manual/examples/popen.c: Likewise.
22863         * manual/examples/rprintf.c: Likewise.
22864         * manual/examples/search.c: Likewise.
22865         * manual/examples/select.c: Likewise.
22866         * manual/examples/setjmp.c: Likewise.
22867         * manual/examples/sigh1.c: Likewise.
22868         * manual/examples/sigusr.c: Likewise.
22869         * manual/examples/stpcpy.c: Likewise.
22870         * manual/examples/strdupa.c: Likewise.
22871         * manual/examples/strftim.c: Likewise.
22872         * manual/examples/strncat.c: Likewise.
22873         * manual/examples/subopt.c: Likewise.
22874         * manual/examples/swapcontext.c: Likewise.
22875         * manual/examples/termios.c: Likewise.
22876         * manual/examples/testopt.c: Likewise.
22877         * manual/examples/testpass.c: Likewise.
22878         * manual/examples/timeval_subtract.c: Likewise.
22880         [BZ #13792]
22881         * manual/time.texi (Elapsed Time): Move timeval_subtract example
22882         function to ...
22883         * manual/timeval_subtract.c.texi: ... here, new file.
22885 2012-03-02  David S. Miller  <davem@davemloft.net>
22887         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22889 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
22891         [BZ #3976]
22892         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22893         (__sin): Save and restore rounding mode and use round-to-nearest
22894         for all computations.
22895         (__cos): Save and restore rounding mode and use round-to-nearest
22896         for all computations.
22897         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22898         <fenv.h>.
22899         (tan): Save and restore rounding mode and use round-to-nearest for
22900         all computations.
22901         * math/libm-test.inc (cos_test_tonearest): New function.
22902         (cos_test_towardzero): Likewise.
22903         (cos_test_downward): Likewise.
22904         (cos_test_upward): Likewise.
22905         (sin_test_tonearest): Likewise.
22906         (sin_test_towardzero): Likewise.
22907         (sin_test_downward): Likewise.
22908         (sin_test_upward): Likewise.
22909         (tan_test_tonearest): Likewise.
22910         (tan_test_towardzero): Likewise.
22911         (tan_test_downward): Likewise.
22912         (tan_test_upward): Likewise.
22913         (main): Call the new functions.
22914         * sysdeps/i386/fpu/libm-test-ulps: Update.
22915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22917         [BZ #10135]
22918         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22919         small n, then large n, before computing and testing k+n.
22920         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22921         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22922         Likewise.
22923         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22924         Likewise.
22925         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22926         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22927         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22928         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22929         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22930         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22931         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22932         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22933         * math/libm-test.inc (scalbn_test): Add more tests.
22934         (scalbln_test): Likewise.
22936         * manual/filesys.texi (mode_t): Describe constraints on size and
22937         signedness, not exact equivalence to a particular type.
22938         (ino_t): Likewise.
22939         (ino64_t): Likewise.
22940         (dev_t): Likewise.
22941         (nlink_t): Likewise.
22942         (blkcnt_t): Likewise.
22943         (blkcnt64_t): Likewise.
22944         * manual/llio.texi (off_t): Likewise.
22946         [BZ #3976]
22947         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22948         (__ieee754_exp): Save and restore rounding mode and use
22949         round-to-nearest for all computations.
22950         * math/libm-test.inc (exp_test_tonearest): New function.
22951         (exp_test_towardzero): Likewise.
22952         (exp_test_downward): Likewise.
22953         (exp_test_upward): Likewise.
22954         (main): Call the new functions.
22955         * sysdeps/i386/fpu/libm-test-ulps: Update.
22956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22958 2012-03-01  Chris Demetriou  <cgd@google.com>
22960         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22961         have predictable order.
22963 2012-03-01  David S. Miller  <davem@davemloft.net>
22965         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22967         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22968         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22969         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22970         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22972         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22973         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22974         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22976         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22977         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22978         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22979         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22980         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22984         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22985         * sysdeps/sparc/fpu/libm-test-ulps: to here.
22986         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22988         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22989         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22990         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22991         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22992         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22993         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22994         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22995         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22996         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22997         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22998         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22999         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23001         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23002         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23003         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23004         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23005         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23006         * sysdeps/sparc/elf/configure: Regenerated.
23008 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
23010         * configure.in (AS, LD): Require binutils 2.20 or later.
23011         * configure: Regenerated.
23012         * manual/install.texi (Tools for Compilation): Give binutils 2.20
23013         as required minimum version.
23014         * INSTALL: Regenerated.
23016         [BZ #2541]
23017         [BZ #4108]
23018         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23019         before squaring exponent.
23020         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23021         bottom long double and 27 bits of top long double before squaring
23022         exponent.
23023         * math/libm-test.inc (erfc_test): Add more tests.
23024         * sysdeps/i386/fpu/libm-test-ulps: Update.
23025         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23028 2012-03-01  Kai Tietz  <ktietz@redhat.com>
23030         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23031         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23032         containing bit-fields.
23033         * soft-fp/extended.h (_FP_UNION_E): Likewise.
23034         * soft-fp/single.h (_FP_UNION_S): Likewise.
23035         * soft-fp/double.h (_FP_UNION_D): Likewise.
23037 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23039         [BZ #13786]
23040         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23041         not include ../strcmp.S.
23042         [USE_AS_STRNCASECMP_L]: Likewise.
23043         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23044         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23045         * sysdeps/i386/i686/multiarch/strncase_l-c.c
23046         (__strncasecmp_l_ia32): Define as alias to
23047         __strncasecmp_l_nonascii.
23049         [BZ #5794]
23050         * math/libm-test.inc (expm1_test): Add test for bug 5794.
23051         * sysdeps/i386/fpu/libm-test-ulps: Update.
23052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23054         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23057 2012-02-29  Jeff Law  <law@redhat.com>
23059         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23060         out of bounds read.
23062 2012-02-29  Marek Polacek  <polacek@redhat.com>
23064         [BZ #13706]
23065         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23066         * elf/Makefile: Add rules to run tst-unused-dep.out.
23068 2012-02-28  David S. Miller  <davem@davemloft.net>
23070         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23071         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23072         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23073         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23074         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23075         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23077 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
23079         * math/libm-test.inc (llround_test): Move one test from
23080         lround_test.  Use TEST_f_L in moved test.
23081         (lround_test): Move misplaced test to llround_test.  Add testcase
23082         from bug 2561.
23084 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
23086         * sysdeps/x86_64/fpu/e_expf.S: New file.
23087         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23089 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
23091         [BZ #13637]
23092         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23093         of remain_len that may cause incomplete multi-byte character and
23094         false match.
23095         * posix/bug-regex33.c: New file.
23096         * posix/Makefile (tests): Add bug-regex33.
23098 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
23100         * manual/macros.texi: New file.
23101         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23102         * manual/libc.texinfo: Include macros.texi.
23103         * manual/creatute.texi: Likewise.
23104         * manual/install.texi: Likewise.
23105         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23106         @glibcadj{} in references to the GNU C Library.
23107         * manual/charset.texi: Likewise.
23108         * manual/conf.texi: Likewise.
23109         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
23110         when not using those macros.
23111         * manual/creature.texi: Likewise.
23112         * manual/crypt.texi: Likewise.
23113         * manual/errno.texi: Likewise.
23114         * manual/filesys.texi: Likewise.
23115         * manual/header.texi: Likewise.
23116         * manual/install.texi: Likewise.
23117         * manual/intro.texi: Likewise.
23118         * manual/io.texi: Likewise.
23119         * manual/job.texi: Likewise.
23120         * manual/lang.texi: Likewise.
23121         * manual/libc.texiinfo: Likewise.
23122         * manual/llio.texi: Likewise.
23123         * manual/locale.texi: Likewise.
23124         * manual/maint.texi: Likewise.
23125         * manual/math.texi: Likewise.
23126         * manual/memory.texi: Likewise.
23127         * manual/message.texi: Likewise.
23128         * manual/nss.texi: Likewise.
23129         * manual/pattern.texi: Likewise.
23130         * manual/process.texi: Likewise.
23131         * manual/resource.texi: Likewise.
23132         * manual/search.texi: Likewise.
23133         * manual/setjmp.texi: Likewise.
23134         * manual/signal.texi: Likewise.
23135         * manual/socket.texi: Likewise.
23136         * manual/startup.texi: Likewise.
23137         * manual/stdio.texi: Likewise.
23138         * manual/string.texi: Likewise.
23139         * manual/sysinfo.texi: Likewise.
23140         * manual/syslog.texi: Likewise.
23141         * manual/terminal.texi: Likewise.
23142         * manual/time.texi: Likewise.
23143         * manual/users.texi: Likewise.
23144         * INSTALL: Regenerated.
23145         * NOTES: Regenerated.
23146         * sysdeps/gnu/errlist.c: Regenerated.
23148 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
23150         * include/dirent.h: Include <dirstream.h> before
23151         <dirent/dirent.h>.
23153 2012-02-28  David S. Miller  <davem@davemloft.net>
23155         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23156         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23157         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23158         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23160 2012-02-27  David S. Miller  <davem@davemloft.net>
23162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23164         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23165         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23167         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23168         frame pointer instead of stack pointer relative arg slot.
23169         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23170         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23171         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23173 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
23175         [BZ #3992]
23176         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23178 2012-02-27  David S. Miller  <davem@davemloft.net>
23180         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23181         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23184         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23185         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23186         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23187         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23189 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23191         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23192         later.  Allow versions 5-9.
23193         * configure: Regenerated.
23194         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23195         required minimum version and 4.6 as recommended version.  Do not
23196         mention bugs in GCC 2.7 and 2.8.
23197         * INSTALL: Regenerated.
23199 2012-02-27  David S. Miller  <davem@davemloft.net>
23201         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23203         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23205         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23206         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23207         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23208         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23210         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23211         manipulate bits before adding and subtracting TWO112[sx].
23212         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23214 2012-02-27  Roland McGrath  <roland@hack.frob.com>
23216         [BZ #13775]
23217         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23218         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23219         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23220         being in POSIX, because they are in 1003.1-2008.
23222         * rt/tst-aio.c: Include <fcntl.h>.
23223         * rt/tst-aio7.c: Likewise.
23224         * rt/tst-aio64.c: Likewise.
23226         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23228 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
23230         * manual/install.texi (--with-headers): Describe headers as
23231         interface headers, not private headers.
23232         (Specific advice for GNU/Linux systems): Describe use of headers
23233         from "make headers_install", not private headers from older
23234         kernels.
23235         * INSTALL: Regenerated.
23236         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23237         Change to 2.6.19.
23238         * sysdeps/unix/sysv/linux/configure: Regenerated.
23240         * manual/llio.texi (fclean): Remove documentation.
23242         * manual/Makefile (libc-texi-generated): New variable.  Include
23243         version.texi.
23244         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23245         $(libc-texi-generated), not duplicated list of files.
23246         (version.texi, stamp-version): New rules.
23247         (realclean): Remove $(libc-texi-generated), not individual files
23248         from that list.  Do not remove dir-add.texinfo.
23249         * manual/libc.texinfo: Comment out uses of edition numbers and
23250         references to printed manual.  Remove last-updated dates.
23251         (EDITION): Comment out.
23252         (ISBN): Likewise.
23253         (VERSION, UPDATED): Remove.
23254         (version.texi): Include.
23256 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
23258         * sysdeps/posix/spawni.c: Include <signal.h>.
23259         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23260         * sysdeps/pthread/aio_fsync.c: Likewise.
23262 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
23264         * conform/Makefile (tests): Run only when not cross-compiling and
23265         when fast-check is not defined.
23267         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23268         * conform/data/limits.h-data: Fixes for POSIX2008.
23269         * conform/run-conformtest.sh: Run all tests.
23270         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23271         headers.
23272         * include/bits/dlfcn.h: Likewise.
23273         * include/langinfo.h: Likewise.
23274         * include/monetary.h: Likewise.
23275         * include/sys/poll.h: Likewise.
23277         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23278         for __USE_GNU.
23279         * posix/spawn.h: Define __need_sigset_t.
23280         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23281         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23282         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
23283         to get sigevent_t only.
23284         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23285         only for __USE_GNU.
23286         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23287         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23288         process_vm_writev only for __USE_GNU.
23289         * termios/termios.h: Declare tcgetsid also for POSIX2008.
23291         * conform/Makefile: For now ignore errors from run-conformtest.
23292         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
23293         POSIX to avoid namespace pollution.  Don't prepend headers.
23294         * conform/data/aio.h-data: Fixes for POSIX testing.
23295         * conform/data/fcntl.h-data: Likewise.
23296         * conform/data/glob.h-data: Likewise.
23297         * conform/data/grp.h-data: Likewise.
23298         * conform/data/pthread.h-data: Likewise.
23299         * conform/data/pwd.h-data: Likewise.
23300         * conform/data/signal.h-data: Likewise.
23301         * conform/data/spawn.h-data: Likewise.
23302         * conform/data/stdio.h-data: Likewise.
23303         * conform/data/stdlib.h-data: Likewise.
23304         * conform/data/stropts.h-data: Likewise.
23305         * conform/data/sys/mman.h-data: Likewise.
23306         * conform/data/sys/stat.h-data: Likewise.
23307         * conform/data/sys/types.h-data: Likewise.
23308         * conform/data/sys/wait.h-data: Likewise.
23309         * conform/data/time.h-data: Likewise.
23310         * conform/data/unistd.h-data: Likewise.
23311         * conform/data/utime.h-data: Likewise.
23313         * io/sys/stat.h: fchmod was always in POSIX.
23314         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23315         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23316         * rt/aio.h: Define __need_timespec before including <time.h>.
23317         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23318         struct.  Add forward declaration of pthread_attr_t and use it in
23319         sigevent.
23320         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23321         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23322         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23323         always remove CLK_TCK definition.
23325 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
23327         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23329 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
23331         * conform/run-conformtest.sh: New file.
23332         * conform/Makefile: Run run-conformtest for tests.
23333         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
23334         support.
23336         * conform/data/uchar.h-data: New file.
23337         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23338         * conform/data/arpa/inet.h-data: Likewise.
23339         * conform/data/assert.h-data: Likewise.
23340         * conform/data/complex.h-data: Likewise.
23341         * conform/data/cpio.h-data: Likewise.
23342         * conform/data/ctype.h-data: Likewise.
23343         * conform/data/dirent.h-data: Likewise.
23344         * conform/data/dlfcn.h-data: Likewise.
23345         * conform/data/errno.h-data: Likewise.
23346         * conform/data/fcntl.h-data: Likewise.
23347         * conform/data/float.h-data: Likewise.
23348         * conform/data/fmtmsg.h-data: Likewise.
23349         * conform/data/fnmatch.h-data: Likewise.
23350         * conform/data/ftw.h-data: Likewise.
23351         * conform/data/glob.h-data: Likewise.
23352         * conform/data/grp.h-data: Likewise.
23353         * conform/data/iconv.h-data: Likewise.
23354         * conform/data/inttypes.h-data: Likewise.
23355         * conform/data/langinfo.h-data: Likewise.
23356         * conform/data/libgen.h-data: Likewise.
23357         * conform/data/limits.h-data: Likewise.
23358         * conform/data/locale.h-data: Likewise.
23359         * conform/data/math.h-data: Likewise.
23360         * conform/data/monetary.h-data: Likewise.
23361         * conform/data/mqueue.h-data: Likewise.
23362         * conform/data/ndbm.h-data: Likewise.
23363         * conform/data/net/if.h-data: Likewise.
23364         * conform/data/netdb.h-data: Likewise.
23365         * conform/data/netinet/in.h-data: Likewise.
23366         * conform/data/nl_types.h-data: Likewise.
23367         * conform/data/poll.h-data: Likewise.
23368         * conform/data/pthread.h-data: Likewise.
23369         * conform/data/pwd.h-data: Likewise.
23370         * conform/data/regex.h-data: Likewise.
23371         * conform/data/sched.h-data: Likewise.
23372         * conform/data/search.h-data: Likewise.
23373         * conform/data/semaphore.h-data: Likewise.
23374         * conform/data/setjmp.h-data: Likewise.
23375         * conform/data/signal.h-data: Likewise.
23376         * conform/data/spawn.h-data: Likewise.
23377         * conform/data/stdarg.h-data: Likewise.
23378         * conform/data/stdio.h-data: Likewise.
23379         * conform/data/stdlib.h-data: Likewise.
23380         * conform/data/string.h-data: Likewise.
23381         * conform/data/strings.h-data: Likewise.
23382         * conform/data/stropts.h-data: Likewise.
23383         * conform/data/sys/ipc.h-data: Likewise.
23384         * conform/data/sys/mman.h-data: Likewise.
23385         * conform/data/sys/msg.h-data: Likewise.
23386         * conform/data/sys/resource.h-data: Likewise.
23387         * conform/data/sys/select.h-data: Likewise.
23388         * conform/data/sys/sem.h-data: Likewise.
23389         * conform/data/sys/shm.h-data: Likewise.
23390         * conform/data/sys/socket.h-data: Likewise.
23391         * conform/data/sys/stat.h-data: Likewise.
23392         * conform/data/sys/statvfs.h-data: Likewise.
23393         * conform/data/sys/time.h-data: Likewise.
23394         * conform/data/sys/timeb.h-data: Likewise.
23395         * conform/data/sys/times.h-data: Likewise.
23396         * conform/data/sys/types.h-data: Likewise.
23397         * conform/data/sys/uio.h-data: Likewise.
23398         * conform/data/sys/un.h-data: Likewise.
23399         * conform/data/sys/utsname.h-data: Likewise.
23400         * conform/data/sys/wait.h-data: Likewise.
23401         * conform/data/syslog.h-data: Likewise.
23402         * conform/data/tar.h-data: Likewise.
23403         * conform/data/termios.h-data: Likewise.
23404         * conform/data/utime.h-data: Likewise.
23405         * conform/data/utmpx.h-data: Likewise.
23406         * conform/data/varargs.h-data: Likewise.
23407         * conform/data/wchar.h-data: Likewise.
23408         * conform/data/wctype.h-data: Likewise.
23409         * conform/data/wordexp.h-data: Likewise.
23411         * include/stropts.h: New file.
23412         * include/uchar.h: New file.
23413         * include/aio.h: Changes to allow conformtest.pl to use the headers.
23414         * include/assert.h: Likewise.
23415         * include/ctype.h: Likewise.
23416         * include/dirent.h: Likewise.
23417         * include/dlfcn.h: Likewise.
23418         * include/fcntl.h: Likewise.
23419         * include/fnmatch.h: Likewise.
23420         * include/glob.h: Likewise.
23421         * include/grp.h: Likewise.
23422         * include/libio.h: Likewise.
23423         * include/locale.h: Likewise.
23424         * include/math.h: Likewise.
23425         * include/net/if.h: Likewise.
23426         * include/netdb.h: Likewise.
23427         * include/netinet/in.h: Likewise.
23428         * include/pthread.h: Likewise.
23429         * include/pwd.h: Likewise.
23430         * include/regex.h: Likewise.
23431         * include/sched.h: Likewise.
23432         * include/search.h: Likewise.
23433         * include/setjmp.h: Likewise.
23434         * include/signal.h: Likewise.
23435         * include/stdio.h: Likewise.
23436         * include/stdlib.h: Likewise.
23437         * include/string.h: Likewise.
23438         * include/sys/cdefs.h: Likewise.
23439         * include/sys/mman.h: Likewise.
23440         * include/sys/msg.h: Likewise.
23441         * include/sys/resource.h: Likewise.
23442         * include/sys/select.h: Likewise.
23443         * include/sys/socket.h: Likewise.
23444         * include/sys/stat.h: Likewise.
23445         * include/sys/statvfs.h: Likewise.
23446         * include/sys/time.h: Likewise.
23447         * include/sys/times.h: Likewise.
23448         * include/sys/uio.h: Likewise.
23449         * include/sys/utsname.h: Likewise.
23450         * include/sys/wait.h: Likewise.
23451         * include/termios.h: Likewise.
23452         * include/time.h: Likewise.
23453         * include/ulimit.h: Likewise.
23454         * include/unistd.h: Likewise.
23455         * include/utime.h: Likewise.
23456         * include/wchar.h: Likewise.
23457         * include/wctype.h: Likewise.
23458         * include/wordexp.h: Likewise.
23460         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23462         * time/time.h: TIME_UTC must be a macro.
23463         Make timespec_get available for ISO C11 only as well.
23465 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
23467         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23468         Reported by Peng Haitao <penght@cn.fujitsu.com>.
23470 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23472         * configure.in: Use -o not -a in test for unsupported multi-arch.
23474 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23476         * manual/texinfo.tex: Update to version 2012-01-19.16.
23478 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
23480         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23482 2012-02-24  Roland McGrath  <roland@hack.frob.com>
23484         [BZ #13738]
23485         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23486         * manual/fdl-1.3.texi: New file.
23487         * manual/fdl-1.1.texi: File removed.
23489         [BZ #13738]
23490         * manual/libc.texinfo (FDL_VERSION): New @set.
23491         Use it for mention of FDL in cover text.
23492         (Documentation License): Use it in @include file name.
23494 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23495             Roland McGrath  <roland@hack.frob.com>
23497         [BZ #5461]
23498         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23499         not LONG_LONG_MAX and LONG_LONG_MIN.
23500         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23501         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
23502         name.
23503         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23505 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23507         [BZ #2547]
23508         [BZ #11365]
23509         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23510         manipulate bits before adding and subtracting TWO23[sx].
23511         * math/libm-test.inc (nearbyint_test): Add more tests.
23513 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23515         [BZ #2548]
23516         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23517         bits before adding and subtracting TWO23[sx].
23518         * math/libm-test.inc (rint_test): Add more tests.
23519         (rint_test_tonearest): Likewise.
23520         (rint_test_towardzero): Likewise.
23521         (rint_test_downward): Likewise.
23522         (rint_test_upward: Likewise.
23524 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23526         [BZ #10110]
23527         * include/stdc-predef.h: New file.  Extracted from features.h.
23528         * include/features.h: Include stdc-predef.h.
23529         * Makefile (headers): Add stdc-predef.h.
23530         * CONFORMANCE (Compiler limitations): Update.
23532 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
23534         * manual/libc.texinfo (VERSION, UPDATED): Revert.
23536 2012-02-21  David S. Miller  <davem@davemloft.net>
23538         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23539         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23541 2012-02-20  David S. Miller  <davem@davemloft.net>
23543         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23544         using a normal save/restore sequence, rather than allocating a
23545         dummy stack frame just to store a frame pointer and restore.
23546         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23548 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23550         * manual/install.texi: Fix stray word in line-wrapped comment.
23552 2012-02-20  David S. Miller  <davem@davemloft.net>
23554         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23555         both binutils and gcc support GOTDATA.
23557         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23558         "rd %pc" in the PIC register setup sequences.
23560         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23561         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23562         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23563         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23564         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23565         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23566         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23567         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23568         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23569         (SYSCALL_ERROR_HANDLER): Likewise.
23570         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23571         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23572         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23573         (SYSCALL_ERROR_HANDLER): Likewise.
23575         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23576         (HAVE_GCC_GOTDATA): New.
23577         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23578         relocation support in both binutils and gcc.
23579         * sysdeps/sparc/elf/configure: Regenerate.
23581         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23582         * sysdeps/sparc/sparc32/elf/configure: Delete.
23583         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23584         * sysdeps/sparc/sparc64/elf/configure: Delete.
23585         * sysdeps/sparc/elf/configure.in: New file.
23586         * sysdeps/sparc/elf/configure: Generate.
23588         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23589         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23590         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23591         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23592         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23594 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23596         * manual/install.texi: Do not mention specific glibc version
23597         numbers.
23598         * manual/libc.texinfo (VERSION, UPDATED): Update.
23599         (@copying): Use @copyright{} and range of years.
23601 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
23603         [BZ #13695]
23604         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23605         [crti.S not in sysdirs] (generated): Do not append.
23606         [crti.S not in sysdirs] (omit-deps): Likewise.
23607         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23608         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23609         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23610         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23611         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23612         Likewise.
23613         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23614         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23615         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23616         * csu/defs.awk: Remove file.
23617         * sysdeps/generic/initfini.c: Likewise.
23618         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23619         variable.
23620         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23621         Likewise.
23623 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23625         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23626         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23627         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23628         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23629         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23630         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23631         <bits/epoll.h>.
23632         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23633         (__EPOLL_PACKED): Define to empty if not defined by
23634         <bits/epoll.h>.
23635         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23637         bits/epoll.h.
23639 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23641         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23642         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23643         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23644         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23645         <bits/timerfd.h>.
23646         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23647         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23648         bits/timerfd.h.
23650 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
23652         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23653         in C locale.
23654         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23655         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23656         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23659 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
23661         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23662         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23664 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
23666         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23667         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23668         defined.
23669         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23670         Likewise.
23671         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23672         entry for 2.16.
23674 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
23676         * math/w_acos.c: Use non-signaling floating-point comparisons.
23677         * math/w_acosf.c: Likewise.
23678         * math/w_acosh.c: Likewise.
23679         * math/w_acoshf.c: Likewise.
23680         * math/w_acoshl.c: Likewise.
23681         * math/w_acosl.c: Likewise.
23682         * math/w_asin.c: Likewise.
23683         * math/w_asinf.c: Likewise.
23684         * math/w_asinl.c: Likewise.
23685         * math/w_atanh.c: Likewise.
23686         * math/w_atanhf.c: Likewise.
23687         * math/w_atanhl.c: Likewise.
23688         * math/w_exp2.c: Likewise.
23689         * math/w_exp2f.c: Likewise.
23690         * math/w_exp2l.c: Likewise.
23691         * math/w_j0.c: Likewise.
23692         * math/w_j0f.c: Likewise.
23693         * math/w_j0l.c: Likewise.
23694         * math/w_j1.c: Likewise.
23695         * math/w_j1f.c: Likewise.
23696         * math/w_j1l.c: Likewise.
23697         * math/w_jn.c: Likewise.
23698         * math/w_jnf.c: Likewise.
23699         * math/w_log.c: Likewise.
23700         * math/w_log10.c: Likewise.
23701         * math/w_log10f.c: Likewise.
23702         * math/w_log10l.c: Likewise.
23703         * math/w_log2.c: Likewise.
23704         * math/w_log2f.c: Likewise.
23705         * math/w_log2l.c: Likewise.
23706         * math/w_logf.c: Likewise.
23707         * math/w_logl.c: Likewise.
23708         * math/w_sqrt.c: Likewise.
23709         * math/w_sqrtf.c: Likewise.
23710         * math/w_sqrtl.c: Likewise.
23711         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23712         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23713         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23714         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23715         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23717 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23719         [BZ #9739]
23720         * manual/string.texi (strnlen): Use correct parameter name in
23721         equivalent expression.
23723 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23725         [BZ #11174]
23726         * manual/users.texi (seteuid): Consistently use neweuid for
23727         argument name.
23729 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
23731         [BZ #13704]
23732         * manual/nss.texi (Services in the NSS configuration): Correct
23733         list of services in example configuration file.
23735 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
23737         [BZ #11322]
23738         * manual/arith.texi: Remove statements about negative zero
23739         behaving identically to zero.
23741 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23743         [BZ #5993]
23744         * manual/install.texi: Do not document upgrading from libc5.
23746 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
23748         [BZ #4596]
23749         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23751 2012-02-18  David S. Miller  <davem@davemloft.net>
23753         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23754         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23755         %o7 across the call.
23756         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23757         instead.
23758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23759         SETUP_PIC_REG_LEAF.
23760         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23761         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23762         * sysdeps/sparc/crtn.S: Likewise.
23764 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
23766         * aout/Makefile: Remove.
23768 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
23770         [BZ #13058]
23771         * manual/examples/argp-ex1.c (main): Format definition in GNU
23772         style.
23773         * manual/examples/argp-ex2.c (main): Likewise.
23774         * manual/examples/argp-ex3.c (main): Likewise.
23775         * manual/examples/argp-ex4.c (main): Likewise.
23776         * manual/examples/longopt.c (main): Use new-style prototype
23777         definition.
23778         * manual/examples/strncat.c (main): Specify return type and use
23779         (void) for arguments.
23780         * manual/examples/subopt.c (main): Use char **argv argument.
23782 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23784         [BZ #5077]
23785         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23786         rounding modes.
23788 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
23790         [BZ #6907]
23791         * manual/string.texi (strchr): Change when strchrnul is
23792         recommended.
23794 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
23796         [BZ #174]
23797         * manual/locale.texi (setlocale): Document LOCPATH.
23799 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23801         [BZ #10210]
23802         * manual/process.texi (execle): Move @dots{} before last argument.
23804 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
23806         [BZ #12047]
23807         * manual/charset.texi (Generic Charset Conversion): Fix typo
23808         (LC_TYPE -> LC_CTYPE).
23810 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
23812         [BZ #5805]
23813         * manual/arith.texi (scalbn): Use @var{} on parameter names.
23814         (scalbnf): Likewise.
23815         (scalbnl): Likewise.
23816         (scalbln): Likewise.
23817         (scalblnf): Likewise.
23818         (scalblnl): Likewise.
23819         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23820         (vwarnx): Likewise.
23821         (verr): Likewise.
23822         (verrx): Likewise.
23823         * manual/filesys.texi (telldir): Use braces around return type.
23824         * manual/llio.texi (mmap): Add space after comma.
23825         (mmap64): Likewise.
23826         * manual/math.texi (jn): Use @var{} on parameter names.
23827         (jnf): Likewise.
23828         (jnl): Likewise.
23829         (yn): Likewise.
23830         (ynf): Likewise.
23831         (ynl): Likewise.
23832         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23833         line.
23834         * manual/resource.texi (ulimit): Use @dots{} instead of literal
23835         "...".
23836         (sched_get_priority_min): Remove semicolon on @deftypefun line.
23837         (sched_get_priority_max): Likewise.
23838         * manual/signal.texi (sigvec): Add space after comma.
23839         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23840         names.
23841         (if_indextoname): Likewise.
23842         (if_freenameindex): Likewise.
23843         (sendto): Use ',' instead of '.' in prototype.
23844         * manual/startup.texi (syscall): Use @dots{} instead of literal
23845         "...".
23846         * manual/stdio.texi (__fpending): Separate initial words of
23847         paragraph from @deftypefun line.
23848         * manual/syslog.texi (syslog): Use @dots{} instead of literal
23849         "...".
23850         (vsyslog): Use @var{} on parameter names.
23851         * manual/terminal.texi (stty): Use @var{} on parameter names.
23852         * manual/users.texi (getutmp): Use @var{} on parameter names.
23853         (getutmpx): Likewise.
23855 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23857         [BZ #6884]
23858         * manual/stdio.texi (fopen): Fix typos in description of
23859         ",ccs=STRING".
23861 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
23863         [BZ #4026]
23864         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23865         get clock_id definition.
23867 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
23869         [BZ #4822]
23870         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23871         (madvise): Cast every argument to void on its own.
23873 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23875         [BZ #9902]
23876         * manual/startup.texi (Exit Status): Fix typo.
23878 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
23880         [BZ #10140]
23881         * manual/examples/argp-ex1.c: Include <stdlib.h>.
23882         * manual/examples/argp-ex2.c: Likewise.
23883         * manual/examples/argp-ex3.c: Likewise.
23885 2012-02-16  Richard Henderson  <rth@redhat.com>
23887         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23888         * sysdeps/s390/s390-32/initfini.c: Remove.
23889         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23890         * sysdeps/s390/s390-64/initfini.c: Remove.
23892 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23894         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23895         compiler output for sysdeps/generic/initfini.c.
23896         * sysdeps/sh/elf/initfini.c: Remove file.
23898 2012-02-16  David S. Miller  <davem@davemloft.net>
23900         [BZ #11494]
23901         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23903         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23904         * sysdeps/sparc/crti.S: New file.
23905         * sysdeps/sparc/crtn.S: New file.
23906         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23907         * sysdeps/sparc/sparc64/Makefile: Likewise.
23909 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
23911         [BZ #3335]
23912         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23914 2012-02-15  Roland McGrath  <roland@hack.frob.com>
23916         [BZ #4822]
23917         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23919         * mach/devstream.c (cookie_io_functions_t): Macro removed.
23920         (write, read, close): Likewise.
23921         Patch by Aurelien Jarno <aurelien@aurel32.net>.
23923 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
23925         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23926         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23927         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23928         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23929         <bits/signalfd.h>.
23930         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23931         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23932         bits/signalfd.h.
23934 2012-02-14  Marek Polacek  <polacek@redhat.com>
23936         * sysdeps/x86_64/crti.S: New file.
23937         * sysdeps/x86_64/crtn.S: New file.
23938         * sysdeps/x86_64/elf/initfini.c: Remove file.
23940 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23942         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23943         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23944         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23945         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23946         <bits/inotify.h>.
23947         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23948         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23949         bits/inotify.h.
23951 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
23953         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23954         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23955         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23956         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23957         <bits/eventfd.h>.
23958         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23960         bits/eventfd.h.
23962 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
23964         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23965         __feraiseexcept instead of feraiseexcept.
23967         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23968         nanosleep invocations.
23969         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23970         strings, and add error checking for a nanosleep invocations.
23972 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
23974         Replace FSF snail mail address with URLs, as per GNU coding standards.
23975         Most of the snail mail addresses were wrong anyway, and omitting
23976         them makes the source code easier to maintain.  Almost all of the
23977         changes are to license notices and to locale LC_IDENTIFICATION
23978         addresses, except for this one:
23979         * manual/libc.texinfo: In "Published by", give the FSF's URL,
23980         not its snail mail address.
23982 2012-02-09  Richard Henderson  <rth@twiddle.net>
23984         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23985         of kernel-features.h.
23987         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23989 2012-02-08  Marek Polacek  <polacek@redhat.com>
23991         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23992         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23993         * sysdeps/gnu/_G_config.h: Likewise.
23994         * sysdeps/generic/_G_config.h: Likewise.
23996 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
23998         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23999         tests.
24000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24002         * sysdeps/powerpc/powerpc32/crti.S: New file.
24003         * sysdeps/powerpc/powerpc32/crtn.S: New file.
24004         * sysdeps/powerpc/powerpc64/crti.S: New file.
24005         * sysdeps/powerpc/powerpc64/crtn.S: New file.
24007         * Makeconfig (have-initfini): Don't set.
24008         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24009         * configure.in (nopic_initfini): Don't substitute.
24010         * config.h.in (HAVE_INITFINI): Don't #undef.
24011         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24012         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24014 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
24016         Support crti.S and crtn.S provided directly by architectures.
24017         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24018         [crti.S in sysdirs] (omit-deps): Likewise.
24019         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24020         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24021         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24022         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24023         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24024         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24025         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24026         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24027         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24028         compiler output for sysdeps/generic/initfini.c.
24029         * sysdeps/i386/elf/Makefile: Remove file.
24030         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24032 2012-02-07  Marek Polacek  <polacek@redhat.com>
24034         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24035         * sysdeps/gnu/_G_config.h: Likewise.
24036         * sysdeps/mach/hurd/_G_config.h: Likewise.
24038 2012-02-07  Marek Polacek  <polacek@redhat.com>
24040         * math/Makefile (tests): Add tst-CMPLX2.
24041         * math/tst-CMPLX2.c: New file.
24043 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
24045         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24047         * math/libm-test.inc (jn_test): Add missing L suffix.
24049 2012-02-06  Marek Polacek  <polacek@redhat.com>
24051         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24052         * sysdeps/i386/fpu/e_powf.S: Likewise.
24053         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24054         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24055         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24056         * sysdeps/i386/fpu/e_pow.S: Likewise.
24057         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24058         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24059         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24060         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24061         * sysdeps/i386/fpu/e_log2.S: Likewise.
24062         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24063         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24064         * sysdeps/i386/fpu/e_powl.S: Likewise.
24065         * sysdeps/i386/fpu/s_log1p.S: Likewise.
24066         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24067         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24068         * sysdeps/i386/fpu/e_logl.S: Likewise.
24069         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24070         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24071         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24072         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24073         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24074         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24075         * sysdeps/i386/fpu/e_log.S: Likewise.
24076         * sysdeps/i386/fpu/s_cexp.S: Likewise.
24077         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24078         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24079         * sysdeps/i386/fpu/e_logf.S: Likewise.
24080         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24081         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24082         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24083         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24084         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24085         * sysdeps/i386/fpu/e_log10.S: Likewise.
24086         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24087         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24088         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24089         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24090         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24091         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24092         * sysdeps/i386/asm-syntax.h: Likewise.
24093         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24094         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24095         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24096         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24097         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24098         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24099         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24100         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24101         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24102         * sysdeps/powerpc/sysdep.h: Likewise.
24103         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24104         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24106 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24108         [BZ #411]
24109         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24111 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
24113         * sysdeps/i386/sysdep.h: Include <features.h>.
24114         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24115         version.
24117 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
24119         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24120         Define.
24121         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24122         LOAD_PIC_REG_STR.
24124 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24126         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24127         (SETUP_PIC_REG): Use GET_PC_THUNK.
24128         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24129         macro.
24131 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24133         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24134         for non-PIC compilation.
24135         (SETUP_PIC_REG): Add .p2align directive.
24136         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24137         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24138         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24139         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24140         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24141         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24142         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24143         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24144         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24145         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24146         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24147         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24148         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24149         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24150         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24151         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24152         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24153         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24154         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24155         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24156         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24157         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24158         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24159         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24160         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24161         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24162         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24163         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24164         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24165         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24166         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24167         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24168         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24169         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24170         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24171         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24172         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24173         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24174         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24175         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24176         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24178 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
24180         * math/tst-CMPLX.c: Include <stdio.h>.
24182 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
24184         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24185         float.
24186         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24187         * sysdeps/sparc/bits/mathdef.h: Likewise.
24189 2012-01-31  Marek Polacek  <polacek@redhat.com>
24191         * libio/libio.h: Don't define _PARAMS.
24192         * locale/programs/config.h: Don't define PARAMS.
24193         * stdlib/strtol_l.c: Likewise.
24194         (__strtol_l): Remove PARAMS from the prototype.
24196 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
24198         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
24199         names.  Just use the correct names.  Remove unnecessary wrapper
24200         functions.
24201         * malloc/arena.c: Likewise.
24202         * malloc/hooks.c: Likewise.
24204         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24205         ARENA_TEST says not to.  Simplify test for creation of a new arena.
24206         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24208 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
24210         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24211         into tail calls.
24212         (update_get_addr): New function.
24213         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24214         GET_ADDR_MODULE parameter.
24216 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24218         * crypt/cert.c: Remove __STDC__ conditionals.
24219         * crypt/crypt-entry.c: Likewise.
24220         * crypt/crypt_util.c: Likewise.
24221         * libio/filedoalloc.c: Likewise.
24222         * libio/fileops.c: Likewise.
24223         * libio/genops.c: Likewise.
24224         * libio/iofclose.c: Likewise.
24225         * libio/iofdopen.c: Likewise.
24226         * libio/iofopen.c: Likewise.
24227         * libio/iofopen64.c: Likewise.
24228         * libio/iogetdelim.c: Likewise.
24229         * libio/iopopen.c: Likewise.
24230         * libio/obprintf.c: Likewise.
24231         * libio/oldfileops.c: Likewise.
24232         * libio/oldiofclose.c: Likewise.
24233         * libio/oldiofdopen.c: Likewise.
24234         * libio/oldiofopen.c: Likewise.
24235         * libio/oldiopopen.c: Likewise.
24236         * libio/wfiledoalloc.c: Likewise.
24237         * libio/wgenops.c: Likewise.
24238         * locale/programs/xmalloc.c: Likewise.
24239         * misc/syslog.c: Likewise.
24240         * stdio-common/xbug.c: Likewise.
24241         * string/memchr.c: Likewise.
24242         * string/memcmp.c: Likewise.
24243         * string/memrchr.c: Likewise.
24244         * string/rawmemchr.c: Likewise.
24245         * sysdeps/posix/getcwd.c: Likewise.
24246         * time/strftime_l.c: Likewise.
24248 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
24250         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24251         * config.make.in (config-cflags-sse2avx): Define.
24252         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24253         Fix typo.
24255 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
24257         * scripts/config.guess: Update from upstream config git repository.
24258         * scripts/config.sub: Likewise.
24260 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
24262         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24263         (EM_NUM): Update.
24264         (R_TILEPRO_*, R_TILEGX_*): New macros.
24266         * scripts/firstversions.awk: Fix bug in version range handling.
24268         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24270         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24272         * include/sys/epoll.h: New file.
24273         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24274         libc_hidden_def.
24276 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
24278         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24279         Avoid unnecessary __WORDSIZE == 64 test.
24280         (fmaxf): Use VEX format if possible.
24281         (fmax): Likewise.
24282         (fminf): Likewise.
24283         (fmin): Likewise.
24285         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24286         * math/math_private.h: Remove libc_fegetround* and
24287         libc_fesetround*.
24288         * sysdeps/i386/configure.in: Check for -msse2avx.
24289         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24290         also if SSE2AVX is defined.
24291         Remove libc_fegetround* and libc_fesetround*.
24292         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24293         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
24294         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24295         of HAS_YMM_USABLE.
24296         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24297         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24298         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24299         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24300         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24302         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24304 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24306         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24307         size is not set.
24308         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24310 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
24312         [BZ #13618]
24313         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24314         relocation.
24315         * Makeconfig (libm): Define.
24316         * elf/Makefile: Add rules to build and run tst-relsort1.
24317         * elf/tst-relsort1.c: New file.
24318         * elf/tst-relsort1mod1.c: New file.
24319         * elf/tst-relsort1mod2.c: New file.
24321 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
24323         * math/s_ldexp.c: Remove __STDC__ conditionals.
24324         * math/s_ldexpf.c: Likewise.
24325         * math/s_ldexpl.c: Likewise.
24326         * math/s_nextafter.c: Likewise.
24327         * math/s_nexttowardf.c: Likewise.
24328         * math/s_significand.c: Likewise.
24329         * math/s_significandf.c: Likewise.
24330         * math/s_significandl.c: Likewise.
24331         * math/w_jnl.c: Likewise.
24332         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24333         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24334         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24335         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24336         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24337         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24338         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24339         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24340         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24341         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24342         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24343         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24344         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24345         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24346         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24347         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24348         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24349         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24350         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24351         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24352         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24353         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24354         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24355         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24356         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24357         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24358         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24359         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24360         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24361         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24362         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24363         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24364         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24365         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24366         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24367         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24368         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24369         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24370         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24371         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24372         * sysdeps/ieee754/k_standard.c: Likewise.
24373         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24374         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24375         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24376         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24377         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24378         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24379         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24380         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24381         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24382         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24383         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24384         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24385         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24386         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24387         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24388         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24389         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24390         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24391         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24392         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24393         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24394         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24395         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24396         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24397         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24398         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24399         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24400         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24401         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24402         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24403         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24404         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24405         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24406         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24407         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24408         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24409         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24410         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24411         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24412         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24413         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24414         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24415         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24416         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24417         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24418         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24419         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24420         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24421         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24422         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24423         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24424         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24425         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24426         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24427         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24428         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24429         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24430         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24431         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24432         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24433         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24434         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24435         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24436         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24437         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24438         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24439         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24440         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24441         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24442         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24443         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24444         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24445         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24446         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24447         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24448         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24449         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24450         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24451         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24452         * sysdeps/ieee754/s_matherr.c: Likewise.
24453         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24454         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24455         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24456         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24458 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24460         * crypt/md5.h: Remove __STDC__ conditionals.
24461         * libio/libioP.h: Likewise.
24462         * locale/programs/config.h: Likewise.
24463         * sysdeps/generic/sysdep.h: Likewise.
24464         * sysdeps/i386/asm-syntax.h: Likewise.
24465         * sysdeps/s390/asm-syntax.h: Likewise.
24466         * sysdeps/unix/sysdep.h: Likewise.
24467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24470 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
24472         * libio/libio.h: Remove __STDC__ conditionals.
24473         * malloc/obstack.h: Likewise.
24474         * math/complex.h: Likewise.
24475         * math/math.h: Likewise.
24476         * sysdeps/generic/_G_config.h: Likewise.
24477         * sysdeps/gnu/_G_config.h: Likewise.
24478         * sysdeps/mach/hurd/_G_config.h: Likewise.
24479         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24480         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24481         * sysdeps/sparc/bits/mathdef.h: Likewise.
24483 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
24485         [BZ #13583]
24486         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24487         Clean up HAS_* macros.
24488         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24489         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24490         possible.
24491         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24492         HAS_AVX.
24493         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24494         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24495         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24496         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24497         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24499 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
24501         * elf/tst-unique3.cc (gets): Remove declaration.
24502         * elf/tst-unique3lib.cc (gets): Likewise.
24503         * elf/tst-unique3lib2.cc (gets): Likewise.
24504         * elf/tst-unique4.cc (gets): Likewise.
24506 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
24508         * include/stdio.h: Add C++ protection.  Add gets declarations and
24509         definitions.
24510         * debug/tst-chk1.c: Don't declare gets here.
24511         * stdio-common/tst-gets.c: Likewise.
24513 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24515         * posix/glob: Remove directory.
24517 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
24519         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24521 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
24523         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24524         of the non-standard EPFNOSUPPORT.
24526 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24528         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24529         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24530         ANYWHERE set to 1 only on KERN_NO_SPACE error.
24532 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
24534         * wcsmbs/uchar.h: Test __STDC_VERSION__.
24536 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
24538         * nscd/aicache.c (addhstaiX): Do not cache negative results of
24539         transient errors.
24540         * nscd/grpcache.c (cache_addgr): Likewise.
24541         * nscd/hstcache.c (cache_addhst): Likewise.
24542         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24543         * nscd/pwdcache.c (cache_addpw): Likewise.
24544         * nscd/servicescache.c (cache_addserv): Likewise.
24546 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
24548         * malloc/malloc.c: Various cleanups.
24549         * malloc/hooks.c: Likewise.
24551         * stdlib/Makefile (tests): Add bug-fmtmsg1.
24552         * stdlib/bug-fmtmsg1.c: New file.
24554         * stdlib/fmtmsg.c (init): Add missing unlock.
24555         Patch by Peng Haitao <penght@cn.fujitsu.com>.
24557 2012-01-12  Marek Polacek  <polacek@redhat.com>
24559         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24560         and _GNU_SOURCE.
24562 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
24564         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24565         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24566         macro to ensure uniqueness of label name.
24567         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24568         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24570 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
24572         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24574         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24575         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24576         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24577         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24579 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
24581         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24583         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24584         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24585         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24587         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24589         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24590         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24591         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24592         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24594         * math/bits/math-finite.h: Add ldexp support.
24596 2012-01-10  Marek Polacek  <polacek@redhat.com>
24598         * locale/programs/localedef.h (show_archive_content): Add noreturn
24599         attribute.
24601 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
24603         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24605 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24607         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24609         * io/Makefile (headers): Add bits/poll2.h.
24611 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
24613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24614         typo #include statement.
24616 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24618         * include/sys/cdefs.h: Define __attribute_alloc_size.
24619         * catgets/gencat.c: Add alloc_size attribute and apply consistently
24620         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24621         * elf/pldd.c: Likewise.
24622         * iconv/iconv_charmap.c: Likewise.
24623         * iconv/iconvconfig.c: Likewise.
24624         * iconv/strtab.c: Likewise.
24625         * locale/programs/locale.c: Likewise.
24626         * locale/programs/localedef.h: Likewise.
24627         * locale/programs/simple-hash.c: Likewise.
24628         * nscd/nscd.h: Likewise.
24629         * nss/makedb.c: Likewise.
24630         * sysdeps/generic/ldconfig.h: Likewise.
24631         * locale/programs/localedef.c: Remove xmalloc prototype.
24632         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24634 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24636         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24637         appropriate.
24639 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
24641         * math/Makefile (tests): Add tst-CMPLX.
24642         * math/tst-CMPLX.c: New file.
24644         * math/complex.h (CMPLXL): Fix typo.
24646         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24647         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24648         GLIBC_2.16.
24649         * debug/tst-chk1.c: Add poll and ppoll tests.
24650         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24651         * include/sys/poll.h: Add hidden proto for ppoll.
24652         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24653         * sysdeps/mach/hurd/ppoll.c: Likewise.
24654         * io/ppoll.c: Likewise.
24655         * debug/poll_chk.c: New file.
24656         * debug/ppoll_chk.c: New file.
24657         * include/bits/poll2.h: New file.
24658         * io/bits/poll2.h: New file.
24660         [BZ #1350]
24661         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24663         * configure.in: static is always set to yes.  Remove.
24664         * config.make.in: Don't set build-static.
24665         * Makeconfig: Remove use of build-static.
24666         * dlfcn/Makefile: Likewise.
24667         * elf/Makefile: Likewise.
24668         * math/Makefile: Likewise.
24669         * misc/Makefile: Likewise.
24670         * nptl/Makefile: Likewise.
24671         * sysdeps/mach/hurd/Makefile: Likewise.
24673         * configure.in: PWD_P is not used anymore.
24674         * config.make.in: Remove PWD_P entry.
24676         * configure.in: Remove last remnants of RANLIB.
24677         No need to check for signed size_t anymore.
24678         Don't set libc_commonpagesize and libc_relro_required here for Alpha
24679         and IA-64.
24680         Remove __builtin_expect test because we require at least gcc 3.4.
24681         * aclocal.m4: Likewise.
24683         * wcsmbs/mbrtoc16.c: Implement using towc function.
24684         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24685         * wcsmbs/wcsmbsload.c: Likewise.
24686         * iconv/gconv_simple.c: Likewise.
24687         * iconv/gconv_int.h: Likewise.
24688         * iconv/gconv_builtin.h: Likewise.
24689         * iconv/iconv_prog.c: Remove CHAR16 handling.
24691         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24693         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24695         * configure.in: Remove --with-elf and --enable-bounded options.
24696         Dont set base_machine for ia64.  More non-ELF conditions removed.
24697         Remove testing and setting of leading underscore information.
24698         * config.make.in (build-bounded): Set to no.
24699         * config.h.in: Remove NO_UNDERSCORES entry.
24700         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
24701         them.
24702         * csu/start.c: Remove !NO_UNDERSCORE code.
24703         * locale/localeinfo.h: Likewise.
24704         * sysdeps/generic/machine-gmon.h: Likewise.
24705         * sysdeps/generic/sysdep.h: Likewise.
24706         * sysdeps/i386/sysdep.h: Likewise.
24707         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24708         * sysdeps/mach/sysdep.h: Likewise.
24709         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24710         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24711         * sysdeps/sh/sysdep.h: Likewise.
24712         * sysdeps/sparc/sparc32/alloca.S: Likewise.
24713         * sysdeps/unix/i386/sysdep.S: Likewise.
24714         * sysdeps/unix/sparc/start.c: Likewise.
24715         * sysdeps/unix/sparc/sysdep.S: Likewise.
24716         * sysdeps/unix/sparc/sysdep.h: Likewise.
24717         * sysdeps/unix/start.c: Likewise.
24718         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24719         * sysdeps/x86_64/sysdep.h: Likewise.
24721 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
24723         [BZ #13553]
24724         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24725         for non-gcc.
24726         * argp/argp-fmtstream.h: Use const instead __const.
24727         * argp/argp.h: Likewise.
24728         * assert/assert.h: Likewise.
24729         * bits/fenv.h: Likewise.
24730         * bits/sched.h: Likewise.
24731         * bits/sigset.h: Likewise.
24732         * bits/sigthread.h: Likewise.
24733         * catgets/nl_types.h: Likewise.
24734         * conform/data/pthread.h-data: Likewise.
24735         * crypt/crypt-private.h: Likewise.
24736         * crypt/crypt.h: Likewise.
24737         * crypt/crypt_util.c: Likewise.
24738         * ctype/ctype.h: Likewise.
24739         * debug/execinfo.h: Likewise.
24740         * debug/mbsnrtowcs_chk.c: Likewise.
24741         * debug/mbsrtowcs_chk.c: Likewise.
24742         * debug/wcsnrtombs_chk.c: Likewise.
24743         * debug/wcsrtombs_chk.c: Likewise.
24744         * debug/wcstombs_chk.c: Likewise.
24745         * dirent/dirent.h: Likewise.
24746         * dlfcn/dlfcn.h: Likewise.
24747         * elf/neededtest4.c: Likewise.
24748         * grp/grp.h: Likewise.
24749         * gshadow/gshadow.h: Likewise.
24750         * iconv/gconv.h: Likewise.
24751         * iconv/gconv_int.h: Likewise.
24752         * iconv/gconv_simple.c: Likewise.
24753         * iconv/iconv.h: Likewise.
24754         * iconv/loop.c: Likewise.
24755         * iconv/skeleton.c: Likewise.
24756         * include/aio.h: Likewise.
24757         * include/aliases.h: Likewise.
24758         * include/argz.h: Likewise.
24759         * include/arpa/inet.h: Likewise.
24760         * include/assert.h: Likewise.
24761         * include/dirent.h: Likewise.
24762         * include/dlfcn.h: Likewise.
24763         * include/execinfo.h: Likewise.
24764         * include/fcntl.h: Likewise.
24765         * include/fenv.h: Likewise.
24766         * include/glob.h: Likewise.
24767         * include/grp.h: Likewise.
24768         * include/libintl.h: Likewise.
24769         * include/mntent.h: Likewise.
24770         * include/netdb.h: Likewise.
24771         * include/pwd.h: Likewise.
24772         * include/rpc/netdb.h: Likewise.
24773         * include/sched.h: Likewise.
24774         * include/search.h: Likewise.
24775         * include/shadow.h: Likewise.
24776         * include/signal.h: Likewise.
24777         * include/stdio.h: Likewise.
24778         * include/stdlib.h: Likewise.
24779         * include/string.h: Likewise.
24780         * include/sys/socket.h: Likewise.
24781         * include/sys/stat.h: Likewise.
24782         * include/sys/statfs.h: Likewise.
24783         * include/sys/statvfs.h: Likewise.
24784         * include/sys/syslog.h: Likewise.
24785         * include/sys/time.h: Likewise.
24786         * include/sys/uio.h: Likewise.
24787         * include/time.h: Likewise.
24788         * include/unistd.h: Likewise.
24789         * include/utmp.h: Likewise.
24790         * include/wchar.h: Likewise.
24791         * include/wctype.h: Likewise.
24792         * inet/aliases.h: Likewise.
24793         * inet/arpa/inet.h: Likewise.
24794         * inet/netinet/ether.h: Likewise.
24795         * inet/netinet/in.h: Likewise.
24796         * intl/libintl.h: Likewise.
24797         * io/bits/fcntl2.h: Likewise.
24798         * io/fcntl.h: Likewise.
24799         * io/ftw.h: Likewise.
24800         * io/sys/poll.h: Likewise.
24801         * io/sys/stat.h: Likewise.
24802         * io/sys/statfs.h: Likewise.
24803         * io/sys/statvfs.h: Likewise.
24804         * io/utime.h: Likewise.
24805         * libio/bits/stdio.h: Likewise.
24806         * libio/bits/stdio2.h: Likewise.
24807         * libio/libio.h: Likewise.
24808         * libio/libioP.h: Likewise.
24809         * libio/stdio.h: Likewise.
24810         * locale/lc-ctype.c: Likewise.
24811         * locale/locale.h: Likewise.
24812         * login/utmp.h: Likewise.
24813         * malloc/arena.c: Likewise.
24814         * malloc/malloc.c: Likewise.
24815         * malloc/malloc.h: Likewise.
24816         * malloc/mcheck.c: Likewise.
24817         * malloc/mtrace.c: Likewise.
24818         * math/bits/mathcalls.h: Likewise.
24819         * math/fenv.h: Likewise.
24820         * math/math_private.h: Likewise.
24821         * misc/bits/error.h: Likewise.
24822         * misc/bits/syslog.h: Likewise.
24823         * misc/err.h: Likewise.
24824         * misc/error.h: Likewise.
24825         * misc/fstab.h: Likewise.
24826         * misc/mntent.h: Likewise.
24827         * misc/regexp.h: Likewise.
24828         * misc/search.h: Likewise.
24829         * misc/sgtty.h: Likewise.
24830         * misc/sys/mman.h: Likewise.
24831         * misc/sys/syslog.h: Likewise.
24832         * misc/sys/uio.h: Likewise.
24833         * misc/sys/xattr.h: Likewise.
24834         * misc/ttyent.h: Likewise.
24835         * nis/rpcsvc/ypclnt.h: Likewise.
24836         * nss/nss.h: Likewise.
24837         * posix/bits/unistd.h: Likewise.
24838         * posix/fnmatch.h: Likewise.
24839         * posix/glob.h: Likewise.
24840         * posix/sched.h: Likewise.
24841         * posix/spawn.h: Likewise.
24842         * posix/sys/wait.h: Likewise.
24843         * posix/unistd.h: Likewise.
24844         * posix/wordexp.h: Likewise.
24845         * pwd/pwd.h: Likewise.
24846         * resolv/netdb.h: Likewise.
24847         * resource/sys/resource.h: Likewise.
24848         * rt/aio.h: Likewise.
24849         * rt/bits/mqueue2.h: Likewise.
24850         * rt/mqueue.h: Likewise.
24851         * shadow/shadow.h: Likewise.
24852         * signal/signal.h: Likewise.
24853         * socket/send.c: Likewise.
24854         * socket/sendto.c: Likewise.
24855         * socket/sys/socket.h: Likewise.
24856         * stdio-common/printf.h: Likewise.
24857         * stdlib/bits/stdlib.h: Likewise.
24858         * stdlib/fmtmsg.h: Likewise.
24859         * stdlib/monetary.h: Likewise.
24860         * stdlib/stdlib.h: Likewise.
24861         * stdlib/ucontext.h: Likewise.
24862         * streams/stropts.h: Likewise.
24863         * string/argz.h: Likewise.
24864         * string/bits/string2.h: Likewise.
24865         * string/string.h: Likewise.
24866         * string/strings.h: Likewise.
24867         * sunrpc/rpc/auth.h: Likewise.
24868         * sunrpc/rpc/auth_des.h: Likewise.
24869         * sunrpc/rpc/clnt.h: Likewise.
24870         * sunrpc/rpc/netdb.h: Likewise.
24871         * sunrpc/rpc/pmap_clnt.h: Likewise.
24872         * sunrpc/rpc/xdr.h: Likewise.
24873         * sysdeps/generic/inttypes.h: Likewise.
24874         * sysdeps/generic/net/if.h: Likewise.
24875         * sysdeps/generic/sys/swap.h: Likewise.
24876         * sysdeps/gnu/net/if.h: Likewise.
24877         * sysdeps/gnu/utmpx.h: Likewise.
24878         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24879         * sysdeps/i386/i486/bits/string.h: Likewise.
24880         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24881         * sysdeps/s390/bits/string.h: Likewise.
24882         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24883         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24884         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24885         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24886         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24887         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24888         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24889         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24890         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24891         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24892         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24893         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24894         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24895         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24896         * sysdeps/unix/sysv/linux/readv.c: Likewise.
24897         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24898         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24899         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24900         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24901         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24902         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24903         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24904         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24905         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24906         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24907         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24908         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24909         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24910         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24911         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24912         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24913         * sysvipc/sys/ipc.h: Likewise.
24914         * sysvipc/sys/msg.h: Likewise.
24915         * sysvipc/sys/sem.h: Likewise.
24916         * sysvipc/sys/shm.h: Likewise.
24917         * termios/termios.h: Likewise.
24918         * time/sys/time.h: Likewise.
24919         * time/time.h: Likewise.
24920         * wcsmbs/bits/wchar2.h: Likewise.
24921         * wcsmbs/uchar.h: Likewise.
24922         * wcsmbs/wchar.h: Likewise.
24923         * wctype/wctype.h: Likewise.
24925         [BZ #13551]
24926         * Makeconfig: Remove all but ELF support including AIX support.
24927         * Makerules: Likewise.
24928         * config.h.in: Likewise.
24929         * config.make.in: Likewise.
24930         * configure: Likewise.
24931         * configure.in: Likewise.
24932         * csu/Makefile: Likewise.
24933         * csu/version.c: Likewise.
24934         * debug/Makefile: Likewise.
24935         * dlfcn/Makefile: Likewise.
24936         * elf/Makefile: Likewise.
24937         * extra-lib.mk: Likewise.
24938         * iconv/Makefile: Likewise.
24939         * include/libc-symbols.h: Likewise.
24940         * include/shlib-compat.h: Likewise.
24941         * resolv/Makefile: Likewise.
24942         * resolv/res_libc.c: Likewise.
24943         * rt/Makefile: Likewise.
24944         * sysdeps/i386/asm-syntax.h: Likewise.
24945         * sysdeps/i386/sysdep.h: Likewise.
24946         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24947         * sysdeps/mach/sysdep.h: Likewise.
24948         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24949         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24950         * sysdeps/s390/asm-syntax.h: Likewise.
24951         * sysdeps/s390/s390-32/sysdep.h: Likewise.
24952         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24953         * sysdeps/sh/sysdep.h: Likewise.
24954         * sysdeps/unix/sparc/sysdep.h: Likewise.
24955         * sysdeps/wordsize-32/divdi3.c: Likewise.
24956         * sysdeps/x86_64/sysdep.h: Likewise.
24958         * argp/Versions: Remove _argp_unlock_xxx.
24960         [BZ #13559]
24961         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
24962         * abilist/libBrokenLocale.abilist: Likewise.
24963         * abilist/libanl.abilist: Likewise.
24964         * abilist/libc.abilist: Likewise.
24965         * abilist/libcrypt.abilist: Likewise.
24966         * abilist/libdl.abilist: Likewise.
24967         * abilist/libm.abilist: Likewise.
24968         * abilist/libnsl.abilist: Likewise.
24969         * abilist/libpthread.abilist: Likewise.
24970         * abilist/libresolv.abilist: Likewise.
24971         * abilist/librt.abilist: Likewise.
24972         * abilist/libthread_db.abilist: Likewise.
24973         * abilist/libutil.abilist: Likewise.
24974         * abilist/libnss_db.abilist: New file.
24976         * scripts/abilist.awk: Add support for indirect functions.
24978         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24980         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24982         * shlib-versions: Remove entries for ports architectures.
24984         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
24985         files in ports.
24986         * elf/stackguard-macros.h: Remove support for IA-64.
24987         * elf/tst-auditmod1.c: Likewise.
24988         * sysdeps/generic/ldsodefs.h: Likewise.
24990         * sysdeps/unix/sysv/linux/configure.in: Ports should define
24991         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24992         configure files.
24994         [BZ #13552]
24995         * configure.in: Remove --enable-omitfp support.
24996         * FAQ.in: Adjust.
24997         * config.make.in: Likewise.
24998         * Makeconfig: Likewise.
24999         * manual/install.texi: Likewise.
25001         In case anyone cares, the IA-64 architecture could move to ports.
25002         * sysdeps/ia64/*: Removed.
25003         * sysdeps/unix/sysv/linux/ia64/*: Removed.
25004         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
25006         [BZ #13555]
25007         * configure.in: Remove entries for unsupported architectures.
25009         [BZ #13533]
25010         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25011         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
25012         routines.
25013         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25014         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25015         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
25016         fall back to using wcrtomb.
25017         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25018         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
25019         renaming.
25020         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25021         * wcsmbs/tst-c16c32-1.c: New file.
25023         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25024         local variable.
25026         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25028         * elf/tst-unique3.cc: Add explicit declaration of gets.
25029         * elf/tst-unique3lib.cc: Likewise.
25030         * elf/tst-unique3lib2.cc: Likewise.
25031         * elf/tst-unique4.cc: Likewise.
25033         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25035 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
25037         [BZ #13566]
25038         * assert/assert.h (static_assert): Don't define for C++.
25039         * libio/stdio.h (gets): Do declare for C++ <= C++11.
25040         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25042 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
25044         * iconv/loop.c (single loop): Fix assertion in storing of
25045         remaining bytes.
25047         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25049 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
25051         * posix/getconf.c: Update copyright year.
25052         * nss/getent.c: Likewise.
25053         * nss/makedb.c: Likewise.
25054         * iconv/iconvconfig.c: Likewise.
25055         * iconv/iconv_prog.c: Likewise.
25056         * elf/ldconfig.c: Likewise.
25057         * elf/pldd.c: Likewise.
25058         * elf/sotruss.ksh: Likewise.
25059         * catgets/gencat.c: Likewise.
25060         * csu/version.c: Likewise.
25061         * elf/ldd.bash.in: Likewise.
25062         * elf/sprof.c (print_version): Likewise.
25063         * locale/programs/locale.c: Likewise.
25064         * locale/programs/localedef.c: Likewise.
25065         * login/programs/pt_chown.c: Likewise.
25066         * nscd/nscd.c (print_version): Likewise.
25067         * debug/xtrace.sh: Likewise.
25068         * malloc/memusage.sh: Likewise.
25069         * malloc/mtrace.pl: Likewise.
25070         * debug/catchsegv.sh: Likewise.
25072 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
25074         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25075         pure attribute.
25077 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
25079         [BZ #13533]
25080         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25081         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25082         transformations.
25083         * iconv/gconv_int.h: Likewise.
25084         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25085         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25086         from libc for GLIBC_2.16.
25087         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25088         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25089         * wcsmbs/uchar.h: Really define mbstate_t.
25090         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25091         * wcsmbs/c16rtomb.c: New file.
25092         * wcsmbs/mbrtoc16.c: New file.
25093         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25094         for C/POSIX locale.
25095         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25096         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25098         * wcsmbs/wchar.h: Add missing __restrict.
25100 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25102         [BZ #13532]
25103         * time/Makefile (routines): Add timespec_get.
25104         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25105         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
25106         timespec for ISO C11.
25107         * time/timespec_get.c: New file.
25108         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25109         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25111         [BZ #13531]
25112         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25113         * stdlib/stdlib.h: Declare aligned_alloc.
25114         * Versions.def: Add GLIBC_2.16 for libc.
25115         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25117         [BZ 13527]
25118         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25119         ISO C11.
25121         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25122         code.
25124         [BZ #13528]
25125         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25127         [BZ #13529]
25128         * assert/assert.h (static_assert): Define.
25130         * version.h: Update for 2.16 development version.
25132         [BZ #13526]
25133         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25134         _ISOC11_SOURCE.
25136         * version.h (RELEASE): Bump for 2.15 release.
25137         * include/features.h (__GLIBC_MINOR__): Bump to 15.
25139         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25140         Patch by Marek Polacek <mpolacek@redhat.com>.
25142         * bits/byteswap.h: Protect long long constants with __extension__.
25143         * sysdeps/i386/bits/byteswap.h: Likewise.
25144         * sysdeps/ia64/bits/byteswap.h: Likewise.
25145         * sysdeps/s390/bits/byteswap.h: Likewise.
25146         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25148 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25150         [BZ #13540]
25151         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25152         destination buffer.
25153         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25155 2011-12-23  Marek Polacek  <polacek@redhat.com>
25157         * elf/dl-addr.c (determine_info): Add inline keyword.
25158         * elf/tst-auditmod4b.c (check_avx): Likewise.
25159         * elf/tst-auditmod6b.c (check_avx): Likewise.
25160         * elf/tst-auditmod6c.c (check_avx): Likewise.
25161         * elf/tst-auditmod7b.c (check_avx): Likewise.
25163 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
25165         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25166         !__SSE_MATH__.
25168 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25170         [BZ #13540]
25171         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25172         processing for last bytes.
25174 2011-08-06  Bruno Haible  <bruno@clisp.org>
25176         [BZ #13061]
25177         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25178         U+0385, not to U+1FEE.
25180         [BZ #13062]
25181         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25182         entry for U+00A5 U+0301.
25184 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25186         [BZ #13166]
25187         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25188         buffer for the output is too small.
25190         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25191         optimization.
25193         [BZ #13185]
25194         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25195         SSE flags if possible.
25197 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25199         [BZ #13540]
25200         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25201         processing for last bytes.
25203 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
25205         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25206         (syscall-list-default-options, syscall-list-default-condition)
25207         (syscall-list-includes): Define.
25208         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25209         list of ABIs and options and #if conditions for each ABI.  Do not
25210         handle common syscalls between ABIs specially.
25211         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25212         Remove.
25213         (syscall-list-variants, syscall-list-32bit-options)
25214         (syscall-list-32bit-condition, syscall-list-64bit-options)
25215         (syscall-list-64bit-condition): Define.
25216         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25217         (syscall-list-variants, syscall-list-32bit-options)
25218         (syscall-list-32bit-condition, syscall-list-64bit-options)
25219         (syscall-list-64bit-condition): Define.
25220         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25221         Remove.
25222         (syscall-list-variants, syscall-list-32bit-options)
25223         (syscall-list-32bit-condition, syscall-list-64bit-options)
25224         (syscall-list-64bit-condition): Define.
25225         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25226         Remove.
25227         (syscall-list-variants, syscall-list-32bit-options)
25228         (syscall-list-32bit-condition, syscall-list-64bit-options)
25229         (syscall-list-64bit-condition): Define.
25231 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
25233         * locale/iso-639.def: Add brx entry.
25235         [BZ #13328]
25236         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25237         Proposed by Mariusz_Cukr <marcukr@op.pl>.
25239         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25240         __feraiseexcept_renamed.
25242 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25244         [BZ #13538]
25245         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25246         EPOLLET with unsigned values.
25247         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25248         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25250         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25251         to large cancellation.
25252         * math/s_cacoshf.c: Likewise.
25253         * math/s_cacoshl.c: Likewise.
25255 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
25257         [BZ #13305]
25258         [BZ #12786]
25259         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25260         * math/s_cacoshf.c: Likewise.
25261         * math/s_cacoshl.c: Likewise.
25263 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
25265         [BZ #13439]
25266         * iconv/gconv.h: Define __GCONV_SWAP.
25267         * iconvdata/unicode.c: The swap bit must be stored in __flags.
25268         * iconvdata/utf-16.c: Likewise.
25269         * iconvdata/utf-32.c: Likewise.
25271 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25273         [BZ #13524]
25274         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25275         numerator after shifting it by one limb.
25277 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
25279         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25280         under [__USE_EXTERN_INLINES].
25282 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25284         [BZ #13446]
25285         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25287 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25289         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25290         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25291         optimized code.
25292         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25293         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25294         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25295         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25296         for strncasecmp/strncasecmp_l compilation.
25297         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25298         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25300 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
25302         [BZ #13484]
25303         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25304         of __asm__.
25306 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
25308         [BZ #13506]
25309         * time/tzfile.c (__tzfile_read): Check values from file header.
25311 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25313         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25314         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25315         * powerpc/powerpc32/dl-start.S: Likewise.
25316         * powerpc/powerpc32/elf/start.S: Likewise.
25317         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25318         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25319         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25320         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25321         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25322         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25323         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25324         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25325         * powerpc/powerpc32/fpu/s_round.S: Likewise.
25326         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25327         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25328         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25329         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25330         * powerpc/powerpc32/memset.S: Likewise.
25331         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25332         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25333         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25334         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25335         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25336         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25337         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25338         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25339         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25340         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25341         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25342         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25343         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25345 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25347         * math/libm-test.inc: Added more nearbyint tests.
25348         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25349         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25350         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25351         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25353 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
25355         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25356         FD_CLOEXEC.
25358 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25360         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25361         Add wcscpy-ssse3 wcscpy-c.
25362         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25363         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25364         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25365         * sysdeps/x86_64/wcschr.S: New file.
25366         * sysdeps/x86_64/wcsrchr.S: New file.
25367         * string/test-strcmp.c: Remove checking of wcscmp function for
25368         wrong alignments.
25369         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25370         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25371         wcsrchr-sse2 wcsrchr-c.
25372         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25373         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25374         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25375         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25376         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25377         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25378         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25379         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25380         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25381         * wcsmbc/wcschr.c (WCSCHR): New macro.
25383 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25385         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25386         * wcsmbs/test-wcsrchr.c: New file.
25387         * string/test-strrchr.c: Add wcsrchr support.
25388         (WIDE): New macro.
25389         * wcsmbs/test-wcscpy.c: New file.
25390         * string/test-strcpy.c: Add wcscpy support.
25391         (WIDE): New macro.
25393 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
25395         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25396         the inner loop.
25398 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
25400         [BZ #13472]
25401         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25403 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
25405         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25406         Minor optimizations.
25408         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25409         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25410         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25412 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
25414         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25415         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25416         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25417         for gcc to avoid warnings.
25418         * inet/Makefile (tests): Add tst-checks.
25419         * inet/tst-checks.c: New file.
25421         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25422         warning.
25424         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25425         __wmemcmp_sse2.
25427         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25428         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25430         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25432 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
25434         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25435         problem.
25437         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25439 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
25441         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25442         conditional on GCC version.
25443         (__arch_compare_and_exchange_val_8_acq)
25444         (__arch_compare_and_exchange_val_16_acq)
25445         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25446         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25447         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25449 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
25451         * sysdeps/sh/backtrace.c: New file.
25453 2011-12-02  Andreas Schwab  <schwab@redhat.com>
25455         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
25456         parenthesis.
25458 2011-12-01  Andreas Schwab  <schwab@redhat.com>
25460         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25461         falling back to utime.
25463 2011-11-30  Andreas Schwab  <schwab@redhat.com>
25465         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25466         expectations for float.
25468 2011-11-29  Andreas Schwab  <schwab@redhat.com>
25470         * locale/weight.h (findidx): Add parameter len.
25471         * locale/weightwc.h (findidx): Likewise.
25472         * posix/fnmatch_loop.c (FCT): Adjust caller.
25473         * posix/regcomp.c (build_equiv_class): Likewise.
25474         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25475         * posix/regexec.c (check_node_accept_bytes): Likewise.
25476         * string/strcoll_l.c (STRCOLL): Likewise.
25477         * string/strxfrm_l.c (STRXFRM): Likewise.
25479 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
25481         * Makefile.in: Remove CVSOPT handling.
25482         * configure.in: Remove use of AC_REVISION.
25483         * iconvdata/Makefile (distribute): No need to filter out CVS.
25484         * scripts/list-sources.sh: Remove CVS, subversion and monotone
25485         handling.
25487 2011-11-16  Andreas Schwab  <schwab@redhat.com>
25489         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25490         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25491         [USE_AS_STRNCASECMP_L]: Likewise.
25492         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25493         NO_TLS_DIRECT_SEG_REFS.
25494         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25495         Fix argument offsets for non-PIC.
25496         [USE_AS_STRNCASECMP_L]: Likewise.
25497         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25498         NO_TLS_DIRECT_SEG_REFS.
25500 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25502         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25503         O_CLOEXEC.
25504         * locale/loadlocale.c (_nl_load_locale): Likewise.
25506 2011-11-15  Andreas Schwab  <schwab@redhat.com>
25508         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25509         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25510         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25511         (SYSCALL_GETTIME): Set errno on error.
25513         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25514         count references to noai6ai_cached.
25516 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
25518         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25520         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25521         FD_CLOEXEC for /proc/self/maps.
25523         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25524         FD_CLOEXEC for /proc/meminfo.
25526         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25527         gai.conf.
25529         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
25530         FD_CLOEXEC for given file.
25532         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25534         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25535         FD_CLOEXEC for /etc/hosts.
25536         (_gethtent): Likewise.
25538         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25540         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25541         cancellation and set FD_CLOEXEC for /etc/netgroup.
25543         * nss/nss_files/files-key.c (search): Don't allow cancellation when
25544         reading /etc/publickey.
25546         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25547         allow cancellation when reading /etc/group.
25549         * nss/nss_files/files-alias.c (internal_setent): Don't allow
25550         cancellation.
25551         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
25553         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25554         when using data file.
25556         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25558         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25559         (write_nis_obj): Use "c" and "e" in fopen.
25561         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25563         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25565         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25567         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25569         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25570         locale.alias.
25572         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25574         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25576         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25578         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25579         file parsing and set FD_CLOEXEC.
25581 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25583         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25585 2011-11-14  Andreas Schwab  <schwab@redhat.com>
25587         * malloc/arena.c (arena_get2): Don't call reused_arena when
25588         _int_new_arena failed.
25590 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
25592         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25593         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25594         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25595         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25596         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25597         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25598         to compile strcasecmp and strncasecmp.
25599         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25600         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25602         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25604 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
25606         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25607         locale-defines.sym to gen-as-const-headers.
25608         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25609         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25610         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25611         to compile strcasecmp and strncasecmp.
25612         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25613         strcasecmp_l and strncasecmp_l.
25614         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25615         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25616         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25617         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25618         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25619         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25620         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25621         * sysdeps/i386/i686/multiarch/strncase.S: New file.
25622         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25623         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25624         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25626 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
25628         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25629         result of SYSDEP_GETTIME_CPU to retval.
25630         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25631         parameter list to macro.  Remove trailing semicolon.  Adjust users.
25633         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25634         variable.
25636         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25637         mantissa words.
25638         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25640         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25641         from unused variable.
25643         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25644         DWARF definitions.
25645         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25646         for assembling.
25648         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25649         over namespaces.
25651         * sunrpc/rpc_prot.c (rejected): Fix case value.
25653         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25654         unsigned long long int to avoid warnings in shift.
25656         * posix/regex_internal.c (re_string_reconstruct): Actually use result
25657         of use of trans.
25658         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25659         variable tmp.
25661         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25662         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25663         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25665         * nis/nis_table.c (nis_list): Use variable of correct type for
25666         result of __follow_path call.
25668 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25670         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25671         of math functions ceil, trunc, floor, round, and sqrt, when
25672         avaliable on the platform.
25673         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25674         name clash.
25675         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25676         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25677         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25679 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
25681         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25682         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25684 2011-11-11  Roland McGrath  <roland@hack.frob.com>
25686         * include/unistd.h: Fix __readlink return type.
25687         Reported by Chris Metcalf <cmetcalf@tilera.com>.
25689 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
25691         * stdlib/ucontext.h: Undo last change for makecontext.
25693 2011-11-11  Andreas Schwab  <schwab@redhat.com>
25695         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25697         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25698         * setjmp/setjmp.h: Mark functions as non-leaf.
25699         * setjmp/bits/setjmp2.h: Likewise.
25700         * stdlib/ucontext.h: Likewise.
25702 2011-11-10  Andreas Schwab  <schwab@redhat.com>
25704         * malloc/arena.c (_int_new_arena): Don't increment narenas.
25705         (reused_arena): Don't check arena limit.
25706         (arena_get2): Atomically check arena limit.
25708 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
25710         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25711         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25713         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25714         instructions.
25716 2011-11-07  Andreas Schwab  <schwab@redhat.com>
25718         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25719         handler when locking.
25721         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25722         Fix size of allocated buffer.
25724 2011-11-04  Andreas Schwab  <schwab@redhat.com>
25726         [BZ #10103]
25727         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25728         declarations for long double functions.
25729         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25731         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25733 2011-11-03  Andreas Schwab  <schwab@redhat.com>
25735         * nscd/nscd.c (main): Don't start AVC thread until credentials are
25736         installed.
25738         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25739         is disabled.
25741 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25743         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25745 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25747         * include/alloca.h (stackinfo_alloca_round): Define.
25748         (extend_alloca): Use it.
25749         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25750         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25751         here.
25753         * scripts/check-local-headers.sh: Ignore libaudit.h.
25755         * nscd/Makefile (extra-objs): Make recursively expanded.
25757 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
25759         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25760         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25762         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25763         * posix/tst-rfc3484-2.c: Likewise.
25764         * posix/tst-rfc3484-3.c: Likewise.
25766         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25767         process_vm_writev.
25768         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25769         process_vm_writev.
25770         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25771         process_vm_writev from libc using GLIBC_2.15 version.
25773         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25775 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
25777         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25778         stack usage.
25780 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
25782         [BZ #13367]
25783         * nss/getent.c (initgroups_keys): Show error message in case no group
25784         names are given.
25786         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25787         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25788         __bump_nl_timestamp.
25789         * nscd/connections (nscd_init): When host database is served open
25790         netlink socket and request notification about configuration changes.
25791         (main_loop_poll): Track netlink file descriptor and bump timestamp
25792         in case data becomes available.
25793         (main_loop_epoll): Likewise.
25794         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25795         (database_pers_head): Add extra_data fileds.
25796         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25797         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25798         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25799         Adjust caller.
25800         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25801         in6ai data, call __free_in6ai.
25802         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25803         Add -DHAVE_NETLINK.
25804         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
25805         interface information.  Reuse previous data if netlink timestamp
25806         is not changed.
25807         (__bump_nl_timestamp): New function.
25808         (__free_in6ai): New function.
25810 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
25812         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25813         close_not_cancel_no_status here.
25814         (__check_pf): Reorganize code a bit to not call close twice if OOM.
25816 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25818         [BZ #13276]
25819         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25820         return value.
25822         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25823         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25824         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25826 2011-07-03  Andreas Jaeger  <aj@suse.de>
25828         [BZ #10709]
25829         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25830         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25831         * math/libm-test.inc (sin_test): Add test case.
25833 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
25835         [BZ #13337]
25836         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25837         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25839         * elf/chroot_canon.c (chroot_canon): Cleanups.
25841         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25843         [BZ #13335]
25844         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25845         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25847         * string/test-strchr.c: Make usable for strchrnul testing.
25848         * string/test-strchrnul.c: New file.
25849         * string/Makefile (strop-tests): Add strchrnul.
25851         * po/it.po: Update from translation team.
25852         * po/es.po: Likewise.
25854 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
25856         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25857         the three constants needed as parameters.  Drop the others.
25858         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25859         __m128i_strloadu_tolower.
25860         Create and initialize variable zero and use it in all the places
25861         where _mm_setzero_si128 was used.
25863         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25864         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25865         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25866         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25867         anymore.
25868         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25869         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25870         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25871         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25872         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25873         __mpranred, __mptan.
25874         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25875         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25876         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25877         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25878         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25879         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25880         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25881         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25882         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25884 2011-10-28  Andreas Schwab  <schwab@redhat.com>
25886         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25887         redefine if SHARED.
25888         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25890         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25891         wide char related routines to wcsmbs subdir.
25893 2011-10-27  Andreas Schwab  <schwab@redhat.com>
25895         [BZ #13344]
25896         * misc/sys/cdefs.h (__THROWNL): Define.
25897         * posix/unistd.h: Use __THREADNL instead of __THREAD
25898         for memory synchronization functions.
25900 2011-10-26  Roland McGrath  <roland@hack.frob.com>
25902         [BZ #13349]
25903         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25904         doesn't exist.
25905         * manual/stdio.texi (Obstack Streams): Node removed.
25907 2011-10-26  Andreas Schwab  <schwab@redhat.com>
25909         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25910         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25911         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25913         * math/math_private.h (math_force_eval): Allow non-addressable
25914         arguments.
25915         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25917 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25919         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25920         file is not needed.
25922         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25923         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25924         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25925         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25926         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25927         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25928         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25929         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25930         Add AVX variants.
25931         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25932         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25933         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25934         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25935         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25936         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25937         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25938         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25939         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25940         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25941         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25942         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25943         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25944         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25945         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25946         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25947         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25948         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25949         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25951         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25952         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
25954         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25955         place.  Use VEX encoding when compiling for AVX.
25957 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25959         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25960         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25962         * string/test-strchr.c (do_test): Don't generate NUL bytes.
25964 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25966         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25967         useless if() expression.
25968         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25969         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25970         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25971         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25972         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25973         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25974         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25975         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25976         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25977         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25978         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25979         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25980         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25981         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25982         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25983         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25984         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25985         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25986         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25988         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25990 2011-10-25  Andreas Schwab  <schwab@redhat.com>
25992         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25993         condition.
25994         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25996 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
25998         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25999         .text section.  Avoid duplicate constants.
26000         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26001         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26002         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26003         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26004         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26005         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26006         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26007         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26008         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26009         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26010         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26011         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26012         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26013         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26014         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26015         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26016         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26017         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26018         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26019         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26020         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26021         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26022         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26023         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26024         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26025         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26026         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26027         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26028         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26029         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26030         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26031         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26032         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26033         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26034         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26035         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26036         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26037         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26038         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26039         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26040         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26041         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26042         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26043         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26044         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26046 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
26048         * sysdeps/x86_64/dla.h: Move to ...
26049         * sysdeps/x86_64/fpu/dla.h: ...here.
26050         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26051         situations.  Use __builtin_fma only for gcc 4.6 and up.
26053         * config.make.in: Add have-mfma4 entry.
26054         * configure.in: Substitute libc_cv_cc_fma4.
26055         * math/Makefile (dbl-only-routines): Add sincostab.
26056         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26057         Use __sincostab not sincos.
26058         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26059         name is a macro.
26060         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26061         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26062         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26063         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
26064         using __copysign.
26065         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
26066         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
26067         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26068         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26069         and __inv.
26070         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26071         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26072         __copysign.
26073         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
26074         define aliases when function name is a macro.
26075         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26076         sysdeps/ieee754/dbl-64/sincos.tbl.
26077         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26078         fma4-enabled routines.
26079         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26080         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26081         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26082         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26083         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26084         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26085         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26086         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26087         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26088         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26089         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26090         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26091         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26092         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26093         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26094         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26095         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26096         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26097         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26098         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26099         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26100         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26101         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26102         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26103         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26104         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26105         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26106         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26107         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26108         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26110         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26111         rename.
26112         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26113         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26114         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26115         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26116         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26117         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26118         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26119         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26121 2011-10-24  Andreas Schwab  <schwab@redhat.com>
26123         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26125 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26127         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26129         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26130         prediction.
26131         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26133         * string/strnlen.c: Don't define STRNLEN, reverse logic.
26134         Remove unused variable magic_bits.
26135         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26137         * string/strnlen.c: Define and use STRNLEN macro.
26138         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26139         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26140         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26141         * wcsmbs/wcslen.c: Define and use WCSLEN.
26142         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26143         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26144         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26145         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26146         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26147         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26148         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26150 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26153         strnlen-sse2-no-bsf.
26154         Rename strlen-no-bsf to strlen-sse2-no-bsf.
26155         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26156         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26157         Add strnlen support.
26158         (USE_AS_STRNLEN): New macro.
26159         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26160         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26161         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26162         * sysdeps/x86_64/wcslen.S: New file.
26164 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
26166         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26167         XMM-moves are used for copying on small sizes.
26169 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26171         * wcsmbs/Makefile (strop-tests): Add wcschr.
26172         * wcsmbs/test-wcschr.c: New file.
26173         * string/test-strchr.c: Update.
26174         Add wcschr support.
26175         (WIDE): New macro.
26177 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26179         * wcsmbs/Makefile (strop-tests): Add wcslen.
26180         * wcsmbs/test-wcslen.c: New file.
26181         * string/test-strlen.c: Update.
26182         Add wcslen support.
26183         (WIDE): New macro.
26185 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26187         * po/it.po: Update from translation team.
26189 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26191         * sysdeps/x86_64/wcscmp.S: Update.
26192         Fix wrong comparison semantics.
26193         wcscmp shall use signed comparison not unsigned.
26194         Don't use substraction to avoid overflow bug.
26195         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26196         * wcsmbc/wcscmp.c: Likewise.
26197         * string/test-strcmp.c: Likewise.
26198         Add new tests to check cases with negative values.
26200 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
26202         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26203         * sysdeps/x86_64/dla.h: ...here.  New file.
26204         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26205         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26206         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26207         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26208         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26209         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26210         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26211         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26212         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26214 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
26216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26217         __ynl_finite aliases.
26219 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26223         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26224         define DLA_FMA.
26225         [DLA_FMA] (EMULV): Use DLA_FMA.
26226         [DLA_FMA] (MUL12): Use EMULV.
26227         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26228         that are not needed.
26229         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26230         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26231         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26232         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26233         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26234         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26235         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26237 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
26239         * math/s_nan.c: Undef __nan.
26240         * math/s_nanf.c: Undef __nanf.
26241         * math/s_nanl.c: Undef __nanl.
26242         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26243         "math_private.h".
26245 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
26247         * math/s_catan.c: Add branch predictions.
26248         * math/s_catanf.c: Likewise.
26249         * math/s_catanh.c: Likewise.
26250         * math/s_catanhf.c: Likewise.
26251         * math/s_catanhl.c: Likewise.
26252         * math/s_catanl.c: Likewise.
26253         * math/s_cexp.c: Likewise.
26254         * math/s_cexpf.c: Likewise.
26255         * math/s_cexpl.c: Likewise.
26256         * math/s_clog.c: Likewise.
26257         * math/s_clog10.c: Likewise.
26258         * math/s_clog10f.c: Likewise.
26259         * math/s_clog10l.c: Likewise.
26260         * math/s_clogf.c: Likewise.
26261         * math/s_clogl.c: Likewise.
26262         * math/s_csqrt.c: Likewise.
26263         * math/s_csqrtf.c: Likewise.
26264         * math/s_csqrtl.c: Likewise.
26265         * math/s_ctanf.c: Likewise.
26266         * math/s_ctanh.c: Likewise.
26267         * math/s_ctanhf.c: Likewise.
26268         * math/s_ctanhl.c: Likewise.
26269         * math/s_ctanl.c: Likewise.
26271         * math/math_private.h: Define __nan, __nanf, __nanl.
26272         * math/s_cacosh.c: Include <math_private.h>.
26273         * math/s_cacoshl.c: Likewise.
26274         * math/s_casinh.c: Likewise.
26275         * math/s_casinhf.c: Likewise.
26276         * math/s_casinhl.c: Likewise.
26277         * math/s_ccos.c: Rely entire on ccosh.
26278         * math/s_ccosf.c: Rely entire on ccoshf.
26279         * math/s_ccosl.c: Rely entirely on ccoshl.
26280         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
26281         Remove tests for FE_INVALID.
26282         * math/s_ccoshf.c: Likewise.
26283         * math/s_ccoshl.c: Likewise.
26284         * math/s_csin.c: Likewise.
26285         * math/s_csinf.c: Likewise.
26286         * math/s_csinh.c Likewise.
26287         * math/s_csinhf.c: Likewise.
26288         * math/s_csinhl.c: Likewise.
26289         * math/s_csinl.c: Likewise.
26290         * math/s_ctan.c: Likewise.
26291         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26292         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26293         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26295 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
26297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26298         compilation problems.
26300         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26301         __builtin_expect.
26303 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
26305         * sysdeps/i386/configure.in: Test for -mfma4 option.
26306         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26307         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26308         COMMON_CPUID_INDEX_80000001.
26309         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26310         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26311         use it if FMA3 is not supported.
26312         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26314         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26315         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26317 2011-10-20  Andreas Schwab  <schwab@redhat.com>
26319         [BZ #12892]
26320         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26321         it would create a cycle with a link time dependency.
26323 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
26325         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26326         instruction.
26327         * string/Makefile (strop-tests): Add rawmemchr.
26328         * string/test-rawmemchr.c: New file.
26330         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26331         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
26332         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
26333         when compiling str{,n}casecmp and when AVX is available.  Hook up
26334         new optimized code in initializers.
26336 2011-10-19  Andreas Schwab  <schwab@redhat.com>
26338         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26339         __feraiseexcept instead of feraiseexcept.
26341 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
26343         * math/math_private.h: Define defaults for libc_fetestexcept and
26344         libc_feupdateenv.
26345         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26346         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26347         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26348         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26349         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26350         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26351         libc_fetestexcept and libc_feupdateenv.
26353         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26354         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26355         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26356         * sysdeps/x86_64/fpu/math_private.h: Define special version of
26357         libc_feholdexcept_setround.
26359         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26360         Add s_nearbyint-c and s_nearbyintf-c.
26361         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26362         nearbyintf inlines.
26363         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26364         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26365         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26366         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26368         * math/math_private.h: Define defaults for libc_fegetround,
26369         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26370         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26371         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26372         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26373         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26374         standard functions.
26375         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26376         Remove comments and hacks for old compiler versions.
26377         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26378         libc_fegetround, libc_fesetround, libc_feholdexcept, and
26379         libc_feholdexceptl.
26381 2011-10-18  Andreas Schwab  <schwab@redhat.com>
26383         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26384         (__feraiseexcept_renamed): Add __NTH.
26385         (feraiseexcept): Add __NTH.  Rename local variables to fix
26386         namespace violations.
26388 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
26390         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26392         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26394         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26395         recently added interfaces.
26396         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26398         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26399         about macro parameter expansion.
26401         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26402         __NO_MATH_INLINES is defined.  Cleanups.
26404         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26405         and __floorf is target has SSE4.1.
26406         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26407         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26408         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26409         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26411         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26412         name.
26413         (floorf): Likewise.
26415         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26417 2011-10-17  Andreas Schwab  <schwab@redhat.com>
26419         * misc/sys/cdefs.h: Fix last change.
26421         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26422         database lookup.
26424 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
26426         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26428         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26429         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26430         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26431         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26432         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26433         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26434         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26435         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26436         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26437         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26438         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26439         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26440         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26441         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26442         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26443         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26444         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26445         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26446         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26447         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26448         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26449         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26451         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26452         ceil, ceilf, floor, floorf.
26454         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26455         Perform IRELATIVE relocations last.
26457         * elf/do-rel.h: Add another parameter nrelative, replacing the
26458         local variable with the same name.  Change name of the function
26459         to end in Rel or Rela (uppercase).
26460         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26461         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
26462         elf_dynamic_do_##reloc function.
26464 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26466         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26467         is sufficient, at least on modern CPUs.
26469         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26471         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26472         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26474         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26475         __expl_finite.
26476         * math/bits/math-finite.h: Add entries for exp.
26477         * math/e_expl.c: Add __*_finite alias.
26478         * sysdeps/i386/fpu/e_exp.S: Likewise.
26479         * sysdeps/i386/fpu/e_expf.S: Likewise.
26480         * sysdeps/i386/fpu/e_expl.c: Likewise.
26481         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26482         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26483         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26484         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26485         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26486         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26487         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26489         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26490         is sufficient, at least on modern CPUs.
26492         * ctype/ctype-info.c (__ctype_init): Define.
26493         * include/ctype.h (__ctype_init): Declare.
26494         (__ctype_b_loc): The variable is always initialized.
26495         (__ctype_toupper_loc): Likewise.
26496         (__ctype_tolower_loc): Likewise.
26497         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26498         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26500 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
26502         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26504         * configure.in: Also look in $cxxmachine/include for C++ system
26505         headers.
26507 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26509         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26510         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26511         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26512         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
26513         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26514         (USE_AS_WMEMCMP): New macro.
26515         Fixing indents.
26516         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26517         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26518         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26519         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26520         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26521         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26522         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26523         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26524         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26525         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26526         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26527         (USE_AS_WMEMCMP): New macro.
26528         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26529         * sysdeps/string/test-memcmp.c: Update.
26530         Fix simple_wmemcmp.
26531         Add new tests.
26532         * wcsmbs/wmemcmp.c: Update.
26533         (WMEMCMP): New macro.
26534         Fix overflow bug.
26536 2011-10-12  Andreas Jaeger  <aj@suse.de>
26538         [BZ #13268]
26539         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26541 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
26543         * libio/iofwide.c (do_length): Avoid warning.
26545         * ctype/ctype.h (__isctype_f): Add missing __THROW.
26547 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
26549         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26551         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26552         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26553         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26554         * sysdeps/i386/i686/fpu/e_log.S: New file.
26555         * sysdeps/i386/i686/fpu/e_logf.S: New file.
26556         * sysdeps/i386/i686/fpu/e_logl.S: New file.
26558         * ctype/ctype.h: Add support for inlined isXXX functions when
26559         compiling C++ code.
26561 2011-10-14  Andreas Schwab  <schwab@redhat.com>
26563         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26565         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26567 2011-10-13  Roland McGrath  <roland@hack.frob.com>
26569         [BZ #13291]
26570         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26572 2011-10-13  Andreas Schwab  <schwab@redhat.com>
26574         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26575         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26576         feraiseexcept.
26578         * sysdeps/x86_64/memrchr.S: Check for zero size.
26580         * string/stratcliff.c: Add memrchr tests.
26582 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26584         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26585         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26586         rawmemchr-sse2 rawmemchr-sse2-bsf.
26587         * sysdeps/i386/i686/multiarch/memchr.S: New file.
26588         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26589         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26590         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26591         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26592         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26593         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26594         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26595         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26596         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26597         * string/memrchr.c (MEMRCHR): New macro.
26599 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
26601         Add integration with gcc's -ffinite-math-only and optimize wrapper
26602         functions in libm.
26603         * Versions.def: Define GLIBC_2.15 version for libm.
26604         * math/Makefile (headers): Add bits/math-finite.h.
26605         * math/bits/math-finite.h: New file.
26606         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26607         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26608         * math/e_acoshl.c: Add __*_finite alias.
26609         * math/e_acosl.c: Likewise.
26610         * math/e_asinl.c: Likewise.
26611         * math/e_atan2l.c: Likewise.
26612         * math/e_atanhl.c: Likewise.
26613         * math/e_coshl.c: Likewise.
26614         * math/e_exp10.c: Likewise.
26615         * math/e_exp10f.c: Likewise.
26616         * math/e_exp10l.c: Likewise.
26617         * math/e_exp2l.c: Likewise.
26618         * math/e_fmodl.c: Likewise.
26619         * math/e_gammal_r.c: Likewise.
26620         * math/e_hypotl.c: Likewise.
26621         * math/e_j0l.c: Likewise.
26622         * math/e_j1l.c: Likewise.
26623         * math/e_jnl.c: Likewise.
26624         * math/e_lgammal_r.c: Likewise.
26625         * math/e_log10l.c: Likewise.
26626         * math/e_log2l.c: Likewise.
26627         * math/e_logl.c: Likewise.
26628         * math/e_powl.c: Likewise.
26629         * math/e_sinhl.c: Likewise.
26630         * math/e_sqrtl.c: Likewise.
26631         * math/e_scalb.c: Completely rewritten and optimized.
26632         * math/e_scalbf.c: Likewise.
26633         * math/e_scalbl.c: Likewise.
26634         * math/w_acos.c: Likewise.
26635         * math/w_acosf.c: Likewise.
26636         * math/w_acosl.c: Likewise.
26637         * math/w_acosh.c: Likewise.
26638         * math/w_acoshf.c: Likewise.
26639         * math/w_acoshl.c: Likewise.
26640         * math/w_asin.c: Likewise.
26641         * math/w_asinf.c: Likewise.
26642         * math/w_asinl.c: Likewise.
26643         * math/w_atan2.c: Likewise.
26644         * math/w_atan2f.c: Likewise.
26645         * math/w_atan2l.c: Likewise.
26646         * math/w_atanh.c: Likewise.
26647         * math/w_atanhf.c: Likewise.
26648         * math/w_atanhl.c: Likewise.
26649         * math/w_exp10.c: Likewise.
26650         * math/w_exp10f.c: Likewise.
26651         * math/w_exp10l.c: Likewise.
26652         * math/w_fmod.c: Likewise.
26653         * math/w_fmodf.c: Likewise.
26654         * math/w_fmodl.c: Likewise.
26655         * math/w_j0.c: Likewise.
26656         * math/w_j0f.c: Likewise.
26657         * math/w_j0l.c: Likewise.
26658         * math/w_j1.c: Likewise.
26659         * math/w_j1f.c: Likewise.
26660         * math/w_j1l.c: Likewise.
26661         * math/w_jn.c: Likewise.
26662         * math/w_jnf.c: Likewise.
26663         * math/w_log.c: Likewise.
26664         * math/w_logf.c: Likewise.
26665         * math/w_logl.c: Likewise.
26666         * math/w_log10.c: Likewise.
26667         * math/w_log10f.c: Likewise.
26668         * math/w_log10l.c: Likewise.
26669         * math/w_log2.c: Likewise.
26670         * math/w_log2f.c: Likewise.
26671         * math/w_log2l.c: Likewise.
26672         * math/w_pow.c: Likewise.
26673         * math/w_powf.c: Likewise.
26674         * math/w_powl.c: Likewise.
26675         * math/w_remainder.c: Likewise.
26676         * math/w_remainderf.c: Likewise.
26677         * math/w_remainderl.c: Likewise.
26678         * math/w_scalb.c: Likewise.
26679         * math/w_scalbf.c: Likewise.
26680         * math/w_scalbl.c: Likewise.
26681         * math/w_sqrt.c: Likewise.
26682         * math/w_sqrtf.c: Likewise.
26683         * math/w_sqrtl.c: Likewise.
26684         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26685         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
26686         used.
26687         * math/math_private.h: Declare __kernel_standard_f.
26688         * math/w_cosh.c: Remove cruft and optimize a bit.
26689         * math/w_coshf.c: Likewise.
26690         * math/w_coshl.c: Likewise.
26691         * math/w_exp2.c: Likewise.
26692         * math/w_exp2f.c: Likewise.
26693         * math/w_exp2l.c: Likewise.
26694         * math/w_hypot.c: Likewise.
26695         * math/w_hypotf.c: Likewise.
26696         * math/w_hypotl.c: Likewise.
26697         * math/w_lgamma.c: Likewise.
26698         * math/w_lgamma_r.c: Likewise.
26699         * math/w_lgammaf.c: Likewise.
26700         * math/w_lgammaf_r.c: Likewise.
26701         * math/w_lgammal.c: Likewise.
26702         * math/w_lgammal_r.c: Likewise.
26703         * math/w_sinh.c: Likewise.
26704         * math/w_sinhf.c: Likewise.
26705         * math/w_sinhl.c: Likewise.
26706         * math/w_tgamma.c: Likewise.
26707         * math/w_tgammaf.c: Likewise.
26708         * math/w_tgammal.c: Likewise.
26709         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26710         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26711         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26712         Minor optimizations.  Pretty printing.  Remove cruft.
26713         * sysdeps/i386/fpu/e_acosf.S: Likewise.
26714         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26715         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26716         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26717         * sysdeps/i386/fpu/e_acosl.c: Likewise.
26718         * sysdeps/i386/fpu/e_asin.S: Likewise.
26719         * sysdeps/i386/fpu/e_asinf.S: Likewise.
26720         * sysdeps/i386/fpu/e_atan2.S: Likewise.
26721         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26722         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26723         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26724         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26725         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26726         * sysdeps/i386/fpu/e_exp10.S: Likewise.
26727         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26728         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26729         * sysdeps/i386/fpu/e_exp2.S: Likewise.
26730         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26731         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26732         * sysdeps/i386/fpu/e_fmod.S: Likewise.
26733         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26734         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26735         * sysdeps/i386/fpu/e_hypot.S: Likewise.
26736         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26737         * sysdeps/i386/fpu/e_log.S: Likewise.
26738         * sysdeps/i386/fpu/e_log10.S: Likewise.
26739         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26740         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26741         * sysdeps/i386/fpu/e_log2.S: Likewise.
26742         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26743         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26744         * sysdeps/i386/fpu/e_logf.S: Likewise.
26745         * sysdeps/i386/fpu/e_logl.S: Likewise.
26746         * sysdeps/i386/fpu/e_pow.S: Likewise.
26747         * sysdeps/i386/fpu/e_powf.S: Likewise.
26748         * sysdeps/i386/fpu/e_powl.S: Likewise.
26749         * sysdeps/i386/fpu/e_remainder.S: Likewise.
26750         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26751         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26752         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26753         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26754         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26755         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26756         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26757         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26758         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26759         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26761         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26762         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26763         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26764         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26765         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26766         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26767         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26768         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26769         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26770         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26771         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26772         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26773         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26774         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26775         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26776         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26778         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26779         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26780         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26781         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26782         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26783         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26784         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26785         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26786         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26787         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26788         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26789         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26790         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26791         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26792         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26793         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26794         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26795         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26796         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26797         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26798         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26799         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26800         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26801         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26802         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26803         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26804         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26805         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26806         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26807         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26808         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26809         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26810         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26811         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26812         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26813         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26814         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26815         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26816         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26817         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26818         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26819         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26820         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26821         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26822         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26823         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26824         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26825         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26826         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26827         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26828         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26829         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26830         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26831         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26832         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26833         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26834         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26835         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26836         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26837         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26838         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26839         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26840         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26841         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26842         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26843         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26844         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26845         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26846         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26847         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26848         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26849         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26850         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26851         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26852         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26853         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26854         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26855         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26856         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26857         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26858         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26859         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26860         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26861         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26862         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26863         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26864         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26865         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26866         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26867         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26868         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
26869         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26870         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26871         (__isnanf): Likewise.
26872         (__isinf_ns): Likewise.
26873         (__isinf_nsf): Likewise.
26874         (__finite): Likewise.
26875         (__finitef): Likewise.
26876         (__ieee754_sqrt): Define as macro.
26877         (__ieee754_sqrtf): Define as macro.
26878         (__ieee754_sqrtl): Define as macro.
26879         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26880         inlined copy.
26881         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26882         __FINITE_MATH_ONLY__ consistent.
26883         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26885 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
26887         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26888         of rawmemchr.
26890         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26892 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
26894         * po/ja.po: Update from translation team.
26896 2011-10-08  Roland McGrath  <roland@hack.frob.com>
26898         * locale/programs/locarchive.c (prepare_address_space): New function.
26899         (create_archive, enlarge_archive, open_archive): Use it.
26901         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26902         inside [SHARED], where it is used.
26904         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26906         * nss/getent.c (netgroup_keys): Remove unused variable.
26907         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26909 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
26911         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26912         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26913         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26914         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26915         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26916         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26917         * math/Makefile (libm-calls): Add s_isinf_ns.
26918         * math/divtc3.c: Use __isinf_nsl instead of isinf.
26919         * math/multc3.c: Likewise.
26920         * math/s_casin.c: Likewise.
26921         * math/s_casinf.c: Likewise.
26922         * math/s_casinl.c: Likewise.
26923         * math/s_ccos.c: Likewise.
26924         * math/s_ccosf.c: Likewise.
26925         * math/s_ccosl.c: Likewise.
26926         * math/s_ctan.c: Likewise.
26927         * math/s_ctanf.c: Likewise.
26928         * math/s_ctanh.c: Likewise.
26929         * math/s_ctanhf.c: Likewise.
26930         * math/s_ctanhl.c: Likewise.
26931         * math/s_ctanl.c: Likewise.
26932         * math/w_fmod.c: Likewise.
26933         * math/w_fmodf.c: Likewise.
26934         * math/w_fmodl.c: Likewise.
26935         * math/w_remainder.c: Likewise.
26936         * math/w_remainderf.c: Likewise.
26937         * math/w_remainderl.c: Likewise.
26938         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26939         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26940         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26941         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26942         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26943         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26944         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26945         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26947         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26948         of the number.
26949         * stdio-common/printf_fphex.c: Likewise.
26950         * stdio-common/printf_size.c: Likewise.
26952         * math/e_exp10.c: Include math_private.h using <...> not "...".
26953         * math/e_exp10f.c: Likewise.
26954         * math/e_exp10l.c: Likewise.
26955         * math/e_exp2l.c: Likewise.
26956         * math/e_j0l.c: Likewise.
26957         * math/e_j1l.c: Likewise.
26958         * math/e_jnl.c: Likewise.
26959         * math/e_lgammal_r.c: Likewise.
26960         * math/e_rem_pio2l.c: Likewise.
26961         * math/e_scalb.c: Likewise.
26962         * math/e_scalbf.c: Likewise.
26963         * math/e_scalbl.c: Likewise.
26964         * math/k_cosl.c: Likewise.
26965         * math/k_sinl.c: Likewise.
26966         * math/k_tanl.c: Likewise.
26967         * math/s_cacoshf.c: Likewise.
26968         * math/s_catan.c: Likewise.
26969         * math/s_catanf.c: Likewise.
26970         * math/s_catanh.c: Likewise.
26971         * math/s_catanhf.c: Likewise.
26972         * math/s_catanhl.c: Likewise.
26973         * math/s_catanl.c: Likewise.
26974         * math/s_ccosh.c: Likewise.
26975         * math/s_ccoshf.c: Likewise.
26976         * math/s_ccoshl.c: Likewise.
26977         * math/s_cexp.c: Likewise.
26978         * math/s_cexpf.c: Likewise.
26979         * math/s_cexpl.c: Likewise.
26980         * math/s_clog.c: Likewise.
26981         * math/s_clog10.c: Likewise.
26982         * math/s_clog10f.c: Likewise.
26983         * math/s_clog10l.c: Likewise.
26984         * math/s_clogf.c: Likewise.
26985         * math/s_clogl.c: Likewise.
26986         * math/s_csin.c: Likewise.
26987         * math/s_csinf.c: Likewise.
26988         * math/s_csinh.c: Likewise.
26989         * math/s_csinhf.c: Likewise.
26990         * math/s_csinhl.c: Likewise.
26991         * math/s_csinl.c: Likewise.
26992         * math/s_csqrt.c: Likewise.
26993         * math/s_csqrtf.c: Likewise.
26994         * math/s_csqrtl.c: Likewise.
26995         * math/s_ctan.c: Likewise.
26996         * math/s_ctanf.c: Likewise.
26997         * math/s_ctanh.c: Likewise.
26998         * math/s_ctanhf.c: Likewise.
26999         * math/s_ctanhl.c: Likewise.
27000         * math/s_ctanl.c: Likewise.
27001         * math/s_ldexp.c: Likewise.
27002         * math/s_ldexpf.c: Likewise.
27003         * math/s_ldexpl.c: Likewise.
27004         * math/s_significand.c: Likewise.
27005         * math/s_significandf.c: Likewise.
27006         * math/s_significandl.c: Likewise.
27007         * math/w_acos.c: Likewise.
27008         * math/w_acosf.c: Likewise.
27009         * math/w_acosh.c: Likewise.
27010         * math/w_acoshf.c: Likewise.
27011         * math/w_acoshl.c: Likewise.
27012         * math/w_acosl.c: Likewise.
27013         * math/w_asin.c: Likewise.
27014         * math/w_asinf.c: Likewise.
27015         * math/w_asinl.c: Likewise.
27016         * math/w_atan2.c: Likewise.
27017         * math/w_atan2f.c: Likewise.
27018         * math/w_atan2l.c: Likewise.
27019         * math/w_atanh.c: Likewise.
27020         * math/w_atanhf.c: Likewise.
27021         * math/w_atanhl.c: Likewise.
27022         * math/w_cosh.c: Likewise.
27023         * math/w_coshf.c: Likewise.
27024         * math/w_coshl.c: Likewise.
27025         * math/w_dremf.c: Likewise.
27026         * math/w_exp10.c: Likewise.
27027         * math/w_exp10f.c: Likewise.
27028         * math/w_exp10l.c: Likewise.
27029         * math/w_exp2.c: Likewise.
27030         * math/w_exp2f.c: Likewise.
27031         * math/w_fmod.c: Likewise.
27032         * math/w_fmodf.c: Likewise.
27033         * math/w_fmodl.c: Likewise.
27034         * math/w_hypot.c: Likewise.
27035         * math/w_hypotf.c: Likewise.
27036         * math/w_hypotl.c: Likewise.
27037         * math/w_j0.c: Likewise.
27038         * math/w_j0f.c: Likewise.
27039         * math/w_j0l.c: Likewise.
27040         * math/w_j1.c: Likewise.
27041         * math/w_j1f.c: Likewise.
27042         * math/w_j1l.c: Likewise.
27043         * math/w_jn.c: Likewise.
27044         * math/w_jnf.c: Likewise.
27045         * math/w_jnl.c: Likewise.
27046         * math/w_lgamma.c: Likewise.
27047         * math/w_lgamma_r.c: Likewise.
27048         * math/w_lgammaf.c: Likewise.
27049         * math/w_lgammaf_r.c: Likewise.
27050         * math/w_lgammal.c: Likewise.
27051         * math/w_lgammal_r.c: Likewise.
27052         * math/w_log.c: Likewise.
27053         * math/w_log10.c: Likewise.
27054         * math/w_log10f.c: Likewise.
27055         * math/w_log10l.c: Likewise.
27056         * math/w_log2.c: Likewise.
27057         * math/w_log2f.c: Likewise.
27058         * math/w_log2l.c: Likewise.
27059         * math/w_logf.c: Likewise.
27060         * math/w_logl.c: Likewise.
27061         * math/w_pow.c: Likewise.
27062         * math/w_powf.c: Likewise.
27063         * math/w_powl.c: Likewise.
27064         * math/w_remainder.c: Likewise.
27065         * math/w_remainderf.c: Likewise.
27066         * math/w_remainderl.c: Likewise.
27067         * math/w_scalb.c: Likewise.
27068         * math/w_scalbf.c: Likewise.
27069         * math/w_scalbl.c: Likewise.
27070         * math/w_sinh.c: Likewise.
27071         * math/w_sinhf.c: Likewise.
27072         * math/w_sinhl.c: Likewise.
27073         * math/w_sqrt.c: Likewise.
27074         * math/w_sqrtf.c: Likewise.
27075         * math/w_sqrtl.c: Likewise.
27076         * math/w_tgamma.c: Likewise.
27077         * math/w_tgammaf.c: Likewise.
27078         * math/w_tgammal.c: Likewise.
27080         * po/ja.po: Update from translation team.
27082 2011-09-29  Andreas Jaeger  <aj@suse.de>
27084         [BZ #13179]
27085         * sunrpc/netname.c (netname2host): Fix logic.
27087         [BZ #6779]
27088         [BZ #6783]
27089         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27090         correctly.
27091         * math/w_remainder.c (__remainder): Likewise.
27092         * math/w_remainderf.c (__remainderf): Likewise.
27093         * math/libm-test.inc (remainder_test): Add test cases.
27095 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27097         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
27098         sdiv_qrnnd.
27100 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27102         * string/test-memcmp.c: Avoid unncessary #defines.
27103         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27105 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27107         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27108         Use new sse2 version for core i3 - i7 as it's faster
27109         than sse42 version.
27110         (bit_Prefer_PMINUB_for_stringop): New.
27111         * sysdeps/x86_64/rawmemchr.S: Update.
27112         Replace with faster SSE2 version.
27113         * sysdeps/x86_64/memrchr.S: New file.
27114         * sysdeps/x86_64/memchr.S: Update.
27115         Replace with faster SSE2 version.
27117 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
27119         * elf/dl-load.c (lose): Add cast to avoid warning.
27121 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
27123         * po/ca.po: Update from translation team.
27125         * inet/getnetgrent_r.c: Hook up nscd.
27126         * nscd/Makefile (routines): Add nscd_netgroup.
27127         (nscd-modules): Add netgroupcache.
27128         (CFLAGS-netgroupcache.c): Define.
27129         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27130         (cache_search): Add const to second parameter.
27131         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27132         INNETGR.
27133         (dbs): Add netgrdb entry.
27134         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27135         (verify_persistent_db): Handle netgrdb.
27136         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27137         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27138         GETFDNETGR.
27139         (netgroup_response_header): Define.
27140         (innetgroup_response_header): Define.
27141         (datahead): Add netgroup_response_header and innetgroup_response_header
27142         elements.
27143         * nscd/nscd.conf: Add entries for netgroup cache.
27144         * nscd/nscd.h (dbtype): Add netgrdb.
27145         (_PATH_NSCD_NETGROUP_DB): Define.
27146         (netgroup_iov_disabled): Declare.
27147         (xmalloc, xcalloc, xrealloc): Move declarations here.
27148         (cache_search): Adjust prototype.
27149         Add netgroup-related prototypes.
27150         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27151         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27152         (__nscd_innetgr): Declare.
27153         * nscd/selinux.c (perms): Use access_vector_t as element type and
27154         add netgroup-related initializers.
27155         * nscd/netgroupcache.c: New file.
27156         * nscd/nscd_netgroup.c: New file.
27157         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27158         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27159         For four parameters use innetgr.
27160         * nss/nss_files/files-init.c: Add definition and callback for netgr.
27161         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27162         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27163         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27165         * nscd/connections.c (register_traced_file): Don't register file
27166         for disabled databases.
27168 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
27170         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27172         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27173         from tree and freeing node.
27175 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
27177         * nss/nsswitch.c (__nss_database_lookup): Handle
27178         nss_parse_service_list out of memory case.
27180 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
27182         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27183         out of memory case.
27185 2011-10-04  Andreas Schwab  <schwab@redhat.com>
27187         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27188         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27189         pass it down.
27190         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27191         elf_machine_rela, elf_machine_lazy_rel.
27192         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27193         (ELF_DYNAMIC_DO_REL): Likewise.
27194         (ELF_DYNAMIC_DO_RELA): Likewise.
27195         (ELF_DYNAMIC_RELOCATE): Likewise.
27196         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27197         to ELF_DYNAMIC_DO_REL.
27198         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27199         (dl_main): In trace mode always set __RTLD_NOIFUNC.
27200         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27201         elf_machine_rela.
27202         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27203         skip_ifunc, don't call ifunc function if non-zero.
27204         (elf_machine_rela): Likewise.
27205         (elf_machine_lazy_rel): Likewise.
27206         (elf_machine_lazy_rela): Likewise.
27207         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27208         (elf_machine_lazy_rel): Likewise.
27209         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27210         Likewise.
27211         (elf_machine_lazy_rel): Likewise.
27212         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27213         Likewise.
27214         (elf_machine_lazy_rel): Likewise.
27215         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27216         (elf_machine_lazy_rel): Likewise.
27217         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27218         (elf_machine_lazy_rel): Likewise.
27219         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27220         (elf_machine_lazy_rel): Likewise.
27221         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27222         (elf_machine_lazy_rel): Likewise.
27223         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27224         (elf_machine_lazy_rel): Likewise.
27225         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27226         (elf_machine_lazy_rel): Likewise.
27228 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
27230         * nss/nss_files/files-init.c (_nss_files_init): Use static
27231         initialization for all the *_traced_file variables.
27233 2011-09-28  Andreas Schwab  <schwab@redhat.com>
27235         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27237 2011-09-27  Roland McGrath  <roland@hack.frob.com>
27239         [BZ #13226]
27240         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27242 2011-09-27  Andreas Schwab  <schwab@redhat.com>
27244         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27245         Reread the line before reparsing it.
27247 2011-09-26  Andreas Schwab  <schwab@redhat.com>
27249         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27251 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
27252             Maxim Kuvyrkov  <maxim@codesourcery.com>
27253             Joseph Myers  <joseph@codesourcery.com>
27255         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27256         if needed for __stack_chk_guard.
27258 2011-09-19  Roland McGrath  <roland@hack.frob.com>
27260         * sysdeps/posix/spawni.c (script_execute): Always define it.
27261         It will be optimized away if unused.
27262         (maybe_script_execute): New function.
27263         (__spawni): Call it.
27265         * Makerules: Don't include tls.make.
27266         (config-tls): Always set to thread.
27267         * tls.make.c: File removed.
27269 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
27271         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27272         * config.make.in (CPPFLAGS-config): New substituted variable.
27274 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27276         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27278         [BZ #13192]
27279         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27280         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27282 2011-09-15  Roland McGrath  <roland@hack.frob.com>
27284         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27285         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27286         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27287         (CALL_FAIL): Likewise.
27288         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27289         (CALL_FAIL): Macro removed.
27290         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27292 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
27294         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27295         for __FINITE_MATH_ONLY__ == 1.
27297 2011-09-15  Andreas Schwab  <schwab@redhat.com>
27299         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27300         __ieee754_sqrt instead of sqrt.
27301         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27302         __ieee754_sqrtf instead of sqrtf.
27303         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27304         __floorf instead of floorf.
27305         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27306         __floorf, __truncf instead of floorf, truncf.
27308 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
27310         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27312         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27313         __extern_always_inline.
27314         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27315         32-bit.
27317 2011-09-14  Andreas Schwab  <schwab@redhat.com>
27319         * elf/rtld.c (dl_main): Also relocate in dependency order when
27320         doing symbol dependency testing.
27322 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
27324         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27325         Always define `refsym'.
27327 2011-09-13  Andreas Schwab  <schwab@redhat.com>
27329         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27330         (__FD_ELT): Renamed from __FDELT.
27331         * misc/bits/select2.h (__FD_ELT): Likewise.
27332         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27333         __FD_MASK instead of __FDELT, __FDMASK.
27334         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27335         Likewise.
27336         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27337         Likewise.
27339         * elf/Makefile (gen-ldd): Fix pattern.
27341         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27342         (init_tls): Likewise.
27344 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
27346         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27348 2011-09-12  Andreas Schwab  <schwab@redhat.com>
27350         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27351         `struct cmsghdr *' instead of `void *'.
27352         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27353         Likewise.
27355 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
27357         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27358         if non-absolute.
27359         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27360         ldd_rewrite_script.
27362 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
27364         * configure.in: Remove --with-tls option.
27365         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27366         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27367         out in case it is missing.
27368         * sysdeps/ia64/elf/configure.in: Likewise.
27369         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27370         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27371         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27372         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27373         * sysdeps/sh/elf/configure.in: Likewise.
27374         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27375         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27376         * sysdeps/x86_64/elf/configure.in: Likewise.
27377         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27378         * sysdeps/mach/hurd/tls.h: Likewise.
27380         [BZ #13067]
27381         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27383         [BZ #13090]
27384         * configure.in: Fix use of AC_INIT.
27386         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27388 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
27390         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27391         __set_errno.
27392         * malloc/hooks.c: Likewise.
27394         [BZ #11929]
27395         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
27396         variables statically.
27397         (narenas): Initialize.
27398         (list_lock): Initialize.
27399         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
27400         initializtion of main_arena and list_lock.  Small cleanups.
27401         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27402         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
27403         Add initializers to main_arena and mp_.
27404         (malloc_state): Remove pagesize member.  Change all users to use
27405         GLRO(dl_pagesize).
27407         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27408         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
27409         is always initialized.
27411         * malloc/malloc.c: Removed unused configurations and dead code.
27412         * malloc/arena.c: Likewise.
27413         * malloc/hooks.c: Likewise.
27414         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27416         * include/tls.h: Removed.  USE___THREAD must always be defined.
27417         * bits/libc-tsd.h: Don't handle !USE___THREAD.
27418         * elf/dl-libc.c: Likewise.
27419         * elf/dl-tsd.c: Likewise.
27420         * include/errno.h: Likewise.
27421         * include/netdb.h: Likewise.
27422         * include/resolv.h: Likewise.
27423         * inet/herrno-loc.c: Likewise.
27424         * inet/herrno.c: Likewise.
27425         * malloc/arena.c: Likewise.
27426         * malloc/hooks.c: Likewise.
27427         * malloc/malloc.c: Likewise.
27428         * resolv/res-state.c: Likewise.
27429         * resolv/res_libc.c: Likewise.
27430         * sysdeps/i386/dl-machine.h: Likewise.
27431         * sysdeps/ia64/dl-machine.h: Likewise.
27432         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27433         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27434         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27435         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27436         * sysdeps/sh/dl-machine.h: Likewise.
27437         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27438         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27439         * sysdeps/unix/i386/sysdep.S: Likewise.
27440         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27441         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27443         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27444         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27445         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27446         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27447         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27448         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27449         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27450         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27451         * sysdeps/x86_64/dl-machine.h: Likewise.
27452         * tls.make.c: Likewise.
27454         * configure.in: Remove --with-__thread option.  Make tests for
27455         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27456         tls_model attribute fail if no support is available.  Remove
27457         USE_IN_LIBIO.
27458         * Makeconfig: Adjust for dropped configure option.  All features are
27459         now mandatory.
27460         * Makerules: Likewise.
27461         * Versions.def: Likewise.
27462         * argp/argp-fmtstream.c: Likewise.
27463         * argp/argp-fmtstream.h: Likewise.
27464         * argp/argp-help.c: Likewise.
27465         * assert/assert.c: Likewise.
27466         * config.h.in: Likewise.
27467         * config.make.in: Likewise.
27468         * configure: Likewise.
27469         * configure.in: Likewise.
27470         * csu/Versions: Likewise.
27471         * csu/init.c: Likewise.
27472         * elf/tst-audit2.c: Likewise.
27473         * elf/tst-tls10.c: Likewise.
27474         * elf/tst-tls10.h: Likewise.
27475         * elf/tst-tls11.c: Likewise.
27476         * elf/tst-tls12.c: Likewise.
27477         * elf/tst-tls14.c: Likewise.
27478         * elf/tst-tlsmod11.c: Likewise.
27479         * elf/tst-tlsmod12.c: Likewise.
27480         * elf/tst-tlsmod13.c: Likewise.
27481         * elf/tst-tlsmod13a.c: Likewise.
27482         * elf/tst-tlsmod14a.c: Likewise.
27483         * elf/tst-tlsmod15b.c: Likewise.
27484         * elf/tst-tlsmod16a.c: Likewise.
27485         * elf/tst-tlsmod16b.c: Likewise.
27486         * elf/tst-tlsmod7.c: Likewise.
27487         * elf/tst-tlsmod8.c: Likewise.
27488         * elf/tst-tlsmod9.c: Likewise.
27489         * gmon/gmon.c: Likewise.
27490         * grp/fgetgrent_r.c: Likewise.
27491         * grp/putgrent.c: Likewise.
27492         * hurd/fopenport.c: Likewise.
27493         * include/libc-symbols.h: Likewise.
27494         * include/tls.h: Likewise.
27495         * intl/gettextP.h: Likewise.
27496         * intl/loadinfo.h: Likewise.
27497         * locale/global-locale.c: Likewise.
27498         * locale/localeinfo.h: Likewise.
27499         * mach/devstream.c: Likewise.
27500         * malloc/arena.c: Likewise.
27501         * malloc/set-freeres.c: Likewise.
27502         * misc/err.c: Likewise.
27503         * misc/getttyent.c: Likewise.
27504         * misc/mntent_r.c: Likewise.
27505         * posix/getopt.c: Likewise.
27506         * posix/wordexp.c: Likewise.
27507         * pwd/fgetpwent_r.c: Likewise.
27508         * resolv/Versions: Likewise.
27509         * resolv/res_hconf.c: Likewise.
27510         * shadow/fgetspent_r.c: Likewise.
27511         * shadow/putspent.c: Likewise.
27512         * stdio-common/printf_fphex.c: Likewise.
27513         * stdio-common/tmpfile.c: Likewise.
27514         * stdlib/abort.c: Likewise.
27515         * stdlib/fmtmsg.c: Likewise.
27516         * sunrpc/auth_unix.c: Likewise.
27517         * sunrpc/clnt_perr.c: Likewise.
27518         * sunrpc/clnt_tcp.c: Likewise.
27519         * sunrpc/clnt_udp.c: Likewise.
27520         * sunrpc/clnt_unix.c: Likewise.
27521         * sunrpc/openchild.c: Likewise.
27522         * sunrpc/svc_simple.c: Likewise.
27523         * sunrpc/svc_tcp.c: Likewise.
27524         * sunrpc/svc_udp.c: Likewise.
27525         * sunrpc/svc_unix.c: Likewise.
27526         * sunrpc/xdr.c: Likewise.
27527         * sunrpc/xdr_array.c: Likewise.
27528         * sunrpc/xdr_rec.c: Likewise.
27529         * sunrpc/xdr_ref.c: Likewise.
27530         * sunrpc/xdr_stdio.c: Likewise.
27532 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27534         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27536 2011-07-03  Andreas Jaeger  <aj@suse.de>
27538         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27539         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27540         regenerate with gen-libm-tests.pl.
27542 2010-05-12  Petr Baudis  <pasky@suse.cz>
27544         [BZ #11589]
27545         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27546         around j0() zero points by switching to j1().
27547         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27548         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27549         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27550         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27552 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27554         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27555         instead of 0.
27556         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27557         instead of 0.
27558         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27559         Patch in part by Pavel Roskin <proski@gnu.org>.
27561         [BZ #13138]
27562         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27563         realloc.
27564         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
27565         Free memory block if necessary.
27567         [BZ #12847]
27568         * libio/genops.c (INTDEF): For string streams the _lock pointer can
27569         be NULL.  Don't lock in this case.
27571 2011-09-09  Roland McGrath  <roland@hack.frob.com>
27573         * elf/elf.h (ELFOSABI_GNU): New macro.
27574         (ELFOSABI_LINUX): Define to that.
27576 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
27578         * string/strncat.c (strncat): Undef the symbol in case it has been
27579         defined in bits/string.h.
27581 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
27583         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27585         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27586         link map.
27588 2011-08-17  Andreas Jaeger  <aj@suse.de>
27590         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27592 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
27593             Ian Lance Taylor  <iant@google.com>
27595         * math/libm-test.inc (lround_test): New testcase.
27596         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27598 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
27600         * Makefile: Remove support for automatic cvs check-ins.
27601         * Makerules: Likewise.
27602         * config.make.in: Likewise.
27603         * configure.in: Likewise.
27604         * intl/Makefile: Likewise.
27605         * locale/Makefile: Likewise.
27606         * po/Makefile: Likewise.
27607         * posix/Makefile: Likewise.
27608         * sysdeps/gnu/Makefile: Likewise.
27609         * sysdeps/mach/hurd/Makefile: Likewise.
27610         * sysdeps/sparc/sparc32/Makefile: Likewise.
27612         [BZ #13118]
27613         * posix/Makefile (bug-regex32-ENV): Define.
27614         Patch by John Stanley <jpsinthemix@verizon.net>.
27616         * misc/Makefile (headers): Add bits/select2.h.
27617         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27618         * misc/bits/select2.h: New file.
27619         * include/bits/select2.h: New file.
27620         * debug/Makefile (routines): Add fdelt_chk.
27621         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27622         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27623         FD_ISSET.
27624         * debug/fdelt_chk.c: New file.
27626         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
27627         * wcsmbs/test-wmemcmp.c: Likewise.
27628         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27629         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27631 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27633         * string/Makefile (strop-tests): Add memcmp.
27634         * string/test-wmemcmp.c: New file.
27635         * string/test-memcmp.c: Add wmemcmp support.
27637 2011-09-08  Roland McGrath  <roland@hack.frob.com>
27639         [BZ #13153]
27640         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27641         2011-07-19 change.
27643         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27644         garbage value in a __mach_port_mod_refs call in the cases of the
27645         task-self and thread-self ports.
27647 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27649         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27651 2011-09-08  Andreas Schwab  <schwab@redhat.com>
27653         * elf/dl-load.c (lose): Check for non-null L.
27655 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27657         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27659         * elf/dl-libc.c (dlerror_run): Pass back error code from
27660         dl_catch_error.
27662         [BZ #13123]
27663         * elf/dl-load.c (lose): Free l_origin if it is valid.
27665         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27666         names.
27667         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27668         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27669         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27670         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27671         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27672         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27674 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27676         * sysdeps/powerpc/fpu/e_hypot.c: New file.
27677         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27678         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27679         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27680         * sysdeps/powerpc/fpu/k_cosf.c: New file.
27681         * sysdeps/powerpc/fpu/k_sinf.c: New file.
27682         * sysdeps/powerpc/fpu/s_cosf.c: New file.
27683         * sysdeps/powerpc/fpu/s_sinf.c: New file.
27684         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27685         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27687 2011-08-15  Alan Modra  <amodra@gmail.com>
27689         [BZ #13092]
27690         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27691         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27692         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
27693         ppc_mcount to static-only-routines.
27694         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27695         __mcount_internal.
27696         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27697         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
27699 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
27701         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27702         for finite and infinity parameters.
27704 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
27706         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27707         and add nop instructions for throughput optimization.
27708         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27710 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
27712         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27713         aligned copy for power7 with vector-scalar instructions.
27714         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27716 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
27718         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27719         AVX check.
27721 2011-09-07  Andreas Schwab  <schwab@redhat.com>
27723         [BZ #13144]
27724         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27725         last change.
27727 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
27729         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27730         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27731         syscall wrapper around clock_gettime in __vdso_clock_gettime.
27732         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27733         clock_gettime.
27735 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27737         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27738         Forgot to demangle the pointer.
27740         * sysdeps/i386/sysdep.h: Define atom_text_section.
27741         * sysdeps/x86_64/sysdep.h: Likewise.
27742         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27743         section with atom_text_section.
27744         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27745         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27746         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27747         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27748         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27750         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27751         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27752         already be defined.  Change to take two parameters and don't assign
27753         result to variable.  Adjust all users.
27754         Define INTERNAL_GETTIME if not already defined.
27755         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27756         call.
27757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27758         HAVE_CLOCK_GETTIME_VSYSCALL.
27759         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27761         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27762         gettimeofday vsyscall, just use time.
27764 2011-09-06  Andreas Schwab  <schwab@redhat.com>
27766         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27767         <errno.h>.
27769 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
27771         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27772         syscall on x86-64.
27773         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27774         syscall.
27775         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27776         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27777         syscall if possible.
27779 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27781         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27782         e_ident.  Don't pass to find_mapsXX.
27783         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27785 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27788         strchr-sse2-no-bsf strrchr-sse2-no-bsf
27789         * sysdeps/x86_64/multiarch/strchr.S: Update.
27790         Check bit_slow_BSF bit.
27791         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27792         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27793         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27795 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27797         [BZ #13134]
27798         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27799         before glibc 2.15.
27800         (tryshell): Define.
27801         (__spawni): Change last parameter to be flag.  Test
27802         SPAWN_XFLAGS_USE_PATH flag to use path or not.
27803         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27804         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27805         * posix/spawni.c: Likewise.
27806         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27807         * posix/spawnp.c: Likewise.  Change normal version to use
27808         SPAWN_XFLAGS_USE_PATH.
27809         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27810         SPAWN_XFLAGS_TRY_SHELL.
27812         [BZ #13150]
27813         * posix/glob.h: Remove gcc 1.x support.
27815         [BZ #13068]
27816         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27818 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27820         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27821         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27822         strrchr-sse2-bsf
27823         * sysdeps/i386/i686/multiarch/strchr.S: New file.
27824         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27825         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27826         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27827         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27828         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27830 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27832         * sysdeps/x86_64/wcscmp.S: New file.
27834         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27835         wcscmp-c wcscmp-sse2
27836         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27837         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27838         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27839         * wcsmbs/wcscmp.c: Allow renaming.
27841 2011-09-05  David S. Miller  <davem@davemloft.net>
27843         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27844         stack slot, rather than the struct return pointer slot.
27845         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27846         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27848         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27850 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
27852         * po/ja.po: Update from translation team.
27854         [BZ #13144]
27855         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27856         kernel in 64-bit binaries.
27858 2011-09-01  David S. Miller  <davem@davemloft.net>
27860         * elf/elf.h (HWCAP_SPARC_*): Move to..
27861         * sysdeps/sparc/sysdep.h: this new file and add new values.
27862         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27863         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27864         _DL_HWCAP_COUNT to 24.
27865         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27866         entries.
27867         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27868         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27869         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27870         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27871         instead of magic constants.
27872         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27874 2011-08-31  David S. Miller  <davem@davemloft.net>
27876         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27877         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27878         Reimplement to do errno handling inline.
27879         (SYSCALL_ERROR_HANDLER): New macro.
27880         (__SYSCALL_STRING): Do not do errno handling in asm.
27881         (__CLONE_SYSCALL_STRING): Delete.
27882         (__INTERNAL_SYSCALL_STRING): Delete.
27883         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27884         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27885         (PSEUDO): Reimplement to do errno handling inline.
27886         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27887         (SYSCALL_ERROR_HANDLER): New macro.
27888         (__SYSCALL_STRING): Do not do errno handling in asm.
27889         (__CLONE_SYSCALL_STRING): Delete.
27890         (__INTERNAL_SYSCALL_STRING): Delete.
27891         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27892         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27893         i386.
27894         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27895         (inline_syscall*): Add 'err' argument.
27896         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27897         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27898         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27899         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27901         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27902         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27904 2011-08-30  Andreas Schwab  <schwab@redhat.com>
27906         * elf/rtld.c (dl_main): Relocate objects in dependency order.
27908 2011-08-29  Jiri Olsa <jolsa@redhat.com>
27910         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27911         directive.
27913 2011-08-24  David S. Miller  <davem@davemloft.net>
27915         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27917 2011-08-24  Andreas Schwab  <schwab@redhat.com>
27919         * elf/Makefile: Add rules to build and run unload8 test.
27920         * elf/unload8.c: New file.
27921         * elf/unload8mod1.c: New file.
27922         * elf/unload8mod1x.c: New file.
27923         * elf/unload8mod2.c: New file.
27924         * elf/unload8mod3.c: New file.
27926         * elf/dl-close.c (_dl_close_worker): Reset private search list if
27927         it wasn't used.
27929 2011-08-23  David S. Miller  <davem@davemloft.net>
27931         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27932         subtract stack bias.
27933         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27934         %sp not %fp in calculations.
27935         (_JMPBUF_UNWINDS_ADJ): Likewise.
27937         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27938         (aio_suspend): Call it to force an exception region around the
27939         AIO_MISC_WAIT() invocation.
27941 2011-08-23  Andreas Schwab  <schwab@redhat.com>
27943         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27944         backslash.
27946 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
27948         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27949         protection macro.
27950         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27951         and <dl-machine.h>.
27952         (Elf64_FuncDesc): Remove.
27954 2011-08-22  David S. Miller  <davem@davemloft.net>
27956         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27957         sigaltstack check, add missing cfi directives.
27958         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27959         missing cfi directives, and sigaltstack handling.
27961 2011-08-16  Andreas Schwab  <schwab@redhat.com>
27963         [BZ #11724]
27964         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27965         object is seen twice.
27966         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27968         * elf/Makefile (distribute): Add tst-initorder2.c.
27969         (tests): Add tst-initorder2.
27970         (modules-names): Add tst-initorder2a tst-initorder2b
27971         tst-initorder2c tst-initorder2d.  Add rules to build them.
27972         ($(objpfx)tst-initorder2.out): New rule.
27973         * elf/tst-initorder2.c: New file.
27974         * elf/tst-initorder2.exp: New file.
27976 2011-08-22  Andreas Schwab  <schwab@redhat.com>
27978         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27980         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27981         dependencies back to end of function.
27983         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27984         $(elfobjdir)/ld.so.
27986 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
27988         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27989         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27990         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27991         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27992         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27993         of __vdso_gettimeofday.
27994         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27995         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
27996         attribute_hidden.
27997         (_libc_vdso_platform_setup): Remove initialization of
27998         __vdso_gettimeofday and __vdso_time.
28000 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28002         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28003         and fgetc_unlocked.
28004         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28005         getc_unlocked.
28007         * elf/dl-open.c (add_to_global): Report additions to the global scope
28008         for LD_DEBUG=scopes.
28009         (dl_open_worker): Also print scope of newly loaded dependencies.
28010         (_dl_show_scope): Indicate if there is no scope.
28012         [BZ #13114]
28013         * stdio-common/Makefile (tests): Add bug24.
28014         * stdio-common/bug24.c: New file.
28016 2011-08-19  Andreas Jaeger  <aj@suse.de>
28018         [BZ #13114]
28019         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28020         non-existant file when using close-on-exec mode.
28022 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
28024         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28025         the very first instruction.
28027         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28028         the CFI state in the end.
28029         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28030         inclusion of dl-trampoline.h.
28031         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28033 2011-08-19  Andreas Schwab  <schwab@redhat.com>
28035         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28036         expectations for long double.
28038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28039         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28041 2011-08-14  David S. Miller  <davem@davemloft.net>
28043         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28044         artificual limit depends upon the system page size.
28046 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28048         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28049         * resolv/Makefile: Define CFLAGS-libresolv.
28051 2011-08-17  Andreas Schwab  <schwab@redhat.com>
28053         * nss/makedb.c (compute_tables): Make variables used in nested
28054         function static.
28056 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
28058         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28059         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28060         if buffer was too small.
28062         * elf/pldd.c (main): Attach to all threads in the process.
28063         Rewrite /proc handling to use *at functions.
28065 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
28067         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28068         specifies first scope to show.
28069         (dl_open_worker): Update callers.  Move printing scope of new
28070         object to before the relocation.
28071         * elf/rtld.c (dl_main): Update _dl_show_scope call.
28072         * sysdeps/generic/ldsodefs.h: Update declaration.
28074         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28075         string for the scope number.
28077 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
28079         * nscd/servicescache.c (cache_addserv): Make sure written is always
28080         initialized.
28082 2011-08-14  Roland McGrath  <roland@hack.frob.com>
28084         * sysdeps/i386/i486/bits/atomic.h
28085         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28086         statement expression, so as to suppress "set but not used" warning.
28087         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28089         * string/strncat.c (STRNCAT): Use prototype definition.
28091         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28092         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28093         -Iprograms here.
28094         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28095         (localedef-modules): Add localedef.
28096         (locale-modules): Add locale.
28098         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28099         * elf/rtld.c (dl_main): Invert order of assignment in last change,
28100         to avoid a warning.
28102 2011-08-14  David S. Miller  <davem@davemloft.net>
28104         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28105         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28107 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
28109         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28110         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28111         * elf/rtld.c (dl_main): Set l_name of vDSO.
28112         Call _dl_show_scope when DL_DEBUG_SCOPES.
28113         (process_dl_debug): Recognize scopes flag and also set it for all.
28114         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28115         Declare _dl_show_scope.
28117         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28118         (do_dlopen): Pass caller_dlopen to dl_open.
28119         (__libc_dlopen_mode): Initialize caller_dlopen.
28121         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28122         of libc.  Make tolower call locale-independent.  Optimize a bit by
28123         using isdigit instead of isalnum.
28124         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28126 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
28128         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28129         was a dependency or dynamically loaded.
28131 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
28133         * intl/l10nflist.c: Allow architecture-specific pop function.
28134         * sysdeps/x86_64/l10nflist.c: New file.
28136         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28137         classification.
28139 2011-08-10  Andreas Schwab  <schwab@redhat.com>
28141         * include/dirent.h: Add libc_hidden_proto for scandirat and
28142         scandirat64.  Don't declare __scandirat64.
28143         * dirent/scandirat.c: Add libc_hidden_def.
28144         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28145         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28147 2011-08-10  David S. Miller  <davem@davemloft.net>
28149         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28150         enum.
28151         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28152         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28153         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28155 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
28157         * Versions.def [libc]: Add GLIBC_2.15.
28158         * dirent/Makefile (routines): Add scandirat and scandirat64.
28159         * dirent/Versions [libc]: Export scandirat and scandirat64 for
28160         GLIBC_2.15.
28161         * dirent/dirent.h: Declare scandirat and scandirat64.
28162         * dirent/scandirat.c: New file.
28163         * dirent/scandirat64.c: New file.
28164         * sysdeps/wordsize-64/scandirat.c: New file.
28165         * sysdeps/wordsize-64/scandirat64.c: New file.
28166         * dirent/opendir.c: Define opendirat.
28167         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
28168         using scandirat.
28169         * dirent/scandir64.c: Adjust for scandir.c change.
28170         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
28171         __scandirat64, and __scandir_cancel_handler.
28172         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
28173         additional parameter and use openat instead of open (outside of ld.so).
28174         Add new __opendir as wrapper around __opendirat.
28175         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28176         here without requiring old scandirat implementation.
28178 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
28180         * dirent/scandir.c (cancel_handler): Renamed to
28181         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
28182         defined.  Adjust users.
28183         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28184         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28186 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
28188         * string/test-string.h (IMPL): Use __STRING to expand name and then
28189         stringify it.
28191         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
28192         of cleanups.
28194 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28196         * string/Makefile: Update.
28197         (strop-tests): Append strncat.
28198         * string/test-wcscmp.c: New file.
28199         New comprehensive test for wcscmp.
28200         * string/test-strcmp.c: Update.
28201         (WIDE): New define.
28203 2011-07-22  Andreas Schwab  <schwab@redhat.com>
28205         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28206         line.
28208 2011-07-26  Andreas Schwab  <schwab@redhat.com>
28210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28211         encoding to ACE if AI_IDN.
28213 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
28215         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28216         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28218 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28220         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28221         Fix overflow bug in strncat.
28222         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28224         * string/test-strncat.c: Update.
28225         Add new tests for checking overflow bugs.
28227 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28229         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28230         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28231         * sysdeps/i386/i686/multiarch/strcat.S: New file.
28232         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28233         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28234         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28235         * sysdeps/i386/i686/multiarch/strncat.S: New file.
28236         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28237         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28239         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28240         (USE_AS_STRCAT): Define.
28241         Add strcat and strncat support.
28242         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28244 2011-07-25  Andreas Schwab  <schwab@redhat.com>
28246         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28247         __n bigger than INT_MAX+1.
28248         (__strncmp_g): Likewise.
28250 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
28252         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28253         * libio/stido.h: Likewise.
28255         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28256         (AF_NFC): Define.
28257         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28258         (AF_NFC): Define.
28260         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28261         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28262         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28263         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28264         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28266         [BZ #13021]
28267         * scripts/test-installation.pl: Don't expect libnss_test1 to be
28268         installed.
28270         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28271         typo.
28272         (_dl_x86_64_save_sse): Likewise.
28274 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
28276         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28277         OSXSAVE.
28278         (_dl_x86_64_save_sse): Likewise.
28280         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28282         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28284 2011-07-21  Andreas Schwab  <schwab@redhat.com>
28286         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28287         change.
28288         (_dl_x86_64_save_sse): Use correct AVX check.
28290 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28292         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28293         bug in strncpy/strncat.
28294         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28296 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
28298         * string/tester.c (test_strcat): Add tests for different alignments
28299         of source and destination.
28300         (test_strncat): Likewise.
28302 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28304         [BZ #12852]
28305         * posix/glob.c (glob): Check passed in values before using them in
28306         expressions to avoid some overflows.
28307         (glob_in_dir): Likewise.
28309         [BZ #13007]
28310         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28311         check for AVX enablement so that we don't crash with old kernels and
28312         new hardware.
28313         * elf/tst-audit4.c: Add same checks here.
28314         * elf/tst-audit6.c: Likewise.
28316         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28318 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
28320         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28322 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
28324         * po/cs.po: Update from translation team.
28325         * po/bg.po: Likewise.
28327 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
28329         * misc/sys/cdefs.h: Add support for const attribute.
28330         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28331         to gnu_dev_{major,minor,makedev} functions.
28333 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
28335         * intl/dcigettext.c (get_output_charset): Add missing bracket.
28337 2011-07-20  Andreas Schwab  <schwab@redhat.com>
28339         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28340         strlen results.
28342 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28344         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28345         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28346         register in order to avoid conflicts with the soft frame pointer
28347         being held in r11 when necessary.
28348         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28349         (INTERNAL_VSYSCALL_NCS): Likewise.
28351 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
28353         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28354         * elf/dl-fini.c (_dl_fini): Adjust caller.
28355         * elf/dl-close.c (_dl_close_worker): Likewise.
28356         * sysdeps/generic/ldsodefs.h: Adjust declaration.
28358 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28360         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28361         "aux_cache->nlibs < 0".
28363         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28364         in the reload-count case.
28366 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28369         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28370         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28371         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28372         * sysdeps/x86_64/multiarch/strcat.S: New file.
28373         * sysdeps/x86_64/multiarch/strncat.S: New file.
28374         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28375         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28376         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28377         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28378         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28379         (USE_AS_STRCAT): Define.
28380         Add strcat and strncat support.
28381         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28382         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28383         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28384         * string/strncat.c: Update.
28385         (USE_AS_STRNCAT): Define.
28386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28387         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28388         and i7.
28389         * sysdeps/x86_64/multiarch/init-arch.h
28390         (bit_Prefer_PMINUB_for_stringop): New.
28391         (index_Prefer_PMINUB_for_stringop): Likewise.
28392         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28393         bit_Prefer_PMINUB_for_stringop.
28395 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28397         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28398         buffer64.
28399         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28400         of casting of buffer.
28401         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28402         buffer32 and buffer64.
28403         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28404         writes instead of casting of buffer.
28405         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28406         buffer32.
28407         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28408         casting of buffer.
28410 2011-07-19  Andreas Schwab  <schwab@redhat.com>
28412         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28414 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
28416         * nscd/nscd.c (termination_handler): Don't do anything for a database
28417         if it has not yet been initialized.
28419 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28421         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28423 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
28425         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28427 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
28429         * po/nl.po: Update from translation team.
28430         * po/sv.po: Likewise.
28432 2011-07-16  Roland McGrath  <roland@hack.frob.com>
28434         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28435         now disallowed by GCC.
28437         * configure.in (use-default-link): Default to yes if a test -shared
28438         link meets our qualifications.
28439         * configure: Regenerated.
28441         * config.make.in (output-format): New variable.
28442         * configure.in: Check for ld --print-output-format support.
28443         * configure: Regenerated.
28444         * Makerules ($(common-objpfx)format.lds)
28445         [$(output-format) != unknown]: Just use $(output-format),
28446         instead of the linker-script munging.
28448 2011-07-14  Roland McGrath  <roland@hack.frob.com>
28450         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28451         of $(common-objpfx)shlib.lds.
28452         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28454         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28455         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28457         * configure.in (-z relro check): Adjust test code to add a large
28458         writable data section after it.
28459         * configure: Regenerated.
28461 2011-07-11  Roland McGrath  <roland@hack.frob.com>
28463         * configure.in (-z relro check): Fix test code to make the variable
28464         truly const.
28465         * configure: Regenerated.
28467 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
28469         * nscd/nscd.h (struct traced_file): Define.
28470         (struct database_dyn): Remove inotify_descr, reset_res, and filename
28471         elements.  Add traced_files.
28472         (inotify_fd): Declare.
28473         (register_traced_file): Declare.
28474         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28475         (inotify_fd): Export.
28476         (resolv_conf_descr): Remove.
28477         (nscd_init): Move inotify descriptor creation to main.
28478         Don't register files for notification here.
28479         (register_traced_file): New function.
28480         (invalidate_cache): Don't use reset_res to determine whether to call
28481         res_init, go through the list of registered files.
28482         (main_loop_poll): The inotify descriptors are now stored in the
28483         structures for the traced files.
28484         (main_loop_epoll): Likewise
28485         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
28486         to __nss_disable_nscd.
28487         * nscd/cache.c (prune_cache): There is no single inotify descriptor
28488         for a database anymore.  Check the records for all the registered
28489         files instead.
28490         * nss/Makefile (libnss_files-routines): Add files-init.
28491         (libnss_db-routines): Add db-init.
28492         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28493         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28494         * nss/nss_db/db-init.c: New file.
28495         * nss/nss_files/files-init.c: New file.
28496         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
28497         __nss_lookup_function.
28498         (__nss_lookup_function): Call nss_load_library.
28499         (nss_load_all_libraries): New function.
28500         (__nss_disable_nscd): Take parameter with callback function for files
28501         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
28502         used for the cached services.
28503         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28504         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28505         options for features to all the files in nscd.
28507         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28509 2011-07-10  Roland McGrath  <roland@hack.frob.com>
28511         * csu/elf-init.c (__libc_csu_init): Comment typo.
28513 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
28515         * po/pl.po: Update from translation team.
28516         * po/ja.po: Likewise.
28517         * po/ru.po: Likewise.
28518         * po/ko.po: Likewise.
28519         * po/fr.po: Likewise.
28521 2011-07-09  Roland McGrath  <roland@hack.frob.com>
28523         * configure.in (.ctors/.dtors header and trailer check):
28524         Use an empirical test on a built program.
28525         * configure: Regenerated.
28527         * configure.in (-z relro check): Use an empirical test on a built DSO.
28528         Detect, but do not require, on ia64.
28529         * configure: Regenerated.
28531         * configure.in (READELF): Find it with AC_CHECK_TOOL.
28532         Update tests that use readelf to use $READELF instead.
28533         * configure: Regenerated.
28535 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
28537         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28538         if the result is not used.
28540 2011-07-05  Andreas Jaeger  <aj@suse.de>
28542         [BZ#9696]
28543         * stdlib/tst-strtod.c: Add testcase.
28545 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
28547         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28548         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28549         The latter has a higher limit.  Take additional parameter to pass to
28550         the new function.
28551         (__pathconf): Pass file to __statfs_link_max.
28552         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28553         __statfs_link_max.
28554         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28555         __statfs_link_max.
28557         [BZ #12868]
28558         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28559         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28560         Handle Lustre.
28561         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28562         (__statfs_filesize_max): Likewise.
28563         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28565 2011-07-05  Andreas Jaeger  <aj@suse.de>
28567         * resolv/res_comp.c (dn_skipname): Remove unused variable.
28569 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
28571         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28572         `status' variable.
28573         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28574         Likewise.
28576 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
28578         * Makefile (strop-tests): Add strncat.
28579         * string/test-strncat.c: New file.
28581 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
28583         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28585 2011-06-21  Andreas Jaeger  <aj@suse.de>
28587         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28588         Copy rule from iconvdata/Makefile.
28590 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28592         [BZ #12922]
28593         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28594         but no long options are defined, just return 'W'.
28596 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
28598         [BZ #9696]
28599         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28601 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
28603         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28604         netgroups to read.
28605         (innetgr): Likewise.
28607 2011-07-05  Roland McGrath  <roland@hack.frob.com>
28609         * config.make.in (install_root): Default to $(DESTDIR).
28611 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
28613         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28615 2011-07-02  Roland McGrath  <roland@hack.frob.com>
28617         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28619         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28620         containing directory rather than embedding absolute directory names.
28622         * scripts/check-local-headers.sh: Rewritten using awk.
28623         Match by word, not by line.  Print error messages for matches.
28624         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28626         * Makerules [shlib-lds-flags empty]:
28627         ($(common-objpfx)libc_pic.opts): New target.
28628         ($(common-objpfx)libc_pic.os.clean): New target.
28629         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28631         * config.make.in (OBJCOPY): New variable.
28632         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28633         * configure: Regenerated.
28635         * config.make.in (use-default-link): New variable.
28636         * configure.in (use_default_link): Grok --with-default-link to set it.
28637         * configure: Regenerated.
28638         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28639         (shlib-lds, shlib-lds-flags): Define to empty.
28641         * Makerules (shlib-lds): New variable.
28642         (shlib-lds-flags): New variable.
28643         (build-shlib, build-moduile, build-module-asneeded): Use it.
28644         ($(common-objpfx)libc.so): Use $(shlib-lds).
28645         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28646         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28648         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28649         DT_FLAGS/DT_FLAGS_1 with zero flags.
28651         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28652         linker script munging.
28654 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
28656         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28657         as 128-bit value.
28658         * crypt/sha512.c (sha512_process_block): Perform total addition using
28659         128-bit if possible.
28660         (__sha512_finish_ctx): Likewise.
28661         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28662         as 64-bit value.
28663         * crypt/sha256.c (SWAP64): Define.
28664         (sha256_process_block): Perform total addition using 64-bit if
28665         possible.
28666         (__sha256_finish_ctx): Likewise.
28668 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
28670         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
28671         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28672         * nscd/hstcache.c (cache_addhst): Likewise.
28673         * nscd/grpcache.c (cache_addgr): Likewise.
28674         * nscd/aicache.c (addhstaiX): Likewise
28675         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28677 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
28679         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28680         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28681         * nscd/hstcache.c (cache_addhst): Likewise.
28682         * nscd/grpcache.c (cache_addgr): Likewise.
28683         * nscd/aicache.c (addhstaiX): Likewise
28685 2011-07-01  Andreas Schwab  <schwab@redhat.com>
28687         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28688         domain only when needed.
28690 2011-06-30  Andreas Schwab  <schwab@redhat.com>
28692         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28693         is always restored.
28695 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
28697         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28698         are re-adding the entry.
28699         * nscd/servicescache.c (cache_addserv): Likewise.
28701 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
28703         * sysdeps/generic/dl-irel.h: fix protection against multiple
28704         inclusions.
28705         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28707 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
28709         [BZ #12935]
28710         * malloc/memusage.sh: Fix quoting in message.
28711         * debug/xtrace.sh: Likewise.
28713         * configure.in: Remove support for --experimental-malloc option, make
28714         it the default.
28715         * config.make.in: Likewise.
28716         * malloc/Makefile: Likewise.
28718 2011-06-27  Andreas Schwab  <schwab@redhat.com>
28720         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28721         two-byte characters.
28723 2011-06-27  Roland McGrath  <roland@hack.frob.com>
28725         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28726         AC_CACHE_CHECK invocation.
28727         * configure: Regenerated.
28729         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28731 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
28733         [BZ #12350]
28734         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
28735         bit from old_res_options.
28737         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28739         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28740         value type for setfct.
28742 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
28744         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28745         __gettimeofday instead of gettimeofday.
28747 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
28749         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28751 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
28753         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28755         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28756         info.
28758 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28761         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28762         strcpy-sse2-unaligned strncpy-sse2-unaligned
28763         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28764         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28765         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28766         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28767         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28768         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28769         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28770         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28771         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28772         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28773         (STRCPY): Support SSE2 and SSSE3 versions.
28775 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
28777         [BZ #12874]
28778         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28779         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28780         kernels which artificially limit size of requests.
28782 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
28784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28785         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28786         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28787         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28788         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28789         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28790         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28791         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28792         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28793         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28794         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28795         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28796         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28797         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28798         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28800         Enable unaligned load optimization for Intel Core i3, i5 and i7
28801         processors.
28802         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28803         Define.
28804         (index_Fast_Unaligned_Load): Define.
28805         (HAS_FAST_UNALIGNED_LOAD): Define.
28807 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
28809         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28811 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28813         [BZ #12907]
28814         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28815         until it is clear that the information is realy needed.
28816         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28818 2011-06-22  Andreas Schwab  <schwab@redhat.com>
28820         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28822 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
28824         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28825         /sys/devices/system/cpu/online if it is usable.
28827         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28828         reading the information from the /proc filesystem to once a second.
28830 2011-06-21  Andreas Jaeger  <aj@suse.de>
28832         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28833         NULL after inclusion of kernel headers.
28835 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
28837         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28838         calls to internal_setent.
28840         [BZ #12885]
28841         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28842         addresses using gethostbyname4_r ignore IPv4 addresses.
28844         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28845         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
28847         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28849 2011-06-20  David S. Miller  <davem@davemloft.net>
28851         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28852         inclusions.
28853         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28855         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28856         (elf_irel): Use it.
28857         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28858         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28859         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28860         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28861         * sysdeps/x86_64/dl-irel.h: Likewise.
28863         * elf/dl-runtime.c: Use elf_ifunc_invoke.
28864         * elf/dl-sym.c: Likewise.
28866 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28868         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
28869         need to dereference resplen2.
28871 2011-06-14  Andreas Schwab  <schwab@redhat.com>
28873         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28875 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
28877         * Makeconfig: Define vardbdir and inst_vardbdir.
28878         * nss/Makefile: Add rules to install db-Makefile.
28880         * nss/nss_db/db-XXX.c: Cleanup.
28882         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28883         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28884         GLIBC_PRIVATE.
28885         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28886         * nss/makedb.c: Implement -g option to specify that value strings
28887         are generated and should not be added to table iterated over for
28888         get*ent calls.
28889         * nss/nss_db/db-initgroups.c: New file.
28891         * nss/getent.c: Add support for initgroups lookups through getgrouplist
28892         interface.
28894         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28895         (internal_getgrouplist): Adjust to name change.
28896         Update use_initgroups_entry if this is not the first call.
28897         * nss/databases.def: Add initgroups entry.
28899         * nss/makedb.c (compute_tables): Check result of multiple hash table
28900         sizes to minimize maximum chain length.
28902 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
28904         * Versions.def: Add entry for libnss_db.
28905         * shlib-versions: Likewise.
28906         * nss/Makefile: Add rules to build libnss_db.
28907         * nss/Versions: Add libnss_db information.  Organize libnss_files
28908         entries better.
28909         * nss/db-Makefile: Add gshadow support.  Change rules for the new
28910         makedb progra.  Some minor improvements to generate smaller files.
28911         * nss/nss_db/nss_db.h: Move NSS database header data structures to
28912         here from...
28913         * nss/makedb.c: ...here.
28914         Improve database format to be smaller and require less memory at
28915         runtime.
28916         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
28917         db anymore.
28918         * nss/nss_db/db-netgrp.c: Likewise.
28919         * nss/nss_db/db-open.c: Likewise.
28920         * nss/nss_files/flies-XXX.x: Adjust comments.
28921         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28922         * nss/nss_files/files-grp.c: Likewise.
28923         * nss/nss_files/files-hosts.c: Likewise.
28924         * nss/nss_files/files-network.c: Likewise.
28925         * nss/nss_files/files-proto.c: Likewise.
28926         * nss/nss_files/files-pwd.c: Likewise.
28927         * nss/nss_files/files-rpc.c: Likewise.
28928         * nss/nss_files/files-service.c: Likewise.
28929         * nss/nss_files/files-sgrp.c: Likewise.
28930         * nss/nss_files/files-spwd.c: Likewise.
28931         * nss/nss_db/db-alias.c: Removed.
28932         * nss/nss_db/dummy-db.h: Removed.
28934 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
28936         * nss/makedb.c: Rewritten to not use database library.
28937         * nss/Makefile: Update to build new makedb program.
28939 2011-06-14  Andreas Jaeger  <aj@suse.de>
28941         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28942         memset declaration.
28944 2011-06-10  Andreas Schwab  <schwab@redhat.com>
28946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28947         tmpbuf.
28949 2011-06-10  Roland McGrath  <roland@hack.frob.com>
28951         * Makerules (shlib.lds): Fail if the linker script comes out empty.
28952         * elf/Makefile ($(objpfx)ld.so): Likewise.
28954         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28955         Don't list ld.so twice in dependencies.
28957         * posix/bug-regex31.c: Include <stdlib.h>.
28959         * nscd/hstcache.c (cache_addhst): Remove unused variable.
28961         * nis/nss_compat/compat-spwd.c
28962         (getspent_next_nss_netgr): Remove unused variable.
28963         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28965         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28966         nonmembers" output to use the right array.
28968         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28970         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28972         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28973         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28974         * catgets/gencat.c (read_input_file): Likewise.
28975         * locale/programs/locarchive.c (enlarge_archive): Likewise.
28977         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28978         variable definition inside #if's controlling its use.
28980         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28982         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28984         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28986         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28987         unreachable code.
28989         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28991         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28992         * configure: Regenerated.
28994         * Makerules: Revert last change.
28995         * elf/Makefile: Likewise.
28997 2011-06-09  Roland McGrath  <roland@hack.frob.com>
28999         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29000         * elf/Makefile ($(objpfx)librtld.os): Likewise.
29001         (reloc-link): Likewise.
29003 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
29005         * elf/Makefile: Add rules to build pldd.
29006         * elf/pldd.c: New file.
29007         * elf/pldd-xx.c: New file.
29009 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
29011         * version.h: Update for 2.15 development version.
29013 2011-06-07  David S. Miller  <davem@davemloft.net>
29015         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29016         ifuncs.
29017         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29018         elf_machine_lazy_rel): Likewise.
29019         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29020         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29021         elf_machine_lazy_rel): Likewise.
29022         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29023         dl_hwcap via passed in argument.
29024         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29025         Likewise.
29027 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29029         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
29031 2011-06-06  Roland McGrath  <roland@hack.frob.com>
29033         [BZ #12849]
29034         * manual/fdl-1.1.texi: New file, verbatim from:
29035         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29036         * manual/lgpl-2.1.texi: New file, verbatim from:
29037         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29038         * manual/Makefile (licenses): New variable, list those new file names.
29039         (texis): Use it.
29040         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29042         * manual/fdl.texi: File removed.
29043         * manual/lesser.texi: File removed.
29044         * manual/libc.texinfo (Copying, Documentation License):
29045         Use new @include file names, put @appendix directive before @include.
29047 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
29049         [BZ #12841]
29050         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29051         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29052         (mq_open): Add __NTH.
29054 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
29056         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29057         Assume Intel Core i3/i5/i7 processor if AVX is available.
29059 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29061         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29062         typo.
29064 2011-05-31  Andreas Schwab  <schwab@redhat.com>
29066         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29067         memory.  Use alloca_account.  Fix memory leak when retrying.
29069 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
29071         * version.h (RELEASE): Bump for 2.14 release.
29072         * include/features.h (__GLIBC_MINOR__): Bump to 14.
29074         * config.make.in (RANLIB): Remove entry.
29076 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
29078         * po/Makefile (po-sed-cmd): Add ksh to extensions.
29079         (libc.pot): Work around missing support for .ksh extension in xgettext.
29081         [BZ #12684]
29082         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29083         if both request failed.
29084         (send_dg): In case of server errors clear resplen or *resplen2.
29086         [BZ #12454]
29087         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29088         when there are multiple maps.
29089         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29090         (_dl_fini): Remove test here.
29092         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29094 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
29096         [BZ #12350]
29097         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29098         bit from old_res_options.
29099         (gaih_inet): Likewise.
29101         [BZ #11099]
29102         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29103         as signed.
29105         * resolv/res_init.c (res_setoptions): Make the code more compact.
29107         [BZ #11558]
29108         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29109         set RES_USEVC.
29111         [BZ #11634]
29112         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29114         * malloc/malloc.h: Mark malloc hook variables as deprecated.
29116         [BZ #11781]
29117         * malloc/malloc.h: Declare malloc hook variables as volatile.
29119         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29120         in last patch.
29122         [BZ #11799]
29123         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29124         raise in the comment.
29125         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29126         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29127         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29129 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
29131         [BZ #12811]
29132         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29133         grow the buffers more if it already has to be sufficient.
29134         (build_wcs_upper_buffer): Likewise.
29135         * posix/regexec.c (check_matching): Likewise.
29136         (clean_state_log_if_needed): Likewise.
29137         (extend_buffers): Don't enlarge buffers beyond size of the input
29138         buffer.
29139         Patches mostly by Emil Wojak <emil@wojak.eu>.
29140         * posix/bug-regex32.c: New file.
29141         * posix/Makefile (tests): Add bug-regex32.
29143         * locale/findlocale.c (_nl_find_locale): Return right away if
29144         _nl_explode_name failed.
29145         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29147         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29149         * debug/xtrace.sh: Unify messages.
29150         * malloc/memusage.sh: Likewise.
29152         [BZ #12813]
29153         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29154         time symbol from vDSO.  Substitute with vsyscall if not available.
29155         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29156         __vdso_time.
29158         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29159         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29160         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29161         Add sendmmsg and internal_sendmmsg.
29162         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29163         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29164         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29166         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29167         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29168         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29170 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
29172         [BZ #12813]
29173         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29174         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
29175         available.
29176         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29177         __vdso_getcpu.
29179         [BZ #12814]
29180         * iconvdata/Makefile (tests): Add bug-iconv9.
29181         * iconvdata/bug-iconv9.c: New file.
29183 2011-05-27  Andreas Schwab  <schwab@redhat.com>
29185         [BZ #12814]
29186         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29188 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
29190         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29191         (struct user_regs_struct): Change intcs field back to cs.
29193 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
29195         * po/ja.po: Update from translation team.
29197 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
29199         [BZ #12795]
29200         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29201         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29203 2011-05-20  Andreas Schwab  <schwab@redhat.com>
29205         * stdlib/longlong.h: Update from GCC.
29207 2011-05-23  Andreas Schwab  <schwab@redhat.com>
29209         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29210         parameter name.
29211         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29212         Add parameter name.
29213         (__sysconf): Pass it down.
29215 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
29217         [BZ #12671]
29218         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29219         some situations.
29220         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29221         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29222         add in in __libc_use_alloca calls.  Adjust callers.
29223         (glob): Use malloc in some situations.
29225         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29226         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29227         pltexit.
29229 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
29231         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29232         and CLOCK_BOOTTIME_ALARM.
29234         [BZ #12782]
29235         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29236         is returned.
29238         * string/_strerror.c (__strerror_r): Print negative errors as signed
29239         numbers.
29241         [BZ #12777]
29242         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29243         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29244         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29246         * configure.in: Fix typo in redirection and correct removal of test
29247         files in two cases.
29249         [BZ #12788]
29250         * locale/setlocale.c (new_composite_name): Fix test to check for
29251         identical name of all categories.
29253         [BZ #12792]
29254         * libio/filedoalloc.c (local_isatty): New function.
29255         (_IO_file_doallocate): Use local_isatty.
29256         * stdio-common/perror.c (perror): In case a new stream is used
29257         forward the stream error.
29258         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29259         error flag.
29261 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
29263         [BZ #11869]
29264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29265         alloca.
29266         * include/alloca.h (extend_alloca_account): Define.
29268         [BZ #11857]
29269         * posix/regex.h: Fix comments with documentation of user-accessible
29270         fields after compilation and describe correct free'ing of pattern
29271         after re_compile_pattern.
29272         Patch by Reuben Thomas <rrt@sc3d.org>.
29274 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
29276         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29277         and -mno-altivec to prevent the compiler from using Altivec and/or
29278         VSX instructions when the corresponding registers are not available.
29280 2011-05-19  Andreas Schwab  <schwab@redhat.com>
29282         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29284 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
29286         * libio/freopen.c (freopen): Use __dup2, not dup2.
29287         * libio/freopen64.c (freopen64): Likewise.
29289 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29291         [BZ #12775]
29292         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29293         * math/Makefile (tests): Add test-powl.
29294         (CFLAGS-test-powl.c): Define.
29295         * math/test-powl.c: New file.
29297 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
29299         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29301 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
29303         [BZ #11837]
29304         * iconvdata/gb18030.c: Update to GB18020-2005.
29306 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
29308         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29309         RE_SYNTAX_POSIX_AWK): Update to match recent development.
29310         Patch by Aharon Robbins <arnold@skeeve.com>.
29312         [BZ #11892]
29313         * stdlib/putenv.c (putenv): Don't always create copy of the variable
29314         on the stack.
29316         [BZ #11895]
29317         * misc/pselect.c (__pselect): Handle timeout value errors hidden
29318         through underflows.
29320         [BZ #12766]
29321         * misc/error.c (error_at_line): Ensure file_name and old_file_name
29322         point to strings before performing equality test for error_one_per_line
29323         mode.
29325         [BZ #11697]
29326         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29328         [BZ #11820]
29329         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29330         (struct user_fpregs_struct): Avoid __uint*_t types.
29332         [BZ #6420]
29333         * malloc/mtrace.c (tr_where): Add additional parameter to point to
29334         symbol info.  Use it instead of calling _dl_addr locally.
29335         (lock_and_info): New function.
29336         (tr_freehook): Call lock_and_info and pass symbol info as additional
29337         parameter to tr_where.
29338         (tr_mallochook): Likewise.
29339         (tr_reallochook): Likewise.
29340         (tr_memalignhook): Likewise.
29342         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
29343         used and couldn't be at all thread-safe.
29345 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
29347         * libio/freopen.c (freopen): Don't close old file descriptor
29348         before the new one is opened.  Instead dup the new file descriptor
29349         to the old one after the new stream is created.
29350         * libio/freopen64.c (freopen64): Likewise.
29351         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29352         * libio/fileops.c (_IO_new_file_close_it): Handle new
29353         _IO_FLAGS2_NOCLOSE flag.
29354         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29355         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29356         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29357         _IO_FLAGS2_NOCLOSE flag.
29358         * include/unistd.h: Add hidden_proto for dup3.
29359         Define __have_dup3.
29360         * io/dup3.c: Define hidden symbol.
29361         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29363         [BZ #7101]
29364         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29365         when an incomplete long option is used.
29366         * posix/tst-getopt_long1.c: New file.
29367         * posix/Makefile (tests): Add tst-getopt_long1.
29369         [BZ #10138]
29370         * scripts/config.guess: Update from autoconf-2.68.
29371         * scripts/config.sub: Likewise.
29373         [BZ #10157]
29374         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29375         tests into ...
29376         (has_cpuclock): ...this.  New function.
29377         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29378         macro here based on has_cpuclock code.
29380         [BZ #10149]
29381         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29382         First byte (not low byte) is now always NUL.
29383         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29385         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29386         Use non-cancelable interfaces.
29388         [BZ #9809]
29389         * locale/iso-639.def: Add entry for Sorani.
29391         [BZ #11901]
29392         * include/stdlib.h: Move include protection to the right place.
29393         Define abort_msg_s.  Declare __abort_msg with it.
29394         * stdlib/abort.c (__abort_msg): Adjust type.
29395         * assert/assert.c (__assert_fail_base): New function.  Majority
29396         of code from __assert_fail.  Allocate memory for __abort_msg with
29397         mmap.
29398         (__assert_fail): Now call __assert_fail_base.
29399         * assert/assert-perr.c: Remove bulk of implementation.  Use
29400         __assert_fail_base.
29401         * include/assert.hL Declare __assert_fail_base.
29402         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29403         mmap.
29404         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29406 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
29408         [BZ #11952]
29409         [BZ #12453]
29410         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29411         until all modules are registered in the DTV.
29412         * elf/Makefile: Add rules to build and run tst-tls19.
29413         * elf/tst-tls19.c: New file.
29414         * elf/tst-tls19mod1.c: New file.
29415         * elf/tst-tls19mod2.c: New file.
29416         * elf/tst-tls19mod3.c: New file.
29417         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29419         [BZ #12083]
29420         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29421         correctly.
29423         [BZ #12601]
29424         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29425         two-byte sequence errors.
29426         * iconvdata/Makefile (tests): Add bug-iconv8.
29427         * iconvdata/bug-iconv8.c: New file.
29429         [BZ #12626]
29430         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29431         buf2 definition.
29433         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29435         [BZ #12432]
29436         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29437         (dummy_getcfa): New function.
29438         (init): Get _Unwind_GetCFA address, use dummy if not found.
29439         (backtrace_helper): In recursion check, also check whether CFA changes.
29440         (__backtrace): Completely initialize arg.
29442         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29443         storing incomplete byte sequence in state object.  Avoid testing for
29444         guaranteed too small input if we know there is enough data available.
29446 2011-05-11  Andreas Schwab  <schwab@redhat.com>
29448         * Makeconfig (+link-pie): Indent.
29449         * Rules (binaries-pie): Define if $(have-fpie) and
29450         $(build-shared).
29451         (binaries-shared): Also filter out $(binaries-pie).
29452         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29453         * nscd/Makefile (others-pie): Add nscd.
29454         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29455         ($(objpfx)nscd): Remove command override.
29456         * login/Makefile (others-pie): Add pt_chown.
29457         ($(objpfx)pt_chown): Remove command override.
29458         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29459         remove command overrides.
29461 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
29463         * libio/tst_putwc.c: Fix error messages.
29465         [BZ #12724]
29466         * libio/fileops.c (_IO_new_file_close_it): Always flush when
29467         currently writing and seek to current position when not.
29468         * libio/Makefile (tests): Add bug-fclose1.
29469         * libio/bug-fclose1.c: New file.
29471 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
29473         [BZ #12511]
29474         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29475         don't set DF_1_NODELETE here.
29476         (do_lookup_x): When entering new entry test for copy relocation
29477         and if necessary set DF_1_NODELETE flag.
29478         * elf/tst-unique4.cc: New file.
29479         * elf/tst-unique4.h: New file.
29480         * elf/tst-unique4lib.cc: New file.
29481         * elf/Makefile: Add rules to build and run tst-unique4.
29482         Patch by Piotr Bury <pbury@goahead.com>.
29484 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
29486         [BZ #12052]
29487         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29489         [BZ #12625]
29490         * misc/mntent_r.c (addmntent): Flush the stream after the output
29492         [BZ #12393]
29493         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29494         (is_trusted_path_normalize): Skip initial colon.  Append slash
29495         to empty buffer.  Duplicate is_trusted_path code but allow
29496         constructed patch to be prefix.
29497         (is_dst): Allow $ORIGIN followed by /.
29498         (_dl_dst_substitute): Correct clearing of check_for_trusted.
29499         Correct testing of result of is_trusted_path_normalize
29500         (decompose_rpath): Fix warning.
29502 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
29504         [BZ #11257]
29505         * grp/initgroups.c (internal_getgrouplist): When we found the service
29506         list through the initgroups entry in nsswitch.conf do not always
29507         continue on a successful lookup.  Don't always use the
29508         __nss_group_database value if it is set.
29509         * nss/nsswitch.conf (initgroups): Change action for successful db
29510         lookup to continue for compatibility.
29512 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
29514         [BZ #11532]
29515         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29516         and CP774 modules.
29517         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29518         and CP774 modules.
29519         * iconvdata/tst-tables.sh: Likewise.
29520         * iconvdata/cp770.c: New file.
29521         * iconvdata/cp771.c: New file.
29522         * iconvdata/cp772.c: New file.
29523         * iconvdata/cp773.c: New file.
29524         * iconvdata/cp774.c: New file.
29525         * iconvdata/testdata/CP770: New file.
29526         * iconvdata/testdata/CP770..UTF8: New file.
29527         * iconvdata/testdata/CP771: New file.
29528         * iconvdata/testdata/CP771..UTF8: New file.
29529         * iconvdata/testdata/CP772: New file.
29530         * iconvdata/testdata/CP772..UTF8: New file.
29531         * iconvdata/testdata/CP773: New file.
29532         * iconvdata/testdata/CP773..UTF8: New file.
29533         * iconvdata/testdata/CP774: New file.
29534         * iconvdata/testdata/CP774..UTF8: New file.
29536         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29537         END CHARMAP line.
29538         * iconvdata/gen-8bit-gap.sh: Likewise.
29539         * iconvdata/gen-8bit.sh: Likewise.
29541         * locale/iso-639.def: Add ary entry.
29543         [BZ #11258]
29544         * locale/C-translit.h.in: Add U20A1 transliteration.
29546         [BZ #12178]
29547         * locale/iso-639.def: Add wae entry.
29548         Patch by Kevin Bortis <bortis@translate-wae.ch>.
29550         [BZ #12545]
29551         * locale/programs/localedef.c (construct_output_path): Use ssize_t
29552         for n.
29554         [BZ #12711]
29555         * locale/C-translit.h.in: Add entry for U20B9.
29556         Patch by pravin.d.s@gmail.com.
29558 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
29560         [BZ #12713]
29561         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29562         ENAMETOOLONG use generic getcwd.
29563         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
29564         in rtld.  Use *stat64.
29565         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29566         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29567         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29568         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29569         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29570         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29571         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29572         __fstatat64 macros.
29573         * include/dirent.h: Add libc_hidden_proto for rewinddir.
29574         * dirent/rewinddir.c: Add libc_hidden_def.
29575         * sysdeps/mach/hurd/rewinddir.c: Likewise.
29576         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
29578         * include/dirent.h (__alloc_dir): Add flags parameter.
29579         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29580         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29581         __alloc_dir.
29582         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
29583         from fdopendir if O_CLOEXEC is already set.
29585 2011-03-15  Alan Modra  <amodra@gmail.com>
29587         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29588         l_tls_firstbyte_offset non-zero.  Save padding offset in
29589         l_tls_firstbyte_offset for later use.
29590         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29591         freeing static tls block.
29593 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
29595         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29596         where #ifdef was intended.  The intent is to prevent ARG_MAX from
29597         being defined by the kernel headers.
29599 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
29601         [BZ #12734]
29602         * resolv/resolv.h: Define RES_NOTLDQUERY.
29603         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29604         no-tld-query and set RES_NOTLDQUERY.
29605         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29606         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29607         modern BIND to search name as TLD unless forbidden.
29609 2011-05-07  Petr Baudis  <pasky@suse.cz>
29610             Ulrich Drepper  <drepper@gmail.com>
29612         [BZ #12393]
29613         * elf/dl-load.c (fillin_rpath): Move trusted path check...
29614         (is_trusted_path): ...to here.
29615         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29616         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29617         using is_trusted_path_normalize() in setuid scripts.
29619 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29621         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29622         __BEGIN/__END_DECLS.
29624 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
29626         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29627         NSS_STATUS_NOTFOUND if no record was found.
29629 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29631         * sunrpc/Makefile (headers): Add rpc/netdb.h.
29632         (headers-not-in-tirpc): Remove rpc/netdb.h
29633         * resolv/netdb.h: Revert last change.
29635 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29637         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29638         circular dependency between libgcc.a and libc.a.
29640 2011-05-05  Andreas Schwab  <schwab@redhat.com>
29642         * resolv/netdb.h: Don't include <rpc/netdb.h>.
29643         * nis/Makefile: Don't install rpcsvc/*.
29644         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29645         instead of <rpc/types.h>.
29646         (MAXHOSTNAMELEN): Define.
29648 2011-05-03  Andreas Schwab  <schwab@redhat.com>
29650         * elf/ldconfig.c (add_dir): Don't crash on empty path.
29652 2011-04-28  Maciej Babinski  <mbabinski@google.com>
29654         [BZ #12714]
29655         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29656         gethostbyname4_r when IPv6 results are possible.
29658 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
29660         [BZ #12723]
29661         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29662         _PC_PIPE_BUF handling.
29664 2011-04-30  Bruno Haible  <bruno@clisp.org>
29666         [BZ #12717]
29667         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29668         * resolv/netdb.h (getnameinfo): Change type of flags parameter
29669         to 'int'.
29670         * inet/getnameinfo.c (getnameinfo): Likewise.
29672 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
29674         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29675         to groups setting in database lookup.
29676         * nss/nsswitch.conf: Add initgroups entry.
29678 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
29680         [BZ #12685]
29681         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29682         mode string.
29683         Patch by Eric Blake <eblake@redhat.com>.
29685 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
29687         * sunrpc/Makefile (need-export-routines): Add svc_run.
29688         (routines): Remove svc_run.
29689         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29690         * sunrpc/clnt_perr.c (clnt_perrno): Export.
29691         * sunrpc/svc_run.c (svc_run): Likewise.
29692         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29694 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
29696         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29697         problem in reallocation in last patch.
29699 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
29701         * sunrpc/Makefile: Move inclusion of Rules.
29703 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29705         * nss/nss_files/files-initgroups.c: New file.
29706         * nss/Makefile (libnss_files-routines): Add files-initgroups.
29707         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29708         _nss_files_initgroups_dyn.
29710 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
29712         * elf/elf.h (R_ARM_IRELATIVE): Define.
29714 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
29716         * po/ru.po: Update from translation team.
29718 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29720         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29721         dependencies.
29723 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
29725         [BZ #12653]
29726         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29727         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29728         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29729         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29732 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
29734         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29735         differing bytes.
29736         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29737         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29738         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29740 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
29742         [BZ #12420]
29743         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29744         storing it.
29745         * stdlib/bug-getcontext.c: New file.
29746         * stdlib/Makefile: Add rules to build and run bug-getcontext.
29748 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29750         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29751         instructions into .machine "z9-109".
29752         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29753         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29755 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29757         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29758         between environment variables and auxiliary vector.
29760 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
29762         * Makefile: Add rules to build linkobj/libc.so.
29763         * include/libc-symbols.h: Define libc_hidden_nolink.
29764         * include/rpc/auth.h: Mark functions which are to be hidden.
29765         * include/rpc/auth_des.h: Likewise.
29766         * include/rpc/auth_unix.h: Likewise.
29767         * include/rpc/clnt.h: Likewise.
29768         * include/rpc/des_crypt.h: Likewise.
29769         * include/rpc/key_prot.h: Likewise.
29770         * include/rpc/pmap_clnt.h: Likewise.
29771         * include/rpc/pmap_prot.h: Likewise.
29772         * include/rpc/pmap_rmt.h: Likewise.
29773         * include/rpc/rpc_msg.h: Likewise.
29774         * include/rpc/svc.h: Likewise.
29775         * include/rpc/svc_auth.h: Likewise.
29776         * include/rpc/xdr.h: Likewise.
29777         * nis/Makefile: Link all DSOs against linkobj/libc.so.
29778         * nss/Makefile: Likewise.
29779         * sunrpc/Makefile: Don't install headers.  Build library with normal
29780         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
29781         * sunrpc/auth_des.c: Hide exported symbols by default, export some
29782         for the compat linking library.  Remove use of INTDEF/INTUSE.
29783         * sunrpc/auth_none.c: Likewise.
29784         * sunrpc/auth_unix.c: Likewise.
29785         * sunrpc/authdes_prot.c: Likewise.
29786         * sunrpc/authuxprot.c: Likewise.
29787         * sunrpc/clnt_gen.c: Likewise.
29788         * sunrpc/clnt_perr.c: Likewise.
29789         * sunrpc/clnt_raw.c: Likewise.
29790         * sunrpc/clnt_simp.c: Likewise.
29791         * sunrpc/clnt_tcp.c: Likewise.
29792         * sunrpc/clnt_udp.c: Likewise.
29793         * sunrpc/clnt_unix.c: Likewise.
29794         * sunrpc/des_crypt.c: Likewise.
29795         * sunrpc/des_soft.c: Likewise.
29796         * sunrpc/get_myaddr.c: Likewise.
29797         * sunrpc/key_call.c: Likewise.
29798         * sunrpc/key_prot.c: Likewise.
29799         * sunrpc/netname.c: Likewise.
29800         * sunrpc/pm_getmaps.c: Likewise.
29801         * sunrpc/pm_getport.c: Likewise.
29802         * sunrpc/pmap_clnt.c: Likewise.
29803         * sunrpc/pmap_prot.c: Likewise.
29804         * sunrpc/pmap_prot2.c: Likewise.
29805         * sunrpc/pmap_rmt.c: Likewise.
29806         * sunrpc/publickey.c: Likewise.
29807         * sunrpc/rpc_cmsg.c: Likewise.
29808         * sunrpc/rpc_common.c: Likewise.
29809         * sunrpc/rpc_dtable.c: Likewise.
29810         * sunrpc/rpc_prot.c: Likewise.
29811         * sunrpc/rpc_thread.c: Likewise.
29812         * sunrpc/rtime.c: Likewise.
29813         * sunrpc/svc.c: Likewise.
29814         * sunrpc/svc_auth.c: Likewise.
29815         * sunrpc/svc_authux.c: Likewise.
29816         * sunrpc/svc_raw.c: Likewise.
29817         * sunrpc/svc_run.c: Likewise.
29818         * sunrpc/svc_simple.c: Likewise.
29819         * sunrpc/svc_tcp.c: Likewise.
29820         * sunrpc/svc_udp.c: Likewise.
29821         * sunrpc/svc_unix.c: Likewise.
29822         * sunrpc/svcauth_des.c: Likewise.
29823         * sunrpc/xcrypt.c: Likewise.
29824         * sunrpc/xdr.c: Likewise.
29825         * sunrpc/xdr_array.c: Likewise.
29826         * sunrpc/xdr_float.c: Likewise.
29827         * sunrpc/xdr_intXX_t.c: Likewise.
29828         * sunrpc/xdr_mem.c: Likewise.
29829         * sunrpc/xdr_rec.c: Likewise.
29830         * sunrpc/xdr_ref.c: Likewise.
29831         * sunrpc/xdr_sizeof.c: Likewise.
29832         * sunrpc/xdr_stdio.c: Likewise.
29834 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
29836         [BZ #12650]
29837         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29838         * sysdeps/ia64/dl-tls.h: Likewise.
29839         * sysdeps/powerpc/dl-tls.h: Likewise.
29840         * sysdeps/s390/dl-tls.h: Likewise.
29841         * sysdeps/sh/dl-tls.h: Likewise.
29842         * sysdeps/sparc/dl-tls.h: Likewise.
29843         * sysdeps/x86_64/dl-tls.h: Likewise.
29844         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29846 2011-03-14  Andreas Schwab  <schwab@redhat.com>
29848         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29849         rpath element also skip the following colon.
29850         (expand_dynamic_string_token): Add is_path parameter and pass
29851         down to DL_DST_REQUIRED and _dl_dst_substitute.
29852         (decompose_rpath): Call expand_dynamic_string_token with
29853         non-zero is_path.  Ignore empty rpaths.
29854         (_dl_map_object_from_fd): Call expand_dynamic_string_token
29855         with zero is_path.
29857 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
29859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29860         Make cancelable.
29862 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
29864         [BZ #12655]
29865         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29866         Patch by Filipe David Manana <fdmanana@apache.org>.
29868 2011-04-07  Andreas Schwab  <schwab@redhat.com>
29870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29871         Maintain aligned stack.
29872         (CHECK_RSP): Remove unused macro.
29874 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
29876         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29877         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29879 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
29881         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29883         * include/features.h: Mention __USE_XOPEN2K8 in comment.
29885 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
29887         [BZ #12518]
29888         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29889         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29890         * sysdeps/x86_64/memmove.c: New file.
29891         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29892         (memcpy): Renamed to ...
29893         (__new_memcpy): This.
29894         (memcpy): Provide GLIBC_2_14 memcpy.
29895         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29896         (memcpy): Provide GLIBC_2_2_5 memcpy.
29898 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29900         [BZ #12631]
29901         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29903 2011-03-30  Andreas Schwab  <schwab@redhat.com>
29905         * misc/syncfs.c: New file.
29906         * misc/Makefile (routines): Add syncfs.
29907         * posix/unistd.h: Declare syncfs.
29908         * sysdeps/unix/syscalls.list: Add syncfs.
29910 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29912         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29913         open_by_handle_at.
29914         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29915         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29917         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29918         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29919         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29920         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29922 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29924         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29925         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29926         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29927         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29928         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29929         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29930         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29932         * io/Makefile: Compile fallocate.c, fallocate64.c, and
29933         sync_file_range.c with -fexceptions.
29934         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29935         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29936         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29937         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29938         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29939         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29940         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29941         sync_file_range as cancellation point
29942         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
29943         now a wrapper around __call_sync_file_range with cancellation handling.
29944         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29945         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
29946         function name to __call_sync_file_range.
29947         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29948         Add call_sync_file_range.
29950 2011-04-01  Andreas Schwab  <schwab@redhat.com>
29952         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29953         bits/timex.h.
29955 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
29957         * iconv/iconv.h: Fix typo in comment.
29958         * io/fcntl.h: Likewise.
29959         * libio/stdio.h: Likewise.
29960         * posix/spawn.h: Likewise.
29961         * posix/unistd.h: Likewise.
29962         * stdlib/stdlib.h: Likewise.
29963         * time/time.h: Likewise.
29964         * wcsmbs/wchar.h: Likewise.
29966         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29967         open_by_handle): Add.
29968         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29969         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
29970         Augment a few comments.
29971         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29972         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29973         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29974         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29975         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29976         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29977         open_by_handle.
29979         * io/fcntl.h (AT_EMPTY_PATH): Define.
29981 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
29983         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29984         * sysdeps/unix/sysv/linux/bits/time.h: New file.
29985         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29986         to...
29987         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
29988         * Versions.def: Add GLIBC_2.14.
29989         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29990         Export.
29992 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
29994         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29995         round counter.
29996         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29998 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
30000         [BZ #12597]
30001         * string/test-strncmp.c (do_page_test): New function.
30002         (check2): Likewise.
30003         (test_main): Call check2.
30004         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30006 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
30008         [BZ #12587]
30009         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30010         Handle cache information in CPU leaf 4.
30011         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30013 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
30015         [BZ #12583]
30016         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30017         character representation.
30018         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30020 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
30022         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30023         END(__isnan) to END(__isnanf) to match function entry point/label
30024         EALIGN(__isnanf,...).
30026 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
30028         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30030 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
30032         [BZ #12510]
30033         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30034         copy from the symbol referenced in the relocation to initialize the
30035         used variable.
30036         Patch by Piotr Bury <pbury@goahead.com>.
30037         * elf/Makefile: Add rules to build and tst-unique3.
30038         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30039         * elf/tst-unique3.cc: New file.
30040         * elf/tst-unique3.h: New file.
30041         * elf/tst-unique3lib.cc: New file.
30042         * elf/tst-unique3lib2.cc: New file.
30044         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30046 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
30048         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30049         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
30050         to _start.
30052 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
30054         * elf/dl-load.c (_dl_map_object): If we are looking for the first
30055         to-be-loaded object along a path to loader is ld.so.
30057 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30058             Ulrich Drepper  <drepper@gmail.com>
30060         * sysdeps/x86_64/memset.S: After aligning destination, code
30061         branches to different locations depending on the value of
30062         misalignment, when multiarch is enabled. Fix this.
30064 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
30066         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30067         Set _x86_64_preferred_memory_instruction for AMD processsors.
30068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30069         Set bit_Prefer_SSE_for_memop for AMD processors.
30071 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
30073         * libio/fmemopen.c (fmemopen): Optimize a bit.
30075 2011-03-03  Andreas Schwab  <schwab@redhat.com>
30077         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30079 2011-03-03  Roland McGrath  <roland@redhat.com>
30081         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30083 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
30085         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30086         __bzero_ultra1 instead of __memset_ultra1.
30088 2011-02-23  Andreas Schwab  <schwab@redhat.com>
30089             Ulrich Drepper  <drepper@gmail.com>
30091         [BZ #12509]
30092         * include/link.h (struct link_map): Add l_orig_initfini.
30093         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30094         returning unsuccessfully.
30095         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30096         close of a file loaded at startup, restore the original l_initfini
30097         list.
30098         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30099         list, store the pointer.
30100         * elf/Makefile ($(objpfx)noload-mem): New rule.
30101         (noload-ENV): Define.
30102         (tests): Add $(objpfx)noload-mem.
30103         * elf/noload.c: Include <memcheck.h>.
30104         (main): Call mtrace.  Close all opened handles.
30106 2011-02-17  Andreas Schwab  <schwab@redhat.com>
30108         [BZ #12454]
30109         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30110         dependencies are missing.
30112 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30114         Fix __if_freereq crash: Unlike the generic version which uses free,
30115         Hurd needs munmap.
30116         * sysdeps/mach/hurd/ifreq.h: New file.
30118 2011-01-27  Petr Baudis  <pasky@suse.cz>
30119             Ulrich Drepper  <drepper@gmail.com>
30121         [BZ 12445]#
30122         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30123         to extend_alloca().
30124         * stdio-common/bug23.c: New file.
30125         * stdio-common/Makefile (tests): Add bug23.
30127 2010-09-28  Andreas Schwab  <schwab@redhat.com>
30128             Ulrich Drepper  <drepper@gmail.com>
30130         [BZ #12489]
30131         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30132         before performing relro protection.  At old place add assertion
30133         to make sure nothing changed.
30135 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
30136             Glauber de Oliveira Costa  <glommer@gmail.com>
30138         * elf/elf.h: Add new ARM TLS relocs.
30140 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
30142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30143         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30144         cast from r3.
30145         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
30146         'tests' variable.
30147         * sysdeps/wordsize-64/tst-writev.c: New file.
30149 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
30151         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30152         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30153         insns in _dl_start to prevent a TOC reference before relocs are
30154         resolved.
30156 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
30158         [BZ #12469]
30159         * Makeconfig: Remove RANLIB definition.
30160         * Makerules: Don't use RANLIB.
30161         * aclocal.m4: Remove ranlib test.
30162         * configure.in: No need to check for ranlib.
30163         * elf/rtld-Rules: Don't use RANLIB.
30165 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30167         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30168         protection macro.
30169         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30170         inclusion protection macro.
30172         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30173         SIGRTMIN and SIGRTMAX and print information in that case only when
30174         SIGRTMIN is defined.
30176 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
30178         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30179         arginfo fn returning -1.
30181         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30182         and thousands string is zero terminated.
30184 2011-02-03  Andreas Schwab  <schwab@redhat.com>
30186         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30187         sysdeps/unix/sysv/linux/bits/socket.h.
30189 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30191         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30192         (__CPU_COUNT): Remove old macros.
30193         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30194         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30195         (__CPU_ALLOC, __CPU_FREE): Add macros.
30196         (__sched_cpualloc, __sched_cpufree): Add declarations.
30198 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
30200         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30201         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30202         * nscd/aicache.c (addhstaiX): Return timeout of added value.
30203         (readdhstai): Return value of addhstaiX call.
30204         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30205         (addgrbyX): Return value returned by cache_addgr.
30206         (readdgrbyname): Return value returned by addgrbyX.
30207         (readdgrbygid): Likewise.
30208         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30209         (addpwbyX): Return value returned by cache_addpw.
30210         (readdpwbyname): Return value returned by addhstbyX.
30211         (readdpwbyuid): Likewise.
30212         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30213         (addservbyX): Return value returned by cache_addserv.
30214         (readdservbyname): Return value returned by addservbyX:
30215         (readdservbyport): Likewise.
30216         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30217         (addhstbyX): Return value returned by cache_addhst.
30218         (readdhstbyname): Return value returned by addhstbyX.
30219         (readdhstbyaddr): Likewise.
30220         (readdhstbynamev6): Likewise.
30221         (readdhstbyaddrv6): Likewise.
30222         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30223         (readdinitgroups): Return value returned by addinitgroupsX.
30224         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30225         (prune_cache): Keep track of timeout value of re-added entries.
30226         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30227         * nscd/nscd.h: Adjust prototypes of readd* functions.
30229 2011-02-04  Roland McGrath  <roland@redhat.com>
30231         * nis/nis_server.c (nis_servstate): Use the right name for 0.
30232         (nis_stats): Likewise.
30233         * nis/nis_modify.c (nis_modify): Likewise.
30234         * nis/nis_remove.c (nis_remove): Likewise.
30235         * nis/nis_add.c (nis_add): Likewise.
30237         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30239         * posix/fnmatch_loop.c: Add some consts.
30241         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30243 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
30245         [BZ #12460]
30246         * config.make.in (config-cflags-novzeroupper): Define.
30247         * configure.in: Substitute libc_cv_cc_novzeroupper.
30248         * elf/Makefile (AVX-CFLAGS): Define.
30249         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30250         (CFLAGS-tst-auditmod4a.c): Likewise.
30251         (CFLAGS-tst-auditmod4b.c): Likewise.
30252         (CFLAGS-tst-auditmod6b.c): Likewise.
30253         (CFLAGS-tst-auditmod6c.c): Likewise.
30254         (CFLAGS-tst-auditmod7b.c): Likewise.
30255         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30257 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
30259         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30260         function to the callback.
30261         Patch partly by Jiri Olsa <jolsa@redhat.com>.
30263 2011-02-02  Andreas Schwab  <schwab@redhat.com>
30265         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30266         of errno.
30268 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
30270         [BZ #11724]
30271         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30272         of constructors.
30273         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30274         of destructors.
30275         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30277         [BZ #11724]
30278         * elf/Makefile: Add rules to build and run new test.
30279         * elf/tst-initorder.c: New file.
30280         * elf/tst-initorder.exp: New file.
30281         * elf/tst-initordera1.c: New file.
30282         * elf/tst-initordera2.c: New file.
30283         * elf/tst-initordera3.c: New file.
30284         * elf/tst-initordera4.c: New file.
30285         * elf/tst-initorderb1.c: New file.
30286         * elf/tst-initorderb2.c: New file.
30287         * elf/tst-order-a1.c: New file.
30288         * elf/tst-order-a2.c: New file.
30289         * elf/tst-order-a3.c: New file.
30290         * elf/tst-order-a4.c: New file.
30291         * elf/tst-order-b1.c: New file.
30292         * elf/tst-order-b2.c: New file.
30293         * elf/tst-order-main.c: New file.
30294         New test case by George Gensure <werkt0@gmail.com>.
30296 2010-10-01  Andreas Schwab  <schwab@redhat.com>
30298         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30299         decoding ACE if AI_CANONIDN.
30301 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
30303         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30305 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
30307         * version.h (RELEASE): Bump for 2.13 release.
30308         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30310         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30312         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30313         MADV_NOHUGEPAGE.
30314         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30315         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30316         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30317         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30318         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30319         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30321         * posix/getconf.c: Update copyright year.
30322         * catgets/gencat.c: Likewise.
30323         * csu/version.c: Likewise.
30324         * debug/catchsegv.sh: Likewise.
30325         * debug/xtrace.sh: Likewise.
30326         * elf/ldconfig.c: Likewise.
30327         * elf/ldd.bash.in: Likewise.
30328         * elf/sprof.c (print_version): Likewise.
30329         * iconv/iconv_prog.c: Likewise.
30330         * iconv/iconvconfig.c: Likewise.
30331         * locale/programs/locale.c: Likewise.
30332         * locale/programs/localedef.c: Likewise.
30333         * malloc/memusage.sh: Likewise.
30334         * malloc/mtrace.pl: Likewise.
30335         * nscd/nscd.c (print_version): Likewise.
30336         * nss/getent.c: Likewise.
30338         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30339         PF_CAIF, and PF_ALG.
30340         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30342 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
30344         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30345         (modules-names): Use them.
30346         (ifunc-test-modules, ifunc-pie-tests): Define.
30347         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30348         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30349         (test-extras): Likewise.
30350         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30351         $(compile-command.c).
30352         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30353         (all-built-dso): Define.
30354         (check-textrel.out, check-execstack.out): Depend on it.
30356         * configure.in: Don't override --enable-multi-arch.
30358 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
30360         [BZ #6812]
30361         * nscd/hstcache.c (tryagain): Define.
30362         (cache_addhst): Return tryagain not notfound for temporary errors.
30363         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30364         failed.
30366 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
30368         [BZ #10563]
30369         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30370         to make the syscall.
30371         * sysdeps/unix/sysv/linux/setgroups.c: New file.
30373         [BZ #12378]
30374         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30375         and fall back to matching as normal character if the string ends before
30376         the matching ']' is found.  This is what POSIX requires.
30377         * posix/testfnm.c: Adjust test result.
30378         * posix/globtest.sh: Adjust test result.  Add new test.
30379         * posix/tst-fnmatch.input: Likewise.
30380         * posix/tst-fnmatch2.c: Add new test.
30382 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
30384         * elf/Makefile (check-execstack): Revert last change.  Depend on
30385         check-execstack.h.
30386         (check-execstack.h): New target.
30387         (generated): Add check-execstack.h.
30388         * elf/check-execstack.c: Include "check-execstack.h".
30389         (main): Revert last change.
30390         (handle_file): Return zero if GNU_STACK is absent and
30391         DEFAULT_STACK_PERMS doesn't include PF_X.
30393 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
30395         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30396         in child fails because the descriptor is already closed.
30397         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30398         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30399         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30401         [BZ #12397]
30402         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30403         syscall.
30405         [BZ #10484]
30406         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30407         temporary buffer used to handle multi lookups locally.
30408         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30410 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30412         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30413         loader is ld.so.
30415 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
30417         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30418         alignment for SSE2.
30420 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
30422         [BZ #12394]
30423         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30424         characters.  When rounding increased number of integer digits recompute
30425         number of groups.
30426         * stdio-common/tst-grouping.c: New file.
30427         * stdio-common/Makefile: Add rules to build and run tst-grouping.
30429 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
30431         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30432         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
30434         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30435         void.
30436         * bits/select.h: Likewise.
30438 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
30440         * po/ja.po: Update from translation team.
30442 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
30444         [BZ #11155]
30445         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30446         implementation just like for lxstat, fxstatat, et al.
30448 2010-12-27  Jim Meyering  <meyering@redhat.com>
30450         [BZ #12348]
30451         * posix/regexec.c (build_trtable): Return failure indication upon
30452         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
30454 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
30456         [BZ #12201]
30457         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30458         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30459         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30460         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30462         [BZ #12207]
30463         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30465         [BZ #12204]
30466         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30467         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30469 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
30471         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30472         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30473         script has SORT_BY_INIT_PRIORITY.
30474         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30475         NO_CTORS_DTORS_SECTIONS is defined.
30476         * elf/soinit.c: Likewise.
30477         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30478         NO_CTORS_DTORS_SECTIONS is defined.
30479         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30480         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30481         * sysdeps/sh/init-first.c: Likewise.
30482         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30484 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
30486         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30487         always use the slow path.
30489 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
30491         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30492         similar rule which adds the sysdep directories to the header search in
30493         order to pick up the correct platform stackinfo.h.
30494         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30495         perform test if it is, otherwise return successfully without testing.
30496         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30497         DEFAULT_STACK_PERMS define in stackinfo.h.
30498         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30499         defined in stackinfo.h.
30500         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30501         DEFAULT_STACK_PERMS defined in stackinfo.h.
30502         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30503         * sysdeps/ia64/stackinfo.h: Likewise.
30504         * sysdeps/s390/stackinfo.h: Likewise.
30505         * sysdeps/sh/stackinfo.h: Likewise.
30506         * sysdeps/sparc/stackinfo.h: Likewise.
30507         * sysdeps/x86_64/stackinfo.h: Likewise.
30508         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30509         PF_X for powerpc64.  Retain PF_X for powerpc32.
30511 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
30513         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30514         accurately.
30515         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30516         GETDENTS_64BIT_ALIGNED.
30518 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
30520         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30522 2010-12-10  Andreas Schwab  <schwab@redhat.com>
30524         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30525         _GNU_SOURCE.
30527         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30528         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30529         Remove __restrict.
30530         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30531         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30533 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
30535         [BZ #11655]
30536         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30537         are initialized.
30539 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
30541         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30543 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
30545         * po/it.po: Update from translation team.
30547 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
30549         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30550         unused codes.
30552 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
30554         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30556 2010-11-24  Andreas Schwab  <schwab@redhat.com>
30558         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30559         specially.
30560         (gaih_getanswer_slice): Likewise.
30562 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
30564         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30566 2010-05-31  Petr Baudis  <pasky@suse.cz>
30568         [BZ #11149]
30569         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30570         silently even in the chroot mode.
30572 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
30574         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30575         last patch a bit.  Pretty printing
30577 2010-05-31  Petr Baudis <pasky@suse.cz>
30579         [BZ #10085]
30580         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30581         initialization of skip_initgroups_dyn.
30583 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
30585         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30586         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30588 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
30590         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30592 2010-11-11  Andreas Schwab  <schwab@redhat.com>
30594         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30595         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30596         (tst-fnmatch-ENV): Set MALLOC_TRACE.
30597         ($(objpfx)tst-fnmatch-mem): New rule.
30598         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30599         * posix/tst-fnmatch.c (main): Call mtrace.
30601 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
30603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30604         Support Intel processor model 6 and model 0x2c.
30606 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
30608         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30609           signed comparison.
30611 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
30613         [BZ #12205]
30614         * string/test-strncasecmp.c (check_result): New function.
30615         (do_one_test): Use it.
30616         (check1): New function.
30617         (test_main): Use it.
30618         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30619         Support strcasecmp and strncasecmp.
30621 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
30623         [BZ #12194]
30624         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30625         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30627 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
30629         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30630         IFUNC support.
30631         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30632         memset-x86-64.
30633         * sysdeps/x86_64/multiarch/bzero.S: New file.
30634         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30635         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30636         * sysdeps/x86_64/multiarch/memset.S: New file.
30637         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30639         Set bit_Prefer_SSE_for_memop for Intel processors.
30640         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30641         Define.
30642         (index_Prefer_SSE_for_memop): Define.
30643         (HAS_PREFER_SSE_FOR_MEMOP): Define.
30645 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
30647         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30648         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30650 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
30652         [BZ #12191]
30653         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30654         (__x86_64_raw_data_cache_size_half): Likewise.
30655         (__x86_64_raw_shared_cache_size): Likewise.
30656         (__x86_64_raw_shared_cache_size_half): Likewise.
30658         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30659         (__x86_64_raw_data_cache_size_half): Likewise.
30660         (__x86_64_raw_shared_cache_size): Likewise.
30661         (__x86_64_raw_shared_cache_size_half): Likewise.
30662         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30663         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30664         and __x86_64_raw_shared_cache_size_half.  Round
30665         __x86_64_data_cache_size_half, __x86_64_data_cache_size
30666         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30667         to multiple of 256 bytes.
30669 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
30671         [BZ #12167]
30672         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30673         of inacessible symlinks.  Verify result of symlink before returning it.
30674         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30675         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30677 2010-10-28  Erich Ritz  <erichritz@gmail.com>
30679         * math/math.h (isinf): Fix typo in comment.
30681 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
30683         * po/da.po: Update from translation team.
30685 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
30687         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30688         is added to the list.
30690 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30691             Ulrich Drepper  <drepper@gmail.com>
30693         * elf/dl-object.c (_dl_new_object): Don't append the new object to
30694         the global list here.  Move code to...
30695         (_dl_add_to_namespace_list): ...here.  New function.
30696         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30697         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30698         * elf/dl-load.c (lose): Don't remove the element from the list.
30699         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30700         (_dl_map_object): Likewise.
30702 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
30704         [BZ #12159]
30705         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30706         into all bytes of SSE register.
30707         Patch by Richard Li <richardpku@gmail.com>.
30709 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
30711         [BZ #12140]
30712         * malloc/malloc.c (_int_free): Fill correct number of bytes when
30713         perturbing.
30715 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
30717         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30718         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30719         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30720         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30722         submachine.
30723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30725 2010-10-22  Andreas Schwab  <schwab@redhat.com>
30727         * include/dlfcn.h (__RTLD_SECURE): Define.
30728         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
30729         mode & __RTLD_SECURE instead.
30730         (open_path): Rename preloaded parameter to secure.
30731         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30732         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30733         * elf/dl-deps.c (openaux): Likewise.
30734         * elf/rtld.c (struct map_args): Remove is_preloaded.
30735         (map_doit): Don't use it.
30736         (dl_main): Likewise.
30737         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30738         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30740 2010-09-09  Andreas Schwab  <schwab@redhat.com>
30742         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30743         (sysd-rules-targets): Remove duplicates.
30744         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30745         rtld-%.$o dependency.
30747 2010-10-18  Andreas Schwab  <schwab@redhat.com>
30749         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30750         _dl_map_object do it.
30752 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
30754         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30755         fast fma builtins, define the macros in the C99 standard.
30756         (FP_FAST_FMAF): Likewise.
30757         (FP_FAST_FMAL): Likewise.
30758         * sysdeps/x86_64/bits/mathdef.h: Likewise.
30760         * bits/mathdef.h: Update copyright year.
30761         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30763 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
30765         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30766         builtins, define the macros in the C99 standard.
30767         (FP_FAST_FMAF): Likewise.
30768         (FP_FAST_FMAL): Likewise.
30769         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30770         multiply/add.
30771         (FP_FAST_FMAF): Likewise.
30773 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
30775         [BZ #3268]
30776         * math/libm-test.inc (fma_test): Some new testcases.
30777         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30778         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30779         y and infinite z.  Do multiplication by C already in long double.
30780         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30782         y and infinite z.  Do bitwise or of inexact bit into u.d.
30783         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30784         * sysdeps/i386/fpu/s_fmaf.S: Removed.
30785         * sysdeps/i386/fpu/s_fma.S: Removed.
30786         * sysdeps/i386/fpu/s_fmal.S: Removed.
30788 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
30790         [BZ #3268]
30791         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30793         computation is not scheduled after fetestexcept.  Fix value
30794         of minimum denormal long double.
30796 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
30798         [BZ #3268]
30799         * math/libm-test.inc (fma_test): Add some more tests.
30800         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30801         correctly.
30803 2010-10-15  Andreas Schwab  <schwab@redhat.com>
30805         * scripts/data/localplt-s390-linux-gnu.data: New file.
30806         * scripts/data/localplt-s390x-linux-gnu.data: New file.
30808 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
30810         [BZ #3268]
30811         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30812         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30813         instead of dbl-64.
30814         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30815         inlines.
30816         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30817         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30818         if one of x and y is very large and the other is subnormal.
30819         * sysdeps/s390/fpu/s_fmaf.c: New file.
30820         * sysdeps/s390/fpu/s_fma.c: New file.
30821         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30822         * sysdeps/powerpc/fpu/s_fma.S: New file.
30823         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30824         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30825         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30827 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
30829         [BZ #3268]
30830         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30831         fma tests.
30832         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30833         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30834         * sysdeps/i386/i686/multiarch/s_fma.c: Include
30835         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30836         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30837         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30838         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30840 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
30842         [BZ #12078]
30843         * posix/regcomp.c (parse_branch): One more memory leak plugged.
30844         * posix/bug-regex31.input: Add test case.
30846 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30848         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30849         * posix/bug-regex31.input: New file.
30851         [BZ #12078]
30852         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30853         (parse_sub_exp): Fix last change, use postorder.
30855         * posix/bug-regex31.c: New file.
30856         * posix/Makefile: Add rules to build and run bug-regex31.
30858         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30860         [BZ #12078]
30861         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30863         [BZ #12108]
30864         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30865         to have entries in sys_siglist.
30867         [BZ #12093]
30868         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30869         be NULL.
30871 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
30873         [BZ #3268]
30874         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30875         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30876         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30877         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30878         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30879         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30880         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30881         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30882         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30883         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30884         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30885         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30886         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30887         * math/ftestexcept.c (fetestexcept): Likewise.
30888         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30889         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30890         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30891         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30892         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30893         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30894         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30896 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
30898         [BZ #12107]
30899         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30900         newline.
30902 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
30904         * string/bug-strstr1.c: New file.
30905         * string/Makefile: Add rules to build and run bug-strstr1.
30907 2010-10-05  Eric Blake  <eblake@redhat.com>
30909         [BZ #12092]
30910         * string/str-two-way.h (two_way_long_needle): Always clear memory
30911         when skipping input due to the shift table.
30913 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
30915         [BZ #12005]
30916         * malloc/mcheck.c: Handle large requests.
30918         [BZ #12077]
30919         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30920         for strncmp and strncasecmp.
30921         * string/stratcliff.c: Add tests for strcmp and strncmp.
30922         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30924 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30926         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30927         __set_fpscr.
30929 2010-09-30  Andreas Jaeger  <aj@suse.de>
30931         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30932         (CGROUP_SUPER_MAGIC): Define.
30933         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30934         Handle btrfs and cgroup file systems.
30935         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30936         Likewise.
30938 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
30940         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30941         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30943 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30945         [BZ #12067]
30946         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30947         trying to locate the ELF header.
30949 2010-09-27  Andreas Schwab  <schwab@redhat.com>
30951         [BZ #11611]
30952         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30953         Mask out sign-bit copies when constructing f_fsid.
30955 2010-09-24  Petr Baudis <pasky@suse.cz>
30957         * debug/stack_chk_fail_local.c: Add missing licence exception.
30958         * debug/warning-nop.c: Likewise.
30960 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
30962         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30963         implementing getdents64 using getdents syscall, set d_type if
30964         __ASSUME_GETDENTS32_D_TYPE.
30966 2010-09-16  Andreas Schwab  <schwab@redhat.com>
30968         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30969         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30971 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
30973         [BZ #12037]
30974         * posix/unistd.h: Undo change of feature selection for ftruncate from
30975         2010-01-11.
30977 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
30979         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30980         detection.
30982 2010-09-20  Andreas Schwab  <schwab@redhat.com>
30984         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30985         fanotify_mark.
30986         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30988 2010-09-14  Andreas Schwab  <schwab@redhat.com>
30990         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30991         variables after CHECK_SP call.
30992         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30994 2010-09-13  Andreas Schwab  <schwab@redhat.com>
30995             Ulrich Drepper  <drepper@redhat.com>
30997         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30998         re-relocationg ld.so.
30999         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31000         _dl_init_paths call.
31001         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
31002         here anymore.
31004 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
31006         * resolv/res_init.c (__res_vinit): Count the default server we added.
31008 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
31009             Ulrich Drepper  <drepper@redhat.com>
31011         [BZ #11968]
31012         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31013         (____longjmp_chk): Use %ebx for saving value across system call.
31014         Add unwind info.
31016 2010-09-06  Andreas Schwab  <schwab@redhat.com>
31018         * manual/Makefile: Don't mix pattern rules with normal rules.
31020 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
31022         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31023         operation.
31024         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31025         * libio/iofopncook.c (_IO_cookie_init): Likewise.
31026         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31027         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31028         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31029         Likewise.
31031 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
31033         [BZ #11979]
31034         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31035         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31037 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
31039         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31040         * sysdeps/x86_64/addmul_1.S: Likewise.
31041         * sysdeps/x86_64/lshift.S: Likewise.
31042         * sysdeps/x86_64/mul_1.S: Likewise.
31043         * sysdeps/x86_64/rshift.S: Likewise.
31044         * sysdeps/x86_64/sub_n.S: Likewise.
31045         * sysdeps/x86_64/submul_1.S: Likewise.
31047 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31049         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31050         Define __sched_param instead of SCHED_* and sched_param when
31051         <bits/sched.h> is included with __need_schedparam defined.
31052         * bits/sched.h [__need_schedparam]
31053         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
31054         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31055         (__defined_schedparam): Define to 1.
31056         (__sched_param): New structure, identical to sched_param.
31057         (__need_schedparam): Undefine.
31059 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
31061         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31062         (epoll_create1): Declare.
31064         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31066 2010-08-31  Andreas Schwab  <schwab@redhat.com>
31068         [BZ #7066]
31069         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31070         shifting retval into place.
31072 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
31074         * nis/rpcsvc/nis.h: Update copyright notice.
31075         * nis/rpcsvc/nis.x: Likewise.
31076         * nis/rpcsvc/nis_callback.h: Likewise.
31077         * nis/rpcsvc/nis_callback.x: Likewise.
31078         * nis/rpcsvc/nis_object.x: Likewise.
31079         * nis/rpcsvc/nis_tags.h: Likewise.
31080         * nis/rpcsvc/yp.h: Likewise.
31081         * nis/rpcsvc/yp.x: Likewise.
31082         * nis/rpcsvc/ypupd.h: Likewise.
31083         * nis/yp_xdr.c: Likewise.
31084         * nis/ypupdate_xdr.c: Likewise.
31086         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
31087         mainly the body of pmap_getport.  Add parameters to specify timeouts.
31088         (pmap_getport): Use __libc_rpc_getport.
31089         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31090         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31091         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31093 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
31095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31096         fanotify_mark.
31098 2010-08-27  Roland McGrath  <roland@redhat.com>
31100         * sysdeps/i386/i686/multiarch/Makefile
31101         (CFLAGS-varshift.c): New variable.
31103 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
31105         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31106         * sysdeps/i386/i686/multiarch/varshift.c: New file.
31108         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31110         * sysdeps/x86_64/strlen.S: Minimal code improvement.
31112 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31114         * sysdeps/x86_64/strlen.S: Unroll the loop.
31115         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31116         strlen-sse2 strlen-sse2-bsf.
31117         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31118         __strlen_no_bsf if bit_Slow_BSF is set.
31119         (__strlen_sse42): Removed.
31120         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31121         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31123 2010-08-25  Roland McGrath  <roland@redhat.com>
31125         * sysdeps/x86_64/multiarch/varshift.S: File removed.
31126         * sysdeps/x86_64/multiarch/varshift.c: New file.
31127         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31128         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31129         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31130         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31132 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31134         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31135         strlen-sse2 strlen-sse2-bsf.
31136         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31137         __strlen_sse2_bsf if bit_Slow_BSF is unset.
31138         (__strlen_sse2): Removed.
31139         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31140         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31141         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31142         bit_Slow_BSF for Atom.
31143         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31144         (index_Slow_BSF): Define.
31145         (HAS_SLOW_BSF): Define.
31147 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
31149         [BZ #10851]
31150         * resolv/res_init.c (__res_vinit): When no server address at all
31151         is given default to loopback.
31153 2010-08-24  Roland McGrath  <roland@redhat.com>
31155         * configure.in: Remove config-name.h generation.
31156         * configure: Regenerated.
31157         * config-name.in: File removed.
31158         * scripts/config-uname.sh: New file.
31159         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31160         ($(objdir)config-name.h): New target.
31162         * sunrpc/rpc_parse.h: Avoid nested comment.
31164 2010-08-24  Richard Henderson  <rth@redhat.com>
31165             Ulrich Drepper  <drepper@redhat.com>
31166             H.J. Lu  <hongjiu.lu@intel.com>
31168         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31170         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31171         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
31172         _mm_alignr_epi8 with _mm_loadu_si128.
31173         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31174         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31175         (__m128i_shift_right): Removed.
31176         * sysdeps/i386/i686/multiarch/varshift.h: New file.
31177         * sysdeps/i386/i686/multiarch/varshift.S: New file.
31178         * sysdeps/x86_64/multiarch/varshift.h: New file.
31179         * sysdeps/x86_64/multiarch/varshift.S: New file.
31181 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
31183         * configure.in: Move assembler checks to before sysdep dir checking.
31185 2010-08-20  Petr Baudis  <pasky@suse.cz>
31187         * LICENSES: Sync the sunrpc license.
31189 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
31191         * sunrpc/auth_des.c: Update copyright notice once again.
31192         * sunrpc/auth_none.c: Likewise.
31193         * sunrpc/auth_unix.c: Likewise.
31194         * sunrpc/authdes_prot.c: Likewise.
31195         * sunrpc/authuxprot.c: Likewise.
31196         * sunrpc/bindrsvprt.c: Likewise.
31197         * sunrpc/clnt_gen.c: Likewise.
31198         * sunrpc/clnt_perr.c: Likewise.
31199         * sunrpc/clnt_raw.c: Likewise.
31200         * sunrpc/clnt_simp.c: Likewise.
31201         * sunrpc/clnt_tcp.c: Likewise.
31202         * sunrpc/clnt_udp.c: Likewise.
31203         * sunrpc/clnt_unix.c: Likewise.
31204         * sunrpc/des_crypt.c: Likewise.
31205         * sunrpc/des_soft.c: Likewise.
31206         * sunrpc/get_myaddr.c: Likewise.
31207         * sunrpc/getrpcport.c: Likewise.
31208         * sunrpc/key_call.c: Likewise.
31209         * sunrpc/key_prot.c: Likewise.
31210         * sunrpc/openchild.c: Likewise.
31211         * sunrpc/pm_getmaps.c: Likewise.
31212         * sunrpc/pm_getport.c: Likewise.
31213         * sunrpc/pmap_clnt.c: Likewise.
31214         * sunrpc/pmap_prot.c: Likewise.
31215         * sunrpc/pmap_prot2.c: Likewise.
31216         * sunrpc/pmap_rmt.c: Likewise.
31217         * sunrpc/rpc/auth.h: Likewise.
31218         * sunrpc/rpc/auth_unix.h: Likewise.
31219         * sunrpc/rpc/clnt.h: Likewise.
31220         * sunrpc/rpc/des_crypt.h: Likewise.
31221         * sunrpc/rpc/key_prot.h: Likewise.
31222         * sunrpc/rpc/netdb.h: Likewise.
31223         * sunrpc/rpc/pmap_clnt.h: Likewise.
31224         * sunrpc/rpc/pmap_prot.h: Likewise.
31225         * sunrpc/rpc/pmap_rmt.h: Likewise.
31226         * sunrpc/rpc/rpc.h: Likewise.
31227         * sunrpc/rpc/rpc_des.h: Likewise.
31228         * sunrpc/rpc/rpc_msg.h: Likewise.
31229         * sunrpc/rpc/svc.h: Likewise.
31230         * sunrpc/rpc/svc_auth.h: Likewise.
31231         * sunrpc/rpc/types.h: Likewise.
31232         * sunrpc/rpc/xdr.h: Likewise.
31233         * sunrpc/rpc_clntout.c: Likewise.
31234         * sunrpc/rpc_cmsg.c: Likewise.
31235         * sunrpc/rpc_common.c: Likewise.
31236         * sunrpc/rpc_cout.c: Likewise.
31237         * sunrpc/rpc_dtable.c: Likewise.
31238         * sunrpc/rpc_hout.c: Likewise.
31239         * sunrpc/rpc_main.c: Likewise.
31240         * sunrpc/rpc_parse.c: Likewise.
31241         * sunrpc/rpc_parse.h: Likewise.
31242         * sunrpc/rpc_prot.c: Likewise.
31243         * sunrpc/rpc_sample.c: Likewise.
31244         * sunrpc/rpc_scan.c: Likewise.
31245         * sunrpc/rpc_scan.h: Likewise.
31246         * sunrpc/rpc_svcout.c: Likewise.
31247         * sunrpc/rpc_tblout.c: Likewise.
31248         * sunrpc/rpc_util.c: Likewise.
31249         * sunrpc/rpc_util.h: Likewise.
31250         * sunrpc/rpcinfo.c: Likewise.
31251         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31252         * sunrpc/rpcsvc/key_prot.x: Likewise.
31253         * sunrpc/rpcsvc/klm_prot.x: Likewise.
31254         * sunrpc/rpcsvc/mount.x: Likewise.
31255         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31256         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31257         * sunrpc/rpcsvc/rex.x: Likewise.
31258         * sunrpc/rpcsvc/rstat.x: Likewise.
31259         * sunrpc/rpcsvc/rusers.x: Likewise.
31260         * sunrpc/rpcsvc/sm_inter.x: Likewise.
31261         * sunrpc/rpcsvc/spray.x: Likewise.
31262         * sunrpc/rpcsvc/yppasswd.x: Likewise.
31263         * sunrpc/rtime.c: Likewise.
31264         * sunrpc/svc.c: Likewise.
31265         * sunrpc/svc_auth.c: Likewise.
31266         * sunrpc/svc_authux.c: Likewise.
31267         * sunrpc/svc_raw.c: Likewise.
31268         * sunrpc/svc_run.c: Likewise.
31269         * sunrpc/svc_simple.c: Likewise.
31270         * sunrpc/svc_tcp.c: Likewise.
31271         * sunrpc/svc_udp.c: Likewise.
31272         * sunrpc/svc_unix.c: Likewise.
31273         * sunrpc/svcauth_des.c: Likewise.
31274         * sunrpc/xcrypt.c: Likewise.
31275         * sunrpc/xdr.c: Likewise.
31276         * sunrpc/xdr_array.c: Likewise.
31277         * sunrpc/xdr_float.c: Likewise.
31278         * sunrpc/xdr_mem.c: Likewise.
31279         * sunrpc/xdr_rec.c: Likewise.
31280         * sunrpc/xdr_ref.c: Likewise.
31281         * sunrpc/xdr_sizeof.c: Likewise.
31282         * sunrpc/xdr_stdio.c: Likewise.
31284         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31285         handling.
31287 2010-08-19  Andreas Schwab  <schwab@redhat.com>
31289         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31291 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
31293         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31294         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31295         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31296         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31297         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31298         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31299         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31300         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31301         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31302         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31303         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31304         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31305         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31306         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31308 2010-07-26  Anton Blanchard  <anton@samba.org>
31310         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31311         * malloc/arena.c (heap_trim): Likewise.
31313 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
31315         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31316         here.  Not...
31317         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31318         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31320 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31322         * sysdeps/i386/elf/Makefile: New file.
31324 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31326         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31327         from fanotify_init.
31328         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31329         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31331 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
31333         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31334         of strncasecmp_l.
31335         * sysdeps/multiarch/strcmp.S: Likewise.
31337 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
31339         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31340         strncase_l-nonascii.
31341         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31342         Add strncase_l-ssse3.
31343         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31344         * sysdeps/x86_64/strcmp.S: Likewise.
31345         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31346         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31347         * sysdeps/x86_64/strncase.S: New file.
31348         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31349         * sysdeps/x86_64/strncase_l.S: New file.
31350         * string/Makefile (strop-tests): Add strncasecmp.
31351         * string/test-strncasecmp.c: New file.
31353         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31354         warning.
31356         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31357         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31359 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
31361         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31363 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
31365         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31366         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31367         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31369 2010-05-01  Alan Modra  <amodra@gmail.com>
31371         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31372         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31373         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31374         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31375         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31376         tidying.  Don't tail-call __sigjmp_save for static lib.
31377         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31378         save location.
31379         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31380         (CALL_MCOUNT): Add eh info, and nop after bl.
31381         (TAIL_CALL_SYSCALL_ERROR): New macro.
31382         (PSEUDO_RET): Use it.
31383         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31384         Correct save location of integer regs and cr.
31385         (_dl_profile_resolve): Correct cr save location.  Delete nops
31386         after bl when SHARED.  Reduce cfi size a little by better
31387         placement of cfi directives.
31388         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31389         make a stack frame.  Instead use parm save area as a temp.
31390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31391         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
31392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31393         Don't make a stack frame for parent, use parm save area.
31394         Increase child stack frame to 112 bytes.  Don't save unused reg,
31395         and adjust reg usage.  Set up cfi on error recovery and
31396         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31398         (__makecontext): Add dummy nop after jump to exit.
31399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31400         Use correct parm save area and cr save, reduce stack frame.
31401         Correct cfi for possible PSEUDO_RET frame setup.
31402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31403         Branch to local label emitted by PSEUDO_RET rather than
31404         __syscall_error.
31406 2010-08-12  Andreas Schwab  <schwab@redhat.com>
31408         [BZ #11904]
31409         * locale/programs/locale.c (print_assignment): New function.
31410         (show_locale_vars): Use it.
31412 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
31414         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31415         field.
31416         (struct statfs64): Likewise.
31417         (_STATFS_F_FLAGS): Define.
31418         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31419         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31420         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31421         (ST_VALID): Define locally.
31422         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31423         __statvfs_getflags, use the provided value.
31424         * sysdeps/unix/sysv/linux/kernel-features.h: Define
31425         __ASSUME_STATFS_F_FLAGS.
31427         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31429         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31430         Add sys/fanotify.h.
31431         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31432         fanotify_mask for GLIBC_2.13.
31433         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31434         fanotify_init and fanotify_mark.
31435         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31436         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31438         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31439         Add prlimit.
31440         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31441         prlimit64 for GLIBC_2.13.
31442         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31443         prlimit64.
31444         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31445         syscall.
31446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31447         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31448         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31449         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31450         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
31451         add prlimit alias.
31452         * sysdeps/unix/sysv/linux/prlimit.c: New file.
31454         [BZ #11903]
31455         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31456         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31458         * nss/Makefile: Add rules to build and run tst-nss-test1.
31459         * shlib-versions: Add entry for libnss_test1.
31460         * nss/nss_test1.c: New file.
31461         * nss/tst-nss-test1.c: New file.
31463         * nss/nsswitch.c (__nss_database_custom): Define new variable.
31464         (__nss_configure_lookup): Set appropriate entry in
31465         __nss_configure_lookup to true.
31466         * nss/nsswitch.h: Define enum with indeces of databases in
31467         databases and __nss_database_custom arrays.  Declare
31468         __nss_database_custom.
31469         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31470         to avoid using nscd when custom rules are installed.
31471         * nss/getXXbyYY_r.c: Likewise.
31472         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31474         * nss/nss_files/files-parse.c: Whitespace fixes.
31476 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
31478         [BZ #11883]
31479         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31480         * posix/fnmatch_loop.c: Likewise.
31482 2010-07-17  Andi Kleen  <ak@linux.intel.com>
31484         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31485         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31486         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31487         * Versions.def [GLIBC_2.13]: Add.
31489 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
31491         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31492         Also fail if tpwd after pwuid call is NULL.
31494 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31496         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31497         when converting to ms.
31499 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31501         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31502         EOPNOTSUPP errors with ENOTTY.
31503         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31504         EOPNOTSUPP errors with ENOTTY.
31506 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
31508         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31509         Add strcasecmp_l-ssse3.
31510         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31511         strcasecmp.
31512         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31513         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31514         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31516 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
31518         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31520         * string/Makefile (strop-tests): Add strcasecmp.
31521         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31522         strcasecmp_l-nonascii.
31523         (gen-as-const-headers): Add locale-defines.sym.
31524         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31525         * sysdeps/x86_64/strcasecmp.S: New file.
31526         * sysdeps/x86_64/strcasecmp_l.S: New file.
31527         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31528         * sysdeps/x86_64/locale-defines.sym: New file.
31529         * string/test-strcasecmp.c: New file.
31531         * string/test-strcasestr.c: Test both ends of the range of characters.
31532         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31534 2010-07-29  Roland McGrath  <roland@redhat.com>
31536         [BZ #11856]
31537         * manual/locale.texi (Yes-or-No Questions): Fix example code.
31539 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
31541         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31542         for ld.so.
31544 2010-07-27  Andreas Schwab  <schwab@redhat.com>
31546         * manual/memory.texi (Malloc Tunable Parameters): Document
31547         M_PERTURB.
31549 2010-07-26  Roland McGrath  <roland@redhat.com>
31551         [BZ #11840]
31552         * configure.in (-fgnu89-inline check): Set and substitute
31553         gnu89_inline, not libc_cv_gnu89_inline.
31554         * configure: Regenerated.
31555         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31557 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
31559         * string/test-strnlen.c: New file.
31560         * string/Makefile (strop-tests): Add strnlen.
31561         * string/tester.c (test_strnlen): Add a few more test cases.
31562         * string/tst-strlen.c: Better error reporting.
31564         * sysdeps/x86_64/strnlen.S: New file.
31566 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
31568         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31569         lower-latency instructions.
31571 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
31573         * string/test-strcasestr.c: New file.
31574         * string/test-strstr.c: New file.
31575         * string/Makefile (strop-tests): Add strstr and strcasestr.
31576         * string/str-two-way.h: Don't undefine MAX.
31577         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31579 2010-07-21  Andreas Schwab  <schwab@redhat.com>
31581         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31582         strcasestr-nonascii.
31583         (CFLAGS-strcasestr-nonascii.c): Define.
31584         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31585         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31586         Remove unused attribute.
31588 2010-07-20  Roland McGrath  <roland@redhat.com>
31590         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31591         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
31592         ld.so.cache was broken.  With it, there is no way to disable dsocaps
31593         like LD_HWCAP_MASK can disable hwcaps.
31595 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31597         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31599 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
31601         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31602         call in strcasestr.
31603         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31604         __strcasestr_sse42_nonascii.
31605         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31606         strcasestr-nonascii.c.
31607         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31609 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
31611         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31612         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31613         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31614         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31616 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
31618         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31619         fcntl.
31621 2010-07-06  Andreas Schwab  <schwab@redhat.com>
31623         [BZ #11577]
31624         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31625         dl_signal_cerror.
31627 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
31629         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31630         _PC_PIPE_BUF using F_GETPIPE_SZ.
31632 2010-07-05  Roland McGrath  <roland@redhat.com>
31634         * manual/arith.texi (Rounding Functions): Fix rint description
31635         implicit in round description.
31637 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
31639         * elf/Makefile: Fix linking for a few tests to make recent linker
31640         happy.
31642 2010-06-30  Andreas Schwab  <schwab@redhat.com>
31644         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31645         $(common-objpfx)libc_nonshared.a.
31647 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
31649         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31650         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31651         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31652         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31653         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31654         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31655         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31656         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31671         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31672         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31673         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31674         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31675         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31676         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31677         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31678         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31679         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31680         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31681         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31682         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31698 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31700         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31701         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
31702         * string/memmove.c (memmove): Renamed to ...
31703         (MEMMOVE): ...this.  Default to memmove.
31704         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31705         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31706         (END_CHK): Define.
31707         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31708         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31709         mempcpy-ssse3-back memmove-ssse3-back.
31710         * sysdeps/x86_64/multiarch/bcopy.S: New file .
31711         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31712         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31713         * sysdeps/x86_64/multiarch/memcpy.S: New file.
31714         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31715         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31716         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31717         * sysdeps/x86_64/multiarch/memmove.c: New file.
31718         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31719         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31720         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31721         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31722         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31723         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31724         Define.
31725         (index_Fast_Copy_Backward): Define.
31726         (HAS_ARCH_FEATURE): Define.
31727         (HAS_FAST_REP_STRING): Define.
31728         (HAS_FAST_COPY_BACKWARD): Define.
31730 2010-06-21  Andreas Schwab  <schwab@redhat.com>
31732         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31733         Restore proper fallback handling.
31735 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
31737         [BZ #11701]
31738         * posix/group_member.c (__group_member): Correct checking loop.
31740         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31741         OOM in getpwuid_r correctly.  Return error number when the caller
31742         should return, otherwise -1.
31743         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31744         call returning > 0 value.
31745         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31747 2010-06-07  Andreas Schwab  <schwab@redhat.com>
31749         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31750         libc_nonshared.a from targets in modules-names.
31752 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
31754         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31755         requires it.
31757 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
31759         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31760         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31761         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31762         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31764 2010-06-02  Andreas Schwab  <schwab@redhat.com>
31766         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31768 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
31770         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31771         and F_GETPIPE_SZ.
31772         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31773         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31774         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31775         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31776         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31777         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31779 2010-06-14  Roland McGrath  <roland@redhat.com>
31781         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31783 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
31785         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31786         __REDIRECT followed by __THROW.
31787         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31788         * posix/getopt.h (getopt): Likewise.
31790 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
31792         * hurd/lookup-at.c (__file_name_lookup_at): Accept
31793         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
31794         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31795         in AT_FLAGS.
31796         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31797         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31799 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
31801         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31803 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
31805         [BZ #11640]
31806         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31807         Properly check family and model.
31809 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
31811         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31813 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
31815         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31817 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
31819         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31820         symbol reference.
31822 2010-05-19  Andreas Schwab  <schwab@redhat.com>
31824         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31825         symbol reference.
31827 2010-05-21  Andreas Schwab  <schwab@redhat.com>
31829         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31830         and internal_recvmmsg.
31831         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31832         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31833         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31834         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31836         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31837         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31838         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31840 2010-05-20  Andreas Schwab  <schwab@redhat.com>
31842         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31844 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
31846         POWER7 optimizations.
31847         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31848         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31850 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
31852         * version.h: Update for 2.13 development version.
31854 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
31856         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31857         exceptions.  Return 0.
31859 2010-05-07  Roland McGrath  <roland@redhat.com>
31861         * elf/ldconfig.c (main): Add a const.
31863 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
31865         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31866         (args_options): Add no-idn option.
31867         (ahosts_keys_int): Add idn_flags to ai_flags.
31868         (parse_option): Handle 'i' option to clear idn_flags.
31870         * malloc/malloc.c (_int_free): Possible race in the most recently
31871         added check.  Only act on the data if no current modification
31872         happened.
31874 See ChangeLog.17 for earlier changes.