1 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4 * string/test-memcmp.c (check2): New.
7 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
9 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
12 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14 (dl_open_worker) [!SHARED]: ... here.
16 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20 2013-06-25 Richard Henderson <rth@redhat.com>
22 * locale/programs/locarchive.c: Include <libc-internal.h>
24 2013-06-25 Joseph Myers <joseph@codesourcery.com>
26 * manual/texinfo.tex: Update to version 2013-06-21.17, with
27 trailing whitespace removed.
29 2013-06-24 Mike Frysinger <vapier@gentoo.org>
32 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33 * locale/programs/locarchive.c: Include libc-mmap.h.
34 (prepare_address_space): Take two new outputs (the mmap base and len).
35 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
37 (create_archive): Declare new mmap base and len values for
38 prepare_address_space, and store the result in ah.
39 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
40 (enlarge_archive): If ah->mmap_base is not NULL, use that and
41 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
42 Declare new mmap base and len values for
43 prepare_address_space, and store the result in new_ah.
44 (open_archive): Declare new mmap base and len values for
45 prepare_address_space, and store the result in ah.
46 (close_archive): If ah->mmap_base is not NULL, use that and
47 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
48 * sysdeps/generic/libc-mmap.h: New file.
50 2013-06-24 Mike Frysinger <vapier@gentoo.org>
52 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54 (PTR_ALIGN_DOWN): Likewise.
55 (PTR_ALIGN_UP): Likewise.
57 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
59 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
60 entry mapped to PPC_PLATFORM_POWER8.
61 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
63 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64 (_dl_string_platform): Add case for exporting platform position for
66 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
67 search path to sysdeps/powerpc/powerpc32/power8 directory.
68 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
69 search path to sysdeps/powerpc/powerpc64/power8 directory.
70 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
72 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
75 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
77 * INSTALL: Regenerate.
79 * nscd/connections.c (nscd_init): Fix comment.
81 2013-06-22 Joseph Myers <joseph@codesourcery.com>
83 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
86 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
87 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
89 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
91 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
93 (DL_DST_REQ_STATIC): Remove macro.
95 2013-06-21 Joseph Myers <joseph@codesourcery.com>
98 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
99 with a shift of 0 bits.
101 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
103 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
106 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
109 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
111 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
113 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
114 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
115 accepts -fno-tree-loop-distribute-patterns.
116 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
117 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
119 * string/memset.c (memset): Likewise.
120 * string/test-memmove.c (simple_memmove): Disable loop transformation
122 * string/test-memset.c (simple_memset): Likewise.
123 * benchtests/bench-memmove.c (simple_memmove): Likewise.
124 * benchtests/bench-memset.c (simple_memset): Likewise.
125 * configure: Regenerated.
127 2013-06-20 Joseph Myers <joseph@codesourcery.com>
129 * math/test-misc.c (main): Ignore fesetround failure when failures
130 of subsequent rounding tests would be ignored.
133 * math/fedisblxcpt.c (fedisableexcept): Return 0.
134 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
135 * math/fegetenv.c (__fegetenv): Return 0.
136 * math/fegetexcept.c (fegetexcept): Return 0.
137 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
139 * math/feholdexcpt.c (feholdexcept): Return 0.
140 * math/fesetenv.c (__fesetenv): Return 0.
141 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
142 argument FE_TONEAREST.
143 * math/feupdateenv.c (__feupdateenv): Return 0.
144 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
146 2013-06-18 Roland McGrath <roland@hack.frob.com>
148 * elf/rtld-Rules (rtld-compile-command.S): New variable.
149 (rtld-compile-command.s, rtld-compile-command.c): New variables.
150 ($(objpfx)rtld-%.os rules): Use them.
152 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
154 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
157 2013-06-17 Roland McGrath <roland@hack.frob.com>
159 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
160 length of target pattern, then descending length of dependency pattern.
161 * configure.in (AWK): Require gawk 3.1.2 or newer.
162 * manual/install.texi (Tools for Compilation): Say that we do.
163 * configure: Regenerated.
165 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
166 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
167 * scripts/sysd-rules.awk: ... this new script.
168 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
169 than a glob-style pattern.
171 2013-06-17 Joseph Myers <joseph@codesourcery.com>
173 * math/test-misc.c (main): Do not treat incorrectly rounded
174 conversions as failure unless ROUNDING_TESTS passes.
176 2013-06-15 Joseph Myers <joseph@codesourcery.com>
179 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
180 restore exception state around main square root computation, then
181 check for inexactness explicitly.
183 * math/libm-test.inc (fma_test_data): Add another test.
185 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
187 * manual/threads.texi (Non-POSIX Extensions): New document
188 node. Document pthread_getattr_default_np and
189 pthread_setattr_default_np.
191 * Versions.def (libpthread): Add GLIBC_2.18.
192 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
199 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
201 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
212 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
214 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
215 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
217 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
218 H.J. Lu <hjl.tools@gmail.com>
221 * sysdeps/x86_64/rtld-memset.c: Remove file.
222 * sysdeps/x86_64/rtld-memset.S: New file.
224 2013-06-14 Joseph Myers <joseph@codesourcery.com>
226 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
227 (test_in_one_mode): Take arguments for whether the rounding mode
228 is supported for each floating-point type.
229 (do_test): Pass new arguments to test_in_one_mode using
232 2013-06-13 Roland McGrath <roland@hack.frob.com>
234 * posix/tst-waitid.c (do_test): Distinguish different instances of
235 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
236 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
237 before entering the kernel for waitpid.
239 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
241 * NEWS: Fix note on clock function precision. Text by Roland
244 2013-06-13 Roland McGrath <roland@hack.frob.com>
246 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
247 it into place only when and if the sanity check passes.
249 2013-06-13 Joseph Myers <joseph@codesourcery.com>
251 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
252 output for whether conversion result is exact. Take argument
253 indicating whether type is IBM long double.
254 (round_for_all): Change need_exact field to ibm_ld.
255 * stdlib/tst-strtod-round.c (struct exactness): New type.
256 (struct test): Change bool ld_ok field to struct exactness exact.
257 (TEST): Update all definitions for change to field.
258 (tests): Regenerate array contents.
259 (test_in_one_mode): Take pointer to new field instead of old ld_ok
260 field value. Check for IBM long double here.
261 (do_test): Update calls to test_in_one_mode.
263 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
266 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
267 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
269 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
272 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
273 generated by the compiler on loop optimizations.
274 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
277 2013-06-12 Joseph Myers <joseph@codesourcery.com>
279 * math/bug-nextafter.c: Include <math-tests.h>.
280 (main): Only test for exceptions if EXCEPTION_TESTS is true for
282 * math/bug-nexttoward.c: Include <math-tests.h>.
283 (main): Only test for exceptions if EXCEPTION_TESTS is true for
285 * math/test-misc.c: Include <math-tests.h>.
286 (main): Only test for exceptions if EXCEPTION_TESTS is true for
289 2013-06-12 Andreas Jaeger <aj@suse.de>
291 * po/ia.po: Update Interlingua translation from translation
294 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
296 * include/fenv.h: Include stdbool.h.
297 (struct rm_ctx): New structure.
298 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
300 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
301 (SET_RESTORE_ROUNDF): Likewise.
302 (SET_RESTORE_ROUNDL): Likewise.
303 (SET_RESTORE_ROUND_NOEX): Likewise.
304 (SET_RESTORE_ROUND_NOEXF): Likewise.
305 (SET_RESTORE_ROUND_NOEXL): Likewise.
306 (SET_RESTORE_ROUND_53BIT): Likewise.
307 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
308 (libc_feresetround_noexf_ctx): Likewise.
309 (libc_feresetround_noexl_ctx): Likewise.
310 (libc_feholdsetround_53bit_ctx): Likewise.
311 (libc_feresetround_53bit_ctx): Likewise.
312 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
313 (libc_feholdexcept_setround_sse_ctx): New function.
314 (libc_fesetenv_sse_ctx): Likewise.
315 (libc_feupdateenv_sse_ctx): Likewise.
316 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
317 (libc_feholdexcept_setround_387_ctx): Likewise.
318 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
319 (libc_feholdsetround_387_prec_ctx): Likewise.
320 (libc_feholdsetround_387_ctx): Likewise.
321 (libc_feholdsetround_387_53bit_ctx): Likewise.
322 (libc_feholdsetround_sse_ctx): Likewise.
323 (libc_feresetround_sse_ctx): Likewise.
324 (libc_feresetround_387_ctx): Likewise.
325 (libc_feupdateenv_387_ctx): Likewise.
326 (libc_feholdexcept_setroundf_ctx): Define macro.
327 (libc_fesetenvf_ctx): Likewise.
328 (libc_feupdateenvf_ctx): Likewise.
329 (libc_feholdsetroundf_ctx): Likewise.
330 (libc_feresetroundf_ctx): Likewise.
331 (libc_feholdexcept_setround_ctx): Likewise.
332 (libc_fesetenv_ctx): Likewise.
333 (libc_feupdateenv_ctx): Likewise.
334 (libc_feholdsetround_ctx): Likewise.
335 (libc_feresetround_ctx): Likewise.
336 (libc_feholdexcept_setroundl_ctx): Likewise.
337 (libc_feupdateenvl_ctx): Likewise.
338 (libc_feholdsetroundl_ctx): Likewise.
339 (libc_feresetroundl_ctx): Likewise.
340 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
341 (libc_feresetround_53bit_ctx): Likewise.
343 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
345 * locale/iso-639.def: Convert to UTF-8.
347 2013-06-11 Joseph Myers <joseph@codesourcery.com>
349 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
350 (EXCEPTION_TESTS_double): Likewise.
351 (EXCEPTION_TESTS_long_double): Likewise.
352 (EXCEPTION_TESTS): Likewise.
353 * math/libm-test.inc (test_exceptions): Only test exceptions if
354 EXCEPTION_TESTS (FLOAT).
356 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
358 * benchtests/Makefile (string-bench): Add strcpy_chk and
360 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
361 * benchtests/bench-stpcpy_chk.c: New file.
362 * benchtests/bench-strcpy_chk-ifunc.c: New file.
363 * benchtests/bench-strcpy_chk.c: New file.
364 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
368 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
370 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
371 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
372 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
373 with tabs where appropriate.
374 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
376 [PPC_PLATFORM_PPC440]: Likewise.
377 [PPC_PLATFORM_PPC464]: Likewise.
378 [PPC_PLATFORM_PPC476]: Likewise.
379 (_dl_string_platform): Add support for detecting ppc405, ppc440,
380 ppc464, and ppc476 platform strings merging from ports/
383 2013-06-11 Andreas Schwab <schwab@suse.de>
386 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
387 (from_ucs4_idx): Regenerate.
388 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
389 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
390 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
391 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
392 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
393 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
394 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
395 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
396 from FROM_LOOP and TO_LOOP specific macros.
397 (BODY): Handle combining characters.
398 * iconvdata/BIG5HKSCS.irreversible: Update.
399 * iconvdata/BIG5HKSCS.precomposed: New file.
400 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
402 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
404 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
406 * include/sys/time.h: Fix indentation and add copyright header.
408 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
410 * string/test-memchr.c (do_one_test): Likewise.
412 * string/test-memcmp.c (do_one_test): Likewise.
414 * string/test-memcpy.c (do_one_test): Likewise.
416 * string/test-memmem.c (do_one_test): Likewise.
418 (do_random_tests): Likewise.
419 * string/test-memmove.c (do_one_test): Likewise.
421 * string/test-memset.c (do_one_test): Likewise.
423 * string/test-rawmemchr.c (do_one_test): Likewise.
425 * string/test-strcasecmp.c (do_one_test): Likewise.
427 * string/test-strcasestr.c (do_one_test): Likewise.
429 * string/test-strcat.c (do_one_test): Likewise.
431 * string/test-strchr.c (do_one_test): Likewise.
433 * string/test-strcmp.c (do_one_test): Likewise.
435 * string/test-strcpy.c (do_one_test): Likewise.
437 * string/test-string.h: Likewise.
438 (test_init): Likewise.
439 * string/test-strlen.c (do_one_test): Likewise.
441 * string/test-strncasecmp.c (do_one_test): Likewise.
443 * string/test-strncat.c (do_one_test): Likewise.
445 * string/test-strncmp.c (do_one_test): Likewise.
446 (do_test_limit): Likewise.
448 * string/test-strncpy.c (do_one_test): Likewise.
450 * string/test-strnlen.c (do_one_test): Likewise.
452 * string/test-strpbrk.c (do_one_test): Likewise.
454 * string/test-strrchr.c (do_one_test): Likewise.
456 * string/test-strspn.c (do_one_test): Likewise.
458 * string/test-strstr.c (do_one_test): Likewise.
461 * benchtests/Makefile (string-bench): Add string benchmarks.
462 * benchtests/bench-bcopy-ifunc.c: New file.
463 * benchtests/bench-bcopy.c: New file.
464 * benchtests/bench-bzero-ifunc.c: New file.
465 * benchtests/bench-bzero.c: New file.
466 * benchtests/bench-memccpy-ifunc.c: New file.
467 * benchtests/bench-memccpy.c: New file.
468 * benchtests/bench-memchr-ifunc.c: New file.
469 * benchtests/bench-memchr.c: New file.
470 * benchtests/bench-memcmp-ifunc.c: New file.
471 * benchtests/bench-memcmp.c: New file.
472 * benchtests/bench-memmem-ifunc.c: New file.
473 * benchtests/bench-memmem.c: New file.
474 * benchtests/bench-memmove-ifunc.c: New file.
475 * benchtests/bench-memmove.c: New file.
476 * benchtests/bench-mempcpy-ifunc.c: New file.
477 * benchtests/bench-mempcpy.c: New file.
478 * benchtests/bench-memset-ifunc.c: New file.
479 * benchtests/bench-memset.c: New file.
480 * benchtests/bench-rawmemchr-ifunc.c: New file.
481 * benchtests/bench-rawmemchr.c: New file.
482 * benchtests/bench-stpcpy-ifunc.c: New file.
483 * benchtests/bench-stpcpy.c: New file.
484 * benchtests/bench-stpncpy-ifunc.c: New file.
485 * benchtests/bench-stpncpy.c: New file.
486 * benchtests/bench-strcasecmp-ifunc.c: New file.
487 * benchtests/bench-strcasecmp.c: New file.
488 * benchtests/bench-strcasestr-ifunc.c: New file.
489 * benchtests/bench-strcasestr.c: New file.
490 * benchtests/bench-strcat-ifunc.c: New file.
491 * benchtests/bench-strcat.c: New file.
492 * benchtests/bench-strchr-ifunc.c: New file.
493 * benchtests/bench-strchr.c: New file.
494 * benchtests/bench-strchrnul-ifunc.c: New file.
495 * benchtests/bench-strchrnul.c: New file.
496 * benchtests/bench-strcmp-ifunc.c: New file.
497 * benchtests/bench-strcmp.c: New file.
498 * benchtests/bench-strcpy-ifunc.c: New file.
499 * benchtests/bench-strcpy.c: New file.
500 * benchtests/bench-strcspn-ifunc.c: New file.
501 * benchtests/bench-strcspn.c: New file.
502 * benchtests/bench-strlen-ifunc.c: New file.
503 * benchtests/bench-strlen.c: New file.
504 * benchtests/bench-strncasecmp-ifunc.c: New file.
505 * benchtests/bench-strncasecmp.c: New file.
506 * benchtests/bench-strncat-ifunc.c: New file.
507 * benchtests/bench-strncat.c: New file.
508 * benchtests/bench-strncmp-ifunc.c: New file.
509 * benchtests/bench-strncmp.c: New file.
510 * benchtests/bench-strncpy-ifunc.c: New file.
511 * benchtests/bench-strncpy.c: New file.
512 * benchtests/bench-strnlen-ifunc.c: New file.
513 * benchtests/bench-strnlen.c: New file.
514 * benchtests/bench-strpbrk-ifunc.c: New file.
515 * benchtests/bench-strpbrk.c: New file.
516 * benchtests/bench-strrchr-ifunc.c: New file.
517 * benchtests/bench-strrchr.c: New file.
518 * benchtests/bench-strspn-ifunc.c: New file.
519 * benchtests/bench-strspn.c: New file.
520 * benchtests/bench-strstr-ifunc.c: New file.
521 * benchtests/bench-strstr.c: New file.
523 * benchtests/Makefile: Disable parallel execution of targets.
524 (string-bench): Add memcpy.
525 (benchset): New variable to store a list of benchmark sets.
526 (bench-func): Renamed from bench.
527 (bench-set): New target.
528 (bench): Depend on bench-func and bench-set.
529 * benchtests/README: Add section on benchmark sets.
530 * benchtests/bench-memcpy-ifunc.c: New file.
531 * benchtests/bench-memcpy.c: New file.
532 * benchtests/bench-string.h: New file.
534 2013-06-11 Andreas Schwab <schwab@suse.de>
537 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
538 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
539 values in the triple.
540 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
541 terminator in the group key.
543 2013-06-11 Andreas Jaeger <aj@suse.de>
545 * po/zh_TW.po: Update Chinese (traditional) translation from
548 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
550 * include/time.h (__clock_gettime): Add libc_hidden_proto.
551 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
552 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
553 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
554 (clock_getcpuclockid): Likewise.
555 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
556 Add weak_alias and libc_hidden_def.
557 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
558 * rt/clock_gettime.c (clock_gettime): Rename to
559 __clock_gettime. Add weak_alias and libc_hidden_def.
560 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
561 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
562 __clock_nanosleep. Add weak_alias and libc_hidden_def.
563 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
564 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
566 * rt/clock_settime.c (clock_settime): Rename to
567 __clock_settime. Add weak_alias and libc_hidden_def.
568 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
570 2013-06-10 Joseph Myers <joseph@codesourcery.com>
572 * mach/err_boot.sub: Remove trailing whitespace.
573 * mach/err_ipc.sub: Likewise.
574 * mach/err_mach.sub: Likewise.
576 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
577 (ROUNDING_TESTS_double): Likewise.
578 (ROUNDING_TESTS_long_double): Likewise.
579 (ROUNDING_TESTS): Likewise.
580 * math/libm-test.inc: Include <math-tests.h>.
581 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
582 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
583 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
584 (IF_ROUND_INIT_FE_UPWARD): Likewise.
586 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
588 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
591 2013-06-08 Joseph Myers <joseph@codesourcery.com>
593 * sysdeps/gnu/errlist.awk: Do not generate space at end of
594 otherwise empty TRANS lines.
595 * sysdeps/gnu/errlist.c: Regenerated.
597 * catgets/gencat.c (error_print): Use (void) in function
599 * crypt/crypt_util.c (__init_des): Likewise.
600 * crypt/speeds.c (Stop): Likewise.
602 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
603 * inet/ruserpass.c (token): Likewise.
604 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
605 * intl/localealias.c (extend_alias_table): Likewise.
606 * intl/plural-exp.c (init_germanic_plural): Likewise.
607 * libio/fcloseall.c (__fcloseall): Likewise.
608 * libio/genops.c (_IO_flush_all): Likewise.
609 (_IO_flush_all_linebuffered): Likewise.
610 (_IO_cleanup): Likewise.
611 (_IO_iter_begin): Likewise.
612 (_IO_iter_end): Likewise.
613 (_IO_list_lock): Likewise.
614 (_IO_list_unlock): Likewise.
615 (_IO_list_resetlock): Likewise.
616 * libio/getchar.c (getchar): Likewise.
617 * libio/getchar_u.c (getchar_unlocked): Likewise.
618 * libio/getwchar.c (getwchar): Likewise.
619 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
620 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
621 * login/getpt.c (__getpt): Likewise.
622 * login/tst-utmp.c (main): Likewise.
623 * malloc/hooks.c (__malloc_check_init): Likewise.
624 * malloc/malloc.c (__malloc_stats): Likewise.
625 * malloc/mtrace.c (tr_break): Likewise.
627 (muntrace): Likewise.
628 * misc/fstab.c (endfsent): Likewise.
629 * misc/getclktck.c (__getclktck): Likewise.
630 * misc/getdtsz.c (__getdtablesize): Likewise.
631 * misc/gethostid.c (gethostid): Likewise.
632 * misc/getpagesize.c (__getpagesize): Likewise.
633 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
634 (__get_nprocs): Likewise.
635 (__get_phys_pages): Likewise.
636 (__get_avphys_pages): Likewise.
637 * misc/getttyent.c (getttyent): Likewise.
638 (setttyent): Likewise.
639 (endttyent): Likewise.
640 * misc/getusershell.c (getusershell): Likewise.
641 (endusershell): Likewise.
642 (setusershell): Likewise.
643 (initshells): Likewise.
644 * misc/hsearch.c (__hdestroy): Likewise.
645 * misc/sync.c (sync): Likewise.
646 * misc/syslog.c (closelog_internal): Likewise.
647 (closelog): Likewise.
648 * misc/ttyslot.c (ttyslot): Likewise.
649 * misc/vhangup.c (vhangup): Likewise.
650 * posix/fork.c (__fork): Likewise.
651 * posix/getegid.c (__getegid): Likewise.
652 * posix/geteuid.c (__geteuid): Likewise.
653 * posix/getgid.c (__getgid): Likewise.
654 * posix/getpid.c (__getpid): Likewise.
655 * posix/getppid.c (__getppid): Likewise.
656 * posix/getuid.c (__getuid): Likewise.
657 * posix/pause.c (pause): Likewise.
658 * posix/setpgrp.c (setpgrp): Likewise.
659 * posix/setsid.c (__setsid): Likewise.
660 * posix/test-vfork.c (noop): Likewise.
661 * resolv/gethnamaddr.c (_endhtent): Likewise.
662 (_gethtent): Likewise.
663 (ht_endhostent): Likewise.
664 (gethostent): Likewise.
665 (dns_service): Likewise.
666 * stdlib/drand48.c (drand48): Likewise.
667 * stdlib/lrand48.c (lrand48): Likewise.
668 * stdlib/mrand48.c (mrand48): Likewise.
669 * stdlib/rand.c (rand): Likewise.
670 * stdlib/random.c (__random): Likewise.
671 * stdlib/setenv.c (clearenv): Likewise.
672 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
673 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
674 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
675 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
676 (__get_nprocs): Likewise.
677 (__get_phys_pages): Likewise.
678 (__get_avphys_pages): Likewise.
679 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
680 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
681 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
682 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
683 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
684 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
685 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
686 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
687 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
688 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
689 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
690 * sysdeps/mach/hurd/sync.c (sync): Likewise.
691 * sysdeps/posix/clock.c (clock): Likewise.
692 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
693 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
694 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
695 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
696 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
697 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
698 (__get_nprocs_conf): Likewise.
699 (__get_phys_pages): Likewise.
700 (__get_avphys_pages): Likewise.
701 * time/clock.c (clock): Likewise.
702 * time/tzset.c (__tzname_max): Likewise.
704 2013-06-07 Joseph Myers <joseph@codesourcery.com>
706 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
707 (__bswap_32): Do not use "register".
708 * crypt/crypt.c (_ufc_doit_r): Likewise.
709 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
710 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
711 * gmon/gmon.c (__monstartup): Likewise.
712 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
713 * hurd/hurdmalloc.c (more_memory): Likewise.
717 (malloc_fork_prepare): Likewise.
718 (malloc_fork_parent): Likewise.
719 (malloc_fork_child): Likewise.
720 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
721 (_svcauth_des): Likewise.
722 * inet/inet_lnaof.c (inet_lnaof): Likewise.
723 * inet/inet_net.c (inet_network): Likewise.
724 * inet/inet_netof.c (inet_netof): Likewise.
725 * inet/rcmd.c (__validuser2_sa): Likewise.
726 * io/fts.c (fts_open): Likewise.
727 (fts_load): Likewise.
728 (fts_close): Likewise.
729 (fts_read): Likewise.
730 (fts_children): Likewise.
731 (fts_build): Likewise.
732 (fts_stat): Likewise.
733 (fts_sort): Likewise.
734 (fts_alloc): Likewise.
735 (fts_lfree): Likewise.
736 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
737 (_IO_file_xsgetn): Likewise.
738 (_IO_file_xsgetn_mmap): Likewise.
739 * libio/iofopncook.c (_IO_cookie_read): Likewise.
740 (_IO_cookie_write): Likewise.
741 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
742 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
743 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
744 * malloc/obstack.c (_obstack_begin): Likewise.
745 (_obstack_begin_1): Likewise.
746 (_obstack_newchunk): Likewise.
747 (_obstack_allocated_p): Likewise.
748 (obstack_free): Likewise.
749 (_obstack_memory_used): Likewise.
750 * misc/getttyent.c (getttynam): Likewise.
751 (getttyent): Likewise.
754 * misc/getusershell.c (initshells): Likewise.
755 * misc/syslog.c (__vsyslog_chk): Likewise.
756 * misc/ttyslot.c (ttyslot): Likewise.
757 * nis/nis_hash.c (__nis_hash): Likewise.
758 * posix/fnmatch_loop.c (FCT): Likewise.
759 * posix/getconf.c (print_all): Likewise.
761 * posix/getopt.c (exchange): Likewise.
762 * posix/glob.c (globfree): Likewise.
763 (prefix_array): Likewise.
764 (__glob_pattern_type): Likewise.
765 * resolv/arpa/nameser.h (NS_GET16): Likewise.
766 (NS_GET32): Likewise.
767 (NS_PUT16): Likewise.
768 (NS_PUT32): Likewise.
769 * resolv/gethnamaddr.c (getanswer): Likewise.
770 (gethostbyname2): Likewise.
771 (gethostbyaddr): Likewise.
772 (_gethtent): Likewise.
773 (_gethtbyname2): Likewise.
774 (_gethtbyaddr): Likewise.
775 * resolv/ns_print.c (dst_s_get_int16): Likewise.
776 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
777 * resolv/res_init.c (__res_vinit): Likewise.
778 (net_mask): Likewise.
779 * resolv/res_mkquery.c (outchar): Likewise.
781 * stdio-common/printf_fp.c (outchar): Likewise.
783 * stdio-common/printf_fphex.c (outchar): Likewise.
785 * stdio-common/printf_size.c (outchar): Likewise.
787 * stdio-common/test_rdwr.c (main): Likewise.
788 * stdio-common/tfformat.c (matches): Likewise.
789 * stdio-common/vfprintf.c (outchar): Likewise.
790 (printf_unknown): Likewise.
791 (buffered_vfprintf): Likewise.
792 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
793 * stdio-common/xbug.c (AppendToBuffer): Likewise.
794 (ReadFile): Likewise.
795 * stdlib/qsort.c (SWAP): Likewise.
796 (_quicksort): Likewise.
797 * stdlib/setenv.c (__add_to_environ): Likewise.
798 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
799 * stdlib/strtol_l.c (__strtol_l): Likewise.
800 * stdlib/tst-strtod.c (main): Likewise.
801 * stdlib/tst-strtol.c (main): Likewise.
802 * stdlib/tst-strtoll.c (main): Likewise.
803 * string/bits/string2.h (__strcmp_cc): Likewise.
804 (__strcmp_cg): Likewise.
805 (__strcspn_c1): Likewise.
806 (__strcspn_c2): Likewise.
807 (__strcspn_c3): Likewise.
808 (__strspn_c1): Likewise.
809 (__strspn_c2): Likewise.
810 (__strspn_c3): Likewise.
811 (__strsep_1c): Likewise.
812 (__strsep_2c): Likewise.
813 (__strsep_3c): Likewise.
814 * string/memccpy.c (__memccpy): Likewise.
815 * string/stpcpy.c (__stpcpy): Likewise.
816 * string/strcmp.c (strcmp): Likewise.
817 * string/strrchr.c (strrchr): Likewise.
818 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
820 * sysdeps/mach/hurd/getcwd.c
821 (_hurd_canonicalize_directory_name_internal): Likewise.
822 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
823 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
824 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
825 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
826 Likewise, in both definitions.
827 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
829 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
830 64] (__bswap_64): Likewise.
831 * time/test_time.c (main): Likewise.
832 * time/tzfile.c (__tzfile_read): Likewise.
833 (__tzfile_compute): Likewise.
834 * time/tzset.c (__tzset_parse_tz): Likewise.
835 (tzset_internal): Likewise.
836 (compute_change): Likewise.
837 * wcsmbs/wcscat.c (__wcscat): Likewise.
838 * wcsmbs/wcschr.c (wcschr): Likewise.
839 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
840 * wcsmbs/wcscspn.c (wcscspn): Likewise.
841 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
842 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
843 * wcsmbs/wcsspn.c (wcsspn): Likewise.
844 * wcsmbs/wcsstr.c (wcsstr): Likewise.
845 * wcsmbs/wmemchr.c (wmemchr): Likewise.
846 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
847 * wcsmbs/wmemset.c (wmemset): Likewise.
849 2013-06-06 Joseph Myers <joseph@codesourcery.com>
851 * scripts/config.guess: Update to version 2013-05-16.
852 * scripts/config.sub: Update to version 2013-04-24.
853 * scripts/install-sh: Update to version 2011-11-20.07.
854 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
855 * scripts/move-if-change: Update to version 2012-01-06 07:23.
857 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
859 * debug/fgetws_u_chk.c: Fix leading whitespaces.
860 * elf/sln.c: Likewise.
861 * hurd/hurd/ioctl.h: Likewise.
862 * hurd/hurdmalloc.c: Likewise.
863 * hurd/xattr.c: Likewise.
864 * include/shlib-compat.h: Likewise.
865 * inet/ruserpass.c: Likewise.
866 * libio/iofgets_u.c: Likewise.
867 * libio/iofgetws_u.c: Likewise.
868 * locale/programs/ld-identification.c: Likewise.
869 * locale/programs/ld-time.c: Likewise.
870 * mach/msg-destroy.c: Likewise.
871 * nss/nss_files/files-netgrp.c: Likewise.
872 * resolv/res_data.c: Likewise.
873 * soft-fp/op-1.h: Likewise.
874 * soft-fp/op-2.h: Likewise.
875 * soft-fp/op-4.h: Likewise.
876 * soft-fp/op-common.h: Likewise.
877 * stdio-common/printf_fphex.c: Likewise.
878 * stdlib/strtod_l.c: Likewise.
879 * sunrpc/rpc/clnt.h: Likewise.
880 * sysdeps/generic/framestate.c: Likewise.
881 * sysdeps/i386/bsd-_setjmp.S: Likewise.
882 * sysdeps/i386/bsd-setjmp.S: Likewise.
883 * sysdeps/i386/__longjmp.S: Likewise.
884 * sysdeps/i386/setjmp.S: Likewise.
885 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
886 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
887 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
888 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
889 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
890 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
891 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
892 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
893 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
894 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
895 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
896 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
897 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
898 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
899 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
900 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
901 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
902 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
903 * sysdeps/ieee754/support.c: Likewise.
904 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
905 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
906 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
907 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
908 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
909 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
910 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
911 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
912 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
913 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
914 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
915 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
916 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
917 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
918 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
919 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
920 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
923 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
925 * posix/transbug.c: Remove executable mode.
927 2013-06-05 Joseph Myers <joseph@codesourcery.com>
929 * crypt/speeds.c: Remove trailing whitespace.
930 * dlfcn/default.c: Likewise.
931 * elf/ifuncdep2.c: Likewise.
932 * elf/ifuncmain1.c: Likewise.
933 * elf/ifuncmain1vis.c: Likewise.
934 * elf/testobj.h: Likewise.
935 * elf/tst-stackguard1.c: Likewise.
936 * gmon/sys/gmon.h: Likewise.
937 * hurd/hurdmsg.c: Likewise.
938 * hurd/new-fd.c: Likewise.
939 * hurd/ports-get.c: Likewise.
940 * iconvdata/ibm1008_420.c: Likewise.
941 * inet/tst-getni1.c: Likewise.
942 * inet/tst-getni2.c: Likewise.
943 * libio/ioungetc.c: Likewise.
944 * libio/wfiledoalloc.c: Likewise.
945 * manual/libm-err-tab.pl: Likewise.
946 * math/w_dremf.c: Likewise.
947 * misc/ftruncate.c: Likewise.
948 * posix/bug-glob2.c: Likewise.
949 * posix/tst-pcre.c: Likewise.
950 * posix/wait4.c: Likewise.
951 * resolv/README: Likewise.
952 * resolv/res_debug.h: Likewise.
953 * resolv/tst-inet_ntop.c: Likewise.
954 * setjmp/bug269-setjmp.c: Likewise.
955 * soft-fp/extended.h: Likewise.
956 * soft-fp/op-1.h: Likewise.
957 * soft-fp/op-2.h: Likewise.
958 * soft-fp/op-4.h: Likewise.
959 * soft-fp/op-8.h: Likewise.
960 * soft-fp/testit.c: Likewise.
961 * stdio-common/bug16.c: Likewise.
962 * stdlib/random.c: Likewise.
963 * sunrpc/rpcsvc/rquota.x: Likewise.
964 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
965 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
966 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
967 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
968 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
969 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
970 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
971 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
972 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
973 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
974 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
975 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
976 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
977 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
978 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
979 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
980 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
981 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
982 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
983 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
984 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
985 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
986 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
987 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
988 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
989 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
990 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
991 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
992 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
993 * sysdeps/ieee754/s_lib_version.c: Likewise.
994 * sysdeps/mach/hurd/check_fds.c: Likewise.
995 * sysdeps/mach/hurd/getsockname.c: Likewise.
996 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
997 * sysdeps/mach/hurd/recvfrom.c: Likewise.
998 * sysdeps/powerpc/bits/link.h: Likewise.
999 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1000 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1001 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1002 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1003 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1004 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1005 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1006 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1007 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1008 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1009 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1010 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1011 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1012 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1013 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1014 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1015 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1016 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1017 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1018 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1019 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1020 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1021 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1022 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1023 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1024 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1025 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1026 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1027 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1028 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1029 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1030 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1031 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1032 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1033 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1034 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1035 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1036 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1037 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1038 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1039 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1040 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1041 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1042 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1043 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1044 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1045 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1046 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1047 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1048 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1049 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1050 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1051 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1052 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1053 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1054 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1055 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1056 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1057 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1058 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1059 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1060 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1061 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1062 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1063 * sysdeps/powerpc/sysdep.h: Likewise.
1064 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1065 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1066 * sysdeps/sh/dl-trampoline.S: Likewise.
1067 * sysdeps/sh/memset.S: Likewise.
1068 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1069 * sysdeps/sh/strlen.S: Likewise.
1070 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1071 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1072 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1073 * sysdeps/sparc/sparc32/rem.S: Likewise.
1074 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1075 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1076 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1077 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1078 * sysdeps/sparc/sparc32/urem.S: Likewise.
1079 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1080 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1081 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1082 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1083 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1084 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1085 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1086 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1087 * sysdeps/unix/bsd/times.c: Likewise.
1088 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1089 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1093 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1094 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1095 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1096 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1097 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1098 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1099 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1100 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1101 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1102 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1103 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1104 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1105 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1106 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1107 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1108 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1109 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1110 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1111 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1112 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1113 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1114 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1115 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1116 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1117 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1118 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1119 * sysdeps/x86_64/strcspn.S: Likewise.
1121 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1123 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1124 generated file. Regenerate properly from gen-translit.pl.
1125 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1126 locale/C-translit.h.
1128 2013-06-05 Andreas Schwab <schwab@suse.de>
1131 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1132 week as 6 instead of -1.
1133 * time/tst-strptime.c (day_tests): Add test case.
1135 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1137 * sysdeps/generic/math_private.h
1138 (libc_feholdexcept_setround_53bit): Replace with
1139 libc_feholdsetround_53bit.
1140 (libc_feupdateenv_53bit): Replace with
1141 libc_feresetround_53bit.
1142 (SET_RESTORE_ROUND_53BIT): Adjust.
1144 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1146 * string/test-strchrnul.c: Add copyright header.
1148 * posix/tst-getaddrinfo4.c: Increase test timeout.
1150 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1153 * math/libm-test.inc (MAX_EXP): Remove
1155 (ulp): Use MIN_EXP - MANT_DIG.
1156 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1158 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1160 * po/be.po: Revert last change.
1161 * po/zh_CN.po: Likewise.
1162 * po/header.pot: Likewise.
1164 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1166 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1167 link-libc-deps to empty as target-specific variable.
1168 * Makerules (link-libc-args): New variable.
1169 (libc-for-link): Likewise.
1170 (link-libc-deps): Likewise.
1171 (lib%.so): Depend on $(link-libc-deps). Link with
1173 (build-module): Link with $(link-libc-args).
1174 (build-module-asneeded): Likewise.
1175 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1177 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1178 target-specific variable.
1179 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1180 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1181 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1183 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1185 ($(objpfx)libpcprofile.so): Likewise.
1186 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1188 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1189 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1190 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1192 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1193 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1194 * login/Makefile ($(objpfx)libutil.so): Likewise.
1195 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1196 * math/Makefile ($(objpfx)libm.so): Likewise.
1197 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1198 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1199 variable instead of depending directly on libc.
1200 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1201 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1203 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1205 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1206 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1207 ($(objpfx)libanl.so): Likewise.
1208 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1210 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1212 * sysdeps/i386/fpu/Makefile: Remove file.
1213 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1214 ($(objpfx)libm.so): Remove dependency on ld.so.
1216 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1219 * nis/yp_xdr.c (XDRMAXNAME): Define.
1220 (XDRMAXRECORD): Define.
1221 (xdr_domainname): Use XDRMAXNAME.
1222 (xdr_mapname): Likewise.
1223 (xdr_peername): Likewise.
1224 (xdr_keydat): Use XDRMAXRECORD.
1225 (xdr_valdat): Likewise.
1227 2013-05-30 Jeff Law <law@redhat.com>
1230 * manual/errno.texi (ESTALE): Update to account for more than
1231 just NFS file systems.
1232 * sysdeps/gnu/errlist.c: Regenerated.
1234 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1237 * elf/Makefile (tests): Add tst-null-argv.
1238 (modules-names): Add tst-null-argv-lib.
1239 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1240 (tst-null-argv-ENV): Set environment for tst-null-argv.
1241 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1242 (RTLD_PROGNAME): New macro.
1243 * elf/tst-null-argv.c: New test case.
1244 * elf/tst-null-argv-lib.c: Library for test case.
1245 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1246 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1247 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1248 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1249 * elf/dl-init.c (call_init): Likewise.
1250 (_dl_init): Likewise.
1251 * elf/dl-load.c (print_search_path): Likewise.
1252 (_dl_map_object): Likewise.
1253 * elf/dl-lookup.c (do_lookup_x): Likewise.
1254 (add_dependency): Likewise.
1255 (_dl_lookup_symbol_x): Likewise.
1256 (_dl_debug_bindings): Likewise.
1257 * elf/dl-open.c (_dl_show_scope): Likewise.
1258 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1259 * elf/dl-version.c (match_symbol): Likewise.
1260 (_dl_check_map_versions): Likewise.
1261 * elf/rtld.c (dl_main): Likewise.
1262 (print_unresolved): Use RTLD_PROGNAME.
1263 (print_missing_version): Likewise.
1264 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1265 (elf_machine_rela): Likewise.
1266 * sysdeps/powerpc/powerpc32/dl-machine.c
1267 (__process_machine_rela): Likewise.
1268 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1270 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1272 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1274 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1275 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1277 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1279 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1281 2013-05-28 Carlos O'Donell <carlos@redhat.com>
1283 * po/be.po: Add descriptive title.
1284 * po/zh_CN.po: Likewise.
1285 * po/header.pot: Likewise.
1287 2013-05-28 Mike Frysinger <vapier@gentoo.org>
1289 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1291 (enlarge_archive): Likewise.
1293 2013-05-28 Ben North <ben@redfrontdoor.org>
1295 * manual/arith.texi (frexp): It is the magnitude of the return
1296 value which lies in [0.5, 1), not the return value itself.
1298 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1302 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1304 * stdio-common/bug26.c (main): Correct fscanf template.
1306 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1307 declare _dl_skip_args.
1309 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1312 * manual/platform.texi: Add missing @end deftypefun.
1314 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1317 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1318 bit of mantissa of 2^16382.
1319 * math/libm-test.inc (hypot_test_data): Add more tests.
1321 * math/libm-test.inc: Add drem and pow10 to list of tested
1323 (pow10_test): New function.
1324 (drem_test): Likewise.
1325 (drem_test_tonearest): Likewise.
1326 (drem_test_towardzero): Likewise.
1327 (drem_test_downward): Likewise.
1328 (drem_test_upward): Likewise.
1329 (main): Call the new functions.
1331 * math/libm-test.inc (finite_test_data): Remove.
1332 (finite_test): Run tests from isfinite_test_data.
1333 (gamma_test_data): Remove.
1334 (gamma_test): Run tests from lgamma_test_data.
1335 * sysdeps/i386/fpu/libm-test-ulps: Update.
1336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1338 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1340 * manual/platform.texi: Add PowerPC PPR function set documentation.
1341 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1344 2013-05-24 Carlos O'Donell <carlos@redhat.com>
1346 * math/libm-test.inc (MAX_EXP): Define.
1348 (ulp): New function.
1349 (check_float_internal): Use ULPDIFF.
1350 (cpow_test): Disable failing test.
1351 (check_ulp): Test ulp() implemetnation.
1352 (main): Call check_ulp before starting tests.
1354 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1356 * math/gen-libm-test.pl (generate_testfile): Do not handle
1357 START_DATA and END_DATA.
1358 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1360 (acos_tonearest_test_data): Likewise.
1361 (acos_towardzero_test_data): Likewise.
1362 (acos_downward_test_data): Likewise.
1363 (acos_upward_test_data): Likewise.
1364 (acosh_test_data): Likewise.
1365 (asin_test_data): Likewise.
1366 (asin_tonearest_test_data): Likewise.
1367 (asin_towardzero_test_data): Likewise.
1368 (asin_downward_test_data): Likewise.
1369 (asin_upward_test_data): Likewise.
1370 (asinh_test_data): Likewise.
1371 (atan_test_data): Likewise.
1372 (atanh_test_data): Likewise.
1373 (atan2_test_data): Likewise.
1374 (cabs_test_data): Likewise.
1375 (cacos_test_data): Likewise.
1376 (cacosh_test_data): Likewise.
1377 (carg_test_data): Likewise.
1378 (casin_test_data): Likewise.
1379 (casinh_test_data): Likewise.
1380 (catan_test_data): Likewise.
1381 (catanh_test_data): Likewise.
1382 (cbrt_test_data): Likewise.
1383 (ccos_test_data): Likewise.
1384 (ccosh_test_data): Likewise.
1385 (ceil_test_data): Likewise.
1386 (cexp_test_data): Likewise.
1387 (cimag_test_data): Likewise.
1388 (clog_test_data): Likewise.
1389 (clog10_test_data): Likewise.
1390 (conj_test_data): Likewise.
1391 (copysign_test_data): Likewise.
1392 (cos_test_data): Likewise.
1393 (cos_tonearest_test_data): Likewise.
1394 (cos_towardzero_test_data): Likewise.
1395 (cos_downward_test_data): Likewise.
1396 (cos_upward_test_data): Likewise.
1397 (cosh_test_data): Likewise.
1398 (cosh_tonearest_test_data): Likewise.
1399 (cosh_towardzero_test_data): Likewise.
1400 (cosh_downward_test_data): Likewise.
1401 (cosh_upward_test_data): Likewise.
1402 (cpow_test_data): Likewise.
1403 (cproj_test_data): Likewise.
1404 (creal_test_data): Likewise.
1405 (csin_test_data): Likewise.
1406 (csinh_test_data): Likewise.
1407 (csqrt_test_data): Likewise.
1408 (ctan_test_data): Likewise.
1409 (ctan_tonearest_test_data): Likewise.
1410 (ctan_towardzero_test_data): Likewise.
1411 (ctan_downward_test_data): Likewise.
1412 (ctan_upward_test_data): Likewise.
1413 (ctanh_test_data): Likewise.
1414 (ctanh_tonearest_test_data): Likewise.
1415 (ctanh_towardzero_test_data): Likewise.
1416 (ctanh_downward_test_data): Likewise.
1417 (ctanh_upward_test_data): Likewise.
1418 (erf_test_data): Likewise.
1419 (erfc_test_data): Likewise.
1420 (exp_test_data): Likewise.
1421 (exp_tonearest_test_data): Likewise.
1422 (exp_towardzero_test_data): Likewise.
1423 (exp_downward_test_data): Likewise.
1424 (exp_upward_test_data): Likewise.
1425 (exp10_test_data): Likewise.
1426 (exp2_test_data): Likewise.
1427 (expm1_test_data): Likewise.
1428 (fabs_test_data): Likewise.
1429 (fdim_test_data): Likewise.
1430 (finite_test_data): Likewise.
1431 (floor_test_data): Likewise.
1432 (fma_test_data): Likewise.
1433 (fma_towardzero_test_data): Likewise.
1434 (fma_downward_test_data): Likewise.
1435 (fma_upward_test_data): Likewise.
1436 (fmax_test_data): Likewise.
1437 (fmin_test_data): Likewise.
1438 (fmod_test_data): Likewise.
1439 (fpclassify_test_data): Likewise.
1440 (frexp_test_data): Likewise.
1441 (gamma_test_data): Likewise.
1442 (hypot_test_data): Likewise.
1443 (ilogb_test_data): Likewise.
1444 (isfinite_test_data): Likewise.
1445 (isgreater_test_data): Likewise.
1446 (isgreaterequal_test_data): Likewise.
1447 (isinf_test_data): Likewise.
1448 (isless_test_data): Likewise.
1449 (islessequal_test_data): Likewise.
1450 (islessgreater_test_data): Likewise.
1451 (isnan_test_data): Likewise.
1452 (isnormal_test_data): Likewise.
1453 (issignaling_test_data): Likewise.
1454 (isunordered_test_data): Likewise.
1455 (j0_test_data): Likewise.
1456 (j1_test_data): Likewise.
1457 (jn_test_data): Likewise.
1458 (ldexp_test_data): Likewise.
1459 (lgamma_test_data): Likewise.
1460 (lrint_test_data): Likewise.
1461 (lrint_tonearest_test_data): Likewise.
1462 (lrint_towardzero_test_data): Likewise.
1463 (lrint_downward_test_data): Likewise.
1464 (lrint_upward_test_data): Likewise.
1465 (llrint_test_data): Likewise.
1466 (llrint_tonearest_test_data): Likewise.
1467 (llrint_towardzero_test_data): Likewise.
1468 (llrint_downward_test_data): Likewise.
1469 (llrint_upward_test_data): Likewise.
1470 (log_test_data): Likewise.
1471 (log10_test_data): Likewise.
1472 (log1p_test_data): Likewise.
1473 (log2_test_data): Likewise.
1474 (logb_test_data): Likewise.
1475 (logb_downward_test_data): Likewise.
1476 (lround_test_data): Likewise.
1477 (llround_test_data): Likewise.
1478 (modf_test_data): Likewise.
1479 (nearbyint_test_data): Likewise.
1480 (nextafter_test_data): Likewise.
1481 (nexttoward_test_data): Likewise.
1482 (pow_test_data): Likewise.
1483 (pow_tonearest_test_data): Likewise.
1484 (pow_towardzero_test_data): Likewise.
1485 (pow_downward_test_data): Likewise.
1486 (pow_upward_test_data): Likewise.
1487 (remainder_test_data): Likewise.
1488 (remainder_tonearest_test_data): Likewise.
1489 (remainder_towardzero_test_data): Likewise.
1490 (remainder_downward_test_data): Likewise.
1491 (remainder_upward_test_data): Likewise.
1492 (remquo_test_data): Likewise.
1493 (rint_test_data): Likewise.
1494 (rint_tonearest_test_data): Likewise.
1495 (rint_towardzero_test_data): Likewise.
1496 (rint_downward_test_data): Likewise.
1497 (rint_upward_test_data): Likewise.
1498 (round_test_data): Likewise.
1499 (scalb_test_data): Likewise.
1500 (scalbn_test_data): Likewise.
1501 (scalbln_test_data): Likewise.
1502 (signbit_test_data): Likewise.
1503 (sin_test_data): Likewise.
1504 (sin_tonearest_test_data): Likewise.
1505 (sin_towardzero_test_data): Likewise.
1506 (sin_downward_test_data): Likewise.
1507 (sin_upward_test_data): Likewise.
1508 (sincos_test_data): Likewise.
1509 (sinh_test_data): Likewise.
1510 (sinh_tonearest_test_data): Likewise.
1511 (sinh_towardzero_test_data): Likewise.
1512 (sinh_downward_test_data): Likewise.
1513 (sinh_upward_test_data): Likewise.
1514 (sqrt_test_data): Likewise.
1515 (tan_test_data): Likewise.
1516 (tan_tonearest_test_data): Likewise.
1517 (tan_towardzero_test_data): Likewise.
1518 (tan_downward_test_data): Likewise.
1519 (tan_upward_test_data): Likewise.
1520 (tanh_test_data): Likewise.
1521 (tgamma_test_data): Likewise.
1522 (trunc_test_data): Likewise.
1523 (y0_test_data): Likewise.
1524 (y1_test_data): Likewise.
1525 (yn_test_data): Likewise.
1526 (significand_test_data): Likewise.
1528 * math/gen-libm-test.pl (@functions): Remove variable.
1529 (generate_testfile): Don't handle START and END lines.
1530 * math/libm-test.inc (START): New macro.
1532 (END_COMPLEX): Likewise.
1533 (acos_test): Use END macro without arguments.
1534 (acos_test_tonearest): Likewise.
1535 (acos_test_towardzero): Likewise.
1536 (acos_test_downward): Likewise.
1537 (acos_test_upward): Likewise.
1538 (acosh_test): Likewise.
1539 (asin_test): Likewise.
1540 (asin_test_tonearest): Likewise.
1541 (asin_test_towardzero): Likewise.
1542 (asin_test_downward): Likewise.
1543 (asin_test_upward): Likewise.
1544 (asinh_test): Likewise.
1545 (atan_test): Likewise.
1546 (atanh_test): Likewise.
1547 (atan2_test): Likewise.
1548 (cabs_test): Likewise.
1549 (cacos_test): Use END_COMPLEX macro without arguments.
1550 (cacosh_test): Likewise.
1551 (carg_test): Use END macro without arguments.
1552 (casin_test): Use END_COMPLEX macro without arguments.
1553 (casinh_test): Likewise.
1554 (catan_test): Likewise.
1555 (catanh_test): Likewise.
1556 (cbrt_test): Use END macro without arguments.
1557 (ccos_test): Use END_COMPLEX macro without arguments.
1558 (ccosh_test): Likewise.
1559 (ceil_test): Use END macro without arguments.
1560 (cexp_test): Use END_COMPLEX macro without arguments.
1561 (cimag_test): Use END macro without arguments.
1562 (clog_test): Use END_COMPLEX macro without arguments.
1563 (clog10_test): Likewise.
1564 (conj_test): Likewise.
1565 (copysign_test): Use END macro without arguments.
1566 (cos_test): Likewise.
1567 (cos_test_tonearest): Likewise.
1568 (cos_test_towardzero): Likewise.
1569 (cos_test_downward): Likewise.
1570 (cos_test_upward): Likewise.
1571 (cosh_test): Likewise.
1572 (cosh_test_tonearest): Likewise.
1573 (cosh_test_towardzero): Likewise.
1574 (cosh_test_downward): Likewise.
1575 (cosh_test_upward): Likewise.
1576 (cpow_test): Use END_COMPLEX macro without arguments.
1577 (cproj_test): Likewise.
1578 (creal_test): Use END macro without arguments.
1579 (csin_test): Use END_COMPLEX macro without arguments.
1580 (csinh_test): Likewise.
1581 (csqrt_test): Likewise.
1582 (ctan_test): Likewise.
1583 (ctan_test_tonearest): Likewise.
1584 (ctan_test_towardzero): Likewise.
1585 (ctan_test_downward): Likewise.
1586 (ctan_test_upward): Likewise.
1587 (ctanh_test): Likewise.
1588 (ctanh_test_tonearest): Likewise.
1589 (ctanh_test_towardzero): Likewise.
1590 (ctanh_test_downward): Likewise.
1591 (ctanh_test_upward): Likewise.
1592 (erf_test): Use END macro without arguments.
1593 (erfc_test): Likewise.
1594 (exp_test): Likewise.
1595 (exp_test_tonearest): Likewise.
1596 (exp_test_towardzero): Likewise.
1597 (exp_test_downward): Likewise.
1598 (exp_test_upward): Likewise.
1599 (exp10_test): Likewise.
1600 (exp2_test): Likewise.
1601 (expm1_test): Likewise.
1602 (fabs_test): Likewise.
1603 (fdim_test): Likewise.
1604 (finite_test): Likewise.
1605 (floor_test): Likewise.
1606 (fma_test): Likewise.
1607 (fma_test_towardzero): Likewise.
1608 (fma_test_downward): Likewise.
1609 (fma_test_upward): Likewise.
1610 (fmax_test): Likewise.
1611 (fmin_test): Likewise.
1612 (fmod_test): Likewise.
1613 (fpclassify_test): Likewise.
1614 (frexp_test): Likewise.
1615 (gamma_test): Likewise.
1616 (hypot_test): Likewise.
1617 (ilogb_test): Likewise.
1618 (isfinite_test): Likewise.
1619 (isgreater_test): Likewise.
1620 (isgreaterequal_test): Likewise.
1621 (isinf_test): Likewise.
1622 (isless_test): Likewise.
1623 (islessequal_test): Likewise.
1624 (islessgreater_test): Likewise.
1625 (isnan_test): Likewise.
1626 (isnormal_test): Likewise.
1627 (issignaling_test): Likewise.
1628 (isunordered_test): Likewise.
1629 (j0_test): Likewise.
1630 (j1_test): Likewise.
1631 (jn_test): Likewise.
1632 (ldexp_test): Likewise.
1633 (lgamma_test): Likewise.
1634 (lrint_test): Likewise.
1635 (lrint_test_tonearest): Likewise.
1636 (lrint_test_towardzero): Likewise.
1637 (lrint_test_downward): Likewise.
1638 (lrint_test_upward): Likewise.
1639 (llrint_test): Likewise.
1640 (llrint_test_tonearest): Likewise.
1641 (llrint_test_towardzero): Likewise.
1642 (llrint_test_downward): Likewise.
1643 (llrint_test_upward): Likewise.
1644 (log_test): Likewise.
1645 (log10_test): Likewise.
1646 (log1p_test): Likewise.
1647 (log2_test): Likewise.
1648 (logb_test): Likewise.
1649 (logb_test_downward): Likewise.
1650 (lround_test): Likewise.
1651 (llround_test): Likewise.
1652 (modf_test): Likewise.
1653 (nearbyint_test): Likewise.
1654 (nextafter_test): Likewise.
1655 (nexttoward_test): Likewise.
1656 (pow_test): Likewise.
1657 (pow_test_tonearest): Likewise.
1658 (pow_test_towardzero): Likewise.
1659 (pow_test_downward): Likewise.
1660 (pow_test_upward): Likewise.
1661 (remainder_test): Likewise.
1662 (remainder_test_tonearest): Likewise.
1663 (remainder_test_towardzero): Likewise.
1664 (remainder_test_downward): Likewise.
1665 (remainder_test_upward): Likewise.
1666 (remquo_test): Likewise.
1667 (rint_test): Likewise.
1668 (rint_test_tonearest): Likewise.
1669 (rint_test_towardzero): Likewise.
1670 (rint_test_downward): Likewise.
1671 (rint_test_upward): Likewise.
1672 (round_test): Likewise.
1673 (scalb_test): Likewise.
1674 (scalbn_test): Likewise.
1675 (scalbln_test): Likewise.
1676 (signbit_test): Likewise.
1677 (sin_test): Likewise.
1678 (sin_test_tonearest): Likewise.
1679 (sin_test_towardzero): Likewise.
1680 (sin_test_downward): Likewise.
1681 (sin_test_upward): Likewise.
1682 (sincos_test): Likewise.
1683 (sinh_test): Likewise.
1684 (sinh_test_tonearest): Likewise.
1685 (sinh_test_towardzero): Likewise.
1686 (sinh_test_downward): Likewise.
1687 (sinh_test_upward): Likewise.
1688 (sqrt_test): Likewise.
1689 (tan_test): Likewise.
1690 (tan_test_tonearest): Likewise.
1691 (tan_test_towardzero): Likewise.
1692 (tan_test_downward): Likewise.
1693 (tan_test_upward): Likewise.
1694 (tanh_test): Likewise.
1695 (tgamma_test): Likewise.
1696 (trunc_test): Likewise.
1697 (y0_test): Likewise.
1698 (y1_test): Likewise.
1699 (yn_test): Likewise.
1700 (significand_test): Likewise.
1702 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
1705 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1707 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1710 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1711 __ppc_mdoio and __ppc_mdoom.
1712 * manual/platform.texi: Document new functions __ppc_yield,
1713 __ppc_mdoio and __ppc_mdoom.
1715 2013-05-22 Carlos O'Donell <carlos@redhat.com>
1717 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1718 (main): Mention "tls" pseudo-hwcap is legacy.
1719 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1721 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1723 * math/gen-libm-test.pl (parse_args): Output only string of
1724 arguments as text for test name, not full call or descriptions of
1725 tests for extra outputs.
1726 (generate_testfile): Do not pass function name to parse_args.
1727 Generate this_func variable from START.
1728 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1730 (struct test_ff_f_data): Likewise.
1731 (test_ff_f_data_nexttoward): Likewise.
1732 (struct test_fi_f_data): Likewise.
1733 (struct test_fl_f_data): Likewise.
1734 (struct test_if_f_data): Likewise.
1735 (struct test_fff_f_data): Likewise.
1736 (struct test_c_f_data): Likewise.
1737 (struct test_f_f1_data): Likewise. Remove field extra_name.
1738 (struct test_fF_f1_data): Likewise.
1739 (struct test_ffI_f1_data): Likewise.
1740 (struct test_c_c_data): Rename test_name field to arg_str.
1741 (struct test_cc_c_data): Likewise.
1742 (struct test_f_i_data): Likewise.
1743 (struct test_ff_i_data): Likewise.
1744 (struct test_f_l_data): Likewise.
1745 (struct test_f_L_data): Likewise.
1746 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1748 (COMMON_TEST_SETUP): New macro.
1749 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1750 (COMMON_TEST_CLEANUP): Likewise.
1751 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1752 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1754 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1755 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1757 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1758 (RUN_TEST_fff_f): Take argument string. Call new setup and
1760 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1761 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1763 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1764 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1766 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1767 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1769 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1770 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1772 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1773 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1775 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1776 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1778 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1779 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1781 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1782 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1784 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1785 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1787 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1788 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1790 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1791 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1793 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1794 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1796 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1797 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1799 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1800 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1802 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1803 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1805 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1807 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1809 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1810 to _sifields.sigfault.
1811 (si_addr_lsb): Define new macro.
1812 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1813 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1814 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1816 2013-05-03 Carlos O'Donell <carlos at redhat.com>
1819 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1821 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1823 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1826 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1828 * math/gen-libm-test.pl (parse_args): Do not include expected
1829 result in test name.
1830 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1831 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1832 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1833 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1834 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1837 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1839 * benchtests/Makefile: Sort function entries.
1841 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1842 tanh, asinh, acosh, atanh.
1843 * benchtests/acos-inputs: New file.
1844 * benchtests/acosh-inputs: New file.
1845 * benchtests/asin-inputs: New file.
1846 * benchtests/asinh-inputs: New file.
1847 * benchtests/atanh-inputs: New file.
1848 * benchtests/cosh-inputs: New file.
1849 * benchtests/log-inputs: New file.
1850 * benchtests/sinh-inputs: New file.
1851 * benchtests/tanh-inputs: New file.
1853 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1856 * posix/tst-getaddrinfo4.c: New test.
1857 * posix/Makefile (tests): Add it.
1859 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1862 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1863 when no services were used.
1864 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1865 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1867 2013-05-21 Andreas Schwab <schwab@suse.de>
1870 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1871 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1873 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1874 redundant variable declarations and reallocation of buffer when
1875 parsing as IPv6 address. Always set NSS status when called from
1876 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1877 buffer too small. Correct computation of needed size.
1878 * nss/Makefile (tests): Add test-digits-dots.
1879 * nss/test-digits-dots.c: New test.
1881 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1883 * benchtests/Makefile: Remove instructions for adding
1885 * benchtests/README: New file to explain how to execute and
1886 enhance the benchmark tests.
1888 2013-05-21 Andreas Schwab <schwab@suse.de>
1891 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1892 * setjmp/tst-sigsetjmp.c: New test.
1894 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1896 * sysdeps/x86_64/memset.S (memset): New implementation.
1897 (__bzero): Likewise.
1898 (__memset_tail): New function.
1900 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1902 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1903 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1904 __memcpy_sse2_unaligned ifunc selection.
1905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1906 Add memcpy-sse2-unaligned.S.
1907 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1908 Add: __memcpy_sse2_unaligned.
1910 2013-05-19 Joseph Myers <joseph@codesourcery.com>
1913 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1914 math_force_eval before restoring floating-point envrionment.
1915 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1916 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1918 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1920 (__nearbyintl): Use math_force_eval before restoring
1921 floating-point environment.
1922 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1924 * math/gen-libm-test.pl (special_functions): Remove.
1925 (parse_args): Don't handle TEST_extra. Handle functions with no
1927 * math/libm-test.inc (struct test_sincos_data): Replace with
1928 struct test_fFF_11_data.
1929 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1930 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1931 (sincos_test_data): Change element type to struct
1932 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1933 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1934 RUN_TEST_LOOP_sincos.
1935 * math/README.libm-test: Don't mention special handling of
1936 individual functions.
1937 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1938 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1939 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1940 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1941 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1944 * math/gen-libm-test.pl (get_variable): Remove function.
1945 (parse_args): Don't show pointer parameters to call in test
1946 names. Use "extra output N" in test names for extra outputs
1947 rather than naming variables.
1949 2013-05-18 Joseph Myers <joseph@codesourcery.com>
1952 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1953 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1954 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1956 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1958 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1961 * math/gen-libm-test.pl (@tests): Remove variable.
1963 (new_test): Remove function.
1964 (show_exceptions): New function.
1965 (special_functions): Use show_exceptions instead of new_test.
1966 (parse_args): Likewise.
1967 (generate_testfile): Pass only function name in generated call to
1968 print_max_error or print_complex_max_error.
1969 (get_ulps): Do not handle complex tests specially.
1970 (output_test): Rename to ...
1971 (get_all_ulps_for_test): ... this. Return a string rather than
1972 printing to a file. Require ulps to be present.
1973 (output_ulps): Generate arrays rather than #defines.
1974 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1975 (struct ulp_data): New type.
1976 (BUILD_COMPLEX_ULP): Remove macro.
1977 (compare_ulp_data): New function.
1978 (find_ulps): Likewise.
1979 (find_test_ulps): Likewise.
1980 (find_function_ulps): Likewise.
1981 (find_complex_function_ulps): Likewise.
1982 (print_max_error): Determine allowed ulps using
1984 (print_complex_max_error): Determine allowed ulps using
1985 find_complex_function_ulps.
1986 (check_float_internal): Determine max ulps using find_test_ulps.
1987 (check_float): Do not take max_ulp parameter. Update call to
1988 check_float_internal.
1989 (check_complex): Likewise.
1990 (check_int): Do not take max_ulp parameter.
1991 (check_long): Likewise.
1992 (check_bool): Likewise.
1993 (check_longlong): Likewise.
1994 (struct test_f_f_data): Remove max_ulp field.
1995 (struct test_ff_f_data): Likewise.
1996 (struct test_ff_f_data_nexttoward): Likewise.
1997 (struct test_fi_f_data): Likewise.
1998 (struct test_fl_f_data): Likewise.
1999 (struct test_if_f_data): Likewise.
2000 (struct test_fff_f_data): Likewise.
2001 (struct test_c_f_data): Likewise.
2002 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2003 (struct test_fF_f1_data): Likewise.
2004 (struct test_ffI_f1_data): Likewise.
2005 (struct test_c_c_data): Remove max_ulp field.
2006 (struct test_cc_c_data): Likewise.
2007 (struct test_f_i_data): Likewise.
2008 (struct test_ff_i_data): Likewise.
2009 (struct test_f_l_data): Likewise.
2010 (struct test_f_L_data): Likewise.
2011 (struct test_sincos_data): Likewise.
2012 (RUN_TEST_f_f): Do not handle ulps.
2013 (RUN_TEST_LOOP_f_f): Likewise.
2014 (RUN_TEST_2_f): Likewise.
2015 (RUN_TEST_LOOP_2_f): Likewise.
2016 (RUN_TEST_fff_f): Likewise.
2017 (RUN_TEST_LOOP_fff_f): Likewise.
2018 (RUN_TEST_c_f): Likewise.
2019 (RUN_TEST_LOOP_c_f): Likewise.
2020 (RUN_TEST_f_f1): Likewise.
2021 (RUN_TEST_LOOP_f_f1): Likewise.
2022 (RUN_TEST_fF_f1): Likewise.
2023 (RUN_TEST_LOOP_fF_f1): Likewise.
2024 (RUN_TEST_fI_f1): Likewise.
2025 (RUN_TEST_LOOP_fI_f1): Likewise.
2026 (RUN_TEST_ffI_f1): Likewise.
2027 (RUN_TEST_LOOP_ffI_f1): Likewise.
2028 (RUN_TEST_c_c): Likewise.
2029 (RUN_TEST_LOOP_c_c): Likewise.
2030 (RUN_TEST_cc_c): Likewise.
2031 (RUN_TEST_LOOP_cc_c): Likewise.
2032 (RUN_TEST_f_i): Likewise.
2033 (RUN_TEST_LOOP_f_i): Likewise.
2034 (RUN_TEST_f_i_tg): Likewise.
2035 (RUN_TEST_LOOP_f_i_tg): Likewise.
2036 (RUN_TEST_ff_i_tg): Likewise.
2037 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2038 (RUN_TEST_f_b): Likewise.
2039 (RUN_TEST_LOOP_f_b): Likewise.
2040 (RUN_TEST_f_b_tg): Likewise.
2041 (RUN_TEST_LOOP_f_b_tg): Likewise.
2042 (RUN_TEST_f_l): Likewise.
2043 (RUN_TEST_LOOP_f_l): Likewise.
2044 (RUN_TEST_f_L): Likewise.
2045 (RUN_TEST_LOOP_f_L): Likewise.
2046 (RUN_TEST_sincos): Likewise.
2047 (RUN_TEST_LOOP_sincos): Likewise.
2049 2013-05-17 Joseph Myers <joseph@codesourcery.com>
2053 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2054 main case of finite arguments, set rounding mode to FE_TONEAREST
2055 and discard exceptions.
2056 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2058 (remainder_tonearest_test_data): New variable.
2059 (remainder_test_tonearest): New function.
2060 (remainder_towardzero_test_data): New variable.
2061 (remainder_test_towardzero): New function.
2062 (remainder_downward_test_data): New variable.
2063 (remainder_test_downward): New function.
2064 (remainder_upward_test_data): New variable.
2065 (remainder_test_upward): New function.
2066 (main): Call the new test functions.
2068 * math/libm-test.inc (struct test_f_f1_data): Remove field
2070 (struct test_fF_f1_data): Likewise.
2071 (struct test_ffI_f1_data): Likewise.
2072 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2073 based on value of EXTRA_EXPECTED.
2074 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2075 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2076 EXTRA_VAR based on value of EXTRA_EXPECTED.
2077 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2078 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2079 EXTRA_VAR based on value of EXTRA_EXPECTED.
2080 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2081 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2082 EXTRA_VAR based on value of EXTRA_EXPECTED.
2083 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2084 * math/gen-libm-test.pl (parse_args): Don't output initializers
2085 for extra output values.
2087 * math/libm-test.inc (check_int): Expect result to be exactly
2088 equal to expected value and do not handle ulps.
2089 (check_long): Likewise.
2090 (check_longlong): Likewise.
2092 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2094 (cimag_test_data): Likewise.
2095 (conj_test_data): Likewise.
2096 (copysign_test_data): Likewise.
2097 (cproj_test_data): Likewise.
2098 (creal_test_data): Likewise.
2099 (fabs_test_data): Likewise.
2100 (fdim_test_data): Likewise.
2101 (finite_test_data): Likewise.
2102 (floor_test_data): Likewise.
2103 (fmax_test_data): Likewise.
2104 (fmin_test_data): Likewise.
2105 (fmod_test_data): Likewise.
2106 (fpclassify_test_data): Likewise.
2107 (frexp_test_data): Likewise.
2108 (ilogb_test_data): Likewise.
2109 (isfinite_test_data): Likewise.
2110 (isgreater_test_data): Likewise.
2111 (isgreaterequal_test_data): Likewise.
2112 (isinf_test_data): Likewise.
2113 (isless_test_data): Likewise.
2114 (islessequal_test_data): Likewise.
2115 (islessgreater_test_data): Likewise.
2116 (isnan_test_data): Likewise.
2117 (isnormal_test_data): Likewise.
2118 (issignaling_test_data): Likewise.
2119 (isunordered_test_data): Likewise.
2120 (ldexp_test_data): Likewise.
2121 (lrint_test_data): Likewise.
2122 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2123 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2124 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2125 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2126 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2127 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2129 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2130 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2131 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2132 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2134 (lrint_downward_test_data): Test for "inexact" exceptions.
2135 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2136 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2137 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2139 (lrint_upward_test_data): Test for "inexact" exceptions.
2140 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2142 (llrint_test_data): Test for "inexact" exceptions.
2143 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2144 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2145 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2146 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2147 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2148 (llrint_downward_test_data): Test for "inexact" exceptions.
2149 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2150 (llrint_upward_test_data): Test for "inexact" exceptions.
2151 (logb_test_data): Likewise.
2152 (logb_downward_test_data): Likewise.
2153 (nextafter_test_data): Likewise.
2154 (nexttoward_test_data): Likewise.
2155 (remainder_test_data): Likewise.
2156 (remquo_test_data): Likewise.
2157 (scalbn_test_data): Likewise.
2158 (scalbln_test_data): Likewise.
2159 (signbit_test_data): Likewise.
2160 (sqrt_test_data): Likewise.
2161 (significand_test_data): Likewise.
2163 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2166 * benchtests/bench-modf.c (struct args): Mark arg0 as
2168 * scripts/bench.pl: Mark members of struct args as volatile.
2170 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2173 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2174 negative infinity on POWER6 or lower.
2175 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2177 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2180 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2181 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2182 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2183 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2184 (_FP_SETQNAN): New macro.
2185 (_FP_SETQNAN_SEMIRAW): Likewise.
2186 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2187 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2188 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2189 (FP_EXTEND): Use _FP_FRAC_SNANP.
2190 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2191 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2193 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2195 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2198 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2200 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2201 with DIVIDE_BY_ZERO_EXCEPTION.
2202 (gamma_test_data): Likewise.
2203 (lgamma_test_data): Likewise.
2204 (log_test_data): Likewise.
2205 (log10_test_data): Likewise.
2206 (log2_test_data): Likewise.
2207 (tgamma_test_data): Likewise.
2209 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2210 (acos_test_tonearest): Likewise.
2211 (acos_test_towardzero): Likewise.
2212 (acos_test_downward): Likewise.
2213 (acos_test_upward): Likewise.
2214 (acosh_test): Likewise.
2215 (asin_test): Likewise.
2216 (asin_test_tonearest): Likewise.
2217 (asin_test_towardzero): Likewise.
2218 (asin_test_downward): Likewise.
2219 (asin_test_upward): Likewise.
2220 (asinh_test): Likewise.
2221 (atan_test): Likewise.
2222 (atanh_test): Likewise.
2223 (atan2_test): Likewise.
2224 (cabs_test): Likewise.
2225 (cacos_test): Likewise.
2226 (cacosh_test): Likewise.
2227 (casin_test): Likewise.
2228 (casinh_test): Likewise.
2229 (catan_test): Likewise.
2230 (catanh_test): Likewise.
2231 (cbrt_test): Likewise.
2232 (ccos_test): Likewise.
2233 (ccosh_test): Likewise.
2234 (cexp_test): Likewise.
2235 (clog_test): Likewise.
2236 (clog10_test): Likewise.
2237 (cos_test): Likewise.
2238 (cos_test_tonearest): Likewise.
2239 (cos_test_towardzero): Likewise.
2240 (cos_test_downward): Likewise.
2241 (cos_test_upward): Likewise.
2242 (cosh_test): Likewise.
2243 (cosh_test_tonearest): Likewise.
2244 (cosh_test_towardzero): Likewise.
2245 (cosh_test_downward): Likewise.
2246 (cosh_test_upward): Likewise.
2247 (cpow_test): Likewise.
2248 (csin_test): Likewise.
2249 (csinh_test): Likewise.
2250 (csqrt_test): Likewise.
2251 (ctan_test): Likewise.
2252 (ctan_test_tonearest): Likewise.
2253 (ctan_test_towardzero): Likewise.
2254 (ctan_test_downward): Likewise.
2255 (ctan_test_upward): Likewise.
2256 (ctanh_test): Likewise.
2257 (ctanh_test_tonearest): Likewise.
2258 (ctanh_test_towardzero): Likewise.
2259 (ctanh_test_downward): Likewise.
2260 (ctanh_test_upward): Likewise.
2261 (erf_test): Likewise.
2262 (erfc_test): Likewise.
2263 (exp_test): Likewise.
2264 (exp_test_tonearest): Likewise.
2265 (exp_test_towardzero): Likewise.
2266 (exp_test_downward): Likewise.
2267 (exp_test_upward): Likewise.
2268 (exp10_test): Likewise.
2269 (exp2_test): Likewise.
2270 (expm1_test): Likewise.
2271 (fmod_test): Likewise.
2272 (gamma_test): Likewise.
2273 (hypot_test): Likewise.
2274 (j0_test): Likewise.
2275 (j1_test): Likewise.
2276 (jn_test): Likewise.
2277 (lgamma_test): Likewise.
2278 (log_test): Likewise.
2279 (log10_test): Likewise.
2280 (log1p_test): Likewise.
2281 (log2_test): Likewise.
2282 (logb_test_downward): Likewise.
2283 (pow_test): Likewise.
2284 (pow_test_tonearest): Likewise.
2285 (pow_test_towardzero): Likewise.
2286 (pow_test_downward): Likewise.
2287 (pow_test_upward): Likewise.
2288 (remainder_test): Likewise.
2289 (remquo_test): Likewise.
2290 (sin_test): Likewise.
2291 (sin_test_tonearest): Likewise.
2292 (sin_test_towardzero): Likewise.
2293 (sin_test_downward): Likewise.
2294 (sin_test_upward): Likewise.
2295 (sincos_test): Likewise.
2296 (sinh_test): Likewise.
2297 (sinh_test_tonearest): Likewise.
2298 (sinh_test_towardzero): Likewise.
2299 (sinh_test_downward): Likewise.
2300 (sinh_test_upward): Likewise.
2301 (sqrt_test): Likewise.
2302 (tan_test): Likewise.
2303 (tan_test_tonearest): Likewise.
2304 (tan_test_towardzero): Likewise.
2305 (tan_test_downward): Likewise.
2306 (tan_test_upward): Likewise.
2307 (tanh_test): Likewise.
2308 (tgamma_test): Likewise.
2309 (y0_test): Likewise.
2310 (y1_test): Likewise.
2311 (yn_test): Likewise.
2313 * math/gen-libm-test.pl (adjust_arg): Remove function.
2314 (special_function): Remove argument $in_func. Only handle
2315 generating output for tables of tests, not inside functions.
2316 (parse_args): Likewise.
2317 (generate_testfile): Remove variable $in_func. Update call to
2319 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2320 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2321 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2322 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2323 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2324 (MAX_VALUE_INIT): Rename macro to max_value.
2325 (MIN_VALUE_INIT): Rename macro to min_value.
2326 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2327 (plus_zero): Remove variable.
2328 (minus_zero): Likewise.
2329 (plus_infty): Likewise.
2330 (minus_infty): Likewise.
2331 (qnan_value): Likewise.
2332 (max_value): Likewise.
2333 (min_value): Likewise.
2334 (min_subnorm_value): Likewise.
2336 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2338 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2339 uint64_t or uint32_t usage.
2340 * crypt/sha256-block.c: Likewise.
2341 * crypt/sha256-crypt.c: Likewise.
2342 * crypt/sha256.c: Likewise.
2343 * crypt/sha512-block.c: Likewise.
2344 * crypt/sha512-crypt.c: Likewise.
2345 * crypt/sha512.c: Likewise.
2346 * debug/backtrace-tst.c: Likewise.
2347 * debug/pcprofiledump.c: Likewise.
2348 * elf/cache.c: Likewise.
2349 * elf/dl-cache.c: Likewise.
2350 * elf/dl-misc.c: Likewise.
2351 * elf/dl-profile.c: Likewise.
2352 * elf/dl-support.c: Likewise.
2353 * elf/ldconfig.c: Likewise.
2354 * elf/sprof.c: Likewise.
2355 * iconv/dummy-repertoire.c: Likewise.
2356 * iconv/iconv_charmap.c: Likewise.
2357 * iconv/skeleton.c: Likewise.
2358 * iconvdata/8bit-generic.c: Likewise.
2359 * iconvdata/cp737.h: Likewise.
2360 * iconvdata/cp775.h: Likewise.
2361 * iconvdata/ibm1008.h: Likewise.
2362 * iconvdata/ibm1025.h: Likewise.
2363 * iconvdata/ibm1046.h: Likewise.
2364 * iconvdata/ibm1097.h: Likewise.
2365 * iconvdata/ibm1112.h: Likewise.
2366 * iconvdata/ibm1122.h: Likewise.
2367 * iconvdata/ibm1123.h: Likewise.
2368 * iconvdata/ibm1124.h: Likewise.
2369 * iconvdata/ibm1129.h: Likewise.
2370 * iconvdata/ibm1130.h: Likewise.
2371 * iconvdata/ibm1132.h: Likewise.
2372 * iconvdata/ibm1133.h: Likewise.
2373 * iconvdata/ibm1137.h: Likewise.
2374 * iconvdata/ibm1140.h: Likewise.
2375 * iconvdata/ibm1141.h: Likewise.
2376 * iconvdata/ibm1142.h: Likewise.
2377 * iconvdata/ibm1143.h: Likewise.
2378 * iconvdata/ibm1144.h: Likewise.
2379 * iconvdata/ibm1145.h: Likewise.
2380 * iconvdata/ibm1146.h: Likewise.
2381 * iconvdata/ibm1147.h: Likewise.
2382 * iconvdata/ibm1148.h: Likewise.
2383 * iconvdata/ibm1149.h: Likewise.
2384 * iconvdata/ibm1153.h: Likewise.
2385 * iconvdata/ibm1154.h: Likewise.
2386 * iconvdata/ibm1155.h: Likewise.
2387 * iconvdata/ibm1156.h: Likewise.
2388 * iconvdata/ibm1157.h: Likewise.
2389 * iconvdata/ibm1158.h: Likewise.
2390 * iconvdata/ibm1160.h: Likewise.
2391 * iconvdata/ibm1161.h: Likewise.
2392 * iconvdata/ibm1162.h: Likewise.
2393 * iconvdata/ibm1163.h: Likewise.
2394 * iconvdata/ibm1164.h: Likewise.
2395 * iconvdata/ibm1166.h: Likewise.
2396 * iconvdata/ibm1167.h: Likewise.
2397 * iconvdata/ibm12712.h: Likewise.
2398 * iconvdata/ibm1390.h: Likewise.
2399 * iconvdata/ibm1399.h: Likewise.
2400 * iconvdata/ibm16804.h: Likewise.
2401 * iconvdata/ibm4517.h: Likewise.
2402 * iconvdata/ibm4899.h: Likewise.
2403 * iconvdata/ibm4909.h: Likewise.
2404 * iconvdata/ibm4971.h: Likewise.
2405 * iconvdata/ibm5347.h: Likewise.
2406 * iconvdata/ibm803.h: Likewise.
2407 * iconvdata/ibm856.h: Likewise.
2408 * iconvdata/ibm901.h: Likewise.
2409 * iconvdata/ibm902.h: Likewise.
2410 * iconvdata/ibm9030.h: Likewise.
2411 * iconvdata/ibm9066.h: Likewise.
2412 * iconvdata/ibm921.h: Likewise.
2413 * iconvdata/ibm922.h: Likewise.
2414 * iconvdata/ibm9448.h: Likewise.
2415 * iconvdata/isiri-3342.h: Likewise.
2416 * iconvdata/jis0201.h: Likewise.
2417 * include/link.h: Likewise.
2418 * include/netdb.h: Likewise.
2419 * inet/check_native.c: Likewise.
2420 * inet/check_pf.c: Likewise.
2421 * inet/getipv4sourcefilter.c: Likewise.
2422 * inet/getnameinfo.c: Likewise.
2423 * inet/getsourcefilter.c: Likewise.
2424 * inet/htonl.c: Likewise.
2425 * inet/setipv4sourcefilter.c: Likewise.
2426 * inet/setsourcefilter.c: Likewise.
2427 * inet/test-inet6_opt.c: Likewise.
2428 * inet/tst-network.c: Likewise.
2429 * locale/C-collate.c: Likewise.
2430 * locale/C-ctype.c: Likewise.
2431 * locale/C-time.c: Likewise.
2432 * locale/C-translit.h: Likewise.
2433 * locale/loadarchive.c: Likewise.
2434 * locale/programs/3level.h: Likewise.
2435 * locale/programs/charmap.c: Likewise.
2436 * locale/programs/charmap.h: Likewise.
2437 * locale/programs/ld-address.c: Likewise.
2438 * locale/programs/ld-collate.c: Likewise.
2439 * locale/programs/ld-ctype.c: Likewise.
2440 * locale/programs/ld-identification.c: Likewise.
2441 * locale/programs/ld-measurement.c: Likewise.
2442 * locale/programs/ld-messages.c: Likewise.
2443 * locale/programs/ld-monetary.c: Likewise.
2444 * locale/programs/ld-name.c: Likewise.
2445 * locale/programs/ld-numeric.c: Likewise.
2446 * locale/programs/ld-paper.c: Likewise.
2447 * locale/programs/ld-telephone.c: Likewise.
2448 * locale/programs/ld-time.c: Likewise.
2449 * locale/programs/linereader.c: Likewise.
2450 * locale/programs/locale.c: Likewise.
2451 * locale/programs/locarchive.c: Likewise.
2452 * locale/programs/locfile.h: Likewise.
2453 * locale/programs/repertoire.c: Likewise.
2454 * locale/programs/simple-hash.c: Likewise.
2455 * locale/programs/simple-hash.h: Likewise.
2456 * malloc/memusage.c: Likewise.
2457 * malloc/memusagestat.c: Likewise.
2458 * nis/nis_defaults.c: Likewise.
2459 * nis/nis_hash.c: Likewise.
2460 * nis/nis_print.c: Likewise.
2461 * nis/nis_xdr.c: Likewise.
2462 * nscd/connections.c: Likewise.
2463 * nscd/hstcache.c: Likewise.
2464 * nscd/nscd_gethst_r.c: Likewise.
2465 * nscd/nscd_getserv_r.c: Likewise.
2466 * nscd/nscd_helper.c: Likewise.
2467 * nscd/servicescache.c: Likewise.
2468 * nss/makedb.c: Likewise.
2469 * nss/nss_db/db-XXX.c: Likewise.
2470 * nss/nss_db/db-initgroups.c: Likewise.
2471 * nss/nss_db/db-netgrp.c: Likewise.
2472 * nss/nss_files/files-network.c: Likewise.
2473 * nss/nss_files/files-parse.c: Likewise.
2474 * posix/bug-regex5.c: Likewise.
2475 * posix/fnmatch_loop.c: Likewise.
2476 * posix/regcomp.c: Likewise.
2477 * posix/regexec.c: Likewise.
2478 * posix/tst-rfc3484-2.c: Likewise.
2479 * posix/tst-rfc3484-3.c: Likewise.
2480 * posix/tst-rfc3484.c: Likewise.
2481 * resolv/nss_dns/dns-canon.c: Likewise.
2482 * resolv/nss_dns/dns-network.c: Likewise.
2483 * resolv/res_init.c: Likewise.
2484 * resolv/res_mkquery.c: Likewise.
2485 * resolv/tst-aton.c: Likewise.
2486 * stdlib/cxa_atexit.c: Likewise.
2487 * stdlib/cxa_finalize.c: Likewise.
2488 * stdlib/gen-fpioconst.c: Likewise.
2489 * stdlib/strtol_l.c: Likewise.
2490 * string/tst-endian.c: Likewise.
2491 * sunrpc/auth_des.c: Likewise.
2492 * sunrpc/clnt_udp.c: Likewise.
2493 * sunrpc/rtime.c: Likewise.
2494 * sunrpc/svcauth_des.c: Likewise.
2495 * sunrpc/xdr.c: Likewise.
2496 * sunrpc/xdr_intXX_t.c: Likewise.
2497 * sunrpc/xdr_rec.c: Likewise.
2498 * sysdeps/generic/ldconfig.h: Likewise.
2499 * sysdeps/generic/ldsodefs.h: Likewise.
2500 * sysdeps/generic/memusage.h: Likewise.
2501 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2502 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2503 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2504 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2505 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2506 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2507 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2508 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2509 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2510 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2511 * sysdeps/posix/getaddrinfo.c: Likewise.
2512 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2513 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2514 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2515 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2516 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2517 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2518 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2519 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2520 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2521 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2522 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2523 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2524 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2525 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2526 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2527 * sysdeps/x86_64/dl-tls.h: Likewise.
2528 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2529 * time/alt_digit.c: Likewise.
2530 * time/era.c: Likewise.
2531 * wcsmbs/tst-c16c32-1.c: Likewise.
2533 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2535 * math/libm-test.inc (struct test_sincos_data): New type.
2536 (RUN_TEST_LOOP_sincos): New macro.
2537 (sincos_test_data): New variable.
2538 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2540 2013-05-16 Richard Henderson <rth@redhat.com>
2542 * math/atest-exp2.c (LIMB64): New macro.
2543 (CONSTSZ): New macro.
2544 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2546 (print_mpn_fp): ... to function scope.
2547 (read_mpn_hex): Remove.
2549 (exp2_mpn): Use mp_log2.
2550 (main): Use mp_exp1.
2552 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2554 * math/libm-test.inc: Remove comment about not testing "inexact"
2556 (INEXACT_EXCEPTION): New macro.
2557 (NO_INEXACT_EXCEPTION): Likewise.
2558 (INVALID_EXCEPTION_OK): Update value.
2559 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2560 (OVERFLOW_EXCEPTION_OK): Likewise.
2561 (UNDERFLOW_EXCEPTION_OK): Likewise.
2562 (IGNORE_ZERO_INF_SIGN): Likewise.
2563 (ERRNO_UNCHANGED): Likewise.
2564 (ERRNO_EDOM): Likewise.
2565 (ERRNO_ERANGE): Likewise.
2566 (test_exceptions): Handle testing "inexact" exceptions.
2567 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2568 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2569 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2570 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2572 (rint_towardzero_test_data): Likewise.
2573 (rint_downward_test_data): Likewise.
2574 (rint_upward_test_data): Likewise.
2576 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2577 with OVERFLOW_EXCEPTION.
2578 (exp10_test_data): Likewise.
2579 (exp2_test_data): Likewise.
2580 (expm1_test_data): Likewise.
2581 (lgamma_test_data): Likewise.
2582 (pow_test_data): Likewise.
2583 (tgamma_test_data): Likewise.
2584 (yn_test_data): Remove duplicate test of overflow.
2586 * math/libm-test.inc (struct test_cc_c_data): New type.
2587 (RUN_TEST_LOOP_cc_c): New macro.
2588 (cpow_test_data): New variable.
2589 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2591 * math/libm-test.inc (struct test_f_L_data): New type.
2592 (RUN_TEST_LOOP_f_L): New macro.
2593 (llrint_test_data): New variable.
2594 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2595 (llrint_tonearest_test_data): New variable.
2596 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2597 (llrint_towardzero_test_data): New variable.
2598 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2599 (llrint_downward_test_data): New variable.
2600 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2601 (llrint_upward_test_data): New variable.
2602 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2603 (llround_test_data): New variable.
2604 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2606 2013-05-13 Peter Collingbourne <pcc@google.com>
2608 * math/atest-exp2.c (get_log2): Remove const attribute.
2610 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2612 * math/libm-test.inc (struct test_f_l_data): New type.
2613 (RUN_TEST_LOOP_f_l): New macro.
2614 (lrint_test_data): New variable.
2615 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2616 (lrint_tonearest_test_data): New variable.
2617 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2618 (lrint_towardzero_test_data): New variable.
2619 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2620 (lrint_downward_test_data): New variable.
2621 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2622 (lrint_upward_test_data): New variable.
2623 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2624 (lround_test_data): New variable.
2625 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2627 2013-05-15 Peter Collingbourne <pcc@google.com>
2629 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2630 (EXTRACT_WORDS64) Use where appropriate.
2631 (INSERT_WORDS64) Likewise.
2633 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2634 constraints with x constraints.
2635 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2637 * malloc/obstack.c (_obstack_compat): Add initializer.
2639 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2641 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2642 si_trapno and add si_addr_lsb to _sifields.sigfault.
2643 (si_trapno): Remove macro.
2644 (si_addr_lsb): Define new macro.
2645 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2647 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2649 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2650 instead of TEST_f_l.
2651 (llrint_test_tonearest): Likewise.
2652 (llrint_test_towardzero): Likewise.
2653 (llrint_test_downward): Likewise.
2654 (llrint_test_upward): Likewise.
2655 (llround_test): Likewise.
2657 * math/libm-test.inc (struct test_f_i_data): Add comment.
2658 (RUN_TEST_LOOP_f_b): New macro.
2659 (RUN_TEST_LOOP_f_b_tg): Likewise.
2660 (finite_test_data): New variable.
2661 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2662 (isfinite_test_data): New variable.
2663 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2664 (isinf_test_data): New variable.
2665 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2666 (isnan_test_data): New variable.
2667 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2668 (isnormal_test_data): New variable.
2669 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2670 (issignaling_test_data): New variable.
2671 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2672 (signbit_test_data): New variable.
2673 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2675 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2676 with INVALID_EXCEPTION.
2677 (acosh_test_data): Likewise.
2678 (asin_test_data): Likewise.
2679 (atanh_test_data): Likewise.
2680 (fmod_test_data): Likewise.
2681 (log_test_data): Likewise.
2682 (log10_test_data): Likewise.
2683 (log2_test_data): Likewise.
2684 (pow_test_data): Likewise.
2685 (sqrt_test_data): Likewise.
2686 (y0_test_data): Likewise.
2687 (y1_test_data): Likewise.
2688 (yn_test_data): Likewise.
2690 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2693 * math/libm-test.inc (struct test_ff_i_data): New type.
2694 (RUN_TEST_LOOP_ff_i_tg): New macro.
2695 (isgreater_test_data): New variable.
2696 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2697 (isgreaterequal_test_data): New variable.
2698 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2699 (isless_test_data): New variable.
2700 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2701 (islessequal_test_data): New variable.
2702 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2703 (islessgreater_test_data): New variable.
2704 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2705 (isunordered_test_data): New variable.
2706 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2708 2013-05-14 David S. Miller <davem@davemloft.net>
2710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2712 2013-05-14 Joseph Myers <joseph@codesourcery.com>
2714 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2716 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2718 (struct test_f_i_data): Change type of max_ulp to int.
2720 * math/libm-test.inc (test_ffI_f1_data): New type.
2721 (RUN_TEST_LOOP_ffI_f1): New macro.
2722 (remquo_test_data): New variable.
2723 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2725 * setjmp/tst-setjmp-fp.c: New file.
2726 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2727 (link-libm): New variable.
2728 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2730 * math/libm-test.inc (struct test_f_i_data): New type.
2731 (RUN_TEST_LOOP_f_i): New macro.
2732 (RUN_TEST_LOOP_f_i_tg): Likewise.
2733 (fpclassify_test_data): New variable.
2734 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2735 (ilogb_test_data): New variable.
2736 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2738 * math/libm-test.inc (scalbln_test): Correct function name in END
2741 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2742 (RUN_TEST_LOOP_fI_f1): New macro.
2743 (frexp_test_data): New variable.
2744 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2746 * math/libm-test.inc (struct test_fF_f1_data): New type.
2747 (RUN_TEST_LOOP_fF_f1): New macro.
2748 (modf_test_data): New variable.
2749 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2751 * math/libm-test.inc (struct test_f_f1_data): New type.
2752 (RUN_TEST_LOOP_f_f1): New macro.
2753 (gamma_test_data): New variable.
2754 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2755 (lgamma_test_data): New variable.
2756 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2758 2013-05-13 Carlos O'Donell <carlos@redhat.com>
2760 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2761 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2762 (main): Comment "tls" pseudo-hwcap.
2764 2013-05-13 Joseph Myers <joseph@codesourcery.com>
2766 * math/libm-test.inc (struct test_fl_f_data): New type.
2767 (RUN_TEST_LOOP_fl_f): New variable.
2768 (scalbln_test_data): New variable.
2769 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2771 * math/libm-test.inc (struct test_fi_f_data): New type.
2772 (RUN_TEST_LOOP_fi_f): New macro.
2773 (ldexp_test_data): New variable.
2774 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2775 (scalbn_test_data): New variable.
2776 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2778 * math/libm-test.inc (struct test_c_f_data): New type.
2779 (RUN_TEST_LOOP_c_f): New macro.
2780 (cabs_test_data): New variable.
2781 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2782 (carg_test_data): New variable.
2783 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2784 (cimag_test_data): New variable.
2785 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2786 (creal_test_data): New variable.
2787 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2789 * math/libm-test.inc (struct test_if_f_data): New type.
2790 (RUN_TEST_LOOP_if_f): New macro.
2791 (jn_test_data): New variable.
2792 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2793 (yn_test_data): New variable.
2794 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2796 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2798 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2800 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2801 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2803 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2805 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2806 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2807 (bench-deps): Add bench-timing.h.
2808 * benchtests-bench-skeleton.c: Include bench-timing.h.
2809 (main): Use TIMING_* macros instead of clock_gettime.
2810 * benchtests/bench-timing.h: New file.
2813 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2814 Renamed from _LIB_VERSION.
2815 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2817 2013-05-12 Joseph Myers <joseph@codesourcery.com>
2819 * math/libm-test.inc (struct test_fff_f_data): New type.
2820 (RUN_TEST_LOOP_fff_f): New macro.
2821 (fma_test_data): New variable.
2822 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2823 (fma_towardzero_test_data): New variable.
2824 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2825 (fma_downward_test_data): New variable.
2826 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2827 (fma_upward_test_data): New variable.
2828 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2830 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2831 (struct test_c_c_data): New type.
2832 (RUN_TEST_LOOP_c_c): New macro.
2833 (cacos_test_data): New variable.
2834 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2835 (cacosh_test_data): New variable.
2836 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2837 (casin_test_data): New variable.
2838 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2839 (casinh_test_data): New variable.
2840 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2841 (catan_test_data): New variable.
2842 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2843 (catanh_test_data): New variable.
2844 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2845 (ccos_test_data): New variable.
2846 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2847 (ccosh_test_data): New variable.
2848 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2849 (cexp_test_data): New variable.
2850 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2851 (clog_test_data): New variable.
2852 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2853 (clog10_test_data): New variable.
2854 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2855 (conj_test_data): New variable.
2856 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2857 (cproj_test_data): New variable.
2858 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2859 (csin_test_data): New variable.
2860 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2861 (csinh_test_data): New variable.
2862 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2863 (csqrt_test_data): New variable.
2864 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2865 (ctan_test_data): New variable.
2866 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2867 (ctan_tonearest_test_data): New variable.
2868 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2869 (ctan_towardzero_test_data): New variable.
2870 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2871 (ctan_downward_test_data): New variable.
2872 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2873 (ctan_upward_test_data): New variable.
2874 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2875 (ctanh_test_data): New variable.
2876 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2877 (ctanh_tonearest_test_data): New variable.
2878 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2879 (ctanh_towardzero_test_data): New variable.
2880 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2881 (ctanh_downward_test_data): New variable.
2882 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2883 (ctanh_upward_test_data): New variable.
2884 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2885 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2888 * math/libm-test.inc (struct test_ff_f_data): New type.
2889 (struct test_ff_f_data_nexttoward): Likewise.
2890 (RUN_TEST_LOOP_2_f): New macro.
2891 (RUN_TEST_LOOP_ff_f): Likewise.
2892 (atan2_test_data): New variable.
2893 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2894 (copysign_test_data): New variable.
2895 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2896 (fdim_test_data): New variable.
2897 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2898 (fmax_test_data): New variable.
2899 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2900 (fmin_test_data): New variable.
2901 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2902 (fmod_test_data): New variable.
2903 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2904 (hypot_test_data): New variable.
2905 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2906 (nextafter_test_data): New variable.
2907 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2908 (nexttoward_test_data): New variable.
2909 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2910 (pow_test_data): New variable.
2911 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2912 (pow_tonearest_test_data): New variable.
2913 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2914 (pow_towardzero_test_data): New variable.
2915 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2916 (pow_downward_test_data): New variable.
2917 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2918 (pow_upward_test_data): New variable.
2919 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2920 (remainder_test_data): New variable.
2921 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2922 (scalb_test_data): New variable.
2923 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2924 * sysdeps/i386/fpu/libm-test-ulps: Update.
2926 2013-05-11 Joseph Myers <joseph@codesourcery.com>
2928 * math/libm-test.inc (fma_test): Use max_value instead of local
2930 (nextafter_test): Likewise.
2932 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2933 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2934 (acos_downward_test_data): New variable.
2935 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2936 (acos_upward_test_data): New variable.
2937 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2938 (acosh_test_data): New variable.
2939 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2940 (asin_test_data): New variable.
2941 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2942 (asin_tonearest_test_data): New variable.
2943 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2944 (asin_towardzero_test_data): New variable.
2945 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2946 (asin_downward_test_data): New variable.
2947 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2948 (asin_upward_test_data): New variable.
2949 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2950 (asinh_test_data): New variable.
2951 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2952 (atan_test_data): New variable.
2953 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2954 (atanh_test_data): New variable.
2955 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2956 (cbrt_test_data): New variable.
2957 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2958 (ceil_test_data): New variable.
2959 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2960 (cos_test_data): New variable.
2961 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2962 (cos_tonearest_test_data): New variable.
2963 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2964 (cos_towardzero_test_data): New variable.
2965 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2966 (cos_downward_test_data): New variable.
2967 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2968 (cos_upward_test_data): New variable.
2969 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2970 (cosh_test_data): New variable.
2971 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2972 (cosh_tonearest_test_data): New variable.
2973 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2974 (cosh_towardzero_test_data): New variable.
2975 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2976 (cosh_downward_test_data): New variable.
2977 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2978 (cosh_upward_test_data): New variable.
2979 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2980 (erf_test_data): New variable.
2981 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2982 (erfc_test_data): New variable.
2983 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2984 (exp_test_data): New variable.
2985 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2986 (exp_tonearest_test_data): New variable.
2987 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2988 (exp_towardzero_test_data): New variable.
2989 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2990 (exp_downward_test_data): New variable.
2991 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2992 (exp_upward_test_data): New variable.
2993 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2994 (exp10_test_data): New variable.
2995 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2996 (exp2_test_data): New variable.
2997 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2998 (expm1_test_data): New variable.
2999 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3000 (fabs_test_data): New variable.
3001 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3002 (floor_test_data): New variable.
3003 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3004 (j0_test_data): New variable.
3005 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3006 (j1_test_data): New variable.
3007 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3008 (log_test_data): New variable.
3009 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3010 (log10_test_data): New variable.
3011 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3012 (log1p_test_data): New variable.
3013 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3014 (log2_test_data): New variable.
3015 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3016 (logb_test_data): New variable.
3017 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3018 (logb_downward_test_data): New variable.
3019 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3020 (nearbyint_test_data): New variable.
3021 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3022 (rint_test_data): New variable.
3023 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3024 (rint_tonearest_test_data): New variable.
3025 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3026 (rint_towardzero_test_data): New variable.
3027 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3028 (rint_downward_test_data): New variable.
3029 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3030 (rint_upward_test_data): New variable.
3031 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3032 (round_test_data): New variable.
3033 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3034 (sin_test_data): New variable.
3035 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3036 (sin_tonearest_test_data): New variable.
3037 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3038 (sin_towardzero_test_data): New variable.
3039 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3040 (sin_downward_test_data): New variable.
3041 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3042 (sin_upward_test_data): New variable.
3043 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3044 (sinh_test_data): New variable.
3045 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3046 (sinh_tonearest_test_data): New variable.
3047 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3048 (sinh_towardzero_test_data): New variable.
3049 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3050 (sinh_downward_test_data): New variable.
3051 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3052 (sinh_upward_test_data): New variable.
3053 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3054 (sqrt_test_data): New variable.
3055 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3056 (tan_test_data): New variable.
3057 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3058 (tan_tonearest_test_data): New variable.
3059 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3060 (tan_towardzero_test_data): New variable.
3061 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3062 (tan_downward_test_data): New variable.
3063 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3064 (tan_upward_test_data): New variable.
3065 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3066 (tanh_test_data): New variable.
3067 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3068 (tgamma_test_data): New variable.
3069 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3070 (trunc_test_data): New variable.
3071 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3072 (y0_test_data): New variable.
3073 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3074 (y1_test_data): New variable.
3075 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3076 (significand_test_data): New variable.
3077 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3079 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3082 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3084 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3086 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3088 2013-05-10 Andreas Jaeger <aj@suse.de>
3091 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3092 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3094 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3096 * math/gen-libm-test.pl (adjust_arg): New function.
3097 (special_functions): Handle generating output in both functions
3099 (parse_args): Likewise.
3100 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3101 $in_func argument to parse_args.
3102 * math/libm-test.inc (struct test_f_f_data): New type.
3103 (IF_ROUND_INIT_): New macro.
3104 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3105 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3106 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3107 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3108 (ROUND_RESTORE_): Likewise.
3109 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3110 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3111 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3112 (ROUND_RESTORE_FE_UPWARD): Likewise.
3113 (RUN_TEST_LOOP_f_f): New macro.
3114 (acos_test_data): New variable.
3115 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3116 (acos_tonearest_test_data): New variable.
3117 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3119 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3121 * benchtests/bench-skeleton.c (startup): Fix coding style.
3123 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3126 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3127 negative infinity argument.
3128 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3129 negative infinity argument.
3130 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3131 negative infinity argument.
3132 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3135 2013-05-10 Florian Weimer <fweimer@redhat.com>
3137 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3138 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3139 * iconv/iconv_prog.c (main): Likewise.
3140 * locale/programs/charmap-dir.c (charmap_readdir)
3141 (fopen_uncompressed): Likewise.
3142 * locale/programs/locfile.c (siblings_uncached)
3143 (write_locale_data): Use lstat64 instead of lstat.
3144 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3147 2013-05-10 Andreas Jaeger <aj@suse.de>
3150 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3154 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3156 * elf/dl-close.c (_dl_close_worker): Add comments.
3158 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3161 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3163 (__ieee754_rem_pio2l): Update comments.
3166 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3168 (__ieee754_rem_pio2l): Update comments.
3170 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3171 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3173 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3176 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3177 (M_PI_34_LOG10El): Likewise.
3178 (M_PI2_LOG10El): Likewise.
3179 (M_PI4_LOG10El): Likewise.
3180 (M_PI_LOG10El): Likewise.
3182 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3186 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3188 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3189 (MINUS_ZERO_INIT): Likewise.
3190 (PLUS_INFTY_INIT): Likewise.
3191 (MINUS_INFTY_INIT): Likewise.
3192 (QNAN_VALUE_INIT): Likewise.
3193 (MAX_VALUE_INIT): Likewise.
3194 (MIN_VALUE_INIT): Likewise.
3195 (MIN_SUBNORM_VALUE_INIT): Likewise.
3196 (plus_zero): Initialize with PLUS_ZERO_INIT.
3197 (minus_zero): Initialize with MINUS_ZERO_INIT.
3198 (plus_infty): Initialize with PLUS_INFTY_INIT.
3199 (minus_infty): Initialize with MINUS_INFTY_INIT.
3200 (qnan_value): Initialize with QNAN_VALUE_INIT.
3201 (max_value): Initialize with MAX_VALUE_INIT.
3202 (min_value): Initialize with MIN_VALUE_INIT.
3203 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3205 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3206 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3207 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3208 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3210 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3211 (RUN_TEST_2_f): Likewise.
3212 (RUN_TEST_ff_f): Likewise.
3213 (RUN_TEST_fi_f): Likewise.
3214 (RUN_TEST_fl_f): Likewise.
3215 (RUN_TEST_fff_f): Likewise.
3216 (RUN_TEST_c_f): Likewise.
3217 (RUN_TEST_f_f1): Likewise.
3218 (RUN_TEST_fF_f1): Likewise.
3219 (RUN_TEST_fI_f1): Likewise.
3220 (RUN_TEST_ffI_f1): Likewise.
3221 (RUN_TEST_c_c): Likewise.
3222 (RUN_TEST_cc_c): Likewise.
3223 (RUN_TEST_f_i): Likewise.
3224 (RUN_TEST_f_i_tg): Likewise.
3225 (RUN_TEST_ff_i_tg): Likewise.
3226 (RUN_TEST_f_b): Likewise.
3227 (RUN_TEST_f_b_tg): Likewise.
3228 (RUN_TEST_f_l): Likewise.
3229 (RUN_TEST_f_L): Likewise.
3230 (RUN_TEST_sincos): Likewise.
3231 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3232 whether to show exceptions. Do not include ");\n" in return
3234 (special_functions): Output call to RUN_TEST_sincos instead of
3235 check_float calls. Update calls to new_test.
3236 (parse_args): Output call to single RUN_TEST_* macro instead of
3237 check_* calls and other assignments. Update calls to new_test.
3243 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3244 input to result for tgamma overflow.
3245 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3246 (gamma_coeff): New variable.
3247 (NCOEFF): New macro.
3248 (gamma_positive): New function.
3249 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3250 underflow here. Use gamma_positive instead of exp (lgamma) for
3252 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3253 (gamma_coeff): New variable.
3254 (NCOEFF): New macro.
3255 (gammaf_positive): New function.
3256 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3257 underflow here. Use gamma_positive instead of exp (lgamma) for
3259 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3260 (gamma_coeff): New variable.
3261 (NCOEFF): New macro.
3262 (gammal_positive): New function.
3263 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3264 underflow here. Use gamma_positive instead of exp (lgamma) for
3266 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3267 (gamma_coeff): New variable.
3268 (NCOEFF): New macro.
3269 (gammal_positive): New function.
3270 (__ieee754_gammal_r): Handle positive infinity, overflow and
3271 underflow here. Handle NaN the same as positive infinity. Remove
3272 check x < 0xffffffff for negative integers. Use gamma_positive
3273 instead of exp (lgamma) for other arguments.
3274 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3275 (gamma_coeff): New variable.
3276 (NCOEFF): New macro.
3277 (gammal_positive): New function.
3278 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3279 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3280 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3281 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3282 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3283 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3284 * sysdeps/generic/math_private.h (__gamma_productf): New
3286 (__gamma_product): Likewise.
3287 (__gamma_productl): Likewise.
3288 * math/Makefile (libm-calls): Add gamma_product.
3289 * math/libm-test.inc (tgamma_test): Add more tests.
3290 * sysdeps/i386/fpu/libm-test-ulps: Update.
3291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3293 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
3295 * benchtests/bench-skeleton.c (main): Preheat CPU.
3297 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3299 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3301 2013-05-07 Roland McGrath <roland@hack.frob.com>
3303 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3304 and _dl_skip_args_internal.
3306 2013-05-07 Carlos O'Donell <carlos@redhat.com>
3308 * manual/message.texi (Message Translation): Talk about users.
3309 Message to key mapping impacts design.
3311 2013-05-06 Roland McGrath <roland@hack.frob.com>
3313 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3315 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3317 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3318 * sysdeps/wordsize-64/glob64.c: ... here.
3320 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3321 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3324 * debug/getlogin_r_chk.c: Moved to ...
3325 * login/getlogin_r_chk.c: ... here.
3326 * debug/Makefile (routines): Move getlogin_r_chk to ...
3327 * login/Makefile (routines): ... here.
3328 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3329 * login/Versions (libc: GLIBC_2.4): ... here.
3331 * io/poll.c (__poll): Renamed from poll.
3332 Add libc_hidden_def.
3333 (poll): Define as weak alias.
3335 * debug/ptsname_r_chk.c: Moved to ...
3336 * login/ptsname_r_chk.c: ... here.
3337 * debug/Makefile (routines): Move ptsname_r_chk to ...
3338 * login/Makefile (routines): ... here.
3339 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3340 * login/Versions (libc: GLIBC_2.4): ... here.
3342 * posix/getlogin.c: Moved to ...
3343 * login/getlogin.c: ... here.
3344 * posix/getlogin_r.c: Moved to ...
3345 * login/getlogin_r.c: ... here.
3346 * posix/getlogin_r.c: Moved to ...
3347 * login/getlogin_r.c: ... here.
3348 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3349 * login/Makefile (routines): ... here.
3350 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3351 * login/Versions (libc: GLIBC_2.0): ... here.
3353 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3354 (setrlimit): Define as weak alias.
3356 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3357 Call __ names for open, ftruncate, and close.
3358 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3359 (truncate): Define as weak alias.
3361 2013-05-06 Joseph Myers <joseph@codesourcery.com>
3363 * math/gen-libm-test.pl (parse_args): Initialize x before each
3364 test of frexp, modf and remquo.
3366 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3369 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3373 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3375 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3377 2013-05-06 Roland McGrath <roland@hack.frob.com>
3379 * elf/dl-writev.h: New file.
3380 * elf/dl-misc.c: Include it.
3381 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3382 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3384 2013-05-04 Joseph Myers <joseph@codesourcery.com>
3386 * math/libm-test.inc (noXFails): Remove variable.
3387 (noXPasses): Likewise.
3388 (BUILD_COMPLEX_INT): Remove macro.
3389 (print_screen): Remove xfail argument.
3390 (print_screen_max_error): Likewise.
3391 (update_stats): Likewise.
3392 (print_max_error): Likewise. Update calls to other affected
3394 (print_complex_max_error): Likewise.
3395 (test_single_exception): Update calls to print_screen.
3396 (test_single_errno): Likewise.
3397 (check_float_internal): Remove xfail argument. Update calls to
3398 other affected functions.
3399 (check_float): Likewise.
3400 (check_complex): Likewise.
3401 (check_int): Likewise.
3402 (check_long): Likewise.
3403 (check_bool): Likewise.
3404 (check_longlong): Likewise.
3405 (main): Don't print noXFails and noXPasses.
3406 * math/gen-libm-test.pl (top level): Don't mention expected
3407 failure handling in comment.
3408 (new_test): Don't handle expected failures.
3409 (parse_args): Don't mention expected failure handling in comment.
3410 (generate_testfile): Don't handle expected failures.
3411 (parse_ulps): Likewise.
3412 (print_ulps_file): Likewise.
3413 (get_failure): Remove function.
3414 (output_test): Don't handle expected failures.
3415 * make/README.libm-test: Don't mention expected failure handling.
3417 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3418 (minus_zero): Likewise.
3419 (plus_infty): Likewise.
3420 (minus_infty): Likewise.
3421 (qnan_value): Likewise.
3422 (max_value): Likewise.
3423 (min_value): Likewise.
3424 (min_subnorm_value): Likewise.
3425 (initialize): Do not initialize those variables dynamically.
3427 2013-05-03 Roland McGrath <roland@hack.frob.com>
3429 * io/open.c (__open_2): Moved to ...
3430 * io/open_2.c: ... this new file.
3431 * io/open64.c (__open64_2): Moved to ...
3432 * io/open64_2.c: ... this new file.
3433 * io/openat.c (__openat_2): Moved to ...
3434 * io/openat_2.c: ... this new file.
3435 * io/openat64.c (__openat64_2): Moved to ...
3436 * io/openat64_2.c: ... this new file.
3437 * io/Makefile (routines): Add them.
3438 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3439 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3440 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3441 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3442 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3443 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3444 (__openat64): Add hidden_ver.
3445 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3446 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3448 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3449 Separately conditionalize setting of GLRO(dl_sysinfo) so
3450 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3451 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3453 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3455 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3456 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3458 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3459 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3460 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3461 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3462 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3464 2013-05-03 Joseph Myers <joseph@codesourcery.com>
3466 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3469 * math/libm-test.inc (hypot_test): Do not use
3470 IGNORE_ZERO_INF_SIGN.
3472 2013-05-03 Andreas Jaeger <aj@suse.de>
3474 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3476 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3477 (PF_MAX): Adjust for VSOCK change.
3479 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3483 2013-05-02 Carlos O'Donell <carlos@redhat.com>
3486 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3487 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3488 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3490 2013-05-02 David S. Miller <davem@davemloft.net>
3492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3494 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
3496 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3498 2013-05-01 Roland McGrath <roland@hack.frob.com>
3500 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3502 2013-05-01 Richard Smith <richard@metafoo.co.uk>
3505 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3506 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3507 Use __attribute__ ((__gnu_inline__)).
3508 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3509 Don't use __attribute__ ((__gnu_inline__)).
3511 2013-05-01 Joseph Myers <joseph@codesourcery.com>
3514 * math/s_catan.c (__catan): Handle small real or imaginary part of
3515 input specially to avoid spurious underflow.
3516 * math/s_catanf.c (__catanf): Likewise.
3517 * math/s_catanh.c (__catanh): Likewise.
3518 * math/s_catanhf.c (__catanhf): Likewise.
3519 * math/s_catanhl.c (__catanhl): Likewise.
3520 * math/s_catanl.c (__catanl): Likewise.
3521 * math/libm-test.inc (catan_test): Add more tests.
3522 (catanh_test): Likewise.
3523 * sysdeps/i386/fpu/libm-test-ulps: Update.
3524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3526 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3530 2013-04-30 Joseph Myers <joseph@codesourcery.com>
3533 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3534 accurately for denominator in atan2.
3535 * math/s_catanf.c (__catanf): Likewise.
3536 * math/s_catanh.c (__catanh): Likewise.
3537 * math/s_catanhf.c (__catanhf): Likewise.
3538 * math/s_catanhl.c (__catanhl): Likewise.
3539 * math/s_catanl.c (__catanl): Likewise.
3540 * math/libm-test.inc (catan_test): Add more tests.
3541 (catanh_test): Likewise.
3542 * sysdeps/i386/fpu/libm-test-ulps: Update.
3543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3545 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3547 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3549 * benchtests/Makefile (bench): Remove slow benchmarks.
3550 * benchtests/atan-inputs: Add slow benchmark inputs.
3551 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3552 (BENCH_FUNC): Accept variant offset.
3554 * benchtests/bench-skeleton.c (main): Run benchmark for each
3556 * benchtests/cos-inputs: Add slow benchmark inputs.
3557 * benchtests/exp-inputs: Likewise.
3558 * benchtests/pow-inputs: Likewise.
3559 * benchtests/sin-inputs: Likewise.
3560 * benchtests/slowatan-inputs: Remove.
3561 * benchtests/slowatan.c: Remove.
3562 * benchtests/slowcos-inputs: Remove.
3563 * benchtests/slowcos.c: Remove.
3564 * benchtests/slowexp-inputs: Remove.
3565 * benchtests/slowexp.c: Remove.
3566 * benchtests/slowpow-inputs: Remove.
3567 * benchtests/slowpow.c: Remove.
3568 * benchtests/slowsin-inputs: Remove.
3569 * benchtests/slowsin.c: Remove.
3570 * benchtests/slowtan-inputs: Remove.
3571 * benchtests/slowtan.c: Remove.
3572 * benchtests/tan-inputs: Add slow benchmark inputs.
3573 * scripts/bench.pl: Parse comments and directives.
3575 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3577 ($(objpfx)bench-%.c): Remove *-ITER.
3578 * benchtests/bench-modf.c: Remove definition of ITER.
3579 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3580 (main): Loop for DURATION seconds instead of fixed number of
3582 * scripts/bench.pl: Don't expect iterations in parameters.
3584 2013-04-29 Roland McGrath <roland@hack.frob.com>
3586 * io/fchdir.c (__fchdir): Renamed from fchdir.
3587 (fchdir): Define as weak alias.
3589 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3591 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3592 (ERRNO_EDOM): Likewise.
3593 (ERRNO_ERANGE): Likewise.
3594 (noErrnoTests): New variable.
3595 (init_max_error): Set errno to 0.
3596 (test_single_errno): New function.
3597 (test_errno): Likewise.
3598 (check_float_internal): Call test_errno. Set errno to 0.
3599 (check_complex): Refer to errno tests in comment.
3600 (check_int): Call test_errno. Set errno to 0.
3601 (check_long): Likewise.
3602 (check_bool): Likewise.
3603 (check_longlong): Likewise.
3604 (cos_test): Use ERRNO_* flags for errno tests instead of
3606 (expm1_test): Likewise.
3607 (fmod_test): Likewise.
3608 (ilogb_test): Likewise.
3609 (lgamma_test): Likewise.
3610 (pow_test): Likewise.
3611 (remainder_test): Likewise.
3612 (sin_test): Likewise.
3613 (tan_test): Likewise.
3614 (yn_test): Likewise.
3615 (initialize): Set errno to 0.
3616 (main): Print number of errno tests.
3617 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3619 2013-04-29 Andreas Jaeger <aj@suse.de>
3622 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3626 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3627 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3631 * stdlib/random.c (__initstate): Return NULL if
3635 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3636 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3639 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3643 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3645 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3646 of individual tests.
3647 (casin_test): Likewise.
3648 (casinh_test): Likewise.
3650 2013-04-27 Joseph Myers <joseph@codesourcery.com>
3653 * math/s_catan.c (__catan): Handle arguments with large real or
3654 imaginary part separately without squaring.
3655 * math/s_catanf.c (__catanf): Likewise.
3656 * math/s_catanh.c (__catanh): Likewise.
3657 * math/s_catanhf.c (__catanhf): Likewise.
3658 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3660 (__catanhl): Handle arguments with large real or imaginary part
3661 separately without squaring.
3662 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3664 (__catanl): Handle arguments with large real or imaginary part
3665 separately without squaring.
3666 * math/libm-test.inc (catan_test): Add more tests.
3667 (catanh_test): Likewise.
3668 * sysdeps/i386/fpu/libm-test-ulps: Update.
3669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3671 2013-04-27 Andreas Jaeger <aj@suse.de>
3674 * stdlib/stdlib.h: Update guards for qecvt.
3675 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3678 2013-04-27 Allan McRae <allan@archlinux.org>
3680 * sysdeps/i386/fpu/libm-test-ulps: Update.
3682 2013-04-26 Joseph Myers <joseph@codesourcery.com>
3685 * math/s_catan.c: Include <float.h>.
3686 (__catan): Ensure underflow exception occurs for underflowed
3688 * math/s_catanf.c: Include <float.h>.
3689 (__catanf): Ensure underflow exception occurs for underflowed
3691 * math/s_catanh.c: Include <float.h>.
3692 (__catanh): Ensure underflow exception occurs for underflowed
3694 * math/s_catanhf.c: Include <float.h>.
3695 (__catanhf): Ensure underflow exception occurs for underflowed
3697 * math/s_catanhl.c: Include <float.h>.
3698 (__catanhl): Ensure underflow exception occurs for underflowed
3700 * math/s_catanl.c: Include <float.h>.
3701 (__catanl): Ensure underflow exception occurs for underflowed
3703 * math/libm-test.inc (catan_test): Add more tests.
3704 (catanh_test): Likewise.
3707 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3709 * math/s_ccoshf.c (__ccoshf): Likewise.
3710 * math/s_ccoshl.c (__ccoshl): Likewise.
3711 * math/s_csin.c (__csin): Likewise.
3712 * math/s_csinf.c (__csinf): Likewise.
3713 * math/s_csinh.c (__csinh): Likewise.
3714 * math/s_csinhf.c (__csinhf): Likewise.
3715 * math/s_csinhl.c (__csinhl): Likewise.
3716 * math/s_csinl.c (__csinl): Likewise.
3717 * math/libm-test.inc (ccos_test): Add more tests.
3718 (ccosh_test): Likewise.
3719 (csin_test): Likewise.
3720 (csinh_test): Likewise.
3722 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3724 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3725 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3726 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3727 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3728 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3729 powerpc/power5+/fpu folders.
3730 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3733 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3735 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3737 2013-04-25 Joseph Myers <joseph@codesourcery.com>
3739 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3740 additions to variable.
3741 [$(config-machine) = x86_64] (modules-names): Likewise.
3742 ($(objpfx)tst-audit3): Remove dependency.
3743 ($(objpfx)tst-audit3.out): Likewise.
3744 ($(objpfx)tst-audit4): Likewise.
3745 ($(objpfx)tst-audit4.out): Likewise.
3746 ($(objpfx)tst-audit5): Likewise.
3747 ($(objpfx)tst-audit5.out): Likewise.
3748 ($(objpfx)tst-audit6): Likewise.
3749 ($(objpfx)tst-audit6.out): Likewise.
3750 ($(objpfx)tst-audit7): Likewise.
3751 ($(objpfx)tst-audit7.out): Likewise.
3752 (tst-audit3-ENV): Remove variable.
3753 (tst-audit4-ENV): Likewise.
3754 (tst-audit5-ENV): Likewise.
3755 (tst-audit6-ENV): Likewise.
3756 (tst-audit7-ENV): Likewise.
3757 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3758 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3759 addition to variable.
3760 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3761 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3762 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3763 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3764 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3765 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3766 tst-audit3, tst-audit4 and tst-audit5.
3767 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3768 tst-audit6 and tst-audit7.
3769 [$(subdir) = elf] (modules-names): Add audit modules for those
3771 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3772 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3773 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3774 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3775 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3776 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3777 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3778 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3779 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3780 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3781 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3782 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3783 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3784 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3785 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3786 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3788 [$(subdir) = elf && $(config-cflags-avx) = yes]
3789 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3790 [$(subdir) = elf && $(config-cflags-avx) = yes]
3791 (CFLAGS-tst-auditmod4a.c): Likewise.
3792 [$(subdir) = elf && $(config-cflags-avx) = yes]
3793 (CFLAGS-tst-auditmod4b.c): Likewise.
3794 [$(subdir) = elf && $(config-cflags-avx) = yes]
3795 (CFLAGS-tst-auditmod6b.c): Likewise.
3796 [$(subdir) = elf && $(config-cflags-avx) = yes]
3797 (CFLAGS-tst-auditmod6c.c): Likewise.
3798 [$(subdir) = elf && $(config-cflags-avx) = yes]
3799 (CFLAGS-tst-auditmod7b.c): Likewise.
3800 * elf/tst-audit3.c: Move to ...
3801 * sysdeps/x86_64/tst-audit3.c: ... here.
3802 * elf/tst-audit4.c: Move to ...
3803 * sysdeps/x86_64/tst-audit4.c: ... here.
3804 * elf/tst-audit5.c: Move to ...
3805 * sysdeps/x86_64/tst-audit5.c: ... here.
3806 * elf/tst-audit6.c: Move to ...
3807 * sysdeps/x86_64/tst-audit6.c: ... here.
3808 * elf/tst-audit7.c: Move to ...
3809 * sysdeps/x86_64/tst-audit7.c: ... here.
3810 * elf/tst-auditmod3a.c: Move to ...
3811 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3812 * elf/tst-auditmod3b.c: Move to ...
3813 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3814 * elf/tst-auditmod4a.c: Move to ...
3815 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3816 * elf/tst-auditmod4b.c: Move to ...
3817 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3818 * elf/tst-auditmod5a.c: Move to ...
3819 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3820 * elf/tst-auditmod5b.c: Move to ...
3821 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3822 * elf/tst-auditmod6a.c: Move to ...
3823 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3824 * elf/tst-auditmod6b.c: Move to ...
3825 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3826 * elf/tst-auditmod6c.c: Move to ...
3827 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3828 * elf/tst-auditmod7a.c: Move to ...
3829 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3830 * elf/tst-auditmod7b.c: Move to ...
3831 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3833 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3836 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3837 define unconditionally.
3838 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3839 define unconditionally.
3840 (INT8_C, INT16_C, etc.): Likewise.
3842 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3844 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3845 __ehdr_start with hidden visibility.
3847 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3849 2013-04-24 Carlos O'Donell <carlos@redhat.com>
3851 * math/libm-test.inc (cos_test): Use accurate hex constants.
3852 (sincost_test): Likewise.
3854 2013-04-24 Joseph Myers <joseph@codesourcery.com>
3856 * math/libm-test.inc (catan_test): Add more tests.
3857 (catanh_test): Likewise.
3859 * math/s_catanf.c (__catanf): Use suffixed floating-point
3861 * math/s_catanhf.c (__catanhf): Likewise.
3862 * math/s_catanhl.c (__catanhl): Likewise.
3863 * math/s_catanl.c (__catanl): Likewise.
3866 * math/s_catan.c (__catan): Calculate imaginary part of result
3867 with log1p not log unless computing log of number close to 0.
3868 * math/s_catanf.c (__catanf): Likewise.
3869 * math/s_catanl.c (__catanl): Likewise.
3870 * math/s_catanh.c (__catanh): Calculate real part of result with
3871 log1p not log unless computing log of number close to 0.
3872 * math/s_catanhf.c (__catanhf): Likewise.
3873 * math/s_catanhl.c (__catanhl): Likewise.
3874 * math/libm-test.inc (catan_test): Add more tests.
3875 (catanh_test): Likewise.
3876 * sysdeps/i386/fpu/libm-test-ulps: Update.
3877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3879 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3881 * benchtests/Makefile: Mention files in which fast and slow
3882 paths of math functions are implemented.
3884 2013-04-23 Roland McGrath <roland@hack.frob.com>
3886 * sysdeps/posix/timespec_get.c: New file.
3888 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3890 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3892 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3894 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3895 powerpc/power5/fpu folders.
3896 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3897 * benchtests/Makefile: Add modf testcase.
3898 * benchtests/bench-modf.c: New file: Benchmark test for mo
3900 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3903 * time/Makefile (tests): Add tst-strptime-whitespace.
3904 * time/strptime_l.c (get_number): Use ISSPACE.
3905 (__strptime_internal): Likewise.
3906 * time/tst-strptime-whitespace.c: New test case.
3908 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3910 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3912 (_nss_files_init): Set it here.
3914 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3916 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3917 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3920 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3922 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3924 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3929 2013-04-21 David S. Miller <davem@davemloft.net>
3931 * po/ru.po: Update Russion translation from translation project.
3933 2013-04-17 Adam Conrad <adconrad@0c3.net>
3935 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3938 2013-04-17 Carlos O'Donell <carlos@redhat.com>
3940 * configure.in: Remove i386 configure warning. Remove i386 case.
3941 * configure: Regenerate.
3942 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3943 Add example to error message.
3944 * sysdeps/i386/configure: Regenerate.
3946 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3948 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3950 * benchtests/cos-inputs: New file.
3951 * benchtests/slowcos-inputs: New file.
3952 * benchtests/slowcos.c: New file.
3953 * benchtests/slowtan-inputs: New file.
3954 * benchtests/slowtan.c: New file.
3955 * benchtests/tan-inputs: New file.
3957 2013-04-16 Roland McGrath <roland@hack.frob.com>
3959 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3962 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3964 * benchtests/Makefile: Include cppflags-iterator.mk to add
3965 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3967 * Makefile.in (bench-clean): New target.
3968 * benchtests/Makefile (bench-clean): Likewise.
3970 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3972 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3974 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3976 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3978 2013-04-15 Andreas Schwab <schwab@suse.de>
3980 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3981 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3982 * nscd/pwdcache.c (cache_addpw): Likewise.
3983 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3986 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3988 * benchtests/Makefile (bench): Write all output to
3989 bench-out.tmp together.
3991 2013-04-15 Andreas Schwab <schwab@suse.de>
3993 * nscd/nscd.c (main): Don't fork again after closing files.
3995 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3997 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3999 * benchtests/Rules (bench-deps): Collect dependencies into a
4000 single variable. Add Makefile to dependencies.
4001 ($(objpfx)bench-%.c): Depend on bench-deps.
4003 2013-04-12 Roland McGrath <roland@hack.frob.com>
4004 Xavier Roche <roche+kml2@exalead.com>
4007 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4008 just that it's a file descriptor.
4009 * manual/llio.texi (Synchronizing AIO Operations): Update description
4010 for EBADF error from aio_fsync.
4012 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4014 * Rules (bench): Move target definition...
4015 * benchtests/Makefile: ... here.
4017 2013-04-11 Carlos O'Donell <carlos@redhat.com>
4019 * math/libm-test.inc (cos_test): Fix PI/2 test.
4020 (sincos_test): Likewise.
4021 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4022 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4024 2013-04-11 Andreas Schwab <schwab@suse.de>
4027 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4028 accept exponent character only when digits were seen.
4029 * stdio-common/Makefile (tests): Add bug26.
4030 * stdio-common/bug26.c: New file.
4033 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4036 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4038 * Makeconfig (rtld-prefix): Define built linker prefix.
4039 * Rules (run-bench): Use it.
4040 * math/Makefile (run-regen-ulps): Likewise.
4042 * Rules (bench): Remove eval.
4044 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4045 Roland McGrath <roland@hack.frob.com>
4046 Ondrej Bilka <neleai@seznam.cz>
4049 * time/getdate.c: Include ctype.h and alloca.h.
4050 (__getdate_r): Trim leading and trailing spaces of input.
4051 * time/tst-getdate.c (tests): Add tests with leading and
4054 2013-04-08 Roland McGrath <roland@hack.frob.com>
4057 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4058 when computing value.
4060 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4062 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4063 Use testrun.sh to run libm tests.
4066 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4068 2013-04-06 Marko Myllynen <myllynen@redhat.com>
4071 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4073 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4075 * Makefile.in (regen-ulps): New target.
4076 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4077 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4078 [ifneq (no,$(PERL)] (regen-ulps): New target.
4079 [ifeq (no,$(PERL)] (regen-ulps): New target.
4080 * math/libm-test.inc (ulps_file_name): Define.
4081 (output_dir): New variable.
4082 (options): Add "output-dir" option.
4083 (parse_opt): Handle 'o' case.
4084 (main): If output_dir is non-NULL use it as a prefix
4086 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4088 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4091 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4092 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4093 fail configure if __sync_val_compare_and_swap is not inlined.
4094 * sysdeps/i386/configure: Regenerate.
4095 * configure.in: Build for i686 when configured for i386.
4096 * configure: Regenerate.
4097 * README: Remove i386 reference.
4099 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4101 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4102 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4104 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4106 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4107 (lmsnanval): New variables.
4108 (F): Add conversion tests.
4109 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4110 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4112 * stdio-common/tstdiomisc.c (F): Properly collect individual
4116 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4117 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4118 Instead, use input NaN values or generate a qNaN by arithmetic
4119 operation. Also fix bugs to comply with the standard.
4120 * math/libm-test.inc (remainder_test): Add more tests.
4123 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4124 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4125 input NaN values or generate a qNaN by arithmetic operation.
4127 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4130 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4133 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4136 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4138 * math/s_cexpf.c (__cexpf): Likewise.
4139 * math/s_cexpl.c (__cexpl): Likewise.
4140 * math/libm-test.inc (cexp_test): Add more tests.
4142 2013-04-03 Andreas Schwab <schwab@suse.de>
4145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4146 order arrays from heap if bigger than alloca cutoff.
4148 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4150 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4151 (SNAN_TESTS_double): Refer to GCC PR56831.
4152 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4155 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4157 * Rules (bench): Move bench.out after the run is complete.
4159 * Rules (bench): Echo currently running benchmark.
4161 * benchtests/Makefile (bench): Add atan and slowatan.
4162 * benchtests/atan-inputs: New file.
4163 * benchtests/slowatan-inputs: New file.
4164 * benchtests/slowatan.c: New file.
4166 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4167 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4171 * sysdeps/unix/sysv/linux/kernel-features.h
4172 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4173 __ASSUME_XFS_RESTRICTED_CHOWN.
4174 * sysdeps/unix/sysv/linux/pathconf.c
4175 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4176 Save and restore errno.
4178 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4181 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4182 arguments using __kernel_casinh.
4183 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4184 arguments using __kernel_casinhf.
4185 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4186 arguments using __kernel_casinhl.
4187 * math/libm-test.inc (cacosh_test): Add more tests.
4188 * sysdeps/i386/fpu/libm-test-ulps: Update.
4189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4191 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4193 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4196 * bench/Makefile (bench): Add sin and slowsin.
4197 * benchtests/sin-inputs: New file.
4198 * benchtests/slowsin-inputs: New file.
4199 * benchtests/slowsin.c: New file.
4201 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4202 (bench): Add slowexp and slowpow.
4203 (exp-ITER): Increase iterations.
4204 (pow-ITER): Likewise.
4205 * benchtests/exp-inputs: Change input.
4206 * benchtests/pow-inputs: Likewise.
4207 * benchtests/slowexp-inputs: New file.
4208 * benchtests/slowexp.c: New file.
4209 * benchtests/slowpow-inputs: New file.
4210 * benchtests/slowpow.c: New file.
4212 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4214 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4216 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4217 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4218 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4219 * benchtests/Makefile: Add rint benchtest.
4220 * benchtests/rint-inputs: Input for rint benchtest.
4222 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4224 * Versions.def (libm): Add GLIBC_2.18.
4225 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4226 hidden libm prototypes.
4227 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4228 * math/Makefile (libm-calls): Add s_issignaling.
4229 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4230 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4231 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4233 * math/math.h [__USE_GNU] (issignaling): New macro.
4234 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4235 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4236 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4237 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4240 * manual/arith.texi (issignaling): New section.
4241 * manual/libm-err-tab.pl (@all_functions): Update comment.
4242 * math/gen-libm-test.pl (parse_args): Apply special handling for
4244 * math/libm-test.inc (print_float, issignaling_test): New
4246 (check_float_internal): Add issignaling checks.
4247 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4249 * sysdeps/powerpc/math-tests.h: New file.
4250 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4252 * math/test-snan.c (TEST_FUNC): Likewise.
4254 2013-03-30 David S. Miller <davem@davemloft.net>
4256 * po/de.po: Update from translation team.
4258 2013-03-30 Joseph Myers <joseph@codesourcery.com>
4261 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4262 imaginary part less than 1.0 and real part less than 0.5
4264 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4265 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4266 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4267 (cacos_test): Add more tests.
4268 (casin_test): Likewise.
4269 (casinh_test): Likewise.
4270 * sysdeps/i386/fpu/libm-test-ulps: Update.
4271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4273 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4275 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4278 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4279 (__pow_mp): Replace ONE and MONE with their values.
4280 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4281 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4282 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4283 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4284 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4285 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4287 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4289 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4290 (__pow_mp): Replace ZERO and MZERO with their values.
4291 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4292 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4293 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4295 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4296 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4299 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4301 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4303 2013-03-28 Roland McGrath <roland@hack.frob.com>
4305 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4306 Declare with __attribute__ ((weak)).
4307 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4308 Call __call_tls_dtors only if it's not NULL.
4310 2013-03-28 Roland McGrath <roland@hack.frob.com>
4312 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4313 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4314 magic __ehdr_start linker symbol if it's defined.
4315 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4316 them up here if it was already done.
4318 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4319 (_dl_aux_init): Use const in cast when setting it.
4320 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4321 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4322 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4324 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4326 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4327 * csu/libc-tls.c: Nor here.
4328 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4330 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4331 (__libc_message): Never call vsyslog.
4333 2013-03-28 Alan Modra <amodra@gmail.com>
4335 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4337 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4340 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4343 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4347 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4350 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4351 Don't add gid passed as argument.
4353 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4355 2013-03-27 Joseph Myers <joseph@codesourcery.com>
4358 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4359 imaginary part between 1.0 and 1.5 and real part less than 0.5
4361 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4362 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4363 * math/libm-test.inc (cacos_test): Add more tests.
4364 (casin_test): Likewise.
4365 (casinh_test): Likewise.
4366 * sysdeps/i386/fpu/libm-test-ulps: Update.
4367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4369 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4371 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4375 (__dbl_mp): Likewise.
4376 (add_magnitudes): Likewise.
4377 (sub_magnitudes): Likewise.
4385 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4387 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4388 (__dubcos): Likewise.
4389 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4390 (__ieee754_acos): Likewise.
4391 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4392 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4394 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4395 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4397 (my_log2): Likewise.
4398 (checkint): Likewise.
4399 * sysdeps/ieee754/dbl-64/e_remainder.c
4400 (__ieee754_remainder): Likewise.
4401 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4402 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4404 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4406 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4407 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4408 MANTISSA_STORE_T to store computations on mantissa. Use
4409 macros for rounding and division.
4411 (__dbl_mp): Likewise.
4412 (add_magnitudes): Likewise.
4413 (sub_magnitudes): Likewise.
4416 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4417 powers of two in terms of TWOPOW macro.
4418 (mp_no): Make type of mantissa as MANTISSA_T.
4419 [!RADIXI]: Define RADIXI.
4420 [!TWO52]: Define TWO52.
4421 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4423 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4425 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4426 llroundl symbol when building for PPC32.
4428 2013-03-24 Mark H Weaver <mhw@netris.org>
4430 * manual/arith.texi (Normalization Functions): Fix prototypes for
4431 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4433 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4436 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4437 high value to check if expl overflow.
4438 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4439 to check for underflow and overflow.
4440 * math/libm-test.inc: Add exp test.
4442 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4445 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4448 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4450 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4453 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4455 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4456 wrap blocks consisting of several statements.
4458 * sysdeps/generic/math-tests.h: New file.
4459 * sysdeps/i386/fpu/math-tests.h: Likewise.
4460 * math/test-snan.c: Include it.
4461 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4463 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4466 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4467 (__ieee754_j0l): Do not improve calculations using cos of twice
4468 input for inputs above LDBL_MAX / 2.0L.
4469 (__ieee754_y0l): Likewise.
4470 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4471 (__ieee754_j1l): Do not improve calculations using cos of twice
4472 input for inputs above LDBL_MAX / 2.0L.
4473 (__ieee754_y1l): Likewise.
4474 * math/libm-test.inc (j0_test): Add another test.
4475 (j1_test): Likewise.
4476 (y0_test): Likewise.
4477 (y1_test): Likewise.
4478 * sysdeps/i386/fpu/libm-test-ulps: Update.
4480 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4482 * Rules ($(objpfx)bench-%.c): Include code from a C source
4485 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4488 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4489 imaginary part 1.0 and real part less than 0.5 specially.
4490 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4491 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4492 * math/libm-test.inc (cacos_test): Add more tests.
4493 (casin_test): Likewise.
4494 (casinh_test): Likewise.
4495 * sysdeps/i386/fpu/libm-test-ulps: Update.
4496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4498 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4500 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4501 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4503 2013-03-20 Joseph Myers <joseph@codesourcery.com>
4505 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4506 * config.make.in (config-cflags-sse4): Remove variable.
4507 (config-cflags-avx): Likewise.
4508 (config-cflags-sse2avx): Likewise.
4509 (config-cflags-novzeroupper): Likewise.
4510 (config-asflags-i686): Likewise.
4511 (have-mfma4): Likewise.
4512 (have-as-vis3): Likewise.
4514 * configure.in (MIG): Do not AC_SUBST.
4515 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4516 (libc_cv_cc_sse4): Do not AC_SUBST.
4517 (libc_cv_cc_avx): Likewise.
4518 (libc_cv_cc_sse2avx): Likewise.
4519 (libc_cv_cc_novzeroupper): Likewise.
4520 (libc_cv_cc_fma4): Likewise.
4521 (libc_cv_as_i686): Likewise.
4522 (libc_cv_sparc_as_vis3): Likewise.
4523 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4525 (config-asflags-i686): Likewise.
4526 (config-cflags-avx): Likewise.
4527 (config-cflags-sse2avx): Likewise.
4528 (have-mfma4): Likewise.
4529 (config-cflags-novzeroupper): Likewise.
4530 * sysdeps/mach/configure.in (MIG): Likewise.
4531 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4532 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4534 (config-cflags-avx): Likewise.
4535 (config-cflags-sse2avx): Likewise.
4536 (have-mfma4): Likewise.
4537 (config-cflags-novzeroupper): Likewise.
4538 * configure: Regenerated.
4539 * sysdeps/i386/configure: Likewise.
4540 * sysdeps/mach/configure: Likewise.
4541 * sysdeps/sparc/configure: Likewise.
4542 * sysdeps/x86_64/configure: Likewise.
4544 2013-03-20 Roland McGrath <roland@hack.frob.com>
4547 * locale/programs/localedef.c (options): Put N_ translation marker
4548 on argument names, not just descriptions.
4550 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4552 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4554 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
4557 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4559 2013-03-19 Roland McGrath <roland@hack.frob.com>
4561 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4562 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4563 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4564 [!BEFORE_ABORT] (before_abort): New function.
4565 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4566 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4567 (writev_for_fatal): New function.
4568 (WRITEV_FOR_FATAL): New macro; call that.
4569 (backtrace_and_maps): New function.
4570 (BEFORE_ABORT): New macro; call that.
4571 (struct str_list): Type removed.
4572 (__libc_message, __libc_fatal): Functions removed.
4573 Include <sysdeps/posix/libc_fatal.c> instead.
4575 2013-03-19 Joseph Myers <joseph@codesourcery.com>
4577 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4579 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4582 2013-03-19 Andreas Schwab <schwab@suse.de>
4584 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4585 * sysdeps/gnu/configure: Regenerate.
4587 * configure.in: Substitute libc_cv_rtlddir.
4588 * configure: Regenerate.
4589 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4590 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4591 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4592 * elf/Makefile (install-others, CFLAGS-interp.c)
4593 (ldso_install, common-ldd-rewrite): Likewise.
4594 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4595 $(inst_slibdir)/$(rtld-installed-name).
4596 * scripts/rellns-sh: Add -p option.
4597 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4600 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4602 * manual/nptl.texi: Renamed to ...
4603 * manual/threads.texi: ... this.
4604 * manual/Makefile (chapters): Update.
4606 2013-03-18 Roland McGrath <roland@hack.frob.com>
4609 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4610 on argument names, not just descriptions.
4611 * malloc/memusagestat.c (options): Likewise.
4612 * nss/getent.c (options): Likewise.
4614 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
4617 * iconv/iconv_prog.c (options): Put N_ translation marker
4618 on argument names, not just descriptions.
4619 * iconv/iconvconfig.c (options): Likewise.
4621 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
4623 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4624 implementation which is faster on all x86_64 architectures.
4625 Tested on AMD, Intel Nehalem, SNB, IVB.
4626 * sysdeps/x86_64/strnlen.S: Likewise.
4628 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4629 Remove all multiarch strlen and strnlen versions.
4630 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4631 Remove strlen and strnlen related parts.
4633 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4635 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4637 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4638 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4639 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4640 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4641 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4642 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4644 2013-03-17 Carlos O'Donell <carlos@redhat.com>
4646 * manual/memory.texi (Malloc Tunable Parameters):
4647 Sort parameters alphabetically. Add comments for missing entries.
4649 2013-03-17 David S. Miller <davem@davemloft.net>
4651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4653 2013-03-16 Joseph Myers <joseph@codesourcery.com>
4656 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4657 for arguments at most half maximum finite value.
4658 * math/libm-test.inc (j0_test): Add more tests.
4659 (j1_test): Likewise.
4660 (y0_test): Likewise.
4661 (y1_test): Likewise.
4662 * sysdeps/i386/fpu/libm-test-ulps: Update.
4663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4666 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4667 1 / x and functions P and Q for arguments above 0x1p256L.
4668 (__ieee754_y0l): Likewise.
4669 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4670 (__ieee754_y1l): Likewise.
4671 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4672 (j1_test): Likewise.
4673 (y0_test): Likewise.
4674 (y1_test): Likewise.
4676 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4678 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4681 2013-03-15 Roland McGrath <roland@hack.frob.com>
4683 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4684 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4685 zero since it's initialized to EXEC_PAGESIZE.
4687 * sysdeps/unix/sysv/linux/ldsodefs.h
4688 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4689 * sysdeps/generic/ldsodefs.h: ... here.
4691 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4693 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4695 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4697 * math/test-snan.c: Renamed from
4698 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4699 * math/Makefile (tests): Add test-snan.
4700 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4703 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4704 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4706 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4707 __builtin_nan family of functions.
4708 * math/libm-test.inc (initialize): Initialize qnan_value with
4709 __builtin_nan family of functions.
4710 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4712 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4714 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4715 storage class. Initialize qNaN_var and sNaN_var with
4716 __builtin_nan and __builtin_nans families of functions,
4719 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4720 (sqrt_test): Remove duplicate test with qNaN input.
4721 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4722 (round_test, signbit_test, significand_test): Note missing +/-Inf
4723 as well as qNaN tests.
4725 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4726 qNaN_var. Fix a few strings, too.
4727 * math/libm-test.inc (nan_value): Rename to qnan_value.
4728 * math/gen-libm-test.pl (%beautify): Adjust to that.
4729 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4730 * math/test-misc.c (main): Likewise.
4731 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4732 to __qnan_bytes, and __qnan_union, respectively.
4733 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4735 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4736 and lqnanval, respectively.
4737 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4738 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4739 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4740 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4742 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4743 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4746 * math/test-misc.c (main): Fix copy'n'pastos.
4747 * misc/tst-efgcvt.c (special): Likewise.
4749 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4750 Remove declarations.
4752 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4754 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4755 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4756 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4757 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4759 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4761 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4762 macro to return vdso values correctly in IFUNC implementations.
4763 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4764 Optimization by using IFUNC.
4766 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4767 Richard Henderson <rth@redhat.com>
4768 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4770 * Makefile.in (bench): New target.
4771 * NEWS: Mention the benchmark framework.
4772 * Rules (bench): Likewise.
4773 (binaries-bench): Generate binaries for functions to
4775 * benchtests/Makefile: New makefile for benchmark tests.
4776 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4778 * benchtests/exp-inputs: New input file for EXP function.
4779 * benchtests/pow-inputs: New input file for POW function.
4780 * scripts/bench.pl: New script to generate source files for
4783 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4785 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4786 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4787 computations on mantissa. Use macros for rounding and
4790 (__dbl_mp): Likewise.
4791 (add_magnitudes): Likewise.
4792 (sub_magnitudes): Likewise.
4795 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4796 powers of two in terms of TWOPOW macro.
4797 (mp_no): Make type of mantissa as MANTISSA_T.
4798 [!RADIXI]: Define RADIXI.
4799 [!TWO52]: Define TWO52.
4800 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4802 * manual/nptl.texi (cindex): Modify threads to pthreads.
4804 2013-03-15 Joseph Myers <joseph@codesourcery.com>
4806 * sysdeps/x86_64/preconfigure: Regenerated.
4808 2013-03-14 Joseph Myers <joseph@codesourcery.com>
4811 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4813 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4814 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4816 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4817 * math/libm-test.inc (j0_test): Do not allow one spurious
4818 underflow exception.
4819 (y1_test): Likewise.
4821 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4823 * manual/Makefile (chapters): Add nptl.
4824 * manual/debug.texi (Debugging Support): Add link to Threads
4826 * manual/nptl.texi: New file.
4828 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4830 2013-03-14 Petr Baudis <pasky@ucw.cz>
4832 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4833 for non-NULL pointer before the memory validity test. Pointed
4834 out by Holger Brunck <holger.brunck@keymile.com>.
4836 2013-03-13 Andreas Schwab <schwab@suse.de>
4838 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4841 2013-03-13 Joseph Myers <joseph@codesourcery.com>
4843 * timezone/zic.c: Update from tzcode 2013b.
4845 2013-03-12 Carlos O'Donell <carlos@redhat.com>
4847 * manual/install.texi (Configuring and compiling):
4848 Mention i686 and i586.
4849 * INSTALL: Regenerate.
4851 2013-03-12 Roland McGrath <roland@hack.frob.com>
4853 * sysdeps/init_array/elf-init.c: New file.
4855 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4856 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4858 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4859 __gmon_start__ as global, but as static with a .preinit_array pointer.
4860 * sysdeps/init_array/gmon-start.c: New file. Use that.
4861 * sysdeps/init_array/crti.S: New file, empty except for comments.
4862 * sysdeps/init_array/crtn.S: Likewise.
4864 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
4866 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4869 Remove Prefer_SSE_for_memop.
4870 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4871 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4872 HAS_PREFER_SSE_FOR_MEMOP.
4873 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4875 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4876 Remove bzero, memset ifunc support.
4877 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4878 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4879 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4880 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4882 2013-03-11 Andreas Schwab <schwab@suse.de>
4885 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4888 (GLIBC_2.16): Remove pthread_atfork.
4890 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4892 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4893 (ptestcases.h): Likewise.
4895 2013-03-08 Roland McGrath <roland@hack.frob.com>
4897 * Makeconfig ($(common-objpfx)config.status): Depend on
4898 sysdeps/*/preconfigure{,.in} too.
4900 2013-03-08 Joseph Myers <joseph@codesourcery.com>
4902 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4903 (__free_hook): Use void * instead of __malloc_ptr_t.
4904 (__malloc_hook): Likewise.
4905 (__realloc_hook): Likewise.
4906 (__memalign_hook): Likewise.
4907 (__after_morecore_hook): Likewise.
4908 * malloc/arena.c (save_malloc_hook): Likewise.
4909 (save_free_hook): Likewise.
4910 * malloc/hooks.c (malloc_hook_ini): Likewise.
4911 (realloc_hook_ini): Likewise.
4912 (memalign_hook_ini): Likewise.
4913 * malloc/malloc.c (malloc_hook_ini): Likewise.
4914 (realloc_hook_ini): Likewise.
4915 (memalign_hook_ini): Likewise.
4916 (__free_hook): Likewise.
4917 (__malloc_hook): Likewise.
4918 (__realloc_hook): Likewise.
4919 (__memalign_hook): Likewise.
4920 (__libc_malloc): Likewise.
4921 (__libc_free): Likewise.
4922 (__libc_realloc): Likewise.
4923 (__libc_memalign): Likewise.
4924 (__libc_valloc): Likewise.
4925 (__libc_pvalloc): Likewise.
4926 (__libc_calloc): Likewise.
4927 (__posix_memalign): Likewise.
4928 * malloc/morecore.c (__sbrk): Likewise.
4929 (__default_morecore): Likewise.
4931 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4933 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4934 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4937 * malloc/malloc.h (__malloc_size_t): Remove macro.
4938 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4940 (old_memalign_hook): Likewise.
4941 (old_realloc_hook): Likewise.
4942 (struct hdr): Likewise.
4944 (mallochook): Likewise.
4945 (memalignhook): Likewise.
4946 (reallochook): Likewise.
4947 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4948 (tr_old_realloc_hook): Likewise.
4949 (tr_old_memalign_hook): Likewise.
4950 (tr_mallochook): Likewise.
4951 (tr_reallochook): Likewise.
4952 (tr_memalignhook): Likewise.
4954 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4956 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4957 default_ldbl_pack and using as default implementation.
4958 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4960 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4961 redundant definition.
4962 (ldbl_insert_mantissa): Likewise.
4963 (ldbl_canonicalize): Likewise.
4964 (ldbl_nearbyint): Likewise.
4965 (ldbl_pack): Rename to ldbl_pack_ppc.
4966 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4967 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4968 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4970 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4973 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4974 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4975 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4977 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4978 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4979 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4981 2013-03-07 Andreas Jaeger <aj@suse.de>
4983 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4986 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4988 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4989 Include mpa.h and declare __MPEXP.
4990 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4991 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4992 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4993 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4994 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4995 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4996 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4998 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4999 (__slowpow): Use long double EXPL and LOGL functions to
5001 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5002 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5003 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5004 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5005 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5006 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5009 intermediate variable to calculate exponent.
5011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5015 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5016 [!NO__SQR]: Define __sqr.
5017 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5018 and NO__SQR. Remove all code except __mul and __sqr. Include
5019 sysdeps/ieee754/dbl-64/mpa.c.
5020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5023 * posix/Makefile (tests): Add tst-pathconf.
5024 * posix/tst-pathconf.c: New test case.
5025 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5027 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5029 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
5031 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5033 2013-03-06 Andreas Jaeger <aj@suse.de>
5035 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5036 definition via __MAP_ANONYMOUS.
5038 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5039 it's not part of Linux headers.
5041 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5042 (MAP_HUGE_MASK): Define.
5044 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5046 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5049 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5050 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5052 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5053 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5055 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5057 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5058 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5059 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5060 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5061 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5062 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5064 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5067 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5068 Handle f2fs and efivarfs.
5070 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5073 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5074 (EFIVARFS_MAGIC): Add.
5075 (F2FS_LINK_MAX): Add.
5077 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5079 * stdio-common/vfprintf.c: Replace __builtin_expect with
5082 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5085 * sysdeps/generic/bp-sym.h: Remove file.
5086 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5087 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5088 <bp-sym.h> and <bp-asm.h>.
5089 (__longjmp): Don't use BP_SYM.
5090 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5092 (memcpy): Don't use BP_SYM.
5093 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5094 <bp-sym.h> and <bp-asm.h>.
5095 (memcpy): Don't use BP_SYM.
5096 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5098 (memcpy): Don't use BP_SYM.
5099 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5101 (memset): Don't use BP_SYM.
5102 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5103 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5104 (__bzero): Don't use BP_SYM.
5105 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5106 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5107 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5108 <bp-sym.h> and <bp-asm.h>.
5109 (memcmp): Don't use BP_SYM. Remove comment about bounded
5111 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5112 <bp-sym.h> and <bp-asm.h>.
5113 (memcpy): Don't use BP_SYM.
5114 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5115 <bp-sym.h> and <bp-asm.h>.
5116 (memset): Don't use BP_SYM.
5117 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5118 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5119 (__bzero): Don't use BP_SYM.
5120 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5121 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5122 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5123 <bp-sym.h> and <bp-asm.h>.
5124 (strncmp): Don't use BP_SYM. Remove comment about bounded
5126 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5127 <bp-sym.h> and <bp-asm.h>.
5128 (memcpy): Don't use BP_SYM.
5129 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5130 <bp-sym.h> and <bp-asm.h>.
5131 (memset): Don't use BP_SYM.
5132 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5133 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5134 (__bzero): Don't use BP_SYM.
5135 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5136 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5137 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5138 <bp-sym.h> and <bp-asm.h>.
5139 (__memchr): Don't use BP_SYM.
5140 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5141 <bp-sym.h> and <bp-asm.h>.
5142 (memcmp): Don't use BP_SYM. Remove comment about bounded
5144 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5145 <bp-sym.h> and <bp-asm.h>.
5146 (memcpy): Don't use BP_SYM.
5147 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5148 <bp-sym.h> and <bp-asm.h>.
5149 (__mempcpy): Don't use BP_SYM.
5150 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5151 <bp-sym.h> and <bp-asm.h>.
5152 (__memrchr): Don't use BP_SYM.
5153 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5154 <bp-sym.h> and <bp-asm.h>.
5155 (memset): Don't use BP_SYM.
5156 (__bzero): Likewise.
5157 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5158 <bp-sym.h> and <bp-asm.h>.
5159 (__rawmemchr): Don't use BP_SYM.
5160 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5161 <bp-sym.h> and <bp-asm.h>.
5162 (__STRCMP): Don't use BP_SYM.
5163 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5164 <bp-sym.h> and <bp-asm.h>.
5165 (strchr): Don't use BP_SYM.
5166 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5167 <bp-sym.h> and <bp-asm.h>.
5168 (__strchrnul): Don't use BP_SYM.
5169 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5170 <bp-sym.h> and <bp-asm.h>.
5171 (strlen): Don't use BP_SYM.
5172 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5173 <bp-sym.h> and <bp-asm.h>.
5174 (strncmp): Don't use BP_SYM. Remove comment about bounded
5176 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5177 <bp-sym.h> and <bp-asm.h>.
5178 (__strnlen): Don't use BP_SYM.
5179 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5180 <bp-sym.h> and <bp-asm.h>.
5181 (__GI__setjmp): Don't use BP_SYM.
5182 (_setjmp): Likewise.
5183 (__sigsetjmp): Likewise.
5184 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5185 (L(start_addresses)): Don't use BP_SYM.
5187 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5189 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5190 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5191 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5192 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5193 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5195 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5196 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5197 about bounded pointers.
5198 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5199 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5200 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5202 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5203 about bounded pointers. Remove GKM FIXME comments.
5204 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5205 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5207 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5208 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5209 Remove GKM FIXME comments.
5210 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5211 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5212 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5214 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5215 about bounded pointers. Remove GKM FIXME comment.
5216 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5218 (strncmp): Don't use BP_SYM. Remove comment about bounded
5220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5221 <bp-sym.h> and <bp-asm.h>.
5222 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5224 <bp-sym.h> and <bp-asm.h>.
5225 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5228 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5230 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5233 2013-03-05 David S. Miller <davem@davemloft.net>
5235 * po/es.po: Update from translation team.
5237 2013-03-05 Andreas Jaeger <aj@suse.de>
5239 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5240 <bits/mman-linux.h>.
5241 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5243 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5244 <bits/mman-linux.h> to end of file.
5245 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5247 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5248 <bits/mman-linux.h> to end of file.
5249 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5251 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5252 <bits/mman-linux.h> to end of file.
5254 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5255 (MCL_CURRENT, MCL_FUTURE): Define here.
5257 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5260 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5262 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5264 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5266 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5267 fourth parameter needed for rt_sigprocmask syscall.
5268 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5269 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5270 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5271 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5272 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5273 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5275 2013-03-04 Joseph Myers <joseph@codesourcery.com>
5278 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5279 comment about bounded pointers.
5280 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5281 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5283 2013-03-04 Andreas Jaeger <aj@suse.de>
5285 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5288 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5289 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5290 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5291 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5292 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5293 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5295 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5298 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5299 __ieee754_sqrl instead of __sqrl.
5301 2013-03-01 Joseph Myers <joseph@codesourcery.com>
5303 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5304 * sysdeps/powerpc/fpu_control.h: ... here.
5305 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5306 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5307 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5308 * sysdeps/powerpc/bits/mathinline.h: ... here.
5310 2013-03-01 Roland McGrath <roland@hack.frob.com>
5312 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5313 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5314 to just [NEED_DL_SYSINFO_DSO].
5315 * elf/dl-support.c: Likewise.
5316 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5317 * elf/rtld.c (dl_main): Likewise.
5318 * elf/setup-vdso.h (setup_vdso): Likewise.
5319 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5320 * sysdeps/unix/sysv/linux/dl-sysdep.c
5321 (_dl_discover_osversion): Likewise.
5323 2013-03-01 Carlos O'Donell <carlos@redhat.com>
5325 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5326 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5328 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5330 * NEWS: Mention libm performance improvements and non-x86 PI
5333 * csu/libc-start.c (__pthread_initialize_minimal): Change
5335 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5337 2013-02-28 Joseph Myers <joseph@codesourcery.com>
5340 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5341 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5342 <bp-sym.h> and <bp-asm.h>.
5343 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5344 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5346 (memcpy): Don't use BP_SYM.
5347 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5349 (__mpn_add_n): Don't use BP_SYM.
5350 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5351 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5353 (__mpn_addmul_1): Don't use BP_SYM.
5354 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5355 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5357 (_setjmp): Don't use BP_SYM.
5358 (__novmx_setjmp): Likewise.
5359 (__GI__setjmp): Likewise.
5360 (__vmx_setjmp): Likewise.
5361 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5363 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5364 (__bzero): Don't use BP_SYM.
5365 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5366 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5367 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5368 <bp-sym.h> and <bp-asm.h>.
5369 (memcpy): Don't use BP_SYM.
5370 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5371 <bp-sym.h> and <bp-asm.h>.
5372 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5373 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5374 <bp-sym.h> and <bp-asm.h>.
5375 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5376 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5378 (__mpn_lshift): Don't use BP_SYM.
5379 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5380 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5382 (memset): Don't use BP_SYM.
5383 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5384 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5385 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5387 (__mpn_mul_1): Don't use BP_SYM.
5388 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5389 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5390 <bp-sym.h> and <bp-asm.h>.
5391 (memcmp): Don't use BP_SYM.
5392 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5393 <bp-sym.h> and <bp-asm.h>.
5394 (memcpy): Don't use BP_SYM.
5395 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5396 <bp-sym.h> and <bp-asm.h>.
5397 (memset): Don't use BP_SYM.
5398 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5399 <bp-sym.h> and <bp-asm.h>.
5400 (strncmp): Don't use BP_SYM.
5401 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5402 <bp-sym.h> and <bp-asm.h>.
5403 (memcpy): Don't use BP_SYM.
5404 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5405 <bp-sym.h> and <bp-asm.h>.
5406 (memset): Don't use BP_SYM.
5407 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5408 <bp-sym.h> and <bp-asm.h>.
5409 (__memchr): Don't use BP_SYM.
5410 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5411 <bp-sym.h> and <bp-asm.h>.
5412 (memcmp): Don't use BP_SYM.
5413 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5414 <bp-sym.h> and <bp-asm.h>.
5415 (memcpy): Don't use BP_SYM.
5416 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5417 <bp-sym.h> and <bp-asm.h>.
5418 (__mempcpy): Don't use BP_SYM.
5419 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5420 <bp-sym.h> and <bp-asm.h>.
5421 (__memrchr): Don't use BP_SYM.
5422 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5423 <bp-sym.h> and <bp-asm.h>.
5424 (memset): Don't use BP_SYM.
5425 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5426 <bp-sym.h> and <bp-asm.h>.
5427 (__rawmemchr): Don't use BP_SYM.
5428 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5429 <bp-sym.h> and <bp-asm.h>.
5430 (__STRCMP): Don't use BP_SYM.
5431 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5432 <bp-sym.h> and <bp-asm.h>.
5433 (strchr): Don't use BP_SYM.
5434 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5435 <bp-sym.h> and <bp-asm.h>.
5436 (__strchrnul): Don't use BP_SYM.
5437 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5438 <bp-sym.h> and <bp-asm.h>.
5439 (strlen): Don't use BP_SYM.
5440 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5441 <bp-sym.h> and <bp-asm.h>.
5442 (strncmp): Don't use BP_SYM.
5443 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5444 <bp-sym.h> and <bp-asm.h>.
5445 (__strnlen): Don't use BP_SYM.
5446 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5448 (__mpn_rshift): Don't use BP_SYM.
5449 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5450 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5451 <bp-sym.h> and <bp-asm.h>.
5452 (__sigsetjmp): Don't use BP_SYM.
5453 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5454 (L(start_addresses)): Don't use BP_SYM.
5456 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5458 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5459 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5460 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5461 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5463 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5464 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5465 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5466 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5468 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5470 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5471 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5473 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5475 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5476 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5477 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5479 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5481 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5483 (strncmp): Don't use BP_SYM,
5484 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5486 (__mpn_sub_n): Don't use BP_SYM.
5487 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5488 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5490 (__mpn_submul_1): Don't use BP_SYM.
5491 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5493 <bp-sym.h> and <bp-asm.h>.
5494 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5496 <bp-sym.h> and <bp-asm.h>.
5497 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5500 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5503 Use ZK to minimize writes to Z.
5504 (sub_magnitudes): Simplify code a bit.
5505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5506 Use ZK to minimize writes to Z.
5507 (sub_magnitudes): Simplify code a bit.
5509 2013-02-27 Roland McGrath <roland@hack.frob.com>
5511 * csu/gmon-start.c: Add special exception to license text.
5513 2013-02-27 Richard Henderson <rth@redhat.com>
5515 * scripts/config.guess: Update from config.git.
5516 * scripts/config.sub: Likewise.
5518 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5520 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5522 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5524 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5526 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5528 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5530 2013-02-26 Roland McGrath <roland@hack.frob.com>
5532 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5533 [$(build-shared = yes].
5535 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5537 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5538 (__mul): Reduce iterations for calculating mantissa.
5540 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5542 (__mpranred): Likewise.
5545 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5546 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5548 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5550 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5551 Define __attribute__.
5553 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5555 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5557 * posix/regex_internal.h (__attribute): Remove.
5558 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5559 (re_string_context_at): Likewise.
5560 (bitset_not): Use __attribute__ and mark function as possibly
5562 (bitset_merge): Likewise.
5563 (bitset_mask): Likewise.
5564 (re_string_char_size_at): Likewise.
5565 (re_string_wchar_at): Likewise.
5566 (re_string_elem_size_at): Likewise.
5568 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5570 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5574 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5579 (__dbl_mp): Likewise.
5580 (add_magnitudes): Likewise.
5581 (sub_magnitudes): Likewise.
5585 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5588 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5591 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5595 up changes with default code.
5596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5599 2013-02-24 Allan McRae <allan@archlinux.org>
5601 * manual/socket.texi (The Internet Namespace): Order menu items
5602 to match that in the file.
5604 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5605 node listing of the info page menu.
5607 2013-02-21 Joseph Myers <joseph@codesourcery.com>
5610 * sysdeps/i386/bp-asm.h: Remove file.
5611 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5612 (PARMS): Do not use macros from bp-asm.h.
5616 (__mpn_add_n): Do not use BP_SYM
5617 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5619 (PARMS): Do not use macros from bp-asm.h.
5622 (__mpn_addmul_1): Do not use BP_SYM
5623 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5625 (PARMS): Do not use macros from bp-asm.h.
5627 (_setjmp): Likewise. Do not use BP_SYM.
5628 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5630 (PARMS): Do not use macros from bp-asm.h.
5632 (setjmp): Likewise. Do not use BP_SYM.
5633 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5635 (PARMS): Do not use macros from bp-asm.h.
5636 (__frexp): Do not use BP_SYM.
5638 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5640 (PARMS): Do not use macros from bp-asm.h.
5641 (__frexpf): Do not use BP_SYM.
5643 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5645 (PARMS): Do not use macros from bp-asm.h.
5646 (__frexpl): Do not use BP_SYM.
5648 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5650 (PARMS): Do not use macros from bp-asm.h.
5651 (__remquo): Do not use BP_SYM.
5653 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5655 (PARMS): Do not use macros from bp-asm.h.
5656 (__remquof): Do not use BP_SYM.
5657 (remquof): Likewise.
5658 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5660 (PARMS): Do not use macros from bp-asm.h.
5661 (__remquol): Do not use BP_SYM.
5662 (remquol): Likewise.
5663 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5665 (PARMS): Do not use macros from bp-asm.h.
5668 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5669 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5671 (PARMS): Do not use macros from bp-asm.h.
5672 (strlen): Do not use BP_SYM.
5673 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5675 (PARMS): Do not use macros from bp-asm.h.
5679 (__mpn_add_n): Do not use BP_SYM.
5680 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5682 (PARMS): Do not use macros from bp-asm.h.
5685 (__mpn_addmul_1): Do not use BP_SYM.
5686 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5689 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5691 (PARMS): Do not use macros from bp-asm.h.
5694 (__mpn_lshift): Do not use BP_SYM.
5695 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5697 (PARMS): Do not use macros from bp-asm.h.
5701 (memcpy): Likewise. Do not use BP_SYM.
5702 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5703 libc_hidden_def and weak_alias.
5704 (mempcpy): Do not use BP_SYM in weak_alias.
5705 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5707 (PARMS): Do not use macros from bp-asm.h.
5710 [!BZERO_P] (CHR): Likewise.
5711 (memset): Likewise. Do not use BP_SYM.
5712 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5714 (PARMS): Do not use macros from bp-asm.h.
5717 (__mpn_mul_1): Do not use BP_SYM.
5718 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5720 (PARMS): Do not use macros from bp-asm.h.
5723 (__mpn_rshift): Do not use BP_SYM.
5724 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5726 (PARMS): Do not use macros from bp-asm.h.
5729 (strchr): Likewise. Do not use BP_SYM.
5730 (index): Do not use BP_SYM in weak_alias.
5731 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5733 (PARMS): Do not use macros from bp-asm.h.
5736 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5737 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5739 (PARMS): Do not use macros from bp-asm.h.
5740 (strlen): Do not use BP_SYM.
5741 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5743 (PARMS): Do not use macros from bp-asm.h.
5747 (__mpn_sub_n): Do not use BP_SYM.
5748 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5750 (PARMS): Do not use macros from bp-asm.h.
5753 (__mpn_submul_1): Do not use BP_SYM.
5754 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5756 (PARMS): Do not use macros from bp-asm.h.
5760 (__mpn_add_n): Do not use BP_SYM.
5761 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5764 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5766 (PARMS): Do not use macros from bp-asm.h.
5769 (memcmp): Do not use BP_SYM.
5770 (bcmp): Do not use BP_SYM in weak_alias.
5771 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5773 (PARMS): Do not use macros from bp-asm.h.
5777 (memcpy): Likewise. Do not use BP_SYM.
5778 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5780 (PARMS): Do not use macros from bp-asm.h.
5784 (memmove): Likewise. Do not use BP_SYM.
5785 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5787 (PARMS): Do not use macros from bp-asm.h.
5791 (__mempcpy): Likewise. Do not use BP_SYM.
5792 (mempcpy): Do not use BP_SYM in weak_alias.
5793 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5795 (PARMS): Do not use macros from bp-asm.h.
5798 [!BZERO_P] (CHR): Likewise.
5799 (memset): Likewise. Do not use BP_SYM.
5800 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5802 (PARMS): Do not use macros from bp-asm.h.
5804 (strcmp): Do not use BP_SYM.
5805 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5807 (PARMS): Do not use macros from bp-asm.h.
5810 [USE_AS_STRTOK_R] (SAVE): Likewise.
5811 (FUNCTION): Likewise. Do not use BP_SYM.
5812 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5814 (strtok_r): Likewise.
5815 (__GI___strtok_r): Likewise.
5816 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5817 (PARMS): Do not use macros from bp-asm.h.
5820 (__mpn_lshift): Do not use BP_SYM.
5821 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5822 (PARMS): Do not use macros from bp-asm.h.
5825 (__memchr): Do not use BP_SYM.
5826 (memchr): Do not use BP_SYM in weak_alias.
5827 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5828 (PARMS): Do not use macros from bp-asm.h.
5831 (memcmp): Do not use BP_SYM.
5832 (bcmp): Do not use BP_SYM in weak_alias.
5833 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5834 (PARMS): Do not use macros from bp-asm.h.
5837 (__mpn_mul_1): Do not use BP_SYM.
5838 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5840 (PARMS): Do not use macros from bp-asm.h.
5843 (__rawmemchr): Do not use BP_SYM.
5844 (rawmemchr): Do not use BP_SYM in weak_alias.
5845 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5846 (PARMS): Do not use macros from bp-asm.h.
5849 (__mpn_rshift): Do not use BP_SYM.
5850 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5851 (PARMS): Do not use macros from bp-asm.h.
5853 (__sigsetjmp): Likewise. Do not use BP_SYM.
5854 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5855 (_start): Do not use BP_SYM.
5856 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5857 (PARMS): Do not use macros from bp-asm.h.
5860 (__stpcpy): Likewise. Do not use BP_SYM.
5861 (stpcpy): Do not use BP_SYM in weak_alias.
5862 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5864 (PARMS): Do not use macros from bp-asm.h.
5868 (__stpncpy): Likewise. Do not use BP_SYM.
5869 (stpncpy): Do not use BP_SYM in weak_alias.
5870 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5871 (PARMS): Do not use macros from bp-asm.h.
5874 (strchr): Likewise. Do not use BP_SYM.
5875 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5877 (PARMS): Do not use macros from bp-asm.h.
5880 (__strchrnul): Likewise. Do not use BP_SYM.
5881 (strchrnul): Do not use BP_SYM in weak_alias.
5882 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5884 (PARMS): Do not use macros from bp-asm.h.
5886 (strcspn): Do not use BP_SYM.
5887 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5889 (PARMS): Do not use macros from bp-asm.h.
5892 (strpbrk): Likewise. Do not use BP_SYM.
5893 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5895 (PARMS): Do not use macros from bp-asm.h.
5898 (strrchr): Likewise. Do not use BP_SYM.
5899 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5900 (PARMS): Do not use macros from bp-asm.h.
5902 (strspn): Do not use BP_SYM.
5903 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5904 (PARMS): Do not use macros from bp-asm.h.
5908 (FUNCTION): Likewise. Do not use BP_SYM.
5909 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5911 (strtok_r): Likewise.
5912 (__GI___strtok_r): Likewise.
5913 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5914 (PARMS): Do not use macros from bp-asm.h.
5918 (__mpn_sub_n): Do not use BP_SYM.
5919 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5921 (PARMS): Do not use macros from bp-asm.h.
5924 (__mpn_submul_1): Do not use BP_SYM.
5925 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5927 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5929 (PARMS): Do not use macros from bp-asm.h.
5934 (__clone): Do not use BP_SYM.
5935 (clone): Do not use BP_SYM in weak_alias.
5936 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5938 (PARMS): Do not use macros from bp-asm.h.
5940 (__mmap64): Do not use BP_SYM.
5941 (mmap64): Do not use BP_SYM in weak_alias.
5942 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5943 <bp-sym.h> and <bp-asm.h>.
5944 (PARMS): Do not use macros from bp-asm.h.
5945 (__posix_fadvise64_l64): Do not use BP_SYM.
5946 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5947 (PARMS): Do not use macros from bp-asm.h.
5949 (semtimedop): Do not use BP_SYM.
5950 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5953 2013-02-21 Allan McRae <allan@archlinux.org>
5955 * manual/message.texi (Charset conversion in gettext):
5956 Move @end statement to beginning of line.
5958 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5965 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5968 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5970 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5972 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5973 tail-call to the resolved function if pltexit isn't needed.
5975 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5978 or Y being zero as being unlikely.
5979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5982 2013-02-20 Carlos O'Donell <carlos@redhat.com>
5984 * manual/nss.texi (System Databases and Name Service Switch):
5985 Remove frobnicate @pxref.
5987 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5989 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5990 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5992 2013-02-20 Petr Machata <pmachata@redhat.com>
5994 * elf/elf.h (R_ARM_TARGET1): New macro.
5995 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5996 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5997 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5998 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5999 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6000 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6001 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6002 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6003 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6004 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6005 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6006 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6007 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6008 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6009 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6010 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6011 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6012 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6013 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6014 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6015 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6016 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6017 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6018 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6019 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6020 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6021 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6022 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6023 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6024 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6025 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6026 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6027 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6028 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6029 (R_ARM_THM_GOT_BREL12): Likewise.
6030 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6031 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6032 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6033 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6034 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6035 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6036 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6037 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6038 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6040 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6042 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6043 __attribute_used__ to __attribute__ ((unused)).
6045 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6047 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6053 2013-02-19 Joseph Myers <joseph@codesourcery.com>
6056 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6058 (ENTER): Remove both macro definitions.
6060 (CHECK_BOUNDS_LOW): Likewise.
6061 (CHECK_BOUNDS_HIGH): Likewise.
6062 (CHECK_BOUNDS_BOTH): Likewise.
6063 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6064 (RETURN_BOUNDED_POINTER): Likewise.
6065 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6066 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6067 (POP_ERRNO_LOCATION_RETURN): Likewise.
6068 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6069 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6070 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6072 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6073 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6074 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6075 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6076 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6077 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6078 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6079 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6080 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6081 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6082 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6083 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6084 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6085 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6087 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6088 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6090 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6091 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6092 * sysdeps/i386/i586/memset.S (memset): Likewise.
6093 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6094 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6095 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6097 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6098 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6099 Change uses of L(2) to L(out).
6100 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6101 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6102 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6103 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6104 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6106 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6107 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6109 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6110 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6111 (RETURN): Do not use macro LEAVE.
6112 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6113 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6114 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6115 * sysdeps/i386/i686/memset.S (memset): Likewise.
6116 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6117 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6118 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6119 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6121 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6122 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6123 L(1_2) and L(1_3) into L(1).
6124 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6125 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6126 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6127 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6128 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6129 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6130 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6131 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6132 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6134 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6135 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6136 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6137 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6138 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6139 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6140 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6141 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6142 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6143 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6144 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6145 * sysdeps/i386/strspn.S (strspn): Likewise.
6146 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6148 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6149 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6150 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6151 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6153 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6154 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6155 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6157 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6159 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6161 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6164 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6166 * math/atest-exp.c (exp_mpn): Remove ROUND.
6167 * math/atest-exp2.c (exp_mpn): Likewise.
6168 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6170 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6171 * stdlib/tst-tls-atexit-lib.c: Likewise.
6172 * stdlib/tst-tls-atexit.c: Likewise.
6174 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6176 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6177 and __attribute_alloc_size__.
6179 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6181 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6182 __attribute_alloc_size__.
6183 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6184 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6186 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6188 * include/programs/xmalloc.h: New file.
6189 * catgets/gencat.c: Include it.
6190 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6191 * elf/pldd.c: Likewise.
6192 * iconv/iconv_charmap.c: Likewise.
6193 * iconv/iconvconfig.c: Likewise.
6194 * iconv/strtab.c: Likewise.
6195 * locale/programs/locale.c: Likewise.
6196 * locale/programs/localedef.h: Likewise.
6197 * locale/programs/simple-hash.c: Likewise.
6198 * nscd/nscd.h: Likewise.
6199 * nss/makedb.c: Likewise.
6200 * sysdeps/generic/ldconfig.h: Likewise.
6202 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6204 * Versions.def: Add GLIBC_2.18.
6205 * include/link.h (struct link_map): New member l_tls_dtor_count.
6206 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6207 (__call_tls_dtors): Likewise.
6208 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6209 __cxa_thread_atexit_impl.
6210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6214 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6218 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6221 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6226 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6227 (tests): Add test case tst-tls-atexit.
6228 (modules-names): Add shared library for tst-tls-atexit.
6229 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6230 (GLIBC_PRIVATE): Add __call_tls_dtors.
6231 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6233 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6234 * stdlib/tst-tls-atexit.c: New test case.
6235 * stdlib/tst-tls-atexit-lib.c: New test case.
6237 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6239 * elf/Versions (ld): Add _dl_find_dso_for_object.
6240 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6241 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6242 (dl_open_worker): Use _dl_find_dso_for_object.
6243 * elf/dl-sym.c (do_sym): Likewise.
6244 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6246 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6248 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6249 Syntactic changes only.
6250 (_dl_runtime_profile): Do a tail-call to the resolved function.
6252 2013-02-17 Joseph Myers <joseph@codesourcery.com>
6255 * sysdeps/x86_64/bp-asm.h: Remove file.
6256 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6257 <bp-sym.h> and <bp-asm.h>.
6258 (__clone): Do not use BP_SYM.
6259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6260 <bp-sym.h> and <bp-asm.h>.
6261 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6262 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6264 (_setjmp): Do not use BP_SYM.
6265 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6267 (setjmp): Do not use BP_SYM.
6268 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6270 (mempcpy): Do not use BP_SYM in weak_alias.
6271 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6273 (strchr): Do not use BP_SYM.
6274 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6276 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6277 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6278 (_start): Do not use BP_SYM.
6279 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6281 (strcat): Do not use BP_SYM.
6282 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6284 (STRCMP): Do not use BP_SYM.
6285 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6287 (STRCPY): Do not use BP_SYM.
6288 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6290 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6292 (FUNCTION): Do not use BP_SYM.
6293 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6295 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6297 2013-02-17 Andreas Jaeger <aj@suse.de>
6299 * time/Versions: Sort entries.
6300 * string/Versions: Likewise.
6301 * resolv/Versions: Likewise.
6302 * posix/Versions: Likewise.
6303 * iconv/Versions: Likewise.
6304 * elf/Versions: Likewise.
6305 * wcsmbs/Versions: Likewise.
6307 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6309 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6310 loop termination condition.
6312 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6313 variable to calculate EZ.
6316 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6317 the lower precision input.
6319 2013-02-15 Joseph Myers <joseph@codesourcery.com>
6322 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6323 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6324 (run-via-rtld-prefix): Do not handle %-bp tests.
6325 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6326 (all-object-suffixes): Remove .ob.
6327 (bppfx): Remove variable.
6328 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6329 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6330 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6331 [$(build-bounded) = yes] (libtype.ob): Likewise.
6332 * Makerules (elide-routines.ob): Remove variable.
6333 (do-tests-clean): Do not handle *-bp.out.
6334 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6335 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6336 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6337 (tests): Do not include $(tests-bp.out).
6338 (xtests): Do not include $(xtests-bp.out).
6339 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6340 [$(build-bounded) = yes] ($(addprefix
6341 $(objpfx),$(binaries-bounded))): Remove rule.
6342 ($(objpfx)%-bp.out): Remove rule.
6343 * config.make.in (build-bounded): Remove variable.
6344 * crypt/Makefile [$(build-bounded) = yes]
6345 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6346 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6348 [$(build-bounded) = yes] (install-lib): Likewise.
6349 [$(build-bounded) = yes] (generated): Likewise.
6350 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6352 * intl/Makefile [$(build-bounded) = yes]
6353 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6354 * math/Makefile [$(build-bounded) = yes]
6355 ($(tests:%=$(objpfx)%-bp): Likewise.
6356 * misc/Makefile [$(build-bounded) = yes]
6357 ($(objpfx)tst-tsearch-bp): Likewise.
6358 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6359 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6361 * string/Makefile (o-objects.ob): Remove variable.
6362 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6363 (CFLAGS-.ob): Remove variable.
6364 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6365 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6366 both definitions of variable.
6367 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6368 (ASFLAGS-.ob): Remove variable.
6370 2013-02-14 Joseph Myers <joseph@codesourcery.com>
6373 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6374 Remove __BOUNDED_POINTERS__ from condition.
6375 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6376 * string/bits/string2.h [!__NO_STRING_INLINES &&
6377 !__BOUNDED_POINTERS__]: Likewise.
6378 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6380 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6381 Remove conditional code.
6382 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6383 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6384 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6388 * csu/libc-start.c: Do not include <bp-sym.h>.
6389 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6390 * elf/dl-open.c: Do not include <bp-sym.h>.
6391 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6392 * math/fegetenv.c: Do not include <bp-sym.h>.
6393 (fegetenv): Do not use BP_SYM in versioned symbols.
6394 * nptl/sysdeps/pthread/bits/libc-lockP.h
6395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6398 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6400 (__pthread_mutex_destroy): Likewise.
6401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6402 (__pthread_mutex_lock): Likewise.
6403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6404 (__pthread_mutex_trylock): Likewise.
6405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6406 (__pthread_mutex_unlock): Likewise.
6407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6408 (__pthread_mutexattr_init): Likewise.
6409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6410 (__pthread_mutexattr_destroy): Likewise.
6411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6412 (__pthread_mutexattr_settype): Likewise.
6413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6414 (__pthread_rwlock_init): Likewise.
6415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6416 (__pthread_rwlock_destroy): Likewise.
6417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6418 (__pthread_rwlock_rdlock): Likewise.
6419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6420 (__pthread_rwlock_tryrdlock): Likewise.
6421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6422 (__pthread_rwlock_wrlock): Likewise.
6423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6424 (__pthread_rwlock_trywrlock): Likewise.
6425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6426 (__pthread_rwlock_unlock): Likewise.
6427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6428 (__pthread_key_create): Likewise.
6429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6430 (__pthread_setspecific): Likewise.
6431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6432 (__pthread_getspecific): Likewise.
6433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6436 (_pthread_cleanup_push_defer): Likewise.
6437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6438 (_pthread_cleanup_pop_restore): Likewise.
6439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6440 (pthread_setcancelstate): Likewise.
6441 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6443 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6444 (memchr): Do not use BP_SYM in weak_alias.
6445 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6446 (fegetenv): Do not use BP_SYM in versioned symbols.
6447 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6448 (fesetenv): Do not use BP_SYM in versioned symbols.
6449 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6450 (feupdateenv): Do not use BP_SYM in versioned symbols.
6451 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6452 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6453 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6454 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6455 (open64): Do not use BP_SYM in weak_alias.
6456 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6457 (fegetenv): Do not use BP_SYM in versioned symbols.
6458 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6459 (fesetenv): Do not use BP_SYM in versioned symbols.
6460 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6461 (feupdateenv): Do not use BP_SYM in versioned symbols.
6462 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6463 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6464 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6465 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6466 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6467 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6468 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6470 (__libc_start_main): Do not use BP_SYM.
6472 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6475 redundant return line.
6479 (sub_magnitudes): Likewise.
6485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6489 (sub_magnitudes): Likewise.
6496 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6498 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6499 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6502 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6503 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6505 of __mul for squares.
6506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6510 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6511 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6513 2013-02-13 Joseph Myers <joseph@codesourcery.com>
6516 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6518 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6519 prototype or function definition. Rename ubp_* variables and
6520 parameters. Remove argv definitions conditional on
6521 [__BOUNDED_POINTERS__].
6522 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6523 * elf/dl-runtime.c (_dl_fixup): Likewise.
6524 * include/set-hooks.h (RUN_HOOK): Likewise.
6525 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6527 * string/strcpy.c (strcpy): Do not use __unbounded.
6528 * sysdeps/generic/frame.h (struct layout): Likewise.
6529 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6530 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6531 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6532 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6533 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6534 (__backtrace): Likewise.
6535 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6537 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6538 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6539 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6541 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6542 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6543 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6544 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6545 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6546 Do not use __unbounded.
6547 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6548 Rename __unboundedrlimits parameter to rlimits in prototype.
6549 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6550 Do not use __unbounded.
6551 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6553 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6554 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6555 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6556 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6557 __ptrvalue or __unbounded.
6558 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6559 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6561 (__new_msgctl): Do not use __ptrvalue.
6562 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6564 (__libc_msgrcv): Do not use __ptrvalue.
6565 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6566 startup_info): Do not use __unbounded.
6567 (__libc_start_main): Likewise. Rename ubp_* variables and
6568 parameters. Remove argv definitions conditional on
6569 [__BOUNDED_POINTERS__].
6570 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6572 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6574 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6576 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6578 (__new_shmctl): Do not use __ptrvalue.
6579 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6580 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6582 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6583 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6584 (__libc_sigaction): Likewise.
6585 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6586 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6588 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6590 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
6592 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6594 * string/mempcpy.c: Implement by calling memcpy.
6596 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6598 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6603 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6604 values in the mantissa.
6606 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6607 minimize writes to Z.
6608 (sub_magnitudes): Simplify code a bit.
6610 2013-02-12 Roland McGrath <roland@hack.frob.com>
6612 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6613 from the message. The linker prefixes all warnings with that already.
6615 2013-02-12 Andreas Schwab <schwab@suse.de>
6618 * posix/regexec.c (extend_buffers): Add parameter min_len.
6619 (check_matching): Pass minimum needed length.
6620 (clean_state_log_if_needed): Likewise.
6621 (get_subexp): Likewise.
6622 * posix/Makefile (tests): Add bug-regex34.
6623 (bug-regex34-ENV): Define.
6624 * posix/bug-regex34.c: New file.
6627 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6628 elements compare against the byte sequence of it, not its name.
6629 * posix/Makefile (tests): Add bug-regex35.
6630 (bug-regex35-ENV): Define.
6631 * posix/bug-regex35.c: New file.
6633 2013-02-11 Tom de Vries <tom@codesourcery.com>
6635 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6637 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6638 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6639 (CHECK_EOL): Add undef.
6641 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
6643 * bits/stdlib-bsearch.h: New file.
6644 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6645 * stdlib/stdlib.h: Likewise.
6647 2013-02-11 Roland McGrath <roland@hack.frob.com>
6649 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6650 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6652 * manual/search.texi (Array Search Function): Add missing const in
6654 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6655 declaration to use rlim_t.
6656 (Basic Scheduling Functions): Remove erroneous const from
6657 sched_getparam prototype. Remove erroneous * from
6658 sched_get_priority_max and sched_get_priority_min prototypes.
6659 (Resource Usage): Fix summary @comment on vtimes to refer to
6660 sys/vtimes.h rather than vtimes.h.
6661 Add missing *s in vtimes prototype.
6662 (Limits on Resources): Fix ulimit prototype to return long int.
6663 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6664 prototypes to use long int rather than double.
6665 (BSD Random): Fix initstate and setstate to use char *, not void *.
6666 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6667 prototype to make second argument 'struct aiocb64 *const[]'.
6668 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6669 (Status of AIO Operations): Remove erroneous const in aio_return and
6670 aio_return64 prototypes.
6671 (Synchronizing I/O): Fix sync prototype to return void.
6672 * manual/startup.texi (Suboptions): Remove an erroneous const in
6673 getsubopt prototype.
6674 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6675 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6676 use size_t rather than int.
6677 (Scanning All Users): Likewise for getpwent_r.
6678 (Setting Groups): Add missing const to setgroups prototype.
6679 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6680 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6681 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6682 'const void *' rather than 'const char *'.
6683 (Host Address Functions): Likewise for inet_ntop.
6684 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6685 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6686 ssize_t for return value.
6687 (Sending Data): Likewise for send, sendto, sendmsg.
6688 (Socket Option Functions): Add a missing const in setsockopt prototype.
6689 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6690 use wchar_t for the argument.
6691 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6692 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6694 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6695 double/float/long double for second argument.
6696 Fix return types of significand, significandf, significandl.
6697 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6698 argument in fchmod prototype.
6699 (File Owner): Use uid_t and gid_t in fchown prototype.
6700 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6701 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6702 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6703 use 'const struct dirent **' as argument types to CMP function pointer
6705 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6706 (File Times): Fix summary magic @comment for struct utimbuf and utime
6707 to refer to utime.h, not time.h.
6708 * manual/string.texi (Argz Functions): Add missing const in
6709 argz_extract and argz_next prototypes.
6710 (Finding Tokens in a String): Likewise for basename.
6711 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6712 (Copying and Concatenation): Fix typo in wmemmove prototype.
6713 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6714 (Signal Stack): Remove erroneous const in sigstack prototype.
6715 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6717 (Simple Calendar Time): Likewise for stime.
6718 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6720 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6721 say sys/sysctl.h instead.
6722 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6723 and vsyslog prototypes.
6725 2013-02-11 Tom de Vries <tom@codesourcery.com>
6727 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6730 2013-02-11 Roland McGrath <roland@hack.frob.com>
6732 * misc/sys/mman.h: Fix typo in mremap comment.
6734 2013-02-08 Roland McGrath <roland@hack.frob.com>
6736 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6737 the '\0' terminator.
6739 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6742 * debug/segfault.c: Don't include <bp-checks.h>.
6743 * sysdeps/generic/bp-checks.h: Remove file.
6744 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6745 (__GETDENTS): Don't use CHECK_N.
6746 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6747 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6748 (__getgroups): Don't use CHECK_N.
6749 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6750 (setgroups): Don't use CHECK_N.
6751 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6752 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6753 (__libc_msgrcv): Don't use CHECK_N.
6754 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6755 (__libc_msgsnd): Don't use CHECK_N.
6756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6758 (__libc_pread): Don't use CHECK_N.
6759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6760 include <bp-checks.h>.
6761 (__libc_pread64): Don't use CHECK_N.
6762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6763 include <bp-checks.h>.
6764 (__libc_pwrite): Don't use CHECK_N.
6765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6766 include <bp-checks.h>.
6767 (__libc_pwrite64): Don't use CHECK_N.
6768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6770 (__libc_pread): Don't use CHECK_N.
6771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6772 include <bp-checks.h>.
6773 (__libc_pread64): Don't use CHECK_N.
6774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6775 include <bp-checks.h>.
6776 (__libc_pwrite): Don't use CHECK_N.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6778 include <bp-checks.h>.
6779 (__libc_pwrite64): Don't use CHECK_N.
6780 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6781 (do_pread): Don't use CHECK_N.
6782 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6783 (do_pread64): Don't use CHECK_N.
6784 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6785 (do_pwrite): Don't use CHECK_N.
6786 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6787 (do_pwrite64): Don't use CHECK_N.
6788 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6789 (__libc_readv): Don't use CHECK_N.
6790 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6791 (semop): Don't use CHECK_N.
6792 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6794 (semtimedop): Don't use CHECK_N.
6795 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6796 (__libc_pread): Don't use CHECK_N.
6797 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6799 (__libc_pread64): Don't use CHECK_N.
6800 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6802 (__libc_pwrite): Don't use CHECK_N.
6803 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6805 (__libc_pwrite64): Don't use CHECK_N.
6806 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6808 (__libc_msgrcv): Don't use CHECK_N.
6809 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6810 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6811 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6812 (__libc_writev): Don't use CHECK_N.
6814 2013-02-08 Roland McGrath <roland@hack.frob.com>
6816 * string/strcpy.c: Removed unused variable.
6818 * Makeconfig (+sysdep-includes): Define with := rather than =.
6819 Use an existing include/ subdir of each sysdeps dir before it.
6821 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6823 * nscd/connection.c (register_traced_file): Comment function.
6824 [HAVE_INOTIFY] (union __inev): Define.
6825 [HAVE_INOTIFY] (inotify_check_files): New function.
6826 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6827 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6829 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6831 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6833 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6834 loaded if not already and that a failure is permanent.
6836 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6839 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6840 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6842 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6845 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6846 (CHECK_1_NULL_OK): Likewise.
6847 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6848 (__fxstat): Do not use CHECK_1.
6849 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6851 (___fxstat64): Do not use CHECK_1.
6852 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6854 (__fxstatat): Do not use CHECK_1.
6855 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6857 (__fxstatat64): Do not use CHECK_1.
6858 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6860 (__fxstat): Do not use CHECK_1.
6861 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6863 (__fxstatat): Do not use CHECK_1.
6864 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6866 (__getresgid): Do not use CHECK_1.
6867 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6869 (__getresuid): Do not use CHECK_1.
6870 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6872 (__lxstat): Do not use CHECK_1.
6873 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6875 (__old_msgctl): Do not use CHECK_1.
6876 (__new_msgctl): Likewise.
6877 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6879 (__new_setrlimit): Do not use CHECK_1.
6880 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6882 (__old_shmctl): Do not use CHECK_1.
6883 (__new_shmctl): Likewise.
6884 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6886 (__xstat): Do not use CHECK_1.
6887 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6888 (__lxstat): Do not use CHECK_1.
6889 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6891 (___lxstat64): Do not use CHECK_1.
6892 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6893 (__old_msgctl): Do not use CHECK_1.
6894 (__new_msgctl): Likewise.
6895 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6897 (__gettimeofday): Do not use CHECK_1.
6898 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6899 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6900 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6902 (__gettimeofday): Do not use CHECK_1.
6903 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6904 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6905 (__new_shmctl): Do not use CHECK_1.
6906 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6908 (do_sigtimedwait): Do not use CHECK_1.
6909 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6911 (do_sigwaitinfo): Do not use CHECK_1.
6912 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6914 (msgctl): Do not use CHECK_1.
6915 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6917 (shmctl): Do not use CHECK_1.
6918 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6919 (ustat): Do not use CHECK_1.
6920 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6922 (__fxstat): Do not use CHECK_1.
6923 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6925 (__fxstatat): Do not use CHECK_1.
6926 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6928 (__lxstat): Do not use CHECK_1.
6929 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6931 (__xstat): Do not use CHECK_1.
6932 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6933 (__xstat): Do not use CHECK_1.
6934 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6935 (___xstat64): Do not use CHECK_1.
6938 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6940 (CHECK_BOUNDS_HIGH): Likewise.
6941 * string/strcpy.c: Do not include <bp-checks.h>.
6942 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6944 2013-02-07 Roland McGrath <roland@hack.frob.com>
6946 * nscd/nscd-client.h (__nscd_drop_map_ref):
6947 Add __attribute__ ((unused)).
6948 * nis/nss-nisplus.h (niserr2nss): Likewise.
6950 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6951 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6953 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6954 Remove inline keyword.
6955 * include/rounding-mode.h (round_away): Likewise.
6956 * libio/wfileops.c (adjust_wide_data): Likewise.
6957 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6958 (__m128i_strloadu_tolower): Likewise.
6959 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6960 (__m128i_strloadu_tolower): Likewise.
6961 * time/mktime.c (ydhms_diff): Likewise.
6962 * locale/elem-hash.h (elem_hash): Likewise.
6963 * locale/setlocale.c (setdata): Likewise.
6964 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6965 (re_string_wchar_at): Likewise.
6966 (bitset_not, bitset_merge, bitset_mask): Likewise.
6967 [!(__GNUC__ > 3)] (inline): Remove macro.
6968 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6969 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6970 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6971 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6972 * string/memcmp.c (memcmp_bytes): Likewise.
6973 * locale/programs/locarchive.c (compute_hashval): Likewise.
6974 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6975 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6976 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6977 * nss/getent.c (print_rpc, print_protocols): Likewise.
6978 (print_passwd, print_group, print_aliases): Likewise.
6979 * nis/nss-nisplus.h (niserr2nss): Likewise.
6980 * nscd/connections.c (restart_p): Likewise.
6981 Change return type to bool.
6983 2013-02-05 Roland McGrath <roland@hack.frob.com>
6985 * Makeconfig (all-Depend-files): Add existing
6986 $(sorted-subdirs:=/Depend) files.
6987 (all-subdirs): Remove nss.
6988 * sysdeps/unix/inet/Subdirs: Add it here instead.
6989 * hesiod/Depend: New file.
6991 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6992 instead of calling alloca.
6994 * io/lseek.c (__lseek): Rename to __libc_lseek.
6995 Define __lseek as an alias.
6997 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6999 2013-02-04 Carlos O'Donell <carlos@redhat.com>
7001 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7002 else clause and remove check for non-standard endianness.
7004 2013-02-04 David S. Miller <davem@davemloft.net>
7006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7008 2013-02-04 Joseph Myers <joseph@codesourcery.com>
7011 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7012 (__ubp_memchr): Remove prototype.
7013 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7014 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7015 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7016 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7017 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7019 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7020 (__ubp_memchr): Likewise.
7021 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7022 (__ubp_memchr): Likewise.
7023 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7024 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7025 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7026 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7028 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7029 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7030 (__getcwd): Do not use CHECK_STRING.
7031 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7033 (__real_chown): Do not use CHECK_STRING.
7034 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7036 (fchownat): Do not use CHECK_STRING.
7037 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7039 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7041 (__lchown): Do not use CHECK_STRING.
7042 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7043 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7044 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7045 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7047 include <bp-checks.h>.
7048 (truncate64): Do not use CHECK_STRING.
7049 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7051 (__real_chown): Do not use CHECK_STRING.
7052 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7054 (__lchown): Do not use CHECK_STRING.
7055 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7057 (__chown): Do not use CHECK_STRING.
7058 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7060 (truncate64): Do not use CHECK_STRING.
7061 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7063 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7064 (__xmknod): Do not use CHECK_STRING.
7065 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7067 (__xmknodat): Do not use CHECK_STRING.
7068 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7069 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7071 2013-02-04 Andreas Schwab <schwab@suse.de>
7074 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7075 * include/netdb.h: Likewise for h_errno.
7076 * elf/tst-stackguard1.c: Include <tls.h>.
7078 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7080 * elf/link.h (struct link_map): Extend the l_addr comment.
7081 * include/link.h (struct link_map): Likewise.
7083 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7086 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7087 (BOUNDED_1): Remove macro.
7088 * debug/backtrace.c: Don't include <bp-checks.h>.
7089 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7090 (__backtrace): Likewise.
7091 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7093 (__backtrace): Don't use BOUNDED_1.
7094 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7096 (__backtrace): Don't use BOUNDED_1.
7097 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7098 (__backtrace): Don't use BOUNDED_1.
7099 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7100 (shmat): Don't use BOUNDED_N.
7102 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7105 * sysdeps/generic/bp-start.h: Remove file.
7106 * csu/libc-start.c: Don't include <bp-start.h>.
7107 (LIBC_START_MAIN): Set up __environ directly instead of using
7108 INIT_ARGV_and_ENVIRON.
7109 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7113 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7115 (CHECK_FCNTL): Likewise.
7116 (CHECK_N_PAGES): Likewise.
7119 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7121 (CHECK_SIGSET_NULL_OK): Likewise.
7122 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7124 (sigpending): Don't use CHECK_SIGSET.
7125 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7127 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7128 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7130 (do_sigsuspend): Don't use CHECK_SIGSET.
7131 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7133 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7134 (do_sigwait): Don't use CHECK_SIGSET.
7135 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7137 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7138 include <bp-checks.h>.
7139 (sigpending): Don't use CHECK_SIGSET.
7140 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7141 include <bp-checks.h>.
7142 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7143 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7145 (sigpending): Don't use CHECK_SIGSET.
7146 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7148 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7151 * sysdeps/generic/bp-semctl.h: Remove file.
7152 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7153 <bp-checks.h> and <bp-semctl.h>.
7154 (__old_semctl): Don't use CHECK_SEMCTL.
7155 (__new_semctl): Likewise.
7156 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7158 (__old_semctl): Don't use CHECK_SEMCTL.
7159 (__new_semctl): Likewise.
7160 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7161 <bp-checks.h> and <bp-semctl.h>.
7162 (__old_semctl): Don't use CHECK_SEMCTL.
7163 (__new_semctl): Likewise.
7164 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7165 <bp-checks.h> and <bp-semctl.h>.
7166 (semctl): Don't use CHECK_SEMCTL.
7169 * Makerules (elide-bp-thunks): Remove variable.
7170 (elide-routines.oS): Don't use $(elide-bp-thunks).
7171 (elide-routines.os): Likewise.
7172 (elide-routines.o): Likewise.
7173 (elide-routines.op): Likewise.
7174 (elide-routines.og): Likewise.
7175 (objects): Don't use $(bp-thunks).
7176 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7178 (common-generated): Do not add s-proto-bp.d.
7179 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7182 Do not generate makefile rules for bounded-pointer thunks.
7183 * sysdeps/generic/bp-thunks.h: Remove file.
7184 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7185 * sysdeps/unix/s-proto-bp.S: Likewise.
7188 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7189 parts of result separately when argument is not close to line from
7190 -i to i and one part of argument is small.
7191 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7192 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7193 * math/libm-test.inc (cacos_test): Add more tests.
7194 (casin_test): Likewise.
7195 (casinh_test): Likewise.
7196 * sysdeps/i386/fpu/libm-test-ulps: Update.
7197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7199 2013-01-31 David S. Miller <davem@davemloft.net>
7201 * po/de.po: Update from translation team.
7203 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7205 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7207 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7209 * configure.in (_AC_PROG_CC_C89): New definition.
7210 * configure: Regenerate.
7212 * configure.in (AC_PROG_CPP): New definition.
7213 * configure: Regenerate.
7215 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7217 * debug/tst-backtrace.h: New file.
7218 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7219 (ret): Remove variable.
7221 (FAIL): Remove macro.
7222 (NO_INLINE): Likewise.
7223 (fn1): Use match function instead of strstr.
7224 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7225 (ret): Remove variable.
7227 (FAIL): Remove macro.
7228 (NO_INLINE): Likewise.
7229 (fn): Use match function instead of strstr.
7230 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7231 (ret): Remove variable.
7233 (FAIL): Remove macro.
7234 (NO_INLINE): Likewise.
7235 (handle_signal): Use match function instead of strstr.
7236 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7237 (ret): Remove variable.
7239 (FAIL): Remove macro.
7240 (NO_INLINE): Likewise.
7241 (handle_signal): Use match function instead of strstr.
7243 2013-01-23 Roland McGrath <roland@hack.frob.com>
7245 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7247 2013-01-23 David S. Miller <davem@davemloft.net>
7249 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7250 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7251 argument of CAS if possible.
7252 * sysdeps/sparc/sparc64/bits/atomic.h
7253 (__arch_compare_and_exchange_val_32_acq): Likewise.
7254 (__arch_compare_and_exchange_val_64_acq): Likewise.
7256 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7258 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7259 * sysdeps/posix/ulimit.c: ... this.
7261 * sysdeps/unix/bsd/ulimit.c: Remove file.
7263 2013-01-23 Adam Conrad <adconrad@0c3.net>
7265 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7266 (LDFLAGS-tst-array5): Likewise.
7268 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7271 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7272 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7273 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7274 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7276 2013-01-21 David S. Miller <davem@davemloft.net>
7278 * sysdeps/sparc/backtrace.c: New file.
7279 * sysdeps/sparc/sparc32/backtrace.h: New file.
7280 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7281 * sysdeps/sparc/sparc64/backtrace.h: New file.
7282 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7283 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7286 2013-01-21 Andreas Schwab <schwab@suse.de>
7289 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7292 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7294 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7298 2013-01-18 Joseph Myers <joseph@codesourcery.com>
7299 Mark Mitchell <mark@codesourcery.com>
7300 Tom de Vries <tom@codesourcery.com>
7301 Paul Pluzhnikov <ppluzhnikov@google.com>
7303 * debug/tst-backtrace2.c: New file.
7304 * debug/tst-backtrace3.c: Likewise.
7305 * debug/tst-backtrace4.c: Likewise.
7306 * debug/tst-backtrace5.c: Likewise.
7307 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7308 (CFLAGS-tst-backtrace3.c): Likewise.
7309 (CFLAGS-tst-backtrace4.c): Likewise.
7310 (CFLAGS-tst-backtrace5.c): Likewise.
7311 (LDFLAGS-tst-backtrace2): Likewise.
7312 (LDFLAGS-tst-backtrace3): Likewise.
7313 (LDFLAGS-tst-backtrace4): Likewise.
7314 (LDFLAGS-tst-backtrace5): Likewise.
7315 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7316 tst-backtrace4 and tst-backtrace5.
7318 2013-01-18 Anton Blanchard <anton@samba.org>
7319 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7321 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7322 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7323 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7324 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7326 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7327 "+r" and remove output regs list as redundant. Add explicit inline
7328 asm to specify register of return val to work around compiler codegen
7329 bug. Remove (int) cast on return value. Add return type parameter to
7330 use in macro so that this macro does not truncate return value for
7332 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7333 pass to INTERNAL_VSYSCALL_NCS.
7334 (INLINE_VSYSCALL): Add 'long int' as return type to
7335 INTERNAL_VSYSCALL_NCS macro invocation.
7336 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7337 INTERNAL_VSYSCALL_NCS macro invocation.
7338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7340 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7343 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7344 Fix application of SIMD FP exception mask.
7346 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7347 mp_no from a power of two.
7348 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7349 __mpexp_twomm1. Use __pow_mp.
7351 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7354 2013-01-17 David S. Miller <davem@davemloft.net>
7356 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7358 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7361 * include/complex.h: Condition contents on [!_COMPLEX_H].
7362 (__kernel_casinhf): New prototype.
7363 (__kernel_casinh): Likewise.
7364 (__kernel_casinhl): Likewise.
7365 * math/Makefile (libm_calls): Add k_casinh.
7366 * math/k_casinh.c: New file.
7367 * math/k_casinhf.c: Likewise.
7368 * math/k_casinhl.c: Likewise.
7369 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7370 finite nonzero arguments.
7371 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7372 finite nonzero arguments.
7373 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7374 finite nonzero arguments.
7375 * math/s_casinh.c: Do not include <float.h>.
7376 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7377 * math/s_casinhf.c: Do not include <float.h>.
7378 (__casinhf): Move code for finite nonzero arguments to
7380 * math/s_casinhl.c: Do not include <float.h>.
7381 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7383 (__casinhl): Move code for finite nonzero arguments to
7385 * math/libm-test.inc (cacos_test): Add more tests.
7386 * sysdeps/i386/fpu/libm-test-ulps: Update.
7387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7389 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7391 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7392 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7393 [!HAVE_MREMAP]: Remove [defined linux] case.
7394 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7396 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7398 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7400 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
7402 * elf/elf.h (R_386_SIZE32): New relocation.
7403 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7405 (elf_machine_rela): Likewise.
7406 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7407 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7409 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7411 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7412 (FP_FAST_FMA): Do not define.
7413 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7414 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7415 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7416 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7417 !_SOFT_FLOAT]: Likewise.
7418 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7419 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7421 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7422 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7423 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7424 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7425 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7426 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7429 2013-01-16 Andreas Schwab <schwab@suse.de>
7432 * include/stdlib.h (__mktemp): Add declaration.
7433 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7434 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7436 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7438 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7440 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7441 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7442 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7444 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7445 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7447 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7449 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7450 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7451 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7453 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7454 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7456 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7458 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7460 2013-01-15 David S. Miller <davem@davemloft.net>
7462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7463 trunc{,f} to libm-sysdep_routes.
7464 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7474 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7475 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7476 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7477 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7478 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7479 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7482 nearbyint{,f} to libm-sysdep_routes.
7483 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7494 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7496 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7497 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7499 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7500 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7501 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7503 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7504 libc_feholdexcept and libc_fesetenv.
7506 2013-01-15 Mike Frysinger <vapier@gentoo.org>
7508 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7510 2013-01-14 David S. Miller <davem@davemloft.net>
7512 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7513 (SPARC_ASM_VIS2_IFUNC): Likewise.
7514 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7516 use of 'siam' instruction.
7517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7525 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7545 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7546 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7548 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7550 routines to libm-sysdep_routines.
7551 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7554 fdim/fdimf to libm-sysdep_routines.
7555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7563 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7564 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7565 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7566 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7568 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7570 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7573 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7575 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7578 local variable MPTWO.
7579 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7582 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7584 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7587 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7589 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7591 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7593 * manual/pattern.texi (glob_t): Document gl_flags.
7594 (glob64_t): Likewise.
7596 2013-01-11 David S. Miller <davem@davemloft.net>
7598 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7599 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7600 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
7601 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7602 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7603 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7604 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7605 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7606 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7607 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7608 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7609 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7610 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7612 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7613 sparc V9 rather than using V8 code.
7614 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7615 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7617 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7619 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7622 2013-01-11 Roland McGrath <roland@hack.frob.com>
7624 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7625 not in the main loop.
7626 * configure: Regenerated.
7628 2013-01-11 Joseph Myers <joseph@codesourcery.com>
7630 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7631 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7633 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7634 [!__GLIBC_HAVE_LONG_LONG] case.
7635 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7636 condition to just #else.
7637 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7638 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7639 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7640 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7642 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7643 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7644 #elif condition to just #else.
7645 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7646 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7647 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7648 #elif condition to just #else.
7650 2013-01-11 Steve Ellcey <sellcey@mips.com>
7652 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7653 (EF_MIPS_ARCH_64): Fix value.
7654 (EF_MIPS_ARCH_32R2): New.
7655 (EF_MIPS_ARCH_64R2): New.
7657 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7659 * Makeconfig (+link-pie-before-libc): New.
7660 (+link-pie-after-libc): Likewise.
7661 (+link-pie-tests): Likewise.
7662 (+link-pie): Rewritten.
7663 (link-before-libc): Remove $(config-LDFLAGS).
7664 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7665 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7666 (config-LDFLAGS): Renamed to ...
7667 (rtld-LDFLAGS): This.
7668 (rtld-tests-LDFLAGS): New macro.
7669 (link-libc-rpath-link): Likewise.
7670 (link-libc-tests-rpath-link): Likewise.
7671 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7672 (link-libc): Prepand $(link-libc-rpath-link).
7673 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7674 (test-program-prefix): New macro.
7675 (test-via-rtld-prefix): Likewise.
7676 (test-program-cmd): Likewise.
7677 (host-test-program-cmd): Likewise.
7678 * Makefile ($(common-objpfx)testrun.sh): Replace
7679 $(run-program-prefix) with $(test-program-prefix).
7680 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7682 ($(common-objpfx)shlib.lds): Likewise.
7683 (build-module-helper): Likewise.
7684 ($(common-objpfx)format.lds): Likewise.
7685 * Rules (binaries-pie-tests): New.
7686 (binaries-pie-notests): Likewise.
7687 (binaries-pie): Rewritten.
7688 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7689 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7690 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7691 (make-test-out): Replace $(host-built-program-cmd) with
7692 $(host-test-program-cmd).
7693 * config.make.in (build-hardcoded-path-in-tests): New variable.
7694 * configure.in (--enable-hardcoded-path-in-tests): New configure
7696 (hardcoded_path_in_tests): New AC_SUBST.
7697 * configure: Regenerated.
7698 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7699 $(built-program-cmd) with $(test-program-cmd).
7700 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7701 (test_program_cmd): This.
7702 * elf/Makefile ($(objpfx)order.out): Run test with
7703 $(test-program-prefix).
7704 ($(objpfx)order2.out): Likewise.
7705 ($(objpfx)tst-initorder.out): Likewise.
7706 ($(objpfx)tst-initorder2.out): Likewise.
7707 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7708 $(test-program-cmd).
7709 ($(objpfx)tst-array1-static.out): Likewise.
7710 ($(objpfx)tst-array2.out): Likewise.
7711 ($(objpfx)tst-array3.out): Likewise.
7712 ($(objpfx)tst-array4.out): Likewise.
7713 ($(objpfx)tst-array5.out): Likewise.
7714 ($(objpfx)tst-array5-static.out): Likewise.
7715 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7716 $(test-program-cmd).
7717 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7718 $(run-program-prefix) with $(test-program-prefix).
7719 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7720 (test_program_prefix): This.
7721 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7722 $(run-program-prefix) with $(test-program-prefix).
7723 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7724 (test_program_prefix): This.
7725 * iconvdata/tst-tables.sh: Likewise.
7726 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7727 $(run-program-prefix) with $(test-program-prefix).
7728 ($(objpfx)tst-translit.out): Likewise.
7729 ($(objpfx)tst-gettext2.out): Likewise.
7730 ($(objpfx)tst-gettext4.out): Likewise.
7731 ($(objpfx)tst-gettext6.out): Likewise.
7732 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7733 (test_program_prefix): This.
7734 * intl/tst-gettext2.sh: Likewise.
7735 * intl/tst-gettext4.sh Likewise.
7736 * intl/tst-gettext6.sh: Likewise.
7737 * intl/tst-translit.sh: Likewise.
7738 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7739 with $(test-program-cmd).
7740 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7741 $(run-program-prefix) with $(test-program-prefix).
7742 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7743 (test_program_prefix): This.
7744 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7745 $(run-program-prefix) with $(test-program-prefix).
7746 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7747 (test_program_prefix): This.
7748 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7749 * posix/Makefile ($(objpfx)globtest.out): Replace
7750 $(run-via-rtld-prefix) and $(test-wrapper) with
7751 $(test-program-prefix) and $(test-via-rtld-prefix).
7752 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7753 $(test-program-prefix).
7754 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7755 $(host-test-program-cmd).
7756 (tst-spawn-ARGS): Likewise.
7757 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7758 $(test-program-prefix).
7759 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7760 (test_via_rtld_prefix): This.
7761 (test_wrapper): Renamed to ...
7762 (test_program_prefix): This.
7763 (run_program_prefix): Replaced by test_program_prefix.
7764 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7765 (test_program_prefix): This.
7766 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7767 with $(host-test-program-cmd).
7768 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7769 $(run-program-prefix) with $(test-program-prefix).
7770 ($(objpfx)tst-printf.out): Likewise.
7771 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7772 $(test-program-cmd).
7773 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7774 (test_program_prefix): This.
7775 * stdio-common/tst-unbputc.sh: Likewise.
7776 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7777 $(run-program-prefix) with $(test-program-prefix).
7778 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7779 (test_program_prefix): This.
7780 * string/Makefile ($(objpfx)tst-svc.out): Replace
7781 $(built-program-cmd) with $(test-program-cmd).
7783 2013-01-11 Andreas Jaeger <aj@suse.de>
7786 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7787 value. Sync with Linux 3.7.
7789 2013-01-10 David S. Miller <davem@davemloft.net>
7791 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7792 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7793 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7795 2013-01-10 Roland McGrath <roland@hack.frob.com>
7797 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7799 * configure: Regenerated.
7801 2013-01-10 David S. Miller <davem@davemloft.net>
7803 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7804 sparc V9 rather than using V8 code.
7805 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7806 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7808 2013-01-10 Roland McGrath <roland@hack.frob.com>
7810 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7811 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7812 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7813 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7814 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7815 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7816 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7817 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7818 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7819 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7820 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7821 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7822 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7823 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7824 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7825 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7826 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7827 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7828 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7829 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7830 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7831 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7832 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7833 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7834 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7835 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7836 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7838 2013-01-10 David S. Miller <davem@davemloft.net>
7840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7842 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7844 * posix/Makefile (tests-static): New variable.
7845 (tests): Add $(tests-static).
7846 (tst-exec-static-ARGS): New variable.
7847 (tst-spawn-static-ARGS): Likewise.
7848 * posix/tst-exec-static.c: New file.
7849 * posix/tst-spawn-static.c: Likewise.
7850 * posix/tst-exec.c: Support run directly.
7851 * posix/tst-spawn.c: Likewise.
7853 2013-01-10 Joseph Myers <joseph@codesourcery.com>
7855 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7857 * math/bits/mathcalls.h (llrint): Likewise.
7858 (llround): Likewise.
7859 * stdlib/stdlib.h (struct drand48_data): Likewise.
7860 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7861 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7862 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7864 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7866 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7867 (elf_greg_t): Likewise.
7868 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7869 (__jmp_buf): Likewise.
7870 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7872 (llrint): Likewise, for all definitions.
7873 (llrintl): Likewise.
7875 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7876 Remove [__GNUC__] condition.
7877 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7878 condition to just [__USE_ISOC99].
7879 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7881 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7884 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7885 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7887 (_POSIX_V6_ILP32_OFF32): Likewise.
7888 (_XBS5_ILP32_OFF32): Likewise.
7889 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7890 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7892 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7894 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7896 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7897 doubles __mpexp_twomm1. Adjust usage.
7898 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7901 2013-01-10 Andreas Schwab <schwab@suse.de>
7904 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7905 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7907 2013-01-09 David S. Miller <davem@davemloft.net>
7910 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7911 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7912 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7913 TCP_FASTOPEN): Define.
7914 (tcp_repair_opt): New structure.
7915 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7917 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7918 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7919 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7920 (tcp_cookie_transactions): New structure.
7922 2013-01-09 Anton Blanchard <anton@samba.org>
7924 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7925 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7926 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7927 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7929 2013-01-09 Joseph Myers <joseph@codesourcery.com>
7931 * include/features.h (__USE_ANSI): Remove.
7933 2013-01-09 Roland McGrath <roland@hack.frob.com>
7935 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7937 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7939 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7941 * sysdeps/s390/fpu/libm-test-ulps: Update.
7943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7945 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7950 (__mp_dbl): Likewise.
7951 (__dbl_mp): Likewise.
7952 (add_magnitudes): Likewise.
7953 (sub_magnitudes): Likewise.
7959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7964 (__mp_dbl): Likewise.
7965 (__dbl_mp): Likewise.
7966 (add_magnitudes): Likewise.
7967 (sub_magnitudes): Likewise.
7973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7978 (__mp_dbl): Likewise.
7979 (__dbl_mp): Likewise.
7980 (add_magnitudes): Likewise.
7981 (sub_magnitudes): Likewise.
7988 2013-01-08 Joseph Myers <joseph@codesourcery.com>
7990 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7991 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7992 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7993 2 && __USE_EXTERN_INLINES]: Likewise.
7995 2013-01-08 Andreas Jaeger <aj@suse.de>
7998 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8000 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8001 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8003 2013-01-07 Anton Blanchard <anton@samba.org>
8005 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8006 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8007 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8008 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8009 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8010 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8011 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8012 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8014 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8015 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8016 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8017 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8018 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8019 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8020 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8021 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8022 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8023 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8024 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8025 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8026 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8027 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8028 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8029 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8030 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8031 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8032 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8033 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8034 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8035 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8036 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8037 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8038 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8039 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8040 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8041 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8042 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8043 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8044 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8045 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8046 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8047 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8049 2013-01-07 Joseph Myers <joseph@codesourcery.com>
8051 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8052 (__MALLOC_PMT): Likewise.
8053 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8054 [__GNUC__], only on [_LIBC].
8055 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8056 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8057 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8058 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8059 forward declaration.
8060 (realloc_hook_ini): Likewise.
8061 (memalign_hook_ini): Likewise.
8062 (__libc_memalign): Do not use __MALLOC_PMT in variable
8064 (__libc_valloc): Likewise.
8065 (__libc_pvalloc): Likewise.
8066 (__libc_calloc): Likewise.
8067 (__posix_memalign): Likewise.
8070 * math/s_casinh.c: Include <float.h>.
8071 (__casinh): Do not do computation with squaring and square root
8072 for large arguments.
8073 * math/s_casinhf.c: Include <float.h>.
8074 (__casinhf): Do not do computation with squaring and square root
8075 for large arguments.
8076 * math/s_casinhl.c: Include <float.h>.
8077 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8078 (__casinhl): Do not do computation with squaring and square root
8079 for large arguments.
8080 * math/libm-test.inc (casin_test): Add more tests.
8081 (casinh_test): Likewise.
8082 * sysdeps/i386/fpu/libm-test-ulps: Update.
8083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8085 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8087 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8088 (__x86_64_raw_data_cache_size): Likewise.
8089 (__x86_64_data_cache_size_half): Likewise.
8090 (__x86_64_raw_data_cache_size_half): Likewise.
8091 (__x86_64_shared_cache_size): Likewise.
8092 (__x86_64_raw_shared_cache_size): Likewise.
8093 (__x86_64_shared_cache_size_half): Likewise.
8094 (__x86_64_raw_shared_cache_size_half): Likewise.
8095 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8097 (__x86_data_cache_size): This.
8098 (__x86_64_raw_data_cache_size): Renamed to ...
8099 (__x86_raw_data_cache_size): This.
8100 (__x86_64_data_cache_size_half): Renamed to ...
8101 (__x86_data_cache_size_half): This.
8102 (__x86_64_raw_data_cache_size_half): Renamed to ...
8103 (__x86_raw_data_cache_size_half): This.
8104 (__x86_64_shared_cache_size): Renamed to ...
8105 (__x86_shared_cache_size): This.
8106 (__x86_64_raw_shared_cache_size): Renamed to ...
8107 (__x86_raw_shared_cache_size): This.
8108 (__x86_64_shared_cache_size_half): Renamed to ...
8109 (__x86_shared_cache_size_half): This.
8110 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8111 (__x86_raw_shared_cache_size_half): This.
8112 * sysdeps/x86_64/memcpy.S: Updated.
8113 * sysdeps/x86_64/memset.S: Likewise.
8114 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8115 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8116 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8118 2013-01-04 David S. Miller <davem@davemloft.net>
8120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8122 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8124 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8125 1 to avoid redefinition warning.
8126 (__USE_GNU): Don't define.
8127 (init_signaling_nan): Protoize.
8129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8131 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8133 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8135 (__cpymn): Likewise.
8136 (norm): Remove commented code.
8138 (__mp_dbl): Likewise.
8140 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8141 (__cpymn): Likewise.
8142 (norm): Remove commented code.
8144 (__mp_dbl): Likewise.
8147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8148 mp_no value for 1.0 and 2.0.
8149 (norm): Use RADIXI instead of radixi.d.
8151 (__mul): Use 0.0 instead of zero.d.
8152 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8153 mp_no value for 1.0 and 2.0.
8154 (norm): Use RADIXI instead of radixi.d.
8156 (__mul): Use 0.0 instead of zero.d.
8158 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8161 * math/s_casinh.c (__casinh): Reduce finite argument to first
8162 quadrant then set signs of results at the end.
8163 * math/s_casinhf.c (__casinhf): Likewise.
8164 * math/s_casinhl.c (__casinhl): Likewise.
8165 * math/libm-test.inc (casin_test): Add more tests.
8166 (casinh_test): Likewise.
8167 * sysdeps/i386/fpu/libm-test-ulps: Update.
8168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8170 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8172 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8174 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8176 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8179 (__mp_dbl): Likewise.
8182 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8183 and adjust the header comment.
8185 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8186 variable name from declaration.
8188 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8191 Initialize COMMON_CPUID_INDEX_7 element.
8192 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8193 (CPUID_RTM): Likewise.
8194 (HAS_RTM): Likewise.
8195 (COMMON_CPUID_INDEX_7): New enum.
8197 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8200 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8201 size is zero, record memory as freed.
8203 2013-01-03 Andreas Jaeger <aj@suse.de>
8205 * po/ia.po: Add new Interlingua translation.
8207 2012-01-03 Allan McRae <allan@archlinux.org>
8209 * locale/programs/localedef.c: Fix description of '--posix' flag.
8211 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8213 * NEWS: Update dates in second copyright notice.
8214 * README: Update copyright dates in example.
8215 * manual/libc.texinfo: Update copyright dates.
8216 * scripts/test-installation.pl: Update copyright date in --version
8219 * hurd/ctty-input.c: Fix copyright notice formatting.
8220 * hurd/ctty-output.c: Likewise.
8221 * hurd/dtable.c: Likewise.
8222 * hurd/hurd-raise.c: Likewise.
8223 * hurd/hurdprio.c: Likewise.
8224 * hurd/msgportdemux.c: Likewise.
8225 * misc/sys/file.h: Likewise.
8226 * misc/sys/ioctl.h: Likewise.
8227 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8228 * sysdeps/mach/hurd/chdir.c: Likewise.
8229 * sysdeps/mach/hurd/fchdir.c: Likewise.
8230 * sysdeps/mach/hurd/rename.c: Likewise.
8231 * sysdeps/mach/hurd/rmdir.c: Likewise.
8232 * sysdeps/mach/hurd/seekdir.c: Likewise.
8233 * sysdeps/mach/hurd/setsid.c: Likewise.
8234 * sysdeps/posix/wait3.c: Likewise.
8236 * All files with FSF copyright notices: Update copyright dates
8237 using scripts/update-copyrights.
8238 * intl/plural.c: Regenerated.
8239 * locale/programs/charmap-kw.h: Likewise.
8240 * locale/programs/locfile-kw.h: Likewise.
8242 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8244 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8247 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8248 calculation loop and add branch prediction.
8250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8251 check access beyond bounds of m1np.
8253 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8255 (__inv): Remove local variable MPTWO to use the global
8257 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8258 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8260 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8261 MP3HALFS static const.
8263 2013-01-01 David S. Miller <davem@davemloft.net>
8265 * po/ca.po: Update from translation team.
8267 2013-01-01 Joseph Myers <joseph@codesourcery.com>
8269 * scripts/update-copyrights: New file.
8270 * Makeconfig: Reformat copyright notice.
8271 * ctype/ctype.h: Likewise.
8272 * debug/swprintf_chk.c: Likewise.
8273 * elf/dl-cache.c: Likewise.
8274 * elf/dl-debug.c: Likewise.
8275 * elf/dl-object.c: Likewise.
8276 * grp/initgroups.c: Likewise.
8277 * hurd/Makefile: Likewise.
8278 * hurd/hurd/signal.h: Likewise.
8279 * hurd/hurdfault.c: Likewise.
8280 * hurd/hurdioctl.c: Likewise.
8281 * hurd/hurdlookup.c: Likewise.
8282 * hurd/intr-msg.c: Likewise.
8283 * iconv/gconv_open.c: Likewise.
8284 * libio/swprintf.c: Likewise.
8285 * locale/lc-ctype.c: Likewise.
8286 * locale/nl_langinfo.c: Likewise.
8287 * mach/Machrules: Likewise.
8288 * mach/Makefile: Likewise.
8289 * malloc/obstack.h: Likewise.
8290 * manual/Makefile: Likewise.
8291 * manual/tsort.awk: Likewise.
8292 * misc/bits/stab.def: Likewise.
8293 * nis/nis_print_group_entry.c: Likewise.
8294 * nis/nis_table.c: Likewise.
8295 * nis/nss_compat/compat-pwd.c: Likewise.
8296 * nis/nss_compat/compat-spwd.c: Likewise.
8297 * po/Makefile: Likewise.
8298 * posix/fnmatch.c: Likewise.
8299 * posix/regex.h: Likewise.
8300 * resolv/Makefile: Likewise.
8301 * resolv/nss_dns/dns-network.c: Likewise.
8302 * resolv/res_hconf.c: Likewise.
8303 * scripts/gen-sorted.awk: Likewise.
8304 * soft-fp/soft-fp.h: Likewise.
8305 * stdio-common/printf.h: Likewise.
8306 * stdlib/monetary.h: Likewise.
8307 * stdlib/random.c: Likewise.
8308 * stdlib/random_r.c: Likewise.
8309 * sysdeps/generic/Makefile: Likewise.
8310 * sysdeps/gnu/Makefile: Likewise.
8311 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8315 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8324 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8325 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8330 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8331 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8332 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8333 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8339 * sysdeps/mach/hurd/errnos.awk: Likewise.
8340 * sysdeps/mach/hurd/fork.c: Likewise.
8341 * sysdeps/mach/hurd/getcwd.c: Likewise.
8342 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8343 * sysdeps/mach/hurd/mmap.c: Likewise.
8344 * sysdeps/mach/hurd/utimes.c: Likewise.
8345 * sysdeps/mach/hurd/xmknod.c: Likewise.
8346 * sysdeps/posix/profil.c: Likewise.
8347 * sysdeps/posix/readdir_r.c: Likewise.
8348 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8349 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8350 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8351 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8353 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8354 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8355 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8357 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8358 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8359 * sysdeps/pthread/lio_listio.c: Likewise.
8360 * sysdeps/sparc/dl-procinfo.h: Likewise.
8361 * sysdeps/unix/i386/sysdep.S: Likewise.
8362 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8363 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8364 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8365 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8367 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8368 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8369 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8370 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8371 * sysdeps/wordsize-32/divdi3.c: Likewise.
8372 * time/sys/time.h: Likewise.
8373 * wcsmbs/Makefile: Likewise.
8375 2013-01-01 David S. Miller <davem@davemloft.net>
8377 * po/fr.po: Update from translation team.
8379 * catgets/gencat.c: Update copyright year.
8380 * csu/version.c: Likewise.
8381 * debug/catchsegv.sh: Likewise.
8382 * debug/pcprofiledump.c: Likewise.
8383 * debug/xtrace.sh: Likewise.
8384 * elf/ldconfig.c: Likewise.
8385 * elf/ldd.bash.in: Likewise.
8386 * elf/pldd.c: Likewise.
8387 * elf/sotruss.ksh: Likewise.
8388 * elf/sprof.c: Likewise.
8389 * iconv/iconv_prog.c: Likewise.
8390 * iconv/iconvconfig.c: Likewise.
8391 * locale/programs/locale.c: Likewise.
8392 * locale/programs/localedef.c: Likewise.
8393 * login/programs/pt_chown.c: Likewise.
8394 * malloc/memusage.sh: Likewise.
8395 * malloc/memusagestat.c: Likewise.
8396 * malloc/mtrace.pl: Likewise.
8397 * nscd/nscd.c: Likewise.
8398 * nss/getent.c: Likewise.
8399 * nss/makedb.c: Likewise.
8400 * posix/getconf.c: Likewise.
8402 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8404 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8407 2012-12-30 Mike Frysinger <vapier@gentoo.org>
8409 * math/bits/mathcalls.h (modf): Use __nonnull.
8411 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8413 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8414 (split): Use macro CN instead of the bare value.
8415 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8417 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8418 instead of the bare value.
8421 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8423 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8425 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8427 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8429 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8430 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8431 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8432 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8434 2012-12-28 Andreas Jaeger <aj@suse.de>
8436 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8437 values are from Linux 3.7.
8439 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8440 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8442 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8444 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8447 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8449 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8450 variables with preprocessor constants.
8451 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8452 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8453 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8455 2012-12-27 Bruno Haible <bruno@clisp.org>
8458 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8461 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8463 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8464 and use variable directly.
8465 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8467 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8469 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8470 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8472 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8473 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8474 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8475 include directive. Remove local variable MPONE.
8476 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8477 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8478 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8480 2012-12-25 David S. Miller <davem@davemloft.net>
8482 * version.h (RELEASE): Set to "development".
8483 (VERSION): Set to "2.17.90".
8484 * NEWS: Add 2.18 section.
8486 2012-12-21 David S. Miller <davem@davemloft.net>
8488 * po/hr.po: Update from translation team.
8490 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8492 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8494 2012-12-19 Steve Ellcey <sellcey@mips.com>
8496 * NEWS: Mention new memcpy for MIPS.
8498 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8500 * manual/contrib.texi (Contributors): Spelling correction.
8502 2012-12-15 David S. Miller <davem@davemloft.net>
8504 * po/ru.po: Update from translation team.
8506 2012-12-13 David S. Miller <davem@davemloft.net>
8508 * NEWS: Mention IFUNC testsuite enhancements.
8510 * po/pl.po: Update from translation team.
8511 * po/bg.po: Likewise.
8513 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8514 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8516 2012-12-11 David S. Miller <davem@davemloft.net>
8518 * po/sv.po: Update from translation team.
8520 * po/vi.po: Update from translation team.
8522 * po/cs.po: Update from translation team.
8524 * po/de.po: Update from translation team.
8525 * po/eo.po: Likewise.
8526 * po/nl.po: Likewise.
8528 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8531 * manual/argp.texi (Argp Helper Functions): Move node to follow
8535 * manual/conf.texi (Limits on File System Capacity): Mention if
8536 terminating null is included in the max size.
8538 2012-12-10 Andreas Jaeger <aj@suse.de>
8540 * po/cs.po: Update from translation team.
8542 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8544 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8545 void pointer and cast to uintptr_t.
8546 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8548 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8549 * sysdeps/s390/s390-64/memset.S: Likewise.
8551 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
8554 * menual/message.texi (Message Translation): Fix typos.
8555 (Helper programs for gettext): Likewise.
8557 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8560 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8563 2012-12-07 David S. Miller <davem@davemloft.net>
8565 * po/libc.pot: Update.
8567 2012-12-07 Richard Henderson <rth@redhat.com>
8570 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8571 normal/normal case to before the switch.
8572 (_FP_DIV): Likewise.
8574 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8575 Mike Frysinger <vapier@gentoo.org>
8577 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8578 check for __NR_fadvise64_64.
8580 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8582 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8583 0, not just to plain "0" as a statement.
8584 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8587 2012-12-06 Joseph Myers <joseph@codesourcery.com>
8589 * NEWS: Use sourceware.org in Bugzilla URL.
8591 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8594 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8596 * stdio-common/tst-put-error.c (do_test): Add newline to the
8597 padded test to ensure flush.
8599 2012-12-05 Jeff Law <law@redhat.com>
8601 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8603 2012-12-05 Joseph Myers <joseph@codesourcery.com>
8605 * README: Don't refer to ports add-on as distributed separately.
8606 Mention AArch64 in list of systems supported in the ports add-on.
8608 * LICENSES: Add more non-FSF copyright and license notices.
8610 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8613 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8615 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8616 10000 as width of padded output.
8618 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8620 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8622 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8623 variable LX with __attribute__ ((unused)).
8624 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8626 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8627 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8628 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8629 with __attribute__ ((unused)).
8631 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
8633 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8635 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8637 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8638 (CFLAGS-nldbl-acos.c): New variable.
8639 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8640 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8641 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8642 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8643 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8644 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8645 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8646 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8647 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8648 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8649 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8650 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8651 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8652 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8653 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8654 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8655 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8656 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8657 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8658 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8659 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8660 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8661 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8662 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8663 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8664 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8665 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8666 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8667 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8668 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8669 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8670 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8671 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8672 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8673 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8674 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8675 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8676 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8677 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8678 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8679 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8680 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8681 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8682 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8683 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8684 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8685 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8686 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8687 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8688 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8689 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8690 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8691 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8692 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8693 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8694 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8695 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8696 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8697 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8698 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8699 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8700 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8701 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8702 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8703 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8704 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8705 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8706 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8707 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8708 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8709 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8710 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8711 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8712 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8713 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8714 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8715 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8716 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8717 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8718 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8719 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8720 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8721 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8722 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8723 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8724 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8725 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8726 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8727 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8728 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8729 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8730 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8731 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8732 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8733 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8734 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8735 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8738 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8741 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8742 whole low double instead of just low 47 bits when splitting values
8745 2012-12-03 Allan McRae <allan@archlinux.org>
8747 * manual/stdio.texi (Predefined Printf Handlers): Remove
8748 @hsep and @vsep usage.
8750 2012-12-03 Mike Frysinger <vapier@gentoo.org>
8752 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8753 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8755 2012-12-03 Jeff Law <law@redhat.com>
8757 * time/sys/time.h (settimeofday): Do not mark TV argument
8760 2012-12-01 Mike Frysinger <vapier@gentoo.org>
8762 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8763 when currently writing and seek to current position when not.
8764 * libio/Makefile (tests): Remove bug-fclose1.
8765 * libio/bug-fclose1.c: Delete.
8767 2012-12-01 Joseph Myers <joseph@codesourcery.com>
8769 * manual/arith.texi (feenableexcept): Fix typo.
8770 (fedisableexcept): Likewise.
8772 2012-11-30 Roland McGrath <roland@hack.frob.com>
8774 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8775 second, differently-typed declaration, rather than a cast.
8777 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8779 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8780 * include/rpc/svc.h: ... here.
8782 2012-11-30 Aurelien Jarno <aurel32@debian.org>
8785 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8786 depending n and resplen2 to catch cases where answer
8789 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8791 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8792 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8794 2012-11-29 Mike Frysinger <vapier@gentoo.org>
8796 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8798 2012-11-29 Roland McGrath <roland@hack.frob.com>
8800 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8802 2012-11-28 Jeff Law <law@redhat.com>
8805 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8806 dataset_temporary. Track alloca usage into alloca_used.
8807 If dataset is large allocate and release it via malloc/free.
8809 2012-06-04 Florian Weimer <fweimer@redhat.com>
8812 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8814 2012-11-28 David S. Miller <davem@davemloft.net>
8816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8818 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8821 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8822 of pi/2 rounded to nearest to 64 bits.
8823 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8825 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8828 2012-11-28 Jeff Law <law@redhat.com>
8829 Martin Osvald <mosvald@redhat.com>
8832 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8833 * sunrpc/svc.c: Include time.h.
8834 (__svc_accept_failed): New function.
8835 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8836 any reason other than EINTR, call __svc_accept_failed.
8837 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8838 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8840 2012-11-28 Andreas Schwab <schwab@suse.de>
8842 * scripts/abilist.awk: Also handle indirect functions in .opd
8845 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8848 * sysdeps/x86/fpu/powl_helper.c: New file.
8849 * sysdeps/x86/fpu/Makefile: Likewise.
8850 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8852 (__ieee754_powl): Use __powl_helper for finite arguments except
8853 integer exponents below 8.
8854 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8856 (__ieee754_powl): Use __powl_helper for finite arguments except
8857 integer exponents below 8.
8858 * math/libm-test.inc (pow_test): Add more tests and enable some
8859 previously disabled tests.
8860 * sysdeps/i386/fpu/libm-test-ulps: Update.
8861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8863 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8864 Carlos O'Donell <carlos_odonell@mentor.com>
8866 * nss/makedb.c (is_prime): Assert that input is odd and greater
8867 than 4. Note that fact in a comment too.
8868 (next_prime): Add 4 to input.
8870 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8873 * libio/Makefile (tests): Add test case tst-fwrite-error.
8874 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8875 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8876 * libio/tst-fwrite-error.c: New test case.
8878 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8880 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8881 before casting to void *.
8882 * include/libc-internal.h (__pointer_type): New macro.
8883 (__integer_if_pointer_type_sub): Likewise.
8884 (__integer_if_pointer_type): Likewise.
8885 (cast_to_integer): Likewise.
8886 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8887 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8888 before casting to atomic64_t.
8889 (atomic_exchange_acq): Likewise.
8890 (__arch_exchange_and_add_body): Likewise.
8891 (__arch_add_body): Likewise.
8892 (atomic_add_negative): Likewise.
8893 (atomic_add_zero): Likewise.
8895 2012-11-26 Joseph Myers <joseph@codesourcery.com>
8897 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8898 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8899 (add_fdes): Likewise.
8900 (linear_search_fdes): Likewise.
8901 (binary_search_unencoded_fdes): Likewise.
8903 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8905 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8907 2012-11-24 Adam Conrad <adconrad@0c3.net>
8909 * configure.in: Autodetect C++ header directories.
8910 * configure: Regenerated.
8912 2012-11-23 Mike Frysinger <vapier@gentoo.org>
8914 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8916 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8920 2012-11-22 Joseph Myers <joseph@codesourcery.com>
8922 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8923 LDBL_MANT_DIG == 106]: Disable some tests.
8924 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8926 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8930 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8931 input for small inputs. Return +/- pi/2 for large inputs.
8932 * math/libm-test.inc (atan_test): Add more tests.
8934 * sysdeps/generic/unwind-dw2-fde-glibc.c
8935 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8936 __attribute__ ((unused)).
8939 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8940 x * y if x and y are nonzero and z is zero.
8943 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8944 nonzero exponents with absolute value below 0x1p-117 to +/-
8948 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8949 up arguments below 2**-450, not just those below 2**-500.
8950 * math/libm-test.inc (hypot_test): Add another test.
8953 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8954 Return a+b for ratio over 2**120, not 2**60.
8955 * math/libm-test.inc (hypot_test): Add another test.
8957 * math/libm-test.inc (clog_test): Use
8958 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8959 (clog10_test): Likewise.
8962 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8964 2012-11-22 Andreas Schwab <schwab@suse.de>
8966 * sysdeps/i386/fpu/libm-test-ulps: Update.
8968 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8970 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8971 printf output with newline.
8973 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8976 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8977 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8978 -z nodlopen, -z initfirst and -z execstack support.
8979 * configure: Regenerated.
8981 * elf/elf.h (DF_1_NODIRECT): New macro.
8982 (DF_1_IGNMULDEF): Likewise.
8983 (DF_1_NOKSYMS): Likewise.
8984 (DF_1_NOHDR): Likewise.
8985 (DF_1_EDITED): Likewise.
8986 (DF_1_NORELOC): Likewise.
8987 (DF_1_SYMINTPOSE): Likewise.
8988 (DF_1_GLOBAUDIT): Likewise.
8989 (DF_1_SINGLETON): Likewise.
8990 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8991 DT_1_SUPPORTED_MASK bits.
8992 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8994 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8996 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8998 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9000 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9003 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9004 (sendmmsg): Move declarations...
9005 * socket/sys/socket.h: ... here.
9006 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9007 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9009 * socket/recvmmsg.c: ... this new file.
9010 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9011 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9012 definition of __sendmmsg hidden.
9013 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9014 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9015 Move ENOSYS stub into and include it from...
9016 * socket/sendmmsg.c: ... this new file.
9017 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9018 (sysdep_routines): Move recvmmsg and sendmmsg...
9019 * socket/Makefile (routines): ... here.
9020 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9021 (GLIBC_PRIVATE): Add __sendmmsg.
9022 * include/sys/socket.h (__sendmmsg): Add declarations.
9023 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9026 2012-11-20 Joseph Myers <joseph@codesourcery.com>
9028 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9029 variable I1 with __attribute__ ((unused)).
9030 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9032 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9034 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9035 DUMMY variables with __attribute__ ((unused)).
9037 * bits/byteswap.h: Include <bits/types.h>.
9038 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9040 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9042 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9043 string_t. Do not manually set errno.
9044 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9045 length with __strnlen. Make sure to both set errno and return it on
9048 2012-11-19 David S. Miller <davem@davemloft.net>
9050 With help from Joseph Myers.
9051 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9052 very large arguments properly.
9053 * math/libm-test.inc (atan_test): New tests.
9054 (atan2_test): New tests.
9055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9058 2012-11-19 Joseph Myers <joseph@codesourcery.com>
9061 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9064 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9065 [POSIX] (EADDRNOTAVAIL): Likewise.
9066 [POSIX] (EAFNOSUPPORT): Likewise.
9067 [POSIX] (EALREADY): Likewise.
9068 [POSIX] (ECONNABORTED): Likewise.
9069 [POSIX] (ECONNREFUSED): Likewise.
9070 [POSIX] (ECONNRESET): Likewise.
9071 [POSIX] (EDESTADDRREQ): Likewise.
9072 [POSIX] (EDQUOT): Likewise.
9073 [POSIX] (EHOSTUNREACH): Likewise.
9074 [POSIX] (EIDRM): Likewise.
9075 [POSIX] (EISCONN): Likewise.
9076 [POSIX] (ELOOP): Likewise.
9077 [POSIX] (EMULTIHOP): Likewise.
9078 [POSIX] (ENETDOWN): Likewise.
9079 [POSIX] (ENETUNREACH): Likewise.
9080 [POSIX] (ENOBUFS): Likewise.
9081 [POSIX] (ENODATA): Likewise.
9082 [POSIX] (ENOLINK): Likewise.
9083 [POSIX] (ENOMSG): Likewise.
9084 [POSIX] (ENOPROTOOPT): Likewise.
9085 [POSIX] (ENOSR): Likewise.
9086 [POSIX] (ENOSTR): Likewise.
9087 [POSIX] (ENOTCONN): Likewise.
9088 [POSIX] (ENOTSOCK): Likewise.
9089 [POSIX] (EOPNOTSUPP): Likewise.
9090 [POSIX] (EOVERFLOW): Likewise.
9091 [POSIX] (EPROTO): Likewise.
9092 [POSIX] (EPROTONOSUPPORT): Likewise.
9093 [POSIX] (EPROTOTYPE): Likewise.
9094 [POSIX] (ESTALE): Likewise.
9095 [POSIX] (ETIME): Likewise.
9096 [POSIX] (ETXTBSY): Likewise.
9097 [POSIX] (EWOULDBLOCK): Likewise.
9098 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9099 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9100 [POSIX] (SEEK_CUR): Likewise.
9101 [POSIX] (SEEK_END): Likewise.
9102 [POSIX || UNIX98] (mode_t): Do not require.
9103 [POSIX] (off_t): Likewise.
9104 [POSIX] (pid_t): Likewise.
9105 [POSIX] (sys/stat.h): Do not allow header.
9106 [POSIX] (unistd.h): Likewise.
9107 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9108 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9109 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9110 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9112 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9113 sigevent): Specify elements.
9114 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9116 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9117 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9119 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9120 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9121 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9122 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9123 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9124 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9125 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9126 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9127 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9128 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9129 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9130 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9131 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9132 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9134 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9136 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9138 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9140 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9141 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9142 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9143 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9144 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9145 Specify lower bound on value.
9146 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9147 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9148 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9149 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9150 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9151 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9152 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9153 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9155 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9157 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9158 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9159 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9160 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9161 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9162 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9163 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9164 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9165 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9166 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9167 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9168 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9169 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9170 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9171 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9172 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9174 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9176 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9177 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9178 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9179 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9180 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9181 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9183 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9184 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9185 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9186 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9187 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9188 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9189 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9191 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9192 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9193 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9194 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9195 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9196 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9197 specify as optional.
9198 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9199 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9200 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9201 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9202 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9203 [XPG3] (NL_LANGMAX): Likewise.
9204 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9205 [POSIX || XPG3] (NL_NMAX): Likewise.
9206 [POSIX || XPG3] (NL_SETMAX): Likewise.
9207 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9208 [XPG3] (NZERO): Likewise.
9209 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9210 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9211 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9212 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9213 (REG_ERANGE): Expect.
9214 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9216 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9217 Use (void) in prototype.
9218 [POSIX] (*_t): Allow.
9219 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9220 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9221 (WRDE_BADVAL): Expect.
9223 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9225 [XPG3 || XPG4] (O_RSYNC): Likewise.
9226 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9228 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9229 [XPG3 || XPG4] (sigqueue): Likewise.
9230 [XPG3 || XPG4] (sigtimedwait): Likewise.
9231 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9232 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9233 [XPG3 || XPG4] (vsnprintf): Likewise.
9234 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9236 [XPG3 || XPG4] (blksize_t): Likewise.
9237 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9239 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9240 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9241 [XPG3 || XPG4] (struct itimerspec): Likewise.
9242 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9243 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9244 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9245 [XPG3 || XPG4] (clockid_t): Likewise.
9246 [XPG3 || XPG4] (timer_t): Likewise.
9247 [XPG3 || XPG4] (clock_getres): Likewise.
9248 [XPG3 || XPG4] (clock_gettime): Likewise.
9249 [XPG3 || XPG4] (clock_settime): Likewise.
9250 [XPG3 || XPG4] (nanosleep): Likewise.
9251 [XPG3 || XPG4] (timer_create): Likewise.
9252 [XPG3 || XPG4] (timer_delete): Likewise.
9253 [XPG3 || XPG4] (timer_gettime): Likewise.
9254 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9255 [XPG3 || XPG4] (timer_settime): Likewise.
9256 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9257 [XPG3 || XPG4] (getlogin_r): Likewise.
9258 [XPG3 || XPG4] (pread): Likewise.
9259 [XPG3 || XPG4] (pthread_atfork): Likewise.
9260 [XPG3 || XPG4] (pwrite): Likewise.
9263 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9266 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9268 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9269 finalizing MALLSTREAM.
9271 * sysdeps/mach/hurd/syncfs.c: New file.
9273 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9276 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9277 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9278 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9279 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9280 (_nss_dns_gethostbyname4_r): Likewise.
9281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9282 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9284 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9287 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9289 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9291 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9292 * elf/cache.c (print_entry): Print ",AArch64" for
9295 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9296 * elf/cache.c (print_entry): Print ",hard-float" for
9299 2012-11-18 David S. Miller <davem@davemloft.net>
9301 With help from Joseph Myers.
9302 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9304 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9306 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9307 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9309 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9310 * math/libm-test.inc (y0_test): New tests.
9311 (y1_test): New tests.
9312 * sysdeps/i386/fpu/libm-test-ulps: Update.
9313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9316 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9318 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9320 * configure: Regenerated.
9322 2012-11-17 David S. Miller <davem@davemloft.net>
9325 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9326 nonzero exponents with absolute value below 0x1p-128 to +/-
9329 2012-11-17 Joseph Myers <joseph@codesourcery.com>
9331 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9333 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9335 * posix/getconf-speclist.c: New file.
9336 * posix/posix-envs.def: Likewise.
9337 * posix/confstr.c (START_ENV_GROUP): New macro.
9338 (END_ENV_GROUP): Likewise.
9339 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9340 (KNOWN_PRESENT_ENV_STRING): Likewise.
9341 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9342 (UNKNOWN_ENVIRONMENT): Likewise.
9343 (confstr): Include posix-envs.def instead of handling
9344 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9345 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9346 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9347 (END_ENV_GROUP): Likewise.
9348 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9349 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9350 (UNKNOWN_ENVIRONMENT): Likewise.
9351 (__sysconf): Include posix-envs.def instead of handling associated
9352 cases directly here.
9353 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9354 preprocessing getconf-speclist.c rather than running getconf or
9355 generating empty file.
9357 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9359 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9361 2012-11-16 Andrej Lajovic <natrij@gmail.com>
9364 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9366 2012-11-16 David S. Miller <davem@davemloft.net>
9368 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9369 smaller than LDBL_EPSILON/2.0L, just return xm1.
9371 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9373 * elf/tst-array1.c (init): Set constructor priority to 1000.
9374 (fini): Set destructor priority to 1000.
9375 * elf/tst-array2dep.c: Likewise.
9377 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9380 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9381 (_IO_new_file_xsputn): Also return EOF if none of the input
9382 data was written when overflow failed.
9383 * libio/iopadn.c (_IO_padn): Likewise.
9384 * libio/iowpadn.c (_IO_wpadn): Likewise.
9385 * stdio-common/tst-put-error.c: Add copyright notice.
9386 (do_test): Add case for printing padded string.
9387 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9388 _IO_padn returned error.
9389 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9390 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9393 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9395 * libio/libioP.h: Add comment note that the references to C++
9396 bits are now obsolete.
9398 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9400 * math/libm-test.inc (check_complex): Use asprintf.
9402 2012-11-14 Joseph Myers <joseph@codesourcery.com>
9404 * debug/pcprofiledump.c (print_version): Update copyright year.
9405 * malloc/memusagestat.c (print_version): Likewise.
9407 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9410 * elf/Makefile (tests): Add tst-audit8.
9411 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9412 ($(objpfx)tst-audit8.out): New target.
9413 (tst-audit8-ENV): New variable.
9414 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9415 audit if l_reloc_result is NULL.
9416 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9417 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9418 * elf/tst-audit8.c: New file.
9420 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9422 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9423 * misc/Makefile (CFLAGS-select.c): Define.
9424 * posix/Makefile (CFLAGS-pause.c): Define.
9426 2012-11-13 David S. Miller <davem@davemloft.net>
9428 * crypt/Makefile: Move test targets after toplevel Rules
9429 inclusion. Grab any necessary sysdep routines when linking.
9430 * crypt/md5.c (md5_process_block): Remove define, we will always
9431 name it __md5_process_block.
9432 (md5_finish_ctx): Update md5_process_block call.
9433 (md5_stream): Likewise.
9434 (md5_process_bytes): Likewise.
9435 (md5_process_block): Rename to __md5_process_block and move to ...
9436 * crypt/md5-block.c: ... here.
9437 * crypt/sha256.c (sha256_process_block): Move to ...
9438 * crypt/sha256-block.c: ... here.
9439 * crypt/sha512.c (sha512_process_block): Move to ...
9440 * crypt/sha512-block.c: ... here.
9441 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9443 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9444 * sysdeps/sparc/sparc64/multiarch/Makefile
9445 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9447 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9448 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9450 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9451 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9452 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9453 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9454 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9455 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9456 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9457 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9458 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9460 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9461 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9463 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9465 2012-11-13 Joseph Myers <joseph@codesourcery.com>
9467 * timezone/tzselect.ksh: Update from tzcode git revision
9468 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9469 * timezone/zdump.c: Likewise.
9470 * timezone/zic.c: Likewise.
9471 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9472 in TZVERSION setting, not $(PKGVERSION).
9473 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9474 REPORT_BUGS_TO settings.
9477 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9480 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9482 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9483 detection to immediately after _FP_ROUND().
9484 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9487 2012-11-11 David S. Miller <davem@davemloft.net>
9489 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9491 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9492 __close rather than their public counterparts.
9494 2012-11-10 Joseph Myers <joseph@codesourcery.com>
9496 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9498 [UNIX98] (sem_timedwait): Do not expect.
9499 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9500 [XPG4 || UNIX98] (sockatmark): Do not expect.
9501 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9502 (clock_getcpuclockid): Do not expect.
9503 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9504 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9506 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9507 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9508 [UNIX98] (vwscanf): Likewise.
9509 [UNIX98] (vswscanf): Likewise.
9511 2012-11-09 Joseph Myers <joseph@codesourcery.com>
9513 * timezone/version.h: Remove file.
9514 * timezone/README: Do not refer to version.h.
9515 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9517 ($(objpfx)zdump.o): Likewise.
9518 ($(objpfx)version.h): New target.
9520 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9522 * timezone/README: Don't mention modification to tzselect.ksh.
9523 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9524 work on unmodified tzselect.ksh. Substitute version numbers in
9527 * Makefile (format-me): Remove.
9528 (INSTALL): Adjust indentation. Use commands directly instead of
9531 * aclocal.m4 (ACX_PKGVERSION): New macro.
9532 (ACX_BUGURL): Likewise.
9533 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9534 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9535 (REPORT_BUGS_TO): Likewise.
9536 * configure: Regenerated.
9537 * config.h.in (PKGVERSION): New macro.
9538 (REPORT_BUGS_TO): Likewise.
9539 * config.make.in (PKGVERSION): New variable.
9540 (PKGVERSION_TEXI): Likewise.
9541 (REPORT_BUGS_TO): Likewise.
9542 (REPORT_BUGS_TEXI): Likewise.
9543 * Makefile (format-me): Use -I$(common-objpfx)manual.
9544 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9545 ($(common-objpfx)manual/%): New target.
9546 (manual/%): Remove target.
9547 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9548 (print_version): Use PKGVERSION.
9549 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9550 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9552 ($(objpfx)xtrace): Likewise.
9553 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9554 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9555 (print_version): Use PKGVERSION.
9556 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9557 (do_version): Use PKGVERSION.
9558 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9560 (common-ldd-rewrite): Likewise.
9561 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9562 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9563 (print_version): Use PKGVERSION.
9564 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9565 * elf/pldd.c (argp_program_bug_address): Remove variable.
9566 (more_help): New function.
9567 (argp): Use more_help.
9568 (print_version): Use PKGVERSION.
9569 * elf/sln.c (main): Use PKGVERSION.
9570 (usage): Use REPORT_BUGS_TO.
9571 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9572 (top level): Use PKGVERSION.
9573 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9574 (print_version): Use PKGVERSION.
9575 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9576 (print_version): Use PKGVERSION.
9577 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9578 (print_version): Use PKGVERSION.
9579 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9580 (print_version): Use PKGVERSION.
9581 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9582 (print_version): Use PKGVERSION.
9583 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9584 (print_version): Use PKGVERSION.
9585 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9587 ($(objpfx)memusage): Likewise.
9588 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9589 (do_version): Use PKGVERSION.
9590 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9591 (print_version): Use PKGVERSION.
9592 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9593 ($PKGVERSION): New variable.
9594 ($REPORT_BUGS_TO): Likewise.
9595 (usage): Use $REPORT_BUGS_TO.
9596 (top level): Use $PKGVERSION.
9597 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9598 ($(objpfx)pkgvers.texi): New rule.
9599 ($(objpfx)stamp-pkgvers): Likewise.
9600 * manual/install.texi: Include pkgvers.texi.
9601 (--with-pkgversion): Document new configure option.
9602 (--with-bugurl): Likewise.
9603 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9604 than necessarily for this particular distribution. Use
9605 REPORT_BUGS_TO for where to report bugs.
9606 * INSTALL: Regenerated.
9607 * manual/libc.texinfo: Include pkgvers.texi.
9608 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9609 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9610 (print_version): Use PKGVERSION.
9611 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9612 (print_version): Use PKGVERSION.
9613 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9614 (print_version): Use PKGVERSION.
9615 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9616 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9618 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9619 (print_version): Use PKGVERSION.
9620 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9621 (print_version): Use PKGVERSION.
9622 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9625 * timezone/checktab.awk: Update from tzcode 2012i.
9626 * timezone/ialloc.c: Likewise.
9627 * timezone/private.h: Likewise.
9628 * timezone/scheck.c: Likewise.
9629 * timezone/tzfile.h: Likewise.
9630 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9631 (TZVERSION): Hardcode tzcode version number.
9632 * timezone/zdump.c: Update from tzcode 2012i.
9633 * timezone/zic.c: Likewise.
9634 * timezone/version.h: New file.
9635 * timezone/README: Describe version.h. Update upstream location.
9638 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9639 (mktemp): Enable declaration.
9640 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9641 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9642 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9643 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9645 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9647 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9653 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9657 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9658 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9659 for copies of such integer values.
9660 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9661 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9663 2012-11-09 Andreas Jaeger <aj@suse.de>
9665 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9666 definitions and declarations that are provided by
9667 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9669 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9671 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9672 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9673 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9676 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9678 * elf/elf.h: Update comment before AArch64 relocations.
9680 2012-11-07 David S. Miller <davem@davemloft.net>
9682 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9683 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9684 (__start_context): Declare.
9685 (__makecontext_ret): Delete.
9686 (__makecontext): Hook up __start_context instead of
9688 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9689 (sysdep_routines): Add __start_context when in stdlib.
9691 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9693 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9694 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9695 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9697 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9698 (READELF): New variable. Use it instead of hardcoded "readelf".
9700 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9702 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9703 * sysdeps/x86/Makefile: Here.
9704 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9705 * sysdeps/x86/tst-xmmymm.sh: This.
9707 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9709 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9711 [UNIX98] (pthread_barrier_t): Do not expect.
9712 [UNIX98] (pthread_barrierattr_t): Likewise.
9713 [UNIX98] (pthread_spinlock_t): Likewise.
9714 [UNIX98] (pthread_barrier_destroy): Likewise.
9715 [UNIX98] (pthread_barrier_init): Likewise.
9716 [UNIX98] (pthread_barrier_wait): Likewise.
9717 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9718 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9719 [UNIX98] (pthread_barrierattr_init): Likewise.
9720 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9721 [UNIX98] (pthread_getcpuclockid): Likewise.
9722 [UNIX98] (pthread_mutex_timedlock): Likewise.
9723 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9724 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9725 [UNIX98] (pthread_sigmask): Likewise.
9726 [UNIX98] (pthread_spin_destroy): Likewise.
9727 [UNIX98] (pthread_spin_init): Likewise.
9728 [UNIX98] (pthread_spin_lock): Likewise.
9729 [UNIX98] (pthread_spin_trylock): Likewise.
9730 [UNIX98] (pthread_spin_unlock): Likewise.
9731 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9733 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9734 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9735 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9736 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9737 [XPG3 || XPG4] (pthread_key_t): Likewise.
9738 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9739 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9740 [XPG3 || XPG4] (pthread_once_t): Likewise.
9741 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9742 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9743 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9744 [XPG3 || XPG4] (pthread_t): Likewise.
9746 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9748 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9750 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9751 Change function return type to int.
9753 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9754 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9755 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9756 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9757 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9758 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9759 [!POSIX] (posix_madvise): Likewise.
9760 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9762 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9763 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9765 (posix_mem_offset): Likewise.
9766 (posix_typed_mem_get_info): Likewise.
9767 (posix_typed_mem_open): Likewise.
9769 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9770 Change condition to [XOPEN2K8].
9772 * conform/conformtest.pl: Preprocess allow-header data with -x c
9773 instead of from stdin.
9774 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9775 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9776 [C99-based standards] (cerfc): Likewise.
9777 [C99-based standards] (cexp2): Likewise.
9778 [C99-based standards] (cexpm1): Likewise.
9779 [C99-based standards] (clog10): Likewise.
9780 [C99-based standards] (clog1p): Likewise.
9781 [C99-based standards] (clog2): Likewise.
9782 [C99-based standards] (clgamma): Likewise.
9783 [C99-based standards] (ctgamma): Likewise.
9784 [C99-based standards] (cerff): Likewise.
9785 [C99-based standards] (cerfcf): Likewise.
9786 [C99-based standards] (cexp2f): Likewise.
9787 [C99-based standards] (cexpm1f): Likewise.
9788 [C99-based standards] (clog10f): Likewise.
9789 [C99-based standards] (clog1pf): Likewise.
9790 [C99-based standards] (clog2f): Likewise.
9791 [C99-based standards] (clgammaf): Likewise.
9792 [C99-based standards] (ctgammaf): Likewise.
9793 [C99-based standards] (cerfl): Likewise.
9794 [C99-based standards] (cerfcl): Likewise.
9795 [C99-based standards] (cexp2l): Likewise.
9796 [C99-based standards] (cexpm1l): Likewise.
9797 [C99-based standards] (clog10l): Likewise.
9798 [C99-based standards] (clog1pl): Likewise.
9799 [C99-based standards] (clog2l): Likewise.
9800 [C99-based standards] (clgammal): Likewise.
9801 [C99-based standards] (ctgammal): Likewise.
9802 * conform/data/inttypes.h-data [C99-based standards]: Include
9803 stdint.h-data. Remove all expectations for stdint.h contents.
9804 [C99-based standards] (PRI*): Do not allow.
9805 [C99-based standards] (SCN*): Likewise.
9806 [C99-based standards] (*_t): Likewise.
9807 [C99-based-standards] (PRId8): Expect macro.
9808 [C99-based-standards] (PRIi8): Likewise.
9809 [C99-based-standards] (PRIo8): Likewise.
9810 [C99-based-standards] (PRIu8): Likewise.
9811 [C99-based-standards] (PRIx8): Likewise.
9812 [C99-based-standards] (PRIX8): Likewise.
9813 [C99-based-standards] (SCNd8): Likewise.
9814 [C99-based-standards] (SCNi8): Likewise.
9815 [C99-based-standards] (SCNo8): Likewise.
9816 [C99-based-standards] (SCNu8): Likewise.
9817 [C99-based-standards] (SCNx8): Likewise.
9818 [C99-based-standards] (PRIdLEAST8): Likewise.
9819 [C99-based-standards] (PRIiLEAST8): Likewise.
9820 [C99-based-standards] (PRIoLEAST8): Likewise.
9821 [C99-based-standards] (PRIuLEAST8): Likewise.
9822 [C99-based-standards] (PRIxLEAST8): Likewise.
9823 [C99-based-standards] (PRIXLEAST8): Likewise.
9824 [C99-based-standards] (SCNdLEAST8): Likewise.
9825 [C99-based-standards] (SCNiLEAST8): Likewise.
9826 [C99-based-standards] (SCNoLEAST8): Likewise.
9827 [C99-based-standards] (SCNuLEAST8): Likewise.
9828 [C99-based-standards] (SCNxLEAST8): Likewise.
9829 [C99-based-standards] (PRIdFAST8): Likewise.
9830 [C99-based-standards] (PRIiFAST8): Likewise.
9831 [C99-based-standards] (PRIoFAST8): Likewise.
9832 [C99-based-standards] (PRIuFAST8): Likewise.
9833 [C99-based-standards] (PRIxFAST8): Likewise.
9834 [C99-based-standards] (PRIXFAST8): Likewise.
9835 [C99-based-standards] (SCNdFAST8): Likewise.
9836 [C99-based-standards] (SCNiFAST8): Likewise.
9837 [C99-based-standards] (SCNoFAST8): Likewise.
9838 [C99-based-standards] (SCNuFAST8): Likewise.
9839 [C99-based-standards] (SCNxFAST8): Likewise.
9840 [C99-based-standards] (PRId16): Likewise.
9841 [C99-based-standards] (PRIi16): Likewise.
9842 [C99-based-standards] (PRIo16): Likewise.
9843 [C99-based-standards] (PRIu16): Likewise.
9844 [C99-based-standards] (PRIx16): Likewise.
9845 [C99-based-standards] (PRIX16): Likewise.
9846 [C99-based-standards] (SCNd16): Likewise.
9847 [C99-based-standards] (SCNi16): Likewise.
9848 [C99-based-standards] (SCNo16): Likewise.
9849 [C99-based-standards] (SCNu16): Likewise.
9850 [C99-based-standards] (SCNx16): Likewise.
9851 [C99-based-standards] (PRIdLEAST16): Likewise.
9852 [C99-based-standards] (PRIiLEAST16): Likewise.
9853 [C99-based-standards] (PRIoLEAST16): Likewise.
9854 [C99-based-standards] (PRIuLEAST16): Likewise.
9855 [C99-based-standards] (PRIxLEAST16): Likewise.
9856 [C99-based-standards] (PRIXLEAST16): Likewise.
9857 [C99-based-standards] (SCNdLEAST16): Likewise.
9858 [C99-based-standards] (SCNiLEAST16): Likewise.
9859 [C99-based-standards] (SCNoLEAST16): Likewise.
9860 [C99-based-standards] (SCNuLEAST16): Likewise.
9861 [C99-based-standards] (SCNxLEAST16): Likewise.
9862 [C99-based-standards] (PRIdFAST16): Likewise.
9863 [C99-based-standards] (PRIiFAST16): Likewise.
9864 [C99-based-standards] (PRIoFAST16): Likewise.
9865 [C99-based-standards] (PRIuFAST16): Likewise.
9866 [C99-based-standards] (PRIxFAST16): Likewise.
9867 [C99-based-standards] (PRIXFAST16): Likewise.
9868 [C99-based-standards] (SCNdFAST16): Likewise.
9869 [C99-based-standards] (SCNiFAST16): Likewise.
9870 [C99-based-standards] (SCNoFAST16): Likewise.
9871 [C99-based-standards] (SCNuFAST16): Likewise.
9872 [C99-based-standards] (SCNxFAST16): Likewise.
9873 [C99-based-standards] (PRId32): Likewise.
9874 [C99-based-standards] (PRIi32): Likewise.
9875 [C99-based-standards] (PRIo32): Likewise.
9876 [C99-based-standards] (PRIu32): Likewise.
9877 [C99-based-standards] (PRIx32): Likewise.
9878 [C99-based-standards] (PRIX32): Likewise.
9879 [C99-based-standards] (SCNd32): Likewise.
9880 [C99-based-standards] (SCNi32): Likewise.
9881 [C99-based-standards] (SCNo32): Likewise.
9882 [C99-based-standards] (SCNu32): Likewise.
9883 [C99-based-standards] (SCNx32): Likewise.
9884 [C99-based-standards] (PRIdLEAST32): Likewise.
9885 [C99-based-standards] (PRIiLEAST32): Likewise.
9886 [C99-based-standards] (PRIoLEAST32): Likewise.
9887 [C99-based-standards] (PRIuLEAST32): Likewise.
9888 [C99-based-standards] (PRIxLEAST32): Likewise.
9889 [C99-based-standards] (PRIXLEAST32): Likewise.
9890 [C99-based-standards] (SCNdLEAST32): Likewise.
9891 [C99-based-standards] (SCNiLEAST32): Likewise.
9892 [C99-based-standards] (SCNoLEAST32): Likewise.
9893 [C99-based-standards] (SCNuLEAST32): Likewise.
9894 [C99-based-standards] (SCNxLEAST32): Likewise.
9895 [C99-based-standards] (PRIdFAST32): Likewise.
9896 [C99-based-standards] (PRIiFAST32): Likewise.
9897 [C99-based-standards] (PRIoFAST32): Likewise.
9898 [C99-based-standards] (PRIuFAST32): Likewise.
9899 [C99-based-standards] (PRIxFAST32): Likewise.
9900 [C99-based-standards] (PRIXFAST32): Likewise.
9901 [C99-based-standards] (SCNdFAST32): Likewise.
9902 [C99-based-standards] (SCNiFAST32): Likewise.
9903 [C99-based-standards] (SCNoFAST32): Likewise.
9904 [C99-based-standards] (SCNuFAST32): Likewise.
9905 [C99-based-standards] (SCNxFAST32): Likewise.
9906 [C99-based-standards] (PRId64): Likewise.
9907 [C99-based-standards] (PRIi64): Likewise.
9908 [C99-based-standards] (PRIo64): Likewise.
9909 [C99-based-standards] (PRIu64): Likewise.
9910 [C99-based-standards] (PRIx64): Likewise.
9911 [C99-based-standards] (PRIX64): Likewise.
9912 [C99-based-standards] (SCNd64): Likewise.
9913 [C99-based-standards] (SCNi64): Likewise.
9914 [C99-based-standards] (SCNo64): Likewise.
9915 [C99-based-standards] (SCNu64): Likewise.
9916 [C99-based-standards] (SCNx64): Likewise.
9917 [C99-based-standards] (PRIdLEAST64): Likewise.
9918 [C99-based-standards] (PRIiLEAST64): Likewise.
9919 [C99-based-standards] (PRIoLEAST64): Likewise.
9920 [C99-based-standards] (PRIuLEAST64): Likewise.
9921 [C99-based-standards] (PRIxLEAST64): Likewise.
9922 [C99-based-standards] (PRIXLEAST64): Likewise.
9923 [C99-based-standards] (SCNdLEAST64): Likewise.
9924 [C99-based-standards] (SCNiLEAST64): Likewise.
9925 [C99-based-standards] (SCNoLEAST64): Likewise.
9926 [C99-based-standards] (SCNuLEAST64): Likewise.
9927 [C99-based-standards] (SCNxLEAST64): Likewise.
9928 [C99-based-standards] (PRIdFAST64): Likewise.
9929 [C99-based-standards] (PRIiFAST64): Likewise.
9930 [C99-based-standards] (PRIoFAST64): Likewise.
9931 [C99-based-standards] (PRIuFAST64): Likewise.
9932 [C99-based-standards] (PRIxFAST64): Likewise.
9933 [C99-based-standards] (PRIXFAST64): Likewise.
9934 [C99-based-standards] (SCNdFAST64): Likewise.
9935 [C99-based-standards] (SCNiFAST64): Likewise.
9936 [C99-based-standards] (SCNoFAST64): Likewise.
9937 [C99-based-standards] (SCNuFAST64): Likewise.
9938 [C99-based-standards] (SCNxFAST64): Likewise.
9939 [C99-based-standards] (PRIdMAX): Likewise.
9940 [C99-based-standards] (PRIiMAX): Likewise.
9941 [C99-based-standards] (PRIoMAX): Likewise.
9942 [C99-based-standards] (PRIuMAX): Likewise.
9943 [C99-based-standards] (PRIxMAX): Likewise.
9944 [C99-based-standards] (PRIXMAX): Likewise.
9945 [C99-based-standards] (SCNdMAX): Likewise.
9946 [C99-based-standards] (SCNiMAX): Likewise.
9947 [C99-based-standards] (SCNoMAX): Likewise.
9948 [C99-based-standards] (SCNuMAX): Likewise.
9949 [C99-based-standards] (SCNxMAX): Likewise.
9950 [C99-based-standards] (PRIdPTR): Likewise.
9951 [C99-based-standards] (PRIiPTR): Likewise.
9952 [C99-based-standards] (PRIoPTR): Likewise.
9953 [C99-based-standards] (PRIuPTR): Likewise.
9954 [C99-based-standards] (PRIxPTR): Likewise.
9955 [C99-based-standards] (PRIXPTR): Likewise.
9956 [C99-based-standards] (SCNdPTR): Likewise.
9957 [C99-based-standards] (SCNiPTR): Likewise.
9958 [C99-based-standards] (SCNoPTR): Likewise.
9959 [C99-based-standards] (SCNuPTR): Likewise.
9960 [C99-based-standards] (SCNxPTR): Likewise.
9961 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9963 * conform/data/stdint.h-data: Update comments to clarify
9965 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9967 [C99-based standards] (INT8_MAX): Likewise.
9968 [C99-based standards] (INT16_MIN): Likewise.
9969 [C99-based standards] (INT16_MAX): Likewise.
9970 [C99-based standards] (INT32_MIN): Likewise.
9971 [C99-based standards] (INT32_MAX): Likewise.
9972 [C99-based standards] (INT64_MIN): Likewise.
9973 [C99-based standards] (INT64_MAX): Likewise.
9974 [C99-based standards] (UINT8_MAX): Likewise.
9975 [C99-based standards] (UINT16_MAX): Likewise.
9976 [C99-based standards] (UINT32_MAX): Likewise.
9977 [C99-based standards] (UINT64_MAX): Likewise.
9978 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9979 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9980 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9981 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9982 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9983 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9984 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9985 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9986 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9987 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9988 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9989 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9990 [C99-based standards] (INT_FAST8_MIN): Likewise.
9991 [C99-based standards] (INT_FAST8_MAX): Likewise.
9992 [C99-based standards] (INT_FAST16_MIN): Likewise.
9993 [C99-based standards] (INT_FAST16_MAX): Likewise.
9994 [C99-based standards] (INT_FAST32_MIN): Likewise.
9995 [C99-based standards] (INT_FAST32_MAX): Likewise.
9996 [C99-based standards] (INT_FAST64_MIN): Likewise.
9997 [C99-based standards] (INT_FAST64_MAX): Likewise.
9998 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9999 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10000 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10001 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10002 [C99-based standards] (INTPTR_MIN): Likewise.
10003 [C99-based standards] (INTPTR_MAX): Likewise.
10004 [C99-based standards] (UINTPTR_MAX): Likewise.
10005 [C99-based standards] (INTMAX_MIN): Likewise.
10006 [C99-based standards] (INTMAX_MAX): Likewise.
10007 [C99-based standards] (UINTMAX_MAX): Likewise.
10008 [C99-based standards] (PTRDIFF_MIN): Likewise.
10009 [C99-based standards] (PTRDIFF_MAX): Likewise.
10010 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10011 [C99-based standards] (SIZE_MAX): Likewise.
10012 [C99-based standards] (WCHAR_MAX): Likewise.
10013 [C99-based standards] (WINT_MAX): Likewise.
10014 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10015 constraint on value.
10016 [C99-based standards] (WCHAR_MIN): Likewise.
10017 [C99-based standards] (WINT_MIN): Likewise.
10018 [C99-based standards] (*_t): Allow.
10019 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10020 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10021 Include math.h-data and complex.h-data. Remove all expectations
10022 of math.h and complex.h contents.
10023 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10025 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10026 (struct tm): Expect tag.
10027 [C99-based-standards] (wcstof): Expect function.
10028 [C99-based-standards] (wcstold): Likewise.
10029 [C99-based-standards] (wcstoll): Likewise.
10030 [C99-based-standards] (wcstoull): Likewise.
10031 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10032 macro-int-constant. Specify type.
10033 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10034 constraint on value.
10035 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10037 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10039 [ISO C standards]: Do not allow headers.
10040 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10041 wcs[abcdefghijklmnopqrstuvwxyz]*.
10042 [ISO C standards] (*_t): Do not allow.
10043 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10045 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10046 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10048 [ISO C standards]: Do not allow headers.
10049 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10050 is[abcdefghijklmnopqrstuvwxyz]*.
10051 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10052 to[abcdefghijklmnopqrstuvwxyz]*.
10053 [ISO C standards] (*_t): Do not allow.
10054 * conform/data/stdalign.h-data: New file.
10055 * conform/data/stdbool.h-data: Likewise.
10056 * conform/data/stdnoreturn.h-data: Likewise.
10058 2012-11-07 Roland McGrath <roland@hack.frob.com>
10061 * manual/filesys.texi (Directory Entries): Typo fix.
10062 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10064 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10066 * elf/elf.h (EM_AARCH64): New macro.
10067 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10068 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10069 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10070 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10071 (R_AARCH64_TLSDESC): Likewise.
10072 (NT_ARM_TLS): Likewise.
10073 (NT_ARM_HW_BREAK): Likewise.
10074 (NT_ARM_HW_WATCH): Likewise.
10076 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10079 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10080 (__ieee754_powl): Saturate nonzero exponents with absolute value
10081 below 0x1p-79 to +/- 0x1p-79.
10082 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10083 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10084 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10085 nonzero exponents with absolute value below 0x1p-32 to +/-
10087 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10088 (__ieee754_powl): Saturate nonzero exponents with absolute value
10089 below 0x1p-79 to +/- 0x1p-79.
10090 * math/libm-test.inc (pow_test): Add more tests.
10092 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10094 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10095 _dl_s390_cap_flags with kernel. Increase string length.
10096 (_dl_s390_platforms): Add z196 and zEC12.
10098 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10100 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10101 Change XOPEN21K to XOPEN2K.
10103 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10105 * string/memmove.c: Use memcpy when possible.
10107 2012-11-06 Andreas Jaeger <aj@suse.de>
10109 * po/eo.po: Update from translation team.
10111 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10115 exponent and small x and y exponents, scale x or y up. Increase
10116 by 2 the exponent used in scaling up.
10117 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10118 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10119 * math/libm-test.inc (fma_test): Add more tests.
10120 (fma_test_towardzero): Likewise.
10121 (fma_test_downward): Likewise.
10122 (fma_test_upward): Likewise.
10124 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10127 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10131 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10132 namespace for names of struct fields.
10133 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10135 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10136 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10138 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10141 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10143 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10145 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10149 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10152 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10155 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10156 definitely overflow as x * y not x * y + z.
10157 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10158 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10159 * math/libm-test.inc (fma_test): Add more tests.
10160 (fma_test_towardzero): Likewise.
10161 (fma_test_downward): Likewise.
10162 (fma_test_upward): Likewise.
10164 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10168 * include/stub-tag.h: Remove file.
10169 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10171 * manual/maint.texi (Porting): Don't reference it.
10172 * Makerules ($(objpfx)stubs): Likewise.
10173 * dirent/closedir.c: Don't include <stub-tag.h>.
10174 * dirent/dirfd.c: Likewise.
10175 * dirent/fdopendir.c: Likewise.
10176 * dirent/getdents.c: Likewise.
10177 * dirent/getdents64.c: Likewise.
10178 * dirent/opendir.c: Likewise.
10179 * dirent/readdir.c: Likewise.
10180 * dirent/readdir64.c: Likewise.
10181 * dirent/readdir64_r.c: Likewise.
10182 * dirent/readdir_r.c: Likewise.
10183 * dirent/rewinddir.c: Likewise.
10184 * dirent/seekdir.c: Likewise.
10185 * dirent/telldir.c: Likewise.
10186 * gmon/profil.c: Likewise.
10187 * grp/setgroups.c: Likewise.
10188 * inet/if_index.c: Likewise.
10189 * io/access.c: Likewise.
10190 * io/chdir.c: Likewise.
10191 * io/chmod.c: Likewise.
10192 * io/chown.c: Likewise.
10193 * io/close.c: Likewise.
10194 * io/dup.c: Likewise.
10195 * io/dup2.c: Likewise.
10196 * io/dup3.c: Likewise.
10197 * io/euidaccess.c: Likewise.
10198 * io/faccessat.c: Likewise.
10199 * io/fchdir.c: Likewise.
10200 * io/fchmod.c: Likewise.
10201 * io/fchmodat.c: Likewise.
10202 * io/fchown.c: Likewise.
10203 * io/fchownat.c: Likewise.
10204 * io/fcntl.c: Likewise.
10205 * io/flock.c: Likewise.
10206 * io/fstatfs.c: Likewise.
10207 * io/fstatfs64.c: Likewise.
10208 * io/fstatvfs.c: Likewise.
10209 * io/fstatvfs64.c: Likewise.
10210 * io/futimens.c: Likewise.
10211 * io/fxstat.c: Likewise.
10212 * io/fxstat64.c: Likewise.
10213 * io/fxstatat.c: Likewise.
10214 * io/fxstatat64.c: Likewise.
10215 * io/getcwd.c: Likewise.
10216 * io/isatty.c: Likewise.
10217 * io/lchmod.c: Likewise.
10218 * io/lchown.c: Likewise.
10219 * io/link.c: Likewise.
10220 * io/linkat.c: Likewise.
10221 * io/lseek.c: Likewise.
10222 * io/lseek64.c: Likewise.
10223 * io/lxstat64.c: Likewise.
10224 * io/mkdir.c: Likewise.
10225 * io/mkdirat.c: Likewise.
10226 * io/mkfifo.c: Likewise.
10227 * io/mkfifoat.c: Likewise.
10228 * io/open.c: Likewise.
10229 * io/open64.c: Likewise.
10230 * io/openat.c: Likewise.
10231 * io/openat64.c: Likewise.
10232 * io/pipe.c: Likewise.
10233 * io/pipe2.c: Likewise.
10234 * io/poll.c: Likewise.
10235 * io/posix_fadvise.c: Likewise.
10236 * io/posix_fadvise64.c: Likewise.
10237 * io/posix_fallocate.c: Likewise.
10238 * io/posix_fallocate64.c: Likewise.
10239 * io/read.c: Likewise.
10240 * io/readlink.c: Likewise.
10241 * io/readlinkat.c: Likewise.
10242 * io/rmdir.c: Likewise.
10243 * io/sendfile.c: Likewise.
10244 * io/sendfile64.c: Likewise.
10245 * io/statfs.c: Likewise.
10246 * io/statfs64.c: Likewise.
10247 * io/statvfs.c: Likewise.
10248 * io/statvfs64.c: Likewise.
10249 * io/symlink.c: Likewise.
10250 * io/symlinkat.c: Likewise.
10251 * io/ttyname.c: Likewise.
10252 * io/ttyname_r.c: Likewise.
10253 * io/umask.c: Likewise.
10254 * io/unlink.c: Likewise.
10255 * io/unlinkat.c: Likewise.
10256 * io/utime.c: Likewise.
10257 * io/utimensat.c: Likewise.
10258 * io/write.c: Likewise.
10259 * io/xmknod.c: Likewise.
10260 * io/xmknodat.c: Likewise.
10261 * io/xstat.c: Likewise.
10262 * io/xstat64.c: Likewise.
10263 * login/getpt.c: Likewise.
10264 * login/grantpt.c: Likewise.
10265 * login/unlockpt.c: Likewise.
10266 * math/e_acoshl.c: Likewise.
10267 * math/e_acosl.c: Likewise.
10268 * math/e_asinl.c: Likewise.
10269 * math/e_atan2l.c: Likewise.
10270 * math/e_atanhl.c: Likewise.
10271 * math/e_coshl.c: Likewise.
10272 * math/e_expl.c: Likewise.
10273 * math/e_fmodl.c: Likewise.
10274 * math/e_gammal_r.c: Likewise.
10275 * math/e_hypotl.c: Likewise.
10276 * math/e_j0l.c: Likewise.
10277 * math/e_j1l.c: Likewise.
10278 * math/e_jnl.c: Likewise.
10279 * math/e_lgammal_r.c: Likewise.
10280 * math/e_log10l.c: Likewise.
10281 * math/e_log2l.c: Likewise.
10282 * math/e_logl.c: Likewise.
10283 * math/e_powl.c: Likewise.
10284 * math/e_rem_pio2l.c: Likewise.
10285 * math/e_sinhl.c: Likewise.
10286 * math/e_sqrtl.c: Likewise.
10287 * math/fclrexcpt.c: Likewise.
10288 * math/fedisblxcpt.c: Likewise.
10289 * math/feenablxcpt.c: Likewise.
10290 * math/fegetenv.c: Likewise.
10291 * math/fegetexcept.c: Likewise.
10292 * math/fegetround.c: Likewise.
10293 * math/feholdexcpt.c: Likewise.
10294 * math/fesetenv.c: Likewise.
10295 * math/fesetround.c: Likewise.
10296 * math/feupdateenv.c: Likewise.
10297 * math/fgetexcptflg.c: Likewise.
10298 * math/fraiseexcpt.c: Likewise.
10299 * math/fsetexcptflg.c: Likewise.
10300 * math/ftestexcept.c: Likewise.
10301 * math/k_cosl.c: Likewise.
10302 * math/k_rem_pio2l.c: Likewise.
10303 * math/k_sinl.c: Likewise.
10304 * math/k_tanl.c: Likewise.
10305 * math/s_asinhl.c: Likewise.
10306 * math/s_atanl.c: Likewise.
10307 * math/s_cbrtl.c: Likewise.
10308 * math/s_erfl.c: Likewise.
10309 * math/s_expm1l.c: Likewise.
10310 * math/s_log1pl.c: Likewise.
10311 * math/s_tanhl.c: Likewise.
10312 * misc/acct.c: Likewise.
10313 * misc/brk.c: Likewise.
10314 * misc/chflags.c: Likewise.
10315 * misc/chroot.c: Likewise.
10316 * misc/fchflags.c: Likewise.
10317 * misc/fgetxattr.c: Likewise.
10318 * misc/flistxattr.c: Likewise.
10319 * misc/fremovexattr.c: Likewise.
10320 * misc/fsetxattr.c: Likewise.
10321 * misc/fsync.c: Likewise.
10322 * misc/ftruncate.c: Likewise.
10323 * misc/futimes.c: Likewise.
10324 * misc/futimesat.c: Likewise.
10325 * misc/getdomain.c: Likewise.
10326 * misc/getdtsz.c: Likewise.
10327 * misc/gethostid.c: Likewise.
10328 * misc/gethostname.c: Likewise.
10329 * misc/getloadavg.c: Likewise.
10330 * misc/getpagesize.c: Likewise.
10331 * misc/getsysstats.c: Likewise.
10332 * misc/getxattr.c: Likewise.
10333 * misc/gtty.c: Likewise.
10334 * misc/ioctl.c: Likewise.
10335 * misc/lgetxattr.c: Likewise.
10336 * misc/listxattr.c: Likewise.
10337 * misc/llistxattr.c: Likewise.
10338 * misc/lremovexattr.c: Likewise.
10339 * misc/lsetxattr.c: Likewise.
10340 * misc/lutimes.c: Likewise.
10341 * misc/madvise.c: Likewise.
10342 * misc/mincore.c: Likewise.
10343 * misc/mlock.c: Likewise.
10344 * misc/mlockall.c: Likewise.
10345 * misc/mmap.c: Likewise.
10346 * misc/mprotect.c: Likewise.
10347 * misc/msync.c: Likewise.
10348 * misc/munlock.c: Likewise.
10349 * misc/munlockall.c: Likewise.
10350 * misc/munmap.c: Likewise.
10351 * misc/preadv.c: Likewise.
10352 * misc/preadv64.c: Likewise.
10353 * misc/ptrace.c: Likewise.
10354 * misc/pwritev.c: Likewise.
10355 * misc/pwritev64.c: Likewise.
10356 * misc/readv.c: Likewise.
10357 * misc/reboot.c: Likewise.
10358 * misc/remap_file_pages.c: Likewise.
10359 * misc/removexattr.c: Likewise.
10360 * misc/revoke.c: Likewise.
10361 * misc/select.c: Likewise.
10362 * misc/setdomain.c: Likewise.
10363 * misc/setegid.c: Likewise.
10364 * misc/seteuid.c: Likewise.
10365 * misc/sethostid.c: Likewise.
10366 * misc/sethostname.c: Likewise.
10367 * misc/setregid.c: Likewise.
10368 * misc/setreuid.c: Likewise.
10369 * misc/setxattr.c: Likewise.
10370 * misc/sstk.c: Likewise.
10371 * misc/stty.c: Likewise.
10372 * misc/swapoff.c: Likewise.
10373 * misc/swapon.c: Likewise.
10374 * misc/sync.c: Likewise.
10375 * misc/syncfs.c: Likewise.
10376 * misc/syscall.c: Likewise.
10377 * misc/truncate.c: Likewise.
10378 * misc/ualarm.c: Likewise.
10379 * misc/usleep.c: Likewise.
10380 * misc/ustat.c: Likewise.
10381 * misc/utimes.c: Likewise.
10382 * misc/vhangup.c: Likewise.
10383 * misc/writev.c: Likewise.
10384 * posix/_exit.c: Likewise.
10385 * posix/alarm.c: Likewise.
10386 * posix/execve.c: Likewise.
10387 * posix/fexecve.c: Likewise.
10388 * posix/fork.c: Likewise.
10389 * posix/fpathconf.c: Likewise.
10390 * posix/getaddrinfo.c: Likewise.
10391 * posix/getegid.c: Likewise.
10392 * posix/geteuid.c: Likewise.
10393 * posix/getgid.c: Likewise.
10394 * posix/getgroups.c: Likewise.
10395 * posix/getlogin.c: Likewise.
10396 * posix/getlogin_r.c: Likewise.
10397 * posix/getpgid.c: Likewise.
10398 * posix/getpid.c: Likewise.
10399 * posix/getppid.c: Likewise.
10400 * posix/getresgid.c: Likewise.
10401 * posix/getresuid.c: Likewise.
10402 * posix/getsid.c: Likewise.
10403 * posix/getuid.c: Likewise.
10404 * posix/glob64.c: Likewise.
10405 * posix/nanosleep.c: Likewise.
10406 * posix/pathconf.c: Likewise.
10407 * posix/pause.c: Likewise.
10408 * posix/posix_madvise.c: Likewise.
10409 * posix/pread.c: Likewise.
10410 * posix/pread64.c: Likewise.
10411 * posix/pwrite.c: Likewise.
10412 * posix/pwrite64.c: Likewise.
10413 * posix/sched_getaffinity.c: Likewise.
10414 * posix/sched_getp.c: Likewise.
10415 * posix/sched_gets.c: Likewise.
10416 * posix/sched_primax.c: Likewise.
10417 * posix/sched_primin.c: Likewise.
10418 * posix/sched_rr_gi.c: Likewise.
10419 * posix/sched_setaffinity.c: Likewise.
10420 * posix/sched_setp.c: Likewise.
10421 * posix/sched_sets.c: Likewise.
10422 * posix/sched_yield.c: Likewise.
10423 * posix/setgid.c: Likewise.
10424 * posix/setlogin.c: Likewise.
10425 * posix/setpgid.c: Likewise.
10426 * posix/setresgid.c: Likewise.
10427 * posix/setresuid.c: Likewise.
10428 * posix/setsid.c: Likewise.
10429 * posix/setuid.c: Likewise.
10430 * posix/sleep.c: Likewise.
10431 * posix/spawni.c: Likewise.
10432 * posix/sysconf.c: Likewise.
10433 * posix/times.c: Likewise.
10434 * posix/wait.c: Likewise.
10435 * posix/wait3.c: Likewise.
10436 * posix/wait4.c: Likewise.
10437 * posix/waitpid.c: Likewise.
10438 * resolv/gai_sigqueue.c: Likewise.
10439 * resource/getpriority.c: Likewise.
10440 * resource/getrlimit.c: Likewise.
10441 * resource/getrusage.c: Likewise.
10442 * resource/nice.c: Likewise.
10443 * resource/setpriority.c: Likewise.
10444 * resource/setrlimit.c: Likewise.
10445 * resource/ulimit.c: Likewise.
10446 * rt/aio_cancel.c: Likewise.
10447 * rt/aio_fsync.c: Likewise.
10448 * rt/aio_read.c: Likewise.
10449 * rt/aio_sigqueue.c: Likewise.
10450 * rt/aio_suspend.c: Likewise.
10451 * rt/aio_write.c: Likewise.
10452 * rt/clock_getres.c: Likewise.
10453 * rt/clock_gettime.c: Likewise.
10454 * rt/clock_nanosleep.c: Likewise.
10455 * rt/clock_settime.c: Likewise.
10456 * rt/lio_listio.c: Likewise.
10457 * rt/mq_close.c: Likewise.
10458 * rt/mq_getattr.c: Likewise.
10459 * rt/mq_notify.c: Likewise.
10460 * rt/mq_open.c: Likewise.
10461 * rt/mq_receive.c: Likewise.
10462 * rt/mq_send.c: Likewise.
10463 * rt/mq_setattr.c: Likewise.
10464 * rt/mq_timedreceive.c: Likewise.
10465 * rt/mq_timedsend.c: Likewise.
10466 * rt/mq_unlink.c: Likewise.
10467 * rt/shm_open.c: Likewise.
10468 * rt/shm_unlink.c: Likewise.
10469 * rt/timer_create.c: Likewise.
10470 * rt/timer_delete.c: Likewise.
10471 * rt/timer_getoverr.c: Likewise.
10472 * rt/timer_gettime.c: Likewise.
10473 * rt/timer_settime.c: Likewise.
10474 * setjmp/__longjmp.c: Likewise.
10475 * setjmp/setjmp.c: Likewise.
10476 * signal/kill.c: Likewise.
10477 * signal/killpg.c: Likewise.
10478 * signal/raise.c: Likewise.
10479 * signal/sigaction.c: Likewise.
10480 * signal/sigaltstack.c: Likewise.
10481 * signal/sigblock.c: Likewise.
10482 * signal/sigignore.c: Likewise.
10483 * signal/sigintr.c: Likewise.
10484 * signal/signal.c: Likewise.
10485 * signal/sigpause.c: Likewise.
10486 * signal/sigpending.c: Likewise.
10487 * signal/sigqueue.c: Likewise.
10488 * signal/sigreturn.c: Likewise.
10489 * signal/sigset.c: Likewise.
10490 * signal/sigsetmask.c: Likewise.
10491 * signal/sigstack.c: Likewise.
10492 * signal/sigsuspend.c: Likewise.
10493 * signal/sigtimedwait.c: Likewise.
10494 * signal/sigvec.c: Likewise.
10495 * signal/sigwait.c: Likewise.
10496 * signal/sigwaitinfo.c: Likewise.
10497 * signal/sysv_signal.c: Likewise.
10498 * socket/accept.c: Likewise.
10499 * socket/accept4.c: Likewise.
10500 * socket/bind.c: Likewise.
10501 * socket/connect.c: Likewise.
10502 * socket/getpeername.c: Likewise.
10503 * socket/getsockname.c: Likewise.
10504 * socket/getsockopt.c: Likewise.
10505 * socket/isfdtype.c: Likewise.
10506 * socket/listen.c: Likewise.
10507 * socket/recv.c: Likewise.
10508 * socket/recvfrom.c: Likewise.
10509 * socket/recvmsg.c: Likewise.
10510 * socket/send.c: Likewise.
10511 * socket/sendmsg.c: Likewise.
10512 * socket/sendto.c: Likewise.
10513 * socket/setsockopt.c: Likewise.
10514 * socket/shutdown.c: Likewise.
10515 * socket/sockatmark.c: Likewise.
10516 * socket/socket.c: Likewise.
10517 * socket/socketpair.c: Likewise.
10518 * stdio-common/ctermid.c: Likewise.
10519 * stdio-common/cuserid.c: Likewise.
10520 * stdio-common/remove.c: Likewise.
10521 * stdio-common/rename.c: Likewise.
10522 * stdio-common/renameat.c: Likewise.
10523 * stdio-common/tempname.c: Likewise.
10524 * stdlib/getcontext.c: Likewise.
10525 * stdlib/makecontext.c: Likewise.
10526 * stdlib/setcontext.c: Likewise.
10527 * stdlib/swapcontext.c: Likewise.
10528 * stdlib/system.c: Likewise.
10529 * streams/fattach.c: Likewise.
10530 * streams/fdetach.c: Likewise.
10531 * streams/getmsg.c: Likewise.
10532 * streams/getpmsg.c: Likewise.
10533 * streams/putmsg.c: Likewise.
10534 * streams/putpmsg.c: Likewise.
10535 * sysdeps/unix/bsd/getpt.c: Likewise.
10536 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10537 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10538 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10541 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10542 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10543 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10544 * sysvipc/msgctl.c: Likewise.
10545 * sysvipc/msgget.c: Likewise.
10546 * sysvipc/msgrcv.c: Likewise.
10547 * sysvipc/msgsnd.c: Likewise.
10548 * sysvipc/semctl.c: Likewise.
10549 * sysvipc/semget.c: Likewise.
10550 * sysvipc/semop.c: Likewise.
10551 * sysvipc/semtimedop.c: Likewise.
10552 * sysvipc/shmat.c: Likewise.
10553 * sysvipc/shmctl.c: Likewise.
10554 * sysvipc/shmdt.c: Likewise.
10555 * sysvipc/shmget.c: Likewise.
10556 * termios/tcdrain.c: Likewise.
10557 * termios/tcflow.c: Likewise.
10558 * termios/tcflush.c: Likewise.
10559 * termios/tcgetattr.c: Likewise.
10560 * termios/tcgetpgrp.c: Likewise.
10561 * termios/tcsendbrk.c: Likewise.
10562 * termios/tcsetattr.c: Likewise.
10563 * termios/tcsetpgrp.c: Likewise.
10564 * time/adjtime.c: Likewise.
10565 * time/clock.c: Likewise.
10566 * time/getitimer.c: Likewise.
10567 * time/gettimeofday.c: Likewise.
10568 * time/setitimer.c: Likewise.
10569 * time/settimeofday.c: Likewise.
10570 * time/stime.c: Likewise.
10571 * time/time.c: Likewise.
10573 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
10575 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10578 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10580 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10582 2012-11-03 Joseph Myers <joseph@codesourcery.com>
10585 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10586 FE_TONEAREST before applying Dekker multiplication and Knuth
10587 addition. Clear inexact exceptions and check for exact zero
10588 results afterwards.
10589 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10590 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10591 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10592 * math/libm-test.inc (fma_test): Add more tests.
10593 (fma_test_towardzero): Likewise.
10594 (fma_test_downward): Likewise.
10595 (fma_test_upward): Likewise.
10596 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10598 (libc_fesetround): New macro.
10599 (libc_fesetroundf): Likewise.
10600 (libc_fesetroundl): Likewise.
10601 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10603 (libc_fesetround_387): Likewise.
10604 (libc_fesetroundf): New macro.
10605 (libc_fesetround): Likewise.
10606 (libc_fesetroundl): Likewise.
10607 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10609 (libc_fesetroundf): New macro.
10610 (libc_fesetround): Likewise.
10611 (libc_fesetroundl): Likewise.
10612 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10613 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10614 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10616 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10617 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10619 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10620 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10622 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10626 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10627 integer constant usable in #if and use that to give value to enum
10629 (FE_DIVBYZERO): Likewise.
10630 (FE_UNDERFLOW): Likewise.
10631 (FE_OVERFLOW): Likewise.
10632 (FE_INVALID): Likewise.
10633 (FE_INVALID_SNAN): Likewise.
10634 (FE_INVALID_ISI): Likewise.
10635 (FE_INVALID_IDI): Likewise.
10636 (FE_INVALID_ZDZ): Likewise.
10637 (FE_INVALID_IMZ): Likewise.
10638 (FE_INVALID_COMPARE): Likewise.
10639 (FE_INVALID_SOFTWARE): Likewise.
10640 (FE_INVALID_SQRT): Likewise.
10641 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10642 (FE_TONEAREST): Likewise.
10643 (FE_TOWARDZERO): Likewise.
10644 (FE_UPWARD): Likewise.
10645 (FE_DOWNWARD): Likewise.
10646 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10647 (FE_DIVBYZERO): Likewise.
10648 (FE_OVERFLOW): Likewise.
10649 (FE_UNDERFLOW): Likewise.
10650 (FE_INEXACT): Likewise.
10651 (FE_TONEAREST): Likewise.
10652 (FE_DOWNWARD): Likewise.
10653 (FE_UPWARD): Likewise.
10654 (FE_TOWARDZERO): Likewise.
10655 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10656 (FE_UNDERFLOW): Likewise.
10657 (FE_OVERFLOW): Likewise.
10658 (FE_DIVBYZERO): Likewise.
10659 (FE_INVALID): Likewise.
10660 (FE_TONEAREST): Likewise.
10661 (FE_TOWARDZERO): Likewise.
10662 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10663 (FE_OVERFLOW): Likewise.
10664 (FE_UNDERFLOW): Likewise.
10665 (FE_DIVBYZERO): Likewise.
10666 (FE_INEXACT): Likewise.
10667 (FE_TONEAREST): Likewise.
10668 (FE_TOWARDZERO): Likewise.
10669 (FE_UPWARD): Likewise.
10670 (FE_DOWNWARD): Likewise.
10671 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10672 (FE_DIVBYZERO): Likewise.
10673 (FE_OVERFLOW): Likewise.
10674 (FE_UNDERFLOW): Likewise.
10675 (FE_INEXACT): Likewise.
10676 (FE_TONEAREST): Likewise.
10677 (FE_DOWNWARD): Likewise.
10678 (FE_UPWARD): Likewise.
10679 (FE_TOWARDZERO): Likewise.
10681 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10683 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10685 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10687 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10688 commands. Quote $PWD.
10689 (blacklist_exports): Don't use remove_newlines. Replace "declare
10691 (remove_newlines): Remove.
10693 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10695 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10696 * stdlib/stdlib.h (atof): Moved to ...
10697 * include/bits/stdlib-float.h: Here. New file.
10698 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10699 * stdlib/bits/stdlib-float.h: New file.
10700 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10702 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10705 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10707 * conform/conformtest.pl (@headers): Add fenv.h.
10708 * conform/data/fenv.h-data: New file.
10709 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10710 include of <math/fenv.h>.
10712 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10713 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10714 && !UNIX98]. Enables tests for XOPEN2K8.
10715 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10716 POSIX2008]: Likewise.
10718 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10719 (struct rusage): Do not expect type or its members.
10722 * math/math.h (FP_NAN): Define macro to integer constant usable in
10723 #if and use that to give value to enum constant.
10724 (FP_INFINITE): Likewise.
10725 (FP_ZERO): Likewise.
10726 (FP_SUBNORMAL): Likewise.
10727 (FP_NORMAL): Likewise.
10729 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10731 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10732 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10735 2012-11-02 Roland McGrath <roland@hack.frob.com>
10737 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10738 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10739 autoconf-time if not.
10740 * configure.in: Remove AC_PREREQ.
10742 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10744 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10745 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10746 of the internal implementation.
10748 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10750 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10751 except include of <misc/sys/syslog.h>.
10753 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10756 function returns with a NULL context exit with zero.
10758 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10760 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10762 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10764 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10765 (run_program_cmd): This.
10766 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10767 (tst_langinfo): New variable. Use it.
10769 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10771 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10772 floating point opcodes.
10774 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10776 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10779 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10781 * sysdeps/mach/hurd/powerpc: Remove directory.
10782 * sysdeps/mach/powerpc: Likewise.
10784 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10786 * scripts/check-local-headers.sh: Ignore c++ headers.
10788 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10790 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10791 __libc_cleanup_region_start argument.
10793 2012-11-01 Joseph Myers <joseph@codesourcery.com>
10797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10798 x * y using scaling, not as x * y + z.
10799 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10800 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10801 * math/libm-test.inc (fma_test): Add more tests.
10802 (fma_test_towardzero): Likewise.
10803 (fma_test_downward): Likewise.
10804 (fma_test_upward): Likewise.
10806 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10808 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10810 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10812 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10815 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10817 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10819 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10826 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10829 Fix the order of the list for glibc 2.17.
10830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10833 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10837 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10840 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10841 for low part of x being zero before using __atanl (y).
10842 * math/libm-test.inc (atan2_test): Add another test.
10844 * manual/install.texi (Configuring and compiling): Document
10845 general use of test-wrapper and test-wrapper-env.
10846 * INSTALL: Regenerated.
10848 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10849 (__fma): Do not extract and scale down low bits on after-rounding
10850 systems when result rounded to normal precision would have normal
10852 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10853 (__fmal): Do not extract and scale down low bits on after-rounding
10854 systems when result rounded to normal precision would have normal
10856 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10857 (__fmal): Do not extract and scale down low bits on after-rounding
10858 systems when result rounded to normal precision would have normal
10860 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10862 (fma_test): Add more tests.
10863 (fma_test_towardzero): Likewise.
10864 (fma_test_downward): Likewise.
10865 (fma_test_upward): Likewise.
10867 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10869 * sysdeps/i386/tininess.h: Renamed to ...
10870 * sysdeps/x86/tininess.h: This.
10871 * sysdeps/x86_64/tininess.h: Removed.
10873 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10875 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10876 input. Use $(build-program-cmd).
10877 ($(objpfx)tst-array1-static.out): Likewise.
10878 ($(objpfx)tst-array2.out): Likewise.
10879 ($(objpfx)tst-array3.out): Likewise.
10880 ($(objpfx)tst-array4.out): Likewise.
10881 ($(objpfx)tst-array5.out): Likewise.
10882 ($(objpfx)tst-array5-static.out): Likewise.
10884 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10886 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10889 * nss/nsswitch.h (nss_interface_function): Provide new
10890 macro for use with NSS functions.
10891 * grp/initgroups.c: Use new macro.
10892 * nss/getXXbyYY.c: Likewise.
10893 * nss/getXXbyYY_r.c: Likewise.
10894 * nss/getXXent.c: Likewise.
10895 * nss/getXXent_r.c: Likewise.
10896 * sysdeps/posix/getaddrinfo.c: Likewise.
10898 2012-10-30 Andreas Jaeger <aj@suse.de>
10900 * po/ru.po: Update Russion translation from translation project.
10902 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10906 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10907 result and shift together with sticky bit instead of replicating
10908 round-to-nearest rounding.
10909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10910 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10911 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10912 missing underflow exceptions.
10913 (fma_test_towardzero): Add more tests.
10914 (fma_test_downward): Likewise.
10915 (fma_test_upward): Likewise.
10918 * sysdeps/generic/tininess.h: New file.
10919 * sysdeps/i386/tininess.h: Likewise.
10920 * sysdeps/sh/tininess.h: Likewise.
10921 * sysdeps/x86_64/tininess.h: Likewise.
10922 * stdlib/tst-strtod-underflow.c: Likewise.
10923 * stdlib/tst-tininess.c: Likewise.
10924 * stdlib/strtod_l.c: Include <tininess.h>.
10925 (round_and_return): Do not set errno for exact underflow cases.
10926 Force an underflow exception when setting errno for underflow.
10927 Determine underflow based on rounding to normal precision if
10928 TININESS_AFTER_ROUNDING.
10929 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10930 ERANGE for exact underflow cases.
10931 * stdlib/Makefile (tests): Add tst-tininess and
10932 tst-strtod-underflow.
10933 ($(objpfx)tst-tininess): Use $(link-libm).
10934 ($(objpfx)tst-strtod-underflow): Likewise.
10936 2012-10-30 Andreas Jaeger <aj@suse.de>
10939 * elf/Makefile (tests): Remove conditional for have-initfini-array
10940 since this is now always required and the variable does not exist
10942 (tests-static): Likewise.
10943 (modules-names): Likewise.
10945 * po/eo.po: Add Esperanto translation from translation project.
10947 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10948 merged with constructor/destructor.
10949 (init_array): Likewise.
10950 * elf/tst-array2dep.c (fini_array): Likewise.
10951 (init_array): Likewise.
10953 2012-10-29 Mike Frysinger <vapier@gentoo.org>
10955 * manual/message.texi: Delete @cartouche tags.
10957 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10959 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10961 * sysdeps/mach/hurd/fsync.c: Likewise.
10963 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10964 [_POSIX_REALTIME_SIGNALS]: Change condition to
10965 [_POSIX_REALTIME_SIGNALS > 0].
10967 2012-10-27 Andreas Jaeger <aj@suse.de>
10969 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10970 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10972 [__WORDSIZE != 64]: Likewise.
10974 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10976 * iconvdata/tst-table.sh: Remove ${SHELL}.
10977 * iconvdata/tst-tables.sh: Likewise.
10979 2012-10-25 David S. Miller <davem@davemloft.net>
10981 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10982 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10985 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10987 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10988 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10989 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10992 2012-10-25 Roland McGrath <roland@hack.frob.com>
10994 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10995 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10998 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10999 Jim Blandy <jimb@codesourcery.com>
11001 * scripts/cross-test-ssh.sh: New file.
11002 * manual/install.texi (Configuring and compiling): Document use of
11004 * INSTALL: Regenerated.
11006 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11008 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11011 2012-10-25 Joseph Myers <joseph@codesourcery.com>
11013 * Makeconfig (run-program-prefix): Fix comment.
11015 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11016 Jim Blandy <jimb@codesourcery.com>
11018 * Makeconfig (test-wrapper): New variable,
11019 (test-wrapper-env): Likewise.
11020 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11021 (run-built-tests): Define to yes.
11022 (run-program-prefix): Use $(test-wrapper).
11023 (built-program-cmd): Likewise.
11024 * Rules (make-test-out): Use $(test-wrapper-env) and
11025 $(host-built-program-cmd).
11026 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11027 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11029 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11030 $(test-wrapper-env) to tst-rtld-load-self.sh.
11031 ($(objpfx)order2.out): Use $(test-wrapper).
11032 ($(objpfx)tst-initorder.out): Likewise.
11033 ($(objpfx)tst-initorder2.out): Likewise.
11034 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11035 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11036 (test_wrapper_env): New variable. Use it to run ld.so.
11037 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11038 Use it to run ld.so.
11039 (test_wrapper_env): Likewise.
11040 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11041 $(test-wrapper) to run-iconv-test.sh.
11042 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11043 (ICONV): Use $test_wrapper.
11044 * posix/Makefile ($(objpfx)globtest.out): Pass
11045 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11046 globtest.sh, not $(run-program-prefix).
11047 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11048 (test_wrapper): Likewise.
11049 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11050 set together with run_via_rtld_prefix.
11051 (run_program_prefix): Define in terms of test_wrapper and
11052 run_via_rtld_prefix.
11054 2012-10-24 Roland McGrath <roland@hack.frob.com>
11056 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11057 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11061 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11062 Declare __clock_getres, __clock_gettime, __clock_settime,
11063 __clock_nanosleep, and __clock_getcpuclockid.
11064 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11065 Remove librt_hidden_def (clock_gettime).
11066 * sysdeps/unix/clock_gettime.c: Likewise.
11067 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11068 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11069 * rt/clock_getres.c: Define __clock_getres as an alias.
11070 * sysdeps/posix/clock_getres.c: Likewise.
11071 * rt/clock_settime.c: Define __clock_settime as an alias.
11072 * sysdeps/unix/clock_settime.c: Likewise.
11073 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11074 * sysdeps/unix/clock_nanosleep.c: Likewise.
11075 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11076 * rt/clock-compat.c: New file.
11077 * rt/Makefile (librt-routines): Add clock-compat and move
11078 $(clock-routines) to ...
11079 (routines): ... here, new variable.
11080 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11081 Don't add get_clockfreq here.
11082 * rt/Versions (libc: GLIBC_2.17): New version set.
11083 Add clock_* symbols here.
11084 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11085 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11086 (GLIBC_2.17): Add clock_* symbols.
11087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11089 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11098 * NEWS: Mention the move.
11100 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11101 Use __open, __read, __close rather than their public counterparts.
11102 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11103 (__get_clockfreq_via_cpuinfo): Likewise.
11104 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11105 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11107 * config.h.in (HAVE_IFUNC): New #undef.
11108 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11110 * configure: Regenerated.
11112 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11114 * configure.in: Move READELF check to start of file.
11115 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11116 libc_cv_asm_gnu_indirect_function in the process.
11117 * configure: Regenerated.
11119 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11121 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11122 send the output to /dev/null.
11123 (libc_cv_cc_with_libunwind): Likewise.
11124 (libc_cv_as_noexecstack): Likewise.
11125 * configure: Regenerate.
11127 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11129 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11131 * posix/globtest.sh (TMPDIR): Do not set.
11132 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11133 (testout): Likewise.
11135 2012-10-24 Andreas Jaeger <aj@suse.de>
11137 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11138 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11139 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11140 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11141 posix_fadvise64, posix_fallocate64.
11143 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11144 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11145 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11147 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11149 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11151 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11152 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11153 <bits/fcntl-linux.h>.
11154 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11156 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11157 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11158 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11159 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11160 [__WORDSIZE != 64]: Likewise.
11162 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11164 * Makeconfig (run-built-tests): New variable.
11165 * Rules [$(cross-compiling) = yes]: Change condition to
11166 [$(run-built-tests) = no].
11167 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11168 to [$(run-built-tests) = yes].
11169 * elf/Makefile [$(cross-compiling) = no]: Likewise
11170 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11171 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11172 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11173 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11174 * io/Makefile [$(cross-compiling) = no]: Likewise.
11175 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11176 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11177 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11178 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11179 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11180 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11181 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11182 * string/Makefile [$(cross-compiling) = no]: Likewise.
11184 * posix/Makefile ($(objpfx)globtest.out): Pass
11185 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11186 $(rtld-installed-name).
11187 * posix/globtest.sh (elf_objpfx): Remove variable.
11188 (rtld_installed_name): Likewise.
11189 (library_path): Likewise.
11190 (run_program_prefix): New variable. Use for running globtest
11193 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11194 Joseph Myers <joseph@codesourcery.com>
11196 * Makeconfig (host-built-program-cmd): New variable.
11197 * elf/Makefile (tst-stackguard1-ARGS): Use
11198 $(host-built-program-cmd).
11199 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11200 (tst-spawn-ARGS): Likewise.
11201 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11203 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11204 Jim Blandy <jimb@codesourcery.com>
11206 * Makeconfig (run-via-rtld-prefix): New variable.
11207 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11208 (built-program-cmd): Likewise.
11210 2012-10-22 Andreas Jaeger <aj@suse.de>
11212 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11213 __O_RSYNC if it exists, otherwise to O_SYNC.
11215 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11216 Joseph Myers <joseph@codesourcery.com>
11218 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11220 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11222 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11225 2012-10-22 Andreas Jaeger <aj@suse.de>
11227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11231 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11232 bits/fcntl-linux.h.
11234 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11235 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11242 2012-10-21 Jim Blandy <jimb@codesourcery.com>
11243 Joseph Myers <joseph@codesourcery.com>
11245 * config.make.in (NM): New variable.
11247 2012-10-21 Andreas Jaeger <aj@suse.de>
11249 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11250 definitions and declarations that are provided by
11251 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11253 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11256 * elf/Makefile (tests-static): Add tst-leaks1-static.
11257 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11258 ($(objpfx)tst-leaks1-static): New rule.
11259 ($(objpfx)tst-leaks1-static-mem): Likewise.
11260 (tst-leaks1-static-ENV): New macro.
11261 * elf/dl-open.c (dl_open_worker): Check the main application
11262 only if SHARED is defined.
11263 * elf/tst-leaks1-static.c: New file.
11265 2012-10-20 Andreas Jaeger <aj@suse.de>
11267 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11268 generic values for Linux.
11269 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11270 and declarations that are provided by <bits/fcntl-linux.h> and
11271 include <bits/fcntl-linux.h>.
11272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11275 2012-10-20 Roland McGrath <roland@hack.frob.com>
11277 * io/fcntl.h: Move include of <bits/types.h> to the top and
11278 include it unconditionally.
11280 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11282 * wcsmbs/Makefile (tests-ifunc): New variable.
11283 (tests): Add $(tests-ifunc).
11284 * wcsmbs/test-wcschr-ifunc.c: New file.
11285 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11286 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11287 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11288 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11289 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11291 * string/Makefile (tests-ifunc): New variable.
11292 (tests): Add $(tests-ifunc).
11293 * string/test-memccpy.c (TEST_NAME): New macro.
11294 * string/test-memchr.c (TEST_NAME): Likewise.
11295 * string/test-memcmp.c (TEST_NAME): Likewise.
11296 * string/test-memcpy.c (TEST_NAME): Likewise.
11297 * string/test-memmem.c (TEST_NAME): Likewise.
11298 * string/test-memmove.c (TEST_NAME): Likewise.
11299 * string/test-memset.c (TEST_NAME): Likewise.
11300 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11301 * string/test-stpcpy.c (TEST_NAME): Likewise.
11302 * string/test-stpncpy.c (TEST_NAME): Likewise.
11303 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11304 * string/test-strcasestr.c (TEST_NAME): Likewise.
11305 * string/test-strcat.c (TEST_NAME): Likewise.
11306 * string/test-strchr.c (TEST_NAME): Likewise.
11307 * string/test-strcmp.c(TEST_NAME): Likewise.
11308 * string/test-strcpy.c (TEST_NAME): Likewise.
11309 * string/test-strcspn.c (TEST_NAME): Likewise.
11310 * string/test-strlen.c (TEST_NAME): Likewise.
11311 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11312 * string/test-strncmp.c (TEST_NAME): Likewise.
11313 * string/test-strncpy.c (TEST_NAME): Likewise.
11314 * string/test-strnlen.c (TEST_NAME): Likewise.
11315 * string/test-strpbrk.c (TEST_NAME): Likewise.
11316 * string/test-strrchr.c (TEST_NAME): Likewise.
11317 * string/test-strspn.c (TEST_NAME): Likewise.
11318 * string/test-strstr.c (TEST_NAME): Likewise.
11319 * string/test-bcopy-ifunc.c: New file.
11320 * string/test-bzero-ifunc.c: Likewise.
11321 * string/test-memccpy-ifunc.c: Likewise.
11322 * string/test-memchr-ifunc.c: Likewise.
11323 * string/test-memcmp-ifunc.c: Likewise.
11324 * string/test-memcpy-ifunc.c: Likewise.
11325 * string/test-memmem-ifunc.c: Likewise.
11326 * string/test-memmove-ifunc.c: Likewise.
11327 * string/test-mempcpy-ifunc.c: Likewise.
11328 * string/test-memset-ifunc.c: Likewise.
11329 * string/test-rawmemchr-ifunc.c: Likewise.
11330 * string/test-stpcpy-ifunc.c: Likewise.
11331 * string/test-stpncpy-ifunc.c: Likewise.
11332 * string/test-strcasecmp-ifunc.c: Likewise.
11333 * string/test-strcasestr-ifunc.c: Likewise.
11334 * string/test-strcat-ifunc.c: Likewise.
11335 * string/test-strchr-ifunc.c: Likewise.
11336 * string/test-strchrnul-ifunc.c: Likewise.
11337 * string/test-strcmp-ifunc.c: Likewise.
11338 * string/test-strcpy-ifunc.c: Likewise.
11339 * string/test-strcspn-ifunc.c: Likewise.
11340 * string/test-strlen-ifunc.c: Likewise.
11341 * string/test-strncasecmp-ifunc.c: Likewise.
11342 * string/test-strncat-ifunc.c: Likewise.
11343 * string/test-strncmp-ifunc.c: Likewise.
11344 * string/test-strncpy-ifunc.c: Likewise.
11345 * string/test-strnlen-ifunc.c: Likewise.
11346 * string/test-strpbrk-ifunc.c: Likewise.
11347 * string/test-strrchr-ifunc.c: Likewise.
11348 * string/test-strspn-ifunc.c: Likewise.
11349 * string/test-strstr-ifunc.c: Likewise.
11351 * debug/Makefile (tests-ifunc): New variable.
11352 (tests): Add $(tests-ifunc).
11353 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11354 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11355 * debug/test-stpcpy_chk-ifunc.c: New file.
11356 * debug/test-strcpy_chk-ifunc.c: Likewise.
11358 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11361 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11362 header is not read in.
11364 2012-10-19 Joseph Myers <joseph@codesourcery.com>
11366 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11367 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11368 directly. Pass built executable to script as
11369 $(built-program-cmd).
11370 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11371 $testprogram without using LD_LIBRARY_PATH and $ldso.
11373 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11374 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11375 $(rtld-installed-name).
11376 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11377 (rtld_installed_name): Likewise.
11378 (library_path): Likewise.
11379 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11380 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11381 $(run-program-prefix) to tst-tables.sh.
11382 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11383 it to run tst-table-from and tst-table-to.
11384 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11385 Pass it to tst-table.sh.
11386 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11387 $(run-program-prefix) to tst-gettext.sh.
11388 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11390 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11392 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11393 to run tst-gettext.
11394 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11395 to run tst-gettext2.
11396 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11397 to run tst-translit.
11398 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11399 $(run-program-prefix) to tst-mtrace.sh.
11400 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11402 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11403 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11404 $(rtld-installed-name).
11405 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11406 (rtld_installed_name): Likewise.
11407 (run_program_prefix): New variable. Use it to run wordexp-test.
11409 * Makeconfig (ARCH): Remove all definitions.
11410 (machine): Likewise.
11411 [ARCH]: Remove conditional code.
11412 [!objdir]: Give error.
11413 [!objdir] (objpfx): Remove.
11414 [!objdir] (common-objpfx): Likewise.
11415 [!objdir] (common-objdir): Likewise.
11416 * configure.in (config_makefile): Remove. Hardcode Makefile in
11417 AC_CONFIG_FILES call.
11418 * configure: Regenerated.
11421 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11423 (testout): Likewise.
11425 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11426 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11427 $(rtld-installed-name).
11428 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11429 (rtld_installed_name): Likwise.
11430 (runit): Remove function.
11431 (run_getconf): New variable, Use it for running getconf binary.
11433 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11436 * string/test-memmem.c (check_result): New function.
11437 (do_one_test): Use it.
11438 (check1): New function.
11439 (test_main): Use it.
11441 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11443 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11445 2012-10-18 Joseph Myers <joseph@codesourcery.com>
11447 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11448 (_G_LSEEK64): Likewise.
11449 (_G_MMAP64): Likewise.
11450 (_G_FSTAT64): Likewise.
11451 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11452 (_G_LSEEK64): Likewise.
11453 (_G_MMAP64): Likewise.
11454 (_G_FSTAT64): Likewise.
11455 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11456 unconditional. Call __mmap64 directly.
11457 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11458 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11459 __lseek64 directly.
11460 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11461 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11463 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11464 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11465 __lseek64 directly.
11466 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11467 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11468 __lseek64 directly.
11469 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11470 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11471 __lseek64 directly.
11472 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11473 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11474 __fxstat64 directly.
11475 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11476 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11478 (freopen64) [!_G_OPEN64]: Remove conditional code.
11479 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11481 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11482 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11484 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11485 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11487 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11488 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11490 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11491 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11493 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11494 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11496 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11497 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11499 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11501 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11504 * manual/memory.texi (Malloc Tunable Parameters): Add note
11505 about free list pointers overwriting some perturb bytes.
11506 Wording suggested by Roland McGrath.
11508 2012-10-17 Joseph Myers <joseph@codesourcery.com>
11510 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11511 (lgamma_test): Likewise.
11512 (tgamma_test): Likewise.
11514 2012-10-16 Florian Weimer <fweimer@redhat.com>
11517 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11518 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11520 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11522 * NEWS: Mention BZ #14716.
11523 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11524 when removing AVAILABLE1_USES_J macro.
11526 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11528 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11529 (__bswap_64): __uint64_t for unsigned 64-bit int.
11531 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11533 * include/string.h (memmem): Declare libc hidden alias.
11534 * string/memmem.c (memmem): Define libc hidden alias.
11535 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11536 __read, __close instead of open, read, close.
11538 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11540 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11541 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11543 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11544 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11545 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11547 (__rawmemchr_sse2): Likewise.
11548 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11549 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11550 (__strchr_sse2): Likewise.
11551 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11552 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11553 (__strcasecmp_sse2): Likewise.
11554 (__strncasecmp_sse2): Likewise.
11555 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11556 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11557 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11558 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11559 (__strrchr_sse2): Likewise.
11560 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11562 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11563 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11564 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11565 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11566 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11567 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11568 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11569 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11570 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11571 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11572 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11573 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11574 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11575 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11576 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11577 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11578 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11579 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11580 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11581 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11582 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11583 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11584 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11585 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11586 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11587 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11588 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11589 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11590 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11591 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11593 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11595 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11596 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11597 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11598 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11600 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11602 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11603 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11604 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11605 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11607 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11608 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11609 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11610 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11611 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11612 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11613 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11614 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11615 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11616 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11617 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11618 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11619 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11620 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11621 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11622 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11623 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11624 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11625 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11626 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11627 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11628 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11629 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11630 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11631 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11632 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11633 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11634 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11635 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11636 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11637 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11638 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11639 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11640 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11641 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11642 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11643 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11644 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11645 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11646 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11647 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11649 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11650 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11651 * include/ifunc-impl-list.h: New file.
11652 * misc/ifunc-impl-list.c: Likewise.
11653 * misc/Makefile (routines): Add ifunc-impl-list.
11654 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11655 * string/test-string.h: Include <ifunc-impl-list.h>.
11656 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11657 impl_array): New variables.
11658 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11660 (test_init): Call __libc_ifunc_impl_list to initialize
11661 func_list if TEST_IFUNC and TEST_NAME are defined.
11663 * string/Makefile (strop-tests): Add bcopy and bzero.
11664 * string/test-bcopy.c: New file.
11665 * string/test-bzero.c: Likewise.
11666 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11668 * string/test-memset.c: Support bzero test if TEST_BZERO is
11670 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11672 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11674 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11677 2012-10-10 Joseph Myers <joseph@codesourcery.com>
11679 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11680 * configure: Regenerated.
11682 * Makeconfig (+link-static-before-libc): Don't include
11683 $(link-static-libc).
11685 * libio/libio.h (_IO_pos_t): Remove.
11687 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11689 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11692 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11694 * crypt/crypt-entry.c: Include fips-private.h.
11695 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11696 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11697 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11698 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11700 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11702 * crypt/crypt-private.h: Include stdbool.h.
11703 (_ufc_setup_salt_r): Return bool.
11704 * crypt/crypt-entry.c: Include errno.h.
11705 (__crypt_r): Return NULL with EINVAL for bad salt.
11706 * crypt/crypt_util.c (bad_for_salt): New.
11707 (_ufc_setup_salt_r): Check that salt is long enough and within
11708 the specified alphabet.
11709 * crypt/badsalttest.c: New file.
11710 * crypt/Makefile (tests): Add it.
11711 ($(objpfx)badsalttest): New.
11713 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11715 * NEWS: Add entry for BZ #14602.
11717 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11719 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11721 * math/libm-test.inc: Update comment listing what functions and
11723 (isgreater_test): New function.
11724 (isgreaterequal_test): Likewise.
11725 (isless_test): Likewise.
11726 (islessequal_test): Likewise.
11727 (islessgreater_test): Likewise.
11728 (isunordered_test): Likewise.
11729 (main): Call the new functions.
11731 2012-10-09 Roland McGrath <roland@hack.frob.com>
11733 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11734 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11735 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11736 * sysdeps/i386/configure: Regenerated.
11737 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11738 * sysdeps/mach/configure: Regenerated.
11739 * sysdeps/mach/hurd/configure: Regenerated.
11740 * sysdeps/powerpc/configure: Regenerated.
11741 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11742 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11743 * sysdeps/s390/s390-32/configure: Regenerated.
11744 * sysdeps/s390/s390-64/configure: Regenerated.
11745 * sysdeps/sh/configure: Regenerated.
11746 * sysdeps/sparc/configure: Regenerated.
11747 * sysdeps/unix/sysv/linux/configure: Regenerated.
11748 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11749 * sysdeps/x86_64/configure: Regenerated.
11751 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11752 defined. Don't check if MAP is NULL.
11754 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11756 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11757 (_G_stat64): Likewise.
11758 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11759 (_G_stat64): Likewise.
11760 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11761 instead of struct _G_stat64.
11762 * libio/fileops.c (mmap_remap_check): Likewise.
11763 (decide_maybe_mmap): Likewise.
11764 (_IO_new_file_seekoff): Likewise.
11765 (_IO_file_stat): Likewise.
11766 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11768 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11769 instead of struct _G_stat64.
11770 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11772 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11775 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11777 (CHECK_EOL): New macro.
11778 (two_way_short_needle): Check beginning of haystack for EOL. Use
11780 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11781 Replace with CHECK_EOL.
11782 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11783 Replace with CHECK_EOL.
11785 2012-10-08 Joseph Myers <joseph@codesourcery.com>
11787 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11789 * math/libm-test.inc: Update comment listing what functions and
11791 (finite_test): New function.
11792 (isinf_test): Likewise.
11793 (isnan_test): Likewise.
11794 (fpclassify_test): Test subnormal input.
11795 (isfinite_test): Likewise.
11796 (isnormal_test): Likewise.
11797 (main): Call the new functions.
11799 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11802 * Makerules (%.dynsym): Force C locale when running
11803 $(OBJDUMP) --dynamic-syms.
11805 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11807 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11810 2012-10-06 David S. Miller <davem@davemloft.net>
11812 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11813 upper 32-bits of the length value in %o2 since we use branch-on-register
11814 tests which consider the entire 64-bit register.
11816 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11818 * string/test-strstr.c (check2): Add a test for page boundary.
11820 2012-10-05 David S. Miller <davem@davemloft.net>
11822 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11823 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11825 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11827 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11828 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11829 and bzero when HWCAP_SPARC_CRYPTO is present.
11831 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11834 * string/test-strstr.c (check2): New function.
11835 (test_main): Call check2.
11837 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11839 * string/bug-strcasestr1.c (do_test): Moved to ...
11840 * string/test-strcasestr.c (check1): Here. New function.
11841 (do_one_test): Break out result checking code into ...
11842 (check_result): This. New function.
11843 (do_one_test): Call check_result.
11844 (test_main): Call check1.
11845 * string/bug-strchr1.c (do_test): Moved to ...
11846 * string/test-strchr.c (check1): Here. New function.
11847 (do_one_test): Break out result checking code into ...
11848 (check_result): This. New function.
11849 (do_one_test): Call check_result.
11850 (test_main): Call check1.
11851 * string/bug-strstr1.c (main): Moved to ...
11852 * string/test-strstr.c (check1): Here. New function.
11853 (do_one_test): Break out result checking code into ...
11854 (check_result): This. New function.
11855 (do_one_test): Call check_result.
11856 (test_main): Call check1.
11857 * string/bug-strcasestr1.c: Removed.
11858 * string/bug-strchr1.c: Likewise.
11859 * string/bug-strstr1.c: Likewise.
11861 * elf/Makefile (dl-routines): Add hwcaps.
11862 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11863 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11864 (_dl_important_hwcaps): Moved to ...
11865 * elf/dl-hwcaps.c: Here. New file.
11866 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11869 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11870 if IS_IN_rtld isn't defined.
11872 * elf/dl-support.c (_dl_sysinfo_map): New.
11873 Include "get-dynamic-info.h" and "setup-vdso.h".
11874 (_dl_non_dynamic_init): Call setup_vdso.
11875 * elf/dynamic-link.h: Don't include <assert.h>.
11876 (elf_get_dynamic_info): Moved to ...
11877 * elf/get-dynamic-info.h: Here. New file.
11878 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11879 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11880 * elf/setup-vdso.h: Here. New file.
11881 * elf/rtld.c: Include "setup-vdso.h".
11882 (dl_main): Call setup_vdso.
11884 2012-10-05 Joseph Myers <joseph@codesourcery.com>
11886 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11887 creal in comment listing functions tested. List finite, isinf,
11888 isnan, isless, islessequal, isgreater, isgreaterequal,
11889 islessgreater, isunordered, lgamma_r and pow10 as functions and
11890 macros not tested. Mention which functions not tested are aliases
11891 for other functions. Fix typo. Note that signs of NaNs are not
11894 * scripts/config.guess: Update from config.git.
11895 * scripts/config.sub: Likewise.
11897 2012-10-04 Roland McGrath <roland@hack.frob.com>
11899 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11900 * misc/madvise.c (madvise): Renamed to __madvise.
11901 Make madvise a weak alias.
11902 * include/sys/mman.h: Declare __madvise.
11903 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11904 * sysdeps/unix/syscalls.list
11905 (madvise): Make __madvise the strong name, and madvise a weak alias.
11906 * sysdeps/unix/sysv/linux/syscalls.list
11907 (madvise, mmap): Remove redundant entries.
11908 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11909 * malloc/malloc.c (mtrim): Likewise.
11910 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11912 2012-10-03 Roland McGrath <roland@hack.frob.com>
11914 * sysdeps/mach/hurd/dl-cache.c: File removed.
11915 * config.h.in (USE_LDCONFIG): New #undef.
11916 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11917 * configure: Regenerated.
11918 * elf/Makefile (dl-routines): Add dl-cache only under
11919 [$(use-ldconfig) = yes].
11920 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11921 cache on [USE_LDCONFIG].
11922 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11924 * elf/rtld.c (dl_main): Likewise.
11926 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11928 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11929 _SC_LEVEL4_CACHE_LINESIZE.
11931 2012-10-03 Roland McGrath <roland@hack.frob.com>
11933 * sysdeps/unix/bsd/confstr.h: File removed.
11935 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
11937 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11940 2012-10-02 Roland McGrath <roland@hack.frob.com>
11942 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11943 Make 'mapoff' field ElfW(Off) rather than off_t.
11945 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11947 * nscd/Makefile: Remove nscd-cflags and all its users.
11948 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11949 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11952 * malloc.c (malloc_printerr): Clarify error message.
11954 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11958 Set bit_FMA_Usable if FMA is supported.
11959 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11961 (bit_FMA4_Usable): Updated.
11962 (index_FMA_Usable): New macro.
11963 (CPUID_FMA): Likewise
11964 (HAS_FMA): Defined with bit_FMA_Usable.
11966 2012-10-01 Roland McGrath <roland@hack.frob.com>
11968 * bits/types.h (__swblk_t): Type removed.
11969 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11970 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11971 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11972 (__SWBLK_T_TYPE): Likewise.
11973 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11974 (__SWBLK_T_TYPE): Likewise.
11975 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11976 (__SWBLK_T_TYPE): Likewise.
11977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11978 (__SWBLK_T_TYPE): Likewise.
11980 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
11981 Honza Horak <hhorak@redhat.com>
11983 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11984 (xdr_mapname): Use YPMAXMAP as maxsize.
11985 (xdr_peername): Use YPMAXPEER as maxsize.
11986 (xdr_keydat): Use YPAXRECORD as maxsize.
11987 (xdr_valdat): Use YPMAXRECORD as maxsize.
11989 2012-10-01 Roland McGrath <roland@hack.frob.com>
11991 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11993 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11994 * csu/init-first.c: ... here.
11995 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11996 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11997 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11998 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11999 * sysdeps/i386/init-first.c: File removed.
12000 * sysdeps/sh/init-first.c: File removed.
12002 2012-10-01 Joseph Myers <joseph@codesourcery.com>
12005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12006 if x * y might underflow to zero and z is zero.
12007 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12008 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12009 * math/libm-test.inc (min_subnorm_value): New variable.
12010 (fma_test): Add more tests.
12011 (fma_test_towardzero): Likewise.
12012 (fma_test_downward): Likewise
12013 (fma_test_upward): Likewise.
12014 (initialize): Set min_subnorm_value.
12016 2012-09-29 Joseph Myers <joseph@codesourcery.com>
12019 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12021 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12022 mode for addition resulting in exact zero.
12023 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12024 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12026 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12027 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12028 * math/libm-test.inc (fma_test): Add more tests.
12029 (fma_test_towardzero): New function.
12030 (fma_test_downward): Likewise.
12031 (fma_test_upward): Likewise.
12032 (main): Call the new functions.
12034 2012-09-28 David S. Miller <davem@davemloft.net>
12036 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12038 2012-09-28 Roland McGrath <roland@hack.frob.com>
12040 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12041 instead of SIGALRM.
12043 * sysdeps/gnu/_G_config.h: Moved to ...
12044 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12045 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12046 * sysdeps/generic/_G_config.h: ... here.
12048 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12050 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12052 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12053 Conditionalize target on [libnss_test1.so-version].
12055 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12057 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12058 (elfobjdir): Move out of conditionals.
12060 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12061 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12062 (__nss_lookup_function): Conditionalize label remove_from_tree on
12063 [!DO_STATIC_NSS || SHARED], matching its only use.
12065 2012-09-28 David S. Miller <davem@davemloft.net>
12067 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12068 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12070 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12072 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12074 when HWCAP_SPARC_CRYPTO is present.
12076 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12078 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12080 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12083 * stdio-common/vfprintf.c (process_string_arg): Revert
12086 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12088 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12090 * stdio-common/tst-sprintf.c: Include <locale.h>
12091 (main): Test sprintf's handling of incomplete multibyte
12094 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12096 * elf/dl-runtime.c (VERSYMIDX): Removed.
12097 * elf/dl-version.c (VERSYMIDX): Likewise.
12098 * elf/do-rel.h (VERSYMIDX): Likewise.
12099 (VALIDX): Likewise.
12100 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12101 * elf/rtld.c (VALIDX): Likewise.
12102 (ADDRIDX): Likewise.
12103 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12104 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12105 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12106 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12107 (VALIDX): Likewise.
12108 (ADDRIDX): Likewise.
12110 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12112 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12114 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12117 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12119 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12120 addresses are in the same scope as 192.0.2/24.
12121 * posix/gai.conf: Document new scope table defaults.
12123 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12126 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12127 for ftell. Compute offsets from write pointers instead.
12128 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12130 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12133 * libio/Makefile (tests): New test case tst-fseek.
12134 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12135 combination works in wide mode.
12136 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12137 state when the external buffer state changes.
12139 2012-09-27 David S. Miller <davem@davemloft.net>
12142 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12143 pass reloc->r_addend in as the 'high' argument to
12144 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12148 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12150 * rt/tst-aio2.c: Include <pthread.h>.
12151 * rt/tst-aio3.c: Likewise.
12153 2012-09-27 Steve Ellcey <sellcey@mips.com>
12155 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12157 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12159 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12160 contents on [SHARED].
12162 2012-09-26 Marek Polacek <polacek@redhat.com>
12166 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12167 for C++ and GCC <4.3 as well as for non GCC compilers.
12169 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12173 2012-09-25 Roland McGrath <roland@hack.frob.com>
12175 * Makefile.in (all, install): Declare with .PHONY.
12176 Reported by Michael Hope <michael.hope@linaro.org>.
12178 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12180 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12181 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12183 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12185 (sydep_routines): Add the new and the internal functions.
12186 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12187 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12189 (GLIBC_2.17): Add the new function.
12190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12191 (GLIBC_2.17): Likewise.
12192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12193 (GLIBC_2.17): Likewise.
12194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12195 (GLIBC_2.17): Likewise.
12196 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12198 2012-09-25 Alan Modra <amodra@gmail.com>
12200 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12201 Add release barrier before setting once_control to say
12202 initialisation is done. Add hints on lwarx. Use macro in
12204 (clear_once_control): Add release barrier.
12206 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12209 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12211 * math/s_clog10.c (__clog10): Likewise.
12212 * math/s_clog10f.c (__clog10f): Likewise.
12213 * math/s_clog10l.c (__clog10l): Likewise.
12214 * math/s_clogf.c (__clogf): Likewise.
12215 * math/s_clogl.c (__clogl): Likewise.
12216 * math/Makefile (libm-calls): Add x2y2m1.
12217 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12218 (__x2y2m1): Likewise.
12219 (__x2y2m1l): Likewise.
12220 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12221 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12222 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12223 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12224 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12225 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12226 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12227 * sysdeps/i386/fpu/libm-test-ulps: Update.
12228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12231 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12232 int as type of variable DEPTH.
12233 (glob): Use size_t instead of int as type of variables NEWCOUNT
12236 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12238 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12239 Add s_sincosf-sse2.
12240 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12241 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12242 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12243 macros for using routine as __sincosf_ia32.
12244 Use macro for function declaration and weak_alias.
12245 * sysdeps/i386/fpu/libm-test-ulps: Update.
12247 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12248 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12250 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12251 subnormal argument.
12252 * math/s_cexpf.c (__cexpf): Likewise.
12253 * math/s_csinf.c (__csinf): Likewise.
12254 * math/s_csinhf.c (__csinhf): Likewise.
12255 * math/s_ctanf.c (__ctanf): Likewise.
12256 * math/s_ctanhf.c (__ctanhf): Likewise.
12257 * math/s_ccosh.c (__ccoshf): Likewise.
12258 * math/s_cexp.c (__cexpl): Likewise.
12259 * math/s_csin.c (__csin): Likewise.
12260 * math/s_csinh.c (__csinh): Likewise.
12261 * math/s_ctan.c (__ctan): Likewise.
12262 * math/s_ctanh.c (ctanh): Likewise.
12263 * math/s_ccoshl.c (__ccoshl): Likewise.
12264 * math/s_cexpl.c (__cexpl): Likewise.
12265 * math/s_csinl.c (__csinl): Likewise.
12266 * math/s_csinhl.c (__csinhl): Likewise.
12267 * math/s_ctanl.c (__ctanl): Likewise.
12268 * math/s_ctanhl.c (__ctanhl): Likewise.
12270 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12272 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12273 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12274 (_IO_off_t): Define to __off_t, not _G_off_t.
12275 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12276 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12277 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12278 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12279 type of __dummy and __dummy2 fields.
12280 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12281 (_G_ssize_t): Likewise.
12282 (_G_off_t): Likewise.
12283 (_G_pid_t): Likewise.
12284 (_G_uid_t): Likewise.
12285 (_G_wchar_t): Likewise.
12286 (_G_wint_t): Likewise.
12287 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12288 (_G_ssize_t): Likewise.
12289 (_G_off_t): Likewise.
12290 (_G_pid_t): Likewise.
12291 (_G_uid_t): Likewise.
12292 (_G_wchar_t): Likewise.
12293 (_G_wint_t): Likewise.
12294 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12295 (_G_ssize_t): Likewise.
12296 (_G_off_t): Likewise.
12297 (_G_pid_t): Likewise.
12298 (_G_uid_t): Likewise.
12299 (_G_wchar_t): Likewise.
12300 (_G_wint_t): Likewise.
12302 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12304 * malloc/arena.c: Include malloc-sysdep.h.
12305 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12306 is sufficient to shrink the heap or an unmap is needed.
12307 * sysdeps/generic/malloc-sysdep.h: New file. Define
12308 new function check_may_shrink_heap.
12309 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12310 new function check_may_shrink_heap.
12312 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12314 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12317 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12319 * catgets/test-gencat.sh: Add "set -e".
12320 * elf/tst-pathopt.sh: Likewise.
12321 * grp/tst_fgetgrent.sh: Likewise.
12322 * iconvdata/run-iconv-test.sh: Likewise.
12323 * intl/tst-gettext.sh: Likewise.
12324 * intl/tst-gettext2.sh: Likewise.
12325 * intl/tst-gettext4.sh: Likewise.
12326 * intl/tst-gettext6.sh: Likewise.
12327 * intl/tst-translit.sh: Likewise.
12328 * io/ftwtest-sh: Likewise.
12329 * libio/test-freopen.sh: Likewise.
12330 * malloc/tst-mtrace.sh: Likewise.
12331 * posix/globtest.sh: Likewise.
12332 * posix/tst-getconf.sh: Likewise.
12333 * posix/wordexp-tst.sh: Likewise.
12334 * stdio-common/tst-printf.sh: Likewise.
12335 * stdio-common/tst-unbputc.sh: Likewise.
12336 * stdlib/tst-fmtmsg.sh: Likewise.
12337 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12338 * catgets/Makefile: Do not specify -e option when running
12339 testsuite shell scripts.
12340 * elf/Makefile: Likewise.
12341 * grp/Makefile: Likewise.
12342 * iconvdata/Makefile: Likewise.
12343 * intl/Makefile: Likewise.
12344 * io/Makefile: Likewise.
12345 * libio/Makefile: Likewise.
12346 * malloc/Makefile: Likewise.
12347 * posix/Makefile: Likewise.
12348 * stdio-common/Makefile: Likewise.
12349 * stdlib/Makefile: Likewise.
12350 * sysdeps/x86_64/Makefile: Likewise.
12352 * io/ftwtest-sh: Add copyright header.
12353 * posix/globtest.sh: Likewise.
12354 * posix/tst-getconf.sh: Likewise.
12355 * posix/wordexp-tst.sh: Likewise.
12356 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12358 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12361 * Makeconfig (+link): Defined as $(+link-static) if
12362 $(build-shared) isn't yes.
12363 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12365 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12367 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12370 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12371 new chunk size with MALLOC_ALIGN_MASK.
12373 2012-09-24 Joseph Myers <joseph@codesourcery.com>
12376 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12378 (__printf_fphex): Determine rounding using get_rounding_mode and
12380 * stdio-common/tst-printf-round.c (struct hex_test): New
12382 (hex_tests): New variable.
12383 (test_hex_in_one_mode): New function.
12384 (do_test): Also run tests for hex float output.
12386 2012-09-21 Joseph Myers <joseph@codesourcery.com>
12388 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12389 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12390 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12391 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12392 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12393 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12394 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12395 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12397 2012-09-20 Joseph Myers <joseph@codesourcery.com>
12399 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12400 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12401 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12402 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12404 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12407 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12409 * elf/tst-rtld-load-self.sh: New test.
12410 * elf/Makefile: Run it.
12412 2012-09-18 Joseph Myers <joseph@codesourcery.com>
12414 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12415 (tst-writev-ENV): Remove.
12416 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12418 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12420 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12422 2012-09-17 Joseph Myers <joseph@codesourcery.com>
12424 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12426 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12428 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12429 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12430 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12433 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12436 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12437 * config.make.in (have-cpp-asm-debuginfo): Removed.
12438 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12439 * configure: Regenerated.
12441 2012-09-14 Joseph Myers <joseph@codesourcery.com>
12444 * stdio-common/printf_fp.c: Include <stdbool.h> and
12446 (___printf_fp): Determine rounding using get_rounding_mode and
12448 * stdio-common/tst-printf-round.c: New file.
12449 * stdio-common/Makefile (tests): Add tst-printf-round.
12450 (link-libm): New variable.
12451 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12453 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12456 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12457 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12459 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12462 2012-09-13 Joseph Myers <joseph@codesourcery.com>
12464 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12465 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12466 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12467 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12469 2012-09-12 Joseph Myers <joseph@codesourcery.com>
12472 * include/rounding-mode.h: New file.
12473 * sysdeps/generic/get-rounding-mode.h: Likewise.
12474 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12475 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12476 (MAX_VALUE): New macro.
12477 (MIN_VALUE): Likewise.
12478 (overflow_value): New function.
12479 (underflow_value): Likewise.
12480 (round_and_return): Use overflow_value and underflow_value to
12481 determine return values in overflow and underflow cases. Use
12482 round_away to determine rounding depending on rounding mode.
12483 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12484 determine return values in overflow and underflow cases.
12485 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12486 (struct test_results): New structure.
12487 (struct test): Use struct test_results to store expected results
12488 for all rounding modes.
12489 (TEST): Include expected results for all rounding modes.
12490 (test_in_one_mode): New function.
12491 (do_test): Use test_in_one_mode to compute and check results.
12492 Check results for all rounding modes.
12493 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12496 2012-12-09 Allan McRae <allan@archlinux.org>
12498 * sysdeps/i386/fpu/libm-test-ulps: Update
12500 2012-09-11 Joseph Myers <joseph@codesourcery.com>
12502 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12503 (_G_int32_t): Likewise.
12504 (_G_uint16_t): Likewise.
12505 (_G_uint32_t): Likewise.
12506 (_G_HAVE_BOOL): Likewise.
12507 (_G_HAVE_ATEXIT): Likewise.
12508 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12509 (_G_HAVE_IO_FILE_OPEN): Likewise.
12510 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12511 (_G_int32_t): Likewise.
12512 (_G_uint16_t): Likewise.
12513 (_G_uint32_t): Likewise.
12514 (_G_HAVE_BOOL): Likewise.
12515 (_G_HAVE_ATEXIT): Likewise.
12516 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12517 (_G_HAVE_IO_FILE_OPEN): Likewise.
12518 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12519 (_G_int32_t): Likewise.
12520 (_G_uint16_t): Likewise.
12521 (_G_uint32_t): Likewise.
12522 (_G_HAVE_BOOL): Likewise.
12523 (_G_HAVE_ATEXIT): Likewise.
12524 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12525 (_G_HAVE_IO_FILE_OPEN): Likewise.
12527 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12529 * csu/libc-tls.c: Update copyright years.
12531 2012-09-10 Joseph Myers <joseph@codesourcery.com>
12533 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12534 [!_G_USING_THUNKS]: Remove conditional code.
12535 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12536 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12538 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12539 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12540 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12541 (_G_VTABLE_LABEL_PREFIX): Likewise.
12542 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12543 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12544 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12545 (_G_VTABLE_LABEL_PREFIX): Likewise.
12546 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12547 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12548 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12549 (_G_VTABLE_LABEL_PREFIX): Likewise.
12550 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12552 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12554 * libio/Makefile: Include ../Makeconfig before tests.
12555 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12556 only if $(build-shared) is yes.
12558 * iconv/gconv_db.c: Update copyright years.
12560 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12562 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12563 unwind info if defined PIC. Fix special cases description.
12564 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12566 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12568 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12570 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12572 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12574 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12577 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12578 (LDLIBS-tst-chk4): This.
12579 (LDFLAGS-tst-chk5): Renamed to ...
12580 (LDLIBS-tst-chk5): This.
12581 (LDFLAGS-tst-chk6): Renamed to ...
12582 (LDLIBS-tst-chk6): This.
12583 (LDFLAGS-tst-lfschk4): Renamed to ...
12584 (LDLIBS-tst-lfschk4): This.
12585 (LDFLAGS-tst-lfschk5): Renamed to ...
12586 (LDLIBS-tst-lfschk5): This.
12587 (LDFLAGS-tst-lfschk6): Renamed to ...
12588 (LDLIBS-tst-lfschk6): This.
12590 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12591 on $(common-objpfx)soversions.mk.
12593 2012-09-07 Joseph Myers <joseph@codesourcery.com>
12596 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12599 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12601 * malloc/arena.c (arena_get_retry): New function that gets
12602 another arena for the caller to try its request on.
12603 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12604 current arena cannot fulfill the request.
12605 (__libc_memalign): Likewise.
12606 (__libc_memalign): Likewise.
12607 (__libc_pvalloc): Likewise.
12608 (__libc_calloc): Likewise.
12610 2012-09-05 John Tobey <john.tobey@gmail.com>
12613 * manual/arith.texi (Operations on Complex): Fix description
12614 of carg branch cut.
12616 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12619 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12623 * manual/memory.texi (Memory): Make order of menu items match
12626 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12628 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12629 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12630 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12632 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12634 * csu/libc-tls.c (static_dtv): Renamed to ...
12635 (_dl_static_dtv): This. Make it global.
12636 (_dl_initial_dtv): Removed.
12637 (__libc_setup_tls): Updated.
12638 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12639 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12642 2012-09-06 Petr Machata <pmachata@redhat.com>
12644 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12645 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12646 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12647 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12649 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12652 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12653 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12656 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12659 * Makeconfig (link-static-before-libc): Replace $(+prector)
12661 (link-static-after-libc): Replace $(+postctor) with
12663 (link-bounded): Replace $(+prector)/$(+postctor) with
12664 $(+prectorT)/$(+postctorT).
12665 (+prectorT): New macro.
12666 (+postctorT): Likewise.
12668 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12670 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12671 (round_str): Handle values above the maximum for IBM long double
12673 * stdlib/tst-strtod-round.c (tests): Regenerated.
12675 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12677 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12679 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12680 zarch_nohighgprs around the zarch optimized routines.
12681 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12682 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12683 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12686 2012-09-05 David S. Miller <davem@davemloft.net>
12688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12690 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12691 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12692 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12693 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12696 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12698 * malloc/arena.c: Fold copyright years.
12699 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12701 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12703 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12705 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12707 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12709 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12711 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12712 change internal state upon failure.
12714 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12716 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12717 * malloc/memusage.c (mmap): Likewise.
12718 (mmap64, mremap): Likewise. Adjust name in comment.
12720 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12722 * libio/fileops.c: Fix typos in comments.
12723 * libio/oldfileops.c: Likewise.
12724 * libio/wfileops.c: Likewise.
12726 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12729 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12730 (tst-malloc-usable-ENV): Set environment for test case.
12731 * malloc/hooks.c (malloc_check_get_size): New function to get
12733 * malloc/malloc.c (musable): Use malloc_check_get_size.
12734 * malloc/tst-malloc-usable.c: New test case.
12736 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12738 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12740 2012-09-05 Allan McRae <allan@archlinux.org>
12743 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12744 determine header location.
12745 * configure: Regenerated.
12747 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12749 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12751 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12752 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12754 (test): Regenerate.
12756 2012-09-04 David S. Miller <davem@davemloft.net>
12758 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12759 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12760 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12762 2012-09-04 Florian Weimer <fweimer@redhat.com>
12764 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12767 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12769 2012-09-04 Joseph Myers <joseph@codesourcery.com>
12772 * libio/iogetdelim.c: Include <limits.h>.
12773 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12774 + len + 1 would overflow.
12776 2012-09-03 Andreas Jaeger <aj@suse.de>
12778 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12779 * sysdeps/i386/fpu/libm-test-ulps: Update.
12781 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12783 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12784 Add s_sinf-sse2, s_conf-sse2.
12786 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12787 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12788 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12789 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12791 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12792 for using routine as __sinf_ia32.
12793 Use macro for function declaration and weak_alias.
12794 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12795 for using routine as __cosf_ia32.
12796 Use macro for function declaration and weak_alias.
12798 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12799 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12801 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12802 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12805 * math/libm-test.inc (cos_test): Add more test cases.
12806 (sin_test): Likewise.
12807 (sincos_test): Likewise.
12809 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12811 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12812 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12814 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12816 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12819 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12820 first element of the GOT.
12821 (elf_machine_load_address): Return the difference between
12822 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12824 2012-09-01 Allan McRae <allan@archlinux.org>
12827 * configure.in (AWK): Require gawk version 3.0 or later.
12828 * configure: Regenerated.
12830 2012-09-01 Joseph Myers <joseph@codesourcery.com>
12832 * sysdeps/unix/sysv/linux/kernel-features.h
12833 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12834 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12835 [__NR_clock_getres]: Make code unconditional.
12836 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12837 (clock_getcpuclockid): Remove code left unreachable by removal of
12839 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12840 code unconditional.
12841 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12842 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12843 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12844 Make code unconditional.
12845 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12846 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12847 * sysdeps/unix/sysv/linux/clock_settime.c
12848 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12850 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12851 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12853 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12856 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12857 scripts/test-installation.pl.
12859 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12860 and $ld_so_version if it is set.
12862 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12865 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12866 failure if reading from procfs failed.
12867 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12869 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12871 * sysdeps/unix/sysv/linux/kernel-features.h
12872 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12873 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12874 Remove conditional code.
12875 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12876 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12877 Remove conditional code.
12878 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12879 * sysdeps/unix/sysv/linux/i386/fxstat.c
12880 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12881 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12882 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12883 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12884 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12885 * sysdeps/unix/sysv/linux/i386/lxstat.c
12886 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12887 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12888 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12889 Remove conditional code.
12890 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12891 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12892 Remove conditional code.
12893 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12894 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12895 <kernel-features.h>.
12896 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12898 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12899 Remove conditional code.
12900 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12901 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12902 Remove conditional.
12904 2012-08-27 Mike Frysinger <vapier@gentoo.org>
12907 * NEWS: Add fixed bug number.
12909 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12912 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12913 underflowing exponent in case of negative sign.
12914 * stdlib/tst-strtod-round-data: Add more tests.
12915 * stdlib/tst-strtod-round.c (tests): Regenerated.
12918 * stdlib/strtod_l.c (NDIG): Remove.
12919 (HEXNDIG): Likewise.
12920 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12921 smallest representable value.
12922 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12923 lie within an exact representation of 1/2 ulp of the result.
12924 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12926 (TENS_P9_IDX): Define unconditionally.
12927 (TENS_P9_SIZE): Likewise.
12928 (TENS_P10_IDX): Likewise.
12929 (TENS_P10_SIZE): Likewise.
12930 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12931 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12932 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12933 entries for 10^2^13 and 10^2^14.
12934 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12935 (TENS_P13_IDX): Define.
12936 (TENS_P13_SIZE): Likewise.
12937 (TENS_P14_IDX): Likewise.
12938 (TENS_P14_SIZE): Likewise.
12939 (_fpioconst_pow10): Change array size to
12940 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12942 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12943 1024]: Add entries for 10^2^13 and 10^2^14.
12944 [LAST_POW10 > _LAST_POW10]: Remove #error.
12945 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12946 (_fpioconst_pow10): Change array size to
12947 FPIOCONST_POW10_ARRAY_SIZE.
12948 * stdlib/gen-fpioconst.c: New file.
12949 * stdlib/gen-tst-strtod-round.c: Likewise.
12950 * stdlib/tst-strtod-round-data: Likewise.
12951 * stdlib/tst-strtod-round.c: Likewise.
12952 * stdlib/Makefile (tests): Add tst-strtod-round.
12955 * stdlib/strtod_l.c: Include <stdint.h>.
12956 (NDEBUG): Do not define.
12957 (round_and_return): Change EXPONENT parameter to type intmax_t.
12958 Rearrange calculations to avoid internal overflow possibilities.
12959 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12960 Rearrange calculations to avoid internal overflow possibilities.
12961 Assert that number fits inside MPNSIZE limbs.
12962 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12963 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12964 calculations and add assertions to avoid internal overflow
12965 possibilities. Add casts to avoid signed/unsigned operations.
12966 * stdlib/tst-strtod-overflow.c: New file.
12967 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12969 2012-08-25 Marek Polacek <polacek@redhat.com>
12971 * time/time.h: Fix some typos in comments.
12973 2012-08-23 Roland McGrath <roland@hack.frob.com>
12975 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12976 * posix/tst-rfc3484-2.c: Likewise.
12977 * posix/tst-rfc3484-3.c: Likewise.
12979 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12981 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12982 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12984 2012-08-23 Joseph Myers <joseph@codesourcery.com>
12986 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12987 #include of fxstatat64.c.
12989 2012-08-22 Roland McGrath <roland@hack.frob.com>
12991 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12992 * shadow/getspent_r.c: Likewise.
12993 * shadow/getspnam.c: Likewise.
12994 * shadow/getspnam_r.c: Likewise.
12995 * gshadow/getsgent.c: Likewise.
12996 * gshadow/getsgent_r.c: Likewise.
12997 * gshadow/getsgnam.c: Likewise.
12998 * gshadow/getsgnam_r.c: Likewise.
12999 * inet/getnetbyad.c: Likewise.
13000 * inet/getnetbyad_r.c: Likewise.
13001 * inet/getnetbynm.c: Likewise.
13002 * inet/getnetbynm_r.c: Likewise.
13003 * inet/getnetent.c: Likewise.
13004 * inet/getnetent_r.c: Likewise.
13005 * inet/getproto.c: Likewise.
13006 * inet/getproto_r.c: Likewise.
13007 * inet/getprtent.c: Likewise.
13008 * inet/getprtent_r.c: Likewise.
13009 * inet/getprtname.c: Likewise.
13010 * inet/getprtname_r.c: Likewise.
13011 * inet/getrpcbyname.c: Likewise.
13012 * inet/getrpcbyname_r.c: Likewise.
13013 * inet/getrpcbynumber.c: Likewise.
13014 * inet/getrpcbynumber_r.c: Likewise.
13015 * inet/getrpcent.c: Likewise.
13016 * inet/getrpcent_r.c: Likewise.
13017 * inet/getaliasent.c: Likewise.
13018 * inet/getaliasent_r.c: Likewise.
13019 * inet/getaliasname.c: Likewise.
13020 * inet/getaliasname_r.c: Likewise.
13021 * nscd/getgrgid_r.c: Likewise.
13022 * nscd/getgrnam_r.c: Likewise.
13023 * nscd/gethstbyad_r.c: Likewise.
13024 * nscd/gethstbynm3_r.c: Likewise.
13025 * nscd/getpwnam_r.c: Likewise.
13026 * nscd/getpwuid_r.c: Likewise.
13027 * nscd/getsrvbynm_r.c: Likewise.
13028 * nscd/getsrvbypt_r.c: Likewise.
13029 * nscd/gai.c: Likewise.
13031 * configure.in (build_nscd): New substituted variable, set
13032 by --disable-build-nscd and defaults to $use_nscd.
13033 * configure: Regenerated.
13034 * config.make.in (build-nscd): New substituted variable.
13035 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13036 Change conditional to require [$(build-nscd) = yes] as well.
13037 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13040 * configure.in (use_nscd): New substituted variable, set by
13041 --disable-nscd. If enabled, define USE_NSCD.
13042 * configure: Regenerated.
13043 * config.h.in: Add USE_NSCD.
13044 * config.make.in (use-nscd): New substituted variable.
13045 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13046 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13047 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13048 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13049 (CFLAGS-getgrnam_r.c): Likewise.
13050 (CFLAGS-initgroups.c): Likewise.
13051 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13052 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13054 * inet/getnetgrent_r.c
13055 (nscd_setnetgrent): New function, broken out of ...
13056 (setnetgrent): ... here. Call it.
13057 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13058 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13059 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13060 * nscd/Makefile (routines, aux): Move definitions after include of
13061 Makeconfig. Conditionalize on [$(use-nscd) != no].
13062 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13063 Conditionalize on [USE_NSCD].
13064 (is_nscd, nscd_init_cb): Likewise.
13065 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13066 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13067 * nss/nss_db/db-init.c: Likewise.
13068 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13070 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13071 (make_request): Use it.
13072 (cache_valid_p): New function.
13073 (__check_pf): Use it.
13074 * NEWS: Add item for --disable-nscd.
13076 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13078 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13079 to support sed >= 4.2.1-20-ga9bf076.
13080 * configure: Regenerated.
13082 2012-08-22 Roland McGrath <roland@hack.frob.com>
13084 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13085 Conditionalize whole body on [IREL].
13087 2012-08-22 Jeff Law <law@redhat.com>
13090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13091 if the family is PF_UNSPEC.
13093 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13095 * Makerules (lib-version): Rename from V.
13096 (install-lib-nosubdir): Change V to lib-version.
13098 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13101 * powerpc32/power6/wcschr.c: New file.
13102 * powerpc32/power6/wcscpy.c: New file.
13103 * powerpc32/power6/wcsrchr.c: New file.
13104 * powerpc64/power6/wcschr.c: New file.
13105 * powerpc64/power6/wcscpy.c: New file.
13106 * powerpc64/power6/wcsrchr.c: New file.
13108 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13110 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13111 (two_way_short_needle): Use it.
13112 * string/strstr.c (AVAILABLE1_USES_J): Define.
13113 * string/strcasestr.c: Likewise.
13115 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13117 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13120 * NEWS: Add an entry.
13121 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13122 define their defaults.
13123 (two_way_short_needle): Detect end-of-string on-the-fly.
13124 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13125 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13126 * string/bug-strcasestr1.c: New test.
13127 * string/Makefile: Run it.
13129 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13132 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13133 the first character.
13135 2012-08-21 Roland McGrath <roland@hack.frob.com>
13137 * csu/elf-init.c (__libc_csu_irel): Function removed.
13138 * csu/libc-start.c (apply_irel): New function.
13139 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13141 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13143 * sysdeps/unix/sysv/linux/kernel-features.h
13144 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13145 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13146 <kernel-features.h>.
13147 [__NR_fadvise64_64]: Make code unconditional.
13148 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13149 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13150 !__NR_fadvise64_64)]: Likewise.
13151 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13152 !__NR_fadvise64_64))]: Likewise.
13153 [__NR_fadvise64]: Make code unconditional.
13154 [!__NR_fadvise64]: Remove conditional code.
13155 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13156 <kernel-features.h>.
13157 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13159 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13162 not include <kernel-features.h>.
13163 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13165 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13167 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13168 include <kernel-features.h>.
13169 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13171 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13174 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13176 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13177 slight instruction rearrangements per scrollpipe analysis.
13178 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13180 2012-08-20 Roland McGrath <roland@hack.frob.com>
13182 * manual/syslog.texi (syslog; vsyslog, closelog):
13183 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13184 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13186 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13187 DSOCAPS to match condition on defining it.
13189 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13191 * sysdeps/unix/sysv/linux/kernel-features.h
13192 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13194 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13195 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13197 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13198 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13200 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13201 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13203 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13204 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13206 * sysdeps/unix/sysv/linux/kernel-features.h
13207 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13208 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13210 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13211 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13212 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13213 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13214 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13215 Make code unconditional.
13216 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13217 (__mmap64) [!__NR_mmap2]: Likewise.
13218 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13219 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13220 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13221 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13222 [__NR_mmap2]: Make code unconditional.
13223 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13224 (__mmap64) [!__NR_mmap2]: Likewise.
13226 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13228 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13230 2012-08-18 Andreas Jaeger <aj@suse.de>
13232 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13234 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13236 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13237 * include/unistd.h (__have_sock_cloexec): Likewise.
13238 (__have_pipe2): Likewise.
13239 (__have_dup3): Likewise.
13241 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13244 * include/unistd.h (__have_pipe2): Change define into an extern int.
13245 (__have_dup3): Likewise.
13246 * socket/have_sock_cloexec.c: Include fcntl.h.
13247 (__have_pipe2): New variable.
13248 (__have_dup3): Likewise.
13250 2012-08-17 Mike Frysinger <vapier@gentoo.org>
13252 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13254 2012-08-17 Marek Polacek <polacek@redhat.com>
13256 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13257 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13259 2012-08-17 Roland McGrath <roland@hack.frob.com>
13261 * configure.in: Add AC_SUBST for sysheaders.
13262 * configure: Regenerated.
13263 * config.make.in (sysheaders): New substituted variable.
13265 * sysdeps/unix/mkfifo.c: Moved ...
13266 * sysdeps/posix/mkfifo.c: ... here.
13267 * sysdeps/unix/mkfifoat.c: Moved ...
13268 * sysdeps/posix/mkfifoat.c: ... here.
13270 * sysdeps/unix/utime.c: Moved ...
13271 * sysdeps/posix/utime.c: ... here.
13273 * sysdeps/unix/time.c: Moved ...
13274 * sysdeps/posix/time.c: ... here.
13275 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13276 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13278 * sysdeps/unix/nice.c: Moved ...
13279 * sysdeps/posix/nice.c: ... here.
13281 * sysdeps/unix/alarm.c: Moved ...
13282 * sysdeps/posix/alarm.c: ... here.
13284 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13286 2012-08-17 Jeff Law <law@redhat.com>
13288 * intl/Makefile (codeset_mo): New variable.
13289 ($(codeset_mo)): New target.
13290 (tst-codeset.out): Depend on that. Remove explicit rule.
13291 (tst-gettext3.out, tst-gettext5.out): Likewise.
13292 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13293 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13294 * intl/tst-codeset.sh: Remove.
13295 * intl/tst-gettext3.sh: Likewise.
13296 * intl/tst-gettext5.sh: Likewise.
13298 2012-08-17 Roland McGrath <roland@hack.frob.com>
13300 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13301 * sysdeps/unix/syscalls.list: ... here.
13303 * sysdeps/posix/getaddrinfo.c
13304 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13305 (gaiconf_init, gaiconf_reload): Use them.
13306 [!_STATBUF_ST_NSEC]
13307 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13308 Define using time_t rather than struct timespec.
13310 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13311 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13313 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13315 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13316 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13319 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13320 __libc_cleanup_push argument.
13322 * bits/param.h: New file.
13323 * misc/sys/param.h: New file.
13324 * include/sys/param.h: New file.
13325 * misc/Makefile (headers): Add bits/param.h.
13326 * sysdeps/generic/sys/param.h: File removed.
13327 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13328 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13329 * sysdeps/mach/hurd/bits/param.h: New file.
13330 * sysdeps/mach/hurd/sys/param.h: File removed.
13332 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13335 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13337 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13338 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13341 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13342 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13343 rather than -D_IO_MTSAFE_IO conditionally.
13344 * stdio-common/Makefile (CPPFLAGS): Likewise.
13345 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13346 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13347 Use $(libio-mtsafe).
13348 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13349 of -D_IO_MTSAFE_IO.
13350 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13351 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13352 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13353 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13354 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13355 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13356 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13357 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13358 (CFLAGS-fread_u_chk.c): Likewise.
13359 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13360 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13361 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13362 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13363 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13364 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13365 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13366 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13367 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13369 * libio/Makefile: Test [$(libc-reentrant) = yes]
13370 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13373 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13374 * sysdeps/pthread/configure: File removed.
13375 * sysdeps/pthread/Makeconfig: New file.
13376 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13377 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13379 2012-08-16 Gary Benson <gbenson@redhat.com>
13381 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13382 unmapping the first object in a namespace.
13384 2012-08-16 Roland McGrath <roland@hack.frob.com>
13386 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13387 (__internal_setnetgrent): ... this. Add internal_function to
13388 definition. Add libc_hidden_def.
13389 (setnetgrent): Update caller.
13390 (internal_endnetgrent): Renamed to ...
13391 (__internal_endnetgrent): ... this. Add internal_function to
13392 definition. Add libc_hidden_def.
13393 (endnetgrent): Update caller.
13394 (internal_getnetgrent_r): Renamed to ...
13395 (__internal_getnetgrent_r): ... this. Add internal_function to
13396 definition. Add libc_hidden_def.
13397 (__getnetgrent_r): Update caller.
13398 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13400 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13402 * stdlib/longlong.h: Update from GCC.
13404 2012-08-16 Roland McGrath <roland@hack.frob.com>
13406 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13407 on _QL, which is set by umul_ppmm but never used.
13408 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13409 variables, which are set by GMP macros but never used.
13410 * stdio-common/_itowa.c (_itowa): Likewise.
13411 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13412 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13414 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13416 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13417 struct La_sh_regs is not constant.
13418 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13419 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13420 and struct La_sparc64_regs are not constant.
13422 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13424 * sysdeps/unix/sysv/linux/kernel-features.h
13425 (__ASSUME_POSIX_TIMERS): Remove.
13426 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13427 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13428 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13429 Make code unconditional.
13430 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13431 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13432 Make code unconditional.
13433 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13434 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13435 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13436 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13437 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13438 Make code unconditional.
13439 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13440 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13441 (__libc_missing_posix_timers): Remove.
13443 2012-08-15 Roland McGrath <roland@hack.frob.com>
13445 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13446 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13448 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13450 * elf/dl-sym.c: Include <stdlib.h>.
13452 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13453 constants, which avoids warnings in 32-bit builds.
13455 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13456 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13458 * misc/lseek.c: File moved to ...
13459 * io/lseek.c: ... here.
13461 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13463 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13464 shifting LEN more than 31 bits at once.
13466 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13469 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13470 segmentation fault for a case of two empty input strings.
13471 * string/test-strncasecmp.c (check1): Renamed to...
13472 (bz12205): ...this.
13473 (bz14195): Add new testcase for two empty input strings and N > 0.
13474 (test_main): Call new testcase, adapt for renamed function.
13476 2012-08-15 Andreas Jaeger <aj@suse.de>
13479 * crypt/md5test2.c: New test, based on test supplied by Serge
13480 Belyshev <belyshev@depni.sinp.msu.ru>.
13481 * crypt/Makefile (xtests): Add md5test-giant..
13482 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13484 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13487 * crypt/md5.c (md5_process_block): Don't assume the buffer
13488 length is less than 2**32.
13489 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13490 length is less than 2**64.
13492 2012-08-15 Roland McGrath <roland@hack.frob.com>
13494 * string/str-two-way.h: Include <sys/param.h>.
13495 (MAX): Macro removed.
13497 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13498 Move #define and #undef of memmove to just before and after
13499 including <string.h>.
13501 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13502 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13503 and after including <string.h>. Move declarations of
13504 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13505 to before #include "string/memmove.c".
13507 * include/dirent.h: Declare __getdirentries.
13509 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13510 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13512 2012-08-14 Mike Frysinger <vapier@gentoo.org>
13514 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13515 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13516 * sysdeps/i386/configure: Regenerated.
13517 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13518 STABS_CURRENT_FILE, and STABS_FUN.
13519 (END): Remove call to STABS_FUN_END.
13520 (STABS_CURRENT_FILE1): Delete.
13521 (STABS_CURRENT_FILE): Likewise.
13522 (STABS_FUN): Likewise.
13523 (STABS_FUN_END): Likewise.
13524 (STABS_FUN2): Likewise.
13525 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13526 * sysdeps/x86_64/configure: Regenerated.
13528 2012-08-14 Roland McGrath <roland@hack.frob.com>
13530 * elf/dl-open.c: Include <atomic.h>.
13531 * elf/dl-lookup.c: Likewise.
13533 2012-08-14 Joseph Myers <joseph@codesourcery.com>
13535 * sysdeps/unix/sysv/linux/kernel-features.h
13536 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13537 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13539 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13541 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13542 condition on __ASSUME_CLONE_THREAD_FLAGS.
13544 2012-08-14 Andreas Jaeger <aj@suse.de>
13546 * sysdeps/i386/fpu/libm-test-ulps: Update.
13548 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13550 * include/atomic.h (atomic_exchange_and_add): Split into ...
13551 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13554 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13558 2012-08-13 Jeff Law <law@redhat.com>
13560 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13561 null byte in the output string.
13563 2012-08-10 Joseph Myers <joseph@codesourcery.com>
13565 * sysdeps/unix/sysv/linux/kernel-features.h
13566 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13567 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13568 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13569 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13570 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13571 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13572 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13574 2012-08-09 Jeff Law <law@redhat.com>
13577 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13578 When avoid_arena is set, don't retry in the that arena. Pick the
13579 next one, whatever it might be.
13580 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13581 (arena_lock): Pass in new parameter to arena_get2.
13582 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13584 (__libc_malloc): Unify retrying after main arena failure with
13585 __libc_memalign version.
13586 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13588 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13591 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13592 to __redirect_strstr.
13593 (__strstr_sse42): Use typeof __redirect_strstr.
13594 (__strstr_ia32): Likewise.
13595 (__libc_strstr): New prototype.
13596 (strstr): Renamed to ...
13597 (__libc_strstr): This.
13598 (strstr): New strong alias of __libc_strstr.
13599 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13600 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13603 (__libc_time): New prototype.
13604 (time_ifunc): Replace time with __libc_time.
13605 (time): New strong alias and hidden definition of __libc_time.
13606 (__GI_time): Remove strong alias.
13607 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13608 Include <stddef.h>.
13609 (memmove): Redefined to __redirect_memmove.
13610 (__memmove_sse2): Use typeof __redirect_memmove.
13611 (__memmove_ssse3): Likewise.
13612 (__memmove_ssse3_back): Likewise.
13613 (__libc_memmove): New prototype.
13614 (memmove): Renamed to ...
13615 (__libc_memmove): This.
13616 (memmove): New strong alias of __libc_memmove.
13618 2012-08-08 Mark Salter <msalter@redhat.com>
13621 (R_MN10300_TLS_GD): Define.
13622 (R_MN10300_TLS_LD): Likewise.
13623 (R_MN10300_TLS_LDO): Likewise.
13624 (R_MN10300_TLS_GOTIE): Likewise.
13625 (R_MN10300_TLS_IE): Likewise.
13626 (R_MN10300_TLS_LE): Likewise.
13627 (R_MN10300_TLS_DTPMOD): Likewise.
13628 (R_MN10300_TLS_DTPOFF): Likewise.
13629 (R_MN10300_TLS_TPOFF): Likewise.
13630 (R_MN10300_SYM_DIFF): Likewise.
13631 (R_MN10300_ALIGN): Likewise.
13632 (R_MN10300_NUM): Update.
13634 2012-08-08 Joseph Myers <joseph@codesourcery.com>
13636 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13639 2012-08-08 Roland McGrath <roland@hack.frob.com>
13641 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13643 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13644 sysdeps/unix -> sysdeps/posix move.
13645 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13647 2012-08-07 Allan McRae <allan@archlinux.org>
13650 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13651 (SUNOS_CPP): Likewise.
13652 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13654 (open_input): Call CPP using execvp.
13656 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13658 * sysdeps/unix/sysv/linux/kernel-features.h
13659 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13660 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13661 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13662 (__ASSUME_WAITID_SYSCALL): Likewise.
13663 * sysdeps/unix/sysv/linux/dl-execstack.c
13664 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13665 code unconditional.
13666 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13668 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13669 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13670 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13672 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13674 [__ASSUME_WAITID_SYSCALL]: Likewise.
13675 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13677 2012-08-07 Roland McGrath <roland@hack.frob.com>
13679 * sysdeps/unix/closedir.c: Renamed to ...
13680 * sysdeps/posix/closedir.c: ... here.
13681 * sysdeps/unix/dirfd.c: Renamed to ...
13682 * sysdeps/posix/dirfd.c: ... here.
13683 * sysdeps/unix/dirstream.h: Renamed to ...
13684 * sysdeps/posix/dirstream.h: ... here.
13685 * sysdeps/unix/fdopendir.c: Renamed to ...
13686 * sysdeps/posix/fdopendir.c: ... here.
13687 * sysdeps/unix/opendir.c: Renamed to ...
13688 * sysdeps/posix/opendir.c: ... here.
13689 * sysdeps/unix/readdir.c: Renamed to ...
13690 * sysdeps/posix/readdir.c: ... here.
13691 * sysdeps/unix/readdir_r.c: Renamed to ...
13692 * sysdeps/posix/readdir_r.c: ... here.
13693 * sysdeps/unix/rewinddir.c: Renamed to ...
13694 * sysdeps/posix/rewinddir.c: ... here.
13695 * sysdeps/unix/seekdir.c: Renamed to ...
13696 * sysdeps/posix/seekdir.c: ... here.
13697 * sysdeps/unix/telldir.c: Renamed to ...
13698 * sysdeps/posix/telldir.c: ... here.
13699 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13700 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13701 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13702 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13704 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13705 * bits/fcntl.h: ... here.
13707 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13709 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13710 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13711 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13712 (struct flock): Move l_start, l_len to the beginning.
13713 Use __pid_t for l_pid.
13714 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13715 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13716 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13717 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13718 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13719 [__USE_LARGEFILE64] (struct flock64): New type.
13720 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13722 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13723 * bits/dirent.h: ... here.
13725 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13726 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13728 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13730 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13731 Change from 2.6.0 to 2.6.16.
13732 * sysdeps/unix/sysv/linux/configure: Regenerated.
13733 * sysdeps/unix/sysv/linux/kernel-features.h
13734 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13735 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13737 (__ASSUME_UTIMES): Likewise.
13738 (__ASSUME_CLONE_STOPPED): Remove.
13739 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13740 architectures, not kernel version.
13741 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13742 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13743 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13744 (__ASSUME_WAITID_SYSCALL): Likewise.
13745 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13746 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13747 * README: State 2.6.16 as minimum Linux kernel version. Do not
13748 refer to older versions.
13750 2012-08-06 Roland McGrath <roland@hack.frob.com>
13752 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13753 Define alphasort64 as an alias.
13754 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13755 Define versionsort64 as an alias.
13756 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13757 Define scandir64 as an alias.
13758 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13759 Define scandirat64 as an alias.
13760 * dirent/alphasort64.c (alphasort64):
13761 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13762 * dirent/versionsort64.c: Likewise.
13763 * dirent/scandir64.c: Likewise.
13764 * dirent/scandirat64.c: Likewise.
13765 * sysdeps/wordsize-64/alphasort.c: File removed.
13766 * sysdeps/wordsize-64/alphasort64.c: File removed.
13767 * sysdeps/wordsize-64/scandir.c: File removed.
13768 * sysdeps/wordsize-64/scandir64.c: File removed.
13769 * sysdeps/wordsize-64/scandirat.c: File removed.
13770 * sysdeps/wordsize-64/scandirat64.c: File removed.
13771 * sysdeps/wordsize-64/versionsort.c: File removed.
13772 * sysdeps/wordsize-64/versionsort64.c: File removed.
13773 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13774 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13775 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13776 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13777 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13778 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13779 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13780 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13782 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13783 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13784 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13785 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13786 [defined __arch64__ || defined __sparcv9]
13787 (__INO_T_MATCHES_INO64_T): New macro.
13788 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13789 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13790 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13791 * sysdeps/unix/sysv/linux/bits/dirent.h
13792 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13793 (_DIRENT_MATCHES_DIRENT64): New macro.
13795 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13796 Define lockf64 as an alias.
13797 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13798 Define fseeko64 as an alias.
13799 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13800 Define ftello64 as an alias.
13801 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13802 Define _IO_fgetpos64 and fgetpos64 as aliases.
13803 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13804 Define _IO_fsetpos64 and fsetpos64 as aliases.
13805 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13806 Conditionalize body on this.
13807 * libio/fseeko64.c: Likewise.
13808 * libio/ftello64.c: Likewise.
13809 * libio/iofgetpos64.c: Likewise.
13810 * libio/iofsetpos64.c: Likewise.
13811 * sysdeps/wordsize-64/lockf.c: File removed.
13812 * sysdeps/wordsize-64/lockf64.c: File removed.
13813 * sysdeps/wordsize-64/fseeko.c: File removed.
13814 * sysdeps/wordsize-64/fseeko64.c: File removed.
13815 * sysdeps/wordsize-64/ftello.c: File removed.
13816 * sysdeps/wordsize-64/ftello64.c: File removed.
13817 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13818 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13819 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13820 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13821 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13822 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13823 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13824 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13825 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13826 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13827 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13828 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13829 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13830 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13832 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13833 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13834 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13835 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13836 [defined __arch64__ || defined __sparcv9]
13837 (__OFF_T_MATCHES_OFF64_T): New macro.
13838 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13839 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13841 (__OFF_T_MATCHES_OFF64_T): New macro.
13843 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13845 * stdlib/secure-getenv.c (__secure_getenv): Replace
13846 GLIBC_2_16 with GLIBC_2_17.
13848 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13850 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13851 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13853 2012-08-03 David S. Miller <davem@davemloft.net>
13855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13857 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13859 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13861 (__ASSUME_CORRECT_SI_PID): Likewise.
13862 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13863 (__ASSUME_TMPFS_NAME): Likewise.
13864 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13865 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13866 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13867 (HAVE_AUX_SECURE): Make definition unconditional.
13868 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13869 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13871 2012-08-03 Roland McGrath <roland@hack.frob.com>
13873 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13874 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13875 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13876 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13877 __eloop_threshold instead of SYMLOOP_MAX.
13879 * sysdeps/generic/eloop-threshold.h: New file.
13880 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13882 * elf/chroot_canon.c (chroot_canon): Likewise.
13884 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13887 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13888 Change to 2.6.0 everywhere.
13889 * sysdeps/unix/sysv/linux/configure: Regenerated.
13890 * sysdeps/unix/sysv/linux/kernel-features.h
13891 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13892 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13894 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13895 (__ASSUME_FUTEX_REQUEUE): Remove.
13896 (__ASSUME_STATFS64): Define unconditionally.
13897 (__ASSUME_AT_SECURE): Likewise.
13898 (__ASSUME_CORRECT_SI_PID): Likewise.
13899 (__ASSUME_TGKILL): Define without depending on kernel version for
13901 (__ASSUME_UTIMES): Likewise.
13902 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13904 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13905 (__ASSUME_TMPFS_NAME): Likewise.
13906 * README: Update reference to Linux kernel versions.
13908 2012-08-02 Marek Polacek <polacek@redhat.com>
13911 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13912 libc_cv_asm_type_prefix with %.
13913 * configure: Regenerated.
13914 * include/libc-symbols.h: Remove comment about
13915 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13916 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13917 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13918 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13919 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13920 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13921 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13922 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13923 * elf/tst-unique2mod1.c: Likewise.
13924 * elf/tst-unique1mod2.c: Likewise.
13925 * elf/tst-unique1mod1.c: Likewise.
13926 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13927 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13928 Replace ASM_TYPE_DIRECTIVE with .type.
13929 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13930 * sysdeps/i386/sysdep.h: Likewise.
13931 * sysdeps/x86_64/sysdep.h: Likewise.
13932 * sysdeps/sh/sysdep.h: Likewise.
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13934 Do not define ASM_TYPE_DIRECTIVE.
13935 * sysdeps/powerpc/sysdep.h: Likewise.
13936 * sysdeps/powerpc/powerpc32/sysdep.h:
13937 Replace ASM_TYPE_DIRECTIVE with .type.
13938 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13939 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13940 * sysdeps/i386/fpu/e_powf.S: Likewise.
13941 * sysdeps/i386/fpu/e_expl.S: Likewise.
13942 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13943 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13944 * sysdeps/i386/fpu/e_pow.S: Likewise.
13945 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13946 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13947 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13948 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13949 * sysdeps/i386/fpu/e_log2.S: Likewise.
13950 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13951 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13952 * sysdeps/i386/fpu/e_powl.S: Likewise.
13953 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13954 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13955 * sysdeps/i386/fpu/e_logl.S: Likewise.
13956 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13957 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13958 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13959 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13960 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13961 * sysdeps/i386/fpu/e_log.S: Likewise.
13962 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13963 * sysdeps/i386/fpu/e_logf.S: Likewise.
13964 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13965 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13966 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13967 * sysdeps/i386/fpu/e_log10.S: Likewise.
13968 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13969 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13970 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13971 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13972 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13973 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13974 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13975 * sysdeps/i386/i686/strtok.S: Likewise.
13976 * sysdeps/i386/i386-mcount.S: Likewise.
13977 * sysdeps/i386/strtok.S: Likewise.
13978 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13979 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13980 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13981 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13982 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13983 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13984 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13985 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13986 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13987 * sysdeps/x86_64/_mcount.S: Likewise.
13988 * sysdeps/x86_64/strtok.S: Likewise.
13989 * sysdeps/sh/_mcount.S: Likewise.
13991 2012-08-01 Roland McGrath <roland@hack.frob.com>
13993 * libio/iofopen.c: Include <fcntl.h>.
13994 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13995 (_IO_fopen64, fopen64): Define as aliases.
13996 * libio/iofopen64.c: Include <fcntl.h>.
13997 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13998 Conditionalize body on this.
13999 * sysdeps/wordsize-64/iofopen.c: File removed.
14000 * sysdeps/wordsize-64/iofopen64.c: File removed.
14002 2012-08-01 Marek Polacek <polacek@redhat.com>
14004 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14005 Use dlfcn directly instead of a variable.
14006 (binfmt-subdir): Do not define.
14009 2012-08-01 Joseph Myers <joseph@codesourcery.com>
14011 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14012 Remove all definitions.
14013 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14014 <kernel-features.h>.
14015 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14016 (miss_F_GETOWN_EX): Remove all definitions.
14017 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14019 [!__ASSUME_FCNTL64]: Remove conditional code.
14020 [__ASSUME_FCNTL64]: Make code unconditional.
14021 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14022 <kernel-features.h>.
14023 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14024 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14025 (lockf64) [__NR_fcntl64]: Make code unconditional.
14026 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14028 * sysdeps/unix/sysv/linux/kernel-features.h
14029 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14030 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14031 Make code unconditional.
14032 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14033 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14035 [__NR_vfork]: Make code unconditional.
14036 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14037 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14039 [__NR_vfork]: Make code unconditional.
14040 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14041 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14043 2012-08-01 Roland McGrath <roland@hack.frob.com>
14045 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14046 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14048 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14049 Define mkstemp64 as an alias.
14050 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14051 Define mkstemps64 as an alias.
14052 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14053 Define mkostemp64 as an alias.
14054 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14055 Define mkostemps64 as an alias.
14056 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14057 Conditionalize body on this.
14058 * misc/mkostemp64.c: Likewise.
14059 * misc/mkostemps64.c: Likewise.
14060 * misc/mkstemps64.c: Likewise.
14061 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14062 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14063 * sysdeps/wordsize-64/mkostemp.c: File removed.
14064 * sysdeps/wordsize-64/mkstemp.c: File removed.
14065 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14066 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14067 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14068 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14071 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14072 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14073 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14074 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14076 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14077 compat_symbol macros from <shlib-compat.h> rather than the underlying
14078 default_symbol_version and symbol_version macros, so that DEFAULT
14079 lines in shlib-versions are respected.
14080 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14082 2012-08-01 Florian Weimer <fweimer@redhat.com>
14084 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14085 Declare with warn_unused_result.
14086 (setgid, setregid, setegid, setresgid): Likewise.
14087 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14089 * WUR-REPORT: Remove set*id functions.
14091 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14093 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14095 2012-07-31 Roland McGrath <roland@hack.frob.com>
14098 * include/sys/socket.h (__libc_accept, __libc_accept4):
14099 Add attribute_hidden.
14100 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14102 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14104 * inet/getnetgrent_r.c (setup): Likewise.
14106 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14108 2012-07-31 David S. Miller <davem@davemloft.net>
14110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14112 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14115 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14116 value between 1.0 and 2.0 and smaller part has absolute value less
14118 * math/s_clog10.c (__clog10): Likewise.
14119 * math/s_clog10f.c (__clog10f): Likewise.
14120 * math/s_clog10l.c (__clog10l): Likewise.
14121 * math/s_clogf.c (__clogf): Likewise.
14122 * math/s_clogl.c (__clogl): Likewise.
14123 * math/libm-test.inc (clog_test): Add more tests.
14124 (clog10_test): Likewise.
14125 * sysdeps/i386/fpu/libm-test-ulps: Update.
14126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14128 2012-07-31 Florian Weimer <fweimer@redhat.com>
14130 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14131 Exit with zero in case no suitable GID is found, and write a
14132 message to standard error.
14134 2012-07-30 Roland McGrath <roland@hack.frob.com>
14136 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14138 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14139 (MAXPATHLEN): Removed.
14140 (NOGROUP, NODEV): New macros.
14141 (setbit, clrbit, isset, isclr): New macros.
14142 (howmany, roundup, powerof2): New macros.
14143 (DEV_BSIZE): New macro.
14145 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14146 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14148 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14149 definition on [!__NO_LONG_DOUBLE_MATH].
14151 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14152 PTR_MANGLE and PTR_DEMANGLE.
14154 * socket/accept4.c (accept4): Rename to __libc_accept4.
14155 Define accept4 as a weak alias.
14157 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14158 on [_DIRENT_HAVE_D_TYPE].
14159 * io/ftw.c (ftw_dir): Likewise.
14161 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14163 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14165 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14166 Use the BSD numbers rather than the arbitrary ones we had.
14167 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14168 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14169 (SIGXCPU, SIGXFSZ): New macros.
14172 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14173 initializer on [_LIBC_REENTRANT].
14175 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14176 definitions inside [_POSIX_MAPPED_FILES].
14178 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14180 * dirent/opendir.c: Include <fcntl.h>.
14182 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14183 (__libc_getspecific): Likewise.
14184 (__libc_key_create): Likewise.
14186 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14187 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14188 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14189 (tmpfile64): Define as alias.
14190 * sysdeps/wordsize-64/tmpfile.c: File removed.
14191 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14192 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14193 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14195 * stdio-common/vfscanf.c: Include <stdbool.h>.
14196 * nss/makedb.c: Likewise.
14197 * stdio-common/_i18n_number.h: Likewise.
14198 * argp/argp-help.c: Likewise.
14199 * posix/wordexp.c: Likewise.
14200 * sysdeps/posix/spawni.c: Likewise.
14201 * nss/nss_files/files-initgroups.c: Likewise.
14202 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14203 * nss/nss_files/files-initgroups.c: Likewise.
14204 * nss/nss_db/db-netgrp.c: Likewise.
14205 * nss/nss_db/db-initgroups.c: Likewise.
14206 * io/fchmodat.c: Include <sys/stat.h>.
14208 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14209 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14211 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14214 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14215 Add multiple inclusion protection.
14217 2012-07-27 David S. Miller <davem@davemloft.net>
14219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14221 2012-07-27 Gary Benson <gbenson@redhat.com>
14224 * elf/rtld.c: Include <stap-probe.h>.
14225 (dl_main): Added static probes "init_start" and "init_complete".
14226 * elf/dl-load.c: Include <stap-probe.h>.
14227 (lose): Take new parameter "nsid".
14228 Added static probe "map_failed".
14229 (_dl_map_object_from_fd): Pass namespace id to lose.
14230 Added static probe "map_start".
14231 (open_verify): Pass namespace id to lose.
14232 * elf/dl-open.c: Include <stap-probe.h>.
14233 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14234 and "reloc_complete".
14235 * elf/dl-close.c: Include <stap-probe.h>.
14236 (_dl_close_worker): Added static probes "unmap_start" and
14238 * elf/rtld-debugger-interface.txt: New file documenting the above.
14240 2012-07-26 Roland McGrath <roland@hack.frob.com>
14242 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14243 rather than a string variable.
14244 * sunrpc/rpc_main.c (h_output): Likewise.
14245 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14247 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14249 * inet/check_native.c: New file.
14251 2012-07-26 Joseph Myers <joseph@codesourcery.com>
14254 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14255 if larger part has absolute value 1.0.
14256 * math/s_clog10.c (__clog10): Likewise.
14257 * math/s_clog10f.c (__clog10f): Likewise.
14258 * math/s_clog10l.c (__clog10l): Likewise.
14259 * math/s_clogf.c (__clogf): Likewise.
14260 * math/s_clogl.c (__clogl): Likewise.
14261 * math/libm-test.inc (clog_test): Add more tests.
14262 (clog10_test): Likewise.
14263 * sysdeps/i386/fpu/libm-test-ulps: Update.
14264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14266 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14267 (pltexit): Likewise.
14268 (La_regs): Likewise.
14269 (La_retval): Likewise.
14270 (int_retval): Likewise.
14271 Update #error for removed macros to refer only to definitions in
14273 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14275 (pltexit): Likewise.
14276 (La_regs): Likewise.
14277 (La_retval): Likewise.
14278 (int_retval): Likewise.
14279 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14281 (pltexit): Likewise.
14282 (La_regs): Likewise.
14283 (La_retval): Likewise.
14284 (int_retval): Likewise.
14285 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14287 (pltexit): Likewise.
14288 (La_regs): Likewise.
14289 (La_retval): Likewise.
14290 (int_retval): Likewise.
14291 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14293 (pltexit): Likewise.
14294 (La_regs): Likewise.
14295 (La_retval): Likewise.
14296 (int_retval): Likewise.
14297 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14299 (pltexit): Likewise.
14300 (La_regs): Likewise.
14301 (La_retval): Likewise.
14302 (int_retval): Likewise.
14303 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14305 (pltexit): Likewise.
14306 (La_regs): Likewise.
14307 (La_retval): Likewise.
14308 (int_retval): Likewise.
14309 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14310 macro definitions in tst-audit.h.
14311 * sysdeps/i386/tst-audit.h: New file.
14312 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14313 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14314 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14315 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14316 * sysdeps/sh/tst-audit.h: Likewise.
14317 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14318 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14319 * sysdeps/x86_64/tst-audit.h: Likewise.
14321 2012-07-26 Andreas Jaeger <aj@suse.de>
14323 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14326 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14327 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14328 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14330 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14331 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14332 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14334 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14337 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14339 (si_call_addr, si_syscall, si_arch): Define new macro.
14340 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14342 (si_call_addr, si_syscall, si_arch): Define new marcro.
14343 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14345 (si_call_addr, si_syscall, si_arch): Define new macro.
14346 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14348 (si_call_addr, si_syscall, si_arch): Define new macro.
14350 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14353 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14354 Change to 2.4.21 where previously 2.4.1.
14355 * sysdeps/unix/sysv/linux/configure: Regenerated.
14356 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14357 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14358 Linux kernel version.
14359 (__ASSUME_STD_AUXV): Remove.
14360 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14362 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14363 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14364 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14365 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14366 (__ASSUME_NETLINK_SUPPORT): Likewise.
14367 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14368 (__no_netlink_support): Remove conditional definition.
14369 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14371 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14372 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14373 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14374 (if_nameindex_ioctl): Remove.
14375 (if_nameindex_netlink): Do not handle __no_netlink_support.
14376 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14378 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14379 Remove conditional code.
14380 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14382 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14384 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14385 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14386 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14388 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14389 [!__ASSUME_STD_AUXV]: Remove conditional code.
14390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14391 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14392 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14394 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14395 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14397 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14399 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14400 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14402 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14404 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14407 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14410 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14411 code unconditional.
14412 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14414 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14416 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14419 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14421 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14424 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14425 code unconditional.
14426 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14428 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14430 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14433 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14434 code unconditional.
14435 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14437 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14439 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14442 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14444 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14445 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14446 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14447 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14448 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14449 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14450 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14451 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14452 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14453 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14454 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14455 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14456 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14457 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14458 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14459 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14460 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14461 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14462 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14463 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14464 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14465 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14466 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14468 2012-07-25 Florian Weimer <fweimer@redhat.com>
14470 * Versions.def: Add GLIBC_2.17.
14471 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14472 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14473 Introduce __libc_secure_getenv.
14474 * stdlib/Versions (2.17): Add secure_getenv
14475 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14476 * stdlib/secure-getenv.c: Rename __secure_getenv to
14477 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14478 symbol __secure_getenv for GLIBC_2.0.
14479 * stdlib/tst-secure-getenv.c: New.
14480 * stdlib/Makefile (tests): Add testcase.
14481 * manual/startup.texi (Environment Access): Document
14483 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14484 __libc_secure_getenv.
14485 * inet/ruserpass.c (ruserpass): Likewise.
14486 * malloc/mtrace.c (mtrace): Likewise.
14487 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14488 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14489 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14490 * sysdeps/posix/tempname.c: Likewise. Evaluate
14491 HAVE_SECURE_GETENV.
14492 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14493 __secure_getenv to __libc_secure_getenv.
14494 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14501 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14502 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14507 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14509 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14510 (struct La_i86_retval): Likewise.
14511 (struct La_x86_64_regs): Likewise.
14512 (struct La_x86_64_retval): Likewise.
14513 (struct La_x32_regs): Likewise.
14514 (struct La_x32_retval): Likewise.
14515 (struct La_ppc32_regs): Likewise.
14516 (struct La_ppc32_retval): Likewise.
14517 (struct La_ppc64_regs): Likewise.
14518 (struct La_ppc64_retval): Likewise.
14519 (struct La_sh_regs): Likewise.
14520 (struct La_sh_retval): Likewise.
14521 (struct La_s390_32_regs): Likewise.
14522 (struct La_s390_32_retval): Likewise.
14523 (struct La_s390_64_regs): Likewise.
14524 (struct La_s390_64_retval): Likewise.
14525 (struct La_sparc32_regs): Likewise.
14526 (struct La_sparc32_retval): Likewise.
14527 (struct La_sparc64_regs): Likewise.
14528 (struct La_sparc64_retval): Likewise.
14529 (struct audit_ifaces): Remove architecture-specific pltenter and
14531 * sysdeps/i386/ldsodefs.h: New file.
14532 * sysdeps/powerpc/ldsodefs.h: Likewise.
14533 * sysdeps/s390/ldsodefs.h: Likewise.
14534 * sysdeps/sh/ldsodefs.h: Likewise.
14535 * sysdeps/sparc/ldsodefs.h: Likewise.
14536 * sysdeps/x86_64/ldsodefs.h: Likewise.
14538 2012-07-25 Marek Polacek <polacek@redhat.com>
14541 * math/libm-test.inc (yn_test): Add another test.
14542 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14543 to ERANGE when the result is +-Inf.
14544 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14545 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14546 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14547 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14549 2012-07-24 Joseph Myers <joseph@codesourcery.com>
14551 * conform/data/time.h-data (NULL): Use macro-constant. Require
14553 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14555 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14557 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14559 * configure.in <sysdeps resolving>: Correct printing
14561 * configure: Regenerate.
14563 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14565 * math/w_ilogb.c: Include <limits.h>.
14566 * math/w_ilogbl.c: Likewise.
14568 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14570 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14571 va_copy. Document allowing for unavailable va_copy only as
14572 pre-C99 compatibility.
14573 * manual/string.texi (Copying and Concatenation): Use va_copy
14574 instead of __va_copy in concat example.
14576 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14578 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14579 (__sendto): Use create_address_port. Initialize APORT and deallocate
14582 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14583 with O_NOLINK passed to __file_name_lookup.
14585 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14586 with O_NOLINK passed to __file_name_lookup.
14588 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14589 negative N or less than NGIDS.
14591 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14592 type to string_t. Set ERANGE as errno and return it if NAME is not big
14593 enough. Use memcpy instead of strncpy.
14595 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14597 * elf/Makefile (check-data): Remove.
14598 (localplt.data): New vpath directive.
14599 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14600 instead of $(check-data).
14601 * scripts/data/localplt-generic.data: Move to ...
14602 * sysdeps/generic/localplt.data: ... here.
14603 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14604 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14605 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14608 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14611 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14614 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14617 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14620 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14624 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14626 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14627 PPC32 and PPC64 files.
14628 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14629 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14631 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14633 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14634 __makecontext_ret to ...
14635 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14636 ... here and call exit if uc_link is NULL. New file.
14637 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14638 __makecontext_ret.S.
14639 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14640 __makecontext_ret to ...
14641 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14642 ... here and call exit if uc_link is NULL. New file.
14643 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14644 __makecontext_ret.S.
14646 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14648 * elf/elf.h (R_390_IRELATIVE): New definition.
14649 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14650 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14651 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14652 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14653 (elf_machine_lazy_rel): Likewise.
14654 * sysdeps/s390/dl-irel.h: New file.
14655 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14656 * sysdeps/s390/s390-64/memset.S: New asm code.
14657 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14658 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14659 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14660 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14661 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14662 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14663 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14664 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14665 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14666 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14667 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14668 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14669 * sysdeps/s390/s390-32/memset.S: New asm code.
14670 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14672 2012-07-17 Marek Polacek <polacek@redhat.com>
14675 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14676 * sysdeps/s390/s390-64/configure.in: Likewise.
14677 * sysdeps/sparc/configure.in: Likewise.
14678 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14679 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14680 * sysdeps/i386/configure.in: Likewise.
14681 * sysdeps/x86_64/configure.in: Likewise.
14682 * sysdeps/sh/configure.in: Likewise.
14683 * sysdeps/s390/s390-32/configure: Regenerated.
14684 * sysdeps/s390/s390-64/configure: Likewise.
14685 * sysdeps/x86_64/configure: Likewise.
14686 * sysdeps/sh/configure: Likewise.
14687 * sysdeps/powerpc/powerpc64/configure: Likewise.
14688 * sysdeps/powerpc/powerpc32/configure: Likewise.
14689 * sysdeps/sparc/configure: Likwise.
14690 * sysdeps/i386/configure: Likewise.
14692 * elf/dl-open.c: Comment fixes.
14694 2012-07-17 Joseph Myers <joseph@codesourcery.com>
14696 * Makefile [CXX] (check-data): Remove.
14697 [CXX] (c++-types.data): New vpath directive.
14698 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14699 vpath. Do not allow for C++ type data being missing.
14700 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14701 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14702 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14703 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14704 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14705 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14706 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14709 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14712 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14715 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14718 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14721 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14724 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14727 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14730 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14731 definitions to architecture-specific files.
14732 (TLS_IE): Likewise.
14733 (TLS_LD): Likewise.
14734 (TLS_GD): Likewise.
14735 * sysdeps/i386/tls-macros.h: New file.
14736 * sysdeps/powerpc/tls-macros.h: Likewise.
14737 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14738 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14739 * sysdeps/sh/tls-macros.h: Likewise.
14740 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14741 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14742 * sysdeps/x86_64/tls-macros.h: Likewise.
14744 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14746 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14747 zero value for regular exit case.
14749 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14750 (__start_context): Preserve zero value for regular exit case.
14752 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14753 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14755 * manual/setjmp.texi (setcontext): Clarify normal process
14756 termination when uc_link is the null pointer.
14757 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14760 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14762 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14763 preprocessor. Test for each exception mask separately.
14765 2012-07-16 Andreas Jaeger <aj@suse.de>
14767 * po/ru.po: Update from translation team.
14769 2012-07-15 Joseph Myers <joseph@codesourcery.com>
14771 * conform/data/string.h-data (NULL): Use macro-constant. Require
14773 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14774 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14775 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14776 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14777 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14779 2012-07-13 Andreas Jaeger <aj@suse.de>
14781 * po/fr.po: Update from translation team.
14783 2012-07-12 Marek Polacek <polacek@redhat.com>
14786 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14787 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14790 2012-07-12 Joseph Myers <joseph@codesourcery.com>
14793 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14794 Change to 2.4.1 where previously 2.4.0.
14795 * sysdeps/unix/sysv/linux/configure: Regenerated.
14796 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14797 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14799 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14800 (__ASSUME_AT_CLKTCK): Remove.
14801 (__ASSUME_AT_PAGESIZE): Likewise.
14802 (__ASSUME_AT_XID): Likewise.
14803 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14804 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14805 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14807 (HAVE_AUX_PAGESIZE): Likewise.
14808 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14809 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14810 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14812 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14816 the temporary buffer used to invoke __gethostbyname2_r,
14817 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14818 host_data / struct gaih_addrtuple.
14819 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14820 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14821 header file nss/nsswitch.h.
14822 * nss/nsswitch.h (global scope): Add definition of implementation
14823 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14824 resolv/nss_dns/dns-host.c).
14826 2012-07-11 Andreas Jaeger <aj@suse.de>
14828 * po/fr.po: Update from translation team.
14830 * po/sv.po: Update from translation team
14831 * po/fr.po: Another update from translation team.
14833 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14835 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14836 for subnormals or multiply small sinh result by itself.
14837 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14840 2012-07-11 David S. Miller <davem@davemloft.net>
14842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14844 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14847 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14848 (INTERNAL_MARK): Shift it here.
14850 2012-07-10 Marek Polacek <polacek@redhat.com>
14853 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14854 libc_cv_asm_global_directive with .globl.
14855 * configure: Regenerated.
14856 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14858 * sysdeps/i386/configure: Regenerated.
14859 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14861 * sysdeps/x86_64/configure: Regenerated.
14862 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14863 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14864 * elf/tst-unique2mod2.c: Likewise.
14865 * elf/tst-unique2mod1.c: Likewise.
14866 * elf/tst-unique1mod2.c: Likewise.
14867 * elf/tst-unique1mod1.c: Likewise.
14868 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14869 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14870 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14871 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14872 * sysdeps/mach/sysdep.h: Likewise.
14873 * sysdeps/i386/sysdep.h: Likewise.
14874 * sysdeps/i386/i386-mcount.S: Likewise.
14875 * sysdeps/x86_64/_mcount.S: Likewise.
14876 * sysdeps/x86_64/sysdep.h: Likewise.
14877 * sysdeps/sh/_mcount.S: Likewise.
14878 * sysdeps/sh/sysdep.h: Likewise.
14879 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14880 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14881 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14882 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14883 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14884 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14885 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14886 * locale/localeinfo.h: Likewise.
14887 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14888 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14890 2012-07-09 Roland McGrath <roland@hack.frob.com>
14893 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14895 * manual/message.texi (The Uniforum approach): Likewise.
14896 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14897 (glibc iconv Implementation): Likewise.
14899 2012-07-09 Joseph Myers <joseph@codesourcery.com>
14902 * math/s_clog.c (__clog): Avoid scaling a value down where that
14903 could result in underflow.
14904 * math/s_clog10.c (__clog10): Likewise.
14905 * math/s_clog10f.c (__clog10f): Likewise.
14906 * math/s_clog10l.c (__clog10l): Likewise.
14907 * math/s_clogf.c (__clogf): Likewise.
14908 * math/s_clogl.c (__clogl): Likewise.
14909 * math/libm-test.inc (clog_test): Add more tests.
14910 (clog10_test): Likewise.
14911 * sysdeps/i386/fpu/libm-test-ulps: Update.
14912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14914 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14917 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14918 by 7 not 8 to examine high bit of fractional part.
14921 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14922 for call to __mcount_internal.
14923 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14924 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14925 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14927 2012-07-06 Joseph Myers <joseph@codesourcery.com>
14930 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14931 approximation for values within 0x1p-13f of an odd multiple of
14933 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14934 exception. Add more tests.
14935 * sysdeps/i386/fpu/libm-test-ulps: Update.
14938 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14939 inputs and return -1 for them. Do not check for +Inf in case not
14940 reachable for +Inf.
14941 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14942 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14943 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14944 and return -1 for them. Do not check for +Inf in case not
14945 reachable for +Inf.
14946 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14948 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14949 and return -1 for them. Do not check for +Inf in case not
14950 reachable for +Inf.
14951 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14952 spurious underflow.
14953 * sysdeps/i386/fpu/libm-test-ulps: Update.
14954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14956 2012-07-06 Mike Frysinger <vapier@gentoo.org>
14958 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14960 2012-07-05 Joseph Myers <joseph@codesourcery.com>
14964 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14965 could result in spurious underflow. Scale down values above
14966 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14967 * math/s_csqrtf.c (__csqrtf): Likewise.
14968 * math/s_csqrtl.c (__csqrtl): Likewise.
14969 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14970 spurious underflow.
14971 * sysdeps/i386/fpu/libm-test-ulps: Update.
14972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14974 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14976 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14978 * catgets/xopen-msg.awk: New file.
14979 * catgets/xopen-msg.sed: Removed.
14981 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14983 * intl/po2test.awk: New file.
14984 * intl/po2test.sed: Removed.
14986 2012-07-04 Joseph Myers <joseph@codesourcery.com>
14989 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14990 or multiply small sinh result by itself.
14991 * math/s_ctanf.c (__ctanf): Likewise.
14992 * math/s_ctanh.c (__ctanh): Likewise.
14993 * math/s_ctanhf.c (__ctanhf): Likewise.
14994 * math/s_ctanhl.c (__ctanhl): Likewise.
14995 * math/s_ctanl.c (__ctanl): Likewise.
14996 * math/libm-test.inc (ctan_test_tonearest): New function.
14997 (ctan_test_towardzero): Likewise.
14998 (ctan_test_downward): Likewise.
14999 (ctan_test_upward): Likewise.
15000 (ctanh_test_tonearest): Likewise.
15001 (ctanh_test_towardzero): Likewise.
15002 (ctanh_test_downward): Likewise.
15003 (ctanh_test_upward): Likewise.
15004 (main): Call these new functions.
15005 * sysdeps/i386/fpu/libm-test-ulps: Update.
15006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15008 2012-07-03 Mike Frysinger <vapier@gentoo.org>
15010 * .gitignore: Delete /ports entry.
15012 2012-07-03 Andreas Jaeger <aj@suse.de>
15014 * po/bg.po: Update from translation team.
15015 * po/cs.po: Likewise.
15016 * po/de.po: Likewise.
15017 * po/hr.po: Likewise.
15018 * po/nl.pl: Likewise.
15019 * po/pl.po: Likewise.
15020 * po/vi.po: Likewise.
15022 2012-07-03 Joseph Myers <joseph@codesourcery.com>
15024 * Makeconfig [!+link] (+link-before-libc): New variable.
15025 [!+link] (+link-after-libc): Likewise.
15026 [!+link] (+link-tests): Likewise.
15027 [!+link] (+link): Define in terms of $(+link-before-libc) and
15028 $(+link-after-libc).
15029 [!+link-static] (+link-static-before-libc): New variable.
15030 [!+link-static] (+link-static-after-libc): Likewise.
15031 [!+link-static] (+link-static-tests): Likewise.
15032 [!+link-static] (+link-static): Define in terms of
15033 $(+link-static-before-libc) and $(+link-static-after-libc).
15034 [build-shared] (link-libc-before-gnulib): New variable.
15035 [build-shared] (link-libc-tests): Likewise.
15036 [build-shared] (link-libc): Define in terms of
15037 $(link-libc-before-gnulib).
15038 [!build-shared] (link-libc-tests): New variable.
15039 (link-libc-static-tests): New variable.
15040 [!gnulib] (gnulib-arch): New variable.
15041 [!gnulib] (gnulib-tests): Likewise.
15042 [!gnulib] (static-gnulib-arch): Likewise.
15043 [!gnulib] (static-gnulib-tests): Likewise.
15044 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15045 Define with "=" instead of ":=".
15046 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15047 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15048 * Rules (binaries-all-notests): New variable.
15049 (binaries-all-tests): Likewise.
15050 (binaries-static-notests): Likewise.
15051 (binaries-static-tests): Likewise.
15052 (binaries-all): Define using $(binaries-all-notests) and
15053 $(binaries-all-tests).
15054 (binaries-static): Define using $(binaries-static-notests) and
15055 $(binaries-static-tests).
15056 (binaries-shared-tests): New variable.
15057 (binaries-shared-notests): Likewise.
15058 (binaries-shared): Remove variable.
15059 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15060 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15061 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15062 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15063 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15064 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15065 * elf/Makefile (sln-modules): New variable.
15066 (extra-objs): Add $(sln-modules:=.o).
15067 (ldconfig-modules): Add static-stubs.
15068 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15069 * elf/static-stubs.c: New file.
15072 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15073 by 7 not 8 to examine high bit of fractional part. Use volatile
15074 variables when splitting into final array of floats if
15075 __FLT_EVAL_METHOD__ != 0.
15076 * math/libm-test.inc (cos_test): Add another test.
15077 (sin_test): Likewise.
15078 * sysdeps/i386/fpu/libm-test-ulps: Update.
15081 * math/libm-test.inc (cosh_test): Add more tests.
15083 * version.h (RELEASE): Set to "development".
15084 (VERSION): Set to "2.16.90".
15086 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15088 * NEWS: Update copyright. Remove last-updated date.
15089 Mention math library bug fixes and timezone data changes.
15090 * README: Mention GNU/Hurd, x32, and HPPA support status.
15092 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15094 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15096 2012-06-27 Andreas Jaeger <aj@suse.de>
15098 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15100 2012-06-25 Andreas Jaeger <aj@suse.de>
15102 * sysdeps/s390/fpu/libm-test-ulps: Update.
15104 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15105 Thomas Schwinge <thomas@codesourcery.com>
15107 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15108 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15109 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15112 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15114 * sysdeps/mach/start.c: Remove file.
15115 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15116 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15117 * sysdeps/sh/init-first.c: Likewise.
15119 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15120 registers for frame unwinding purposes, add CFI directives.
15121 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15122 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15123 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15126 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15127 __fortify_fail returning.
15128 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15130 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15131 sysdeps/sh/____longjmp_chk.S.
15132 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15133 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15134 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15135 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15137 * sysdeps/sh/abort-instr.h: New file.
15138 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15139 process in case exit returns.
15141 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15142 initialize the GOT register before use.
15144 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15145 calculation of ARGC > 4.
15147 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15148 meaningful names to some local labels.
15150 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15151 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15153 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15154 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15155 (__arch_compare_and_exchange_val_16_acq): Likewise.
15156 (__arch_compare_and_exchange_val_32_acq): Likewise.
15157 (atomic_exchange_and_add): Fix gUSA sequence.
15158 (atomic_add): Likewise.
15159 (atomic_add_negative): Likewise.
15160 (atomic_add_zero): Likewise.
15161 (atomic_bit_test_set): Likewise.
15163 2012-06-22 Andreas Schwab <schwab@redhat.com>
15166 * include/link.h (struct link_map): Add l_free_initfini.
15167 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15169 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15170 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15171 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15174 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15176 * configure.in: Use AC_LANG_SOURCE.
15177 * configure: Regenerate.
15179 2012-06-22 Roland McGrath <roland@hack.frob.com>
15181 * configure.in (libc_cv_localstatedir): New substituted variable.
15182 * configure: Regenerated.
15183 * config.make.in (localstatedir): New variable, substituted from
15184 libc_cv_localstatedir.
15185 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15186 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15187 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15188 * sysdeps/gnu/configure: Regenerated.
15190 2012-06-21 Jeff Law <law@redhat.com>
15193 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15194 free. Simplify list management for _LIBC case.
15196 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15199 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15200 Clear sign bit of 64-bit integer value before comparing against
15203 * sysdeps/mach/configure: Regenerated.
15205 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15208 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15210 2012-06-21 Jeff Law <law@redhat.com>
15213 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15214 uint16_t for elements in the "seen" array to avoid char overflows.
15215 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15216 * elf/dl-open.c (dl_open_worker): Likewise.
15218 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15220 * scripts/list-sources.sh: Scan PORTS for translations.
15221 * po/libc.pot: Regenerated.
15223 2012-06-21 Andreas Jaeger <aj@suse.de>
15226 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15228 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15229 * bits/byteswap-16.h (__bswap_16): Likewise.
15230 * bits/byteswap.h (__bswap_constant_16): Likewise.
15232 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15235 * sysdeps/i386/fpu_control.h: Removed.
15236 * sysdeps/x86_64/fpu_control.h: Moved to ...
15237 * sysdeps/x86/fpu_control.h: Here.
15239 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15240 (_FPU_SETCW): Likewise.
15242 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15245 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15246 * sysdeps/x86/fpu/bits/mathinline.h: This.
15247 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15251 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15252 functions if __x86_64__ is defined.
15254 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15256 * string/endian.h: Add !__ASSEMBLER__ condition for including
15257 conversion interfaces.
15259 2012-06-15 Joseph Myers <joseph@codesourcery.com>
15262 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15263 of ABS(x) in calculating zero to negative powers other than odd
15265 * math/libm-test.inc (pow_test): Add more tests.
15267 2012-06-15 Andreas Jaeger <aj@suse.de>
15269 * manual/contrib.texi (Contributors): Update entry of Liubov
15270 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15273 2012-06-15 Cyril Hrubis <metan@ucw.cz>
15275 * string/string.h: Add __wur to GNU version of strerror_r.
15277 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15280 * string/Makefile (tests): Add tst-strtok_r.
15281 * string/tst-strtok_r.c: New file.
15282 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15283 RAX_LP/RDX_LP on SAVE_PTR.
15285 2012-06-14 Roland McGrath <roland@hack.frob.com>
15287 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15289 2012-06-14 Joseph Myers <joseph@codesourcery.com>
15291 * libm_test.inc (csqrt_test): Allow more spurious underflow
15293 (j0_test): Likewise.
15294 (j1_test): Likewise.
15295 (y0_test): Likewise.
15296 (y1_test): Likewise.
15298 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15300 * po/Makefile (libc.pot): Use UTF-8 charset.
15302 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15305 Suppress sign-conversion warning from FD_SET.
15306 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15307 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15308 not unsigned long int.
15309 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15311 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15315 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15316 __extern_always_inline instead of __extern_inline.
15317 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15318 (__signbit): Likewise.
15319 (__signbitl): Support C++ namespace.
15320 (lrintf): New inline function.
15322 (llrintf): Likewise.
15323 (llrint): Likewise.
15333 (floorf): Likewise.
15334 (nearbyint): Likewise.
15335 (nearbyintf): Likewise.
15337 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15339 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15340 non-default versions.
15342 2012-06-11 Roland McGrath <roland@hack.frob.com>
15345 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15347 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15349 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15350 (FE_UPWARD, FE_DOWNWARD): Don't define.
15351 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15352 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15354 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15356 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15357 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15359 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15361 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15362 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15363 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15364 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15366 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15369 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15370 * sysdeps/i386/fpu/Implies: New file.
15371 * sysdeps/x86_64/fpu/Implies: Likewise.
15372 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15373 * sysdeps/x86/fpu/bits/fenv.h: This.
15375 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15378 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15381 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15382 character 0xffff that matches the last element of the
15385 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15387 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15390 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15393 values higher than 25.6283.
15395 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15397 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15398 subnormal exponent extraction and add some __builtin_expect.
15399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15400 Fix for subnormal mantissa calculation.
15402 2012-06-04 Mike Frysinger <vapier@gentoo.org>
15404 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15405 cpu2 is -1 and errno is not ENOSYS.
15407 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15410 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15411 * sysdeps/x86/bits/string.h: This.
15412 * sysdeps/x86_64/bits/string.h: Removed.
15414 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15415 if not compiling for x86-64, but compiling for >= i486.
15417 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15418 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15420 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15421 New macro from Linux kernel 3.4.0.
15422 (FP_XSTATE_MAGIC2): Likewise.
15423 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15424 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15425 (struct _fpx_sw_bytes): New struct.
15426 (struct _xsave_hdr): Likewise.
15427 (struct _ymmh_state): Likewise.
15428 (struct _xstate): Likewise.
15430 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15431 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15432 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15433 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15434 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15435 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15437 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15438 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15439 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15440 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15441 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15442 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15444 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15447 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15448 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15449 (sysdep_headers): Include sys/platform/ppc.h.
15450 * sysdeps/powerpc/test-gettimebase.c: Test for
15451 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15452 * manual/Makefile (appendices): Include platform.texi.
15453 * manual/contrib.texi (Contributors): Update @node pointers.
15454 * manual/maint.texi (Maintenance): Likewise.
15455 (Platform): New node.
15456 * manual/platform.texi: New file. Document the new features.
15458 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15459 Jakub Jelinek <jakub@redhat.com>
15462 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15463 where __builtin_expect is unavailable.
15465 2012-06-03 David S. Miller <davem@davemloft.net>
15467 * stdlib/longlong.h: Updated from GCC.
15469 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15472 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15473 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15476 (GLIBC_2.16): Likewise.
15478 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15480 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15482 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15485 (default-abi): New variable.
15486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15487 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15489 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15491 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15493 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15496 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15497 definition. Document in comment.
15499 2012-06-01 David S. Miller <davem@davemloft.net>
15501 * stdlib/longlong.h: Updated from GCC.
15503 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15506 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15507 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15508 sys/debugreg.h sys/io.h here.
15509 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15510 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15512 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15513 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15514 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15515 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15516 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15517 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15519 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15520 Define only if __x86_64__ is defined.
15522 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15525 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15526 Use int64_t for variable i.
15527 * math/libm-test.inc (fmod_test): Add more tests.
15529 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15530 z computation is not scheduled after fetestexcept.
15531 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15532 Use math_force_eval instead of asm to ensure calculation scheduled
15533 before exception test.
15534 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15535 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15537 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15540 computation is not scheduled after fetestexcept.
15542 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15545 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15546 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15548 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15550 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15551 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15553 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15556 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15558 (__WCHAR_MIN): Support __WORDSIZE == 64.
15559 (__WCHAR_MAX): Likewise.
15561 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15562 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15565 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15566 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15569 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15570 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15572 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15573 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15575 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15576 Defined to 1 if __x86_64__ isn't defined.
15577 (_STAT_VER_LINUX_OLD): New.
15578 (st_atime): Remove duplicate.
15579 (st_mtime): Likewise.
15580 (st_ctime): Likewise.
15582 2012-05-31 David S. Miller <davem@davemloft.net>
15584 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15587 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15589 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15593 * elf/dl-reloc.c: Include <_itoa.h>.
15594 (_dl_reloc_bad_type): Remove use of INTUSE.
15595 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15596 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15597 * stdio-common/psiginfo.c (psiginfo): Likewise.
15598 * stdio-common/psignal.c (psignal): Likewise.
15599 * string/strsignal.c (strsignal): Likewise.
15600 * include/signal.h (_sys_siglist): Declare hidden proto.
15601 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15602 INTVARDEF with libc_hidden_data_def.
15603 * stdio-common/itoa-udigits.c: Likewise.
15604 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15605 (_itoa_lower_digits_internal): Remove declaration.
15606 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15607 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15608 (_sys_sigabbrev_internal): Remove aliases.
15609 (_sys_siglist): Define hidden alias.
15611 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15616 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15619 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15620 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15622 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15623 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15624 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15625 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15626 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15627 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15629 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15630 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15631 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15633 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15641 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15642 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15643 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15645 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15646 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15647 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15648 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15649 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15650 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15652 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15653 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15655 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15656 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15658 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15659 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15660 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15662 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15663 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15665 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15667 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15668 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15669 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15671 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15673 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15675 2012-05-31 Joseph Myers <joseph@codesourcery.com>
15677 * math/math.h (M_El): Use two more decimal places.
15678 (M_LOG2El): Likewise.
15679 (M_LOG10El): Likewise.
15680 (M_LN2l): Likewise.
15681 (M_LN10l): Likewise.
15683 (M_PI_2l): Likewise.
15684 (M_PI_4l): Likewise.
15685 (M_1_PIl): Likewise.
15686 (M_2_PIl): Likewise.
15687 (M_2_SQRTPIl): Likewise.
15688 (M_SQRT2l): Likewise.
15689 (M_SQRT1_2l): Likewise.
15691 2012-05-31 David S. Miller <davem@davemloft.net>
15693 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15694 values between float registers.
15695 * sysdeps/sparc/sparc64/memset.S: Likewise.
15696 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15698 2012-05-31 Mike Frysinger <vapier@gentoo.org>
15700 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15701 -D_FORTIFY_SOURCE=1.
15702 (CPPFLAGS-tst-longjmp_chk.c): Define.
15703 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15704 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15705 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15706 CFLAGS-tst-wchar-h.c.
15708 2012-05-31 Marek Polacek <polacek@redhat.com>
15711 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15712 __endmntent_internal): Remove declaration.
15713 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15714 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15715 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15717 2012-05-30 David S. Miller <davem@davemloft.net>
15719 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15720 (___Q_simulate_exceptions): Use real FP ops rather than writing
15722 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15725 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15728 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15729 * sysdeps/x86/bits/xtitypes.h: This.
15731 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15732 * sysdeps/x86/bits/wordsize.h: This.
15734 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15735 * sysdeps/x86/bits/huge_vall.h: This.
15737 * sysdeps/i386/bits/select.h: Removed.
15738 * sysdeps/x86_64/bits/select.h: Renamed to ...
15739 * sysdeps/x86/bits/select.h: This.
15741 * sysdeps/i386/bits/setjmp.h: Removed.
15742 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15743 * sysdeps/x86/bits/setjmp.h: This.
15745 * sysdeps/i386/bits/mathdef.h: Removed.
15746 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15747 * sysdeps/x86/bits/mathdef.h: This.
15749 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15752 * include/sys/socket.h (__connect_internal)
15753 (__libc_sa_len_internal): Remove declaration.
15754 (__connect, __libc_sa_len): Declare hidden_proto.
15755 (SA_LEN): Remove use of INTUSE.
15756 * socket/connect.c: Add libc_hidden_def.
15757 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15758 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15759 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15761 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15762 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15763 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15764 of adding _internal alias.
15766 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15769 * sysdeps/i386/bits/link.h: Removed.
15770 * sysdeps/i386/bits/linkmap.h: Likewise.
15771 * sysdeps/x86_64/bits/link.h: Renamed to ...
15772 * sysdeps/x86/bits/link.h: This.
15773 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15774 * sysdeps/x86/bits/linkmap.h: This.
15776 * sysdeps/i386/bits/endian.h: Removed.
15777 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15778 * sysdeps/x86/bits/endian.h: This.
15780 * sysdeps/i386/bits/byteswap.h: Removed.
15781 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15782 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15783 * sysdeps/x86/bits/byteswap.h: This.
15784 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15785 * sysdeps/x86/bits/byteswap-16.h: This.
15786 * sysdeps/i386/Implies: Add x86.
15787 * sysdeps/x86_64/Implies: Likewise.
15789 2012-05-30 David S. Miller <davem@davemloft.net>
15791 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15792 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15793 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15794 (FP_TRAPPING_EXCEPTIONS): Define.
15795 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15796 (FP_TRAPPING_EXCEPTIONS): Define.
15797 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15798 subnormals only when inexact has been signalled or underflow
15799 exceptions are enabled.
15800 (_FP_PACK_CANONICAL): Likewise.
15802 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15805 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15806 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15808 2012-05-30 Richard Henderson <rth@twiddle.net>
15810 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15811 with #ifndef NOT_IN_libc.
15813 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15814 marked to avoid plt entry.
15816 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15819 * Makeconfig (default-abi): New macro.
15820 (abi-includes): Likewise.
15821 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15822 $(abi-$(default-abi)-lib-soname) for soname if defined.
15823 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15825 * Makefile (installed-stubs): Likewise.
15826 * include/stubs-biarch.h: Removed.
15827 * scripts/lib-names.awk: Only handle one library at a time.
15828 * scripts/soversions.awk: Remove WORDSIZE support.
15829 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15831 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15833 (syscall-list-default-condition): Likewise.
15834 (syscall-list-default-condition): Likewise.
15835 (syscall-list-includes): Likewise.
15836 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15837 syscall-list-* with abi-*. Handle undefined abi-variants.
15838 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15839 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15840 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15841 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15842 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15843 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15845 (syscall-list-32-options): Likewise.
15846 (syscall-list-32-condition): Likewise.
15847 (syscall-list-64-options): Likewise.
15848 (syscall-list-64-condition): Likewise.
15849 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15851 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15854 (abi-64-ld-soname): New macro.
15855 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15856 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15859 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15860 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15862 2012-05-30 Joseph Myers <joseph@codesourcery.com>
15864 * sysdeps/unix/sysv/linux/kernel-features.h
15865 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15866 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15867 include <kernel-features.h>.
15868 [!__NR_ftruncate64]: Remove conditional code.
15869 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15870 [__NR_ftruncate64]: Make code unconditional.
15871 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15872 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15873 include <kernel-features.h>.
15874 [!__NR_ftruncate64]: Remove conditional code.
15875 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15876 [__NR_ftruncate64]: Make code unconditional.
15877 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15879 include <kernel-features.h>.
15880 [!__NR_ftruncate64]: Remove conditional code.
15881 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15882 [__NR_ftruncate64]: Make code unconditional.
15883 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15885 include <kernel-features.h>.
15886 [!__NR_ftruncate64]: Remove conditional code.
15887 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15888 [__NR_ftruncate64]: Make code unconditional.
15889 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15891 * configure.in (libc_cv_fpie): Weaken to a compile test using
15892 LIBC_TRY_CC_OPTION.
15893 * configure: Regenerated.
15895 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15910 2012-05-27 David S. Miller <davem@davemloft.net>
15912 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15914 (__Q_simulate_exceptions): Return void. Change to simulate
15915 exceptions by writing into the %fsr.
15916 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15917 (__Qp_handle_exceptions): Likewise.
15919 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15920 __Qp_handle_exceptions.
15921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15922 __Qp_handle_exceptions.
15923 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15924 as unused and give dummy FP_RND_NEAREST initializer.
15925 (FP_INHIBIT_RESULTS): Define.
15926 (___Q_simulate_exceptions): Update declaration.
15927 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15929 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15930 as unused and give dummy FP_RND_NEAREST initializer.
15931 (__Qp_handle_exceptions): Update declaration.
15932 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15935 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15937 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15938 the temporary FPU control word.
15939 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15940 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15941 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15942 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15943 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15944 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15945 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15946 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15947 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15948 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15949 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15951 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15953 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15956 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15958 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15959 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15960 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15961 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15963 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15964 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15967 2012-05-27 Ulrich Drepper <drepper@gmail.com>
15969 * po/h.po: Update from translation team.
15971 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15973 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15975 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15976 handling of denormals.
15977 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15978 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15979 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15980 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15981 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15982 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15983 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15986 2012-05-26 Marek Polacek <polacek@redhat.com>
15989 * math/libm-test.inc (fma_test): Don't always expect underflow
15992 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15995 * elf/tst-execstack.c: Include stackinfo.h.
15996 (do_test): Adjust test case to ensure that pthread_getattr_np
15997 behaviour remains the same after marking stack executable.
15999 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16001 * sysdeps/unix/sysv/linux/kernel-features.h
16002 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16003 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16005 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16006 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16007 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16009 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16010 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16012 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16014 * configure.in: Define the default includes to being none.
16015 * configure: Regenerated.
16017 2012-05-25 Roland McGrath <roland@hack.frob.com>
16019 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16020 * sysdeps/x86_64/setjmp.S: Likewise.
16021 * sysdeps/i386/bsd-setjmp.S: Likewise.
16022 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16023 * sysdeps/i386/setjmp.S: Likewise.
16024 * sysdeps/i386/__longjmp.S: Likewise.
16025 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16026 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16028 * include/stap-probe.h: New file.
16029 * configure.in: Handle --enable-systemtap.
16030 * configure: Regenerated.
16031 * config.h.in (USE_STAP_PROBE): New #undef.
16032 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16033 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16034 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16036 2012-05-25 Joseph Myers <joseph@codesourcery.com>
16039 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16040 to 2.4.0 where earlier.
16041 * sysdeps/unix/sysv/linux/configure: Regenerated.
16042 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16043 <kernel-features.h>.
16044 [__ASSUME_32BITUIDS]: Make code unconditional.
16045 [!__ASSUME_32BITUIDS]: Remove conditional code.
16046 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16047 <kernel-features.h>.
16048 [__ASSUME_32BITUIDS]: Make code unconditional.
16049 [!__ASSUME_32BITUIDS]: Remove conditional code.
16050 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16051 [__ASSUME_32BITUIDS]: Make code unconditional.
16052 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16053 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16054 <kernel-features.h>.
16055 [__ASSUME_32BITUIDS]: Make code unconditional.
16056 [!__ASSUME_32BITUIDS]: Remove conditional code.
16057 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16058 <kernel-features.h>.
16059 [__ASSUME_32BITUIDS]: Make code unconditional.
16060 [!__ASSUME_32BITUIDS]: Remove conditional code.
16061 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16062 <kernel-features.h>.
16063 [__ASSUME_32BITUIDS]: Make code unconditional.
16064 [!__ASSUME_32BITUIDS]: Remove conditional code.
16065 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16066 <kernel-features.h>.
16067 [__ASSUME_32BITUIDS]: Make code unconditional.
16068 [!__ASSUME_32BITUIDS]: Remove conditional code.
16069 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16070 <kernel-features.h>.
16071 [__ASSUME_32BITUIDS]: Make code unconditional.
16072 [!__ASSUME_32BITUIDS]: Remove conditional code.
16073 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16074 <kernel-features.h>.
16075 [__ASSUME_32BITUIDS]: Make code unconditional.
16076 [!__ASSUME_32BITUIDS]: Remove conditional code.
16077 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16078 <kernel-features.h>.
16079 [__ASSUME_32BITUIDS]: Make code unconditional.
16080 [!__ASSUME_32BITUIDS]: Remove conditional code.
16081 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16082 <kernel-features.h>.
16083 [__ASSUME_32BITUIDS]: Make code unconditional.
16084 [!__ASSUME_32BITUIDS]: Remove conditional code.
16085 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16086 <kernel-features.h>.
16087 [__ASSUME_32BITUIDS]: Make code unconditional.
16088 [!__ASSUME_32BITUIDS]: Remove conditional code.
16089 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16090 <kernel-features.h>.
16091 [__ASSUME_32BITUIDS]: Make code unconditional.
16092 [!__ASSUME_32BITUIDS]: Remove conditional code.
16093 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16094 <kernel-features.h>.
16095 [__NR_setresgid] (__setresgid): Do not declare.
16096 [__ASSUME_32BITUIDS]: Make code unconditional.
16097 [!__ASSUME_32BITUIDS]: Remove conditional code.
16098 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16099 <kernel-features.h>.
16100 [__NR_setresuid] (__setresuid): Do not declare.
16101 [__ASSUME_32BITUIDS]: Make code unconditional.
16102 [!__ASSUME_32BITUIDS]: Remove conditional code.
16103 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16104 <kernel-features.h>.
16105 [__ASSUME_32BITUIDS]: Make code unconditional.
16106 [!__ASSUME_32BITUIDS]: Remove conditional code.
16107 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16108 <kernel-features.h>.
16109 [__ASSUME_32BITUIDS]: Make code unconditional.
16110 [!__ASSUME_32BITUIDS]: Remove conditional code.
16111 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16112 <kernel-features.h>.
16113 [__ASSUME_32BITUIDS]: Make code unconditional.
16114 [!__ASSUME_32BITUIDS]: Remove conditional code.
16115 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16116 <kernel-features.h>.
16117 [__ASSUME_32BITUIDS]: Make code unconditional.
16118 [!__ASSUME_32BITUIDS]: Remove conditional code.
16119 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16120 <kernel-features.h>.
16121 [__ASSUME_32BITUIDS]: Make code unconditional.
16122 [!__ASSUME_32BITUIDS]: Remove conditional code.
16123 * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.c: Do not include
16132 <kernel-features.h>.
16133 [__ASSUME_32BITUIDS]: Make code unconditional.
16134 [!__ASSUME_32BITUIDS]: Remove conditional code.
16135 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16136 <kernel-features.h>.
16137 [__ASSUME_32BITUIDS]: Make code unconditional.
16138 [!__ASSUME_32BITUIDS]: Remove conditional code.
16139 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16140 <kernel-features.h>.
16141 [__ASSUME_32BITUIDS]: Make code unconditional.
16142 [!__ASSUME_32BITUIDS]: Remove conditional code.
16143 * sysdeps/unix/sysv/linux/kernel-features.h
16144 (__ASSUME_SETRESUID_SYSCALL): Remove.
16145 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16146 (__ASSUME_32BITUIDS): Likewise.
16147 (__ASSUME_LDT_WORKS): Likewise.
16148 (__ASSUME_O_DIRECTORY): Likewise.
16149 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16150 architecture but not kernel version.
16151 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16152 (__ASSUME_MMAP2_SYSCALL): Likewise.
16153 (__ASSUME_STAT64_SYSCALL): Likewise.
16154 (__ASSUME_IPC64): Likewise.
16155 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16156 <kernel-features.h>.
16157 [__ASSUME_32BITUIDS]: Make code unconditional.
16158 [!__ASSUME_32BITUIDS]: Remove conditional code.
16159 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16160 <kernel-features.h>.
16161 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16162 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16163 132096]: Remove conditional code.
16164 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16165 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16166 <kernel-features.h>.
16167 [__ASSUME_32BITUIDS]: Make code unconditional.
16168 [!__ASSUME_32BITUIDS]: Remove conditional code.
16169 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16170 <kernel-features.h>.
16171 [__ASSUME_32BITUIDS]: Make code unconditional.
16172 [!__ASSUME_32BITUIDS]: Remove conditional code.
16173 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16174 <kernel-features.h>.
16175 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16177 (__setresgid): Do not declare.
16178 [__ASSUME_32BITUIDS]: Make code unconditional.
16179 [!__ASSUME_32BITUIDS]: Remove conditional code.
16180 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16181 <kernel-features.h>.
16182 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16184 (__setresuid): Do not declare.
16185 [__ASSUME_32BITUIDS]: Make code unconditional.
16186 [!__ASSUME_32BITUIDS]: Remove conditional code.
16187 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16188 <kernel-features.h>.
16189 [__ASSUME_32BITUIDS]: Make code unconditional.
16190 [!__ASSUME_32BITUIDS]: Remove conditional code.
16191 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16192 <kernel-features.h>.
16193 [__ASSUME_32BITUIDS]: Make code unconditional.
16194 [!__ASSUME_32BITUIDS]: Remove conditional code.
16196 2012-05-25 Richard Henderson <rth@twiddle.net>
16198 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16199 dl_hwcap to ifunc resolver.
16200 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16202 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16203 dl_hwcap to ifunc resolver.
16204 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16206 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16209 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16210 for |x| <= 2**-26, not 2**-57.
16211 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16214 2012-05-24 Jeff Law <law@redhat.com>
16216 * stdio-common/Makefile (tests): Add bug25.
16217 * stdio-common/bug25.c: New test.
16219 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16222 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16223 multiple of MALLOC_ALIGNMENT in size.
16224 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16226 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16228 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16230 (FILENAME_MAX): Use macro-int-constant.
16231 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16232 (_IOFBF): Use macro-int-constant.
16233 (_IOLBF): Likewise.
16234 (_IONBF): Likewise.
16235 (SEEK_CUR): Likewise.
16236 (SEEK_END): Likewise.
16237 (SEEK_SET): Likewise.
16238 (TMP_MAX): Likewise.
16239 (EOF): Use macro-int-constant. Require < 0.
16240 (NULL): Use macro-constant. Require == 0.
16241 (stdin): Require type to be FILE *.
16242 (stdout): Likewise.
16243 (stderr): Likewise.
16244 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16245 macro-int-constant.
16246 (EXIT_SUCCESS): Likewise.
16247 (NULL): Use macro-constant. Require == 0.
16248 (RAND_MAX): Use macro-int-constant.
16249 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16250 [C99-based standards] (strtof): Require function.
16251 [C99-based standards] (strtold): Likewise.
16252 [C99-based standards] (strtoll): Likewise.
16253 [C99-based standards] (strtoull): Likewise.
16254 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16255 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16256 [ISO || ISO99 || ISO11] (math.h): Likewise.
16257 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16258 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16259 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16261 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16264 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16265 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16266 * intl/dgettext.c (DCGETTEXT): Likewise.
16267 * intl/gettext.c (DCGETTEXT): Likewise.
16268 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16269 * posix/regex_internal.h (gettext): Likewise.
16270 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16271 Remove declaration.
16272 * include/argz.h (__argz_count_internal)
16273 (__argz_stringify_internal): Remove declaration.
16274 (__argz_count, __argz_stringify): Declare hidden proto.
16275 * intl/dcgettext.c: Remove use of INTDEF.
16276 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16277 * string/argz-stringify.c: Likewise.
16278 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16279 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16280 Declare hidden proto.
16281 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16282 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16283 Declare hidden proto.
16284 * include/stdio.h (__asprintf_internal): Don't declare.
16285 (__asprintf): Don't define as macro. Declare hidden proto.
16286 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16287 (__fsetlocking): Declare hidden proto.
16288 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16289 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16291 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16292 (_IO_setlinebuf): Remove use of INTUSE.
16293 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16294 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16295 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16296 Remove declaration.
16297 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16298 (_IO_do_flush): Remove use of INTUSE.
16299 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16300 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16301 (_IO_adjust_column, _IO_least_wmarker)
16302 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16303 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16304 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16305 (_IO_default_doallocate, _IO_wdefault_doallocate)
16306 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16307 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16308 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16309 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16310 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16311 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16312 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16313 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16314 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16315 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16316 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16317 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16318 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16320 (_IO_flush_all_internal, _IO_adjust_column_internal)
16321 (_IO_default_uflow_internal, _IO_default_finish_internal)
16322 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16323 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16324 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16325 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16326 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16327 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16328 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16329 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16330 (_IO_file_close_internal, _IO_file_close_it_internal)
16331 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16332 (_IO_file_init_internal, _IO_file_attach_internal)
16333 (_IO_file_fopen_internal, _IO_file_read_internal)
16334 (_IO_file_sync_internal, _IO_file_seek_internal)
16335 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16336 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16337 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16338 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16339 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16340 (_IO_list_all_internal, _IO_link_in_internal)
16341 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16342 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16343 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16344 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16345 (_IO_do_write_internal, _IO_padn_internal)
16346 (_IO_getline_info_internal, _IO_getline_internal)
16347 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16348 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16349 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16350 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16351 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16352 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16353 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16354 with libc_hidden_ver, remove use of INTUSE.
16355 * libio/genops.c: Likewise.
16356 * libio/freopen.c: Likewise.
16357 * libio/freopen64.c: Likewise.
16358 * libio/iofclose.c: Likewise.
16359 * libio/iofdopen.c: Likewise.
16360 * libio/iofflush.c: Likewise.
16361 * libio/iofflush_u.c: Likewise.
16362 * libio/iofgets.c: Likewise.
16363 * libio/iofgets_u.c: Likewise.
16364 * libio/iofopen.c: Likewise.
16365 * libio/iofopncook.c: Likewise.
16366 * libio/iofread.c: Likewise.
16367 * libio/iofread_u.c: Likewise.
16368 * libio/ioftell.c: Likewise.
16369 * libio/iofwrite.c: Likewise.
16370 * libio/iogetline.c: Likewise.
16371 * libio/iogets.c: Likewise.
16372 * libio/iogetwline.c: Likewise.
16373 * libio/iopadn.c: Likewise.
16374 * libio/iopopen.c: Likewise.
16375 * libio/ioseekoff.c: Likewise.
16376 * libio/ioseekpos.c: Likewise.
16377 * libio/iosetbuffer.c: Likewise.
16378 * libio/iosetvbuf.c: Likewise.
16379 * libio/ioungetc.c: Likewise.
16380 * libio/ioungetwc.c: Likewise.
16381 * libio/iovdprintf.c: Likewise.
16382 * libio/iovsprintf.c: Likewise.
16383 * libio/iovsscanf.c: Likewise.
16384 * libio/memstream.c: Likewise.
16385 * libio/obprintf.c: Likewise.
16386 * libio/oldfileops.c: Likewise.
16387 * libio/oldiofclose.c: Likewise.
16388 * libio/oldiofdopen.c: Likewise.
16389 * libio/oldiofopen.c: Likewise.
16390 * libio/oldiopopen.c: Likewise.
16391 * libio/oldstdfiles.c: Likewise.
16392 * libio/putc.c: Likewise.
16393 * libio/setbuf.c: Likewise.
16394 * libio/setlinebuf.c: Likewise.
16395 * libio/stdfiles.c: Likewise.
16396 * libio/strops.c: Likewise.
16397 * libio/vasprintf.c: Likewise.
16398 * libio/vscanf.c: Likewise.
16399 * libio/vsnprintf.c: Likewise.
16400 * libio/vswprintf.c: Likewise.
16401 * libio/wfiledoalloc.c: Likewise.
16402 * libio/wfileops.c: Likewise.
16403 * libio/wgenops.c: Likewise.
16404 * libio/wmemstream.c: Likewise.
16405 * libio/wstrops.c: Likewise.
16406 * libio/__fpurge.c: Likewise.
16407 * libio/__fsetlocking.c: Likewise.
16408 * assert/assert.c: Likewise.
16409 * debug/fgets_chk.c: Likewise.
16410 * debug/fgets_u_chk.c: Likewise.
16411 * debug/fread_chk.c: Likewise.
16412 * debug/fread_u_chk.c: Likewise.
16413 * debug/gets_chk.c: Likewise.
16414 * debug/obprintf_chk.c: Likewise.
16415 * debug/vasprintf_chk.c: Likewise.
16416 * debug/vdprintf_chk.c: Likewise.
16417 * debug/vsnprintf_chk.c: Likewise.
16418 * debug/vsprintf_chk.c: Likewise.
16419 * malloc/mtrace.c: Likewise.
16420 * misc/error.c: Likewise.
16421 * misc/syslog.c: Likewise.
16422 * stdio-common/asprintf.c: Likewise.
16423 * stdio-common/fxprintf.c: Likewise.
16424 * stdio-common/getw.c: Likewise.
16425 * stdio-common/isoc99_fscanf.c: Likewise.
16426 * stdio-common/isoc99_scanf.c: Likewise.
16427 * stdio-common/isoc99_vfscanf.c: Likewise.
16428 * stdio-common/isoc99_vscanf.c: Likewise.
16429 * stdio-common/isoc99_vsscanf.c: Likewise.
16430 * stdio-common/printf-prs.c: Likewise.
16431 * stdio-common/printf_fp.c: Likewise.
16432 * stdio-common/printf_fphex.c: Likewise.
16433 * stdio-common/printf_size.c: Likewise.
16434 * stdio-common/putw.c: Likewise.
16435 * stdio-common/scanf.c: Likewise.
16436 * stdio-common/sprintf.c: Likewise.
16437 * stdio-common/tmpfile.c: Likewise.
16438 * stdio-common/vfprintf.c: Likewise.
16439 * stdio-common/vfscanf.c: Likewise.
16440 * stdlib/strfmon_l.c: Likewise.
16441 * sunrpc/openchild.c: Likewise.
16442 * sunrpc/xdr_stdio.c: Likewise.
16443 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16444 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16446 2012-05-24 Roland McGrath <roland@hack.frob.com>
16448 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16450 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16451 in the third column, to generate for the shared library an IFUNC
16452 that uses _dl_vdso_vsym.
16453 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16454 * Makeconfig (object-suffixes-noshared): New variable.
16456 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16457 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16458 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16459 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16462 * include/sys/time.h (__gettimeofday): Remove macro.
16463 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16464 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16466 (__gettimeofday): Add libc_hidden_def.
16467 (gettimeofday): Add libc_hidden_weak.
16468 * sysdeps/mach/gettimeofday.c: Likewise.
16469 * sysdeps/posix/gettimeofday.c: Likewise.
16470 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16471 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16472 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16473 (__gettimeofday_internal): Remove strong_alias.
16474 (__gettimeofday): Add libc_hidden_def.
16475 (gettimeofday): Add libc_hidden_weak.
16476 * sysdeps/unix/syscalls.list (gettimeofday):
16477 Remove __gettimeofday_internal alias.
16479 2012-05-24 Daniel Jacobowitz <drow@false.org>
16480 H.J. Lu <hongjiu.lu@intel.com>
16483 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16484 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16485 (largebin_index_32_big): New.
16486 (largebin_index): Use it for 16-byte alignment.
16487 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16488 correction with front_misalign.
16490 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16503 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16505 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16507 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16518 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16519 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16521 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16525 * math/libm-test.inc (exp_test): Add test from bug 14036.
16526 (pow_test): Add test from bug 10846.
16528 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16530 (special_function): Do not include flags in test name.
16531 (parse_args): Likewise.
16532 * sysdeps/i386/fpu/libm-test-ulps: Update.
16533 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16534 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16535 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16538 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16540 * math/libm-test.inc ("Philosophy"): Update comment about
16542 (UNDERFLOW_EXCEPTION): New macro.
16543 (UNDERFLOW_EXCEPTION_OK): Likewise.
16544 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16545 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16546 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16547 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16548 (INVALID_EXCEPTION_OK): Update value.
16549 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16550 (OVERFLOW_EXCEPTION_OK): Likewise.
16551 (IGNORE_ZERO_INF_SIGN): Likewise.
16552 (test_exceptions): Handle underflow exceptions.
16553 (acos_test): Update for underflow exception expectations.
16554 (cexp_test): Likewise.
16555 (clog_test): Likewise.
16556 (clog10_test): Likewise.
16557 (csqrt_test): Likewise.
16558 (ctan_test): Likewise.
16559 (ctanh_test): Likewise.
16560 (exp_test): Likewise.
16561 (exp10_test): Likewise.
16562 (exp2_test): Likewise.
16563 (expm1_test): Likewise.
16564 (fma_test): Likewise.
16565 (j0_test): Likewise.
16566 (jn_test): Likewise.
16567 (nexttoward_test): Likewise.
16568 (pow_test): Likewise.
16569 (scalbn_test): Likewise.
16570 (scalbln_test): Likewise.
16571 (tan_test): Likewise.
16572 (y1_test): Likewise.
16573 * sysdeps/i386/fpu/libm-test-ulps: Update.
16574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16576 2012-05-23 David S. Miller <davem@davemloft.net>
16578 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16579 (__libc_sigaction): Remove unused local variables.
16581 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16583 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16585 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16587 mktime: avoid signed integer overflow
16588 * time/mktime.c (__mktime_internal): Do not mishandle the case
16589 where diff == INT_MIN.
16591 mktime: simplify computation of average
16592 * time/mktime.c (ranged_convert): Use new time_t_avg function
16593 instead of rolling our own (probably-slower) code.
16595 mktime: do not assume signed right shift propagates sign bit
16596 * time/mktime.c (isdst_differ): New static function.
16597 (__mktime_internal): No need to normalize tm_isdst now.
16598 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16601 mktime: merge another wrapv change from gnulib
16602 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16603 from some compilers.
16605 mktime: remove incorrect attempt at unusual arithmetics
16606 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16607 The code didn't really work on such machines anyway.
16608 (TYPE_MINIMUM): Assume two's complement.
16609 (twos_complement_arithmetic): Verify that long_int and time_t
16610 are two's complement (or unsigned, in the latter case).
16612 mktime: check signed shifts on long_int and time_t, too
16613 * time/mktime.c (SHR): Check that shifts work as desired
16614 on the types long_int and time_t too, as SHR is used on
16617 mktime: do not assume 'long' is wide enough
16618 * time/mktime.c (verify): Move decl up.
16619 (long_int): New type.
16620 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16621 to remove assumption in the code that 'long' is wide enough to
16622 store year values. This assumption is not true on x32 and on
16623 some non-glibc platforms.
16625 mktime: merge wrapv change from gnulib
16626 * time/mktime.c (WRAPV): New macro.
16627 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16628 (guess_time_tm, __mktime_internal): Do not assume that signed
16629 integer overflow wraps around; modern compilers generate code
16630 where this assumption is no longer valid.
16632 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16634 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16635 Replace "jmp L(pseudo_end)" with "ret".
16636 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16639 2012-05-23 Andreas Jaeger <aj@suse.de>
16641 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16642 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16644 2012-05-23 Andreas Jaeger <aj@suse.de>
16645 Maximilian Attems <max@stro.at>
16647 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16650 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16652 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16653 code so that pseudo_end is just ret and the stack pointer is
16654 correct also for static library in error case.
16656 2012-05-23 Joseph Myers <joseph@codesourcery.com>
16658 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16659 move to syscalls.list.
16660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16665 * manual/install.texi (Running make install): Do not mention Linux
16666 kernel version for which pt_chown is not needed.
16667 (Linux): Do not mention problems with nscd with 2.0 kernels.
16668 * INSTALL: Regenerated.
16670 2012-05-23 Andreas Jaeger <aj@suse.de>
16672 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16673 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16675 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16676 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16677 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16678 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16679 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16680 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16681 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16682 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16683 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16684 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16685 * sysdeps/unix/sysv/linux/bits/in.h
16686 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16688 2012-05-22 Roland McGrath <roland@hack.frob.com>
16690 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16691 (PREPARE_VERSION): Just use assert instead, it will be elided
16692 under [NDEBUG] anyway.
16694 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16696 * sysdeps/unix/sysv/linux/Makefile: Include
16697 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16698 (sysdep_routines): Remove sysctl.
16699 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16700 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16701 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16702 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16703 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16705 2012-05-22 Andreas Jaeger <aj@suse.de>
16707 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16708 that pseudo_end is just ret and the stack pointer is correct also
16709 for static library in error case.
16711 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16714 * nss/nsswitch.c (defconfig_entries): New variable.
16715 (__nss_database_lookup): Don't leak defconfig entries.
16716 (nss_parse_service_list): Don't leak on error paths.
16717 (free_database_entries): New function.
16718 (free_defconfig): New function.
16719 (free_mem): Move common code to free_database_entries.
16721 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16723 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16725 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16727 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16728 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16731 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16732 (INTERNAL_SYSCALL_TYPES): Likewise.
16733 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16734 (LOAD_REGS_TYPES_[1-6]): Likewise.
16735 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16736 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16738 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16740 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16741 copysignl for GLIBC_2_0.
16742 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16743 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16744 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16745 logbl for GLIBC_2_0.
16746 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16747 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16749 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16751 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16752 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16754 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16757 * time/mktime.c: Update copyright years.
16759 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16761 mktime: merge comment-quoting-style change from gnulib
16762 * time/mktime.c: Quote 'like this' in comments.
16763 The GNU coding standards suggest that we no longer quote `like this',
16764 as "`" and "'" are typically rendered asymmetrically nowadays.
16765 The typical gnulib style is to quote 'like this' when quoting
16766 code, and "like this" when quoting English.
16768 * time/mktime.c (compile-command): Add "-I.".
16770 mktime: merge mktime-internal.h change from gnulib
16771 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16773 mktime: merge time_r change from gnulib
16774 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16776 mktime: merge DEBUG change from gnulib
16777 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16778 case system <time.h> has a #define.
16780 mktime: merge <sys/types.h> change from gnulib
16781 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16782 since <time.t> is now guaranteed to define time_t.
16784 mktime: merge HAVE_CONFIG_H change from gnulib
16785 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16787 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16792 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16794 (struct rusage): Use anonymous union to pad each field to
16797 2012-05-21 David S. Miller <davem@davemloft.net>
16799 * Makefules (o-iterator): Remove .s cases.
16800 (compile-command.s): Delete.
16801 (COMPILE.s): Delete.
16802 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16804 2012-05-21 Joseph Myers <joseph@codesourcery.com>
16806 * configure.in (libc_cv_predef_stack_protector): Only consider
16807 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16808 * configure: Regenerated.
16810 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16813 New macro. Use R*LP on int and pointer.
16814 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16815 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16816 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16817 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16819 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16820 [__WORDSIZE_TIME64_COMPAT32] instead of
16821 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16822 (struct utmp): Likewise.
16823 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16824 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16826 (__WORDSIZE_TIME64_COMPAT32): This.
16827 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16828 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16829 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16830 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16831 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16832 (__WORDSIZE_TIME64_COMPAT32): New macro.
16834 2012-05-21 Andreas Jaeger <aj@suse.de>
16836 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16837 only if [SHARED]. Add prototype for __wcschr_ia32.
16839 2012-05-21 Roland McGrath <roland@hack.frob.com>
16841 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16842 of %rbp unmolested in the jmp_buf while mangling the low bits.
16843 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16844 unmolested high bits of %rbp while demangling the low bits.
16845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16847 2012-05-21 Andreas Jaeger <aj@suse.de>
16849 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16850 * sunrpc/svc_simple.c: Use it for registerrpc.
16851 * sunrpc/xcrypt.c: Use it for passwd2des.
16853 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16855 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16857 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16858 Don't define if [__SYSCALL_WORDSIZE != 32].
16859 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16862 2012-05-21 Bruno Haible <bruno@clisp.org>
16863 Andreas Jaeger <aj@suse.de>
16865 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16866 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16867 inptr and inend for must_buffer_ch.
16868 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16869 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16870 * stdio-common/Makefile (tests): Remove bug15.
16871 (bug15-ENV): Remove macro.
16872 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16875 2012-05-19 Andreas Jaeger <aj@suse.de>
16876 Roland McGrath <roland@hack.frob.com>
16878 * manual/contrib.texi: Completely rewritten. It contains now an
16879 alphabetical list of contributors and their contributions.
16881 2012-05-21 Richard Henderson <rth@twiddle.net>
16883 * misc/getauxval.c (__getauxval): Use unsigned long int.
16884 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16885 (getauxval): Use unsigned long int.
16887 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16889 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16891 2012-05-21 Roland McGrath <roland@hack.frob.com>
16893 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16894 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16895 __alignof__ (long double).
16897 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16899 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16901 2012-05-20 Richard Henderson <rth@twiddle.net>
16903 * misc/getauxval.c: New file.
16904 * misc/sys/auxv.h: New file.
16905 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16906 (routines): Add getauxval.
16907 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16908 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16909 * elf/dl-sysdep.c (_dl_auxv): Remove.
16910 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16911 * elf/dl-support.c (_dl_auxv): New variable.
16912 (_dl_aux_init): Initialize it.
16913 * manual/startup.texi (Auxiliary Vector): New node.
16914 * sysdeps/generic/bits/hwcap.h: New file.
16915 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16916 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16917 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16918 * sysdeps/sparc/sysdep.h: ... here. Include it.
16919 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16920 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16926 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16930 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16932 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16936 2012-05-19 David S. Miller <davem@davemloft.net>
16938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16940 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16943 * math/s_ccosh.c: Include <float.h>
16944 (__ccosh): Avoid internal overflow calculating sinh and cosh
16945 values before multiplying by sin and cos values.
16946 * math/s_ccoshf.c: Likewise.
16947 * math/s_ccoshl.c: Likewise.
16948 * math/s_csin.c: Likewise.
16949 * math/s_csinf.c: Likewise.
16950 * math/s_csinl.c: Likewise.
16951 * math/s_csinh.c: Likewise.
16952 * math/s_csinhf.c: Likewise.
16953 * math/s_csinhl.c: Likewise.
16954 * math/libm-test.inc (ccos_test): Add more tests.
16955 (ccosh_test): Likewise.
16956 (csin_test): Likewise.
16957 (csinh_test): Likewise.
16958 * sysdeps/i386/fpu/libm-test-ulps: Update.
16959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16961 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16963 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16964 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16966 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16968 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16970 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16971 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16972 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16973 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16974 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16975 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16976 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16977 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16978 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16979 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16980 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16981 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16982 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16983 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16984 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16985 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16986 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16987 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16988 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16989 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16990 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16991 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16992 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16993 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16994 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16995 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16996 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16997 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16998 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16999 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17000 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17002 2012-05-18 Andreas Jaeger <aj@suse.de>
17004 * csu/.gitignore: Delete.
17006 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17008 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17009 (timex): Use __syscall_slong_t.
17011 2012-05-18 Andreas Jaeger <aj@suse.de>
17012 Carlos O'Donell <carlos_odonell@mentor.com>
17014 * manual/install.texi (Configuring and compiling): Update
17015 description about files modified in the source directory.
17016 * INSTALL: Regenerated.
17018 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17020 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17021 value. Use "or" to set return value to -1.
17022 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17023 negate return value.
17025 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17027 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17028 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17029 failure if the compiler has Graphite support disabled.
17030 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17032 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17033 CFLAGS-memmove.c): Likewise.
17034 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17037 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17039 * sysdeps/x86_64/x32/_itoa.h: New file.
17041 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17042 getdents system call only if kernel and user dirents have the
17043 same d_ino and d_off.
17045 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17046 LLONG_MAX != LONG_MAX.
17047 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17048 (_fitoa_word): Likewise.
17050 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17052 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17053 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17054 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17056 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17057 include <bits/wordsize.h>. Check __x86_64__ instead of
17059 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17060 if __x86_64__ is defined. Use anonymous union on fpstate.
17062 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17065 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17067 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17068 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17069 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17070 Refer to _rtld_local_ro instead of _rtld_global_ro.
17071 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17073 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17075 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17077 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17078 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17079 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17081 * sysdeps/powerpc/powerpc32/dl-machine.c
17082 (__elf_machine_runtime_setup) [PROF]: Don't reference
17085 2012-05-18 Andreas Jaeger <aj@suse.de>
17087 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17088 function only available for GCCs before 3.4 since GCC 3.4
17089 introduced a builtin.
17091 (llrintf): Likewise.
17092 (llrint): Likewise.
17099 (nearbyint): Likewise.
17100 (nearbyintf): Likewise.
17104 (floorf): Likewise.
17106 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17108 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17109 on both fields and cast pointer to __syscall_ulong_t.
17111 * bits/types.h (__fsword_t): New type.
17112 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17113 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17114 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17115 (__FSWORD_T_TYPE): Likewise.
17116 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17117 (__FSWORD_T_TYPE): Likewise.
17118 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17119 (__FSWORD_T_TYPE): Likewise.
17120 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17121 (__FSWORD_T_TYPE): Likewise.
17122 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17123 __SWORD_TYPE with __fsword_t.
17124 (statfs64): Likewise.
17126 2012-05-17 David S. Miller <davem@davemloft.net>
17128 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17130 2012-05-17 Andreas Jaeger <aj@suse.de>
17132 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17135 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17137 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17139 2012-05-17 Andreas Jaeger <aj@suse.de>
17141 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17144 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17146 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17148 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17150 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17151 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17153 2012-05-17 Andreas Jaeger <aj@suse.de>
17154 Carlos O'Donell <carlos_odonell@mentor.com>
17157 * sysdeps/x86_64/multiarch/init-arch.h
17158 (bit_YMM_Usable): Rename to...
17159 (bit_AVX_Usable): ... this.
17160 (bit_FMA4_Usable): New macro.
17161 (bit_XMM_state): New macro.
17162 (bit_YMM_state): New macro.
17163 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17164 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17165 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17166 (CPUID_OSXSAVE): New macro.
17167 (CPUID_AVX): New macro.
17168 (CPUID_FMA4): New macro.
17169 (index_YMM_Usable): Rename to...
17170 (index_AVX_Usable): ... this.
17171 (HAS_AVX): Use HAS_ARCH_FEATURE.
17172 (HAS_FMA4): Likewise.
17173 (HAS_YMM_USABLE): Remove.
17174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17175 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17177 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17178 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17179 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17180 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17181 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17183 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17185 * math/libm-test.c: Support platforms without multiple rounding modes.
17186 * math/bug-nextafter.c: Support platforms without FP exceptions.
17187 * math/bug-nexttoward.c: Likewise.
17188 * math/test-fenv.c: Likewise.
17189 * math/test-misc.c: Likewise.
17190 * stdlib/bug-getcontext.c: Likewise.
17192 2012-05-17 Andreas Jaeger <aj@suse.de>
17194 * manual/examples/search.c (critter_cmp): Change signature to
17196 * manual/string.texi (Collation Functions): Likewise.
17198 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17200 * bits/types.h: Fold copyright years.
17201 * bits/typesizes.h: Likewise.
17202 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17203 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17204 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17205 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17206 * time/time.h: Likewise.
17208 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17211 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17212 in instead of returning them. Return void.
17213 (__libc_mallinfo): Accumulate over all arenas.
17214 (__malloc_stats): Adjust for change in int_mallinfo interface.
17216 2012-05-16 Roland McGrath <roland@hack.frob.com>
17219 * configure.in (NM): Add AC_CHECK_TOOL for it.
17220 (libc_extra_cflags): New substituted variable.
17221 Check for -fstack-protector being used implicitly.
17222 * configure: Regenerated.
17223 * config.make.in (config-extra-cflags): New variable,
17224 gets @libc_extra_cflags@.
17225 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17228 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17229 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17230 * configure: Regenerated.
17231 * config.make.in (CPPUNDEFS): New substituted variable.
17232 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17233 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17234 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17236 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17238 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17239 (mq_attr): Use __syscall_slong_t.
17241 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17243 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17244 Check __x86_64__ instead of __WORDSIZE.
17245 (_STAT_VER_LINUX): Likewise.
17246 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17247 __syscall_ulong_t and __syscall_slong_t.
17248 (stat64): Likewise.
17250 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17252 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17254 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17256 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17258 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17260 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17263 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17264 include <bits/wordsize.h>. Check __x86_64__ instead of
17266 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17268 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17270 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17271 include <bits/wordsize.h>. Check __x86_64__ instead of
17273 (user_regs_struct): Use "__extension__ unsigned long long"
17274 instead of "unsigned long" if __x86_64__ is defined.
17275 (user): Likewise. Pad after pointer field if __ILP32__ is
17278 2012-05-16 Joseph Myers <joseph@codesourcery.com>
17280 * configure.in (makeinfo): Require version 4.5 or later. Allow
17282 * configure: Regenerated.
17283 * manual/install.texi (texinfo): Increase version requirement to
17285 * INSTALL: Regenerated.
17287 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17289 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17291 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17293 * sysdeps/x86_64/x32/ffs.c: New file.
17295 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17297 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17298 defined. Use __syscall_ulong_t.
17299 (shminfo): Use __syscall_ulong_t.
17300 (shm_info): Likewise.
17302 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17305 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17307 (msgqnum_t): Use __syscall_ulong_t.
17308 (msglen_t): Likewise.
17309 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17312 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17313 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17315 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17317 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17318 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17320 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17323 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17324 include <bits/wordsize.h>. Check __x86_64__ instead of
17327 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17328 "unsigned long long int" if __x86_64__ is defined.
17329 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17331 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17332 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17333 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17335 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17337 (GET_PC): Cast to uintptr_t first.
17338 (GET_FRAME): Likewise.
17339 (GET_STACK): Likewise.
17341 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17342 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17343 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17344 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17345 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17346 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17347 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17348 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17349 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17350 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17351 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17352 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17353 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17354 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17355 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17356 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17357 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17358 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17359 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17360 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17361 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17362 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17363 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17364 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17365 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17366 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17367 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17368 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17369 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17371 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17373 * Makerules (+depfiles): Also collect depfiles from .oS in
17375 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17376 .oS, $(libnldbl-routines)).
17378 * Makerules (native-compile-mkdep-flags): Define.
17379 * sunrpc/Makefile (extra-objs): Add $(addprefix
17380 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17381 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17382 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17383 calling $(make-target-directory).
17385 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17387 * bits/types.h (__snseconds_t): Removed.
17388 * time/time.h (struct timespec): Replace __snseconds_t with
17390 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17391 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17393 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17394 (__SNSECONDS_T_TYPE): Likewise.
17395 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17396 (__SNSECONDS_T_TYPE): Likewise.
17397 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17398 (__SNSECONDS_T_TYPE): Likewise.
17400 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17402 * sysdeps/mach/hurd/bits/typesizes.h
17403 (__SYSCALL_SLONG_TYPE): New macro.
17404 (__SYSCALL_ULONG_TYPE): Likewise.
17406 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17408 * bits/types.h (__syscall_slong_t): New type.
17409 (__syscall_ulong_t): Likewise.
17411 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17412 (__SYSCALL_ULONG_TYPE): Likewise.
17413 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17414 (__SYSCALL_SLONG_TYPE): Likewise.
17415 (__SYSCALL_ULONG_TYPE): Likewise.
17416 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17417 (__SYSCALL_SLONG_TYPE): Likewise.
17418 (__SYSCALL_ULONG_TYPE): Likewise.
17419 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17420 (__SYSCALL_SLONG_TYPE): Likewise.
17421 (__SYSCALL_ULONG_TYPE): Likewise.
17423 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17425 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17426 Add sigaltstack-offsets.sym.
17427 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17428 <sigaltstack-offsets.h>.
17429 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17430 longjmp_msg pointer.
17431 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17432 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17434 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17436 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17438 * elf/stackguard-macros.h: Remove file.
17439 * sysdeps/generic/stackguard-macros.h: New file.
17440 * sysdeps/i386/stackguard-macros.h: Likewise.
17441 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17442 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17443 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17444 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17445 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17446 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17447 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17448 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17449 <elf/stackguard-macros.h>.
17452 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17453 __aligned__ in attribute.
17454 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17455 (gregset_t): Likewise.
17457 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17459 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17460 * sysdeps/x86_64/64/Implies-after: Here. New file.
17461 * sysdeps/x86_64/x32/Implies-after: New file.
17463 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17465 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17466 and access return value for _dl_profile_fixup. Use R10_LP to
17469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17471 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17473 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17475 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17476 * sysdeps/x86_64/x32/sysdep.h: New file.
17478 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17480 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17481 * sysdeps/x86_64/setjmp.S: Likewise.
17483 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17485 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17486 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17487 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17488 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17489 remove unused global constant.
17491 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17493 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17494 include of <not-cancel.h>.
17496 2012-05-15 Roland McGrath <roland@hack.frob.com>
17498 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17500 2012-05-15 Jeff Law <law@redhat.com>
17501 Andreas Jaeger <aj@suse.de>
17504 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17506 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17507 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17508 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17509 code changing __hst_map_handle.map.
17511 2012-05-15 Roland McGrath <roland@hack.frob.com>
17513 * configure.in (sysnames): Look for Implies-before and Implies-after
17515 * configure: Regenerated.
17517 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17519 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17520 8-byte data alignment with LP_SIZE alignment.
17522 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17524 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17527 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17529 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17531 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17533 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17534 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17535 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17539 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17541 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17542 (stackinfo_sub_sp): Likewise.
17544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17546 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17549 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17551 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17554 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17556 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17559 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17561 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17565 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17566 into R11_LP and load __x86_64_shared_cache_size_half into
17569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17571 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17574 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17576 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17580 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17582 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17583 powerpc32/power7/fpu/s_logb.c via #include.
17584 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17585 powerpc32/power7/fpu/s_logbf.c via #include.
17586 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17587 powerpc32/power7/fpu/s_logbl.c via #include.
17589 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17591 * README.libm: Remove file.
17593 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17595 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17596 count for x32. Use R*_LP and omit operand-size suffix.
17598 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17600 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17601 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17602 * sysdeps/x86_64/x32/shlib-versions: New file.
17604 2012-05-14 Roland McGrath <roland@hack.frob.com>
17606 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17607 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17608 Use _dl_fatal_printf instead.
17610 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17612 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17613 set if not set by the user. Do not allow for being unset.
17614 * sysdeps/unix/sysv/linux/configure: Regenerated.
17616 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17618 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17619 the `q' suffix from lea and replace .quad with ASM_ADDR.
17621 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17623 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17624 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17626 (PTR_DEMANGLE): Likewise.
17628 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17630 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17632 (ASM_ADDR): Likewise.
17633 (RAX_LP): Likewise.
17634 (RBP_LP): Likewise.
17635 (RBX_LP): Likewise.
17636 (RCX_LP): Likewise.
17637 (RDI_LP): Likewise.
17638 (RSI_LP): Likewise.
17639 (RSP_LP): Likewise.
17642 (R10_LP): Likewise.
17643 (R10_LP): Likewise.
17644 (R11_LP): Likewise.
17645 (R12_LP): Likewise.
17646 (R13_LP): Likewise.
17647 (R14_LP): Likewise.
17648 (R15_LP): Likewise.
17650 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17652 * sysdeps/x86_64/x32/dl-machine.h: New file.
17654 2012-05-14 Andreas Jaeger <aj@suse.de>
17656 * manual/Makefile (subdir): Remove export of subdir.
17657 (all): Remove target.
17658 (.PHONY): Remove all from list.
17659 (mkinstalldirs): Remove.
17660 (.PHONY): Remove installdirs from list.
17661 ($(inst_infodir)/libc.info): Use make-target-directory.
17662 (installdirs): Remove.
17663 (subdir_%): Remove.
17664 (glibc-targets): Remove.
17667 ($(objpfx)stubs ../po/manual.pot): Remove.
17668 ($(objpfx)stamp%): Remove.
17669 (make-target-directory): Remove.
17670 (subdir_install): Remove.
17671 (routines): Remove.
17678 * manual/.gitignore: Remove, it's not needed anymore.
17679 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17681 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17683 (texis): Renamed to $(objpfx)texis.
17684 (texis-path): New, contains path to generated files.
17685 (chapters.%): Use texis-path for complete path, add extra argument
17687 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17688 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17689 (summary,texi, stamp-summary): Use complete path of
17690 files. Generate files in build dir.
17691 (dir-add.texi): Build in build dir.
17692 (libm-err.texi,stamp-libm-err): Likewise.
17693 (version.texi, stamp-version): Likewise.
17694 (.%c.texi): Likewise.
17695 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17696 (mostlyclean): Remove target.
17697 (realclean): Remove target.
17698 (generated): Add new variable with contents from mostlyclean and
17699 realclean, remove entries duplicated in common-mostlyclean, add
17700 stamp-libm-err and stamp-version.
17701 (generated-dirs): Add libc directory.
17702 ($(inst_infodir)/libc.info): Install files from build dir.
17704 * manual/install.texi (Configuring and compiling): Adjust since
17705 the info files are not part of the tar ball anymore.
17707 2012-05-14 Andreas Jaeger <aj@suse.de>
17709 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17712 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17715 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17716 to 2.2.0 where earlier.
17717 * sysdeps/unix/sysv/linux/configure: Regenerated.
17718 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17719 Remove conditional code.
17720 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17721 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17722 Remove conditional code.
17723 [!__NR_lchown]: Likewise.
17724 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17725 [__NR_lchown]: Likewise.
17726 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17727 comment referencing __ASSUME_LCHOWN_SYSCALL.
17728 * sysdeps/unix/sysv/linux/i386/sigaction.c
17729 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17730 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17731 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17732 Remove conditional code.
17733 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17734 (__protocol_available): Remove #if 0 code.
17735 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17737 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17738 * sysdeps/unix/sysv/linux/kernel-features.h
17739 (__ASSUME_GETCWD_SYSCALL): Don't define.
17740 (__ASSUME_REALTIME_SIGNALS): Likewise.
17741 (__ASSUME_PREAD_SYSCALL): Likewise.
17742 (__ASSUME_PWRITE_SYSCALL): Likewise.
17743 (__ASSUME_POLL_SYSCALL): Likewise.
17744 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17745 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17747 (__ASSUME_SIOCGIFNAME): Don't define.
17748 (__ASSUME_MSG_NOSIGNAL): Likewise.
17749 (__ASSUME_SENDFILE): Define unconditionally.
17750 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17751 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17753 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17754 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17755 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17756 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17757 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17758 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17759 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17761 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17762 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17764 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17765 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17767 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17768 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17770 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17771 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17776 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17777 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17782 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17783 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17784 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17785 Remove conditional code.
17786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17787 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17788 Remove conditional code.
17789 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17790 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17791 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17792 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17793 Remove conditional code.
17794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17795 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17796 Remove conditional code.
17797 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17798 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17799 Remove conditional code.
17800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17801 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17802 Remove conditional code.
17803 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17804 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17805 Remove conditional code.
17806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17807 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17808 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17809 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17810 * sysdeps/unix/sysv/linux/sigaction.c
17811 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17812 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17813 * sysdeps/unix/sysv/linux/sigpending.c
17814 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17815 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17816 * sysdeps/unix/sysv/linux/sigprocmask.c
17817 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17818 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17819 * sysdeps/unix/sysv/linux/sigsuspend.c
17820 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17821 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17822 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17823 (__libc_missing_rt_sigs): Remove.
17824 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17825 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17826 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17827 Remove conditional code.
17828 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17829 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17831 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17832 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17833 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17834 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17836 2012-05-14 Andreas Jaeger <aj@suse.de>
17838 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17839 it's not used in glibc.
17840 (__coshm1): Likewise.
17841 (__acosh1p): Likewise.
17844 * manual/string.texi (Copying and Concatenation): Add missing
17845 variable in concat example.
17846 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17848 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17851 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17852 __builtin_clzl with __builtin_clzll.
17854 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17857 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17860 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17862 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17863 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17864 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17865 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17867 2012-05-14 Mike Frysinger <vapier@gentoo.org>
17869 * NEWS: Update ia64 info.
17871 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17873 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17876 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17878 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17879 * sysdeps/unix/syscalls.list (dup3): Likewise.
17880 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17881 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17883 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17885 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17886 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17888 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17890 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17892 (TLS_IE): Use mov/add instead of movq/addq to load thread
17894 (TLS_GD_PREFIX): New.
17897 2012-05-11 David S. Miller <davem@davemloft.net>
17899 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17900 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17901 (_FPU_SETCW): Likewise.
17903 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17905 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17906 is 32-byte aligned.
17908 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17911 * iconvdata/gb18030.c: Update tables.
17912 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17913 characters specially.
17914 (BODY for TO_LOOP): Add encoding of missing ranges.
17916 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17919 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17920 * sysdeps/mach/hurd/dup3.c: Likewise.
17921 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17922 * sysdeps/powerpc/memmove.c:: Likewise.
17924 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17926 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17927 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17929 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17931 * elf/elf.h (R_X86_64_RELATIVE64): New.
17932 (R_X86_64_NUM): Updated.
17933 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17934 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17935 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17936 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17937 tst-quad1pie tst-quad2pie
17938 (modules-names): Add tst-quadmod1 tst-quadmod2.
17939 ($(objpfx)tst-quad1): New dependency.
17940 ($(objpfx)tst-quad2): Likewise.
17941 ($(objpfx)tst-quad1pie): Likewise.
17942 ($(objpfx)tst-quad2pie): Likewise.
17943 * sysdeps/x86_64/tst-quad1.c: New file.
17944 * sysdeps/x86_64/tst-quad1pie.c: New file.
17945 * sysdeps/x86_64/tst-quad2.c: Likewise.
17946 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17947 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17948 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17949 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17950 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17952 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17954 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17955 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17956 * streams/stropts.h (t_scalar_t): Define type.
17958 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17959 (_PATH_PRESERVE): Set to "/var/lib".
17960 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17962 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17965 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17966 if __dir_mkfile succeeded.
17968 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17969 checking for _hurd_dtablesize. Unlock it right after having
17970 finished _hurd_dtable allocation.
17972 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17974 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17975 * sysdeps/mach/hurd/configure: Regenerated.
17976 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17977 special-casing to...
17978 * sysdeps/gnu/configure.in: ... this new file.
17979 * sysdeps/unix/sysv/linux/configure: Regenerated.
17980 * sysdeps/gnu/configure: New generated file.
17982 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17983 for Linux: use nsec instead of usec, as well as:
17984 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17985 members of type struct timespec.
17986 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17988 (struct stat64): Likewise.
17989 (_STATBUF_ST_NSEC): New macro.
17990 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17992 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17993 __strtoul_internal rather than strtoul.
17995 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17997 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18000 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18002 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18003 which preserves existing values.
18004 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18006 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18008 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18009 TIMEOUT values. Return EINVAL for NFDS values either negative or
18010 greater than FD_SETSIZE.
18012 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18014 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18015 allocated, call __vm_protect to finish enabling the existing space, and
18016 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18017 allocate the remainder.
18019 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18021 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18022 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18024 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18026 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18027 sysdeps/mach/hurd/readlink.c.
18029 * posix/tst-sysconf.c (posix_options): Only use
18030 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18031 _POSIX_SYNCHRONIZED_IO when they are defined
18032 * sysdeps/mach/hurd/bits/posix_opt.h:
18033 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18034 (_XOPEN_REALTIME): Undefine macro.
18035 (_XOPEN_REALTIME_THREADS): Undefine macro.
18036 (_XOPEN_SHM): Undefine macro.
18037 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18039 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18041 (_POSIX_ASYNC_IO): Undefine macro.
18042 (_POSIX_PRIORITIZED_IO): Undefine macro.
18043 (_POSIX_SPIN_LOCKS): Define macro to -1.
18045 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18046 SA_NODEFER, SA_RESETHAND.
18047 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18048 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18051 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18053 * elf/Makefile (pldd-modules): Define unconditionally.
18055 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18057 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18059 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18061 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18062 Return ENOENT when name is empty.
18063 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18065 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18067 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18069 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18071 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18073 Fix mlock in all cases except non-readable pages.
18074 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18075 instead of VM_PROT_ALL as parameter to __vm_wire function.
18077 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18078 (__mkdir): When path is `/', just fail with EEXIST.
18079 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18081 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18083 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18084 <sys/uio.h> (for writev).
18085 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18086 and <sys/param.h> (for MIN).
18088 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18090 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18091 REQUESTED_TIME. Properly set the remaining time and return EINTR
18094 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18096 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18097 Depend on against $(link-rpcuserlibs).
18099 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18101 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18102 (__libc_stack_end): Do not use attribute_relro.
18103 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18104 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18105 to libthread-provided value.
18106 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18109 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18112 * bits/libc-lock.h (__libc_once_get): New macro.
18113 * sysdeps/mach/bits/libc-lock.h: Likewise.
18114 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18115 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18116 instead of using implementation details.
18118 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18119 * libio/freopen.c: Likewise.
18120 * libio/freopen64.c: Likewise.
18121 * misc/syslog.c: Likewise.
18122 * nscd/connections.c: Likewise.
18123 * nscd/netgroupcache.c: Likewise.
18124 * sysdeps/posix/getcwd.c: Likewise.
18126 2012-05-10 Roland McGrath <roland@hack.frob.com>
18128 * math/w_ilogbf.c: Add #include <limits.h>.
18130 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18132 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18133 path instead of returning without unlocking.
18135 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18136 immediate-write ioctls.
18137 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18139 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18141 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18142 __builtin_frame_address instead of making assumptions about the
18143 location of the return address relative to DATA. Force early load of
18144 the return address.
18145 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18146 __builtin_frame_address.
18149 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18150 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18151 implement dup3 and do some further code clean-ups.
18152 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18153 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18155 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18157 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18159 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18160 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18161 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18162 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18163 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18166 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18167 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18168 when handler == SIG_ERR, not when handler != SIG_ERR.
18170 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18172 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18173 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18176 accept4 for GNU Hurd.
18177 * include/sys/socket.h (__libc_accept4): New prototype.
18178 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18179 to implement __libc_accept4.
18180 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18182 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18184 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18185 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18186 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18187 signal-defines.sym.
18189 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18191 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18193 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18195 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18196 assertion on O_CLOEXEC flag.
18197 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18198 * hurd/intern-fd.c: Likewise.
18199 * hurd/port2fd.c: Likewise.
18201 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18204 * bits/in.h (IPV6_PKTINFO): Define new macro.
18205 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18207 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18212 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18213 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18214 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18215 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18217 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18218 * math/libm-test.inc (logb_test) : Additional logb tests.
18220 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18221 Andreas Jaeger <aj@suse.de>
18223 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18224 * configure: Regenerated.
18225 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18226 * config.make.in (link-obsolete-rpc): New substituted variable.
18227 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18228 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18229 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18230 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18231 so that libc.a contains the symbols.
18232 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18233 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18234 * sunrpc/auth_none.c: Likewise.
18235 * sunrpc/auth_unix.c: Likewise.
18236 * sunrpc/authdes_prot.c: Likewise.
18237 * sunrpc/authuxprot.c: Likewise.
18238 * sunrpc/clnt_gen.c: Likewise.
18239 * sunrpc/clnt_perr.c: Likewise.
18240 * sunrpc/clnt_raw.c: Likewise.
18241 * sunrpc/clnt_simp.c: Likewise.
18242 * sunrpc/clnt_tcp.c: Likewise.
18243 * sunrpc/clnt_udp.c: Likewise.
18244 * sunrpc/clnt_unix.c: Likewise.
18245 * sunrpc/des_crypt.c: Likewise.
18246 * sunrpc/des_soft.c: Likewise.
18247 * sunrpc/get_myaddr.c: Likewise.
18248 * sunrpc/key_call.c: Likewise.
18249 * sunrpc/key_prot.c: Likewise.
18250 * sunrpc/netname.c: Likewise.
18251 * sunrpc/pm_getmaps.c: Likewise.
18252 * sunrpc/pm_getport.c: Likewise.
18253 * sunrpc/pmap_clnt.c: Likewise.
18254 * sunrpc/pmap_prot.c: Likewise.
18255 * sunrpc/pmap_prot2.c: Likewise.
18256 * sunrpc/pmap_rmt.c: Likewise.
18257 * sunrpc/publickey.c: Likewise.
18258 * sunrpc/rpc_cmsg.c: Likewise.
18259 * sunrpc/rpc_common.c: Likewise.
18260 * sunrpc/rpc_dtable.c: Likewise.
18261 * sunrpc/rpc_prot.c: Likewise.
18262 * sunrpc/rpc_thread.c: Likewise.
18263 * sunrpc/rtime.c: Likewise.
18264 * sunrpc/svc.c: Likewise.
18265 * sunrpc/svc_auth.c: Likewise.
18266 * sunrpc/svc_raw.c: Likewise.
18267 * sunrpc/svc_run.c: Likewise.
18268 * sunrpc/svc_tcp.c: Likewise.
18269 * sunrpc/svc_udp.c: Likewise.
18270 * sunrpc/svc_unix.c: Likewise.
18271 * sunrpc/svcauth_des.c: Likewise.
18272 * sunrpc/xcrypt.c: Likewise.
18273 * sunrpc/xdr.c: Likewise.
18274 * sunrpc/xdr_array.c: Likewise.
18275 * sunrpc/xdr_float.c: Likewise.
18276 * sunrpc/xdr_intXX_t.c: Likewise.
18277 * sunrpc/xdr_mem.c: Likewise.
18278 * sunrpc/xdr_rec.c: Likewise.
18279 * sunrpc/xdr_ref.c: Likewise.
18280 * sunrpc/xdr_sizeof.c: Likewise.
18281 * sunrpc/xdr_stdio.c: Likewise.
18283 2012-05-10 Roland McGrath <roland@hack.frob.com>
18285 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18286 change. Update copyright years.
18288 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18290 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18292 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18293 Joseph Myers <joseph@codesourcery.com>
18294 Paul Pluzhnikov <ppluzhnikov@google.com>
18297 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18299 [cross-compiling] (extra-libs): Likewise.
18300 [cross-compiling] (extra-libs-others): Likewise.
18301 [cross-compiling] (librpcsvc-routines): Likewise.
18302 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18303 [cross-compiling] (omit-deps): Likewise.
18304 (sunrpc-CPPFLAGS): New variable.
18305 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18306 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18307 (cross-rpcgen-objs): New variable.
18308 (extra-objs): Append $(cross-rpcgen-objs).
18309 ($(cross-rpcgen-objs)): New rule.
18310 ($(objpfx)cross-rpcgen): Likewise.
18311 (rpcgen-cmd): Define to use $(built-program-file). Expand
18313 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18314 ($(objpfx)x%.stmp): Likewise.
18315 * sunrpc/proto.h [IS_IN_build] (_): Define.
18316 [IS_IN_build] (_libc_intl_domainname): Likewise.
18318 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18320 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18321 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18322 and R_X86_64_TPOFF64.
18324 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18326 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18327 sysdeps/unix/sysv/syscalls.list.
18330 * sysdeps/unix/sysv/syscalls.list: Remove file.
18332 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18335 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18336 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18337 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18338 (__LC_IDENTIFICATION): Make these macros useful in #if
18339 expressions, as required by C99.
18341 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18343 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18344 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18347 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18349 * stdlib/longlong.h: Updated from GCC.
18351 2012-05-09 Andreas Jaeger <aj@suse.de>
18353 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18354 default is first entry.
18355 (run_mode): Set type.
18356 (main): Remove informal message about syslog.
18357 (options): Fix typo.
18360 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18363 (llrintf): Likewise.
18364 (llrint): Likewise.
18367 (nearbyint): Likewise.
18368 (nearbyintf): Likewise.
18370 2012-05-09 Andreas Jaeger <aj@suse.de>
18371 Pedro Alves <palves@redhat.com>
18373 * nscd/nscd.c (run_mode): Use enum.
18374 (main): Cleanup coding style issue.
18376 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
18377 Andreas Jaeger <aj@suse.de>
18379 * nscd/nscd.c (go_background): Replaced with...
18380 (run_mode): ... this.
18381 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18382 (options): Add -F --foreground.
18383 (main): Implement it.
18384 (parse_opt): Parse it.
18386 2012-05-09 Andreas Jaeger <aj@suse.de>
18389 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18390 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18391 -Wconversion warning.
18392 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18395 2012-05-09 Joseph Myers <joseph@codesourcery.com>
18397 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18399 (LC_ALL): Use macro-int-constant.
18400 (LC_COLLATE): Likewise.
18401 (LC_CTYPE): Likewise.
18402 (LC_MESSAGES): Likewise.
18403 (LC_MONETARY): Likewise.
18404 (LC_NUMERIC): Likewise.
18405 (LC_TIME): Likewise.
18406 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18407 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18408 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18409 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18411 [C99-based standards] (float_t): Expect type.
18412 [C99-based standards] (double_t): Expect type.
18413 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18415 [C99-based standards] (HUGE_VALL): Likewise.
18416 [C99-based standards] (INFINITY): Likewise.
18417 [C99-based standards] (NAN): Likewise.
18418 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18419 [C99-based standards] (FP_NAN): Likewise.
18420 [C99-based standards] (FP_NORMAL): Likewise.
18421 [C99-based standards] (FP_SUBNORMAL): Likewise.
18422 [C99-based standards] (FP_ZERO): Likewise.
18423 [C99-based standards] (FP_FAST_FMA): Use
18424 optional-macro-int-constant. Specify type. Require == 1.
18425 [C99-based standards] (FP_FAST_FMAF): Likewise.
18426 [C99-based standards] (FP_FAST_FMAL): Likewise.
18427 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18428 [C99-based standards] (FP_ILOGBNAN): Likewise.
18429 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18431 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18432 [C99-based standards] (math_errhandling): Specify type.
18433 [ISO99 || ISO11] (signgam): Do not allow.
18434 [non-C99-based standards] (copysignf): Do not allow.
18435 [non-C99-based standards] (exp2f): Likewise.
18436 [non-C99-based standards] (log2f): Likewise.
18437 [non-C99-based standards] (modff): Allow.
18438 [non-C99-based standards] (erff): Do not allow.
18439 [non-C99-based standards] (erfcf): Likewise.
18440 [non-C99-based standards] (gammaf): Likewise.
18441 [non-C99-based standards] (hypotf): Likewise.
18442 [non-C99-based standards] (j0f): Likewise.
18443 [non-C99-based standards] (j1f): Likewise.
18444 [non-C99-based standards] (jnf): Likewise.
18445 [non-C99-based standards] (lgammaf): Likewise.
18446 [non-C99-based standards] (tgammaf): Likewise.
18447 [non-C99-based standards] (y0f): Likewise.
18448 [non-C99-based standards] (y1f): Likewise.
18449 [non-C99-based standards] (ynf): Likewise.
18450 [non-C99-based standards] (isnanf): Likewise.
18451 [non-C99-based standards] (acoshf): Likewise.
18452 [non-C99-based standards] (asinhf): Likewise.
18453 [non-C99-based standards] (atanhf): Likewise.
18454 [non-C99-based standards] (cbrtf): Likewise.
18455 [non-C99-based standards] (expm1f): Likewise.
18456 [non-C99-based standards] (ilogbf): Likewise.
18457 [non-C99-based standards] (log1pf): Likewise.
18458 [non-C99-based standards] (logbf): Likewise.
18459 [non-C99-based standards] (nextafterf): Likewise.
18460 [non-C99-based standards] (remainderf): Likewise.
18461 [non-C99-based standards] (rintf): Likewise.
18462 [non-C99-based standards] (scalbf): Likewise.
18463 [non-C99-based standards] (copysignl): Likewise.
18464 [non-C99-based standards] (exp2l): Likewise.
18465 [non-C99-based standards] (log2l): Likewise.
18466 [non-C99-based standards] (modfl): Allow.
18467 [non-C99-based standards] (erfl): Do not allow.
18468 [non-C99-based standards] (erfcl): Likewise.
18469 [non-C99-based standards] (gammal): Likewise.
18470 [non-C99-based standards] (hypotl): Likewise.
18471 [non-C99-based standards] (j0l): Likewise.
18472 [non-C99-based standards] (j1l): Likewise.
18473 [non-C99-based standards] (jnl): Likewise.
18474 [non-C99-based standards] (lgammal): Likewise.
18475 [non-C99-based standards] (tgammal): Likewise.
18476 [non-C99-based standards] (y0l): Likewise.
18477 [non-C99-based standards] (y1l): Likewise.
18478 [non-C99-based standards] (ynl): Likewise.
18479 [non-C99-based standards] (isnanl): Likewise.
18480 [non-C99-based standards] (acoshl): Likewise.
18481 [non-C99-based standards] (asinhl): Likewise.
18482 [non-C99-based standards] (atanhl): Likewise.
18483 [non-C99-based standards] (cbrtl): Likewise.
18484 [non-C99-based standards] (expm1l): Likewise.
18485 [non-C99-based standards] (ilogbl): Likewise.
18486 [non-C99-based standards] (log1pl): Likewise.
18487 [non-C99-based standards] (logbl): Likewise.
18488 [non-C99-based standards] (nextafterl): Likewise.
18489 [non-C99-based standards] (remainderl): Likewise.
18490 [non-C99-based standards] (rintl): Likewise.
18491 [non-C99-based standards] (scalbl): Likewise.
18492 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18493 [non-C99-based standards] (FP_*): Do not allow.
18494 [C99-based standards] (FP_*): Change to
18495 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18496 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18498 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18499 (SIG_ERR): Likewise.
18500 [X/Open-based standards] (SIG_HOLD): Likewise.
18501 (SIG_IGN): Likewise.
18502 (SIGABRT): Use macro-int-constant. Specify type. Require
18504 (SIGFPE): Likewise.
18505 (SIGILL): Likewise.
18506 (SIGINT): Likewise.
18507 (SIGSEGV): Likewise.
18508 (SIGTER): Likewise.
18509 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18510 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18511 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18512 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18513 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18514 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18515 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18516 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18517 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18518 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18519 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18520 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18521 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18522 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18523 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18524 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18525 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18526 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18527 [X/Open-based standards] (SIGTRAP): Likewise.
18528 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18529 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18530 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18531 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18532 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18535 2012-05-08 Ian Wienand <ianw@vmware.com>
18538 * time/tzset.c (__tzset_parse_tz): Update default rules for
18539 daylight time changes in the Energy Policy Act of 2005.
18541 2012-05-09 Andreas Jaeger <aj@suse.de>
18544 * elf/ldconfig.c (parse_conf): Change string to make clear that
18545 ldconfig only issued a warning if ld.so.conf does not exist.
18547 2012-05-08 David S. Miller <davem@davemloft.net>
18549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18550 movxtod instead of popping the value on the stack.
18552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18554 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18556 * config.h.in: Add HAVE_ARM_PCS_VFP.
18558 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
18561 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18562 checking but the checks are disabled for any reason.
18564 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18566 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18567 and ELF64_R_TYPE with ELFW(R_TYPE).
18569 2012-05-08 Joseph Myers <joseph@codesourcery.com>
18571 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18572 (ulimit): Likewise.
18574 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18575 (settimeofday): Likewise.
18577 2012-05-08 Mike Frysinger <vapier@gentoo.org>
18579 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18580 a struct th_u2 inside the union, and move tu_block/tu_code into
18581 a new th_u3 union of tu_block/tu_code inside of that. Move
18582 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18583 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18584 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18585 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18586 (th_stuff): Change to th_u1.tu_stuff.
18588 (th_msg): Change to th_u1.th_u2.tu_data.
18590 2012-05-07 David S. Miller <davem@davemloft.net>
18592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18595 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18596 (SETUP_PIC_REG): Use it.
18597 (SETUP_PIC_REG_LEAF): Use it.
18599 2012-05-07 Joseph Myers <joseph@codesourcery.com>
18603 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18605 (EXPL_FINITE): Likewise.
18606 (FLDLOG): Likewise.
18607 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18608 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18610 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18612 (EXPL_FINITE): Likewise.
18613 (FLDLOG): Likewise.
18614 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18615 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18617 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18618 test of -max_value argument for long double.
18619 * sysdeps/i386/fpu/libm-test-ulps: Update.
18620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18622 2012-05-06 David S. Miller <davem@davemloft.net>
18624 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18625 quad soft-float symbols whose references which are compiler
18627 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18629 2012-05-06 Joseph Myers <joseph@codesourcery.com>
18633 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18635 (EXPL_FINITE): Likewise.
18636 (FLDLOG): Likewise.
18639 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18640 Adjust comments for base varying.
18641 (__expl_finite): Change alias to EXPL_FINITE.
18642 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18644 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18645 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18646 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18647 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18648 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18650 (EXPL_FINITE): Likewise.
18651 (FLDLOG): Likewise.
18654 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18655 Adjust comments for base varying.
18656 (__expl_finite): Change alias to EXPL_FINITE.
18657 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18659 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18662 * math/libm-test.inc (check_float_internal): Correct ulp
18663 calculation for subnormal expected results.
18665 2012-05-06 Andreas Jaeger <aj@suse.de>
18667 * Makeconfig (+math-flags): New, set to -frounding-math.
18668 (+cflags): Add +math-flags so that all of glibc gets compiled with
18671 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18673 2012-05-05 Joseph Myers <joseph@codesourcery.com>
18675 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18681 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18682 (__ieee754_expl): Allow for and saturate large arguments.
18683 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18684 (u_threshold): Likewise.
18685 (__exp): Call __ieee754_exp before checking for overflow and
18687 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18688 (u_threshold): Likewise.
18689 (__expf): Call __ieee754_expf before checking for overflow and
18691 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18692 (u_threshold): Likewise.
18693 (__expl): Call __ieee754_expl before checking for overflow and
18695 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18696 (__ieee754_expl): Allow for and saturate large arguments.
18697 * math/libm-test.inc (exp_test): Add another test. Do not allow
18698 missing overflow exception on overflow.
18699 (expm1_test): Do not allow missing overflow exception on overflow.
18701 * sysdeps/i386/fpu/e_expl.c: Move to ...
18702 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18703 rather than using inline asm.
18704 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18705 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18706 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18708 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18711 (signal): Likewise.
18715 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18717 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18718 sysdeps/unix/common/syscalls.list.
18719 (fchmod): Likewise.
18720 (fchown): Likewise.
18721 (ftruncate): Likewise.
18722 (getrusage): Likewise.
18723 (gettimeofday): Likewise.
18724 (setpgid): Likewise.
18725 (setregid): Likewise.
18726 (setreuid): Likewise.
18727 (sigaction): Likewise.
18728 (truncate): Likewise.
18729 (vhangup): Likewise.
18730 * sysdeps/unix/common/syscalls.list: Remove file.
18731 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18732 * sysdeps/unix/sysv/linux/Implies: Likewise.
18734 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18736 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18738 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18742 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18745 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18748 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18751 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18754 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18757 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18760 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18764 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18766 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18768 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18771 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18775 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18779 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18781 * sysdeps/unix/common/bits/dirent.h: Remove file.
18782 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18784 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18785 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18786 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18787 * sysdeps/unix/bsd/isatty.c: Likewise.
18788 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18789 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18790 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18792 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18795 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18796 long double comparison inaccuracies.
18797 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18800 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18802 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18803 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18805 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18808 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18809 nonzero digits before rounding a hex value.
18810 * stdlib/tst-strtod.c (tests): Add another test.
18812 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18814 * sysdeps/s390/fpu/libm-test-ulps: Update.
18816 2012-05-03 Andreas Jaeger <aj@suse.de>
18818 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18819 does not get optimized out.
18820 (malloc_opt_barrier): New.
18822 2012-05-03 Andreas Jaeger <aj@suse.de>
18823 Roland McGrath <roland@hack.frob.com>
18825 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18826 intermediate file deletion.
18827 (generated): Add .symlist files.
18829 2012-05-03 Joseph Myers <joseph@codesourcery.com>
18832 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18833 Redirect under this condition.
18834 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18835 [__USE_GNU] (__dprintf_chk): Not under this condition.
18836 [__USE_GNU] (__vdprintf_chk): Likewise.
18837 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18838 under this condition.
18839 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18840 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18841 [__USE_XOPEN2K8] (vdprintf): Likewise.
18842 [__USE_GNU] (__dprintf_chk): Not under this condition.
18843 [__USE_GNU] (__vdprintf_chk): Likewise.
18844 [__USE_GNU] (dprintf): Likewise.
18845 [__USE_GNU] (vdprintf): Likewise.
18847 2012-05-03 Roland McGrath <roland@hack.frob.com>
18849 * elf/Makefile (common-generated): Set this instead of generated for
18850 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18851 $(all-built-dso)-derived lists.
18853 2012-05-03 Andreas Jaeger <aj@suse.de>
18855 * sysdeps/i386/fpu/libm-test-ulps: Update.
18858 * FAQ.in: Likewise.
18859 * scripts/gen-FAQ.pl: Likewise.
18860 * manual/install.texi (Installation): Point to online location of
18862 * Makefile (files-for-dist): Remove FAQ.
18865 2012-05-02 Allan McRae <allan@archlinux.org>
18867 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18868 (LDFLAGS-reldepmod5.so): Likewise.
18869 (LDFLAGS-reldep6mod1.so): Likewise.
18870 (LDFLAGS-reldep6mod4.so): Likewise.
18871 (LDFLAGS-reldep8mod3.so): Likewise.
18872 (LDFLAGS-unload4mod1.so): Likewise.
18873 (LDFLAGS-unload4mod2.so): Likewise.
18874 (LDFLAGS-tst-initorder): Likewise.
18875 (LDFLAGS-tst-initordera2.so): Likewise.
18876 (LDFLAGS-tst-initordera3.so): Likewise.
18877 (LDFLAGS-tst-initordera4.so): Likewise.
18878 (LDFLAGS-tst-initorderb2.so): Likewise.
18879 (LDFLAGS-noload): Likewise.
18880 (LDFLAGS-next): Likewise.
18881 (LDFLAGS-order2mod1.so): Likewise.
18882 (LDFLAGS-order2mod2.so): Likewise.
18883 (LDFLAGS-tst-initorder2): Likewise.
18884 (LDFLAGS-tst-initorder2a.so): Likewise.
18885 (LDFLAGS-tst-initorder2b.so): Likewise.
18886 (LDFLAGS-tst-initorder2c.so): Likewise.
18887 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18889 2012-05-02 David S. Miller <davem@davemloft.net>
18891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18893 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18896 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18898 2012-05-02 Andreas Jaeger <aj@suse.de>
18900 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18901 since we manipulate rounding mode.
18902 (CPPFLAGS-test-idouble.c): Likewise.
18903 (CPPFLAGS-test-ifloat.c): Likewise.
18904 (CFLAGS-test-ldouble.c): Likewise.
18905 (CFLAGS-test-double.c): Likewise.
18906 (CFLAGS-test-float.c): Likewise.
18907 (CFLAGS-test-misc.c): Likewise.
18908 (CFLAGS-test-test-fenv.c): Likewise.
18910 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18914 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18915 comparisons to determine direction to adjust input.
18917 2012-05-01 Roland McGrath <roland@hack.frob.com>
18919 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18920 output to the target.
18922 * scripts/localplt.awk: New file.
18923 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18924 (check-localplt-CFLAGS): Variable removed.
18925 ($(all-built-dso:=.jmprel)): New static pattern rule.
18926 (generated): Add those targets.
18927 (localplt-built-dso): New variable.
18928 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18930 * elf/check-localplt.c: File removed.
18932 * scripts/check-execstack.awk: New file.
18933 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18934 (check-execstack-CFLAGS): Variable removed.
18935 ($(objpfx)check-execstack.h): Target removed.
18936 ($(objpfx)execstack-default): New target.
18937 (generated): Add that instead of check-execstack.h.
18938 ($(all-built-dso:=.phdr)): New static pattern rule.
18939 (generated): Add those targets.
18940 * elf/check-execstack.c: File removed.
18942 * scripts/check-textrel.awk: New file.
18943 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18944 (check-textrel-CFLAGS): Variable removed.
18945 (all-built-dso): Use := to define.o
18946 ($(all-built-dso:=.dyn)): New static pattern rule.
18947 (generated): Add those targets.
18948 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18949 * config.make.in (READELF): New substituted variable.
18950 * elf/check-textrel.c: File removed.
18952 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18954 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18956 * conform/data/ctype.h-data [C99-based standards] (isblank):
18958 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18959 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18960 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18961 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18962 Specify type. Require positive value.
18963 (EILSEQ): Likewise.
18964 (ERANGE): Likewise.
18965 [ISO || POSIX] (EILSEQ): Do not expect.
18966 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18967 Specify type. Require positive value.
18968 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18969 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18970 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18971 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18972 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18973 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18974 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18975 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18976 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18977 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18978 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18979 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18980 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18981 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18982 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18983 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18984 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18985 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18986 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18987 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18988 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18989 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18990 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18991 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18992 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18993 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18994 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18995 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18996 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18997 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18998 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18999 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19000 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19001 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19002 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19003 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19004 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19005 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19006 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19007 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19008 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19009 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19010 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19011 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19012 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19013 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19014 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19015 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19016 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19017 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19018 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19019 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19020 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19021 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19022 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19023 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19024 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19025 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19026 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19027 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19028 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19029 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19030 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19031 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19032 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19033 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19034 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19035 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19036 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19037 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19038 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19039 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19040 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19041 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19042 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19043 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19044 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19046 (FLT_ROUNDS): Expect as macro, not constant.
19047 (FLT_MANT_DIG): Use macro-int-constant.
19048 (DBL_MANT_DIG): Likewise.
19049 (LDBL_MANT_DIG): Likewise.
19050 (FLT_DIG): Likewise.
19051 (DBL_DIG): Likewise.
19052 (LDBL_DIG): Likewise.
19053 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19054 (DBL_MIN_EXP): Likewise.
19055 (LDBL_MIN_EXP): Likewise.
19056 (FLT_MAX_EXP): Use macro-int-constant.
19057 (DBL_MAX_EXP): Likewise.
19058 (LDBL_MAX_EXP): Likewise.
19059 (FLT_MAX_10_EXP): Likewise.
19060 (DBL_MAX_10_EXP): Likewise.
19061 (LDBL_MAX_10_EXP): Likewise.
19062 (FLT_MAX): Use macro-constant.
19063 (DBL_MAX): Likewise.
19064 (LDBL_MAX): Likewise.
19065 (FLT_EPSILON): Use macro-constant. Give upper bound.
19066 (DBL_EPSILON): Likewise.
19067 (LDBL_EPSILON): Likewise.
19068 (FLT_MIN): Likewise.
19069 (DBL_MIN): Likewise.
19070 (LDBL_MIN): Likewise.
19071 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19072 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19073 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19074 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19075 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19076 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19077 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19078 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19079 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19080 [ISO11] (FLT_TRUE_MIN): Likewise.
19081 [ISO11] (LDBL_TRUE_MIN): Likewise.
19082 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19083 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19084 (SCHAR_MIN): Use macro-int-constant. Specify type.
19085 (SCHAR_MAX): Likewise.
19086 (UCHAR_MAX): Likewise.
19087 (CHAR_MIN): Likewise.
19088 (CHAR_MAX): Likewise.
19089 (MB_LEN_MAX): Use macro-int-constant.
19090 (SHRT_MIN): Use macro-int-constant. Specify type.
19091 (SHRT_MAX): Likewise.
19092 (USHRT_MAX): Likewise.
19093 (INT_MAX): Likewise.
19094 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19096 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19098 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19100 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19101 bound negative. Suffix upper bound with "L".
19102 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19104 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19106 [C99-based standards] (LLONG_MAX): Likewise.
19107 [C99-based standards] (ULLONG_MAX): Likewise.
19108 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19110 [ISO11] (max_align_t): Require type.
19111 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19113 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19114 from $CFLAGS, without defining away __attribute__ calls.
19115 (checknamespace): Use $CFLAGS_namespace.
19117 * conform/conformtest.pl (@keywords): Only include C99 keywords
19118 for standards based on C99 or C11.
19120 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19122 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19125 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19126 usability of symbols in #if.
19128 * conform/conformtest.pl: If macro or constant types start
19129 "promoted:", expect the symbol to be of the following type
19130 promoted by the integer promotions.
19132 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19133 in one place. Also handle "macro-constant".
19135 * conform/conformtest.pl: Only accept expected macro values with
19136 "==". Parse all "macro" lines in one place.
19137 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19139 * conform/conformtest.pl: Handle braced types on "constant" lines
19140 instead of handling "typed-constant".
19141 * conform/data/signal.h-data: Use "constant" instead of
19144 * conform/conformtest.pl: Handle "optional-" at start of lines in
19145 one place rather than duplicating several cases. Handle each
19146 format of "macro" line with initial "optional-".
19148 * conform/conformtest.pl: Only accept expected constant or
19149 optional-constant values with "==". Parse all "constant" lines in
19150 one place. Parse all "optional-constant" lines in one place.
19151 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19152 * conform/data/fmtmsg.h-data: Likewise.
19153 * conform/data/netinet/in.h-data: Likewise.
19154 * conform/data/tar.h-data: Likewise.
19155 * conform/data/limits.h-data: Use "==" form on "constant" and
19156 "optional-constant" lines.
19158 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19159 Use -std=c99 for XOPEN2K.
19160 (@knownproblems): Remove.
19161 (newtoken): Don't check %isknown.
19163 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19164 Do not expect macro.
19165 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19169 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19170 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19173 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19174 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19175 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19176 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19177 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19178 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19179 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19180 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19181 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19182 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19183 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19184 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19185 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19186 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19187 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19188 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19189 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19190 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19191 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19192 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19193 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19194 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19195 [XPG3] (acosh): Likewise.
19196 [XPG3] (asinh): Likewise.
19197 [XPG3] (atanh): Likewise.
19198 [XPG3] (cbrt): Likewise.
19199 [XPG3] (expm1): Likewise.
19200 [XPG3] (ilogb): Likewise.
19201 [XPG3] (log1p): Likewise.
19202 [XPG3] (logb): Likewise.
19203 [XPG3] (nextafter): Likewise.
19204 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19206 [XPG3] (remainder): Likewise.
19207 [XPG3] (rint): Likewise.
19208 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19209 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19210 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19211 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19212 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19213 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19214 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19215 [UNIX98 || XOPEN2K] (scalb): Expect.
19216 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19217 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19218 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19219 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19220 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19221 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19224 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19225 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19226 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19227 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19228 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19229 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19230 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19231 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19232 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19233 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19234 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19235 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19236 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19237 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19238 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19239 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19240 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19241 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19242 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19243 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19244 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19245 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19246 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19247 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19248 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19249 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19250 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19251 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19252 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19253 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19254 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19255 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19256 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19257 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19258 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19259 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19260 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19261 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19262 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19263 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19264 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19265 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19266 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19267 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19268 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19269 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19270 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19271 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19272 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19273 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19274 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19275 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19276 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19277 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19278 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19279 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19280 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19281 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19282 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19283 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19284 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19285 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19286 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19287 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19288 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19289 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19290 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19291 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19292 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19293 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19294 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19295 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19296 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19297 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19298 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19299 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19300 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19301 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19302 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19303 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19304 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19305 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19306 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19307 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19308 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19309 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19310 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19311 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19312 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19313 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19314 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19315 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19316 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19317 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19318 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19319 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19320 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19321 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19322 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19323 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19324 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19325 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19326 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19327 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19328 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19329 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19330 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19331 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19332 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19333 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19334 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19335 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19336 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19337 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19338 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19339 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19340 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19341 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19342 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19343 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19344 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19345 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19346 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19347 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19348 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19349 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19350 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19351 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19352 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19354 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19355 _XOPEN_SOURCE_EXTENDED for XPG4.
19357 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19359 * Makeconfig (localtime): Remove variable.
19360 (inst_localtime-file): Likewise.
19362 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19383 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19387 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19388 comparisons to determine direction to adjust input.
19389 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19390 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19391 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19393 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19395 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19397 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19398 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19400 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19402 * math/libm-test.inc (nexttoward_test): Add more tests.
19404 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19407 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19408 in version GLIBC_2.1, not GLIBC_2.0.
19409 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19412 2012-04-30 Joseph Myers <joseph@codesourcery.com>
19415 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19417 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19418 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19419 * math/libm-test.inc (acos_test): Add more tests.
19420 (asin_test): Likewise.
19421 * sysdeps/i386/fpu/libm-test-ulps: Update.
19422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19425 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19427 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19428 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19429 * math/libm-test.inc (acos_test_tonearest): New function.
19430 (acos_test_towardzero): Likewise.
19431 (acos_test_downward): Likewise.
19432 (acos_test_upward): Likewise.
19433 (asin_test_tonearest): Likewise.
19434 (asin_test_towardzero): Likewise.
19435 (asin_test_downward): Likewise.
19436 (asin_test_upward): Likewise.
19437 (main): Call the new functions.
19438 * sysdeps/i386/fpu/libm-test-ulps: Update.
19439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19443 * math/e_exp10.c: Include <float.h>.
19444 (__ieee754_exp10): Handle underflow here rather than multiplying
19445 large negative argument by M_LN10.
19446 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19448 * math/e_exp10l.c: Include <float.h>.
19449 (__ieee754_exp10l): Handle underflow here rather than multiplying
19450 large negative argument by M_LN10l.
19451 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19452 spurious overflow exception on underflow.
19454 2012-04-29 Marek Polacek <polacek@redhat.com>
19456 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19457 (__fortify_function): New macro.
19458 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19459 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19460 __extern_always_inline.
19461 * libio/bits/stdio2.h: Likewise.
19462 * libio/bits/stdio.h: Likewise.
19463 * string/string.h: Likewise.
19464 * string/bits/string3.h: Likewise.
19465 * include/stdio.h: Likewise.
19466 * stdlib/bits/stdlib.h: Likewise.
19467 * stdlib/stdlib.h: Likewise.
19468 * rt/bits/mqueue2.h: Likewise.
19469 * rt/mqueue.h: Likewise.
19470 * posix/bits/unistd.h: Likewise.
19471 * posix/unistd.h: Likewise.
19472 * io/bits/poll2.h: Likewise.
19473 * io/bits/fcntl2.h: Likewise.
19474 * io/fcntl.h: Likewise.
19475 * io/sys/poll.h: Likewise.
19476 * misc/bits/syslog.h: Likewise.
19477 * misc/bits/syslog-ldbl.h: Likewise.
19478 * misc/sys/syslog.h: Likewise.
19479 * socket/bits/socket2.h: Likewise.
19480 * socket/sys/socket.h: Likewise.
19481 * debug/tst-chk1.c: Likewise.
19482 * wcsmbs/bits/wchar2.h: Likewise.
19483 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19484 * wcsmbs/wchar.h: Likewise.
19486 2012-04-29 Andreas Jaeger <aj@suse.de>
19488 * Makerules (tests): Remove enable-check-abi protection.
19489 (check-abi-warn): Remove.
19490 (check-abi-%): Remove check-abi-warn usage.
19492 * configure.in: Remove check-abi configure option.
19493 * configure: Regenerated.
19494 * config.make.in (enable-check-abi): Remove.
19496 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19499 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19500 double functions to double *_finite functions.
19503 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19504 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19506 * stdio-common/Makefile (tests): Add tst-sprintf3.
19507 * stdio-common/tst-sprintf3.c: New file.
19509 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19510 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19512 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19514 * conform/conformtest.pl: Remove duplicate typed-constant
19517 2012-04-28 David S. Miller <davem@davemloft.net>
19519 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19520 (check-abi-%): Remove AWK script prerequisite and explicit
19522 (check-abi): Rewrite to just diff the symlist with the abilist.
19523 (config-tls, config-abi-config): Delete, no longer used.
19524 (update-abi-%): Remove AWK script and explicit abilist directory.
19525 (update-abi): Rewrite to simply compare and conditionally copy the
19526 symlist and the sysdep abilist file. Remove update-abi-config
19528 * abilist/ld.abilist: Remove.
19529 * abilist/libBrokenLocale.abilist: Remove.
19530 * abilist/libanl.abilist: Remove.
19531 * abilist/libcrypt.abilist: Remove.
19532 * abilist/libdl.abilist: Remove.
19533 * abilist/librt.abilist: Remove.
19534 * abilist/libthread_db.abilist: Remove.
19535 * abilist/libutil.abilist: Remove.
19536 * scripts/extract-abilist.awk: Remove.
19537 * scripts/merge-abilist.awk: Remove.
19538 * sysdeps/generic/libcidn.abilist: New file.
19539 * sysdeps/generic/libnss_compat.abilist: New file.
19540 * sysdeps/generic/libnss_db.abilist: New file.
19541 * sysdeps/generic/libnss_dns.abilist: New file.
19542 * sysdeps/generic/libnss_files.abilist: New file.
19543 * sysdeps/generic/libnss_hesiod.abilist: New file.
19544 * sysdeps/generic/libnss_nis.abilist: New file.
19545 * sysdeps/generic/libnss_nisplus.abilist: New file.
19546 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19547 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19548 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19550 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19551 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19552 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19553 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19554 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19555 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19556 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19557 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19558 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19560 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19561 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19562 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19563 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19565 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19566 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19567 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19568 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19569 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19570 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19572 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19573 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19574 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19576 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19587 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19589 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19591 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19593 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19595 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19646 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19648 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19665 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19669 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19671 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19673 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19679 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19680 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19681 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19683 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19684 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19685 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19686 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19687 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19688 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19689 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19690 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19691 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19692 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19704 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19708 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19710 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19712 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19729 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19737 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19744 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19746 * conform/conformtest.pl: Fix typo in handling typed-constant from
19749 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19751 * README: Cut down references to pre-2.6 Linux kernels and
19752 Linuxthreads. Update lists of configurations in libc and ports
19753 and sort alphabetically. Say "or newer" with Linux kernel version
19756 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19758 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19761 * math/libm-test.inc (logb_test_downward): New test to expose
19762 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19765 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19768 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19770 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19771 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19773 2012-04-26 Joseph Myers <joseph@codesourcery.com>
19775 * sysdeps/unix/i386/brk.S: Remove file.
19776 * sysdeps/unix/i386/dl-brk.S: Likewise.
19777 * sysdeps/unix/i386/pipe.S: Likewise.
19778 * sysdeps/unix/i386/sigreturn.S: Likewise.
19779 * sysdeps/unix/i386/syscall.S: Likewise.
19780 * sysdeps/unix/i386/vfork.S: Likewise.
19781 * sysdeps/unix/i386/wait.S: Likewise.
19783 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19784 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19786 * configure.in (arm*-none*): Do not allow without
19787 --enable-hacker-mode.
19788 (netbsd*): Remove case setting base_os.
19789 (386bsd*): Likewise.
19790 (freebsd*): Likewise.
19793 (sunos*): Likewise.
19794 (ultrix*): Likewise.
19795 (newsos*): Likewise.
19796 (dynix*): Likewise.
19802 (minix*): Likewise.
19803 (irix4*): Likewise.
19804 (irix6*): Likewise.
19805 (solaris[2-9]*): Likewise.
19807 * configure: Regenerated.
19809 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19812 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19813 overflow or cancellation in calculating denominator.
19814 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19815 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19816 down expression to avoid unexpected rounding in newer GCCs.
19817 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19819 2012-04-26 David S. Miller <davem@davemloft.net>
19821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19822 long-double compat symbols.
19823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19837 2012-04-25 David S. Miller <davem@davemloft.net>
19839 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19840 HWCAP_* values only after the memory barriers have been defined.
19841 (atomic_full_barrier): Define.
19842 (atomic_read_barrier): Define.
19843 (atomic_write_barrier): Define.
19845 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19847 * shlib-versions: Add libgcc_s version information.
19848 * sysdeps/generic/libgcc_s.h: Remove.
19849 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19851 * sysdeps/gnu/unwind-resume.c: Likewise.
19852 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19854 2012-04-25 David S. Miller <davem@davemloft.net>
19856 * sysdeps/unix/sparc/brk.S: Delete.
19857 * sysdeps/unix/sparc/dl-brk.S: Delete.
19858 * sysdeps/unix/sparc/pipe.S: Delete.
19859 * sysdeps/unix/sparc/sysdep.S: Delete.
19860 * sysdeps/unix/sparc/sysdep.h: Delete.
19861 * sysdeps/unix/sparc/vfork.S: Delete.
19862 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19863 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19864 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19865 ret_ERRVAL, r0, r1, MOVE): Define.
19866 (JUMPTARGET): Remove.
19867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19868 sysdeps/unix/sparc/sysdep.h
19869 (ENTRY, END): Remove.
19870 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19872 2012-04-25 Joseph Myers <joseph@codesourcery.com>
19874 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19875 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19878 * timezone/README: Update upstream location and email address for
19880 * timezone/zdump.c: Update from tzcode 2012b.
19881 * timezone/zic.c: Likewise.
19883 * configure.in (libc_cv_as_needed): Remove test.
19884 * configure: Regenerated.
19885 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19886 conditional definition.
19887 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19888 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19889 * config.make.in (have-as-needed): Remove variable.
19891 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19892 Paul Pluzhnikov <ppluzhnikov@google.com>
19894 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19897 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19899 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19900 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19901 * sysdeps/sh/strlen.S: Likewise.
19903 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19905 * sysdeps/unix/fork.S: Remove file.
19906 * sysdeps/unix/i386/fork.S: Likewise.
19907 * sysdeps/unix/sparc/fork.S: Likewise.
19909 * sysdeps/unix/system.c: Remove file.
19910 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19912 * sysdeps/unix/getegid.S: Remove file.
19913 * sysdeps/unix/geteuid.S: Likewise.
19915 2012-04-24 Roland McGrath <roland@hack.frob.com>
19917 * scripts/check-localplt.awk: New file.
19918 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19920 * scripts/data/localplt-generic.data: Add a comment.
19922 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19923 NODE when __dir_mkfile failed.
19924 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19925 Reported by Ludovic Courtès <ludo@gnu.org>.
19927 2012-04-24 Andreas Jaeger <aj@suse.de>
19929 * Makerules (common-clean): Also remove gen-as-const-headers
19932 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19934 * Makerules (native-compile): Do not change working directory for
19935 build. Use $(OUTPUT_OPTION) in command.
19936 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19938 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19941 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19942 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19943 * math/libm-test.inc (floor_test): Add more tests.
19944 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19946 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19948 * sysdeps/unix/getdents.c: Remove file.
19949 * sysdeps/unix/sysv/getdents.c: Likewise.
19950 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19952 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19953 sysdeps/unix/mman/syscalls.list.
19955 (mprotect): Likewise.
19957 (munmap): Likewise.
19958 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19959 * sysdeps/unix/mman/syscalls.list: Remove.
19960 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19962 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19963 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19964 * configure: Regenerated.
19965 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19966 $(libgcc_s_suffix).
19967 * config.make.in (libgcc_s_suffix): Remove variable.
19969 2012-04-23 Joseph Myers <joseph@codesourcery.com>
19971 * sysdeps/unix/sysv/gethostname.c: Move to ...
19972 * sysdeps/posix/gethostname.c: ... here.
19974 * sysdeps/unix/execve.S: Remove file.
19976 * sysdeps/unix/_exit.S: Remove file.
19978 2012-04-23 Andreas Jaeger <aj@suse.de>
19981 * manual/Makefile: Remove make dist support, there's no
19982 need for a stand-alone documentation tar ball.
19983 (TEXI2DVI): Define always, it's not in Makeconfig.
19986 (edition): Removed.
19987 (glibc-doc-$(edition).tar): Removed
19991 (ETAGS): Remove, it's in Makeconfig.
19992 (move-if-change): Remove, it's in Makeconfig.
19994 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
19997 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19998 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19999 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20000 (strtod_l, strtof_l, strtold_l): Remove __wur.
20001 It is not necessarily an error to ignore strtol's return value.
20002 One can reliably look at the stored endptr to decide whether
20003 the number had valid syntax.
20005 2012-04-21 Andreas Jaeger <aj@suse.de>
20008 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20010 2012-04-21 Joseph Myers <joseph@codesourcery.com>
20012 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20013 * sysdeps/unix/sysv/Versions: Remove file.
20015 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20018 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20020 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
20023 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20024 version from __vm86.
20026 2012-04-20 Joseph Myers <joseph@codesourcery.com>
20028 * sysdeps/unix/common/lxstat.c: Remove file.
20029 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20031 * sysdeps/unix/sysv/Makefile: Remove file.
20033 * sysdeps/unix/sysv/direct.h: Remove file.
20035 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20036 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20037 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20038 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20039 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20040 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20041 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20043 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20045 * sysdeps/unix/xmknod.c: Remove file.
20046 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20048 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20050 * sysdeps/unix/sysv/i386/time.S: Remove file.
20052 * sysdeps/unix/fxstat.c: Remove file.
20053 * sysdeps/unix/xstat.c: Likewise.
20054 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20056 * sysdeps/unix/sysv/sigaction.c: Remove file.
20058 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20059 (sysdep_headers): Remove variable.
20060 [termio.h not in sysdep_headers] (generated): Likewise.
20061 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20062 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20063 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20064 * sysdeps/unix/sysv/tcflow.c: Likewise.
20065 * sysdeps/unix/sysv/tcflush.c: Likewise.
20066 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20067 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20068 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20069 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20070 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20072 * sysdeps/unix/siglist.c: Remove file.
20074 * sysdeps/unix/getppid.S: Remove file.
20076 * sysdeps/unix/mkdir.c: Remove file.
20077 * sysdeps/unix/rmdir.c: Likewise.
20079 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20081 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20083 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20084 errlist-compat value.
20086 2012-04-18 David S. Miller <davem@davemloft.net>
20088 * sysdeps/generic/memcopy.h (reg_char): Delete.
20089 * debug/strcat_chk.c: Use char, not reg_char.
20090 * debug/strcpy_chk.c: Likewise.
20091 * debug/strncat_chk.c: Likewise.
20092 * debug/strncpy_chk.c: Likewise.
20093 * string/memchr.c: Likewise.
20094 * string/memrchr.c: Likewise.
20095 * string/rawmemchr.c: Likewise.
20096 * string/strcat.c: Likewise.
20097 * string/strchr.c: Likewise.
20098 * string/strchrnul.c: Likewise.
20099 * string/strcmp.c: Likewise.
20100 * string/strcpy.c: Likewise.
20101 * string/strncat.c: Likewise.
20102 * string/strncmp.c: Likewise.
20103 * string/strncpy.c: Likewise.
20105 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20107 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20108 __builtin_memcopy is called when src and dest ranges are known to not
20111 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20113 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20114 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20115 fwd_align_merge macro call.
20116 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20117 bwd_align_merge macro call.
20118 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20120 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20122 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20123 bwd_align_merge macros.
20124 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20125 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20126 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20128 2012-04-18 David S. Miller <davem@davemloft.net>
20130 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20132 2012-04-18 Andreas Jaeger <aj@suse.de>
20135 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20136 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20137 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20139 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20140 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20141 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20143 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20144 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20145 Adjust for changed ldbl-128 files.
20147 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20148 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20149 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20151 2012-04-17 David S. Miller <davem@davemloft.net>
20153 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20155 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20157 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20158 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20159 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20160 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20161 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20162 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20164 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20167 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20168 * math/libm-test.inc: Add ilogb errno and exception tests.
20169 * math/w_ilogb.c: New file: ilogb wrapper.
20170 * math/w_ilogbf.c: New file: ilogbf wrapper.
20171 * math/w_ilogbl.c: New file: ilogbl wrapper.
20172 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20173 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20174 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20175 exception being thrown with 0.0 as argument.
20176 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20177 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20178 exception being thrown with 0.0 as argument.
20179 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20180 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20181 exception being thrown with 0.0 as argument.
20182 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20183 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20184 exception being thrown with 0.0 as argument.
20185 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20186 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20187 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20188 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20189 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20190 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20191 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20192 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20193 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20195 2012-04-17 Petr Baudis <pasky@ucw.cz>
20197 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20200 2012-04-16 Marek Polacek <polacek@redhat.com>
20202 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20204 2012-04-16 Marek Polacek <polacek@redhat.com>
20206 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20207 operands of fdivp instruction.
20209 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20211 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20212 * elf/tst-auditmod3b.c: Likewise.
20213 * elf/tst-auditmod4b.c: Likewise.
20214 * elf/tst-auditmod5b.c: Likewise.
20215 * elf/tst-auditmod6b.c: Likewise.
20216 * elf/tst-auditmod6c.c: Likewise.
20217 * elf/tst-auditmod7b.c: Likewise.
20218 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20219 * sysdeps/x86_64/preconfigure.in: Likewise.
20220 * sysdeps/x86_64/preconfigure: Regenerated.
20222 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20224 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20227 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20229 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20230 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20232 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20235 * locale/iso-639.def: Fix gl language name. Spotted by
20238 2012-04-12 Roland McGrath <roland@hack.frob.com>
20241 * libio/libio.h (__io_write_fn): Update comment.
20243 2012-04-12 Petr Baudis <pasky@ucw.cz>
20246 * stdio.texi (Hook Functions): The user provided writer function
20247 is not allowed to return -1.
20249 2012-04-11 David S. Miller <davem@davemloft.net>
20251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20253 2012-04-11 Mike Frysinger <vapier@gentoo.org>
20255 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20256 Add a leading slash to rtkaio.
20258 2012-04-11 Jim Meyering <meyering@redhat.com>
20261 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20262 It is not necessarily an error to ignore fwrite's return
20263 value. One can reliably use ferror to test for errors after
20266 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20268 * bits/types.h (__snseconds_t): New type.
20269 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20271 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20272 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20273 (__SNSECONDS_T_TYPE): Likewise.
20274 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20275 (__SNSECONDS_T_TYPE): Likewise.
20276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20277 (__SNSECONDS_T_TYPE): Likewise.
20279 2012-04-10 Andreas Jaeger <aj@suse.de>
20282 * manual/time.texi (Processor Time): Return type of times is
20283 elapsed real time since an arbitrary point in the past.
20284 (CPU Time): Move CLK_TCK from here...
20285 (Processor Time): ...to here. Correct description.
20286 * manual/conf.texi (Constants for Sysconf): Correct description of
20289 2012-04-10 David S. Miller <davem@davemloft.net>
20292 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20293 where the is a gap between DT_REL(A) and DT_JMPREL.
20295 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20297 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20298 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20299 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20301 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20303 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20304 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20305 (dl_main): Handle --inhibit-cache.
20306 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20308 * elf/dl-load.c (_dl_map_object): Use it.
20309 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20311 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20314 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20315 (__ieee754_powl): Saturate large exponents rather than testing for
20316 overflow of y*log2(x).
20317 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20318 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20322 * math/s_ctan.c: Include <float.h>.
20323 (__ctan): Avoid internal overflow or cancellation in calculating
20325 * math/s_ctanf.c: Likewise.
20326 * math/s_ctanl.c: Likewise.
20327 * math/s_ctanh.c: Likewise.
20328 * math/s_ctanhf.c: Likewise.
20329 * math/s_ctanhl.c: Likewise.
20330 * math/libm-test.inc (ctan_test): Add more tests.
20331 (ctanh_test): Likewise.
20332 * sysdeps/i386/fpu/libm-test-ulps: Update.
20333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20335 2012-04-09 Andreas Jaeger <aj@suse.de>
20338 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20339 is an optional BSD extension.
20342 * manual/stdio.texi (Opening Streams): Document additional fopen
20345 2012-04-09 Roland McGrath <roland@hack.frob.com>
20347 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20348 %eax without telling the compiler.
20350 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20353 * manual/install.texi: Use sourceware.org.
20355 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20358 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20359 (__ieee754_pow): Generate overflow and underflow using huge*huge
20360 and tiny*tiny rather than just returning constant infinity or zero
20361 for large exponents.
20362 * math/libm-test.inc (pow_test): Require overflow exceptions for
20363 applicable cases of large exponents.
20366 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20367 (__ieee754_pow): Use iterative multiplication algorithm only for
20368 integer exponents with absolute value below 1024. Check for odd
20369 integer exponents when using algorithm for real exponents.
20370 * math/libm-test.inc (pow_test): Add more tests.
20371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20373 2012-04-08 Joseph Myers <joseph@codesourcery.com>
20376 * math/libm-test.inc (exp_test): Do not allow overflow exception
20379 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20382 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20383 instead of __kernel_standard_f.
20385 2012-04-08 Mike Frysinger <vapier@gentoo.org>
20387 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20388 * sysdeps/x86_64/memset_chk.S: Likewise.
20390 2012-04-08 Andreas Jaeger <aj@suse.de>
20393 * manual/startup.texi (Environment Access): Describe return value
20394 for putenv and setenv.
20397 * manual/filesys.texi (Directory Entries): Add description for
20401 * manual/filesys.texi (Directory Entries): Clarify that it's file
20402 system not operating system in the description of DT_UNKNOWN.
20405 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20407 2012-04-08 Stephen Compall <s11@member.fsf.org>
20410 * manual/llio.texi (Opening and Closing Files): Add cross
20411 reference to explain mode argument.
20413 2012-04-07 Mike Frysinger <vapier@gentoo.org>
20415 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20416 * sysdeps/x86_64/memset_chk.S: Likewise.
20418 2012-04-07 David S. Miller <davem@davemloft.net>
20420 * elf/elf.h (R_SPARC_WDISP10): Define.
20421 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20423 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20424 R_SPARC_SIZE64 and R_SPARC_H34.
20426 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20428 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20429 conditions and remove no longer applicable assertion.
20431 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20433 * bits/byteswap.h: Include <features.h>.
20434 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20435 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20437 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20439 * bits/byteswap.h (__bswap_16): Removed.
20440 Include <bits/byteswap-16.h> to get __bswap_16.
20441 * sysdeps/i386/bits/byteswap.h: Likewise.
20442 * sysdeps/s390/bits/byteswap.h: Likewise.
20443 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20444 * bits/byteswap-16.h: New file.
20445 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20446 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20447 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20448 * string/Makefile (headers): Add bits/byteswap-16.h.
20450 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20453 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20455 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20456 * nss/tst-nss-static.c: New.
20458 2012-04-06 Robert Millan <rmh@gnu.org>
20461 * manual/llio.texi (File Position Primitive): lseek
20462 refers to WHENCE when it really means OFFSET.
20464 2012-04-06 Andreas Jaeger <aj@suse.de>
20466 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20467 strncmp declarations.
20469 * abilist/libc.abilist: Add __poll and __ppoll.
20471 2012-04-05 David S. Miller <davem@davemloft.net>
20473 * scripts/check-local-headers.sh: Accept a host triplet in the
20474 path matched by the exclude regexp.
20476 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20478 * sysdeps/powerpc/powerpc32/dl-machine.h
20479 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20480 * sysdeps/s390/s390-32/dl-machine.h
20481 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20482 * sysdeps/sparc/sparc32/dl-machine.h
20483 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20484 * sysdeps/sparc/sparc64/dl-machine.h
20485 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20487 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20489 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20490 undefined symbol errors.
20492 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20495 2012-04-05 Michael Matz <matz@suse.de>
20498 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20500 2012-04-05 Andreas Jaeger <aj@suse.de>
20503 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20506 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20508 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20509 which ROUND is no valid rounding mode.
20511 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20513 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20515 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20517 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20519 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20520 an exception using FPU order intentionally.
20522 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20524 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20525 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20526 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20527 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20529 2012-04-05 Simon Josefsson <simon@josefsson.org>
20532 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20533 EINVAL when BUFLEN is too smal.
20535 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20538 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20539 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20541 2012-04-03 Andreas Jaeger <aj@suse.de>
20544 * manual/setjmp.texi (System V contexts): Fix sentence.
20547 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20548 New macro for this case.
20549 [!__GNUC__] (__bswap_64): New inline function for this case.
20550 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20551 * bits/byteswap.h: Likewise.
20552 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20553 ull, guard with __GLIBC_HAVE_LONG_LONG.
20555 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20556 __GLIBC_HAVE_LONG_LONG.
20558 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20559 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20561 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20564 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20565 inptr and inend, rather than using last_ch.
20567 2012-04-02 David S. Miller <davem@davemloft.net>
20569 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20570 * stdio-common/printf-parse.h (read_int): Change return type to
20571 'int', return -1 on INT_MAX overflow.
20572 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20573 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20574 overflows INT_MAX. Check for overflow of in-format-string precision
20575 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20576 SIZE_MAX not INT_MAX for integer overflow test.
20577 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20578 skip the construct in the format string but do not record anything.
20579 * stdio-common/bug22.c: Adjust to test both width/prevision
20580 INT_MAX overflow as well as total length INT_MAX overflow. Check
20581 explicitly for proper errno values.
20583 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20585 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20587 * string/test-strcmp.c [! WIDE]: Likewise.
20588 * time/tst-mktime2.c: Likewise for INT_MAX.
20589 * string/test-string.h: #include <sys/param.h> for MIN.
20591 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20592 * sysdeps/i386/init-first.c (init): Likewise.
20593 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20594 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20595 * sysdeps/sh/init-first.c (init): Likewise.
20597 2012-04-01 Ulrich Drepper <drepper@gmail.com>
20599 * po/ru.po: Update from translation team.
20600 * po/vi.po: Likewise.
20602 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20604 * resolv/nss_dns/dns-host.c: Merge copyright years.
20606 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20608 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20609 Optimize memcpy with prefetch if
20610 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20611 src, dst pointers have unequal 16 byte alignments.
20613 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20616 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20617 from a CNAME entry and return the minimum ttl for the query.
20618 (gaih_getanswer_slice): Likewise.
20620 2012-03-30 Jeff Law <law@redhat.com>
20622 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20624 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20625 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20627 * resolv/nss_dns/dns-host.c: Update copyright year.
20629 2012-03-30 Ulrich Drepper <drepper@gmail.com>
20631 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20632 requests to save a system call. Fix check that all bytes are sent.
20634 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20635 comments for sendmmsg.
20637 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20640 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20641 with only 1 character between 0x0041 and 0x01b0.
20642 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20643 * wcsmbs/tst-mbsnrtowcs.c: New file.
20645 2012-03-29 David S. Miller <davem@davemloft.net>
20647 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20648 small copies by hand.
20650 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20653 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20654 _nss_compat_initgroups_dyn): Fall back to malloc/free
20655 for large group memberships.
20657 2012-03-28 David S. Miller <davem@davemloft.net>
20659 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20660 that branches into memcpy.
20661 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20662 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20663 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20664 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20665 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20667 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20668 implementation too.
20669 * sysdeps/sparc/mempcpy.S: New file.
20671 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20672 the IFUNC routine in the libc case.
20673 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20675 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20676 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20677 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20678 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20679 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20680 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20681 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20682 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20684 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20685 loop to 256 bytes instead of 64 bytes and fix test signedness.
20687 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20688 * sysdeps/sparc/sparc32/Makefile: rather than here...
20689 * sysdeps/sparc/sparc64/Makefile: and here.
20691 2012-03-28 Ulrich Drepper <drepper@gmail.com>
20693 * malloc/mallocbug.c: Avoid warnings about unused variables.
20695 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20698 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20699 in the right place. Discard and retry query if response is
20700 larger than input buffer size.
20702 2012-03-28 Joseph Myers <joseph@codesourcery.com>
20707 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20708 x for large integer exponent.
20709 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20710 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20711 sign of result as needed afterwards.
20712 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20713 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20714 result for underflowing pow the same as for overflow.
20715 (__kernel_standard_l): Handle powl overflow and underflow here
20716 rather than calling __kernel_standard.
20717 * math/libm-test.inc (pow_test): Add more tests.
20732 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20733 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20734 (__kernel_standard_l): New function.
20735 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20737 * math/w_acosl.c (__acosl): Likewise.
20738 * math/w_asinl.c (__asinl): Likewise.
20739 * math/w_atan2l.c (__atan2l): Likewise.
20740 * math/w_atanhl.c (__atanhl): Likewise.
20741 * math/w_coshl.c (__coshl): Likewise.
20742 * math/w_exp10l.c (__exp10l): Likewise.
20743 * math/w_exp2l.c (__exp2l): Likewise.
20744 * math/w_fmodl.c (__fmodl): Likewise.
20745 * math/w_hypotl.c (__hypotl): Likewise.
20746 * math/w_j0l.c (__j0l, __y0l): Likewise.
20747 * math/w_j1l.c (__j1l, __y1l): Likewise.
20748 * math/w_jnl.c (__jnl, __ynl): Likewise.
20749 * math/w_lgammal.c (__lgammal): Likewise.
20750 * math/w_log10l.c (__log10l): Likewise.
20751 * math/w_log2l.c (__log2l): Likewise.
20752 * math/w_logl.c (__logl): Likewise.
20753 * math/w_powl.c (__powl): Likewise.
20754 * math/w_remainderl.c (__remainderl): Likewise.
20755 * math/w_scalbl.c (sysv_scalbl): Likewise.
20756 * math/w_sinhl.c (__sinhl): Likewise.
20757 * math/w_sqrtl.c (__sqrtl): Likewise.
20758 * math/w_tgammal.c (__tgammal): Likewise.
20759 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20760 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20761 * math/libm-test.inc (acos_test): Add more tests.
20762 (acosh_test): Likewise.
20763 (asin_test): Likewise.
20764 (atanh_test): Likewise.
20765 (exp_test): Likewise.
20766 (exp10_test): Likewise.
20767 (exp2_test): Likewise.
20768 (expm1_test): Likewise.
20769 (lgamma_test): Likewise.
20770 (log_test): Likewise.
20771 (log10_test): Likewise.
20772 (log1p_test): Likewise.
20773 (log2_test): Likewise.
20774 (pow_test): Do not allow some spurious overflow exceptions.
20775 (sqrt_test): Add more tests.
20776 (tgamma_test): Likewise.
20777 (y0_test): Likewise.
20778 (y1_test): Likewise.
20779 (yn_test): Likewise.
20781 2012-03-27 Anton Blanchard <anton@samba.org>
20783 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20785 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20786 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20787 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20789 2012-03-27 David S. Miller <davem@davemloft.net>
20791 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20793 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20794 have-as-vis3 check.
20796 2012-03-27 Andreas Jaeger <aj@suse.de>
20798 * sysdeps/x86_64/elf/configure.in: Moved to ...
20799 * sysdeps/x86_64/configure.in: ... here.
20800 * sysdeps/x86_64/elf/start.S: Moved to ...
20801 * sysdeps/x86_64/start.S: ... here.
20802 * sysdeps/x86_64/elf/configure: Delete.
20804 * sysdeps/x86_64/configure.in: Merge contents from
20805 sysdeps/i386/configure.in (without i686 check).
20807 * sysdeps/i386/elf/Versions: Merge into ...
20808 * sysdeps/i386/Versions: ... this.
20809 * sysdeps/i386/elf/Versions: Delete file.
20810 * sysdeps/i386/elf/start.S: Moved to ...
20811 * sysdeps/i386/start.S: ...here.
20812 * sysdeps/i386/elf/configure.in: Merge into...
20813 * sysdeps/i386/configure.in: ...here.
20814 * sysdeps/i386/elf/configure.in: Delete file.
20815 * sysdeps/i386/elf/configure: Delete file.
20817 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20818 * debug/backtracesyms.c: ... here.
20819 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20820 * debug/backtracesymsfd.c: ... here.
20821 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20822 * sysdeps/generic/ifunc-sel.h: ... here.
20824 * sysdeps/unix/i386/start.c: Delete file.
20825 * sysdeps/unix/sparc/start.c: Delete file.
20826 * sysdeps/unix/start.c: Delete file.
20828 * sysdeps/sh/elf/configure.in: Moved to ...
20829 * sysdeps/sh/configure.in: ... here.
20830 * sysdeps/sh/elf/start.S: Moved to ...
20831 * sysdeps/sh/start.S: ... here.
20832 * sysdeps/sh/elf/configure: Delete file.
20834 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20835 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20836 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20837 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20838 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20839 * sysdeps/powerpc/powerpc64/start.S: here.
20840 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20841 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20842 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20843 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20844 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20846 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20847 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20848 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20849 * sysdeps/powerpc/powerpc32/start.S: ... here.
20850 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20851 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20852 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20854 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20855 * sysdeps/powerpc/ifunc-sel.h: ... here.
20856 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20857 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20859 * sysdeps/sparc/elf/configure.in: Moved to ...
20860 * sysdeps/sparc/configure.in: ... here.
20861 * sysdeps/sparc/elf/configure: Delete file.
20862 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20863 * sysdeps/sparc/sparc32/start.S: ... here.
20864 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20865 * sysdeps/sparc/sparc64/start.S: ... here.
20866 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20867 * sysdeps/sparc/sparc32/Makefile: ... this.
20868 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20869 * sysdeps/sparc/sparc64/Makefile: ... this.
20871 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20872 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20873 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20874 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20875 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20876 * sysdeps/s390/s390-32/setjmp.S: ... here.
20877 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20878 * sysdeps/s390/s390-32/configure.in: ... here.
20879 * sysdeps/s390/s390-32/elf/configure: Delete file.
20880 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20881 * sysdeps/s390/s390-32/start.S: ... here.
20883 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20884 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20885 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20886 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20887 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20888 * sysdeps/s390/s390-64/setjmp.S: ... here.
20889 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20890 * sysdeps/s390/s390-64/configure.in: ... here
20891 * sysdeps/s390/s390-64/elf/configure: Delete file.
20892 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20893 * sysdeps/s390/s390-64/start.S: ... here.
20894 * sysdeps/s390/s390-64/elf/configure: Delete.
20896 * configure.in: Remove support for elf directories in sysdeps.
20898 * configure: Regenerated.
20899 * sysdeps/i386/configure: Regenerated.
20900 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20901 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20902 * sysdeps/s390/s390-32/configure: Regenerated.
20903 * sysdeps/s390/s390-64/configure: Regenerated.
20904 * sysdeps/sh/configure: Regenerated.
20905 * sysdeps/sparc/configure: Regenerated.
20906 * sysdeps/x86_64/configure: Regenerated.
20908 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20912 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20913 denormal result into account.
20915 2012-03-25 Roland McGrath <roland@hack.frob.com>
20917 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20918 Reported by Allan McRae <allan@archlinux.org>.
20920 2012-03-23 Jeff Law <law@redhat.com>
20922 * nss/getnssent.c (__nss_getent): Fix typo.
20924 2012-03-23 David S. Miller <davem@davemloft.net>
20926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20928 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20930 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20931 to pad to uint64_t for each field.
20932 (dl_tls_index): Replace unsigned long with uint64_t.
20934 2012-03-23 Daniel Jacobowitz <dmj@google.com>
20935 Paul Pluzhnikov <ppluzhnikov@google.com>
20938 * grp/Makefile (otherlibs): Don't set it.
20939 * inet/Makefile (otherlibs): Likewise.
20940 * login/Makefile (otherlibs): Likewise.
20941 * nscd/Makefile (otherlibs): Likewise.
20942 * posix/Makefile (otherlibs): Likewise.
20943 * pwd/Makefile (otherlibs): Likewise.
20944 * rt/Makefile (otherlibs): Likewise.
20945 * sunrpc/Makefile (otherlibs): Likewise.
20946 * nss/Makefile (otherlibs): Likewise.
20947 Add libnss_files to routines and static-only-routines.
20948 ($(objpfx)getent): Remove rule.
20949 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20950 static-only-routines.
20952 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20955 * math/s_cexp.c: Include <float.h>.
20956 (__cexp): Handle exp result overflowing not necessarily
20957 overflowing both real and imaginary parts of result.
20958 * math/s_cexpf.c: Likewise.
20959 * math/s_cexpl.c: Likewise.
20960 * math/libm-test.inc (cexp_test): Add more tests.
20961 * sysdeps/i386/fpu/libm-test-ulps: Update.
20962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20964 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20966 * include/link.h (ELFW): New macro.
20967 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20968 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20970 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20972 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20975 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20977 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20979 (struct La_x32_retval): Likewise.
20981 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20983 * sysdeps/x86_64/preconfigure.in: New file.
20984 * sysdeps/x86_64/preconfigure: New generated file.
20986 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20989 * math/e_exp2l.c: Include <float.h>.
20990 (__ieee754_exp2l): Handle overflow and underflow cases
20991 separately. Only pass fractional part of argument to
20993 * math/libm-test.inc (exp2_test): Add more tests.
20995 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20996 negating x to take absolute value.
20997 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20999 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21000 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21002 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21003 computing low part if x was negated.
21004 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21006 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21008 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21009 la_x32_gnu_pltexit.
21010 (pltexit): Cast int_retval to ptrdiff_t.
21011 * elf/tst-auditmod3b.c: Likewise.
21012 * elf/tst-auditmod4b.c: Likewise.
21013 * elf/tst-auditmod5b.c: Likewise.
21014 * elf/tst-auditmod6b.c: Likewise.
21015 * elf/tst-auditmod6c.c: Likewise.
21016 * elf/tst-auditmod7b.c: Likewise.
21018 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21019 and x32_gnu_pltexit.
21021 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21022 __ELF_NATIVE_CLASS.
21023 (La_x32_regs): New macro.
21024 (La_x32_retval): Likewise.
21025 (la_x32_gnu_pltenter): New function prototype.
21026 (la_x32_gnu_pltexit): Likewise.
21028 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21030 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21035 * configure.in (libc_cv_cc_nofma): Check for option to disable
21036 generation of FMA instructions.
21037 * configure: Regenerate.
21038 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21039 * sysdeps/ieee754/dbl-64/Makefile: New file.
21040 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21041 Remove brandred-fma4.
21042 (CFLAGS-brandred-fma4.c): Remove.
21043 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21044 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21046 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21049 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21051 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21052 LLONG_MAX != LONG_MAX.
21053 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21054 (_fitoa_word): Likewise.
21055 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21056 LLONG_MAX != LONG_MAX.
21057 * stdio-common/_itowa.h: Include <_itoa.h>.
21058 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21059 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21060 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21061 only if not defined.
21062 (_ITOA_WORD_TYPE): Likewise.
21063 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21064 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21066 2012-03-21 David S. Miller <davem@davemloft.net>
21068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21070 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21072 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21073 of x86_64 when setting libc_cv_slibdir, libdir and
21075 * sysdeps/unix/sysv/linux/configure: Regenerated.
21077 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21079 * manual/lang.texi (Old Varargs): Remove section.
21080 (How Variadic): Update menu.
21081 (va_start): Do not mention varargs.h.
21083 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21084 Joseph Myers <joseph@codesourcery.com>
21086 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21088 * configure: Regenerated.
21090 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21092 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21093 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21096 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21099 * Makefile (files-for-dist): Remove NOTES.
21100 (NOTES): Remove rule.
21101 * README: Don't refer to NOTES.
21102 * manual/creature.texi: Don't include macros.texi.
21103 * manual/intro.texi (creature.texi): Remove comment referring to
21106 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21107 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21108 * configure: Regenerated.
21109 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21110 LIBC_TRY_CC_OPTION.
21111 (libc_cv_as_i686): Likewise.
21112 (libc_cv_cc_avx): Likewise.
21113 (libc_cv_cc_sse2avx): Likewise.
21114 (libc_cv_cc_fma4): Likewise.
21115 (libc_cv_cc_novzeroupper): Likewise.
21116 * sysdeps/i386/configure: Regenerated.
21119 * sysdeps/i386/fpu/s_cexp.S: Remove.
21120 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21121 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21122 * math/libm-test.inc (cexp_test): Add more tests.
21123 * sysdeps/i386/fpu/libm-test-ulps: Update.
21124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21126 2012-03-21 Allan McRae <allan@archlinux.org>
21128 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21130 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21133 * math/w_exp2.c: Do not include <float.h>.
21134 (o_threshold, u_threshold): Remove.
21135 (__exp2): Calculate result before checking finiteness and calling
21137 * math/w_exp2f.c: Likewise.
21138 * math/w_exp2l.c: Likewise.
21139 * math/libm-test.inc (exp2_test): Require overflow exception for
21143 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21144 range of signed 64-bit integers before using fistpll. Remove
21145 checks for whether integers fit in mantissa bits.
21146 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21147 the range of signed 32-bit integers before using fistpl. Remove
21148 checks for whether integers fit in mantissa bits.
21149 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21150 (__ieee754_powl): Test for y outside the range of signed 64-bit
21151 integers before using fistpll. Reduce 64-bit values to 63-bit
21153 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21154 divide-by-zero is raised for zero to large negative powers.
21155 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21156 (__ieee754_powl): Test for y outside the range of signed 64-bit
21157 integers before using fistpll. Reduce 64-bit values to 63-bit
21159 * math/libm-test.inc (pow_test): Add more tests.
21161 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21163 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21164 <stdio-common/_itoa.h>.
21165 * debug/segfault.c: Likewise.
21166 * elf/dl-cache.c: Likewise.
21167 * elf/dl-minimal.c: Likewise.
21168 * elf/dl-misc.c: Likewise.
21169 * elf/dl-sysdep.c: Likewise.
21170 * elf/dl-version.c: Likewise.
21171 * elf/rtld.c: Likewise.
21172 * hurd/hurdsock.c: Likewise.
21173 * hurd/lookup-retry.c: Likewise.
21174 * malloc/malloc.c: Likewise.
21175 * malloc/mtrace.c: Likewise.
21176 * nscd/nscd_getgr_r.c: Likewise.
21177 * nscd/nscd_getpw_r.c: Likewise.
21178 * nscd/nscd_getserv_r.c: Likewise.
21179 * posix/getopt_init.c: Likewise.
21180 * posix/wordexp.c: Likewise.
21181 * stdio-common/_itoa.c: Likewise.
21182 * stdio-common/printf_fphex.c: Likewise.
21183 * stdio-common/vfprintf.c: Likewise.
21184 * string/_strerror.c: Likewise.
21185 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21186 * sysdeps/i386/i686/hp-timing.h: Likewise.
21187 * sysdeps/mach/_strerror.c: Likewise.
21188 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21189 * sysdeps/mach/hurd/sethostid.c: Likewise.
21190 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21191 * sysdeps/mach/xpg-strerror.c: Likewise.
21192 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21193 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21194 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21195 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21196 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21197 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21198 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21199 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21200 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21201 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21202 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21203 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21204 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21205 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21206 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21207 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21208 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21209 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21210 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21211 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21212 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21214 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21216 * stdio-common/_itoa.h: Moved to ...
21217 * sysdeps/generic/_itoa.h: Here.
21219 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21221 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21222 instead of "_itoa.h" and "_itowa.h".
21223 * stdio-common/vfprintf.: Likewise.
21225 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21227 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21229 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21230 (__signbit): Likwise.
21231 (llrintf): Likwise.
21234 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21236 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21239 2012-03-20 Joseph Myers <joseph@codesourcery.com>
21241 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21242 OVERFLOW_EXCEPTION_OK.
21243 * math/libm-test.inc ("Philosophy"): Update comment about
21245 (OVERFLOW_EXCEPTION): Define.
21246 (OVERFLOW_EXCEPTION_OK): Likewise.
21247 (INVALID_EXCEPTION_OK): Renumber.
21248 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21249 (IGNORE_ZERO_INF_SIGN): Likewise.
21250 (test_exceptions): Handle FE_OVERFLOW.
21251 (exp10_test): Expect overflow exceptions.
21252 (exp2_test): Likewise.
21253 (expm1_test): Likewise.
21254 (nextafter_test): Likewise.
21255 (pow_test): Likewise.
21256 (scalbn_test): Likewise.
21257 (scalbln_test): Likewise.
21259 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21261 * sysdeps/x86_64/bits/atomic.h
21262 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21264 (atomic_exchange_acq): Likewise.
21265 (__arch_exchange_and_add_body): Likewise.
21266 (__arch_add_body): Likewise.
21267 (atomic_add_negative): Likewise.
21268 (atomic_add_zero): Likewise.
21270 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21272 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21273 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21275 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21277 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21278 Check __x86_64__ instead of __WORDSIZE.
21280 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21282 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21284 2012-03-19 David S. Miller <davem@davemloft.net>
21286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21288 * sysdeps/sparc/fpu/fenv_private.h: New file.
21289 * sysdeps/sparc/fpu/math_private.h: Use it.
21290 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21292 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21293 (libc_feholdexcept_setroundl): Remove.
21294 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21296 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21297 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21299 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21301 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21302 int64_t instead of long int.
21303 (INSERT_WORDS64): Likwise.
21305 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21307 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21308 _Unwind_GetCFA return to _Unwind_Ptr first.
21310 2012-03-19 Joseph Myers <joseph@codesourcery.com>
21313 * math/s_clog.c: Include <float.h>.
21314 (__clog): Scale large or subnormal inputs.
21315 * math/s_clogf.c: Likewise.
21316 * math/s_clogl.c: Likewise.
21317 * math/s_clog10.c: Include <float.h>.
21318 (M_LOG10_2): Define.
21319 (__clog10): Scale large or subnormal inputs.
21320 * math/s_clog10f.c: Likewise.
21321 * math/s_clog10l.c: Likewise.
21322 * math/libm-test.inc (clog_test): Add more tests.
21323 (clog10_test): Likewise.
21324 * sysdeps/i386/fpu/libm-test-ulps: Update.
21325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21328 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21330 * math/libm-test.inc (atan2_test): Add another test.
21332 * Makerules (common-objdir-compile): Remove.
21333 * sysdeps/unix/Makefile (config-generated): Do not add
21334 $(unix-generated) to variable.
21335 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21336 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21338 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21340 [generic bits/local_lim.h] (before-compile): Do not append to
21342 [generic bits/local_lim.h] (common-generated): Likewise.
21343 [generic sys/param.h] (before-compile): Do not append to variable.
21344 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21345 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21346 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21347 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21349 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21350 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21351 [generic sys/param.h] ($(addprefix
21352 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21353 [generic sys/param.h] (common-generated): Do not append to
21355 [generic sys/param.h] (sysdep_headers): Likewise.
21356 [generic bits/errno.h] (before-compile): Do not append to
21358 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21360 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21361 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21362 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21363 [generic bits/errno.h] (common-generated): Do not append to
21365 [generic bits/ioctls.h] (before-compile): Do not append to
21367 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21369 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21370 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21371 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21373 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21374 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21375 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21376 [generic bits/ioctls.h] (common-generated): Do not append to
21378 [generic sys/syscall.h] (syscall.h): Remove variable.
21379 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21381 [generic sys/syscall.h] (before-compile): Do not append to
21383 [generic sys/syscall.h] (common-generated): Likewise.
21384 * sysdeps/unix/errnos-tmpl.c: Remove file.
21385 * sysdeps/unix/errnos.awk: Likewise.
21386 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21387 * sysdeps/unix/ioctls.awk: Likewise.
21388 * sysdeps/unix/mk-local_lim.c: Likewise.
21389 * sysdeps/unix/snarf-ioctls: Likewise.
21391 2012-03-19 Richard Henderson <rth@twiddle.net>
21393 * sysdeps/i386/fpu/fenv_private.h: New file.
21394 * sysdeps/i386/fpu/math_private.h: Use it.
21395 (math_opt_barrier, math_force_eval): Remove.
21396 (libc_feholdexcept_setround_53bit): Remove.
21397 (libc_feupdateenv_53bit): Remove.
21398 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21399 (math_opt_barrier, math_force_eval): Remove.
21400 (libc_feholdexcept): Remove.
21401 (libc_feholdexcept_setround): Remove.
21402 (libc_fetestexcept, libc_fesetenv): Remove.
21403 (libc_feupdateenv_test): Remove.
21404 (libc_feupdateenv, libc_feholdsetround): Remove.
21405 (libc_feresetround): Remove.
21407 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21408 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21410 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21411 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21412 (libc_feupdateenv_testl): New.
21413 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21414 (libc_feupdateenv_testf): New.
21415 (libc_feupdateenv): Use libc_feupdateenv_test.
21416 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21417 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21419 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21420 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21421 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21422 (libc_feresetround_noex): New.
21423 (libc_feresetround_noexf): New.
21424 (libc_feresetround_noexl): New.
21425 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21426 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21427 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21428 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21430 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21431 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21433 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21434 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21435 SET_RESTORE_ROUND_NOEX.
21436 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21437 SET_RESTORE_ROUND_NOEXF.
21438 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21439 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21440 (libc_feholdsetroundf): New.
21441 (libc_feresetround, libc_feresetroundf): New.
21443 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21444 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21445 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21447 * sysdeps/generic/math_private.h: Include <fenv.h>.
21448 (default_libc_feholdexcept): New.
21449 (default_libc_feholdexcept_setround): New.
21450 (default_libc_fesetenv, default_libc_feupdateenv): New.
21451 (libc_feholdexcept): Only define if undefined.
21452 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21453 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21454 (libc_feholdexcept_setroundl): Likewise.
21455 (libc_feholdexcept_setround_53bit): Likewise.
21456 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21457 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21458 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21459 (libc_feupdateenv_53bit): Likewise.
21460 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21461 (libc_feholdexcept): Convert from macro to inline function.
21462 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21463 (libc_fesetenv, libc_feupdateenv): Likewise.
21465 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21466 not previously defined.
21467 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21468 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21469 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21470 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21471 * sysdeps/ieee754/flt-32/math_private.h: New file.
21472 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21473 math_private.h below SET_FLOAT_WORD.
21474 (__isnan, __isinf_ns, __finite): Remove.
21475 (__isnanf, __isinf_nsf, __finitef): Remove.
21477 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21479 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21481 2012-03-17 David S. Miller <davem@davemloft.net>
21484 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21487 2012-03-16 David S. Miller <davem@davemloft.net>
21489 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21493 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21495 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21496 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21497 sysdep_routines when subdir is sysvipc.
21498 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21499 __getshmlba helper.
21501 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21503 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21505 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21508 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21510 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21511 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21512 (__lround): Renamed to ...
21513 (__llround): This. Replace long int with long long int.
21514 Define lround functions as aliases of llround functions.
21515 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21517 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21519 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21520 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21521 adresses to uintptr_t. Replace "long int" and "unsigned long
21522 int" with "greg_t" on va_arg.
21524 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21526 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21527 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21529 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21530 Move e_machine check before EI_CLASS check. Handle x32
21531 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21532 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21533 SKIP_EM_IA_64 and include
21534 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21536 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21537 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21538 (add_system_dir): New macro.
21540 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21541 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21543 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21554 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21556 * math/w_j0f.c (j0f): Likewise.
21558 * math/w_j0l.c (__j0l): Likewise.
21560 * math/w_j1.c (j1): Likewise.
21562 * math/w_j1f.c (j1f): Likewise.
21564 * math/w_j1l.c (__j1l): Likewise.
21566 * math/w_jn.c (jn): Likewise.
21568 * math/w_jnf.c (jnf): Likewise.
21570 * math/w_jnl.c (__jnl): Likewise.
21572 * math/libm-test.inc (j0_test): Add more tests.
21573 (j1_test): Likewise.
21574 (jn_test): Likewise. Add trailing semicolon to existing test.
21575 (y0_test): Likewise.
21576 (y1_test): Likewise.
21577 * sysdeps/i386/fpu/libm-test-ulps: Update.
21578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21582 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21583 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21584 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21585 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21586 (__tanl): Set errno for infinite argument.
21587 * sysdeps/i386/fpu/mptan.c: Remove.
21588 * sysdeps/i386/fpu/s_tan.S: Likewise.
21589 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21590 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21591 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21592 * math/libm-test.inc (tan_test): Add more tests and enable more
21593 tests for double and long double.
21594 * sysdeps/i386/fpu/libm-test-ulps: Update.
21595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21597 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21599 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21600 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21602 2012-03-16 Roland McGrath <roland@hack.frob.com>
21604 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21605 * configure.in: Use it for both main tree and add-ons.
21606 * configure: Regenerated.
21608 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21610 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21612 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21614 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21618 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21619 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21620 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21621 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21622 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21624 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21625 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21626 != 0 for prec == 2.
21627 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21628 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21629 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21630 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21631 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21632 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21633 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21634 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21635 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21636 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21637 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21638 * math/libm-test.inc (cos_test): Add more tests and enable more
21639 tests for long double.
21640 (sin_test): Likewise.
21641 (sincos_test): Likewise.
21642 * sysdeps/i386/fpu/libm-test-ulps: Update.
21643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21645 2012-03-16 David S. Miller <davem@davemloft.net>
21647 * sysdeps/sparc/fpu/math_private.h: New file.
21649 2012-03-15 David S. Miller <davem@davemloft.net>
21651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21661 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21665 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21666 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21668 * sysdeps/sparc/sparc-ifunc.h: New file.
21669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21693 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21694 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21695 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21696 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21697 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21698 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21706 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21707 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21708 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21710 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21711 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21714 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21716 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21720 2012-03-15 Andreas Jaeger <aj@suse.de>
21723 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21724 ieee754/flt-32 implementation for sin, cos and sincos.
21725 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21726 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21727 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21728 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21729 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21730 ieee754/flt-32 implementation for tan.
21732 * math/libm-test.inc (cos_test): Enable some large input tests for
21734 (sin_test): Likewise.
21735 (sincos_test): Likewise.
21736 (tan_test): Add tests for large input.
21738 * sysdeps/i386/fpu/libm-test-ulps: Update.
21740 2012-03-15 Andreas Jaeger <aj@suse.de>
21743 * math/libm-test.inc (cos_test): Add more test cases.
21744 (sin_test): Likewise.
21745 (sincos_test): Likewise.
21747 2012-03-15 Andreas Jaeger <aj@suse.de>
21750 * math/libm-test.inc (cos_test): Add a test case for large input
21752 (sin_test): Likewise.
21753 (sincos_test): Likewise.
21755 2012-03-15 Andreas Jaeger <aj@suse.de>,
21756 Joseph Myers <joseph@codesourcery.com>
21759 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21760 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21761 * sysdeps/i386/fpu/branred.c: Likewise.
21762 * sysdeps/i386/fpu/dosincos.c: Likewise.
21763 * sysdeps/i386/fpu/mpa.c: Likewise.
21764 * sysdeps/i386/fpu/s_cos.S: Likewise.
21765 * sysdeps/i386/fpu/s_sin.S: Likewise.
21766 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21767 * sysdeps/i386/fpu/sincos32.c: Likewise.
21769 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21771 (libc_feupdateenv_53bit): Define.
21772 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21774 (libc_feupdateenv_53bit): Define.
21776 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21777 53 bit (without extend i386 double precision).
21779 * math/libm-test.inc (sincos_test): Add tests for large input.
21783 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21785 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21787 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21789 2012-03-15 David S. Miller <davem@davemloft.net>
21791 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21792 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21793 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21794 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21818 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21819 fmin/fmax sysdep routines.
21820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21822 2012-03-14 David S. Miller <davem@davemloft.net>
21824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21825 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21826 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21827 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21829 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21830 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21831 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21834 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21835 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21841 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21842 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21843 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21844 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21845 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21846 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21847 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21848 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21849 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21850 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21851 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21852 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21896 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21901 * sysdeps/sparc/configure.in: New file.
21902 * sysdeps/sparc/configure: Generate.
21903 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21904 * configure: Regenerate.
21905 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21906 * config.make.in (have-as-vis3): New.
21907 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21908 available use -Av9d instead of -Av9a.
21909 * sysdeps/sparc/sparc64/Makefile: Likewise.
21910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21919 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21920 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21921 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21922 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21923 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21925 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21926 fzeros/fnegs to load 0x80000000 into a float register instead of
21928 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21930 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21934 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21935 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21936 ($(inst_includedir)/bits/syscall.h): Remove rule.
21937 ($(objpfx)bits/syscall.d): Include instead of
21938 $(objpfx)syscall-list.d.
21939 (generated): Change syscall-list.h and syscall-list.d to
21940 bits/syscall.h and bits/syscall.d.
21942 2012-03-14 Roland McGrath <roland@hack.frob.com>
21945 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21947 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21950 * math/s_csqrt.c: Include <float.h>.
21951 (__csqrt): Scale large or subnormal inputs.
21952 * math/s_csqrtf.c: Likewise.
21953 * math/s_csqrtl.c: Likewise.
21954 * math/libm-test.inc (csqrt_test): Add more tests.
21955 * sysdeps/i386/fpu/libm-test-ulps: Update.
21956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21959 * math/libm-test.inc (hypot_test): Add more tests.
21961 2012-03-13 David S. Miller <davem@davemloft.net>
21964 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21965 double-precision for the calculation instead of scaling.
21967 2012-03-13 Joseph Myers <joseph@codesourcery.com>
21969 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21970 manipulate bits before adding and subtracting TWO52[sx].
21971 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21972 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21974 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21976 2012-03-13 David S. Miller <davem@davemloft.net>
21978 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21979 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21981 rtld-global-offsets.h
21982 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21984 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21987 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21989 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21990 'err' in the ifdef scope in which it is actually used.
21992 * nss/nss_db/db-init.c: Include string.h
21994 2012-03-12 David S. Miller <davem@davemloft.net>
21996 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21997 masking out of the most significant byte of random value used.
21998 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21999 Fix coding style in previous change.
22001 * sysdeps/unix/sysv/linux/kernel-features.h
22002 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22003 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22005 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22008 2012-03-11 David S. Miller <davem@davemloft.net>
22010 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22011 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22012 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22013 for 'resultvar' otherwise things get truncated on 64-bit.
22015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22016 Fix masking out of the most significant byte of random value used.
22018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22020 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22024 2012-03-09 David S. Miller <davem@davemloft.net>
22026 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22027 variables with appropriate CPP guards.
22028 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22029 frame pointer, not the stack pointer. Correct layout comments. Fix test
22030 on resulting framesize and the management of the outregs buffer for pltexit.
22031 Preserve floating point return values across _dl_call_pltexit call.
22032 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22033 framesize and the management of the outregs buffer for pltexit.
22034 Preserve floating point return values across _dl_call_pltexit
22036 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22037 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22038 (print_exit): Fix format string for return register value.
22040 2012-03-10 Joseph Myers <joseph@codesourcery.com>
22042 * sunrpc/Makefile (others): Add rpcgen.
22043 ($(objpfx)rpcgen): Remove special build rule and dependency on
22045 * sunrpc/rpcgen.c: New file.
22047 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22050 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22051 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22052 * sysdeps/i386/crti.S: Likewise.
22053 * sysdeps/i386/crtn.S: Likewise.
22054 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22055 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22056 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22057 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22058 * sysdeps/sh/crti.S: Likewise.
22059 * sysdeps/sh/crtn.S: Likewise.
22060 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22063 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22065 * locale/programs/locfile-kw.gperf: Likewise.
22066 * locale/programs/charmap-kw.h: Regenerated.
22067 * locale/programs/locfile-kw.h: Likewise.
22070 * intl/plural.y: Replace FSF snail mail address with URL.
22071 * intl/plural.c: Regenerated.
22073 2012-03-09 Richard Henderson <rth@twiddle.net>
22075 * include/math_private.h: Remove file.
22076 * math/math_private.h: Move file ...
22077 * sysdeps/generic/math_private.h: ... here.
22079 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22080 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22081 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22083 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22084 and <math_private.h>.
22085 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22086 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22087 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22088 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22089 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22099 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22101 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22102 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22103 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22104 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22107 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22108 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22109 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22110 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22111 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22112 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22113 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22114 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22115 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22116 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22117 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22118 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22119 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22120 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22121 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22122 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22123 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22124 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22125 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22126 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22127 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22128 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22129 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22130 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22131 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22132 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22133 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22134 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22135 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22136 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22137 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22138 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22139 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22140 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22141 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22142 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22143 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22144 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22145 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22146 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22147 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22148 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22149 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22150 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22151 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22152 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22153 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22154 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22155 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22156 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22157 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22158 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22159 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22160 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22161 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22162 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22163 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22164 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22165 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22166 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22167 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22168 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22169 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22170 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22171 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22172 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22173 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22174 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22175 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22176 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22177 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22178 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22179 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22180 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22181 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22182 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22183 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22184 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22185 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22186 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22187 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22188 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22189 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22190 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22191 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22192 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22193 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22195 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22196 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22197 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22198 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22199 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22200 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22201 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22202 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22203 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22204 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22205 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22206 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22207 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22208 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22209 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22210 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22211 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22212 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22213 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22214 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22215 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22216 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22217 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22218 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22219 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22220 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22221 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22222 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22223 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22224 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22225 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22226 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22227 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22228 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22229 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22230 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22231 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22232 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22233 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22234 * sysdeps/ieee754/k_standard.c: Likewise.
22235 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22236 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22237 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22238 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22240 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22243 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22244 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22245 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22247 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22248 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22249 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22250 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22251 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22252 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22253 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22254 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22255 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22256 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22257 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22258 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22259 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22260 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22262 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22266 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22267 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22268 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22269 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22270 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22271 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22272 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22273 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22274 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22275 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22277 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22278 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22279 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22280 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22281 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22282 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22285 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22286 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22287 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22288 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22289 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22290 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22291 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22292 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22294 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22295 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22296 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22297 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22298 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22300 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22301 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22302 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22303 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22304 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22305 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22306 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22307 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22308 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22309 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22311 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22312 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22313 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22314 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22315 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22316 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22317 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22318 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22319 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22320 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22321 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22322 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22323 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22325 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22326 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22327 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22328 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22329 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22330 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22331 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22332 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22333 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22334 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22335 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22336 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22337 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22338 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22339 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22340 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22341 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22342 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22343 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22344 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22345 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22346 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22347 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22348 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22349 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22350 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22351 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22352 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22353 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22354 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22355 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22356 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22357 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22358 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22359 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22360 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22361 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22362 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22363 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22365 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22366 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22367 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22368 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22369 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22370 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22371 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22372 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22373 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22374 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22375 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22376 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22377 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22378 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22379 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22380 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22381 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22382 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22383 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22384 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22385 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22386 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22387 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22388 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22389 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22390 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22391 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22392 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22393 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22394 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22395 * sysdeps/ieee754/s_lib_version.c: Likewise.
22396 * sysdeps/ieee754/s_matherr.c: Likewise.
22397 * sysdeps/ieee754/s_signgam.c: Likewise.
22398 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22399 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22400 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22401 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22402 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22403 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22404 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22405 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22406 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22407 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22408 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22409 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22410 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22411 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22412 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22413 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22414 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22415 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22416 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22417 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22418 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22420 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22422 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22423 * sunrpc/rpc_main.c: Likewise.
22424 * sunrpc/rpc_svcout.c: Likewise.
22426 2012-03-09 David S. Miller <davem@davemloft.net>
22428 * include/math_private.h: New file.
22430 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22432 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22433 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22434 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22435 from <bits/socket_type.h>.
22436 (enum __socket_type): Don't define here.
22437 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22439 bits/socket_type.h.
22442 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22443 checking __USE_GNU.
22445 * Makerules ($(inst_includedir)/%.h): New rule.
22446 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22447 (install-others): Remove variable setting.
22448 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22450 2012-03-08 Richard Henderson <rth@twiddle.net>
22452 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22453 from macro to inline function; merge with the
22454 !__LIBC_INTERNAL_MATH_INLINES version.
22455 (__ieee754_sqrtf): Likewise.
22457 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22458 to inline function.
22459 (__rintf, __floor, __floorf): Likewise.
22461 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22462 macro to inline function.
22463 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22465 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22466 not <math/math_private.h>.
22468 2012-03-08 David S. Miller <davem@davemloft.net>
22470 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22472 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22474 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22476 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22478 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22479 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22481 2012-03-08 Ulrich Drepper <drepper@gmail.com>
22483 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22484 be defined individually, they must be defined as a block. Define
22485 S for printing a string instead of hidint the different by using a
22486 macro for adding the 'l'.
22487 * stdio-common/tst-fphex-wide.c: Adjust.
22489 2012-03-07 Marek Polacek <polacek@redhat.com>
22491 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22493 2012-03-08 Marek Polacek <polacek@redhat.com>
22496 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22497 * stdio-common/tst-fphex.c: Define a few macros to make the
22498 test reusable. Use them.
22499 * stdio-common/tst-fphex-wide.c: New file.
22501 2012-03-08 Joseph Myers <joseph@codesourcery.com>
22504 * manual/macros.texi (gnusystems): New macro.
22505 (nongnusystems): Likewise.
22506 (gnulinuxhurdsystems): Likewise.
22507 (gnuhurdsystems): Likewise..
22508 (gnulinuxsystems): Likewise.
22509 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22510 variants of the GNU system, not "GNU system".
22511 * manual/conf.texi: Likewise.
22512 * manual/errno.texi: Likewise. Update example of errno macro
22514 * manual/filesys.texi: Likewise.
22515 (getumask): Document as specific to GNU/Hurd.
22516 * manual/install.texi: Likewise. Reword some references to
22518 * manual/intro.texi: Likewise.
22519 * manual/io.texi: Likewise.
22520 (File Name Portability): Detail which constraints are inapplicable
22521 to all GNU systems and which are only inapplicable to GNU/Hurd.
22522 * manual/job.texi: Likewise.
22523 * manual/llio.texi: Likewise.
22524 (O_NOCTTY): Document as present on GNU/Linux.
22525 * manual/maint.texi: Likewise.
22526 * manual/memory.texi: Likewise.
22527 * manual/pattern.texi: Likewise.
22528 * manual/pipe.texi: Likewise.
22529 * manual/process.texi: Likewise.
22530 * manual/resource.texi: Likewise.
22531 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22533 * manual/setjmp.texi: Likewise.
22534 * manual/signal.texi: Likewise.
22535 * manual/startup.texi: Likewise.
22536 * manual/stdio.texi: Likewise.
22537 * manual/terminal.texi: Likewise.
22538 (ONLCR): Document as POSIX.
22539 (OXTABS): Document availability on GNU/Linux as XTABS.
22540 (ONOEOT): Document availability separately from other bits.
22541 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22542 * manual/time.texi: Likewise.
22543 * manual/users.texi: Likewise.
22544 * INSTALL: Regenerated.
22545 * sysdeps/gnu/errlist.c: Regenerated.
22547 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22548 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22549 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22551 * configure: Regenerated.
22553 2012-03-07 Joseph Myers <joseph@codesourcery.com>
22555 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22556 default includes instead of AC_HEADER_CHECK.
22557 * sysdeps/i386/configure: Regenerated.
22560 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22561 * math/s_cacoshf.c (__cacoshf): Likewise.
22562 * math/s_cacoshl.c (__cacoshl): Likewise.
22563 * math/s_casinh.c (__casinh): Set signs of result from argument.
22564 * math/s_casinhf.c (__casinhf): Likewise.
22565 * math/s_casinhl.c (__casinhl): Likewise.
22566 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22567 (casinh_test): Add more tests.
22568 * sysdeps/i386/fpu/libm-test-ulps: Update.
22569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22571 2012-03-07 Ulrich Drepper <drepper@gmail.com>
22573 * po/zh_TW.po: Update from translation team.
22575 * login/Makefile (distribute): Remove variable.
22576 * catgets/Makefile: Likewise.
22577 * mach/Makefile: Likewise.
22578 * malloc/Makefile: Likewise.
22579 * misc/Makefile: Likewise.
22580 * iconv/Makefile: Likewise.
22581 * nscd/Makefile: Likewise.
22582 * hurd/Makefile: Likewise.
22583 * manual/Makefile: Likewise.
22584 * locale/Makefile: Likewise.
22585 * intl/Makefile: Likewise.
22586 * conform/Makefile: Likewise.
22587 * nss/Makefile: Likewise.
22588 * time/Makefile: Likewise.
22589 * soft-fp/Makefile: Likewise.
22590 * dirent/Makefile: Likewise.
22591 * gmon/Makefile: Likewise.
22592 * po/Makefile: Likewise.
22593 * rt/Makefile: Likewise.
22594 * socket/Makefile: Likewise.
22595 * math/Makefile: Likewise.
22596 * signal/Makefile: Likewise.
22597 * debug/Makefile: Likewise.
22598 * elf/Makefile: Likewise.
22599 * timezone/Makefile: Likewise.
22600 * stdlib/Makefile: Likewise.
22601 * iconvdata/Makefile: Likewise.
22602 * sunrpc/Makefile: Likewise.
22603 * io/Makefile: Likewise.
22604 * argp/Makefile: Likewise.
22605 * inet/Makefile: Likewise.
22606 * hesiod/Makefile: Likewise.
22607 * grp/Makefile: Likewise.
22608 * csu/Makefile: Likewise.
22609 * wctype/Makefile: Likewise.
22610 * crypt/Makefile: Likewise.
22611 * libio/Makefile: Likewise.
22612 * string/Makefile: Likewise.
22613 * nis/Makefile: Likewise.
22614 * resolv/Makefile: Likewise.
22615 * stdio-common/Makefile: Likewise.
22616 * wcsmbs/Makefile: Likewise.
22617 * dlfcn/Makefile: Likewise.
22618 * posix/Makefile: Likewise.
22621 * timezone/Makefile: Don't install timezone files, just the programs
22624 2012-03-06 Ulrich Drepper <drepper@gmail.com>
22626 * nss/databases.def: Add missing gshadow entry.
22628 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22630 2012-03-06 Marek Polacek <polacek@redhat.com>
22633 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22634 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22635 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22636 * stdio-common/tst-long-dbl-fphex.c: New file.
22638 2012-03-06 David S. Miller <davem@davemloft.net>
22640 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22641 (set_obp_int): New function.
22642 (get_obp_int): New function.
22643 (__get_clockfreq_via_dev_openprom): Likewise.
22644 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22645 Avoid unused variable warnings on 'val' and use builtin_expect.
22646 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22648 (INLINE_CLONE_SYSCALL): Likewise.
22650 2012-03-05 David S. Miller <davem@davemloft.net>
22652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22654 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22658 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22659 only for |x| >= 40.
22660 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22662 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
22664 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22665 Replace gettimeofday with __vdso_gettimeofday.
22667 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22668 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22669 __vdso_clock_gettime and __vdso_getcpu.
22671 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22672 time with __vdso_time.
22674 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22676 * manual/lang.texi (size_t): Note types to which size_t may be
22677 equivalent with the GNU C Library, but do not describe when
22678 differences between them are significant.
22680 2012-03-05 Andreas Jaeger <aj@suse.de>
22682 * sysdeps/i386/fpu/libm-test-ulps: Update.
22684 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22687 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22688 (__ieee754_pow): Save and restore rounding mode and use
22689 round-to-nearest for main computations.
22690 * math/libm-test.inc (pow_test_tonearest): New function.
22691 (pow_test_towardzero): Likewise.
22692 (pow_test_downward): Likewise.
22693 (pow_test_upward): Likewise.
22694 (main): Call the new functions.
22695 * sysdeps/i386/fpu/libm-test-ulps: Update.
22696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22699 * math/libm-test.inc (cosh_test_tonearest): New function.
22700 (cosh_test_towardzero): Likewise.
22701 (cosh_test_downward): Likewise.
22702 (cosh_test_upward): Likewise.
22703 (sinh_test_tonearest): Likewise.
22704 (sinh_test_towardzero): Likewise.
22705 (sinh_test_downward): Likewise.
22706 (sinh_test_upward): Likewise.
22707 (main): Call the new functions.
22708 * sysdeps/i386/fpu/libm-test-ulps: Update.
22709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22711 2012-03-05 Tom de Vries <tom@codesourcery.com>
22713 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22714 default stack guard is set in last bytes.
22715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22717 2012-03-05 Kees Cook <keescook@chromium.org>
22719 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22722 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22723 possibly allocate from heap instead of stack.
22724 * stdio-common/bug-vfprintf-nargs.c: New file.
22725 * stdio-common/Makefile (tests): Add nargs overflow test.
22727 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22729 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22731 2012-03-03 Marek Polacek <polacek@redhat.com>
22733 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22734 * math/math_private.h: Likewise.
22735 * stdlib/tst-strtod.c: Likewise.
22736 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22737 * sysdeps/x86_64/bits/atomic.h: Likewise.
22739 2012-03-02 David S. Miller <davem@davemloft.net>
22741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22745 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22746 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22747 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22748 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22750 2012-03-02 Roland McGrath <roland@hack.frob.com>
22753 * manual/examples/README: New file, says the example source files
22754 can be used under GPL>=2.
22755 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22756 line containing just "*/".
22757 * manual/examples/add.c: Add copyright header (GPL>=2).
22758 * manual/examples/argp-ex1.c: Likewise.
22759 * manual/examples/argp-ex2.c: Likewise.
22760 * manual/examples/argp-ex3.c: Likewise.
22761 * manual/examples/argp-ex4.c: Likewise.
22762 * manual/examples/atexit.c: Likewise.
22763 * manual/examples/db.c: Likewise.
22764 * manual/examples/dir.c: Likewise.
22765 * manual/examples/dir2.c: Likewise.
22766 * manual/examples/execinfo.c: Likewise.
22767 * manual/examples/filecli.c: Likewise.
22768 * manual/examples/filesrv.c: Likewise.
22769 * manual/examples/fmtmsgexpl.c: Likewise.
22770 * manual/examples/genpass.c: Likewise.
22771 * manual/examples/inetcli.c: Likewise.
22772 * manual/examples/inetsrv.c: Likewise.
22773 * manual/examples/isockad.c: Likewise.
22774 * manual/examples/longopt.c: Likewise.
22775 * manual/examples/memopen.c: Likewise.
22776 * manual/examples/memstrm.c: Likewise.
22777 * manual/examples/mkfsock.c: Likewise.
22778 * manual/examples/mkisock.c: Likewise.
22779 * manual/examples/mygetpass.c: Likewise.
22780 * manual/examples/pipe.c: Likewise.
22781 * manual/examples/popen.c: Likewise.
22782 * manual/examples/rprintf.c: Likewise.
22783 * manual/examples/search.c: Likewise.
22784 * manual/examples/select.c: Likewise.
22785 * manual/examples/setjmp.c: Likewise.
22786 * manual/examples/sigh1.c: Likewise.
22787 * manual/examples/sigusr.c: Likewise.
22788 * manual/examples/stpcpy.c: Likewise.
22789 * manual/examples/strdupa.c: Likewise.
22790 * manual/examples/strftim.c: Likewise.
22791 * manual/examples/strncat.c: Likewise.
22792 * manual/examples/subopt.c: Likewise.
22793 * manual/examples/swapcontext.c: Likewise.
22794 * manual/examples/termios.c: Likewise.
22795 * manual/examples/testopt.c: Likewise.
22796 * manual/examples/testpass.c: Likewise.
22797 * manual/examples/timeval_subtract.c: Likewise.
22800 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22802 * manual/timeval_subtract.c.texi: ... here, new file.
22804 2012-03-02 David S. Miller <davem@davemloft.net>
22806 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22808 2012-03-02 Joseph Myers <joseph@codesourcery.com>
22811 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22812 (__sin): Save and restore rounding mode and use round-to-nearest
22813 for all computations.
22814 (__cos): Save and restore rounding mode and use round-to-nearest
22815 for all computations.
22816 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22818 (tan): Save and restore rounding mode and use round-to-nearest for
22820 * math/libm-test.inc (cos_test_tonearest): New function.
22821 (cos_test_towardzero): Likewise.
22822 (cos_test_downward): Likewise.
22823 (cos_test_upward): Likewise.
22824 (sin_test_tonearest): Likewise.
22825 (sin_test_towardzero): Likewise.
22826 (sin_test_downward): Likewise.
22827 (sin_test_upward): Likewise.
22828 (tan_test_tonearest): Likewise.
22829 (tan_test_towardzero): Likewise.
22830 (tan_test_downward): Likewise.
22831 (tan_test_upward): Likewise.
22832 (main): Call the new functions.
22833 * sysdeps/i386/fpu/libm-test-ulps: Update.
22834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22837 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22838 small n, then large n, before computing and testing k+n.
22839 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22840 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22844 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22845 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22846 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22847 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22848 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22849 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22850 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22851 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22852 * math/libm-test.inc (scalbn_test): Add more tests.
22853 (scalbln_test): Likewise.
22855 * manual/filesys.texi (mode_t): Describe constraints on size and
22856 signedness, not exact equivalence to a particular type.
22858 (ino64_t): Likewise.
22860 (nlink_t): Likewise.
22861 (blkcnt_t): Likewise.
22862 (blkcnt64_t): Likewise.
22863 * manual/llio.texi (off_t): Likewise.
22866 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22867 (__ieee754_exp): Save and restore rounding mode and use
22868 round-to-nearest for all computations.
22869 * math/libm-test.inc (exp_test_tonearest): New function.
22870 (exp_test_towardzero): Likewise.
22871 (exp_test_downward): Likewise.
22872 (exp_test_upward): Likewise.
22873 (main): Call the new functions.
22874 * sysdeps/i386/fpu/libm-test-ulps: Update.
22875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22877 2012-03-01 Chris Demetriou <cgd@google.com>
22879 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22880 have predictable order.
22882 2012-03-01 David S. Miller <davem@davemloft.net>
22884 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22886 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22887 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22888 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22889 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22891 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22892 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22893 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22895 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22896 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22897 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22898 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22899 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22903 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22904 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22905 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22907 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22908 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22909 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22910 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22911 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22912 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22913 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22914 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22915 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22916 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22917 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22918 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22919 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22920 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22921 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22923 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22924 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22925 * sysdeps/sparc/elf/configure: Regenerated.
22927 2012-03-01 Joseph Myers <joseph@codesourcery.com>
22929 * configure.in (AS, LD): Require binutils 2.20 or later.
22930 * configure: Regenerated.
22931 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22932 as required minimum version.
22933 * INSTALL: Regenerated.
22937 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22938 before squaring exponent.
22939 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22940 bottom long double and 27 bits of top long double before squaring
22942 * math/libm-test.inc (erfc_test): Add more tests.
22943 * sysdeps/i386/fpu/libm-test-ulps: Update.
22944 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22947 2012-03-01 Kai Tietz <ktietz@redhat.com>
22949 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22950 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22951 containing bit-fields.
22952 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22953 * soft-fp/single.h (_FP_UNION_S): Likewise.
22954 * soft-fp/double.h (_FP_UNION_D): Likewise.
22956 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22959 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22960 not include ../strcmp.S.
22961 [USE_AS_STRNCASECMP_L]: Likewise.
22962 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22963 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22964 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22965 (__strncasecmp_l_ia32): Define as alias to
22966 __strncasecmp_l_nonascii.
22969 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22970 * sysdeps/i386/fpu/libm-test-ulps: Update.
22971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22973 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22976 2012-02-29 Jeff Law <law@redhat.com>
22978 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22979 out of bounds read.
22981 2012-02-29 Marek Polacek <polacek@redhat.com>
22984 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22985 * elf/Makefile: Add rules to run tst-unused-dep.out.
22987 2012-02-28 David S. Miller <davem@davemloft.net>
22989 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22990 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22991 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22992 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22993 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22994 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22996 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22998 * math/libm-test.inc (llround_test): Move one test from
22999 lround_test. Use TEST_f_L in moved test.
23000 (lround_test): Move misplaced test to llround_test. Add testcase
23003 2012-02-28 Ulrich Drepper <drepper@gmail.com>
23005 * sysdeps/x86_64/fpu/e_expf.S: New file.
23006 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23008 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23011 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23012 of remain_len that may cause incomplete multi-byte character and
23014 * posix/bug-regex33.c: New file.
23015 * posix/Makefile (tests): Add bug-regex33.
23017 2012-02-28 Joseph Myers <joseph@codesourcery.com>
23019 * manual/macros.texi: New file.
23020 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23021 * manual/libc.texinfo: Include macros.texi.
23022 * manual/creatute.texi: Likewise.
23023 * manual/install.texi: Likewise.
23024 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23025 @glibcadj{} in references to the GNU C Library.
23026 * manual/charset.texi: Likewise.
23027 * manual/conf.texi: Likewise.
23028 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23029 when not using those macros.
23030 * manual/creature.texi: Likewise.
23031 * manual/crypt.texi: Likewise.
23032 * manual/errno.texi: Likewise.
23033 * manual/filesys.texi: Likewise.
23034 * manual/header.texi: Likewise.
23035 * manual/install.texi: Likewise.
23036 * manual/intro.texi: Likewise.
23037 * manual/io.texi: Likewise.
23038 * manual/job.texi: Likewise.
23039 * manual/lang.texi: Likewise.
23040 * manual/libc.texiinfo: Likewise.
23041 * manual/llio.texi: Likewise.
23042 * manual/locale.texi: Likewise.
23043 * manual/maint.texi: Likewise.
23044 * manual/math.texi: Likewise.
23045 * manual/memory.texi: Likewise.
23046 * manual/message.texi: Likewise.
23047 * manual/nss.texi: Likewise.
23048 * manual/pattern.texi: Likewise.
23049 * manual/process.texi: Likewise.
23050 * manual/resource.texi: Likewise.
23051 * manual/search.texi: Likewise.
23052 * manual/setjmp.texi: Likewise.
23053 * manual/signal.texi: Likewise.
23054 * manual/socket.texi: Likewise.
23055 * manual/startup.texi: Likewise.
23056 * manual/stdio.texi: Likewise.
23057 * manual/string.texi: Likewise.
23058 * manual/sysinfo.texi: Likewise.
23059 * manual/syslog.texi: Likewise.
23060 * manual/terminal.texi: Likewise.
23061 * manual/time.texi: Likewise.
23062 * manual/users.texi: Likewise.
23063 * INSTALL: Regenerated.
23064 * NOTES: Regenerated.
23065 * sysdeps/gnu/errlist.c: Regenerated.
23067 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23069 * include/dirent.h: Include <dirstream.h> before
23072 2012-02-28 David S. Miller <davem@davemloft.net>
23074 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23075 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23076 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23077 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23079 2012-02-27 David S. Miller <davem@davemloft.net>
23081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23083 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23084 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23087 frame pointer instead of stack pointer relative arg slot.
23088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23089 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23090 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23092 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23095 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23097 2012-02-27 David S. Miller <davem@davemloft.net>
23099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23103 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23104 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23105 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23106 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23108 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23110 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23111 later. Allow versions 5-9.
23112 * configure: Regenerated.
23113 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23114 required minimum version and 4.6 as recommended version. Do not
23115 mention bugs in GCC 2.7 and 2.8.
23116 * INSTALL: Regenerated.
23118 2012-02-27 David S. Miller <davem@davemloft.net>
23120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23124 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23125 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23126 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23127 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23129 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23130 manipulate bits before adding and subtracting TWO112[sx].
23131 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23133 2012-02-27 Roland McGrath <roland@hack.frob.com>
23136 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23137 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23138 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23139 being in POSIX, because they are in 1003.1-2008.
23141 * rt/tst-aio.c: Include <fcntl.h>.
23142 * rt/tst-aio7.c: Likewise.
23143 * rt/tst-aio64.c: Likewise.
23145 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23147 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23149 * manual/install.texi (--with-headers): Describe headers as
23150 interface headers, not private headers.
23151 (Specific advice for GNU/Linux systems): Describe use of headers
23152 from "make headers_install", not private headers from older
23154 * INSTALL: Regenerated.
23155 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23157 * sysdeps/unix/sysv/linux/configure: Regenerated.
23159 * manual/llio.texi (fclean): Remove documentation.
23161 * manual/Makefile (libc-texi-generated): New variable. Include
23163 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23164 $(libc-texi-generated), not duplicated list of files.
23165 (version.texi, stamp-version): New rules.
23166 (realclean): Remove $(libc-texi-generated), not individual files
23167 from that list. Do not remove dir-add.texinfo.
23168 * manual/libc.texinfo: Comment out uses of edition numbers and
23169 references to printed manual. Remove last-updated dates.
23170 (EDITION): Comment out.
23172 (VERSION, UPDATED): Remove.
23173 (version.texi): Include.
23175 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23177 * sysdeps/posix/spawni.c: Include <signal.h>.
23178 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23179 * sysdeps/pthread/aio_fsync.c: Likewise.
23181 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23183 * conform/Makefile (tests): Run only when not cross-compiling and
23184 when fast-check is not defined.
23186 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23187 * conform/data/limits.h-data: Fixes for POSIX2008.
23188 * conform/run-conformtest.sh: Run all tests.
23189 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23191 * include/bits/dlfcn.h: Likewise.
23192 * include/langinfo.h: Likewise.
23193 * include/monetary.h: Likewise.
23194 * include/sys/poll.h: Likewise.
23196 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23198 * posix/spawn.h: Define __need_sigset_t.
23199 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23200 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23201 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23202 to get sigevent_t only.
23203 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23204 only for __USE_GNU.
23205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23206 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23207 process_vm_writev only for __USE_GNU.
23208 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23210 * conform/Makefile: For now ignore errors from run-conformtest.
23211 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23212 POSIX to avoid namespace pollution. Don't prepend headers.
23213 * conform/data/aio.h-data: Fixes for POSIX testing.
23214 * conform/data/fcntl.h-data: Likewise.
23215 * conform/data/glob.h-data: Likewise.
23216 * conform/data/grp.h-data: Likewise.
23217 * conform/data/pthread.h-data: Likewise.
23218 * conform/data/pwd.h-data: Likewise.
23219 * conform/data/signal.h-data: Likewise.
23220 * conform/data/spawn.h-data: Likewise.
23221 * conform/data/stdio.h-data: Likewise.
23222 * conform/data/stdlib.h-data: Likewise.
23223 * conform/data/stropts.h-data: Likewise.
23224 * conform/data/sys/mman.h-data: Likewise.
23225 * conform/data/sys/stat.h-data: Likewise.
23226 * conform/data/sys/types.h-data: Likewise.
23227 * conform/data/sys/wait.h-data: Likewise.
23228 * conform/data/time.h-data: Likewise.
23229 * conform/data/unistd.h-data: Likewise.
23230 * conform/data/utime.h-data: Likewise.
23232 * io/sys/stat.h: fchmod was always in POSIX.
23233 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23234 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23235 * rt/aio.h: Define __need_timespec before including <time.h>.
23236 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23237 struct. Add forward declaration of pthread_attr_t and use it in
23239 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23240 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23241 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23242 always remove CLK_TCK definition.
23244 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23246 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23248 2012-02-25 Ulrich Drepper <drepper@gmail.com>
23250 * conform/run-conformtest.sh: New file.
23251 * conform/Makefile: Run run-conformtest for tests.
23252 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23255 * conform/data/uchar.h-data: New file.
23256 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23257 * conform/data/arpa/inet.h-data: Likewise.
23258 * conform/data/assert.h-data: Likewise.
23259 * conform/data/complex.h-data: Likewise.
23260 * conform/data/cpio.h-data: Likewise.
23261 * conform/data/ctype.h-data: Likewise.
23262 * conform/data/dirent.h-data: Likewise.
23263 * conform/data/dlfcn.h-data: Likewise.
23264 * conform/data/errno.h-data: Likewise.
23265 * conform/data/fcntl.h-data: Likewise.
23266 * conform/data/float.h-data: Likewise.
23267 * conform/data/fmtmsg.h-data: Likewise.
23268 * conform/data/fnmatch.h-data: Likewise.
23269 * conform/data/ftw.h-data: Likewise.
23270 * conform/data/glob.h-data: Likewise.
23271 * conform/data/grp.h-data: Likewise.
23272 * conform/data/iconv.h-data: Likewise.
23273 * conform/data/inttypes.h-data: Likewise.
23274 * conform/data/langinfo.h-data: Likewise.
23275 * conform/data/libgen.h-data: Likewise.
23276 * conform/data/limits.h-data: Likewise.
23277 * conform/data/locale.h-data: Likewise.
23278 * conform/data/math.h-data: Likewise.
23279 * conform/data/monetary.h-data: Likewise.
23280 * conform/data/mqueue.h-data: Likewise.
23281 * conform/data/ndbm.h-data: Likewise.
23282 * conform/data/net/if.h-data: Likewise.
23283 * conform/data/netdb.h-data: Likewise.
23284 * conform/data/netinet/in.h-data: Likewise.
23285 * conform/data/nl_types.h-data: Likewise.
23286 * conform/data/poll.h-data: Likewise.
23287 * conform/data/pthread.h-data: Likewise.
23288 * conform/data/pwd.h-data: Likewise.
23289 * conform/data/regex.h-data: Likewise.
23290 * conform/data/sched.h-data: Likewise.
23291 * conform/data/search.h-data: Likewise.
23292 * conform/data/semaphore.h-data: Likewise.
23293 * conform/data/setjmp.h-data: Likewise.
23294 * conform/data/signal.h-data: Likewise.
23295 * conform/data/spawn.h-data: Likewise.
23296 * conform/data/stdarg.h-data: Likewise.
23297 * conform/data/stdio.h-data: Likewise.
23298 * conform/data/stdlib.h-data: Likewise.
23299 * conform/data/string.h-data: Likewise.
23300 * conform/data/strings.h-data: Likewise.
23301 * conform/data/stropts.h-data: Likewise.
23302 * conform/data/sys/ipc.h-data: Likewise.
23303 * conform/data/sys/mman.h-data: Likewise.
23304 * conform/data/sys/msg.h-data: Likewise.
23305 * conform/data/sys/resource.h-data: Likewise.
23306 * conform/data/sys/select.h-data: Likewise.
23307 * conform/data/sys/sem.h-data: Likewise.
23308 * conform/data/sys/shm.h-data: Likewise.
23309 * conform/data/sys/socket.h-data: Likewise.
23310 * conform/data/sys/stat.h-data: Likewise.
23311 * conform/data/sys/statvfs.h-data: Likewise.
23312 * conform/data/sys/time.h-data: Likewise.
23313 * conform/data/sys/timeb.h-data: Likewise.
23314 * conform/data/sys/times.h-data: Likewise.
23315 * conform/data/sys/types.h-data: Likewise.
23316 * conform/data/sys/uio.h-data: Likewise.
23317 * conform/data/sys/un.h-data: Likewise.
23318 * conform/data/sys/utsname.h-data: Likewise.
23319 * conform/data/sys/wait.h-data: Likewise.
23320 * conform/data/syslog.h-data: Likewise.
23321 * conform/data/tar.h-data: Likewise.
23322 * conform/data/termios.h-data: Likewise.
23323 * conform/data/utime.h-data: Likewise.
23324 * conform/data/utmpx.h-data: Likewise.
23325 * conform/data/varargs.h-data: Likewise.
23326 * conform/data/wchar.h-data: Likewise.
23327 * conform/data/wctype.h-data: Likewise.
23328 * conform/data/wordexp.h-data: Likewise.
23330 * include/stropts.h: New file.
23331 * include/uchar.h: New file.
23332 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23333 * include/assert.h: Likewise.
23334 * include/ctype.h: Likewise.
23335 * include/dirent.h: Likewise.
23336 * include/dlfcn.h: Likewise.
23337 * include/fcntl.h: Likewise.
23338 * include/fnmatch.h: Likewise.
23339 * include/glob.h: Likewise.
23340 * include/grp.h: Likewise.
23341 * include/libio.h: Likewise.
23342 * include/locale.h: Likewise.
23343 * include/math.h: Likewise.
23344 * include/net/if.h: Likewise.
23345 * include/netdb.h: Likewise.
23346 * include/netinet/in.h: Likewise.
23347 * include/pthread.h: Likewise.
23348 * include/pwd.h: Likewise.
23349 * include/regex.h: Likewise.
23350 * include/sched.h: Likewise.
23351 * include/search.h: Likewise.
23352 * include/setjmp.h: Likewise.
23353 * include/signal.h: Likewise.
23354 * include/stdio.h: Likewise.
23355 * include/stdlib.h: Likewise.
23356 * include/string.h: Likewise.
23357 * include/sys/cdefs.h: Likewise.
23358 * include/sys/mman.h: Likewise.
23359 * include/sys/msg.h: Likewise.
23360 * include/sys/resource.h: Likewise.
23361 * include/sys/select.h: Likewise.
23362 * include/sys/socket.h: Likewise.
23363 * include/sys/stat.h: Likewise.
23364 * include/sys/statvfs.h: Likewise.
23365 * include/sys/time.h: Likewise.
23366 * include/sys/times.h: Likewise.
23367 * include/sys/uio.h: Likewise.
23368 * include/sys/utsname.h: Likewise.
23369 * include/sys/wait.h: Likewise.
23370 * include/termios.h: Likewise.
23371 * include/time.h: Likewise.
23372 * include/ulimit.h: Likewise.
23373 * include/unistd.h: Likewise.
23374 * include/utime.h: Likewise.
23375 * include/wchar.h: Likewise.
23376 * include/wctype.h: Likewise.
23377 * include/wordexp.h: Likewise.
23379 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23381 * time/time.h: TIME_UTC must be a macro.
23382 Make timespec_get available for ISO C11 only as well.
23384 2012-02-24 Ulrich Drepper <drepper@gmail.com>
23386 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23387 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23389 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23391 * configure.in: Use -o not -a in test for unsupported multi-arch.
23393 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23395 * manual/texinfo.tex: Update to version 2012-01-19.16.
23397 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23399 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23401 2012-02-24 Roland McGrath <roland@hack.frob.com>
23404 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23405 * manual/fdl-1.3.texi: New file.
23406 * manual/fdl-1.1.texi: File removed.
23409 * manual/libc.texinfo (FDL_VERSION): New @set.
23410 Use it for mention of FDL in cover text.
23411 (Documentation License): Use it in @include file name.
23413 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23414 Roland McGrath <roland@hack.frob.com>
23417 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23418 not LONG_LONG_MAX and LONG_LONG_MIN.
23419 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23420 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23422 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23424 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23428 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23429 manipulate bits before adding and subtracting TWO23[sx].
23430 * math/libm-test.inc (nearbyint_test): Add more tests.
23432 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23435 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23436 bits before adding and subtracting TWO23[sx].
23437 * math/libm-test.inc (rint_test): Add more tests.
23438 (rint_test_tonearest): Likewise.
23439 (rint_test_towardzero): Likewise.
23440 (rint_test_downward): Likewise.
23441 (rint_test_upward: Likewise.
23443 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23446 * include/stdc-predef.h: New file. Extracted from features.h.
23447 * include/features.h: Include stdc-predef.h.
23448 * Makefile (headers): Add stdc-predef.h.
23449 * CONFORMANCE (Compiler limitations): Update.
23451 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23453 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23455 2012-02-21 David S. Miller <davem@davemloft.net>
23457 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23458 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23460 2012-02-20 David S. Miller <davem@davemloft.net>
23462 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23463 using a normal save/restore sequence, rather than allocating a
23464 dummy stack frame just to store a frame pointer and restore.
23465 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23467 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23469 * manual/install.texi: Fix stray word in line-wrapped comment.
23471 2012-02-20 David S. Miller <davem@davemloft.net>
23473 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23474 both binutils and gcc support GOTDATA.
23476 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23477 "rd %pc" in the PIC register setup sequences.
23479 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23480 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23481 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23482 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23483 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23484 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23485 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23486 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23487 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23488 (SYSCALL_ERROR_HANDLER): Likewise.
23489 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23490 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23491 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23492 (SYSCALL_ERROR_HANDLER): Likewise.
23494 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23495 (HAVE_GCC_GOTDATA): New.
23496 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23497 relocation support in both binutils and gcc.
23498 * sysdeps/sparc/elf/configure: Regenerate.
23500 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23501 * sysdeps/sparc/sparc32/elf/configure: Delete.
23502 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23503 * sysdeps/sparc/sparc64/elf/configure: Delete.
23504 * sysdeps/sparc/elf/configure.in: New file.
23505 * sysdeps/sparc/elf/configure: Generate.
23507 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23508 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23509 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23510 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23511 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23513 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23515 * manual/install.texi: Do not mention specific glibc version
23517 * manual/libc.texinfo (VERSION, UPDATED): Update.
23518 (@copying): Use @copyright{} and range of years.
23520 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23523 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23524 [crti.S not in sysdirs] (generated): Do not append.
23525 [crti.S not in sysdirs] (omit-deps): Likewise.
23526 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23527 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23528 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23529 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23530 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23532 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23533 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23534 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23535 * csu/defs.awk: Remove file.
23536 * sysdeps/generic/initfini.c: Likewise.
23537 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23539 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23542 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23544 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23545 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23546 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23547 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23548 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23549 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23551 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23552 (__EPOLL_PACKED): Define to empty if not defined by
23554 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23555 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23558 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23560 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23561 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23562 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23563 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23565 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23569 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23571 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23573 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23574 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23575 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23578 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23580 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23581 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23583 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23585 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23586 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23588 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23590 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23593 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23595 * math/w_acos.c: Use non-signaling floating-point comparisons.
23596 * math/w_acosf.c: Likewise.
23597 * math/w_acosh.c: Likewise.
23598 * math/w_acoshf.c: Likewise.
23599 * math/w_acoshl.c: Likewise.
23600 * math/w_acosl.c: Likewise.
23601 * math/w_asin.c: Likewise.
23602 * math/w_asinf.c: Likewise.
23603 * math/w_asinl.c: Likewise.
23604 * math/w_atanh.c: Likewise.
23605 * math/w_atanhf.c: Likewise.
23606 * math/w_atanhl.c: Likewise.
23607 * math/w_exp2.c: Likewise.
23608 * math/w_exp2f.c: Likewise.
23609 * math/w_exp2l.c: Likewise.
23610 * math/w_j0.c: Likewise.
23611 * math/w_j0f.c: Likewise.
23612 * math/w_j0l.c: Likewise.
23613 * math/w_j1.c: Likewise.
23614 * math/w_j1f.c: Likewise.
23615 * math/w_j1l.c: Likewise.
23616 * math/w_jn.c: Likewise.
23617 * math/w_jnf.c: Likewise.
23618 * math/w_log.c: Likewise.
23619 * math/w_log10.c: Likewise.
23620 * math/w_log10f.c: Likewise.
23621 * math/w_log10l.c: Likewise.
23622 * math/w_log2.c: Likewise.
23623 * math/w_log2f.c: Likewise.
23624 * math/w_log2l.c: Likewise.
23625 * math/w_logf.c: Likewise.
23626 * math/w_logl.c: Likewise.
23627 * math/w_sqrt.c: Likewise.
23628 * math/w_sqrtf.c: Likewise.
23629 * math/w_sqrtl.c: Likewise.
23630 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23631 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23632 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23633 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23634 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23636 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23639 * manual/string.texi (strnlen): Use correct parameter name in
23640 equivalent expression.
23642 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23645 * manual/users.texi (seteuid): Consistently use neweuid for
23648 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23651 * manual/nss.texi (Services in the NSS configuration): Correct
23652 list of services in example configuration file.
23654 2012-02-19 Nick Bowler <nbowler@draconx.ca>
23657 * manual/arith.texi: Remove statements about negative zero
23658 behaving identically to zero.
23660 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23663 * manual/install.texi: Do not document upgrading from libc5.
23665 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23668 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23670 2012-02-18 David S. Miller <davem@davemloft.net>
23672 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23673 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23674 %o7 across the call.
23675 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23677 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23678 SETUP_PIC_REG_LEAF.
23679 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23680 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23681 * sysdeps/sparc/crtn.S: Likewise.
23683 2012-02-17 Ulrich Drepper <drepper@gmail.com>
23685 * aout/Makefile: Remove.
23687 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23690 * manual/examples/argp-ex1.c (main): Format definition in GNU
23692 * manual/examples/argp-ex2.c (main): Likewise.
23693 * manual/examples/argp-ex3.c (main): Likewise.
23694 * manual/examples/argp-ex4.c (main): Likewise.
23695 * manual/examples/longopt.c (main): Use new-style prototype
23697 * manual/examples/strncat.c (main): Specify return type and use
23698 (void) for arguments.
23699 * manual/examples/subopt.c (main): Use char **argv argument.
23701 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23704 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23707 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23710 * manual/string.texi (strchr): Change when strchrnul is
23713 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23716 * manual/locale.texi (setlocale): Document LOCPATH.
23718 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23721 * manual/process.texi (execle): Move @dots{} before last argument.
23723 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
23726 * manual/charset.texi (Generic Charset Conversion): Fix typo
23727 (LC_TYPE -> LC_CTYPE).
23729 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23732 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23733 (scalbnf): Likewise.
23734 (scalbnl): Likewise.
23735 (scalbln): Likewise.
23736 (scalblnf): Likewise.
23737 (scalblnl): Likewise.
23738 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23739 (vwarnx): Likewise.
23742 * manual/filesys.texi (telldir): Use braces around return type.
23743 * manual/llio.texi (mmap): Add space after comma.
23744 (mmap64): Likewise.
23745 * manual/math.texi (jn): Use @var{} on parameter names.
23751 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23753 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23755 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23756 (sched_get_priority_max): Likewise.
23757 * manual/signal.texi (sigvec): Add space after comma.
23758 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23760 (if_indextoname): Likewise.
23761 (if_freenameindex): Likewise.
23762 (sendto): Use ',' instead of '.' in prototype.
23763 * manual/startup.texi (syscall): Use @dots{} instead of literal
23765 * manual/stdio.texi (__fpending): Separate initial words of
23766 paragraph from @deftypefun line.
23767 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23769 (vsyslog): Use @var{} on parameter names.
23770 * manual/terminal.texi (stty): Use @var{} on parameter names.
23771 * manual/users.texi (getutmp): Use @var{} on parameter names.
23772 (getutmpx): Likewise.
23774 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23777 * manual/stdio.texi (fopen): Fix typos in description of
23780 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23783 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23784 get clock_id definition.
23786 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
23789 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23790 (madvise): Cast every argument to void on its own.
23792 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23795 * manual/startup.texi (Exit Status): Fix typo.
23797 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23800 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23801 * manual/examples/argp-ex2.c: Likewise.
23802 * manual/examples/argp-ex3.c: Likewise.
23804 2012-02-16 Richard Henderson <rth@redhat.com>
23806 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23807 * sysdeps/s390/s390-32/initfini.c: Remove.
23808 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23809 * sysdeps/s390/s390-64/initfini.c: Remove.
23811 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23813 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23814 compiler output for sysdeps/generic/initfini.c.
23815 * sysdeps/sh/elf/initfini.c: Remove file.
23817 2012-02-16 David S. Miller <davem@davemloft.net>
23820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23822 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23823 * sysdeps/sparc/crti.S: New file.
23824 * sysdeps/sparc/crtn.S: New file.
23825 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23826 * sysdeps/sparc/sparc64/Makefile: Likewise.
23828 2012-02-15 Mike Frysinger <vapier@gentoo.org>
23831 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23833 2012-02-15 Roland McGrath <roland@hack.frob.com>
23836 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23838 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23839 (write, read, close): Likewise.
23840 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23842 2012-02-15 Joseph Myers <joseph@codesourcery.com>
23844 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23845 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23846 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23847 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23849 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23850 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23853 2012-02-14 Marek Polacek <polacek@redhat.com>
23855 * sysdeps/x86_64/crti.S: New file.
23856 * sysdeps/x86_64/crtn.S: New file.
23857 * sysdeps/x86_64/elf/initfini.c: Remove file.
23859 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23861 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23862 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23863 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23864 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23866 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23867 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23870 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23872 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23873 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23874 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23875 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23877 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23881 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23883 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23884 __feraiseexcept instead of feraiseexcept.
23886 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23887 nanosleep invocations.
23888 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23889 strings, and add error checking for a nanosleep invocations.
23891 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23893 Replace FSF snail mail address with URLs, as per GNU coding standards.
23894 Most of the snail mail addresses were wrong anyway, and omitting
23895 them makes the source code easier to maintain. Almost all of the
23896 changes are to license notices and to locale LC_IDENTIFICATION
23897 addresses, except for this one:
23898 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23899 not its snail mail address.
23901 2012-02-09 Richard Henderson <rth@twiddle.net>
23903 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23904 of kernel-features.h.
23906 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23908 2012-02-08 Marek Polacek <polacek@redhat.com>
23910 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23911 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23912 * sysdeps/gnu/_G_config.h: Likewise.
23913 * sysdeps/generic/_G_config.h: Likewise.
23915 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23917 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23921 * sysdeps/powerpc/powerpc32/crti.S: New file.
23922 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23923 * sysdeps/powerpc/powerpc64/crti.S: New file.
23924 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23926 * Makeconfig (have-initfini): Don't set.
23927 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23928 * configure.in (nopic_initfini): Don't substitute.
23929 * config.h.in (HAVE_INITFINI): Don't #undef.
23930 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23931 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23933 2012-02-08 Joseph Myers <joseph@codesourcery.com>
23935 Support crti.S and crtn.S provided directly by architectures.
23936 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23937 [crti.S in sysdirs] (omit-deps): Likewise.
23938 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23939 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23940 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23941 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23942 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23943 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23944 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23945 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23946 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23947 compiler output for sysdeps/generic/initfini.c.
23948 * sysdeps/i386/elf/Makefile: Remove file.
23949 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23951 2012-02-07 Marek Polacek <polacek@redhat.com>
23953 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23954 * sysdeps/gnu/_G_config.h: Likewise.
23955 * sysdeps/mach/hurd/_G_config.h: Likewise.
23957 2012-02-07 Marek Polacek <polacek@redhat.com>
23959 * math/Makefile (tests): Add tst-CMPLX2.
23960 * math/tst-CMPLX2.c: New file.
23962 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23964 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23966 * math/libm-test.inc (jn_test): Add missing L suffix.
23968 2012-02-06 Marek Polacek <polacek@redhat.com>
23970 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23971 * sysdeps/i386/fpu/e_powf.S: Likewise.
23972 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23973 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23974 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23975 * sysdeps/i386/fpu/e_pow.S: Likewise.
23976 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23977 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23978 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23979 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23980 * sysdeps/i386/fpu/e_log2.S: Likewise.
23981 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23982 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23983 * sysdeps/i386/fpu/e_powl.S: Likewise.
23984 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23985 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23986 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23987 * sysdeps/i386/fpu/e_logl.S: Likewise.
23988 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23989 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23990 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23991 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23992 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23993 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23994 * sysdeps/i386/fpu/e_log.S: Likewise.
23995 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23996 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23997 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23998 * sysdeps/i386/fpu/e_logf.S: Likewise.
23999 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24000 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24001 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24002 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24003 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24004 * sysdeps/i386/fpu/e_log10.S: Likewise.
24005 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24006 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24007 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24008 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24009 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24010 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24011 * sysdeps/i386/asm-syntax.h: Likewise.
24012 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24013 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24014 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24015 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24016 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24017 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24018 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24019 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24020 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24021 * sysdeps/powerpc/sysdep.h: Likewise.
24022 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24023 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24025 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24028 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24030 2012-02-06 Joseph Myers <joseph@codesourcery.com>
24032 * sysdeps/i386/sysdep.h: Include <features.h>.
24033 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24036 2012-02-05 Joseph Myers <joseph@codesourcery.com>
24038 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24040 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24043 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24045 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24046 (SETUP_PIC_REG): Use GET_PC_THUNK.
24047 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24050 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24052 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24053 for non-PIC compilation.
24054 (SETUP_PIC_REG): Add .p2align directive.
24055 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24056 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24057 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24058 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24059 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24060 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24061 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24062 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24063 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24064 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24065 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24066 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24067 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24068 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24069 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24070 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24071 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24072 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24073 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24074 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24075 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24076 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24077 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24078 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24079 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24081 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24082 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24083 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24084 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24085 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24086 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24087 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24088 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24089 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24090 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24091 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24092 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24093 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24094 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24095 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24097 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24099 * math/tst-CMPLX.c: Include <stdio.h>.
24101 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24103 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24105 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24106 * sysdeps/sparc/bits/mathdef.h: Likewise.
24108 2012-01-31 Marek Polacek <polacek@redhat.com>
24110 * libio/libio.h: Don't define _PARAMS.
24111 * locale/programs/config.h: Don't define PARAMS.
24112 * stdlib/strtol_l.c: Likewise.
24113 (__strtol_l): Remove PARAMS from the prototype.
24115 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24117 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24118 names. Just use the correct names. Remove unnecessary wrapper
24120 * malloc/arena.c: Likewise.
24121 * malloc/hooks.c: Likewise.
24123 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24124 ARENA_TEST says not to. Simplify test for creation of a new arena.
24125 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24127 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24129 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24131 (update_get_addr): New function.
24132 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24133 GET_ADDR_MODULE parameter.
24135 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24137 * crypt/cert.c: Remove __STDC__ conditionals.
24138 * crypt/crypt-entry.c: Likewise.
24139 * crypt/crypt_util.c: Likewise.
24140 * libio/filedoalloc.c: Likewise.
24141 * libio/fileops.c: Likewise.
24142 * libio/genops.c: Likewise.
24143 * libio/iofclose.c: Likewise.
24144 * libio/iofdopen.c: Likewise.
24145 * libio/iofopen.c: Likewise.
24146 * libio/iofopen64.c: Likewise.
24147 * libio/iogetdelim.c: Likewise.
24148 * libio/iopopen.c: Likewise.
24149 * libio/obprintf.c: Likewise.
24150 * libio/oldfileops.c: Likewise.
24151 * libio/oldiofclose.c: Likewise.
24152 * libio/oldiofdopen.c: Likewise.
24153 * libio/oldiofopen.c: Likewise.
24154 * libio/oldiopopen.c: Likewise.
24155 * libio/wfiledoalloc.c: Likewise.
24156 * libio/wgenops.c: Likewise.
24157 * locale/programs/xmalloc.c: Likewise.
24158 * misc/syslog.c: Likewise.
24159 * stdio-common/xbug.c: Likewise.
24160 * string/memchr.c: Likewise.
24161 * string/memcmp.c: Likewise.
24162 * string/memrchr.c: Likewise.
24163 * string/rawmemchr.c: Likewise.
24164 * sysdeps/posix/getcwd.c: Likewise.
24165 * time/strftime_l.c: Likewise.
24167 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24169 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24170 * config.make.in (config-cflags-sse2avx): Define.
24171 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24174 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24176 * scripts/config.guess: Update from upstream config git repository.
24177 * scripts/config.sub: Likewise.
24179 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24181 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24183 (R_TILEPRO_*, R_TILEGX_*): New macros.
24185 * scripts/firstversions.awk: Fix bug in version range handling.
24187 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24189 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24191 * include/sys/epoll.h: New file.
24192 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24195 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24197 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24198 Avoid unnecessary __WORDSIZE == 64 test.
24199 (fmaxf): Use VEX format if possible.
24204 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24205 * math/math_private.h: Remove libc_fegetround* and
24207 * sysdeps/i386/configure.in: Check for -msse2avx.
24208 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24209 also if SSE2AVX is defined.
24210 Remove libc_fegetround* and libc_fesetround*.
24211 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24212 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24213 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24215 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24216 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24217 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24218 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24219 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24221 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24223 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24225 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24227 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24229 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24232 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24234 * Makeconfig (libm): Define.
24235 * elf/Makefile: Add rules to build and run tst-relsort1.
24236 * elf/tst-relsort1.c: New file.
24237 * elf/tst-relsort1mod1.c: New file.
24238 * elf/tst-relsort1mod2.c: New file.
24240 2012-01-27 Joseph Myers <joseph@codesourcery.com>
24242 * math/s_ldexp.c: Remove __STDC__ conditionals.
24243 * math/s_ldexpf.c: Likewise.
24244 * math/s_ldexpl.c: Likewise.
24245 * math/s_nextafter.c: Likewise.
24246 * math/s_nexttowardf.c: Likewise.
24247 * math/s_significand.c: Likewise.
24248 * math/s_significandf.c: Likewise.
24249 * math/s_significandl.c: Likewise.
24250 * math/w_jnl.c: Likewise.
24251 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24252 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24253 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24254 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24255 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24256 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24257 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24258 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24259 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24260 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24261 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24263 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24264 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24265 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24266 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24267 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24268 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24270 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24271 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24272 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24273 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24274 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24275 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24276 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24277 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24278 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24279 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24280 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24281 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24282 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24283 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24284 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24285 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24286 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24287 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24288 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24289 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24290 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24291 * sysdeps/ieee754/k_standard.c: Likewise.
24292 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24293 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24294 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24295 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24296 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24297 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24298 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24299 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24300 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24301 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24302 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24303 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24304 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24305 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24306 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24307 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24308 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24310 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24311 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24312 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24313 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24314 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24315 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24316 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24317 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24318 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24319 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24321 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24322 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24323 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24324 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24325 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24326 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24327 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24328 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24329 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24330 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24331 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24332 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24334 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24335 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24336 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24337 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24338 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24339 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24340 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24341 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24342 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24343 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24344 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24345 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24346 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24347 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24348 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24349 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24350 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24351 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24352 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24353 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24354 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24355 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24356 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24357 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24358 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24359 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24360 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24361 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24362 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24363 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24364 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24365 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24366 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24367 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24368 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24369 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24370 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24371 * sysdeps/ieee754/s_matherr.c: Likewise.
24372 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24373 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24374 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24375 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24377 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24379 * crypt/md5.h: Remove __STDC__ conditionals.
24380 * libio/libioP.h: Likewise.
24381 * locale/programs/config.h: Likewise.
24382 * sysdeps/generic/sysdep.h: Likewise.
24383 * sysdeps/i386/asm-syntax.h: Likewise.
24384 * sysdeps/s390/asm-syntax.h: Likewise.
24385 * sysdeps/unix/sysdep.h: Likewise.
24386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24389 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24391 * libio/libio.h: Remove __STDC__ conditionals.
24392 * malloc/obstack.h: Likewise.
24393 * math/complex.h: Likewise.
24394 * math/math.h: Likewise.
24395 * sysdeps/generic/_G_config.h: Likewise.
24396 * sysdeps/gnu/_G_config.h: Likewise.
24397 * sysdeps/mach/hurd/_G_config.h: Likewise.
24398 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24399 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24400 * sysdeps/sparc/bits/mathdef.h: Likewise.
24402 2012-01-26 Ulrich Drepper <drepper@gmail.com>
24405 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24406 Clean up HAS_* macros.
24407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24408 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24410 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24412 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24413 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24414 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24415 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24416 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24418 2012-01-25 Joseph Myers <joseph@codesourcery.com>
24420 * elf/tst-unique3.cc (gets): Remove declaration.
24421 * elf/tst-unique3lib.cc (gets): Likewise.
24422 * elf/tst-unique3lib2.cc (gets): Likewise.
24423 * elf/tst-unique4.cc (gets): Likewise.
24425 2012-01-24 Ulrich Drepper <drepper@gmail.com>
24427 * include/stdio.h: Add C++ protection. Add gets declarations and
24429 * debug/tst-chk1.c: Don't declare gets here.
24430 * stdio-common/tst-gets.c: Likewise.
24432 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24434 * posix/glob: Remove directory.
24436 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24438 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24440 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24442 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24443 of the non-standard EPFNOSUPPORT.
24445 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24447 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24448 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24449 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24451 2012-01-21 Ulrich Drepper <drepper@gmail.com>
24453 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24455 2012-01-20 Ulrich Drepper <drepper@gmail.com>
24457 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24459 * nscd/grpcache.c (cache_addgr): Likewise.
24460 * nscd/hstcache.c (cache_addhst): Likewise.
24461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24462 * nscd/pwdcache.c (cache_addpw): Likewise.
24463 * nscd/servicescache.c (cache_addserv): Likewise.
24465 2012-01-16 Ulrich Drepper <drepper@gmail.com>
24467 * malloc/malloc.c: Various cleanups.
24468 * malloc/hooks.c: Likewise.
24470 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24471 * stdlib/bug-fmtmsg1.c: New file.
24473 * stdlib/fmtmsg.c (init): Add missing unlock.
24474 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24476 2012-01-12 Marek Polacek <polacek@redhat.com>
24478 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24481 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24483 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24484 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24485 macro to ensure uniqueness of label name.
24486 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24487 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24489 2012-01-11 Ulrich Drepper <drepper@gmail.com>
24491 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24493 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24494 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24495 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24498 2012-01-10 Ulrich Drepper <drepper@gmail.com>
24500 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24502 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24503 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24504 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24506 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24508 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24509 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24510 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24511 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24513 * math/bits/math-finite.h: Add ldexp support.
24515 2012-01-10 Marek Polacek <polacek@redhat.com>
24517 * locale/programs/localedef.h (show_archive_content): Add noreturn
24520 2012-01-09 Ulrich Drepper <drepper@gmail.com>
24522 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24524 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24526 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24528 * io/Makefile (headers): Add bits/poll2.h.
24530 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24533 typo #include statement.
24535 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24537 * include/sys/cdefs.h: Define __attribute_alloc_size.
24538 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24539 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24540 * elf/pldd.c: Likewise.
24541 * iconv/iconv_charmap.c: Likewise.
24542 * iconv/iconvconfig.c: Likewise.
24543 * iconv/strtab.c: Likewise.
24544 * locale/programs/locale.c: Likewise.
24545 * locale/programs/localedef.h: Likewise.
24546 * locale/programs/simple-hash.c: Likewise.
24547 * nscd/nscd.h: Likewise.
24548 * nss/makedb.c: Likewise.
24549 * sysdeps/generic/ldconfig.h: Likewise.
24550 * locale/programs/localedef.c: Remove xmalloc prototype.
24551 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24553 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24555 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24558 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24560 * math/Makefile (tests): Add tst-CMPLX.
24561 * math/tst-CMPLX.c: New file.
24563 * math/complex.h (CMPLXL): Fix typo.
24565 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24566 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24568 * debug/tst-chk1.c: Add poll and ppoll tests.
24569 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24570 * include/sys/poll.h: Add hidden proto for ppoll.
24571 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24572 * sysdeps/mach/hurd/ppoll.c: Likewise.
24573 * io/ppoll.c: Likewise.
24574 * debug/poll_chk.c: New file.
24575 * debug/ppoll_chk.c: New file.
24576 * include/bits/poll2.h: New file.
24577 * io/bits/poll2.h: New file.
24580 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24582 * configure.in: static is always set to yes. Remove.
24583 * config.make.in: Don't set build-static.
24584 * Makeconfig: Remove use of build-static.
24585 * dlfcn/Makefile: Likewise.
24586 * elf/Makefile: Likewise.
24587 * math/Makefile: Likewise.
24588 * misc/Makefile: Likewise.
24589 * nptl/Makefile: Likewise.
24590 * sysdeps/mach/hurd/Makefile: Likewise.
24592 * configure.in: PWD_P is not used anymore.
24593 * config.make.in: Remove PWD_P entry.
24595 * configure.in: Remove last remnants of RANLIB.
24596 No need to check for signed size_t anymore.
24597 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24599 Remove __builtin_expect test because we require at least gcc 3.4.
24600 * aclocal.m4: Likewise.
24602 * wcsmbs/mbrtoc16.c: Implement using towc function.
24603 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24604 * wcsmbs/wcsmbsload.c: Likewise.
24605 * iconv/gconv_simple.c: Likewise.
24606 * iconv/gconv_int.h: Likewise.
24607 * iconv/gconv_builtin.h: Likewise.
24608 * iconv/iconv_prog.c: Remove CHAR16 handling.
24610 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24612 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24614 * configure.in: Remove --with-elf and --enable-bounded options.
24615 Dont set base_machine for ia64. More non-ELF conditions removed.
24616 Remove testing and setting of leading underscore information.
24617 * config.make.in (build-bounded): Set to no.
24618 * config.h.in: Remove NO_UNDERSCORES entry.
24619 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24621 * csu/start.c: Remove !NO_UNDERSCORE code.
24622 * locale/localeinfo.h: Likewise.
24623 * sysdeps/generic/machine-gmon.h: Likewise.
24624 * sysdeps/generic/sysdep.h: Likewise.
24625 * sysdeps/i386/sysdep.h: Likewise.
24626 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24627 * sysdeps/mach/sysdep.h: Likewise.
24628 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24629 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24630 * sysdeps/sh/sysdep.h: Likewise.
24631 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24632 * sysdeps/unix/i386/sysdep.S: Likewise.
24633 * sysdeps/unix/sparc/start.c: Likewise.
24634 * sysdeps/unix/sparc/sysdep.S: Likewise.
24635 * sysdeps/unix/sparc/sysdep.h: Likewise.
24636 * sysdeps/unix/start.c: Likewise.
24637 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24638 * sysdeps/x86_64/sysdep.h: Likewise.
24640 2012-01-07 Ulrich Drepper <drepper@gmail.com>
24643 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24645 * argp/argp-fmtstream.h: Use const instead __const.
24646 * argp/argp.h: Likewise.
24647 * assert/assert.h: Likewise.
24648 * bits/fenv.h: Likewise.
24649 * bits/sched.h: Likewise.
24650 * bits/sigset.h: Likewise.
24651 * bits/sigthread.h: Likewise.
24652 * catgets/nl_types.h: Likewise.
24653 * conform/data/pthread.h-data: Likewise.
24654 * crypt/crypt-private.h: Likewise.
24655 * crypt/crypt.h: Likewise.
24656 * crypt/crypt_util.c: Likewise.
24657 * ctype/ctype.h: Likewise.
24658 * debug/execinfo.h: Likewise.
24659 * debug/mbsnrtowcs_chk.c: Likewise.
24660 * debug/mbsrtowcs_chk.c: Likewise.
24661 * debug/wcsnrtombs_chk.c: Likewise.
24662 * debug/wcsrtombs_chk.c: Likewise.
24663 * debug/wcstombs_chk.c: Likewise.
24664 * dirent/dirent.h: Likewise.
24665 * dlfcn/dlfcn.h: Likewise.
24666 * elf/neededtest4.c: Likewise.
24667 * grp/grp.h: Likewise.
24668 * gshadow/gshadow.h: Likewise.
24669 * iconv/gconv.h: Likewise.
24670 * iconv/gconv_int.h: Likewise.
24671 * iconv/gconv_simple.c: Likewise.
24672 * iconv/iconv.h: Likewise.
24673 * iconv/loop.c: Likewise.
24674 * iconv/skeleton.c: Likewise.
24675 * include/aio.h: Likewise.
24676 * include/aliases.h: Likewise.
24677 * include/argz.h: Likewise.
24678 * include/arpa/inet.h: Likewise.
24679 * include/assert.h: Likewise.
24680 * include/dirent.h: Likewise.
24681 * include/dlfcn.h: Likewise.
24682 * include/execinfo.h: Likewise.
24683 * include/fcntl.h: Likewise.
24684 * include/fenv.h: Likewise.
24685 * include/glob.h: Likewise.
24686 * include/grp.h: Likewise.
24687 * include/libintl.h: Likewise.
24688 * include/mntent.h: Likewise.
24689 * include/netdb.h: Likewise.
24690 * include/pwd.h: Likewise.
24691 * include/rpc/netdb.h: Likewise.
24692 * include/sched.h: Likewise.
24693 * include/search.h: Likewise.
24694 * include/shadow.h: Likewise.
24695 * include/signal.h: Likewise.
24696 * include/stdio.h: Likewise.
24697 * include/stdlib.h: Likewise.
24698 * include/string.h: Likewise.
24699 * include/sys/socket.h: Likewise.
24700 * include/sys/stat.h: Likewise.
24701 * include/sys/statfs.h: Likewise.
24702 * include/sys/statvfs.h: Likewise.
24703 * include/sys/syslog.h: Likewise.
24704 * include/sys/time.h: Likewise.
24705 * include/sys/uio.h: Likewise.
24706 * include/time.h: Likewise.
24707 * include/unistd.h: Likewise.
24708 * include/utmp.h: Likewise.
24709 * include/wchar.h: Likewise.
24710 * include/wctype.h: Likewise.
24711 * inet/aliases.h: Likewise.
24712 * inet/arpa/inet.h: Likewise.
24713 * inet/netinet/ether.h: Likewise.
24714 * inet/netinet/in.h: Likewise.
24715 * intl/libintl.h: Likewise.
24716 * io/bits/fcntl2.h: Likewise.
24717 * io/fcntl.h: Likewise.
24718 * io/ftw.h: Likewise.
24719 * io/sys/poll.h: Likewise.
24720 * io/sys/stat.h: Likewise.
24721 * io/sys/statfs.h: Likewise.
24722 * io/sys/statvfs.h: Likewise.
24723 * io/utime.h: Likewise.
24724 * libio/bits/stdio.h: Likewise.
24725 * libio/bits/stdio2.h: Likewise.
24726 * libio/libio.h: Likewise.
24727 * libio/libioP.h: Likewise.
24728 * libio/stdio.h: Likewise.
24729 * locale/lc-ctype.c: Likewise.
24730 * locale/locale.h: Likewise.
24731 * login/utmp.h: Likewise.
24732 * malloc/arena.c: Likewise.
24733 * malloc/malloc.c: Likewise.
24734 * malloc/malloc.h: Likewise.
24735 * malloc/mcheck.c: Likewise.
24736 * malloc/mtrace.c: Likewise.
24737 * math/bits/mathcalls.h: Likewise.
24738 * math/fenv.h: Likewise.
24739 * math/math_private.h: Likewise.
24740 * misc/bits/error.h: Likewise.
24741 * misc/bits/syslog.h: Likewise.
24742 * misc/err.h: Likewise.
24743 * misc/error.h: Likewise.
24744 * misc/fstab.h: Likewise.
24745 * misc/mntent.h: Likewise.
24746 * misc/regexp.h: Likewise.
24747 * misc/search.h: Likewise.
24748 * misc/sgtty.h: Likewise.
24749 * misc/sys/mman.h: Likewise.
24750 * misc/sys/syslog.h: Likewise.
24751 * misc/sys/uio.h: Likewise.
24752 * misc/sys/xattr.h: Likewise.
24753 * misc/ttyent.h: Likewise.
24754 * nis/rpcsvc/ypclnt.h: Likewise.
24755 * nss/nss.h: Likewise.
24756 * posix/bits/unistd.h: Likewise.
24757 * posix/fnmatch.h: Likewise.
24758 * posix/glob.h: Likewise.
24759 * posix/sched.h: Likewise.
24760 * posix/spawn.h: Likewise.
24761 * posix/sys/wait.h: Likewise.
24762 * posix/unistd.h: Likewise.
24763 * posix/wordexp.h: Likewise.
24764 * pwd/pwd.h: Likewise.
24765 * resolv/netdb.h: Likewise.
24766 * resource/sys/resource.h: Likewise.
24767 * rt/aio.h: Likewise.
24768 * rt/bits/mqueue2.h: Likewise.
24769 * rt/mqueue.h: Likewise.
24770 * shadow/shadow.h: Likewise.
24771 * signal/signal.h: Likewise.
24772 * socket/send.c: Likewise.
24773 * socket/sendto.c: Likewise.
24774 * socket/sys/socket.h: Likewise.
24775 * stdio-common/printf.h: Likewise.
24776 * stdlib/bits/stdlib.h: Likewise.
24777 * stdlib/fmtmsg.h: Likewise.
24778 * stdlib/monetary.h: Likewise.
24779 * stdlib/stdlib.h: Likewise.
24780 * stdlib/ucontext.h: Likewise.
24781 * streams/stropts.h: Likewise.
24782 * string/argz.h: Likewise.
24783 * string/bits/string2.h: Likewise.
24784 * string/string.h: Likewise.
24785 * string/strings.h: Likewise.
24786 * sunrpc/rpc/auth.h: Likewise.
24787 * sunrpc/rpc/auth_des.h: Likewise.
24788 * sunrpc/rpc/clnt.h: Likewise.
24789 * sunrpc/rpc/netdb.h: Likewise.
24790 * sunrpc/rpc/pmap_clnt.h: Likewise.
24791 * sunrpc/rpc/xdr.h: Likewise.
24792 * sysdeps/generic/inttypes.h: Likewise.
24793 * sysdeps/generic/net/if.h: Likewise.
24794 * sysdeps/generic/sys/swap.h: Likewise.
24795 * sysdeps/gnu/net/if.h: Likewise.
24796 * sysdeps/gnu/utmpx.h: Likewise.
24797 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24798 * sysdeps/i386/i486/bits/string.h: Likewise.
24799 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24800 * sysdeps/s390/bits/string.h: Likewise.
24801 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24802 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24803 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24804 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24805 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24806 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24807 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24808 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24809 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24810 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24811 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24812 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24813 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24814 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24815 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24816 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24817 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24819 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24820 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24821 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24822 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24823 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24824 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24825 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24826 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24827 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24828 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24829 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24830 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24831 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24832 * sysvipc/sys/ipc.h: Likewise.
24833 * sysvipc/sys/msg.h: Likewise.
24834 * sysvipc/sys/sem.h: Likewise.
24835 * sysvipc/sys/shm.h: Likewise.
24836 * termios/termios.h: Likewise.
24837 * time/sys/time.h: Likewise.
24838 * time/time.h: Likewise.
24839 * wcsmbs/bits/wchar2.h: Likewise.
24840 * wcsmbs/uchar.h: Likewise.
24841 * wcsmbs/wchar.h: Likewise.
24842 * wctype/wctype.h: Likewise.
24845 * Makeconfig: Remove all but ELF support including AIX support.
24846 * Makerules: Likewise.
24847 * config.h.in: Likewise.
24848 * config.make.in: Likewise.
24849 * configure: Likewise.
24850 * configure.in: Likewise.
24851 * csu/Makefile: Likewise.
24852 * csu/version.c: Likewise.
24853 * debug/Makefile: Likewise.
24854 * dlfcn/Makefile: Likewise.
24855 * elf/Makefile: Likewise.
24856 * extra-lib.mk: Likewise.
24857 * iconv/Makefile: Likewise.
24858 * include/libc-symbols.h: Likewise.
24859 * include/shlib-compat.h: Likewise.
24860 * resolv/Makefile: Likewise.
24861 * resolv/res_libc.c: Likewise.
24862 * rt/Makefile: Likewise.
24863 * sysdeps/i386/asm-syntax.h: Likewise.
24864 * sysdeps/i386/sysdep.h: Likewise.
24865 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24866 * sysdeps/mach/sysdep.h: Likewise.
24867 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24868 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24869 * sysdeps/s390/asm-syntax.h: Likewise.
24870 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24871 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24872 * sysdeps/sh/sysdep.h: Likewise.
24873 * sysdeps/unix/sparc/sysdep.h: Likewise.
24874 * sysdeps/wordsize-32/divdi3.c: Likewise.
24875 * sysdeps/x86_64/sysdep.h: Likewise.
24877 * argp/Versions: Remove _argp_unlock_xxx.
24880 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24881 * abilist/libBrokenLocale.abilist: Likewise.
24882 * abilist/libanl.abilist: Likewise.
24883 * abilist/libc.abilist: Likewise.
24884 * abilist/libcrypt.abilist: Likewise.
24885 * abilist/libdl.abilist: Likewise.
24886 * abilist/libm.abilist: Likewise.
24887 * abilist/libnsl.abilist: Likewise.
24888 * abilist/libpthread.abilist: Likewise.
24889 * abilist/libresolv.abilist: Likewise.
24890 * abilist/librt.abilist: Likewise.
24891 * abilist/libthread_db.abilist: Likewise.
24892 * abilist/libutil.abilist: Likewise.
24893 * abilist/libnss_db.abilist: New file.
24895 * scripts/abilist.awk: Add support for indirect functions.
24897 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24899 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24901 * shlib-versions: Remove entries for ports architectures.
24903 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24905 * elf/stackguard-macros.h: Remove support for IA-64.
24906 * elf/tst-auditmod1.c: Likewise.
24907 * sysdeps/generic/ldsodefs.h: Likewise.
24909 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24910 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24914 * configure.in: Remove --enable-omitfp support.
24916 * config.make.in: Likewise.
24917 * Makeconfig: Likewise.
24918 * manual/install.texi: Likewise.
24920 In case anyone cares, the IA-64 architecture could move to ports.
24921 * sysdeps/ia64/*: Removed.
24922 * sysdeps/unix/sysv/linux/ia64/*: Removed.
24923 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24926 * configure.in: Remove entries for unsupported architectures.
24929 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24930 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24932 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24933 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24934 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24935 fall back to using wcrtomb.
24936 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24937 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24939 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24940 * wcsmbs/tst-c16c32-1.c: New file.
24942 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24945 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24947 * elf/tst-unique3.cc: Add explicit declaration of gets.
24948 * elf/tst-unique3lib.cc: Likewise.
24949 * elf/tst-unique3lib2.cc: Likewise.
24950 * elf/tst-unique4.cc: Likewise.
24952 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24954 2012-01-06 Joseph Myers <joseph@codesourcery.com>
24957 * assert/assert.h (static_assert): Don't define for C++.
24958 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24959 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24961 2012-01-03 Ulrich Drepper <drepper@gmail.com>
24963 * iconv/loop.c (single loop): Fix assertion in storing of
24966 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24968 2012-01-01 Ulrich Drepper <drepper@gmail.com>
24970 * posix/getconf.c: Update copyright year.
24971 * nss/getent.c: Likewise.
24972 * nss/makedb.c: Likewise.
24973 * iconv/iconvconfig.c: Likewise.
24974 * iconv/iconv_prog.c: Likewise.
24975 * elf/ldconfig.c: Likewise.
24976 * elf/pldd.c: Likewise.
24977 * elf/sotruss.ksh: Likewise.
24978 * catgets/gencat.c: Likewise.
24979 * csu/version.c: Likewise.
24980 * elf/ldd.bash.in: Likewise.
24981 * elf/sprof.c (print_version): Likewise.
24982 * locale/programs/locale.c: Likewise.
24983 * locale/programs/localedef.c: Likewise.
24984 * login/programs/pt_chown.c: Likewise.
24985 * nscd/nscd.c (print_version): Likewise.
24986 * debug/xtrace.sh: Likewise.
24987 * malloc/memusage.sh: Likewise.
24988 * malloc/mtrace.pl: Likewise.
24989 * debug/catchsegv.sh: Likewise.
24991 2011-12-30 Jakub Jelinek <jakub@redhat.com>
24993 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24996 2011-12-24 Ulrich Drepper <drepper@gmail.com>
24999 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25000 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25002 * iconv/gconv_int.h: Likewise.
25003 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25004 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25005 from libc for GLIBC_2.16.
25006 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25007 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25008 * wcsmbs/uchar.h: Really define mbstate_t.
25009 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25010 * wcsmbs/c16rtomb.c: New file.
25011 * wcsmbs/mbrtoc16.c: New file.
25012 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25013 for C/POSIX locale.
25014 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25015 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25017 * wcsmbs/wchar.h: Add missing __restrict.
25019 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25022 * time/Makefile (routines): Add timespec_get.
25023 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25024 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25025 timespec for ISO C11.
25026 * time/timespec_get.c: New file.
25027 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25028 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25031 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25032 * stdlib/stdlib.h: Declare aligned_alloc.
25033 * Versions.def: Add GLIBC_2.16 for libc.
25034 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25037 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25040 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
25044 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25047 * assert/assert.h (static_assert): Define.
25049 * version.h: Update for 2.16 development version.
25052 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25055 * version.h (RELEASE): Bump for 2.15 release.
25056 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25058 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25059 Patch by Marek Polacek <mpolacek@redhat.com>.
25061 * bits/byteswap.h: Protect long long constants with __extension__.
25062 * sysdeps/i386/bits/byteswap.h: Likewise.
25063 * sysdeps/ia64/bits/byteswap.h: Likewise.
25064 * sysdeps/s390/bits/byteswap.h: Likewise.
25065 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25067 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25070 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25071 destination buffer.
25072 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25074 2011-12-23 Marek Polacek <polacek@redhat.com>
25076 * elf/dl-addr.c (determine_info): Add inline keyword.
25077 * elf/tst-auditmod4b.c (check_avx): Likewise.
25078 * elf/tst-auditmod6b.c (check_avx): Likewise.
25079 * elf/tst-auditmod6c.c (check_avx): Likewise.
25080 * elf/tst-auditmod7b.c (check_avx): Likewise.
25082 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25084 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25087 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25090 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25091 processing for last bytes.
25093 2011-08-06 Bruno Haible <bruno@clisp.org>
25096 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25097 U+0385, not to U+1FEE.
25100 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25101 entry for U+00A5 U+0301.
25103 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25106 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25107 buffer for the output is too small.
25109 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25113 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25114 SSE flags if possible.
25116 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25119 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25120 processing for last bytes.
25122 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25124 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25125 (syscall-list-default-options, syscall-list-default-condition)
25126 (syscall-list-includes): Define.
25127 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25128 list of ABIs and options and #if conditions for each ABI. Do not
25129 handle common syscalls between ABIs specially.
25130 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25132 (syscall-list-variants, syscall-list-32bit-options)
25133 (syscall-list-32bit-condition, syscall-list-64bit-options)
25134 (syscall-list-64bit-condition): Define.
25135 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25136 (syscall-list-variants, syscall-list-32bit-options)
25137 (syscall-list-32bit-condition, syscall-list-64bit-options)
25138 (syscall-list-64bit-condition): Define.
25139 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25141 (syscall-list-variants, syscall-list-32bit-options)
25142 (syscall-list-32bit-condition, syscall-list-64bit-options)
25143 (syscall-list-64bit-condition): Define.
25144 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25146 (syscall-list-variants, syscall-list-32bit-options)
25147 (syscall-list-32bit-condition, syscall-list-64bit-options)
25148 (syscall-list-64bit-condition): Define.
25150 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25152 * locale/iso-639.def: Add brx entry.
25155 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25156 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25158 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25159 __feraiseexcept_renamed.
25161 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25164 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25165 EPOLLET with unsigned values.
25166 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25167 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25169 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25170 to large cancellation.
25171 * math/s_cacoshf.c: Likewise.
25172 * math/s_cacoshl.c: Likewise.
25174 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25178 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25179 * math/s_cacoshf.c: Likewise.
25180 * math/s_cacoshl.c: Likewise.
25182 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25185 * iconv/gconv.h: Define __GCONV_SWAP.
25186 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25187 * iconvdata/utf-16.c: Likewise.
25188 * iconvdata/utf-32.c: Likewise.
25190 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25193 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25194 numerator after shifting it by one limb.
25196 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25198 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25199 under [__USE_EXTERN_INLINES].
25201 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25204 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25206 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25208 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25209 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25211 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25212 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25213 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25214 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25215 for strncasecmp/strncasecmp_l compilation.
25216 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25217 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25219 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25222 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25225 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25228 * time/tzfile.c (__tzfile_read): Check values from file header.
25230 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25232 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25233 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25234 * powerpc/powerpc32/dl-start.S: Likewise.
25235 * powerpc/powerpc32/elf/start.S: Likewise.
25236 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25237 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25238 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25239 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25240 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25241 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25242 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25243 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25244 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25245 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25246 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25247 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25248 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25249 * powerpc/powerpc32/memset.S: Likewise.
25250 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25251 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25252 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25253 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25254 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25255 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25256 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25257 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25258 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25259 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25260 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25261 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25262 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25264 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25266 * math/libm-test.inc: Added more nearbyint tests.
25267 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25268 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25269 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25270 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25272 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25274 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25277 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25279 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25280 Add wcscpy-ssse3 wcscpy-c.
25281 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25282 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25283 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25284 * sysdeps/x86_64/wcschr.S: New file.
25285 * sysdeps/x86_64/wcsrchr.S: New file.
25286 * string/test-strcmp.c: Remove checking of wcscmp function for
25288 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25289 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25290 wcsrchr-sse2 wcsrchr-c.
25291 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25292 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25293 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25294 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25295 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25296 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25297 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25298 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25299 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25300 * wcsmbc/wcschr.c (WCSCHR): New macro.
25302 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25304 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25305 * wcsmbs/test-wcsrchr.c: New file.
25306 * string/test-strrchr.c: Add wcsrchr support.
25308 * wcsmbs/test-wcscpy.c: New file.
25309 * string/test-strcpy.c: Add wcscpy support.
25312 2011-12-10 Ulrich Drepper <drepper@gmail.com>
25314 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25317 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25320 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25322 2011-12-04 Ulrich Drepper <drepper@gmail.com>
25324 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25325 Minor optimizations.
25327 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25328 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25329 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25331 2011-12-03 Ulrich Drepper <drepper@gmail.com>
25333 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25334 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25335 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25336 for gcc to avoid warnings.
25337 * inet/Makefile (tests): Add tst-checks.
25338 * inet/tst-checks.c: New file.
25340 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25343 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25346 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25347 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25349 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25351 2011-12-02 Ulrich Drepper <drepper@gmail.com>
25353 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25356 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25358 2011-11-29 Joseph Myers <joseph@codesourcery.com>
25360 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25361 conditional on GCC version.
25362 (__arch_compare_and_exchange_val_8_acq)
25363 (__arch_compare_and_exchange_val_16_acq)
25364 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25365 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25366 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25368 2011-12-02 Joseph Myers <joseph@codesourcery.com>
25370 * sysdeps/sh/backtrace.c: New file.
25372 2011-12-02 Andreas Schwab <schwab@redhat.com>
25374 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25377 2011-12-01 Andreas Schwab <schwab@redhat.com>
25379 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25380 falling back to utime.
25382 2011-11-30 Andreas Schwab <schwab@redhat.com>
25384 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25385 expectations for float.
25387 2011-11-29 Andreas Schwab <schwab@redhat.com>
25389 * locale/weight.h (findidx): Add parameter len.
25390 * locale/weightwc.h (findidx): Likewise.
25391 * posix/fnmatch_loop.c (FCT): Adjust caller.
25392 * posix/regcomp.c (build_equiv_class): Likewise.
25393 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25394 * posix/regexec.c (check_node_accept_bytes): Likewise.
25395 * string/strcoll_l.c (STRCOLL): Likewise.
25396 * string/strxfrm_l.c (STRXFRM): Likewise.
25398 2011-11-17 Ulrich Drepper <drepper@gmail.com>
25400 * Makefile.in: Remove CVSOPT handling.
25401 * configure.in: Remove use of AC_REVISION.
25402 * iconvdata/Makefile (distribute): No need to filter out CVS.
25403 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25406 2011-11-16 Andreas Schwab <schwab@redhat.com>
25408 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25409 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25410 [USE_AS_STRNCASECMP_L]: Likewise.
25411 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25412 NO_TLS_DIRECT_SEG_REFS.
25413 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25414 Fix argument offsets for non-PIC.
25415 [USE_AS_STRNCASECMP_L]: Likewise.
25416 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25417 NO_TLS_DIRECT_SEG_REFS.
25419 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25421 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25423 * locale/loadlocale.c (_nl_load_locale): Likewise.
25425 2011-11-15 Andreas Schwab <schwab@redhat.com>
25427 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25428 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25429 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25430 (SYSCALL_GETTIME): Set errno on error.
25432 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25433 count references to noai6ai_cached.
25435 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25437 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25439 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25440 FD_CLOEXEC for /proc/self/maps.
25442 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25443 FD_CLOEXEC for /proc/meminfo.
25445 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25448 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25449 FD_CLOEXEC for given file.
25451 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25453 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25454 FD_CLOEXEC for /etc/hosts.
25455 (_gethtent): Likewise.
25457 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25459 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25460 cancellation and set FD_CLOEXEC for /etc/netgroup.
25462 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25463 reading /etc/publickey.
25465 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25466 allow cancellation when reading /etc/group.
25468 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25470 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25472 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25473 when using data file.
25475 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25477 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25478 (write_nis_obj): Use "c" and "e" in fopen.
25480 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25482 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25484 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25486 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25488 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25491 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25493 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25495 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25497 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25498 file parsing and set FD_CLOEXEC.
25500 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25502 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25504 2011-11-14 Andreas Schwab <schwab@redhat.com>
25506 * malloc/arena.c (arena_get2): Don't call reused_arena when
25507 _int_new_arena failed.
25509 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25511 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25512 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25513 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25514 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25515 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25516 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25517 to compile strcasecmp and strncasecmp.
25518 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25519 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25521 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25523 2011-11-13 Ulrich Drepper <drepper@gmail.com>
25525 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25526 locale-defines.sym to gen-as-const-headers.
25527 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25528 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25529 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25530 to compile strcasecmp and strncasecmp.
25531 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25532 strcasecmp_l and strncasecmp_l.
25533 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25534 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25535 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25536 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25537 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25538 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25539 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25540 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25541 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25542 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25543 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25545 2011-11-12 Ulrich Drepper <drepper@gmail.com>
25547 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25548 result of SYSDEP_GETTIME_CPU to retval.
25549 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25550 parameter list to macro. Remove trailing semicolon. Adjust users.
25552 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25555 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25557 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25559 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25560 from unused variable.
25562 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25564 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25567 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25570 * sunrpc/rpc_prot.c (rejected): Fix case value.
25572 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25573 unsigned long long int to avoid warnings in shift.
25575 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25577 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25580 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25581 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25582 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25584 * nis/nis_table.c (nis_list): Use variable of correct type for
25585 result of __follow_path call.
25587 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25589 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25590 of math functions ceil, trunc, floor, round, and sqrt, when
25591 avaliable on the platform.
25592 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25594 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25595 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25596 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25598 2011-10-30 Marek Polacek <mpolacek@redhat.com>
25600 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25601 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25603 2011-11-11 Roland McGrath <roland@hack.frob.com>
25605 * include/unistd.h: Fix __readlink return type.
25606 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25608 2011-11-11 Ulrich Drepper <drepper@gmail.com>
25610 * stdlib/ucontext.h: Undo last change for makecontext.
25612 2011-11-11 Andreas Schwab <schwab@redhat.com>
25614 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25616 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25617 * setjmp/setjmp.h: Mark functions as non-leaf.
25618 * setjmp/bits/setjmp2.h: Likewise.
25619 * stdlib/ucontext.h: Likewise.
25621 2011-11-10 Andreas Schwab <schwab@redhat.com>
25623 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25624 (reused_arena): Don't check arena limit.
25625 (arena_get2): Atomically check arena limit.
25627 2011-11-08 Ulrich Drepper <drepper@gmail.com>
25629 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25630 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25635 2011-11-07 Andreas Schwab <schwab@redhat.com>
25637 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25638 handler when locking.
25640 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25641 Fix size of allocated buffer.
25643 2011-11-04 Andreas Schwab <schwab@redhat.com>
25646 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25647 declarations for long double functions.
25648 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25650 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25652 2011-11-03 Andreas Schwab <schwab@redhat.com>
25654 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25657 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25660 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25662 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25664 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25666 * include/alloca.h (stackinfo_alloca_round): Define.
25667 (extend_alloca): Use it.
25668 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25669 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25672 * scripts/check-local-headers.sh: Ignore libaudit.h.
25674 * nscd/Makefile (extra-objs): Make recursively expanded.
25676 2011-11-01 Ulrich Drepper <drepper@gmail.com>
25678 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25679 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25681 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25682 * posix/tst-rfc3484-2.c: Likewise.
25683 * posix/tst-rfc3484-3.c: Likewise.
25685 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25687 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25689 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25690 process_vm_writev from libc using GLIBC_2.15 version.
25692 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25694 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25696 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25699 2011-10-31 Ulrich Drepper <drepper@gmail.com>
25702 * nss/getent.c (initgroups_keys): Show error message in case no group
25705 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25706 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25707 __bump_nl_timestamp.
25708 * nscd/connections (nscd_init): When host database is served open
25709 netlink socket and request notification about configuration changes.
25710 (main_loop_poll): Track netlink file descriptor and bump timestamp
25711 in case data becomes available.
25712 (main_loop_epoll): Likewise.
25713 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25714 (database_pers_head): Add extra_data fileds.
25715 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25716 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25717 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25719 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25720 in6ai data, call __free_in6ai.
25721 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25722 Add -DHAVE_NETLINK.
25723 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25724 interface information. Reuse previous data if netlink timestamp
25726 (__bump_nl_timestamp): New function.
25727 (__free_in6ai): New function.
25729 2011-10-30 Ulrich Drepper <drepper@gmail.com>
25731 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25732 close_not_cancel_no_status here.
25733 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25735 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25738 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25741 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25742 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25743 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25745 2011-07-03 Andreas Jaeger <aj@suse.de>
25748 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25749 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25750 * math/libm-test.inc (sin_test): Add test case.
25752 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25755 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25756 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25758 * elf/chroot_canon.c (chroot_canon): Cleanups.
25760 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25763 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25764 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25766 * string/test-strchr.c: Make usable for strchrnul testing.
25767 * string/test-strchrnul.c: New file.
25768 * string/Makefile (strop-tests): Add strchrnul.
25770 * po/it.po: Update from translation team.
25771 * po/es.po: Likewise.
25773 2011-10-28 Ulrich Drepper <drepper@gmail.com>
25775 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25776 the three constants needed as parameters. Drop the others.
25777 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25778 __m128i_strloadu_tolower.
25779 Create and initialize variable zero and use it in all the places
25780 where _mm_setzero_si128 was used.
25782 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25783 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25784 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25785 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25787 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25788 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25789 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25790 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25791 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25792 __mpranred, __mptan.
25793 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25794 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25795 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25796 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25797 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25798 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25799 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25800 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25801 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25803 2011-10-28 Andreas Schwab <schwab@redhat.com>
25805 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25806 redefine if SHARED.
25807 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25810 wide char related routines to wcsmbs subdir.
25812 2011-10-27 Andreas Schwab <schwab@redhat.com>
25815 * misc/sys/cdefs.h (__THROWNL): Define.
25816 * posix/unistd.h: Use __THREADNL instead of __THREAD
25817 for memory synchronization functions.
25819 2011-10-26 Roland McGrath <roland@hack.frob.com>
25822 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25824 * manual/stdio.texi (Obstack Streams): Node removed.
25826 2011-10-26 Andreas Schwab <schwab@redhat.com>
25828 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25829 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25830 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25832 * math/math_private.h (math_force_eval): Allow non-addressable
25834 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25836 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25838 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25839 file is not needed.
25841 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25842 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25843 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25844 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25845 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25846 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25847 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25848 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25850 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25851 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25852 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25853 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25854 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25855 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25856 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25857 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25858 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25859 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25860 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25861 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25862 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25863 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25864 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25865 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25866 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25867 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25868 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25870 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25871 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25873 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25874 place. Use VEX encoding when compiling for AVX.
25876 2011-10-25 Andreas Schwab <schwab@redhat.com>
25878 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25879 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25881 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25883 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25885 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25886 useless if() expression.
25887 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25888 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25889 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25890 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25891 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25892 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25893 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25894 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25895 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25896 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25897 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25898 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25899 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25900 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25901 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25902 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25903 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25904 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25905 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25907 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25909 2011-10-25 Andreas Schwab <schwab@redhat.com>
25911 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25913 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25915 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25917 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25918 .text section. Avoid duplicate constants.
25919 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25920 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25921 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25922 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25923 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25924 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25925 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25927 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25928 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25929 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25930 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25931 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25932 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25933 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25934 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25935 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25936 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25937 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25938 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25939 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25940 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25941 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25942 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25943 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25944 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25945 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25946 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25947 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25948 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25949 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25950 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25951 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25952 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25953 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25954 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25955 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25956 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25957 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25958 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25959 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25960 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25961 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25962 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25963 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25965 2011-10-24 Ulrich Drepper <drepper@gmail.com>
25967 * sysdeps/x86_64/dla.h: Move to ...
25968 * sysdeps/x86_64/fpu/dla.h: ...here.
25969 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25970 situations. Use __builtin_fma only for gcc 4.6 and up.
25972 * config.make.in: Add have-mfma4 entry.
25973 * configure.in: Substitute libc_cv_cc_fma4.
25974 * math/Makefile (dbl-only-routines): Add sincostab.
25975 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25976 Use __sincostab not sincos.
25977 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25982 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25984 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25985 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25986 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25987 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25989 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25990 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25992 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25993 define aliases when function name is a macro.
25994 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25995 sysdeps/ieee754/dbl-64/sincos.tbl.
25996 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25997 fma4-enabled routines.
25998 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25999 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26000 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26001 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26002 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26003 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26004 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26005 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26006 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26007 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26008 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26009 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26010 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26011 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26012 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26013 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26014 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26015 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26016 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26017 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26018 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26019 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26020 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26021 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26022 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26023 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26024 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26025 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26026 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26027 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26029 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26031 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26032 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26033 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26034 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26036 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26037 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26038 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26040 2011-10-24 Andreas Schwab <schwab@redhat.com>
26042 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26044 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26046 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26048 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26050 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26052 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26053 Remove unused variable magic_bits.
26054 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26056 * string/strnlen.c: Define and use STRNLEN macro.
26057 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26058 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26059 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26060 * wcsmbs/wcslen.c: Define and use WCSLEN.
26061 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26062 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26063 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26064 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26065 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26066 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26067 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26069 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26072 strnlen-sse2-no-bsf.
26073 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26075 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26076 Add strnlen support.
26077 (USE_AS_STRNLEN): New macro.
26078 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26079 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26080 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26081 * sysdeps/x86_64/wcslen.S: New file.
26083 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26085 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26086 XMM-moves are used for copying on small sizes.
26088 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26090 * wcsmbs/Makefile (strop-tests): Add wcschr.
26091 * wcsmbs/test-wcschr.c: New file.
26092 * string/test-strchr.c: Update.
26093 Add wcschr support.
26096 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26098 * wcsmbs/Makefile (strop-tests): Add wcslen.
26099 * wcsmbs/test-wcslen.c: New file.
26100 * string/test-strlen.c: Update.
26101 Add wcslen support.
26104 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26106 * po/it.po: Update from translation team.
26108 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26110 * sysdeps/x86_64/wcscmp.S: Update.
26111 Fix wrong comparison semantics.
26112 wcscmp shall use signed comparison not unsigned.
26113 Don't use substraction to avoid overflow bug.
26114 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26115 * wcsmbc/wcscmp.c: Likewise.
26116 * string/test-strcmp.c: Likewise.
26117 Add new tests to check cases with negative values.
26119 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26121 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26122 * sysdeps/x86_64/dla.h: ...here. New file.
26123 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26124 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26128 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26130 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26131 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26133 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26135 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26136 __ynl_finite aliases.
26138 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26140 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26142 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26144 [DLA_FMA] (EMULV): Use DLA_FMA.
26145 [DLA_FMA] (MUL12): Use EMULV.
26146 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26147 that are not needed.
26148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26149 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26153 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26154 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26156 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26158 * math/s_nan.c: Undef __nan.
26159 * math/s_nanf.c: Undef __nanf.
26160 * math/s_nanl.c: Undef __nanl.
26161 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26164 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26166 * math/s_catan.c: Add branch predictions.
26167 * math/s_catanf.c: Likewise.
26168 * math/s_catanh.c: Likewise.
26169 * math/s_catanhf.c: Likewise.
26170 * math/s_catanhl.c: Likewise.
26171 * math/s_catanl.c: Likewise.
26172 * math/s_cexp.c: Likewise.
26173 * math/s_cexpf.c: Likewise.
26174 * math/s_cexpl.c: Likewise.
26175 * math/s_clog.c: Likewise.
26176 * math/s_clog10.c: Likewise.
26177 * math/s_clog10f.c: Likewise.
26178 * math/s_clog10l.c: Likewise.
26179 * math/s_clogf.c: Likewise.
26180 * math/s_clogl.c: Likewise.
26181 * math/s_csqrt.c: Likewise.
26182 * math/s_csqrtf.c: Likewise.
26183 * math/s_csqrtl.c: Likewise.
26184 * math/s_ctanf.c: Likewise.
26185 * math/s_ctanh.c: Likewise.
26186 * math/s_ctanhf.c: Likewise.
26187 * math/s_ctanhl.c: Likewise.
26188 * math/s_ctanl.c: Likewise.
26190 * math/math_private.h: Define __nan, __nanf, __nanl.
26191 * math/s_cacosh.c: Include <math_private.h>.
26192 * math/s_cacoshl.c: Likewise.
26193 * math/s_casinh.c: Likewise.
26194 * math/s_casinhf.c: Likewise.
26195 * math/s_casinhl.c: Likewise.
26196 * math/s_ccos.c: Rely entire on ccosh.
26197 * math/s_ccosf.c: Rely entire on ccoshf.
26198 * math/s_ccosl.c: Rely entirely on ccoshl.
26199 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26200 Remove tests for FE_INVALID.
26201 * math/s_ccoshf.c: Likewise.
26202 * math/s_ccoshl.c: Likewise.
26203 * math/s_csin.c: Likewise.
26204 * math/s_csinf.c: Likewise.
26205 * math/s_csinh.c Likewise.
26206 * math/s_csinhf.c: Likewise.
26207 * math/s_csinhl.c: Likewise.
26208 * math/s_csinl.c: Likewise.
26209 * math/s_ctan.c: Likewise.
26210 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26211 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26212 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26214 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26216 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26217 compilation problems.
26219 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26222 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26224 * sysdeps/i386/configure.in: Test for -mfma4 option.
26225 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26226 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26227 COMMON_CPUID_INDEX_80000001.
26228 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26229 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26230 use it if FMA3 is not supported.
26231 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26233 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26234 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26236 2011-10-20 Andreas Schwab <schwab@redhat.com>
26239 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26240 it would create a cycle with a link time dependency.
26242 2011-10-19 Ulrich Drepper <drepper@gmail.com>
26244 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26246 * string/Makefile (strop-tests): Add rawmemchr.
26247 * string/test-rawmemchr.c: New file.
26249 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26250 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26251 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26252 when compiling str{,n}casecmp and when AVX is available. Hook up
26253 new optimized code in initializers.
26255 2011-10-19 Andreas Schwab <schwab@redhat.com>
26257 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26258 __feraiseexcept instead of feraiseexcept.
26260 2011-10-18 Ulrich Drepper <drepper@gmail.com>
26262 * math/math_private.h: Define defaults for libc_fetestexcept and
26264 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26265 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26266 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26267 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26268 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26269 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26270 libc_fetestexcept and libc_feupdateenv.
26272 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26273 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26274 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26275 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26276 libc_feholdexcept_setround.
26278 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26279 Add s_nearbyint-c and s_nearbyintf-c.
26280 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26281 nearbyintf inlines.
26282 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26283 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26284 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26285 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26287 * math/math_private.h: Define defaults for libc_fegetround,
26288 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26289 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26290 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26291 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26292 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26293 standard functions.
26294 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26295 Remove comments and hacks for old compiler versions.
26296 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26297 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26298 libc_feholdexceptl.
26300 2011-10-18 Andreas Schwab <schwab@redhat.com>
26302 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26303 (__feraiseexcept_renamed): Add __NTH.
26304 (feraiseexcept): Add __NTH. Rename local variables to fix
26305 namespace violations.
26307 2011-10-17 Ulrich Drepper <drepper@gmail.com>
26309 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26311 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26313 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26314 recently added interfaces.
26315 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26317 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26318 about macro parameter expansion.
26320 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26321 __NO_MATH_INLINES is defined. Cleanups.
26323 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26324 and __floorf is target has SSE4.1.
26325 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26326 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26327 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26328 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26330 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26332 (floorf): Likewise.
26334 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26336 2011-10-17 Andreas Schwab <schwab@redhat.com>
26338 * misc/sys/cdefs.h: Fix last change.
26340 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26343 2011-10-16 Ulrich Drepper <drepper@gmail.com>
26345 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26347 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26349 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26350 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26351 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26352 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26353 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26354 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26355 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26356 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26357 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26358 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26359 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26360 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26361 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26362 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26363 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26364 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26365 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26366 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26367 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26368 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26370 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26371 ceil, ceilf, floor, floorf.
26373 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26374 Perform IRELATIVE relocations last.
26376 * elf/do-rel.h: Add another parameter nrelative, replacing the
26377 local variable with the same name. Change name of the function
26378 to end in Rel or Rela (uppercase).
26379 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26380 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26381 elf_dynamic_do_##reloc function.
26383 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26385 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26386 is sufficient, at least on modern CPUs.
26388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26390 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26391 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26393 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26395 * math/bits/math-finite.h: Add entries for exp.
26396 * math/e_expl.c: Add __*_finite alias.
26397 * sysdeps/i386/fpu/e_exp.S: Likewise.
26398 * sysdeps/i386/fpu/e_expf.S: Likewise.
26399 * sysdeps/i386/fpu/e_expl.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26401 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26402 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26403 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26404 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26405 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26406 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26408 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26409 is sufficient, at least on modern CPUs.
26411 * ctype/ctype-info.c (__ctype_init): Define.
26412 * include/ctype.h (__ctype_init): Declare.
26413 (__ctype_b_loc): The variable is always initialized.
26414 (__ctype_toupper_loc): Likewise.
26415 (__ctype_tolower_loc): Likewise.
26416 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26417 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26419 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26421 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26423 * configure.in: Also look in $cxxmachine/include for C++ system
26426 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26428 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26429 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26430 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26431 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26432 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26433 (USE_AS_WMEMCMP): New macro.
26435 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26436 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26437 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26438 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26440 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26441 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26442 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26443 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26444 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26445 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26446 (USE_AS_WMEMCMP): New macro.
26447 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26448 * sysdeps/string/test-memcmp.c: Update.
26449 Fix simple_wmemcmp.
26451 * wcsmbs/wmemcmp.c: Update.
26452 (WMEMCMP): New macro.
26455 2011-10-12 Andreas Jaeger <aj@suse.de>
26458 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26460 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26462 * libio/iofwide.c (do_length): Avoid warning.
26464 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26466 2011-10-14 Ulrich Drepper <drepper@gmail.com>
26468 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26470 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26471 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26472 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26473 * sysdeps/i386/i686/fpu/e_log.S: New file.
26474 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26475 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26477 * ctype/ctype.h: Add support for inlined isXXX functions when
26478 compiling C++ code.
26480 2011-10-14 Andreas Schwab <schwab@redhat.com>
26482 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26484 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26486 2011-10-13 Roland McGrath <roland@hack.frob.com>
26489 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26491 2011-10-13 Andreas Schwab <schwab@redhat.com>
26493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26494 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26497 * sysdeps/x86_64/memrchr.S: Check for zero size.
26499 * string/stratcliff.c: Add memrchr tests.
26501 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26504 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26505 rawmemchr-sse2 rawmemchr-sse2-bsf.
26506 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26507 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26508 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26509 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26510 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26511 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26512 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26513 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26514 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26515 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26516 * string/memrchr.c (MEMRCHR): New macro.
26518 2011-10-12 Ulrich Drepper <drepper@gmail.com>
26520 Add integration with gcc's -ffinite-math-only and optimize wrapper
26522 * Versions.def: Define GLIBC_2.15 version for libm.
26523 * math/Makefile (headers): Add bits/math-finite.h.
26524 * math/bits/math-finite.h: New file.
26525 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26526 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26527 * math/e_acoshl.c: Add __*_finite alias.
26528 * math/e_acosl.c: Likewise.
26529 * math/e_asinl.c: Likewise.
26530 * math/e_atan2l.c: Likewise.
26531 * math/e_atanhl.c: Likewise.
26532 * math/e_coshl.c: Likewise.
26533 * math/e_exp10.c: Likewise.
26534 * math/e_exp10f.c: Likewise.
26535 * math/e_exp10l.c: Likewise.
26536 * math/e_exp2l.c: Likewise.
26537 * math/e_fmodl.c: Likewise.
26538 * math/e_gammal_r.c: Likewise.
26539 * math/e_hypotl.c: Likewise.
26540 * math/e_j0l.c: Likewise.
26541 * math/e_j1l.c: Likewise.
26542 * math/e_jnl.c: Likewise.
26543 * math/e_lgammal_r.c: Likewise.
26544 * math/e_log10l.c: Likewise.
26545 * math/e_log2l.c: Likewise.
26546 * math/e_logl.c: Likewise.
26547 * math/e_powl.c: Likewise.
26548 * math/e_sinhl.c: Likewise.
26549 * math/e_sqrtl.c: Likewise.
26550 * math/e_scalb.c: Completely rewritten and optimized.
26551 * math/e_scalbf.c: Likewise.
26552 * math/e_scalbl.c: Likewise.
26553 * math/w_acos.c: Likewise.
26554 * math/w_acosf.c: Likewise.
26555 * math/w_acosl.c: Likewise.
26556 * math/w_acosh.c: Likewise.
26557 * math/w_acoshf.c: Likewise.
26558 * math/w_acoshl.c: Likewise.
26559 * math/w_asin.c: Likewise.
26560 * math/w_asinf.c: Likewise.
26561 * math/w_asinl.c: Likewise.
26562 * math/w_atan2.c: Likewise.
26563 * math/w_atan2f.c: Likewise.
26564 * math/w_atan2l.c: Likewise.
26565 * math/w_atanh.c: Likewise.
26566 * math/w_atanhf.c: Likewise.
26567 * math/w_atanhl.c: Likewise.
26568 * math/w_exp10.c: Likewise.
26569 * math/w_exp10f.c: Likewise.
26570 * math/w_exp10l.c: Likewise.
26571 * math/w_fmod.c: Likewise.
26572 * math/w_fmodf.c: Likewise.
26573 * math/w_fmodl.c: Likewise.
26574 * math/w_j0.c: Likewise.
26575 * math/w_j0f.c: Likewise.
26576 * math/w_j0l.c: Likewise.
26577 * math/w_j1.c: Likewise.
26578 * math/w_j1f.c: Likewise.
26579 * math/w_j1l.c: Likewise.
26580 * math/w_jn.c: Likewise.
26581 * math/w_jnf.c: Likewise.
26582 * math/w_log.c: Likewise.
26583 * math/w_logf.c: Likewise.
26584 * math/w_logl.c: Likewise.
26585 * math/w_log10.c: Likewise.
26586 * math/w_log10f.c: Likewise.
26587 * math/w_log10l.c: Likewise.
26588 * math/w_log2.c: Likewise.
26589 * math/w_log2f.c: Likewise.
26590 * math/w_log2l.c: Likewise.
26591 * math/w_pow.c: Likewise.
26592 * math/w_powf.c: Likewise.
26593 * math/w_powl.c: Likewise.
26594 * math/w_remainder.c: Likewise.
26595 * math/w_remainderf.c: Likewise.
26596 * math/w_remainderl.c: Likewise.
26597 * math/w_scalb.c: Likewise.
26598 * math/w_scalbf.c: Likewise.
26599 * math/w_scalbl.c: Likewise.
26600 * math/w_sqrt.c: Likewise.
26601 * math/w_sqrtf.c: Likewise.
26602 * math/w_sqrtl.c: Likewise.
26603 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26604 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26606 * math/math_private.h: Declare __kernel_standard_f.
26607 * math/w_cosh.c: Remove cruft and optimize a bit.
26608 * math/w_coshf.c: Likewise.
26609 * math/w_coshl.c: Likewise.
26610 * math/w_exp2.c: Likewise.
26611 * math/w_exp2f.c: Likewise.
26612 * math/w_exp2l.c: Likewise.
26613 * math/w_hypot.c: Likewise.
26614 * math/w_hypotf.c: Likewise.
26615 * math/w_hypotl.c: Likewise.
26616 * math/w_lgamma.c: Likewise.
26617 * math/w_lgamma_r.c: Likewise.
26618 * math/w_lgammaf.c: Likewise.
26619 * math/w_lgammaf_r.c: Likewise.
26620 * math/w_lgammal.c: Likewise.
26621 * math/w_lgammal_r.c: Likewise.
26622 * math/w_sinh.c: Likewise.
26623 * math/w_sinhf.c: Likewise.
26624 * math/w_sinhl.c: Likewise.
26625 * math/w_tgamma.c: Likewise.
26626 * math/w_tgammaf.c: Likewise.
26627 * math/w_tgammal.c: Likewise.
26628 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26629 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26630 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26631 Minor optimizations. Pretty printing. Remove cruft.
26632 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26633 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26634 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26635 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26636 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26637 * sysdeps/i386/fpu/e_asin.S: Likewise.
26638 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26639 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26640 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26641 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26642 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26643 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26644 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26645 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26646 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26647 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26648 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26649 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26650 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26651 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26652 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26653 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26654 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26655 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26656 * sysdeps/i386/fpu/e_log.S: Likewise.
26657 * sysdeps/i386/fpu/e_log10.S: Likewise.
26658 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26659 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26660 * sysdeps/i386/fpu/e_log2.S: Likewise.
26661 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26662 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26663 * sysdeps/i386/fpu/e_logf.S: Likewise.
26664 * sysdeps/i386/fpu/e_logl.S: Likewise.
26665 * sysdeps/i386/fpu/e_pow.S: Likewise.
26666 * sysdeps/i386/fpu/e_powf.S: Likewise.
26667 * sysdeps/i386/fpu/e_powl.S: Likewise.
26668 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26669 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26670 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26671 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26672 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26673 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26674 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26675 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26676 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26677 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26678 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26680 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26681 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26682 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26683 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26685 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26686 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26687 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26688 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26689 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26690 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26691 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26693 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26694 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26695 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26696 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26697 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26698 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26699 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26700 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26701 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26702 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26703 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26704 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26705 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26706 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26707 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26708 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26709 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26710 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26711 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26712 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26713 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26714 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26715 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26716 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26717 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26718 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26719 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26721 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26722 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26723 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26727 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26728 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26729 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26730 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26731 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26732 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26733 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26735 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26736 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26737 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26738 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26739 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26740 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26741 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26742 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26743 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26744 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26745 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26746 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26747 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26748 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26749 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26750 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26753 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26754 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26755 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26756 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26757 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26759 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26760 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26762 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26763 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26764 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26765 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26768 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26769 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26770 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26771 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26772 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26773 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26774 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26775 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26776 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26777 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26778 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26779 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26780 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26781 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26782 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26783 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26784 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26785 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26786 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26787 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26788 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26789 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26790 (__isnanf): Likewise.
26791 (__isinf_ns): Likewise.
26792 (__isinf_nsf): Likewise.
26793 (__finite): Likewise.
26794 (__finitef): Likewise.
26795 (__ieee754_sqrt): Define as macro.
26796 (__ieee754_sqrtf): Define as macro.
26797 (__ieee754_sqrtl): Define as macro.
26798 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26800 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26801 __FINITE_MATH_ONLY__ consistent.
26802 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26804 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26806 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26809 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26811 2011-10-09 Ulrich Drepper <drepper@gmail.com>
26813 * po/ja.po: Update from translation team.
26815 2011-10-08 Roland McGrath <roland@hack.frob.com>
26817 * locale/programs/locarchive.c (prepare_address_space): New function.
26818 (create_archive, enlarge_archive, open_archive): Use it.
26820 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26821 inside [SHARED], where it is used.
26823 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26825 * nss/getent.c (netgroup_keys): Remove unused variable.
26826 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26828 2011-10-08 Ulrich Drepper <drepper@gmail.com>
26830 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26831 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26833 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26834 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26835 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26836 * math/Makefile (libm-calls): Add s_isinf_ns.
26837 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26838 * math/multc3.c: Likewise.
26839 * math/s_casin.c: Likewise.
26840 * math/s_casinf.c: Likewise.
26841 * math/s_casinl.c: Likewise.
26842 * math/s_ccos.c: Likewise.
26843 * math/s_ccosf.c: Likewise.
26844 * math/s_ccosl.c: Likewise.
26845 * math/s_ctan.c: Likewise.
26846 * math/s_ctanf.c: Likewise.
26847 * math/s_ctanh.c: Likewise.
26848 * math/s_ctanhf.c: Likewise.
26849 * math/s_ctanhl.c: Likewise.
26850 * math/s_ctanl.c: Likewise.
26851 * math/w_fmod.c: Likewise.
26852 * math/w_fmodf.c: Likewise.
26853 * math/w_fmodl.c: Likewise.
26854 * math/w_remainder.c: Likewise.
26855 * math/w_remainderf.c: Likewise.
26856 * math/w_remainderl.c: Likewise.
26857 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26858 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26859 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26861 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26862 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26863 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26864 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26866 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26868 * stdio-common/printf_fphex.c: Likewise.
26869 * stdio-common/printf_size.c: Likewise.
26871 * math/e_exp10.c: Include math_private.h using <...> not "...".
26872 * math/e_exp10f.c: Likewise.
26873 * math/e_exp10l.c: Likewise.
26874 * math/e_exp2l.c: Likewise.
26875 * math/e_j0l.c: Likewise.
26876 * math/e_j1l.c: Likewise.
26877 * math/e_jnl.c: Likewise.
26878 * math/e_lgammal_r.c: Likewise.
26879 * math/e_rem_pio2l.c: Likewise.
26880 * math/e_scalb.c: Likewise.
26881 * math/e_scalbf.c: Likewise.
26882 * math/e_scalbl.c: Likewise.
26883 * math/k_cosl.c: Likewise.
26884 * math/k_sinl.c: Likewise.
26885 * math/k_tanl.c: Likewise.
26886 * math/s_cacoshf.c: Likewise.
26887 * math/s_catan.c: Likewise.
26888 * math/s_catanf.c: Likewise.
26889 * math/s_catanh.c: Likewise.
26890 * math/s_catanhf.c: Likewise.
26891 * math/s_catanhl.c: Likewise.
26892 * math/s_catanl.c: Likewise.
26893 * math/s_ccosh.c: Likewise.
26894 * math/s_ccoshf.c: Likewise.
26895 * math/s_ccoshl.c: Likewise.
26896 * math/s_cexp.c: Likewise.
26897 * math/s_cexpf.c: Likewise.
26898 * math/s_cexpl.c: Likewise.
26899 * math/s_clog.c: Likewise.
26900 * math/s_clog10.c: Likewise.
26901 * math/s_clog10f.c: Likewise.
26902 * math/s_clog10l.c: Likewise.
26903 * math/s_clogf.c: Likewise.
26904 * math/s_clogl.c: Likewise.
26905 * math/s_csin.c: Likewise.
26906 * math/s_csinf.c: Likewise.
26907 * math/s_csinh.c: Likewise.
26908 * math/s_csinhf.c: Likewise.
26909 * math/s_csinhl.c: Likewise.
26910 * math/s_csinl.c: Likewise.
26911 * math/s_csqrt.c: Likewise.
26912 * math/s_csqrtf.c: Likewise.
26913 * math/s_csqrtl.c: Likewise.
26914 * math/s_ctan.c: Likewise.
26915 * math/s_ctanf.c: Likewise.
26916 * math/s_ctanh.c: Likewise.
26917 * math/s_ctanhf.c: Likewise.
26918 * math/s_ctanhl.c: Likewise.
26919 * math/s_ctanl.c: Likewise.
26920 * math/s_ldexp.c: Likewise.
26921 * math/s_ldexpf.c: Likewise.
26922 * math/s_ldexpl.c: Likewise.
26923 * math/s_significand.c: Likewise.
26924 * math/s_significandf.c: Likewise.
26925 * math/s_significandl.c: Likewise.
26926 * math/w_acos.c: Likewise.
26927 * math/w_acosf.c: Likewise.
26928 * math/w_acosh.c: Likewise.
26929 * math/w_acoshf.c: Likewise.
26930 * math/w_acoshl.c: Likewise.
26931 * math/w_acosl.c: Likewise.
26932 * math/w_asin.c: Likewise.
26933 * math/w_asinf.c: Likewise.
26934 * math/w_asinl.c: Likewise.
26935 * math/w_atan2.c: Likewise.
26936 * math/w_atan2f.c: Likewise.
26937 * math/w_atan2l.c: Likewise.
26938 * math/w_atanh.c: Likewise.
26939 * math/w_atanhf.c: Likewise.
26940 * math/w_atanhl.c: Likewise.
26941 * math/w_cosh.c: Likewise.
26942 * math/w_coshf.c: Likewise.
26943 * math/w_coshl.c: Likewise.
26944 * math/w_dremf.c: Likewise.
26945 * math/w_exp10.c: Likewise.
26946 * math/w_exp10f.c: Likewise.
26947 * math/w_exp10l.c: Likewise.
26948 * math/w_exp2.c: Likewise.
26949 * math/w_exp2f.c: Likewise.
26950 * math/w_fmod.c: Likewise.
26951 * math/w_fmodf.c: Likewise.
26952 * math/w_fmodl.c: Likewise.
26953 * math/w_hypot.c: Likewise.
26954 * math/w_hypotf.c: Likewise.
26955 * math/w_hypotl.c: Likewise.
26956 * math/w_j0.c: Likewise.
26957 * math/w_j0f.c: Likewise.
26958 * math/w_j0l.c: Likewise.
26959 * math/w_j1.c: Likewise.
26960 * math/w_j1f.c: Likewise.
26961 * math/w_j1l.c: Likewise.
26962 * math/w_jn.c: Likewise.
26963 * math/w_jnf.c: Likewise.
26964 * math/w_jnl.c: Likewise.
26965 * math/w_lgamma.c: Likewise.
26966 * math/w_lgamma_r.c: Likewise.
26967 * math/w_lgammaf.c: Likewise.
26968 * math/w_lgammaf_r.c: Likewise.
26969 * math/w_lgammal.c: Likewise.
26970 * math/w_lgammal_r.c: Likewise.
26971 * math/w_log.c: Likewise.
26972 * math/w_log10.c: Likewise.
26973 * math/w_log10f.c: Likewise.
26974 * math/w_log10l.c: Likewise.
26975 * math/w_log2.c: Likewise.
26976 * math/w_log2f.c: Likewise.
26977 * math/w_log2l.c: Likewise.
26978 * math/w_logf.c: Likewise.
26979 * math/w_logl.c: Likewise.
26980 * math/w_pow.c: Likewise.
26981 * math/w_powf.c: Likewise.
26982 * math/w_powl.c: Likewise.
26983 * math/w_remainder.c: Likewise.
26984 * math/w_remainderf.c: Likewise.
26985 * math/w_remainderl.c: Likewise.
26986 * math/w_scalb.c: Likewise.
26987 * math/w_scalbf.c: Likewise.
26988 * math/w_scalbl.c: Likewise.
26989 * math/w_sinh.c: Likewise.
26990 * math/w_sinhf.c: Likewise.
26991 * math/w_sinhl.c: Likewise.
26992 * math/w_sqrt.c: Likewise.
26993 * math/w_sqrtf.c: Likewise.
26994 * math/w_sqrtl.c: Likewise.
26995 * math/w_tgamma.c: Likewise.
26996 * math/w_tgammaf.c: Likewise.
26997 * math/w_tgammal.c: Likewise.
26999 * po/ja.po: Update from translation team.
27001 2011-09-29 Andreas Jaeger <aj@suse.de>
27004 * sunrpc/netname.c (netname2host): Fix logic.
27008 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27010 * math/w_remainder.c (__remainder): Likewise.
27011 * math/w_remainderf.c (__remainderf): Likewise.
27012 * math/libm-test.inc (remainder_test): Add test cases.
27014 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27016 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27019 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27021 * string/test-memcmp.c: Avoid unncessary #defines.
27022 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27024 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27026 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27027 Use new sse2 version for core i3 - i7 as it's faster
27028 than sse42 version.
27029 (bit_Prefer_PMINUB_for_stringop): New.
27030 * sysdeps/x86_64/rawmemchr.S: Update.
27031 Replace with faster SSE2 version.
27032 * sysdeps/x86_64/memrchr.S: New file.
27033 * sysdeps/x86_64/memchr.S: Update.
27034 Replace with faster SSE2 version.
27036 2011-09-12 Marek Polacek <mpolacek@redhat.com>
27038 * elf/dl-load.c (lose): Add cast to avoid warning.
27040 2011-10-07 Ulrich Drepper <drepper@gmail.com>
27042 * po/ca.po: Update from translation team.
27044 * inet/getnetgrent_r.c: Hook up nscd.
27045 * nscd/Makefile (routines): Add nscd_netgroup.
27046 (nscd-modules): Add netgroupcache.
27047 (CFLAGS-netgroupcache.c): Define.
27048 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27049 (cache_search): Add const to second parameter.
27050 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27052 (dbs): Add netgrdb entry.
27053 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27054 (verify_persistent_db): Handle netgrdb.
27055 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27056 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27058 (netgroup_response_header): Define.
27059 (innetgroup_response_header): Define.
27060 (datahead): Add netgroup_response_header and innetgroup_response_header
27062 * nscd/nscd.conf: Add entries for netgroup cache.
27063 * nscd/nscd.h (dbtype): Add netgrdb.
27064 (_PATH_NSCD_NETGROUP_DB): Define.
27065 (netgroup_iov_disabled): Declare.
27066 (xmalloc, xcalloc, xrealloc): Move declarations here.
27067 (cache_search): Adjust prototype.
27068 Add netgroup-related prototypes.
27069 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27070 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27071 (__nscd_innetgr): Declare.
27072 * nscd/selinux.c (perms): Use access_vector_t as element type and
27073 add netgroup-related initializers.
27074 * nscd/netgroupcache.c: New file.
27075 * nscd/nscd_netgroup.c: New file.
27076 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27077 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27078 For four parameters use innetgr.
27079 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27080 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27081 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27082 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27084 * nscd/connections.c (register_traced_file): Don't register file
27085 for disabled databases.
27087 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27089 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27091 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27092 from tree and freeing node.
27094 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27096 * nss/nsswitch.c (__nss_database_lookup): Handle
27097 nss_parse_service_list out of memory case.
27099 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27101 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27102 out of memory case.
27104 2011-10-04 Andreas Schwab <schwab@redhat.com>
27106 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27107 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27109 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27110 elf_machine_rela, elf_machine_lazy_rel.
27111 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27112 (ELF_DYNAMIC_DO_REL): Likewise.
27113 (ELF_DYNAMIC_DO_RELA): Likewise.
27114 (ELF_DYNAMIC_RELOCATE): Likewise.
27115 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27116 to ELF_DYNAMIC_DO_REL.
27117 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27118 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27119 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27121 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27122 skip_ifunc, don't call ifunc function if non-zero.
27123 (elf_machine_rela): Likewise.
27124 (elf_machine_lazy_rel): Likewise.
27125 (elf_machine_lazy_rela): Likewise.
27126 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27127 (elf_machine_lazy_rel): Likewise.
27128 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27130 (elf_machine_lazy_rel): Likewise.
27131 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27133 (elf_machine_lazy_rel): Likewise.
27134 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27135 (elf_machine_lazy_rel): Likewise.
27136 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27137 (elf_machine_lazy_rel): Likewise.
27138 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27139 (elf_machine_lazy_rel): Likewise.
27140 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27141 (elf_machine_lazy_rel): Likewise.
27142 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27143 (elf_machine_lazy_rel): Likewise.
27144 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27145 (elf_machine_lazy_rel): Likewise.
27147 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27149 * nss/nss_files/files-init.c (_nss_files_init): Use static
27150 initialization for all the *_traced_file variables.
27152 2011-09-28 Andreas Schwab <schwab@redhat.com>
27154 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27156 2011-09-27 Roland McGrath <roland@hack.frob.com>
27159 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27161 2011-09-27 Andreas Schwab <schwab@redhat.com>
27163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27164 Reread the line before reparsing it.
27166 2011-09-26 Andreas Schwab <schwab@redhat.com>
27168 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27170 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27171 Maxim Kuvyrkov <maxim@codesourcery.com>
27172 Joseph Myers <joseph@codesourcery.com>
27174 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27175 if needed for __stack_chk_guard.
27177 2011-09-19 Roland McGrath <roland@hack.frob.com>
27179 * sysdeps/posix/spawni.c (script_execute): Always define it.
27180 It will be optimized away if unused.
27181 (maybe_script_execute): New function.
27182 (__spawni): Call it.
27184 * Makerules: Don't include tls.make.
27185 (config-tls): Always set to thread.
27186 * tls.make.c: File removed.
27188 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27190 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27191 * config.make.in (CPPFLAGS-config): New substituted variable.
27193 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27195 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27198 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27199 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27201 2011-09-15 Roland McGrath <roland@hack.frob.com>
27203 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27204 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27205 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27206 (CALL_FAIL): Likewise.
27207 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27208 (CALL_FAIL): Macro removed.
27209 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27211 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27213 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27214 for __FINITE_MATH_ONLY__ == 1.
27216 2011-09-15 Andreas Schwab <schwab@redhat.com>
27218 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27219 __ieee754_sqrt instead of sqrt.
27220 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27221 __ieee754_sqrtf instead of sqrtf.
27222 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27223 __floorf instead of floorf.
27224 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27225 __floorf, __truncf instead of floorf, truncf.
27227 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27229 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27231 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27232 __extern_always_inline.
27233 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27236 2011-09-14 Andreas Schwab <schwab@redhat.com>
27238 * elf/rtld.c (dl_main): Also relocate in dependency order when
27239 doing symbol dependency testing.
27241 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27243 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27244 Always define `refsym'.
27246 2011-09-13 Andreas Schwab <schwab@redhat.com>
27248 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27249 (__FD_ELT): Renamed from __FDELT.
27250 * misc/bits/select2.h (__FD_ELT): Likewise.
27251 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27252 __FD_MASK instead of __FDELT, __FDMASK.
27253 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27255 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27258 * elf/Makefile (gen-ldd): Fix pattern.
27260 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27261 (init_tls): Likewise.
27263 2011-09-12 Ulrich Drepper <drepper@gmail.com>
27265 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27267 2011-09-12 Andreas Schwab <schwab@redhat.com>
27269 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27270 `struct cmsghdr *' instead of `void *'.
27271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27274 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27276 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27278 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27279 ldd_rewrite_script.
27281 2011-09-11 Ulrich Drepper <drepper@gmail.com>
27283 * configure.in: Remove --with-tls option.
27284 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27285 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27286 out in case it is missing.
27287 * sysdeps/ia64/elf/configure.in: Likewise.
27288 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27289 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27290 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27291 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27292 * sysdeps/sh/elf/configure.in: Likewise.
27293 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27294 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27295 * sysdeps/x86_64/elf/configure.in: Likewise.
27296 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27297 * sysdeps/mach/hurd/tls.h: Likewise.
27300 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27303 * configure.in: Fix use of AC_INIT.
27305 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27307 2011-09-10 Ulrich Drepper <drepper@gmail.com>
27309 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27311 * malloc/hooks.c: Likewise.
27314 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27315 variables statically.
27316 (narenas): Initialize.
27317 (list_lock): Initialize.
27318 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27319 initializtion of main_arena and list_lock. Small cleanups.
27320 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27321 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27322 Add initializers to main_arena and mp_.
27323 (malloc_state): Remove pagesize member. Change all users to use
27326 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27327 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27328 is always initialized.
27330 * malloc/malloc.c: Removed unused configurations and dead code.
27331 * malloc/arena.c: Likewise.
27332 * malloc/hooks.c: Likewise.
27333 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27335 * include/tls.h: Removed. USE___THREAD must always be defined.
27336 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27337 * elf/dl-libc.c: Likewise.
27338 * elf/dl-tsd.c: Likewise.
27339 * include/errno.h: Likewise.
27340 * include/netdb.h: Likewise.
27341 * include/resolv.h: Likewise.
27342 * inet/herrno-loc.c: Likewise.
27343 * inet/herrno.c: Likewise.
27344 * malloc/arena.c: Likewise.
27345 * malloc/hooks.c: Likewise.
27346 * malloc/malloc.c: Likewise.
27347 * resolv/res-state.c: Likewise.
27348 * resolv/res_libc.c: Likewise.
27349 * sysdeps/i386/dl-machine.h: Likewise.
27350 * sysdeps/ia64/dl-machine.h: Likewise.
27351 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27352 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27353 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27354 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27355 * sysdeps/sh/dl-machine.h: Likewise.
27356 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27357 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27358 * sysdeps/unix/i386/sysdep.S: Likewise.
27359 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27360 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27362 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27363 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27364 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27365 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27366 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27368 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27369 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27370 * sysdeps/x86_64/dl-machine.h: Likewise.
27371 * tls.make.c: Likewise.
27373 * configure.in: Remove --with-__thread option. Make tests for
27374 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27375 tls_model attribute fail if no support is available. Remove
27377 * Makeconfig: Adjust for dropped configure option. All features are
27379 * Makerules: Likewise.
27380 * Versions.def: Likewise.
27381 * argp/argp-fmtstream.c: Likewise.
27382 * argp/argp-fmtstream.h: Likewise.
27383 * argp/argp-help.c: Likewise.
27384 * assert/assert.c: Likewise.
27385 * config.h.in: Likewise.
27386 * config.make.in: Likewise.
27387 * configure: Likewise.
27388 * configure.in: Likewise.
27389 * csu/Versions: Likewise.
27390 * csu/init.c: Likewise.
27391 * elf/tst-audit2.c: Likewise.
27392 * elf/tst-tls10.c: Likewise.
27393 * elf/tst-tls10.h: Likewise.
27394 * elf/tst-tls11.c: Likewise.
27395 * elf/tst-tls12.c: Likewise.
27396 * elf/tst-tls14.c: Likewise.
27397 * elf/tst-tlsmod11.c: Likewise.
27398 * elf/tst-tlsmod12.c: Likewise.
27399 * elf/tst-tlsmod13.c: Likewise.
27400 * elf/tst-tlsmod13a.c: Likewise.
27401 * elf/tst-tlsmod14a.c: Likewise.
27402 * elf/tst-tlsmod15b.c: Likewise.
27403 * elf/tst-tlsmod16a.c: Likewise.
27404 * elf/tst-tlsmod16b.c: Likewise.
27405 * elf/tst-tlsmod7.c: Likewise.
27406 * elf/tst-tlsmod8.c: Likewise.
27407 * elf/tst-tlsmod9.c: Likewise.
27408 * gmon/gmon.c: Likewise.
27409 * grp/fgetgrent_r.c: Likewise.
27410 * grp/putgrent.c: Likewise.
27411 * hurd/fopenport.c: Likewise.
27412 * include/libc-symbols.h: Likewise.
27413 * include/tls.h: Likewise.
27414 * intl/gettextP.h: Likewise.
27415 * intl/loadinfo.h: Likewise.
27416 * locale/global-locale.c: Likewise.
27417 * locale/localeinfo.h: Likewise.
27418 * mach/devstream.c: Likewise.
27419 * malloc/arena.c: Likewise.
27420 * malloc/set-freeres.c: Likewise.
27421 * misc/err.c: Likewise.
27422 * misc/getttyent.c: Likewise.
27423 * misc/mntent_r.c: Likewise.
27424 * posix/getopt.c: Likewise.
27425 * posix/wordexp.c: Likewise.
27426 * pwd/fgetpwent_r.c: Likewise.
27427 * resolv/Versions: Likewise.
27428 * resolv/res_hconf.c: Likewise.
27429 * shadow/fgetspent_r.c: Likewise.
27430 * shadow/putspent.c: Likewise.
27431 * stdio-common/printf_fphex.c: Likewise.
27432 * stdio-common/tmpfile.c: Likewise.
27433 * stdlib/abort.c: Likewise.
27434 * stdlib/fmtmsg.c: Likewise.
27435 * sunrpc/auth_unix.c: Likewise.
27436 * sunrpc/clnt_perr.c: Likewise.
27437 * sunrpc/clnt_tcp.c: Likewise.
27438 * sunrpc/clnt_udp.c: Likewise.
27439 * sunrpc/clnt_unix.c: Likewise.
27440 * sunrpc/openchild.c: Likewise.
27441 * sunrpc/svc_simple.c: Likewise.
27442 * sunrpc/svc_tcp.c: Likewise.
27443 * sunrpc/svc_udp.c: Likewise.
27444 * sunrpc/svc_unix.c: Likewise.
27445 * sunrpc/xdr.c: Likewise.
27446 * sunrpc/xdr_array.c: Likewise.
27447 * sunrpc/xdr_rec.c: Likewise.
27448 * sunrpc/xdr_ref.c: Likewise.
27449 * sunrpc/xdr_stdio.c: Likewise.
27451 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27453 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27455 2011-07-03 Andreas Jaeger <aj@suse.de>
27457 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27458 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27459 regenerate with gen-libm-tests.pl.
27461 2010-05-12 Petr Baudis <pasky@suse.cz>
27464 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27465 around j0() zero points by switching to j1().
27466 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27467 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27468 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27469 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27471 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27473 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27475 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27477 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27478 Patch in part by Pavel Roskin <proski@gnu.org>.
27481 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27483 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27484 Free memory block if necessary.
27487 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27488 be NULL. Don't lock in this case.
27490 2011-09-09 Roland McGrath <roland@hack.frob.com>
27492 * elf/elf.h (ELFOSABI_GNU): New macro.
27493 (ELFOSABI_LINUX): Define to that.
27495 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27497 * string/strncat.c (strncat): Undef the symbol in case it has been
27498 defined in bits/string.h.
27500 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27502 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27504 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27507 2011-08-17 Andreas Jaeger <aj@suse.de>
27509 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27511 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27512 Ian Lance Taylor <iant@google.com>
27514 * math/libm-test.inc (lround_test): New testcase.
27515 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27517 2011-09-08 Ulrich Drepper <drepper@gmail.com>
27519 * Makefile: Remove support for automatic cvs check-ins.
27520 * Makerules: Likewise.
27521 * config.make.in: Likewise.
27522 * configure.in: Likewise.
27523 * intl/Makefile: Likewise.
27524 * locale/Makefile: Likewise.
27525 * po/Makefile: Likewise.
27526 * posix/Makefile: Likewise.
27527 * sysdeps/gnu/Makefile: Likewise.
27528 * sysdeps/mach/hurd/Makefile: Likewise.
27529 * sysdeps/sparc/sparc32/Makefile: Likewise.
27532 * posix/Makefile (bug-regex32-ENV): Define.
27533 Patch by John Stanley <jpsinthemix@verizon.net>.
27535 * misc/Makefile (headers): Add bits/select2.h.
27536 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27537 * misc/bits/select2.h: New file.
27538 * include/bits/select2.h: New file.
27539 * debug/Makefile (routines): Add fdelt_chk.
27540 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27541 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27543 * debug/fdelt_chk.c: New file.
27545 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27546 * wcsmbs/test-wmemcmp.c: Likewise.
27547 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27548 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27550 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27552 * string/Makefile (strop-tests): Add memcmp.
27553 * string/test-wmemcmp.c: New file.
27554 * string/test-memcmp.c: Add wmemcmp support.
27556 2011-09-08 Roland McGrath <roland@hack.frob.com>
27559 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27562 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27563 garbage value in a __mach_port_mod_refs call in the cases of the
27564 task-self and thread-self ports.
27566 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27568 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27570 2011-09-08 Andreas Schwab <schwab@redhat.com>
27572 * elf/dl-load.c (lose): Check for non-null L.
27574 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27576 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27578 * elf/dl-libc.c (dlerror_run): Pass back error code from
27582 * elf/dl-load.c (lose): Free l_origin if it is valid.
27584 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27586 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27587 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27588 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27589 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27590 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27591 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27593 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27595 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27596 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27597 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27598 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27599 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27600 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27601 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27602 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27603 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27604 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27606 2011-08-15 Alan Modra <amodra@gmail.com>
27609 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27610 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27611 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27612 ppc_mcount to static-only-routines.
27613 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27615 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27616 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27618 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27620 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27621 for finite and infinity parameters.
27623 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27625 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27626 and add nop instructions for throughput optimization.
27627 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27629 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27631 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27632 aligned copy for power7 with vector-scalar instructions.
27633 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27635 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27640 2011-09-07 Andreas Schwab <schwab@redhat.com>
27643 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27646 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27648 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27649 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27650 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27651 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27654 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27656 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27657 Forgot to demangle the pointer.
27659 * sysdeps/i386/sysdep.h: Define atom_text_section.
27660 * sysdeps/x86_64/sysdep.h: Likewise.
27661 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27662 section with atom_text_section.
27663 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27664 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27665 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27666 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27667 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27669 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27670 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27671 already be defined. Change to take two parameters and don't assign
27672 result to variable. Adjust all users.
27673 Define INTERNAL_GETTIME if not already defined.
27674 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27676 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27677 HAVE_CLOCK_GETTIME_VSYSCALL.
27678 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27680 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27681 gettimeofday vsyscall, just use time.
27683 2011-09-06 Andreas Schwab <schwab@redhat.com>
27685 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27688 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27690 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27692 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27694 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27695 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27696 syscall if possible.
27698 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27700 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27701 e_ident. Don't pass to find_mapsXX.
27702 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27704 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27707 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27708 * sysdeps/x86_64/multiarch/strchr.S: Update.
27709 Check bit_slow_BSF bit.
27710 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27711 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27712 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27714 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27717 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27719 (tryshell): Define.
27720 (__spawni): Change last parameter to be flag. Test
27721 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27722 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27723 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27724 * posix/spawni.c: Likewise.
27725 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27726 * posix/spawnp.c: Likewise. Change normal version to use
27727 SPAWN_XFLAGS_USE_PATH.
27728 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27729 SPAWN_XFLAGS_TRY_SHELL.
27732 * posix/glob.h: Remove gcc 1.x support.
27735 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27737 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27740 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27742 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27743 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27744 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27745 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27746 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27747 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27749 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27751 * sysdeps/x86_64/wcscmp.S: New file.
27753 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27754 wcscmp-c wcscmp-sse2
27755 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27756 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27757 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27758 * wcsmbs/wcscmp.c: Allow renaming.
27760 2011-09-05 David S. Miller <davem@davemloft.net>
27762 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27763 stack slot, rather than the struct return pointer slot.
27764 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27765 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27767 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27769 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27771 * po/ja.po: Update from translation team.
27774 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27775 kernel in 64-bit binaries.
27777 2011-09-01 David S. Miller <davem@davemloft.net>
27779 * elf/elf.h (HWCAP_SPARC_*): Move to..
27780 * sysdeps/sparc/sysdep.h: this new file and add new values.
27781 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27782 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27783 _DL_HWCAP_COUNT to 24.
27784 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27786 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27787 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27788 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27789 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27790 instead of magic constants.
27791 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27793 2011-08-31 David S. Miller <davem@davemloft.net>
27795 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27797 Reimplement to do errno handling inline.
27798 (SYSCALL_ERROR_HANDLER): New macro.
27799 (__SYSCALL_STRING): Do not do errno handling in asm.
27800 (__CLONE_SYSCALL_STRING): Delete.
27801 (__INTERNAL_SYSCALL_STRING): Delete.
27802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27803 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27804 (PSEUDO): Reimplement to do errno handling inline.
27805 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27806 (SYSCALL_ERROR_HANDLER): New macro.
27807 (__SYSCALL_STRING): Do not do errno handling in asm.
27808 (__CLONE_SYSCALL_STRING): Delete.
27809 (__INTERNAL_SYSCALL_STRING): Delete.
27810 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27811 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27813 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27814 (inline_syscall*): Add 'err' argument.
27815 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27816 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27817 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27818 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27820 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27821 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27823 2011-08-30 Andreas Schwab <schwab@redhat.com>
27825 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27827 2011-08-29 Jiri Olsa <jolsa@redhat.com>
27829 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27832 2011-08-24 David S. Miller <davem@davemloft.net>
27834 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27836 2011-08-24 Andreas Schwab <schwab@redhat.com>
27838 * elf/Makefile: Add rules to build and run unload8 test.
27839 * elf/unload8.c: New file.
27840 * elf/unload8mod1.c: New file.
27841 * elf/unload8mod1x.c: New file.
27842 * elf/unload8mod2.c: New file.
27843 * elf/unload8mod3.c: New file.
27845 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27848 2011-08-23 David S. Miller <davem@davemloft.net>
27850 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27851 subtract stack bias.
27852 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27853 %sp not %fp in calculations.
27854 (_JMPBUF_UNWINDS_ADJ): Likewise.
27856 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27857 (aio_suspend): Call it to force an exception region around the
27858 AIO_MISC_WAIT() invocation.
27860 2011-08-23 Andreas Schwab <schwab@redhat.com>
27862 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27865 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27867 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27869 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27870 and <dl-machine.h>.
27871 (Elf64_FuncDesc): Remove.
27873 2011-08-22 David S. Miller <davem@davemloft.net>
27875 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27876 sigaltstack check, add missing cfi directives.
27877 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27878 missing cfi directives, and sigaltstack handling.
27880 2011-08-16 Andreas Schwab <schwab@redhat.com>
27883 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27884 object is seen twice.
27885 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27887 * elf/Makefile (distribute): Add tst-initorder2.c.
27888 (tests): Add tst-initorder2.
27889 (modules-names): Add tst-initorder2a tst-initorder2b
27890 tst-initorder2c tst-initorder2d. Add rules to build them.
27891 ($(objpfx)tst-initorder2.out): New rule.
27892 * elf/tst-initorder2.c: New file.
27893 * elf/tst-initorder2.exp: New file.
27895 2011-08-22 Andreas Schwab <schwab@redhat.com>
27897 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27899 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27900 dependencies back to end of function.
27902 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27903 $(elfobjdir)/ld.so.
27905 2011-08-21 Ulrich Drepper <drepper@gmail.com>
27907 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27908 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27909 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27910 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27911 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27912 of __vdso_gettimeofday.
27913 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27914 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27916 (_libc_vdso_platform_setup): Remove initialization of
27917 __vdso_gettimeofday and __vdso_time.
27919 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27921 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27922 and fgetc_unlocked.
27923 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27926 * elf/dl-open.c (add_to_global): Report additions to the global scope
27927 for LD_DEBUG=scopes.
27928 (dl_open_worker): Also print scope of newly loaded dependencies.
27929 (_dl_show_scope): Indicate if there is no scope.
27932 * stdio-common/Makefile (tests): Add bug24.
27933 * stdio-common/bug24.c: New file.
27935 2011-08-19 Andreas Jaeger <aj@suse.de>
27938 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27939 non-existant file when using close-on-exec mode.
27941 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27943 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27944 the very first instruction.
27946 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27947 the CFI state in the end.
27948 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27949 inclusion of dl-trampoline.h.
27950 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27952 2011-08-19 Andreas Schwab <schwab@redhat.com>
27954 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27955 expectations for long double.
27957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27958 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27960 2011-08-14 David S. Miller <davem@davemloft.net>
27962 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27963 artificual limit depends upon the system page size.
27965 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27967 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27968 * resolv/Makefile: Define CFLAGS-libresolv.
27970 2011-08-17 Andreas Schwab <schwab@redhat.com>
27972 * nss/makedb.c (compute_tables): Make variables used in nested
27975 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27977 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27978 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27979 if buffer was too small.
27981 * elf/pldd.c (main): Attach to all threads in the process.
27982 Rewrite /proc handling to use *at functions.
27984 2011-08-16 Ulrich Drepper <drepper@gmail.com>
27986 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27987 specifies first scope to show.
27988 (dl_open_worker): Update callers. Move printing scope of new
27989 object to before the relocation.
27990 * elf/rtld.c (dl_main): Update _dl_show_scope call.
27991 * sysdeps/generic/ldsodefs.h: Update declaration.
27993 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27994 string for the scope number.
27996 2011-08-14 Ulrich Drepper <drepper@gmail.com>
27998 * nscd/servicescache.c (cache_addserv): Make sure written is always
28001 2011-08-14 Roland McGrath <roland@hack.frob.com>
28003 * sysdeps/i386/i486/bits/atomic.h
28004 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28005 statement expression, so as to suppress "set but not used" warning.
28006 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28008 * string/strncat.c (STRNCAT): Use prototype definition.
28010 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28011 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28013 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28014 (localedef-modules): Add localedef.
28015 (locale-modules): Add locale.
28017 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28018 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28019 to avoid a warning.
28021 2011-08-14 David S. Miller <davem@davemloft.net>
28023 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28024 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28026 2011-08-13 Ulrich Drepper <drepper@gmail.com>
28028 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
28029 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28030 * elf/rtld.c (dl_main): Set l_name of vDSO.
28031 Call _dl_show_scope when DL_DEBUG_SCOPES.
28032 (process_dl_debug): Recognize scopes flag and also set it for all.
28033 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28034 Declare _dl_show_scope.
28036 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28037 (do_dlopen): Pass caller_dlopen to dl_open.
28038 (__libc_dlopen_mode): Initialize caller_dlopen.
28040 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28041 of libc. Make tolower call locale-independent. Optimize a bit by
28042 using isdigit instead of isalnum.
28043 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28045 2011-08-12 Ulrich Drepper <drepper@gmail.com>
28047 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28048 was a dependency or dynamically loaded.
28050 2011-08-11 Ulrich Drepper <drepper@gmail.com>
28052 * intl/l10nflist.c: Allow architecture-specific pop function.
28053 * sysdeps/x86_64/l10nflist.c: New file.
28055 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28058 2011-08-10 Andreas Schwab <schwab@redhat.com>
28060 * include/dirent.h: Add libc_hidden_proto for scandirat and
28061 scandirat64. Don't declare __scandirat64.
28062 * dirent/scandirat.c: Add libc_hidden_def.
28063 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28064 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28066 2011-08-10 David S. Miller <davem@davemloft.net>
28068 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28070 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28071 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28072 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28074 2011-08-09 Ulrich Drepper <drepper@gmail.com>
28076 * Versions.def [libc]: Add GLIBC_2.15.
28077 * dirent/Makefile (routines): Add scandirat and scandirat64.
28078 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28080 * dirent/dirent.h: Declare scandirat and scandirat64.
28081 * dirent/scandirat.c: New file.
28082 * dirent/scandirat64.c: New file.
28083 * sysdeps/wordsize-64/scandirat.c: New file.
28084 * sysdeps/wordsize-64/scandirat64.c: New file.
28085 * dirent/opendir.c: Define opendirat.
28086 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28088 * dirent/scandir64.c: Adjust for scandir.c change.
28089 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28090 __scandirat64, and __scandir_cancel_handler.
28091 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28092 additional parameter and use openat instead of open (outside of ld.so).
28093 Add new __opendir as wrapper around __opendirat.
28094 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28095 here without requiring old scandirat implementation.
28097 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28099 * dirent/scandir.c (cancel_handler): Renamed to
28100 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28101 defined. Adjust users.
28102 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28103 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28105 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28107 * string/test-string.h (IMPL): Use __STRING to expand name and then
28110 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28113 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28115 * string/Makefile: Update.
28116 (strop-tests): Append strncat.
28117 * string/test-wcscmp.c: New file.
28118 New comprehensive test for wcscmp.
28119 * string/test-strcmp.c: Update.
28120 (WIDE): New define.
28122 2011-07-22 Andreas Schwab <schwab@redhat.com>
28124 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28127 2011-07-26 Andreas Schwab <schwab@redhat.com>
28129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28130 encoding to ACE if AI_IDN.
28132 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28134 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28135 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28137 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28139 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28140 Fix overflow bug in strncat.
28141 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28143 * string/test-strncat.c: Update.
28144 Add new tests for checking overflow bugs.
28146 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28149 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28150 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28151 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28152 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28153 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28154 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28155 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28156 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28158 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28159 (USE_AS_STRCAT): Define.
28160 Add strcat and strncat support.
28161 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28163 2011-07-25 Andreas Schwab <schwab@redhat.com>
28165 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28166 __n bigger than INT_MAX+1.
28167 (__strncmp_g): Likewise.
28169 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28171 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28172 * libio/stido.h: Likewise.
28174 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28179 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28180 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28181 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28182 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28183 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28186 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28189 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28191 (_dl_x86_64_save_sse): Likewise.
28193 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28195 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28197 (_dl_x86_64_save_sse): Likewise.
28199 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28201 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28203 2011-07-21 Andreas Schwab <schwab@redhat.com>
28205 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28207 (_dl_x86_64_save_sse): Use correct AVX check.
28209 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28211 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28212 bug in strncpy/strncat.
28213 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28215 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28217 * string/tester.c (test_strcat): Add tests for different alignments
28218 of source and destination.
28219 (test_strncat): Likewise.
28221 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28224 * posix/glob.c (glob): Check passed in values before using them in
28225 expressions to avoid some overflows.
28226 (glob_in_dir): Likewise.
28229 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28230 check for AVX enablement so that we don't crash with old kernels and
28232 * elf/tst-audit4.c: Add same checks here.
28233 * elf/tst-audit6.c: Likewise.
28235 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28237 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28239 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28241 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28243 * po/cs.po: Update from translation team.
28244 * po/bg.po: Likewise.
28246 2011-07-12 Marek Polacek <mpolacek@redhat.com>
28248 * misc/sys/cdefs.h: Add support for const attribute.
28249 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28250 to gnu_dev_{major,minor,makedev} functions.
28252 2011-07-20 Marek Polacek <mpolacek@redhat.com>
28254 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28256 2011-07-20 Andreas Schwab <schwab@redhat.com>
28258 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28261 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28264 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28265 register in order to avoid conflicts with the soft frame pointer
28266 being held in r11 when necessary.
28267 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28268 (INTERNAL_VSYSCALL_NCS): Likewise.
28270 2011-07-14 Marek Polacek <mpolacek@redhat.com>
28272 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28273 * elf/dl-fini.c (_dl_fini): Adjust caller.
28274 * elf/dl-close.c (_dl_close_worker): Likewise.
28275 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28277 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28279 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28280 "aux_cache->nlibs < 0".
28282 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28283 in the reload-count case.
28285 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28288 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28289 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28290 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28291 * sysdeps/x86_64/multiarch/strcat.S: New file.
28292 * sysdeps/x86_64/multiarch/strncat.S: New file.
28293 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28294 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28295 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28296 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28297 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28298 (USE_AS_STRCAT): Define.
28299 Add strcat and strncat support.
28300 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28301 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28302 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28303 * string/strncat.c: Update.
28304 (USE_AS_STRNCAT): Define.
28305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28306 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28308 * sysdeps/x86_64/multiarch/init-arch.h
28309 (bit_Prefer_PMINUB_for_stringop): New.
28310 (index_Prefer_PMINUB_for_stringop): Likewise.
28311 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28312 bit_Prefer_PMINUB_for_stringop.
28314 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28316 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28318 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28319 of casting of buffer.
28320 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28321 buffer32 and buffer64.
28322 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28323 writes instead of casting of buffer.
28324 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28326 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28329 2011-07-19 Andreas Schwab <schwab@redhat.com>
28331 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28333 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28335 * nscd/nscd.c (termination_handler): Don't do anything for a database
28336 if it has not yet been initialized.
28338 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28340 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28342 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28344 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28346 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28348 * po/nl.po: Update from translation team.
28349 * po/sv.po: Likewise.
28351 2011-07-16 Roland McGrath <roland@hack.frob.com>
28353 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28354 now disallowed by GCC.
28356 * configure.in (use-default-link): Default to yes if a test -shared
28357 link meets our qualifications.
28358 * configure: Regenerated.
28360 * config.make.in (output-format): New variable.
28361 * configure.in: Check for ld --print-output-format support.
28362 * configure: Regenerated.
28363 * Makerules ($(common-objpfx)format.lds)
28364 [$(output-format) != unknown]: Just use $(output-format),
28365 instead of the linker-script munging.
28367 2011-07-14 Roland McGrath <roland@hack.frob.com>
28369 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28370 of $(common-objpfx)shlib.lds.
28371 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28373 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28374 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28376 * configure.in (-z relro check): Adjust test code to add a large
28377 writable data section after it.
28378 * configure: Regenerated.
28380 2011-07-11 Roland McGrath <roland@hack.frob.com>
28382 * configure.in (-z relro check): Fix test code to make the variable
28384 * configure: Regenerated.
28386 2011-07-11 Ulrich Drepper <drepper@gmail.com>
28388 * nscd/nscd.h (struct traced_file): Define.
28389 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28390 elements. Add traced_files.
28391 (inotify_fd): Declare.
28392 (register_traced_file): Declare.
28393 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28394 (inotify_fd): Export.
28395 (resolv_conf_descr): Remove.
28396 (nscd_init): Move inotify descriptor creation to main.
28397 Don't register files for notification here.
28398 (register_traced_file): New function.
28399 (invalidate_cache): Don't use reset_res to determine whether to call
28400 res_init, go through the list of registered files.
28401 (main_loop_poll): The inotify descriptors are now stored in the
28402 structures for the traced files.
28403 (main_loop_epoll): Likewise
28404 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28405 to __nss_disable_nscd.
28406 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28407 for a database anymore. Check the records for all the registered
28409 * nss/Makefile (libnss_files-routines): Add files-init.
28410 (libnss_db-routines): Add db-init.
28411 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28412 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28413 * nss/nss_db/db-init.c: New file.
28414 * nss/nss_files/files-init.c: New file.
28415 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28416 __nss_lookup_function.
28417 (__nss_lookup_function): Call nss_load_library.
28418 (nss_load_all_libraries): New function.
28419 (__nss_disable_nscd): Take parameter with callback function for files
28420 to register. Set is_nscd. Load all the DSOs for the NSS modules
28421 used for the cached services.
28422 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28423 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28424 options for features to all the files in nscd.
28426 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28428 2011-07-10 Roland McGrath <roland@hack.frob.com>
28430 * csu/elf-init.c (__libc_csu_init): Comment typo.
28432 2011-07-09 Ulrich Drepper <drepper@gmail.com>
28434 * po/pl.po: Update from translation team.
28435 * po/ja.po: Likewise.
28436 * po/ru.po: Likewise.
28437 * po/ko.po: Likewise.
28438 * po/fr.po: Likewise.
28440 2011-07-09 Roland McGrath <roland@hack.frob.com>
28442 * configure.in (.ctors/.dtors header and trailer check):
28443 Use an empirical test on a built program.
28444 * configure: Regenerated.
28446 * configure.in (-z relro check): Use an empirical test on a built DSO.
28447 Detect, but do not require, on ia64.
28448 * configure: Regenerated.
28450 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28451 Update tests that use readelf to use $READELF instead.
28452 * configure: Regenerated.
28454 2011-07-08 Ulrich Drepper <drepper@gmail.com>
28456 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28457 if the result is not used.
28459 2011-07-05 Andreas Jaeger <aj@suse.de>
28462 * stdlib/tst-strtod.c: Add testcase.
28464 2011-07-07 Ulrich Drepper <drepper@gmail.com>
28466 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28467 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28468 The latter has a higher limit. Take additional parameter to pass to
28470 (__pathconf): Pass file to __statfs_link_max.
28471 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28473 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28477 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28478 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28480 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28481 (__statfs_filesize_max): Likewise.
28482 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28484 2011-07-05 Andreas Jaeger <aj@suse.de>
28486 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28488 2011-07-06 Marek Polacek <mpolacek@redhat.com>
28490 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28492 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28495 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28497 * Makefile (strop-tests): Add strncat.
28498 * string/test-strncat.c: New file.
28500 2011-06-30 Marek Polacek <mpolacek@redhat.com>
28502 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28504 2011-06-21 Andreas Jaeger <aj@suse.de>
28506 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28507 Copy rule from iconvdata/Makefile.
28509 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28512 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28513 but no long options are defined, just return 'W'.
28515 2011-06-22 Marek Polacek <mpolacek@redhat.com>
28518 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28520 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28522 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28524 (innetgr): Likewise.
28526 2011-07-05 Roland McGrath <roland@hack.frob.com>
28528 * config.make.in (install_root): Default to $(DESTDIR).
28530 2011-07-05 Ulrich Drepper <drepper@gmail.com>
28532 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28534 2011-07-02 Roland McGrath <roland@hack.frob.com>
28536 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28538 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28539 containing directory rather than embedding absolute directory names.
28541 * scripts/check-local-headers.sh: Rewritten using awk.
28542 Match by word, not by line. Print error messages for matches.
28543 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28545 * Makerules [shlib-lds-flags empty]:
28546 ($(common-objpfx)libc_pic.opts): New target.
28547 ($(common-objpfx)libc_pic.os.clean): New target.
28548 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28550 * config.make.in (OBJCOPY): New variable.
28551 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28552 * configure: Regenerated.
28554 * config.make.in (use-default-link): New variable.
28555 * configure.in (use_default_link): Grok --with-default-link to set it.
28556 * configure: Regenerated.
28557 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28558 (shlib-lds, shlib-lds-flags): Define to empty.
28560 * Makerules (shlib-lds): New variable.
28561 (shlib-lds-flags): New variable.
28562 (build-shlib, build-moduile, build-module-asneeded): Use it.
28563 ($(common-objpfx)libc.so): Use $(shlib-lds).
28564 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28565 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28567 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28568 DT_FLAGS/DT_FLAGS_1 with zero flags.
28570 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28571 linker script munging.
28573 2011-07-02 Ulrich Drepper <drepper@gmail.com>
28575 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28577 * crypt/sha512.c (sha512_process_block): Perform total addition using
28578 128-bit if possible.
28579 (__sha512_finish_ctx): Likewise.
28580 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28582 * crypt/sha256.c (SWAP64): Define.
28583 (sha256_process_block): Perform total addition using 64-bit if
28585 (__sha256_finish_ctx): Likewise.
28587 2011-07-01 Ulrich Drepper <drepper@gmail.com>
28589 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28590 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28591 * nscd/hstcache.c (cache_addhst): Likewise.
28592 * nscd/grpcache.c (cache_addgr): Likewise.
28593 * nscd/aicache.c (addhstaiX): Likewise
28594 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28596 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
28598 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28600 * nscd/hstcache.c (cache_addhst): Likewise.
28601 * nscd/grpcache.c (cache_addgr): Likewise.
28602 * nscd/aicache.c (addhstaiX): Likewise
28604 2011-07-01 Andreas Schwab <schwab@redhat.com>
28606 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28607 domain only when needed.
28609 2011-06-30 Andreas Schwab <schwab@redhat.com>
28611 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28612 is always restored.
28614 2011-06-29 Ulrich Drepper <drepper@gmail.com>
28616 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28617 are re-adding the entry.
28618 * nscd/servicescache.c (cache_addserv): Likewise.
28620 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28622 * sysdeps/generic/dl-irel.h: fix protection against multiple
28624 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28626 2011-06-28 Ulrich Drepper <drepper@gmail.com>
28629 * malloc/memusage.sh: Fix quoting in message.
28630 * debug/xtrace.sh: Likewise.
28632 * configure.in: Remove support for --experimental-malloc option, make
28634 * config.make.in: Likewise.
28635 * malloc/Makefile: Likewise.
28637 2011-06-27 Andreas Schwab <schwab@redhat.com>
28639 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28640 two-byte characters.
28642 2011-06-27 Roland McGrath <roland@hack.frob.com>
28644 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28645 AC_CACHE_CHECK invocation.
28646 * configure: Regenerated.
28648 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28650 2011-06-27 Ulrich Drepper <drepper@gmail.com>
28653 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28654 bit from old_res_options.
28656 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28658 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28659 value type for setfct.
28661 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28663 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28664 __gettimeofday instead of gettimeofday.
28666 2011-06-26 Ulrich Drepper <drepper@gmail.com>
28668 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28670 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28672 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28677 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28679 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28680 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28681 strcpy-sse2-unaligned strncpy-sse2-unaligned
28682 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28683 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28684 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28685 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28686 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28687 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28688 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28689 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28690 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28691 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28692 (STRCPY): Support SSE2 and SSSE3 versions.
28694 2011-06-24 Ulrich Drepper <drepper@gmail.com>
28697 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28698 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28699 kernels which artificially limit size of requests.
28701 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28703 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28704 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28705 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28706 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28707 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28708 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28709 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28710 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28711 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28712 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28713 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28714 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28715 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28716 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28717 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28718 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28719 Enable unaligned load optimization for Intel Core i3, i5 and i7
28721 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28723 (index_Fast_Unaligned_Load): Define.
28724 (HAS_FAST_UNALIGNED_LOAD): Define.
28726 2011-06-23 Marek Polacek <mpolacek@redhat.com>
28728 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28730 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28733 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28734 until it is clear that the information is realy needed.
28735 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28737 2011-06-22 Andreas Schwab <schwab@redhat.com>
28739 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28741 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28743 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28744 /sys/devices/system/cpu/online if it is usable.
28746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28747 reading the information from the /proc filesystem to once a second.
28749 2011-06-21 Andreas Jaeger <aj@suse.de>
28751 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28752 NULL after inclusion of kernel headers.
28754 2011-06-21 Ulrich Drepper <drepper@gmail.com>
28756 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28757 calls to internal_setent.
28760 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28761 addresses using gethostbyname4_r ignore IPv4 addresses.
28763 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28764 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28766 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28768 2011-06-20 David S. Miller <davem@davemloft.net>
28770 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28772 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28774 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28775 (elf_irel): Use it.
28776 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28777 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28778 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28779 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28780 * sysdeps/x86_64/dl-irel.h: Likewise.
28782 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28783 * elf/dl-sym.c: Likewise.
28785 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28787 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28788 need to dereference resplen2.
28790 2011-06-14 Andreas Schwab <schwab@redhat.com>
28792 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28794 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28796 * Makeconfig: Define vardbdir and inst_vardbdir.
28797 * nss/Makefile: Add rules to install db-Makefile.
28799 * nss/nss_db/db-XXX.c: Cleanup.
28801 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28802 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28804 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28805 * nss/makedb.c: Implement -g option to specify that value strings
28806 are generated and should not be added to table iterated over for
28808 * nss/nss_db/db-initgroups.c: New file.
28810 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28813 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28814 (internal_getgrouplist): Adjust to name change.
28815 Update use_initgroups_entry if this is not the first call.
28816 * nss/databases.def: Add initgroups entry.
28818 * nss/makedb.c (compute_tables): Check result of multiple hash table
28819 sizes to minimize maximum chain length.
28821 2011-06-14 Ulrich Drepper <drepper@gmail.com>
28823 * Versions.def: Add entry for libnss_db.
28824 * shlib-versions: Likewise.
28825 * nss/Makefile: Add rules to build libnss_db.
28826 * nss/Versions: Add libnss_db information. Organize libnss_files
28828 * nss/db-Makefile: Add gshadow support. Change rules for the new
28829 makedb progra. Some minor improvements to generate smaller files.
28830 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28832 * nss/makedb.c: ...here.
28833 Improve database format to be smaller and require less memory at
28835 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28837 * nss/nss_db/db-netgrp.c: Likewise.
28838 * nss/nss_db/db-open.c: Likewise.
28839 * nss/nss_files/flies-XXX.x: Adjust comments.
28840 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28841 * nss/nss_files/files-grp.c: Likewise.
28842 * nss/nss_files/files-hosts.c: Likewise.
28843 * nss/nss_files/files-network.c: Likewise.
28844 * nss/nss_files/files-proto.c: Likewise.
28845 * nss/nss_files/files-pwd.c: Likewise.
28846 * nss/nss_files/files-rpc.c: Likewise.
28847 * nss/nss_files/files-service.c: Likewise.
28848 * nss/nss_files/files-sgrp.c: Likewise.
28849 * nss/nss_files/files-spwd.c: Likewise.
28850 * nss/nss_db/db-alias.c: Removed.
28851 * nss/nss_db/dummy-db.h: Removed.
28853 2011-06-02 Ulrich Drepper <drepper@gmail.com>
28855 * nss/makedb.c: Rewritten to not use database library.
28856 * nss/Makefile: Update to build new makedb program.
28858 2011-06-14 Andreas Jaeger <aj@suse.de>
28860 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28861 memset declaration.
28863 2011-06-10 Andreas Schwab <schwab@redhat.com>
28865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28868 2011-06-10 Roland McGrath <roland@hack.frob.com>
28870 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28871 * elf/Makefile ($(objpfx)ld.so): Likewise.
28873 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28874 Don't list ld.so twice in dependencies.
28876 * posix/bug-regex31.c: Include <stdlib.h>.
28878 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28880 * nis/nss_compat/compat-spwd.c
28881 (getspent_next_nss_netgr): Remove unused variable.
28882 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28884 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28885 nonmembers" output to use the right array.
28887 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28889 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28891 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28892 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28893 * catgets/gencat.c (read_input_file): Likewise.
28894 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28896 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28897 variable definition inside #if's controlling its use.
28899 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28901 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28903 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28905 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28908 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28910 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28911 * configure: Regenerated.
28913 * Makerules: Revert last change.
28914 * elf/Makefile: Likewise.
28916 2011-06-09 Roland McGrath <roland@hack.frob.com>
28918 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28919 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28920 (reloc-link): Likewise.
28922 2011-06-09 Ulrich Drepper <drepper@gmail.com>
28924 * elf/Makefile: Add rules to build pldd.
28925 * elf/pldd.c: New file.
28926 * elf/pldd-xx.c: New file.
28928 2011-06-07 Ulrich Drepper <drepper@gmail.com>
28930 * version.h: Update for 2.15 development version.
28932 2011-06-07 David S. Miller <davem@davemloft.net>
28934 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28936 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28937 elf_machine_lazy_rel): Likewise.
28938 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28939 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28940 elf_machine_lazy_rel): Likewise.
28941 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28942 dl_hwcap via passed in argument.
28943 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28946 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28948 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28950 2011-06-06 Roland McGrath <roland@hack.frob.com>
28953 * manual/fdl-1.1.texi: New file, verbatim from:
28954 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28955 * manual/lgpl-2.1.texi: New file, verbatim from:
28956 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28957 * manual/Makefile (licenses): New variable, list those new file names.
28959 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28961 * manual/fdl.texi: File removed.
28962 * manual/lesser.texi: File removed.
28963 * manual/libc.texinfo (Copying, Documentation License):
28964 Use new @include file names, put @appendix directive before @include.
28966 2011-06-04 Jakub Jelinek <jakub@redhat.com>
28969 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28970 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28971 (mq_open): Add __NTH.
28973 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28975 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28976 Assume Intel Core i3/i5/i7 processor if AVX is available.
28978 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28980 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28983 2011-05-31 Andreas Schwab <schwab@redhat.com>
28985 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28986 memory. Use alloca_account. Fix memory leak when retrying.
28988 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28990 * version.h (RELEASE): Bump for 2.14 release.
28991 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28993 * config.make.in (RANLIB): Remove entry.
28995 2011-05-30 Ulrich Drepper <drepper@gmail.com>
28997 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28998 (libc.pot): Work around missing support for .ksh extension in xgettext.
29001 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29002 if both request failed.
29003 (send_dg): In case of server errors clear resplen or *resplen2.
29006 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29007 when there are multiple maps.
29008 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29009 (_dl_fini): Remove test here.
29011 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29013 2011-05-29 Ulrich Drepper <drepper@gmail.com>
29016 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29017 bit from old_res_options.
29018 (gaih_inet): Likewise.
29021 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
29024 * resolv/res_init.c (res_setoptions): Make the code more compact.
29027 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29031 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29033 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29036 * malloc/malloc.h: Declare malloc hook variables as volatile.
29038 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29042 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
29043 raise in the comment.
29044 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29045 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29046 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
29048 2011-05-28 Ulrich Drepper <drepper@gmail.com>
29051 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29052 grow the buffers more if it already has to be sufficient.
29053 (build_wcs_upper_buffer): Likewise.
29054 * posix/regexec.c (check_matching): Likewise.
29055 (clean_state_log_if_needed): Likewise.
29056 (extend_buffers): Don't enlarge buffers beyond size of the input
29058 Patches mostly by Emil Wojak <emil@wojak.eu>.
29059 * posix/bug-regex32.c: New file.
29060 * posix/Makefile (tests): Add bug-regex32.
29062 * locale/findlocale.c (_nl_find_locale): Return right away if
29063 _nl_explode_name failed.
29064 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29066 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29068 * debug/xtrace.sh: Unify messages.
29069 * malloc/memusage.sh: Likewise.
29072 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29073 time symbol from vDSO. Substitute with vsyscall if not available.
29074 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29077 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29078 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29079 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29080 Add sendmmsg and internal_sendmmsg.
29081 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29082 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29083 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29085 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29086 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29087 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29089 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29092 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29093 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29095 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29099 * iconvdata/Makefile (tests): Add bug-iconv9.
29100 * iconvdata/bug-iconv9.c: New file.
29102 2011-05-27 Andreas Schwab <schwab@redhat.com>
29105 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29107 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29109 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29110 (struct user_regs_struct): Change intcs field back to cs.
29112 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29114 * po/ja.po: Update from translation team.
29116 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29119 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29120 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29122 2011-05-20 Andreas Schwab <schwab@redhat.com>
29124 * stdlib/longlong.h: Update from GCC.
29126 2011-05-23 Andreas Schwab <schwab@redhat.com>
29128 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29130 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29131 Add parameter name.
29132 (__sysconf): Pass it down.
29134 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29137 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29139 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29140 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29141 add in in __libc_use_alloca calls. Adjust callers.
29142 (glob): Use malloc in some situations.
29144 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29145 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29148 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29150 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29151 and CLOCK_BOOTTIME_ALARM.
29154 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29157 * string/_strerror.c (__strerror_r): Print negative errors as signed
29161 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29162 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29163 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29165 * configure.in: Fix typo in redirection and correct removal of test
29166 files in two cases.
29169 * locale/setlocale.c (new_composite_name): Fix test to check for
29170 identical name of all categories.
29173 * libio/filedoalloc.c (local_isatty): New function.
29174 (_IO_file_doallocate): Use local_isatty.
29175 * stdio-common/perror.c (perror): In case a new stream is used
29176 forward the stream error.
29177 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29180 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29185 * include/alloca.h (extend_alloca_account): Define.
29188 * posix/regex.h: Fix comments with documentation of user-accessible
29189 fields after compilation and describe correct free'ing of pattern
29190 after re_compile_pattern.
29191 Patch by Reuben Thomas <rrt@sc3d.org>.
29193 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29195 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29196 and -mno-altivec to prevent the compiler from using Altivec and/or
29197 VSX instructions when the corresponding registers are not available.
29199 2011-05-19 Andreas Schwab <schwab@redhat.com>
29201 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29203 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29205 * libio/freopen.c (freopen): Use __dup2, not dup2.
29206 * libio/freopen64.c (freopen64): Likewise.
29208 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29211 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29212 * math/Makefile (tests): Add test-powl.
29213 (CFLAGS-test-powl.c): Define.
29214 * math/test-powl.c: New file.
29216 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29218 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29220 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29223 * iconvdata/gb18030.c: Update to GB18020-2005.
29225 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29227 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29228 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29229 Patch by Aharon Robbins <arnold@skeeve.com>.
29232 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29236 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29237 through underflows.
29240 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29241 point to strings before performing equality test for error_one_per_line
29245 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29248 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29249 (struct user_fpregs_struct): Avoid __uint*_t types.
29252 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29253 symbol info. Use it instead of calling _dl_addr locally.
29254 (lock_and_info): New function.
29255 (tr_freehook): Call lock_and_info and pass symbol info as additional
29256 parameter to tr_where.
29257 (tr_mallochook): Likewise.
29258 (tr_reallochook): Likewise.
29259 (tr_memalignhook): Likewise.
29261 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29262 used and couldn't be at all thread-safe.
29264 2011-05-15 Ulrich Drepper <drepper@gmail.com>
29266 * libio/freopen.c (freopen): Don't close old file descriptor
29267 before the new one is opened. Instead dup the new file descriptor
29268 to the old one after the new stream is created.
29269 * libio/freopen64.c (freopen64): Likewise.
29270 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29271 * libio/fileops.c (_IO_new_file_close_it): Handle new
29272 _IO_FLAGS2_NOCLOSE flag.
29273 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29274 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29275 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29276 _IO_FLAGS2_NOCLOSE flag.
29277 * include/unistd.h: Add hidden_proto for dup3.
29278 Define __have_dup3.
29279 * io/dup3.c: Define hidden symbol.
29280 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29283 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29284 when an incomplete long option is used.
29285 * posix/tst-getopt_long1.c: New file.
29286 * posix/Makefile (tests): Add tst-getopt_long1.
29289 * scripts/config.guess: Update from autoconf-2.68.
29290 * scripts/config.sub: Likewise.
29293 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29295 (has_cpuclock): ...this. New function.
29296 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29297 macro here based on has_cpuclock code.
29300 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29301 First byte (not low byte) is now always NUL.
29302 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29304 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29305 Use non-cancelable interfaces.
29308 * locale/iso-639.def: Add entry for Sorani.
29311 * include/stdlib.h: Move include protection to the right place.
29312 Define abort_msg_s. Declare __abort_msg with it.
29313 * stdlib/abort.c (__abort_msg): Adjust type.
29314 * assert/assert.c (__assert_fail_base): New function. Majority
29315 of code from __assert_fail. Allocate memory for __abort_msg with
29317 (__assert_fail): Now call __assert_fail_base.
29318 * assert/assert-perr.c: Remove bulk of implementation. Use
29319 __assert_fail_base.
29320 * include/assert.hL Declare __assert_fail_base.
29321 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29323 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29325 2011-05-14 Ulrich Drepper <drepper@gmail.com>
29329 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29330 until all modules are registered in the DTV.
29331 * elf/Makefile: Add rules to build and run tst-tls19.
29332 * elf/tst-tls19.c: New file.
29333 * elf/tst-tls19mod1.c: New file.
29334 * elf/tst-tls19mod2.c: New file.
29335 * elf/tst-tls19mod3.c: New file.
29336 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29339 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29343 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29344 two-byte sequence errors.
29345 * iconvdata/Makefile (tests): Add bug-iconv8.
29346 * iconvdata/bug-iconv8.c: New file.
29349 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29352 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29355 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29356 (dummy_getcfa): New function.
29357 (init): Get _Unwind_GetCFA address, use dummy if not found.
29358 (backtrace_helper): In recursion check, also check whether CFA changes.
29359 (__backtrace): Completely initialize arg.
29361 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29362 storing incomplete byte sequence in state object. Avoid testing for
29363 guaranteed too small input if we know there is enough data available.
29365 2011-05-11 Andreas Schwab <schwab@redhat.com>
29367 * Makeconfig (+link-pie): Indent.
29368 * Rules (binaries-pie): Define if $(have-fpie) and
29370 (binaries-shared): Also filter out $(binaries-pie).
29371 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29372 * nscd/Makefile (others-pie): Add nscd.
29373 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29374 ($(objpfx)nscd): Remove command override.
29375 * login/Makefile (others-pie): Add pt_chown.
29376 ($(objpfx)pt_chown): Remove command override.
29377 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29378 remove command overrides.
29380 2011-05-13 Ulrich Drepper <drepper@gmail.com>
29382 * libio/tst_putwc.c: Fix error messages.
29385 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29386 currently writing and seek to current position when not.
29387 * libio/Makefile (tests): Add bug-fclose1.
29388 * libio/bug-fclose1.c: New file.
29390 2011-05-12 Ulrich Drepper <drepper@gmail.com>
29393 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29394 don't set DF_1_NODELETE here.
29395 (do_lookup_x): When entering new entry test for copy relocation
29396 and if necessary set DF_1_NODELETE flag.
29397 * elf/tst-unique4.cc: New file.
29398 * elf/tst-unique4.h: New file.
29399 * elf/tst-unique4lib.cc: New file.
29400 * elf/Makefile: Add rules to build and run tst-unique4.
29401 Patch by Piotr Bury <pbury@goahead.com>.
29403 2011-05-11 Ulrich Drepper <drepper@gmail.com>
29406 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29409 * misc/mntent_r.c (addmntent): Flush the stream after the output
29412 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29413 (is_trusted_path_normalize): Skip initial colon. Append slash
29414 to empty buffer. Duplicate is_trusted_path code but allow
29415 constructed patch to be prefix.
29416 (is_dst): Allow $ORIGIN followed by /.
29417 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29418 Correct testing of result of is_trusted_path_normalize
29419 (decompose_rpath): Fix warning.
29421 2011-05-10 Ulrich Drepper <drepper@gmail.com>
29424 * grp/initgroups.c (internal_getgrouplist): When we found the service
29425 list through the initgroups entry in nsswitch.conf do not always
29426 continue on a successful lookup. Don't always use the
29427 __nss_group_database value if it is set.
29428 * nss/nsswitch.conf (initgroups): Change action for successful db
29429 lookup to continue for compatibility.
29431 2011-05-09 Ulrich Drepper <drepper@gmail.com>
29434 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29436 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29438 * iconvdata/tst-tables.sh: Likewise.
29439 * iconvdata/cp770.c: New file.
29440 * iconvdata/cp771.c: New file.
29441 * iconvdata/cp772.c: New file.
29442 * iconvdata/cp773.c: New file.
29443 * iconvdata/cp774.c: New file.
29444 * iconvdata/testdata/CP770: New file.
29445 * iconvdata/testdata/CP770..UTF8: New file.
29446 * iconvdata/testdata/CP771: New file.
29447 * iconvdata/testdata/CP771..UTF8: New file.
29448 * iconvdata/testdata/CP772: New file.
29449 * iconvdata/testdata/CP772..UTF8: New file.
29450 * iconvdata/testdata/CP773: New file.
29451 * iconvdata/testdata/CP773..UTF8: New file.
29452 * iconvdata/testdata/CP774: New file.
29453 * iconvdata/testdata/CP774..UTF8: New file.
29455 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29457 * iconvdata/gen-8bit-gap.sh: Likewise.
29458 * iconvdata/gen-8bit.sh: Likewise.
29460 * locale/iso-639.def: Add ary entry.
29463 * locale/C-translit.h.in: Add U20A1 transliteration.
29466 * locale/iso-639.def: Add wae entry.
29467 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29470 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29474 * locale/C-translit.h.in: Add entry for U20B9.
29475 Patch by pravin.d.s@gmail.com.
29477 2011-05-08 Ulrich Drepper <drepper@gmail.com>
29480 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29481 ENAMETOOLONG use generic getcwd.
29482 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29483 in rtld. Use *stat64.
29484 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29485 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29486 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29487 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29488 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29489 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29490 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29491 __fstatat64 macros.
29492 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29493 * dirent/rewinddir.c: Add libc_hidden_def.
29494 * sysdeps/mach/hurd/rewinddir.c: Likewise.
29495 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
29497 * include/dirent.h (__alloc_dir): Add flags parameter.
29498 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29499 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29501 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29502 from fdopendir if O_CLOEXEC is already set.
29504 2011-03-15 Alan Modra <amodra@gmail.com>
29506 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29507 l_tls_firstbyte_offset non-zero. Save padding offset in
29508 l_tls_firstbyte_offset for later use.
29509 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29510 freeing static tls block.
29512 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29514 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29515 where #ifdef was intended. The intent is to prevent ARG_MAX from
29516 being defined by the kernel headers.
29518 2011-05-07 Ulrich Drepper <drepper@gmail.com>
29521 * resolv/resolv.h: Define RES_NOTLDQUERY.
29522 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29523 no-tld-query and set RES_NOTLDQUERY.
29524 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29525 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29526 modern BIND to search name as TLD unless forbidden.
29528 2011-05-07 Petr Baudis <pasky@suse.cz>
29529 Ulrich Drepper <drepper@gmail.com>
29532 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29533 (is_trusted_path): ...to here.
29534 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29535 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29536 using is_trusted_path_normalize() in setuid scripts.
29538 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29540 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29541 __BEGIN/__END_DECLS.
29543 2011-05-06 Ulrich Drepper <drepper@gmail.com>
29545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29546 NSS_STATUS_NOTFOUND if no record was found.
29548 2011-05-05 Andreas Schwab <schwab@redhat.com>
29550 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29551 (headers-not-in-tirpc): Remove rpc/netdb.h
29552 * resolv/netdb.h: Revert last change.
29554 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29556 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29557 circular dependency between libgcc.a and libc.a.
29559 2011-05-05 Andreas Schwab <schwab@redhat.com>
29561 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29562 * nis/Makefile: Don't install rpcsvc/*.
29563 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29564 instead of <rpc/types.h>.
29565 (MAXHOSTNAMELEN): Define.
29567 2011-05-03 Andreas Schwab <schwab@redhat.com>
29569 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29571 2011-04-28 Maciej Babinski <mbabinski@google.com>
29574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29575 gethostbyname4_r when IPv6 results are possible.
29577 2011-05-02 Ulrich Drepper <drepper@gmail.com>
29580 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29581 _PC_PIPE_BUF handling.
29583 2011-04-30 Bruno Haible <bruno@clisp.org>
29586 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29587 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29589 * inet/getnameinfo.c (getnameinfo): Likewise.
29591 2011-04-29 Ulrich Drepper <drepper@gmail.com>
29593 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29594 to groups setting in database lookup.
29595 * nss/nsswitch.conf: Add initgroups entry.
29597 2011-04-22 Ulrich Drepper <drepper@gmail.com>
29600 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29602 Patch by Eric Blake <eblake@redhat.com>.
29604 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29606 * sunrpc/Makefile (need-export-routines): Add svc_run.
29607 (routines): Remove svc_run.
29608 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29609 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29610 * sunrpc/svc_run.c (svc_run): Likewise.
29611 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29613 2011-04-21 Ulrich Drepper <drepper@gmail.com>
29615 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29616 problem in reallocation in last patch.
29618 2011-04-20 Ulrich Drepper <drepper@gmail.com>
29620 * sunrpc/Makefile: Move inclusion of Rules.
29622 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29624 * nss/nss_files/files-initgroups.c: New file.
29625 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29626 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29627 _nss_files_initgroups_dyn.
29629 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29631 * elf/elf.h (R_ARM_IRELATIVE): Define.
29633 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29635 * po/ru.po: Update from translation team.
29637 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29639 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29642 2011-02-06 Mike Frysinger <vapier@gentoo.org>
29645 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29646 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29647 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29648 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29649 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29651 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29653 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29655 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29656 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29659 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29662 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29664 * stdlib/bug-getcontext.c: New file.
29665 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29667 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29669 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29670 instructions into .machine "z9-109".
29671 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29672 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29674 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29676 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29677 between environment variables and auxiliary vector.
29679 2011-04-16 Ulrich Drepper <drepper@gmail.com>
29681 * Makefile: Add rules to build linkobj/libc.so.
29682 * include/libc-symbols.h: Define libc_hidden_nolink.
29683 * include/rpc/auth.h: Mark functions which are to be hidden.
29684 * include/rpc/auth_des.h: Likewise.
29685 * include/rpc/auth_unix.h: Likewise.
29686 * include/rpc/clnt.h: Likewise.
29687 * include/rpc/des_crypt.h: Likewise.
29688 * include/rpc/key_prot.h: Likewise.
29689 * include/rpc/pmap_clnt.h: Likewise.
29690 * include/rpc/pmap_prot.h: Likewise.
29691 * include/rpc/pmap_rmt.h: Likewise.
29692 * include/rpc/rpc_msg.h: Likewise.
29693 * include/rpc/svc.h: Likewise.
29694 * include/rpc/svc_auth.h: Likewise.
29695 * include/rpc/xdr.h: Likewise.
29696 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29697 * nss/Makefile: Likewise.
29698 * sunrpc/Makefile: Don't install headers. Build library with normal
29699 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29700 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29701 for the compat linking library. Remove use of INTDEF/INTUSE.
29702 * sunrpc/auth_none.c: Likewise.
29703 * sunrpc/auth_unix.c: Likewise.
29704 * sunrpc/authdes_prot.c: Likewise.
29705 * sunrpc/authuxprot.c: Likewise.
29706 * sunrpc/clnt_gen.c: Likewise.
29707 * sunrpc/clnt_perr.c: Likewise.
29708 * sunrpc/clnt_raw.c: Likewise.
29709 * sunrpc/clnt_simp.c: Likewise.
29710 * sunrpc/clnt_tcp.c: Likewise.
29711 * sunrpc/clnt_udp.c: Likewise.
29712 * sunrpc/clnt_unix.c: Likewise.
29713 * sunrpc/des_crypt.c: Likewise.
29714 * sunrpc/des_soft.c: Likewise.
29715 * sunrpc/get_myaddr.c: Likewise.
29716 * sunrpc/key_call.c: Likewise.
29717 * sunrpc/key_prot.c: Likewise.
29718 * sunrpc/netname.c: Likewise.
29719 * sunrpc/pm_getmaps.c: Likewise.
29720 * sunrpc/pm_getport.c: Likewise.
29721 * sunrpc/pmap_clnt.c: Likewise.
29722 * sunrpc/pmap_prot.c: Likewise.
29723 * sunrpc/pmap_prot2.c: Likewise.
29724 * sunrpc/pmap_rmt.c: Likewise.
29725 * sunrpc/publickey.c: Likewise.
29726 * sunrpc/rpc_cmsg.c: Likewise.
29727 * sunrpc/rpc_common.c: Likewise.
29728 * sunrpc/rpc_dtable.c: Likewise.
29729 * sunrpc/rpc_prot.c: Likewise.
29730 * sunrpc/rpc_thread.c: Likewise.
29731 * sunrpc/rtime.c: Likewise.
29732 * sunrpc/svc.c: Likewise.
29733 * sunrpc/svc_auth.c: Likewise.
29734 * sunrpc/svc_authux.c: Likewise.
29735 * sunrpc/svc_raw.c: Likewise.
29736 * sunrpc/svc_run.c: Likewise.
29737 * sunrpc/svc_simple.c: Likewise.
29738 * sunrpc/svc_tcp.c: Likewise.
29739 * sunrpc/svc_udp.c: Likewise.
29740 * sunrpc/svc_unix.c: Likewise.
29741 * sunrpc/svcauth_des.c: Likewise.
29742 * sunrpc/xcrypt.c: Likewise.
29743 * sunrpc/xdr.c: Likewise.
29744 * sunrpc/xdr_array.c: Likewise.
29745 * sunrpc/xdr_float.c: Likewise.
29746 * sunrpc/xdr_intXX_t.c: Likewise.
29747 * sunrpc/xdr_mem.c: Likewise.
29748 * sunrpc/xdr_rec.c: Likewise.
29749 * sunrpc/xdr_ref.c: Likewise.
29750 * sunrpc/xdr_sizeof.c: Likewise.
29751 * sunrpc/xdr_stdio.c: Likewise.
29753 2011-04-10 Ulrich Drepper <drepper@gmail.com>
29756 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29757 * sysdeps/ia64/dl-tls.h: Likewise.
29758 * sysdeps/powerpc/dl-tls.h: Likewise.
29759 * sysdeps/s390/dl-tls.h: Likewise.
29760 * sysdeps/sh/dl-tls.h: Likewise.
29761 * sysdeps/sparc/dl-tls.h: Likewise.
29762 * sysdeps/x86_64/dl-tls.h: Likewise.
29763 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29765 2011-03-14 Andreas Schwab <schwab@redhat.com>
29767 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29768 rpath element also skip the following colon.
29769 (expand_dynamic_string_token): Add is_path parameter and pass
29770 down to DL_DST_REQUIRED and _dl_dst_substitute.
29771 (decompose_rpath): Call expand_dynamic_string_token with
29772 non-zero is_path. Ignore empty rpaths.
29773 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29776 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29781 2011-04-09 Ulrich Drepper <drepper@gmail.com>
29784 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29785 Patch by Filipe David Manana <fdmanana@apache.org>.
29787 2011-04-07 Andreas Schwab <schwab@redhat.com>
29789 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29790 Maintain aligned stack.
29791 (CHECK_RSP): Remove unused macro.
29793 2011-04-03 Ulrich Drepper <drepper@gmail.com>
29795 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29796 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29798 2011-04-02 Ulrich Drepper <drepper@gmail.com>
29800 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29802 * include/features.h: Mention __USE_XOPEN2K8 in comment.
29804 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29807 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29808 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29809 * sysdeps/x86_64/memmove.c: New file.
29810 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29811 (memcpy): Renamed to ...
29812 (__new_memcpy): This.
29813 (memcpy): Provide GLIBC_2_14 memcpy.
29814 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29815 (memcpy): Provide GLIBC_2_2_5 memcpy.
29817 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29820 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29822 2011-03-30 Andreas Schwab <schwab@redhat.com>
29824 * misc/syncfs.c: New file.
29825 * misc/Makefile (routines): Add syncfs.
29826 * posix/unistd.h: Declare syncfs.
29827 * sysdeps/unix/syscalls.list: Add syncfs.
29829 2011-04-01 Andreas Schwab <schwab@redhat.com>
29831 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29833 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29834 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29835 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29836 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29838 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29839 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29841 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29843 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29844 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29845 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29846 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29847 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29849 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29851 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29852 sync_file_range.c with -fexceptions.
29853 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29854 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29855 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29856 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29857 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29858 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29859 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29860 sync_file_range as cancellation point
29861 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29862 now a wrapper around __call_sync_file_range with cancellation handling.
29863 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29864 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29865 function name to __call_sync_file_range.
29866 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29867 Add call_sync_file_range.
29869 2011-04-01 Andreas Schwab <schwab@redhat.com>
29871 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29874 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29876 * iconv/iconv.h: Fix typo in comment.
29877 * io/fcntl.h: Likewise.
29878 * libio/stdio.h: Likewise.
29879 * posix/spawn.h: Likewise.
29880 * posix/unistd.h: Likewise.
29881 * stdlib/stdlib.h: Likewise.
29882 * time/time.h: Likewise.
29883 * wcsmbs/wchar.h: Likewise.
29885 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29886 open_by_handle): Add.
29887 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29888 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29889 Augment a few comments.
29890 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29892 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29893 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29894 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29895 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29898 * io/fcntl.h (AT_EMPTY_PATH): Define.
29900 2011-03-30 Ulrich Drepper <drepper@gmail.com>
29902 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29903 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29904 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29906 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
29907 * Versions.def: Add GLIBC_2.14.
29908 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29911 2011-03-22 Ulrich Drepper <drepper@gmail.com>
29913 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29915 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29917 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29920 * string/test-strncmp.c (do_page_test): New function.
29921 (check2): Likewise.
29922 (test_main): Call check2.
29923 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29925 2011-03-20 Ulrich Drepper <drepper@gmail.com>
29928 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29929 Handle cache information in CPU leaf 4.
29930 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29932 2011-03-18 Ulrich Drepper <drepper@gmail.com>
29935 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29936 character representation.
29937 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29939 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29941 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29942 END(__isnan) to END(__isnanf) to match function entry point/label
29943 EALIGN(__isnanf,...).
29945 2011-03-10 Jakub Jelinek <jakub@redhat.com>
29947 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29949 2011-03-10 Ulrich Drepper <drepper@gmail.com>
29952 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29953 copy from the symbol referenced in the relocation to initialize the
29955 Patch by Piotr Bury <pbury@goahead.com>.
29956 * elf/Makefile: Add rules to build and tst-unique3.
29957 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29958 * elf/tst-unique3.cc: New file.
29959 * elf/tst-unique3.h: New file.
29960 * elf/tst-unique3lib.cc: New file.
29961 * elf/tst-unique3lib2.cc: New file.
29963 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29965 2011-03-10 Mike Frysinger <vapier@gentoo.org>
29967 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29968 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29971 2011-03-06 Ulrich Drepper <drepper@gmail.com>
29973 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29974 to-be-loaded object along a path to loader is ld.so.
29976 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29977 Ulrich Drepper <drepper@gmail.com>
29979 * sysdeps/x86_64/memset.S: After aligning destination, code
29980 branches to different locations depending on the value of
29981 misalignment, when multiarch is enabled. Fix this.
29983 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29985 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29986 Set _x86_64_preferred_memory_instruction for AMD processsors.
29987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29988 Set bit_Prefer_SSE_for_memop for AMD processors.
29990 2011-03-04 Ulrich Drepper <drepper@gmail.com>
29992 * libio/fmemopen.c (fmemopen): Optimize a bit.
29994 2011-03-03 Andreas Schwab <schwab@redhat.com>
29996 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29998 2011-03-03 Roland McGrath <roland@redhat.com>
30000 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30002 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30004 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
30005 __bzero_ultra1 instead of __memset_ultra1.
30007 2011-02-23 Andreas Schwab <schwab@redhat.com>
30008 Ulrich Drepper <drepper@gmail.com>
30011 * include/link.h (struct link_map): Add l_orig_initfini.
30012 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30013 returning unsuccessfully.
30014 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30015 close of a file loaded at startup, restore the original l_initfini
30017 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30018 list, store the pointer.
30019 * elf/Makefile ($(objpfx)noload-mem): New rule.
30020 (noload-ENV): Define.
30021 (tests): Add $(objpfx)noload-mem.
30022 * elf/noload.c: Include <memcheck.h>.
30023 (main): Call mtrace. Close all opened handles.
30025 2011-02-17 Andreas Schwab <schwab@redhat.com>
30028 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30029 dependencies are missing.
30031 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30033 Fix __if_freereq crash: Unlike the generic version which uses free,
30035 * sysdeps/mach/hurd/ifreq.h: New file.
30037 2011-01-27 Petr Baudis <pasky@suse.cz>
30038 Ulrich Drepper <drepper@gmail.com>
30041 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30042 to extend_alloca().
30043 * stdio-common/bug23.c: New file.
30044 * stdio-common/Makefile (tests): Add bug23.
30046 2010-09-28 Andreas Schwab <schwab@redhat.com>
30047 Ulrich Drepper <drepper@gmail.com>
30050 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30051 before performing relro protection. At old place add assertion
30052 to make sure nothing changed.
30054 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30055 Glauber de Oliveira Costa <glommer@gmail.com>
30057 * elf/elf.h: Add new ARM TLS relocs.
30059 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30062 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30064 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30066 * sysdeps/wordsize-64/tst-writev.c: New file.
30068 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30070 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30071 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30072 insns in _dl_start to prevent a TOC reference before relocs are
30075 2011-02-15 Ulrich Drepper <drepper@gmail.com>
30078 * Makeconfig: Remove RANLIB definition.
30079 * Makerules: Don't use RANLIB.
30080 * aclocal.m4: Remove ranlib test.
30081 * configure.in: No need to check for ranlib.
30082 * elf/rtld-Rules: Don't use RANLIB.
30084 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30086 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30088 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30089 inclusion protection macro.
30091 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30092 SIGRTMIN and SIGRTMAX and print information in that case only when
30093 SIGRTMIN is defined.
30095 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30097 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30098 arginfo fn returning -1.
30100 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30101 and thousands string is zero terminated.
30103 2011-02-03 Andreas Schwab <schwab@redhat.com>
30105 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30106 sysdeps/unix/sysv/linux/bits/socket.h.
30108 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30110 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30111 (__CPU_COUNT): Remove old macros.
30112 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30113 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30114 (__CPU_ALLOC, __CPU_FREE): Add macros.
30115 (__sched_cpualloc, __sched_cpufree): Add declarations.
30117 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30119 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30120 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30121 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30122 (readdhstai): Return value of addhstaiX call.
30123 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30124 (addgrbyX): Return value returned by cache_addgr.
30125 (readdgrbyname): Return value returned by addgrbyX.
30126 (readdgrbygid): Likewise.
30127 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30128 (addpwbyX): Return value returned by cache_addpw.
30129 (readdpwbyname): Return value returned by addhstbyX.
30130 (readdpwbyuid): Likewise.
30131 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30132 (addservbyX): Return value returned by cache_addserv.
30133 (readdservbyname): Return value returned by addservbyX:
30134 (readdservbyport): Likewise.
30135 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30136 (addhstbyX): Return value returned by cache_addhst.
30137 (readdhstbyname): Return value returned by addhstbyX.
30138 (readdhstbyaddr): Likewise.
30139 (readdhstbynamev6): Likewise.
30140 (readdhstbyaddrv6): Likewise.
30141 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30142 (readdinitgroups): Return value returned by addinitgroupsX.
30143 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30144 (prune_cache): Keep track of timeout value of re-added entries.
30145 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30146 * nscd/nscd.h: Adjust prototypes of readd* functions.
30148 2011-02-04 Roland McGrath <roland@redhat.com>
30150 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30151 (nis_stats): Likewise.
30152 * nis/nis_modify.c (nis_modify): Likewise.
30153 * nis/nis_remove.c (nis_remove): Likewise.
30154 * nis/nis_add.c (nis_add): Likewise.
30156 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30158 * posix/fnmatch_loop.c: Add some consts.
30160 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30162 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30165 * config.make.in (config-cflags-novzeroupper): Define.
30166 * configure.in: Substitute libc_cv_cc_novzeroupper.
30167 * elf/Makefile (AVX-CFLAGS): Define.
30168 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30169 (CFLAGS-tst-auditmod4a.c): Likewise.
30170 (CFLAGS-tst-auditmod4b.c): Likewise.
30171 (CFLAGS-tst-auditmod6b.c): Likewise.
30172 (CFLAGS-tst-auditmod6c.c): Likewise.
30173 (CFLAGS-tst-auditmod7b.c): Likewise.
30174 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30176 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30178 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30179 function to the callback.
30180 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30182 2011-02-02 Andreas Schwab <schwab@redhat.com>
30184 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30187 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30190 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30192 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30194 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30197 * elf/Makefile: Add rules to build and run new test.
30198 * elf/tst-initorder.c: New file.
30199 * elf/tst-initorder.exp: New file.
30200 * elf/tst-initordera1.c: New file.
30201 * elf/tst-initordera2.c: New file.
30202 * elf/tst-initordera3.c: New file.
30203 * elf/tst-initordera4.c: New file.
30204 * elf/tst-initorderb1.c: New file.
30205 * elf/tst-initorderb2.c: New file.
30206 * elf/tst-order-a1.c: New file.
30207 * elf/tst-order-a2.c: New file.
30208 * elf/tst-order-a3.c: New file.
30209 * elf/tst-order-a4.c: New file.
30210 * elf/tst-order-b1.c: New file.
30211 * elf/tst-order-b2.c: New file.
30212 * elf/tst-order-main.c: New file.
30213 New test case by George Gensure <werkt0@gmail.com>.
30215 2010-10-01 Andreas Schwab <schwab@redhat.com>
30217 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30218 decoding ACE if AI_CANONIDN.
30220 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30222 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30224 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30226 * version.h (RELEASE): Bump for 2.13 release.
30227 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30229 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30231 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30233 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30234 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30235 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30236 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30237 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30238 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30240 * posix/getconf.c: Update copyright year.
30241 * catgets/gencat.c: Likewise.
30242 * csu/version.c: Likewise.
30243 * debug/catchsegv.sh: Likewise.
30244 * debug/xtrace.sh: Likewise.
30245 * elf/ldconfig.c: Likewise.
30246 * elf/ldd.bash.in: Likewise.
30247 * elf/sprof.c (print_version): Likewise.
30248 * iconv/iconv_prog.c: Likewise.
30249 * iconv/iconvconfig.c: Likewise.
30250 * locale/programs/locale.c: Likewise.
30251 * locale/programs/localedef.c: Likewise.
30252 * malloc/memusage.sh: Likewise.
30253 * malloc/mtrace.pl: Likewise.
30254 * nscd/nscd.c (print_version): Likewise.
30255 * nss/getent.c: Likewise.
30257 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30258 PF_CAIF, and PF_ALG.
30259 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30261 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30263 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30264 (modules-names): Use them.
30265 (ifunc-test-modules, ifunc-pie-tests): Define.
30266 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30267 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30268 (test-extras): Likewise.
30269 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30270 $(compile-command.c).
30271 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30272 (all-built-dso): Define.
30273 (check-textrel.out, check-execstack.out): Depend on it.
30275 * configure.in: Don't override --enable-multi-arch.
30277 2011-01-15 Ulrich Drepper <drepper@gmail.com>
30280 * nscd/hstcache.c (tryagain): Define.
30281 (cache_addhst): Return tryagain not notfound for temporary errors.
30282 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30285 2011-01-14 Ulrich Drepper <drepper@gmail.com>
30288 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30289 to make the syscall.
30290 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30293 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30294 and fall back to matching as normal character if the string ends before
30295 the matching ']' is found. This is what POSIX requires.
30296 * posix/testfnm.c: Adjust test result.
30297 * posix/globtest.sh: Adjust test result. Add new test.
30298 * posix/tst-fnmatch.input: Likewise.
30299 * posix/tst-fnmatch2.c: Add new test.
30301 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30303 * elf/Makefile (check-execstack): Revert last change. Depend on
30305 (check-execstack.h): New target.
30306 (generated): Add check-execstack.h.
30307 * elf/check-execstack.c: Include "check-execstack.h".
30308 (main): Revert last change.
30309 (handle_file): Return zero if GNU_STACK is absent and
30310 DEFAULT_STACK_PERMS doesn't include PF_X.
30312 2011-01-13 Ulrich Drepper <drepper@gmail.com>
30314 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30315 in child fails because the descriptor is already closed.
30316 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30317 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30318 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30321 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30325 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30326 temporary buffer used to handle multi lookups locally.
30327 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30329 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30331 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30334 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30336 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30337 alignment for SSE2.
30339 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30342 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30343 characters. When rounding increased number of integer digits recompute
30345 * stdio-common/tst-grouping.c: New file.
30346 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30348 2011-01-09 Ulrich Drepper <drepper@gmail.com>
30350 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30351 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30353 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30355 * bits/select.h: Likewise.
30357 2011-01-08 Ulrich Drepper <drepper@gmail.com>
30359 * po/ja.po: Update from translation team.
30361 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
30364 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30365 implementation just like for lxstat, fxstatat, et al.
30367 2010-12-27 Jim Meyering <meyering@redhat.com>
30370 * posix/regexec.c (build_trtable): Return failure indication upon
30371 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30373 2010-12-25 Ulrich Drepper <drepper@gmail.com>
30376 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30377 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30378 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30379 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30382 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30385 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30386 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30388 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30390 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30391 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30392 script has SORT_BY_INIT_PRIORITY.
30393 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30394 NO_CTORS_DTORS_SECTIONS is defined.
30395 * elf/soinit.c: Likewise.
30396 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30397 NO_CTORS_DTORS_SECTIONS is defined.
30398 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30399 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30400 * sysdeps/sh/init-first.c: Likewise.
30401 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30403 2010-12-24 Ulrich Drepper <drepper@gmail.com>
30405 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30406 always use the slow path.
30408 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30410 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30411 similar rule which adds the sysdep directories to the header search in
30412 order to pick up the correct platform stackinfo.h.
30413 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30414 perform test if it is, otherwise return successfully without testing.
30415 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30416 DEFAULT_STACK_PERMS define in stackinfo.h.
30417 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30418 defined in stackinfo.h.
30419 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30420 DEFAULT_STACK_PERMS defined in stackinfo.h.
30421 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30422 * sysdeps/ia64/stackinfo.h: Likewise.
30423 * sysdeps/s390/stackinfo.h: Likewise.
30424 * sysdeps/sh/stackinfo.h: Likewise.
30425 * sysdeps/sparc/stackinfo.h: Likewise.
30426 * sysdeps/x86_64/stackinfo.h: Likewise.
30427 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30428 PF_X for powerpc64. Retain PF_X for powerpc32.
30430 2010-12-19 Ulrich Drepper <drepper@gmail.com>
30432 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30434 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30435 GETDENTS_64BIT_ALIGNED.
30437 2010-12-14 Ulrich Drepper <dreper@gmail.com>
30439 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30441 2010-12-10 Andreas Schwab <schwab@redhat.com>
30443 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30446 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30447 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30449 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30450 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30452 2010-12-09 Ulrich Drepper <drepper@gmail.com>
30455 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30458 2010-12-09 Jakub Jelinek <jakub@redhat.com>
30460 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30462 2010-12-03 Ulrich Drepper <drepper@gmail.com>
30464 * po/it.po: Update from translation team.
30466 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30468 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30471 2010-11-30 Ulrich Drepper <drepper@gmail.com>
30473 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30475 2010-11-24 Andreas Schwab <schwab@redhat.com>
30477 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30479 (gaih_getanswer_slice): Likewise.
30481 2010-10-20 Jakub Jelinek <jakub@redhat.com>
30483 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30485 2010-05-31 Petr Baudis <pasky@suse.cz>
30488 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30489 silently even in the chroot mode.
30491 2010-11-22 Ulrich Drepper <drepper@gmail.com>
30493 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30494 last patch a bit. Pretty printing
30496 2010-05-31 Petr Baudis <pasky@suse.cz>
30499 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30500 initialization of skip_initgroups_dyn.
30502 2010-11-19 Ulrich Drepper <drepper@gmail.com>
30504 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30505 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30507 2010-11-16 Ulrich Drepper <drepper@gmail.com>
30509 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30511 2010-11-11 Andreas Schwab <schwab@redhat.com>
30513 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30514 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30515 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30516 ($(objpfx)tst-fnmatch-mem): New rule.
30517 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30518 * posix/tst-fnmatch.c (main): Call mtrace.
30520 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30522 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30523 Support Intel processor model 6 and model 0x2c.
30525 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
30527 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30530 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30533 * string/test-strncasecmp.c (check_result): New function.
30534 (do_one_test): Use it.
30535 (check1): New function.
30536 (test_main): Use it.
30537 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30538 Support strcasecmp and strncasecmp.
30540 2010-11-08 Ulrich Drepper <drepper@gmail.com>
30543 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30544 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30546 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30548 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30552 * sysdeps/x86_64/multiarch/bzero.S: New file.
30553 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30554 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30555 * sysdeps/x86_64/multiarch/memset.S: New file.
30556 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30558 Set bit_Prefer_SSE_for_memop for Intel processors.
30559 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30561 (index_Prefer_SSE_for_memop): Define.
30562 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30564 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
30566 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30567 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30569 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30572 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30573 (__x86_64_raw_data_cache_size_half): Likewise.
30574 (__x86_64_raw_shared_cache_size): Likewise.
30575 (__x86_64_raw_shared_cache_size_half): Likewise.
30577 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30578 (__x86_64_raw_data_cache_size_half): Likewise.
30579 (__x86_64_raw_shared_cache_size): Likewise.
30580 (__x86_64_raw_shared_cache_size_half): Likewise.
30581 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30582 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30583 and __x86_64_raw_shared_cache_size_half. Round
30584 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30585 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30586 to multiple of 256 bytes.
30588 2010-11-03 Ulrich Drepper <drepper@gmail.com>
30591 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30592 of inacessible symlinks. Verify result of symlink before returning it.
30593 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30594 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30596 2010-10-28 Erich Ritz <erichritz@gmail.com>
30598 * math/math.h (isinf): Fix typo in comment.
30600 2010-11-01 Ulrich Drepper <drepper@gmail.com>
30602 * po/da.po: Update from translation team.
30604 2010-10-26 Ulrich Drepper <drepper@gmail.com>
30606 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30607 is added to the list.
30609 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30610 Ulrich Drepper <drepper@gmail.com>
30612 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30613 the global list here. Move code to...
30614 (_dl_add_to_namespace_list): ...here. New function.
30615 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30616 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30617 * elf/dl-load.c (lose): Don't remove the element from the list.
30618 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30619 (_dl_map_object): Likewise.
30621 2010-10-25 Ulrich Drepper <drepper@gmail.com>
30624 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30625 into all bytes of SSE register.
30626 Patch by Richard Li <richardpku@gmail.com>.
30628 2010-10-24 Ulrich Drepper <drepper@gmail.com>
30631 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30634 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30636 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30637 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30638 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30639 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30644 2010-10-22 Andreas Schwab <schwab@redhat.com>
30646 * include/dlfcn.h (__RTLD_SECURE): Define.
30647 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30648 mode & __RTLD_SECURE instead.
30649 (open_path): Rename preloaded parameter to secure.
30650 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30651 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30652 * elf/dl-deps.c (openaux): Likewise.
30653 * elf/rtld.c (struct map_args): Remove is_preloaded.
30654 (map_doit): Don't use it.
30655 (dl_main): Likewise.
30656 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30657 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30659 2010-09-09 Andreas Schwab <schwab@redhat.com>
30661 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30662 (sysd-rules-targets): Remove duplicates.
30663 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30664 rtld-%.$o dependency.
30666 2010-10-18 Andreas Schwab <schwab@redhat.com>
30668 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30669 _dl_map_object do it.
30671 2010-10-19 Ulrich Drepper <drepper@gmail.com>
30673 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30674 fast fma builtins, define the macros in the C99 standard.
30675 (FP_FAST_FMAF): Likewise.
30676 (FP_FAST_FMAL): Likewise.
30677 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30679 * bits/mathdef.h: Update copyright year.
30680 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30682 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30684 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30685 builtins, define the macros in the C99 standard.
30686 (FP_FAST_FMAF): Likewise.
30687 (FP_FAST_FMAL): Likewise.
30688 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30690 (FP_FAST_FMAF): Likewise.
30692 2010-10-15 Jakub Jelinek <jakub@redhat.com>
30695 * math/libm-test.inc (fma_test): Some new testcases.
30696 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30697 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30698 y and infinite z. Do multiplication by C already in long double.
30699 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30701 y and infinite z. Do bitwise or of inexact bit into u.d.
30702 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30703 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30704 * sysdeps/i386/fpu/s_fma.S: Removed.
30705 * sysdeps/i386/fpu/s_fmal.S: Removed.
30707 2010-10-16 Jakub Jelinek <jakub@redhat.com>
30710 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30712 computation is not scheduled after fetestexcept. Fix value
30713 of minimum denormal long double.
30715 2010-10-14 Jakub Jelinek <jakub@redhat.com>
30718 * math/libm-test.inc (fma_test): Add some more tests.
30719 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30722 2010-10-15 Andreas Schwab <schwab@redhat.com>
30724 * scripts/data/localplt-s390-linux-gnu.data: New file.
30725 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30727 2010-10-13 Jakub Jelinek <jakub@redhat.com>
30730 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30731 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30733 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30735 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30736 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30737 if one of x and y is very large and the other is subnormal.
30738 * sysdeps/s390/fpu/s_fmaf.c: New file.
30739 * sysdeps/s390/fpu/s_fma.c: New file.
30740 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30741 * sysdeps/powerpc/fpu/s_fma.S: New file.
30742 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30743 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30744 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30746 2010-10-12 Jakub Jelinek <jakub@redhat.com>
30749 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30751 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30752 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30753 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30754 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30755 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30756 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30757 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30759 2010-10-12 Ulrich Drepper <drepper@redhat.com>
30762 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30763 * posix/bug-regex31.input: Add test case.
30765 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30767 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30768 * posix/bug-regex31.input: New file.
30771 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30772 (parse_sub_exp): Fix last change, use postorder.
30774 * posix/bug-regex31.c: New file.
30775 * posix/Makefile: Add rules to build and run bug-regex31.
30777 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30780 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30783 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30784 to have entries in sys_siglist.
30787 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30790 2010-10-07 Jakub Jelinek <jakub@redhat.com>
30793 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30794 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30795 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30796 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30797 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30798 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30799 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30800 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30801 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30802 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30803 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30804 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30805 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30806 * math/ftestexcept.c (fetestexcept): Likewise.
30807 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30808 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30809 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30810 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30811 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30812 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30813 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30815 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30818 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30821 2010-10-06 Ulrich Drepper <drepper@gmail.com>
30823 * string/bug-strstr1.c: New file.
30824 * string/Makefile: Add rules to build and run bug-strstr1.
30826 2010-10-05 Eric Blake <eblake@redhat.com>
30829 * string/str-two-way.h (two_way_long_needle): Always clear memory
30830 when skipping input due to the shift table.
30832 2010-10-03 Ulrich Drepper <drepper@gmail.com>
30835 * malloc/mcheck.c: Handle large requests.
30838 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30839 for strncmp and strncasecmp.
30840 * string/stratcliff.c: Add tests for strcmp and strncmp.
30841 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30843 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30845 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30848 2010-09-30 Andreas Jaeger <aj@suse.de>
30850 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30851 (CGROUP_SUPER_MAGIC): Define.
30852 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30853 Handle btrfs and cgroup file systems.
30854 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30857 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
30859 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30860 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30862 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30865 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30866 trying to locate the ELF header.
30868 2010-09-27 Andreas Schwab <schwab@redhat.com>
30871 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30872 Mask out sign-bit copies when constructing f_fsid.
30874 2010-09-24 Petr Baudis <pasky@suse.cz>
30876 * debug/stack_chk_fail_local.c: Add missing licence exception.
30877 * debug/warning-nop.c: Likewise.
30879 2010-09-15 Joseph Myers <joseph@codesourcery.com>
30881 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30882 implementing getdents64 using getdents syscall, set d_type if
30883 __ASSUME_GETDENTS32_D_TYPE.
30885 2010-09-16 Andreas Schwab <schwab@redhat.com>
30887 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30888 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30890 2010-09-21 Ulrich Drepper <drepper@redhat.com>
30893 * posix/unistd.h: Undo change of feature selection for ftruncate from
30896 2010-09-20 Ulrich Drepper <drepper@redhat.com>
30898 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30901 2010-09-20 Andreas Schwab <schwab@redhat.com>
30903 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30905 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30907 2010-09-14 Andreas Schwab <schwab@redhat.com>
30909 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30910 variables after CHECK_SP call.
30911 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30913 2010-09-13 Andreas Schwab <schwab@redhat.com>
30914 Ulrich Drepper <drepper@redhat.com>
30916 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30917 re-relocationg ld.so.
30918 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30919 _dl_init_paths call.
30920 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30923 2010-09-14 Ulrich Drepper <drepper@redhat.com>
30925 * resolv/res_init.c (__res_vinit): Count the default server we added.
30927 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30928 Ulrich Drepper <drepper@redhat.com>
30931 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30932 (____longjmp_chk): Use %ebx for saving value across system call.
30935 2010-09-06 Andreas Schwab <schwab@redhat.com>
30937 * manual/Makefile: Don't mix pattern rules with normal rules.
30939 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30941 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30943 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30944 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30945 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30946 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30947 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30950 2010-09-04 Ulrich Drepper <drepper@redhat.com>
30953 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30954 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30956 2010-09-02 Ulrich Drepper <drepper@redhat.com>
30958 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30959 * sysdeps/x86_64/addmul_1.S: Likewise.
30960 * sysdeps/x86_64/lshift.S: Likewise.
30961 * sysdeps/x86_64/mul_1.S: Likewise.
30962 * sysdeps/x86_64/rshift.S: Likewise.
30963 * sysdeps/x86_64/sub_n.S: Likewise.
30964 * sysdeps/x86_64/submul_1.S: Likewise.
30966 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30968 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30969 Define __sched_param instead of SCHED_* and sched_param when
30970 <bits/sched.h> is included with __need_schedparam defined.
30971 * bits/sched.h [__need_schedparam]
30972 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30973 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30974 (__defined_schedparam): Define to 1.
30975 (__sched_param): New structure, identical to sched_param.
30976 (__need_schedparam): Undefine.
30978 2010-08-31 Mike Frysinger <vapier@gentoo.org>
30980 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30981 (epoll_create1): Declare.
30983 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30985 2010-08-31 Andreas Schwab <schwab@redhat.com>
30988 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30989 shifting retval into place.
30991 2010-09-01 Ulrich Drepper <drepper@redhat.com>
30993 * nis/rpcsvc/nis.h: Update copyright notice.
30994 * nis/rpcsvc/nis.x: Likewise.
30995 * nis/rpcsvc/nis_callback.h: Likewise.
30996 * nis/rpcsvc/nis_callback.x: Likewise.
30997 * nis/rpcsvc/nis_object.x: Likewise.
30998 * nis/rpcsvc/nis_tags.h: Likewise.
30999 * nis/rpcsvc/yp.h: Likewise.
31000 * nis/rpcsvc/yp.x: Likewise.
31001 * nis/rpcsvc/ypupd.h: Likewise.
31002 * nis/yp_xdr.c: Likewise.
31003 * nis/ypupdate_xdr.c: Likewise.
31005 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31006 mainly the body of pmap_getport. Add parameters to specify timeouts.
31007 (pmap_getport): Use __libc_rpc_getport.
31008 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31009 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31010 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31012 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31017 2010-08-27 Roland McGrath <roland@redhat.com>
31019 * sysdeps/i386/i686/multiarch/Makefile
31020 (CFLAGS-varshift.c): New variable.
31022 2010-08-27 Ulrich Drepper <drepper@redhat.com>
31024 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31025 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31027 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31029 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31031 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31033 * sysdeps/x86_64/strlen.S: Unroll the loop.
31034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31035 strlen-sse2 strlen-sse2-bsf.
31036 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31037 __strlen_no_bsf if bit_Slow_BSF is set.
31038 (__strlen_sse42): Removed.
31039 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31040 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31042 2010-08-25 Roland McGrath <roland@redhat.com>
31044 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31045 * sysdeps/x86_64/multiarch/varshift.c: New file.
31046 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31047 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31048 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31049 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31051 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31054 strlen-sse2 strlen-sse2-bsf.
31055 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31056 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31057 (__strlen_sse2): Removed.
31058 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31059 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31060 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31061 bit_Slow_BSF for Atom.
31062 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31063 (index_Slow_BSF): Define.
31064 (HAS_SLOW_BSF): Define.
31066 2010-08-25 Ulrich Drepper <drepper@redhat.com>
31069 * resolv/res_init.c (__res_vinit): When no server address at all
31070 is given default to loopback.
31072 2010-08-24 Roland McGrath <roland@redhat.com>
31074 * configure.in: Remove config-name.h generation.
31075 * configure: Regenerated.
31076 * config-name.in: File removed.
31077 * scripts/config-uname.sh: New file.
31078 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31079 ($(objdir)config-name.h): New target.
31081 * sunrpc/rpc_parse.h: Avoid nested comment.
31083 2010-08-24 Richard Henderson <rth@redhat.com>
31084 Ulrich Drepper <drepper@redhat.com>
31085 H.J. Lu <hongjiu.lu@intel.com>
31087 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31089 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31090 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31091 _mm_alignr_epi8 with _mm_loadu_si128.
31092 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31093 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31094 (__m128i_shift_right): Removed.
31095 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31096 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31097 * sysdeps/x86_64/multiarch/varshift.h: New file.
31098 * sysdeps/x86_64/multiarch/varshift.S: New file.
31100 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31102 * configure.in: Move assembler checks to before sysdep dir checking.
31104 2010-08-20 Petr Baudis <pasky@suse.cz>
31106 * LICENSES: Sync the sunrpc license.
31108 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31110 * sunrpc/auth_des.c: Update copyright notice once again.
31111 * sunrpc/auth_none.c: Likewise.
31112 * sunrpc/auth_unix.c: Likewise.
31113 * sunrpc/authdes_prot.c: Likewise.
31114 * sunrpc/authuxprot.c: Likewise.
31115 * sunrpc/bindrsvprt.c: Likewise.
31116 * sunrpc/clnt_gen.c: Likewise.
31117 * sunrpc/clnt_perr.c: Likewise.
31118 * sunrpc/clnt_raw.c: Likewise.
31119 * sunrpc/clnt_simp.c: Likewise.
31120 * sunrpc/clnt_tcp.c: Likewise.
31121 * sunrpc/clnt_udp.c: Likewise.
31122 * sunrpc/clnt_unix.c: Likewise.
31123 * sunrpc/des_crypt.c: Likewise.
31124 * sunrpc/des_soft.c: Likewise.
31125 * sunrpc/get_myaddr.c: Likewise.
31126 * sunrpc/getrpcport.c: Likewise.
31127 * sunrpc/key_call.c: Likewise.
31128 * sunrpc/key_prot.c: Likewise.
31129 * sunrpc/openchild.c: Likewise.
31130 * sunrpc/pm_getmaps.c: Likewise.
31131 * sunrpc/pm_getport.c: Likewise.
31132 * sunrpc/pmap_clnt.c: Likewise.
31133 * sunrpc/pmap_prot.c: Likewise.
31134 * sunrpc/pmap_prot2.c: Likewise.
31135 * sunrpc/pmap_rmt.c: Likewise.
31136 * sunrpc/rpc/auth.h: Likewise.
31137 * sunrpc/rpc/auth_unix.h: Likewise.
31138 * sunrpc/rpc/clnt.h: Likewise.
31139 * sunrpc/rpc/des_crypt.h: Likewise.
31140 * sunrpc/rpc/key_prot.h: Likewise.
31141 * sunrpc/rpc/netdb.h: Likewise.
31142 * sunrpc/rpc/pmap_clnt.h: Likewise.
31143 * sunrpc/rpc/pmap_prot.h: Likewise.
31144 * sunrpc/rpc/pmap_rmt.h: Likewise.
31145 * sunrpc/rpc/rpc.h: Likewise.
31146 * sunrpc/rpc/rpc_des.h: Likewise.
31147 * sunrpc/rpc/rpc_msg.h: Likewise.
31148 * sunrpc/rpc/svc.h: Likewise.
31149 * sunrpc/rpc/svc_auth.h: Likewise.
31150 * sunrpc/rpc/types.h: Likewise.
31151 * sunrpc/rpc/xdr.h: Likewise.
31152 * sunrpc/rpc_clntout.c: Likewise.
31153 * sunrpc/rpc_cmsg.c: Likewise.
31154 * sunrpc/rpc_common.c: Likewise.
31155 * sunrpc/rpc_cout.c: Likewise.
31156 * sunrpc/rpc_dtable.c: Likewise.
31157 * sunrpc/rpc_hout.c: Likewise.
31158 * sunrpc/rpc_main.c: Likewise.
31159 * sunrpc/rpc_parse.c: Likewise.
31160 * sunrpc/rpc_parse.h: Likewise.
31161 * sunrpc/rpc_prot.c: Likewise.
31162 * sunrpc/rpc_sample.c: Likewise.
31163 * sunrpc/rpc_scan.c: Likewise.
31164 * sunrpc/rpc_scan.h: Likewise.
31165 * sunrpc/rpc_svcout.c: Likewise.
31166 * sunrpc/rpc_tblout.c: Likewise.
31167 * sunrpc/rpc_util.c: Likewise.
31168 * sunrpc/rpc_util.h: Likewise.
31169 * sunrpc/rpcinfo.c: Likewise.
31170 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31171 * sunrpc/rpcsvc/key_prot.x: Likewise.
31172 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31173 * sunrpc/rpcsvc/mount.x: Likewise.
31174 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31175 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31176 * sunrpc/rpcsvc/rex.x: Likewise.
31177 * sunrpc/rpcsvc/rstat.x: Likewise.
31178 * sunrpc/rpcsvc/rusers.x: Likewise.
31179 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31180 * sunrpc/rpcsvc/spray.x: Likewise.
31181 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31182 * sunrpc/rtime.c: Likewise.
31183 * sunrpc/svc.c: Likewise.
31184 * sunrpc/svc_auth.c: Likewise.
31185 * sunrpc/svc_authux.c: Likewise.
31186 * sunrpc/svc_raw.c: Likewise.
31187 * sunrpc/svc_run.c: Likewise.
31188 * sunrpc/svc_simple.c: Likewise.
31189 * sunrpc/svc_tcp.c: Likewise.
31190 * sunrpc/svc_udp.c: Likewise.
31191 * sunrpc/svc_unix.c: Likewise.
31192 * sunrpc/svcauth_des.c: Likewise.
31193 * sunrpc/xcrypt.c: Likewise.
31194 * sunrpc/xdr.c: Likewise.
31195 * sunrpc/xdr_array.c: Likewise.
31196 * sunrpc/xdr_float.c: Likewise.
31197 * sunrpc/xdr_mem.c: Likewise.
31198 * sunrpc/xdr_rec.c: Likewise.
31199 * sunrpc/xdr_ref.c: Likewise.
31200 * sunrpc/xdr_sizeof.c: Likewise.
31201 * sunrpc/xdr_stdio.c: Likewise.
31203 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31206 2010-08-19 Andreas Schwab <schwab@redhat.com>
31208 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31210 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31212 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31213 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31214 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31215 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31216 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31217 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31218 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31219 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31220 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31221 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31222 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31223 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31224 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31225 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31227 2010-07-26 Anton Blanchard <anton@samba.org>
31229 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31230 * malloc/arena.c (heap_trim): Likewise.
31232 2010-08-16 Ulrich Drepper <drepper@redhat.com>
31234 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31236 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31237 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31239 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31241 * sysdeps/i386/elf/Makefile: New file.
31243 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31245 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31246 from fanotify_init.
31247 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31248 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31250 2010-08-15 Ulrich Drepper <drepper@redhat.com>
31252 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31254 * sysdeps/multiarch/strcmp.S: Likewise.
31256 2010-08-14 Ulrich Drepper <drepper@redhat.com>
31258 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31259 strncase_l-nonascii.
31260 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31261 Add strncase_l-ssse3.
31262 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31263 * sysdeps/x86_64/strcmp.S: Likewise.
31264 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31265 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31266 * sysdeps/x86_64/strncase.S: New file.
31267 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31268 * sysdeps/x86_64/strncase_l.S: New file.
31269 * string/Makefile (strop-tests): Add strncasecmp.
31270 * string/test-strncasecmp.c: New file.
31272 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31275 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31276 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31278 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31280 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31282 2010-08-12 Ulrich Drepper <drepper@redhat.com>
31284 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31285 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31286 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31288 2010-05-01 Alan Modra <amodra@gmail.com>
31290 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31291 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31292 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31293 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31294 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31295 tidying. Don't tail-call __sigjmp_save for static lib.
31296 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31298 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31299 (CALL_MCOUNT): Add eh info, and nop after bl.
31300 (TAIL_CALL_SYSCALL_ERROR): New macro.
31301 (PSEUDO_RET): Use it.
31302 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31303 Correct save location of integer regs and cr.
31304 (_dl_profile_resolve): Correct cr save location. Delete nops
31305 after bl when SHARED. Reduce cfi size a little by better
31306 placement of cfi directives.
31307 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31308 make a stack frame. Instead use parm save area as a temp.
31309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31310 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31312 Don't make a stack frame for parent, use parm save area.
31313 Increase child stack frame to 112 bytes. Don't save unused reg,
31314 and adjust reg usage. Set up cfi on error recovery and
31315 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31317 (__makecontext): Add dummy nop after jump to exit.
31318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31319 Use correct parm save area and cr save, reduce stack frame.
31320 Correct cfi for possible PSEUDO_RET frame setup.
31321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31322 Branch to local label emitted by PSEUDO_RET rather than
31325 2010-08-12 Andreas Schwab <schwab@redhat.com>
31328 * locale/programs/locale.c (print_assignment): New function.
31329 (show_locale_vars): Use it.
31331 2010-08-11 Ulrich Drepper <drepper@redhat.com>
31333 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31335 (struct statfs64): Likewise.
31336 (_STATFS_F_FLAGS): Define.
31337 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31338 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31339 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31340 (ST_VALID): Define locally.
31341 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31342 __statvfs_getflags, use the provided value.
31343 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31344 __ASSUME_STATFS_F_FLAGS.
31346 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31348 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31349 Add sys/fanotify.h.
31350 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31351 fanotify_mask for GLIBC_2.13.
31352 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31353 fanotify_init and fanotify_mark.
31354 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31355 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31357 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31359 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31360 prlimit64 for GLIBC_2.13.
31361 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31366 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31367 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31368 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31369 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31371 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31374 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31375 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31377 * nss/Makefile: Add rules to build and run tst-nss-test1.
31378 * shlib-versions: Add entry for libnss_test1.
31379 * nss/nss_test1.c: New file.
31380 * nss/tst-nss-test1.c: New file.
31382 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31383 (__nss_configure_lookup): Set appropriate entry in
31384 __nss_configure_lookup to true.
31385 * nss/nsswitch.h: Define enum with indeces of databases in
31386 databases and __nss_database_custom arrays. Declare
31387 __nss_database_custom.
31388 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31389 to avoid using nscd when custom rules are installed.
31390 * nss/getXXbyYY_r.c: Likewise.
31391 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31393 * nss/nss_files/files-parse.c: Whitespace fixes.
31395 2010-08-09 Ulrich Drepper <drepper@redhat.com>
31398 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31399 * posix/fnmatch_loop.c: Likewise.
31401 2010-07-17 Andi Kleen <ak@linux.intel.com>
31403 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31404 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31405 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31406 * Versions.def [GLIBC_2.13]: Add.
31408 2010-08-06 Ulrich Drepper <drepper@redhat.com>
31410 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31411 Also fail if tpwd after pwuid call is NULL.
31413 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31415 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31416 when converting to ms.
31418 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31420 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31421 EOPNOTSUPP errors with ENOTTY.
31422 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31423 EOPNOTSUPP errors with ENOTTY.
31425 2010-07-31 Ulrich Drepper <drepper@redhat.com>
31427 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31428 Add strcasecmp_l-ssse3.
31429 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31431 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31432 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31433 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31435 2010-07-30 Ulrich Drepper <drepper@redhat.com>
31437 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31439 * string/Makefile (strop-tests): Add strcasecmp.
31440 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31441 strcasecmp_l-nonascii.
31442 (gen-as-const-headers): Add locale-defines.sym.
31443 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31444 * sysdeps/x86_64/strcasecmp.S: New file.
31445 * sysdeps/x86_64/strcasecmp_l.S: New file.
31446 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31447 * sysdeps/x86_64/locale-defines.sym: New file.
31448 * string/test-strcasecmp.c: New file.
31450 * string/test-strcasestr.c: Test both ends of the range of characters.
31451 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31453 2010-07-29 Roland McGrath <roland@redhat.com>
31456 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31458 2010-07-27 Ulrich Drepper <drepper@redhat.com>
31460 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31463 2010-07-27 Andreas Schwab <schwab@redhat.com>
31465 * manual/memory.texi (Malloc Tunable Parameters): Document
31468 2010-07-26 Roland McGrath <roland@redhat.com>
31471 * configure.in (-fgnu89-inline check): Set and substitute
31472 gnu89_inline, not libc_cv_gnu89_inline.
31473 * configure: Regenerated.
31474 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31476 2010-07-26 Ulrich Drepper <drepper@redhat.com>
31478 * string/test-strnlen.c: New file.
31479 * string/Makefile (strop-tests): Add strnlen.
31480 * string/tester.c (test_strnlen): Add a few more test cases.
31481 * string/tst-strlen.c: Better error reporting.
31483 * sysdeps/x86_64/strnlen.S: New file.
31485 2010-07-24 Ulrich Drepper <drepper@redhat.com>
31487 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31488 lower-latency instructions.
31490 2010-07-23 Ulrich Drepper <drepper@redhat.com>
31492 * string/test-strcasestr.c: New file.
31493 * string/test-strstr.c: New file.
31494 * string/Makefile (strop-tests): Add strstr and strcasestr.
31495 * string/str-two-way.h: Don't undefine MAX.
31496 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31498 2010-07-21 Andreas Schwab <schwab@redhat.com>
31500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31501 strcasestr-nonascii.
31502 (CFLAGS-strcasestr-nonascii.c): Define.
31503 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31504 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31505 Remove unused attribute.
31507 2010-07-20 Roland McGrath <roland@redhat.com>
31509 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31510 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31511 ld.so.cache was broken. With it, there is no way to disable dsocaps
31512 like LD_HWCAP_MASK can disable hwcaps.
31514 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31516 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31518 2010-07-16 Ulrich Drepper <drepper@redhat.com>
31520 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31521 call in strcasestr.
31522 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31523 __strcasestr_sse42_nonascii.
31524 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31525 strcasestr-nonascii.c.
31526 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31528 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
31530 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31531 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31532 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31533 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31535 2010-07-09 Ulrich Drepper <drepper@redhat.com>
31537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31540 2010-07-06 Andreas Schwab <schwab@redhat.com>
31543 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31546 2010-07-06 Ulrich Drepper <drepper@redhat.com>
31548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31549 _PC_PIPE_BUF using F_GETPIPE_SZ.
31551 2010-07-05 Roland McGrath <roland@redhat.com>
31553 * manual/arith.texi (Rounding Functions): Fix rint description
31554 implicit in round description.
31556 2010-07-02 Ulrich Drepper <drepper@redhat.com>
31558 * elf/Makefile: Fix linking for a few tests to make recent linker
31561 2010-06-30 Andreas Schwab <schwab@redhat.com>
31563 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31564 $(common-objpfx)libc_nonshared.a.
31566 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
31568 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31569 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31570 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31571 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31572 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31573 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31574 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31575 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31590 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31591 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31592 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31593 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31594 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31595 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31596 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31597 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31598 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31599 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31600 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31601 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31617 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31619 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31620 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31621 * string/memmove.c (memmove): Renamed to ...
31622 (MEMMOVE): ...this. Default to memmove.
31623 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31624 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31627 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31628 mempcpy-ssse3-back memmove-ssse3-back.
31629 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31630 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31631 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31632 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31633 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31634 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31635 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31636 * sysdeps/x86_64/multiarch/memmove.c: New file.
31637 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31638 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31639 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31640 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31641 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31642 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31644 (index_Fast_Copy_Backward): Define.
31645 (HAS_ARCH_FEATURE): Define.
31646 (HAS_FAST_REP_STRING): Define.
31647 (HAS_FAST_COPY_BACKWARD): Define.
31649 2010-06-21 Andreas Schwab <schwab@redhat.com>
31651 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31652 Restore proper fallback handling.
31654 2010-06-19 Ulrich Drepper <drepper@redhat.com>
31657 * posix/group_member.c (__group_member): Correct checking loop.
31659 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31660 OOM in getpwuid_r correctly. Return error number when the caller
31661 should return, otherwise -1.
31662 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31663 call returning > 0 value.
31664 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31666 2010-06-07 Andreas Schwab <schwab@redhat.com>
31668 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31669 libc_nonshared.a from targets in modules-names.
31671 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31673 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31676 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
31678 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31679 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31680 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31681 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31683 2010-06-02 Andreas Schwab <schwab@redhat.com>
31685 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31687 2010-06-14 Ulrich Drepper <drepper@redhat.com>
31689 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31691 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31692 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31694 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31695 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31696 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31698 2010-06-14 Roland McGrath <roland@redhat.com>
31700 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31702 2010-06-07 Jakub Jelinek <jakub@redhat.com>
31704 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31705 __REDIRECT followed by __THROW.
31706 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31707 * posix/getopt.h (getopt): Likewise.
31709 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31711 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31712 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31713 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31715 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31716 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31718 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
31720 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31722 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31725 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31726 Properly check family and model.
31728 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31730 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31732 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
31734 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31736 2010-05-21 Ulrich Drepper <drepper@redhat.com>
31738 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31741 2010-05-19 Andreas Schwab <schwab@redhat.com>
31743 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31746 2010-05-21 Andreas Schwab <schwab@redhat.com>
31748 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31749 and internal_recvmmsg.
31750 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31751 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31752 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31753 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31755 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31756 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31757 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31759 2010-05-20 Andreas Schwab <schwab@redhat.com>
31761 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31763 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
31765 POWER7 optimizations.
31766 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31767 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31769 2010-05-19 Ulrich Drepper <drepper@redhat.com>
31771 * version.h: Update for 2.13 development version.
31773 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
31775 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31776 exceptions. Return 0.
31778 2010-05-07 Roland McGrath <roland@redhat.com>
31780 * elf/ldconfig.c (main): Add a const.
31782 2010-05-06 Ulrich Drepper <drepper@redhat.com>
31784 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31785 (args_options): Add no-idn option.
31786 (ahosts_keys_int): Add idn_flags to ai_flags.
31787 (parse_option): Handle 'i' option to clear idn_flags.
31789 * malloc/malloc.c (_int_free): Possible race in the most recently
31790 added check. Only act on the data if no current modification
31793 See ChangeLog.17 for earlier changes.