1 2013-06-22 Joseph Myers <joseph@codesourcery.com>
3 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
6 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
7 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
9 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13 (DL_DST_REQ_STATIC): Remove macro.
15 2013-06-21 Joseph Myers <joseph@codesourcery.com>
18 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
19 with a shift of 0 bits.
21 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
31 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
34 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
35 accepts -fno-tree-loop-distribute-patterns.
36 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
37 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
39 * string/memset.c (memset): Likewise.
40 * string/test-memmove.c (simple_memmove): Disable loop transformation
42 * string/test-memset.c (simple_memset): Likewise.
43 * benchtests/bench-memmove.c (simple_memmove): Likewise.
44 * benchtests/bench-memset.c (simple_memset): Likewise.
45 * configure: Regenerated.
47 2013-06-20 Joseph Myers <joseph@codesourcery.com>
49 * math/test-misc.c (main): Ignore fesetround failure when failures
50 of subsequent rounding tests would be ignored.
53 * math/fedisblxcpt.c (fedisableexcept): Return 0.
54 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
55 * math/fegetenv.c (__fegetenv): Return 0.
56 * math/fegetexcept.c (fegetexcept): Return 0.
57 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
59 * math/feholdexcpt.c (feholdexcept): Return 0.
60 * math/fesetenv.c (__fesetenv): Return 0.
61 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
62 argument FE_TONEAREST.
63 * math/feupdateenv.c (__feupdateenv): Return 0.
64 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
66 2013-06-18 Roland McGrath <roland@hack.frob.com>
68 * elf/rtld-Rules (rtld-compile-command.S): New variable.
69 (rtld-compile-command.s, rtld-compile-command.c): New variables.
70 ($(objpfx)rtld-%.os rules): Use them.
72 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
77 2013-06-17 Roland McGrath <roland@hack.frob.com>
79 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
80 length of target pattern, then descending length of dependency pattern.
81 * configure.in (AWK): Require gawk 3.1.2 or newer.
82 * manual/install.texi (Tools for Compilation): Say that we do.
83 * configure: Regenerated.
85 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
86 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
87 * scripts/sysd-rules.awk: ... this new script.
88 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
89 than a glob-style pattern.
91 2013-06-17 Joseph Myers <joseph@codesourcery.com>
93 * math/test-misc.c (main): Do not treat incorrectly rounded
94 conversions as failure unless ROUNDING_TESTS passes.
96 2013-06-15 Joseph Myers <joseph@codesourcery.com>
99 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
100 restore exception state around main square root computation, then
101 check for inexactness explicitly.
103 * math/libm-test.inc (fma_test_data): Add another test.
105 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
107 * manual/threads.texi (Non-POSIX Extensions): New document
108 node. Document pthread_getattr_default_np and
109 pthread_setattr_default_np.
111 * Versions.def (libpthread): Add GLIBC_2.18.
112 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
121 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
132 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
135 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
137 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
138 H.J. Lu <hjl.tools@gmail.com>
141 * sysdeps/x86_64/rtld-memset.c: Remove file.
142 * sysdeps/x86_64/rtld-memset.S: New file.
144 2013-06-14 Joseph Myers <joseph@codesourcery.com>
146 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
147 (test_in_one_mode): Take arguments for whether the rounding mode
148 is supported for each floating-point type.
149 (do_test): Pass new arguments to test_in_one_mode using
152 2013-06-13 Roland McGrath <roland@hack.frob.com>
154 * posix/tst-waitid.c (do_test): Distinguish different instances of
155 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
156 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
157 before entering the kernel for waitpid.
159 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
161 * NEWS: Fix note on clock function precision. Text by Roland
164 2013-06-13 Roland McGrath <roland@hack.frob.com>
166 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
167 it into place only when and if the sanity check passes.
169 2013-06-13 Joseph Myers <joseph@codesourcery.com>
171 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
172 output for whether conversion result is exact. Take argument
173 indicating whether type is IBM long double.
174 (round_for_all): Change need_exact field to ibm_ld.
175 * stdlib/tst-strtod-round.c (struct exactness): New type.
176 (struct test): Change bool ld_ok field to struct exactness exact.
177 (TEST): Update all definitions for change to field.
178 (tests): Regenerate array contents.
179 (test_in_one_mode): Take pointer to new field instead of old ld_ok
180 field value. Check for IBM long double here.
181 (do_test): Update calls to test_in_one_mode.
183 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
186 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
187 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
189 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
193 generated by the compiler on loop optimizations.
194 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
197 2013-06-12 Joseph Myers <joseph@codesourcery.com>
199 * math/bug-nextafter.c: Include <math-tests.h>.
200 (main): Only test for exceptions if EXCEPTION_TESTS is true for
202 * math/bug-nexttoward.c: Include <math-tests.h>.
203 (main): Only test for exceptions if EXCEPTION_TESTS is true for
205 * math/test-misc.c: Include <math-tests.h>.
206 (main): Only test for exceptions if EXCEPTION_TESTS is true for
209 2013-06-12 Andreas Jaeger <aj@suse.de>
211 * po/ia.po: Update Interlingua translation from translation
214 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
216 * include/fenv.h: Include stdbool.h.
217 (struct rm_ctx): New structure.
218 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
220 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
221 (SET_RESTORE_ROUNDF): Likewise.
222 (SET_RESTORE_ROUNDL): Likewise.
223 (SET_RESTORE_ROUND_NOEX): Likewise.
224 (SET_RESTORE_ROUND_NOEXF): Likewise.
225 (SET_RESTORE_ROUND_NOEXL): Likewise.
226 (SET_RESTORE_ROUND_53BIT): Likewise.
227 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
228 (libc_feresetround_noexf_ctx): Likewise.
229 (libc_feresetround_noexl_ctx): Likewise.
230 (libc_feholdsetround_53bit_ctx): Likewise.
231 (libc_feresetround_53bit_ctx): Likewise.
232 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
233 (libc_feholdexcept_setround_sse_ctx): New function.
234 (libc_fesetenv_sse_ctx): Likewise.
235 (libc_feupdateenv_sse_ctx): Likewise.
236 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
237 (libc_feholdexcept_setround_387_ctx): Likewise.
238 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
239 (libc_feholdsetround_387_prec_ctx): Likewise.
240 (libc_feholdsetround_387_ctx): Likewise.
241 (libc_feholdsetround_387_53bit_ctx): Likewise.
242 (libc_feholdsetround_sse_ctx): Likewise.
243 (libc_feresetround_sse_ctx): Likewise.
244 (libc_feresetround_387_ctx): Likewise.
245 (libc_feupdateenv_387_ctx): Likewise.
246 (libc_feholdexcept_setroundf_ctx): Define macro.
247 (libc_fesetenvf_ctx): Likewise.
248 (libc_feupdateenvf_ctx): Likewise.
249 (libc_feholdsetroundf_ctx): Likewise.
250 (libc_feresetroundf_ctx): Likewise.
251 (libc_feholdexcept_setround_ctx): Likewise.
252 (libc_fesetenv_ctx): Likewise.
253 (libc_feupdateenv_ctx): Likewise.
254 (libc_feholdsetround_ctx): Likewise.
255 (libc_feresetround_ctx): Likewise.
256 (libc_feholdexcept_setroundl_ctx): Likewise.
257 (libc_feupdateenvl_ctx): Likewise.
258 (libc_feholdsetroundl_ctx): Likewise.
259 (libc_feresetroundl_ctx): Likewise.
260 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
261 (libc_feresetround_53bit_ctx): Likewise.
263 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
265 * locale/iso-639.def: Convert to UTF-8.
267 2013-06-11 Joseph Myers <joseph@codesourcery.com>
269 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
270 (EXCEPTION_TESTS_double): Likewise.
271 (EXCEPTION_TESTS_long_double): Likewise.
272 (EXCEPTION_TESTS): Likewise.
273 * math/libm-test.inc (test_exceptions): Only test exceptions if
274 EXCEPTION_TESTS (FLOAT).
276 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
278 * benchtests/Makefile (string-bench): Add strcpy_chk and
280 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
281 * benchtests/bench-stpcpy_chk.c: New file.
282 * benchtests/bench-strcpy_chk-ifunc.c: New file.
283 * benchtests/bench-strcpy_chk.c: New file.
284 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
288 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
290 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
291 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
292 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
293 with tabs where appropriate.
294 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
296 [PPC_PLATFORM_PPC440]: Likewise.
297 [PPC_PLATFORM_PPC464]: Likewise.
298 [PPC_PLATFORM_PPC476]: Likewise.
299 (_dl_string_platform): Add support for detecting ppc405, ppc440,
300 ppc464, and ppc476 platform strings merging from ports/
303 2013-06-11 Andreas Schwab <schwab@suse.de>
306 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
307 (from_ucs4_idx): Regenerate.
308 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
309 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
310 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
311 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
312 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
313 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
314 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
315 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
316 from FROM_LOOP and TO_LOOP specific macros.
317 (BODY): Handle combining characters.
318 * iconvdata/BIG5HKSCS.irreversible: Update.
319 * iconvdata/BIG5HKSCS.precomposed: New file.
320 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
322 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
324 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
326 * include/sys/time.h: Fix indentation and add copyright header.
328 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
330 * string/test-memchr.c (do_one_test): Likewise.
332 * string/test-memcmp.c (do_one_test): Likewise.
334 * string/test-memcpy.c (do_one_test): Likewise.
336 * string/test-memmem.c (do_one_test): Likewise.
338 (do_random_tests): Likewise.
339 * string/test-memmove.c (do_one_test): Likewise.
341 * string/test-memset.c (do_one_test): Likewise.
343 * string/test-rawmemchr.c (do_one_test): Likewise.
345 * string/test-strcasecmp.c (do_one_test): Likewise.
347 * string/test-strcasestr.c (do_one_test): Likewise.
349 * string/test-strcat.c (do_one_test): Likewise.
351 * string/test-strchr.c (do_one_test): Likewise.
353 * string/test-strcmp.c (do_one_test): Likewise.
355 * string/test-strcpy.c (do_one_test): Likewise.
357 * string/test-string.h: Likewise.
358 (test_init): Likewise.
359 * string/test-strlen.c (do_one_test): Likewise.
361 * string/test-strncasecmp.c (do_one_test): Likewise.
363 * string/test-strncat.c (do_one_test): Likewise.
365 * string/test-strncmp.c (do_one_test): Likewise.
366 (do_test_limit): Likewise.
368 * string/test-strncpy.c (do_one_test): Likewise.
370 * string/test-strnlen.c (do_one_test): Likewise.
372 * string/test-strpbrk.c (do_one_test): Likewise.
374 * string/test-strrchr.c (do_one_test): Likewise.
376 * string/test-strspn.c (do_one_test): Likewise.
378 * string/test-strstr.c (do_one_test): Likewise.
381 * benchtests/Makefile (string-bench): Add string benchmarks.
382 * benchtests/bench-bcopy-ifunc.c: New file.
383 * benchtests/bench-bcopy.c: New file.
384 * benchtests/bench-bzero-ifunc.c: New file.
385 * benchtests/bench-bzero.c: New file.
386 * benchtests/bench-memccpy-ifunc.c: New file.
387 * benchtests/bench-memccpy.c: New file.
388 * benchtests/bench-memchr-ifunc.c: New file.
389 * benchtests/bench-memchr.c: New file.
390 * benchtests/bench-memcmp-ifunc.c: New file.
391 * benchtests/bench-memcmp.c: New file.
392 * benchtests/bench-memmem-ifunc.c: New file.
393 * benchtests/bench-memmem.c: New file.
394 * benchtests/bench-memmove-ifunc.c: New file.
395 * benchtests/bench-memmove.c: New file.
396 * benchtests/bench-mempcpy-ifunc.c: New file.
397 * benchtests/bench-mempcpy.c: New file.
398 * benchtests/bench-memset-ifunc.c: New file.
399 * benchtests/bench-memset.c: New file.
400 * benchtests/bench-rawmemchr-ifunc.c: New file.
401 * benchtests/bench-rawmemchr.c: New file.
402 * benchtests/bench-stpcpy-ifunc.c: New file.
403 * benchtests/bench-stpcpy.c: New file.
404 * benchtests/bench-stpncpy-ifunc.c: New file.
405 * benchtests/bench-stpncpy.c: New file.
406 * benchtests/bench-strcasecmp-ifunc.c: New file.
407 * benchtests/bench-strcasecmp.c: New file.
408 * benchtests/bench-strcasestr-ifunc.c: New file.
409 * benchtests/bench-strcasestr.c: New file.
410 * benchtests/bench-strcat-ifunc.c: New file.
411 * benchtests/bench-strcat.c: New file.
412 * benchtests/bench-strchr-ifunc.c: New file.
413 * benchtests/bench-strchr.c: New file.
414 * benchtests/bench-strchrnul-ifunc.c: New file.
415 * benchtests/bench-strchrnul.c: New file.
416 * benchtests/bench-strcmp-ifunc.c: New file.
417 * benchtests/bench-strcmp.c: New file.
418 * benchtests/bench-strcpy-ifunc.c: New file.
419 * benchtests/bench-strcpy.c: New file.
420 * benchtests/bench-strcspn-ifunc.c: New file.
421 * benchtests/bench-strcspn.c: New file.
422 * benchtests/bench-strlen-ifunc.c: New file.
423 * benchtests/bench-strlen.c: New file.
424 * benchtests/bench-strncasecmp-ifunc.c: New file.
425 * benchtests/bench-strncasecmp.c: New file.
426 * benchtests/bench-strncat-ifunc.c: New file.
427 * benchtests/bench-strncat.c: New file.
428 * benchtests/bench-strncmp-ifunc.c: New file.
429 * benchtests/bench-strncmp.c: New file.
430 * benchtests/bench-strncpy-ifunc.c: New file.
431 * benchtests/bench-strncpy.c: New file.
432 * benchtests/bench-strnlen-ifunc.c: New file.
433 * benchtests/bench-strnlen.c: New file.
434 * benchtests/bench-strpbrk-ifunc.c: New file.
435 * benchtests/bench-strpbrk.c: New file.
436 * benchtests/bench-strrchr-ifunc.c: New file.
437 * benchtests/bench-strrchr.c: New file.
438 * benchtests/bench-strspn-ifunc.c: New file.
439 * benchtests/bench-strspn.c: New file.
440 * benchtests/bench-strstr-ifunc.c: New file.
441 * benchtests/bench-strstr.c: New file.
443 * benchtests/Makefile: Disable parallel execution of targets.
444 (string-bench): Add memcpy.
445 (benchset): New variable to store a list of benchmark sets.
446 (bench-func): Renamed from bench.
447 (bench-set): New target.
448 (bench): Depend on bench-func and bench-set.
449 * benchtests/README: Add section on benchmark sets.
450 * benchtests/bench-memcpy-ifunc.c: New file.
451 * benchtests/bench-memcpy.c: New file.
452 * benchtests/bench-string.h: New file.
454 2013-06-11 Andreas Schwab <schwab@suse.de>
457 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
458 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
459 values in the triple.
460 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
461 terminator in the group key.
463 2013-06-11 Andreas Jaeger <aj@suse.de>
465 * po/zh_TW.po: Update Chinese (traditional) translation from
468 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
470 * include/time.h (__clock_gettime): Add libc_hidden_proto.
471 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
472 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
473 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
474 (clock_getcpuclockid): Likewise.
475 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
476 Add weak_alias and libc_hidden_def.
477 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
478 * rt/clock_gettime.c (clock_gettime): Rename to
479 __clock_gettime. Add weak_alias and libc_hidden_def.
480 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
481 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
482 __clock_nanosleep. Add weak_alias and libc_hidden_def.
483 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
484 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
486 * rt/clock_settime.c (clock_settime): Rename to
487 __clock_settime. Add weak_alias and libc_hidden_def.
488 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
490 2013-06-10 Joseph Myers <joseph@codesourcery.com>
492 * mach/err_boot.sub: Remove trailing whitespace.
493 * mach/err_ipc.sub: Likewise.
494 * mach/err_mach.sub: Likewise.
496 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
497 (ROUNDING_TESTS_double): Likewise.
498 (ROUNDING_TESTS_long_double): Likewise.
499 (ROUNDING_TESTS): Likewise.
500 * math/libm-test.inc: Include <math-tests.h>.
501 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
502 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
503 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
504 (IF_ROUND_INIT_FE_UPWARD): Likewise.
506 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
508 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
511 2013-06-08 Joseph Myers <joseph@codesourcery.com>
513 * sysdeps/gnu/errlist.awk: Do not generate space at end of
514 otherwise empty TRANS lines.
515 * sysdeps/gnu/errlist.c: Regenerated.
517 * catgets/gencat.c (error_print): Use (void) in function
519 * crypt/crypt_util.c (__init_des): Likewise.
520 * crypt/speeds.c (Stop): Likewise.
522 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
523 * inet/ruserpass.c (token): Likewise.
524 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
525 * intl/localealias.c (extend_alias_table): Likewise.
526 * intl/plural-exp.c (init_germanic_plural): Likewise.
527 * libio/fcloseall.c (__fcloseall): Likewise.
528 * libio/genops.c (_IO_flush_all): Likewise.
529 (_IO_flush_all_linebuffered): Likewise.
530 (_IO_cleanup): Likewise.
531 (_IO_iter_begin): Likewise.
532 (_IO_iter_end): Likewise.
533 (_IO_list_lock): Likewise.
534 (_IO_list_unlock): Likewise.
535 (_IO_list_resetlock): Likewise.
536 * libio/getchar.c (getchar): Likewise.
537 * libio/getchar_u.c (getchar_unlocked): Likewise.
538 * libio/getwchar.c (getwchar): Likewise.
539 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
540 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
541 * login/getpt.c (__getpt): Likewise.
542 * login/tst-utmp.c (main): Likewise.
543 * malloc/hooks.c (__malloc_check_init): Likewise.
544 * malloc/malloc.c (__malloc_stats): Likewise.
545 * malloc/mtrace.c (tr_break): Likewise.
547 (muntrace): Likewise.
548 * misc/fstab.c (endfsent): Likewise.
549 * misc/getclktck.c (__getclktck): Likewise.
550 * misc/getdtsz.c (__getdtablesize): Likewise.
551 * misc/gethostid.c (gethostid): Likewise.
552 * misc/getpagesize.c (__getpagesize): Likewise.
553 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
554 (__get_nprocs): Likewise.
555 (__get_phys_pages): Likewise.
556 (__get_avphys_pages): Likewise.
557 * misc/getttyent.c (getttyent): Likewise.
558 (setttyent): Likewise.
559 (endttyent): Likewise.
560 * misc/getusershell.c (getusershell): Likewise.
561 (endusershell): Likewise.
562 (setusershell): Likewise.
563 (initshells): Likewise.
564 * misc/hsearch.c (__hdestroy): Likewise.
565 * misc/sync.c (sync): Likewise.
566 * misc/syslog.c (closelog_internal): Likewise.
567 (closelog): Likewise.
568 * misc/ttyslot.c (ttyslot): Likewise.
569 * misc/vhangup.c (vhangup): Likewise.
570 * posix/fork.c (__fork): Likewise.
571 * posix/getegid.c (__getegid): Likewise.
572 * posix/geteuid.c (__geteuid): Likewise.
573 * posix/getgid.c (__getgid): Likewise.
574 * posix/getpid.c (__getpid): Likewise.
575 * posix/getppid.c (__getppid): Likewise.
576 * posix/getuid.c (__getuid): Likewise.
577 * posix/pause.c (pause): Likewise.
578 * posix/setpgrp.c (setpgrp): Likewise.
579 * posix/setsid.c (__setsid): Likewise.
580 * posix/test-vfork.c (noop): Likewise.
581 * resolv/gethnamaddr.c (_endhtent): Likewise.
582 (_gethtent): Likewise.
583 (ht_endhostent): Likewise.
584 (gethostent): Likewise.
585 (dns_service): Likewise.
586 * stdlib/drand48.c (drand48): Likewise.
587 * stdlib/lrand48.c (lrand48): Likewise.
588 * stdlib/mrand48.c (mrand48): Likewise.
589 * stdlib/rand.c (rand): Likewise.
590 * stdlib/random.c (__random): Likewise.
591 * stdlib/setenv.c (clearenv): Likewise.
592 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
593 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
594 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
595 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
596 (__get_nprocs): Likewise.
597 (__get_phys_pages): Likewise.
598 (__get_avphys_pages): Likewise.
599 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
600 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
601 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
602 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
603 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
604 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
605 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
606 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
607 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
608 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
609 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
610 * sysdeps/mach/hurd/sync.c (sync): Likewise.
611 * sysdeps/posix/clock.c (clock): Likewise.
612 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
613 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
614 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
615 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
616 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
617 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
618 (__get_nprocs_conf): Likewise.
619 (__get_phys_pages): Likewise.
620 (__get_avphys_pages): Likewise.
621 * time/clock.c (clock): Likewise.
622 * time/tzset.c (__tzname_max): Likewise.
624 2013-06-07 Joseph Myers <joseph@codesourcery.com>
626 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
627 (__bswap_32): Do not use "register".
628 * crypt/crypt.c (_ufc_doit_r): Likewise.
629 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
630 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
631 * gmon/gmon.c (__monstartup): Likewise.
632 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
633 * hurd/hurdmalloc.c (more_memory): Likewise.
637 (malloc_fork_prepare): Likewise.
638 (malloc_fork_parent): Likewise.
639 (malloc_fork_child): Likewise.
640 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
641 (_svcauth_des): Likewise.
642 * inet/inet_lnaof.c (inet_lnaof): Likewise.
643 * inet/inet_net.c (inet_network): Likewise.
644 * inet/inet_netof.c (inet_netof): Likewise.
645 * inet/rcmd.c (__validuser2_sa): Likewise.
646 * io/fts.c (fts_open): Likewise.
647 (fts_load): Likewise.
648 (fts_close): Likewise.
649 (fts_read): Likewise.
650 (fts_children): Likewise.
651 (fts_build): Likewise.
652 (fts_stat): Likewise.
653 (fts_sort): Likewise.
654 (fts_alloc): Likewise.
655 (fts_lfree): Likewise.
656 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
657 (_IO_file_xsgetn): Likewise.
658 (_IO_file_xsgetn_mmap): Likewise.
659 * libio/iofopncook.c (_IO_cookie_read): Likewise.
660 (_IO_cookie_write): Likewise.
661 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
662 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
663 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
664 * malloc/obstack.c (_obstack_begin): Likewise.
665 (_obstack_begin_1): Likewise.
666 (_obstack_newchunk): Likewise.
667 (_obstack_allocated_p): Likewise.
668 (obstack_free): Likewise.
669 (_obstack_memory_used): Likewise.
670 * misc/getttyent.c (getttynam): Likewise.
671 (getttyent): Likewise.
674 * misc/getusershell.c (initshells): Likewise.
675 * misc/syslog.c (__vsyslog_chk): Likewise.
676 * misc/ttyslot.c (ttyslot): Likewise.
677 * nis/nis_hash.c (__nis_hash): Likewise.
678 * posix/fnmatch_loop.c (FCT): Likewise.
679 * posix/getconf.c (print_all): Likewise.
681 * posix/getopt.c (exchange): Likewise.
682 * posix/glob.c (globfree): Likewise.
683 (prefix_array): Likewise.
684 (__glob_pattern_type): Likewise.
685 * resolv/arpa/nameser.h (NS_GET16): Likewise.
686 (NS_GET32): Likewise.
687 (NS_PUT16): Likewise.
688 (NS_PUT32): Likewise.
689 * resolv/gethnamaddr.c (getanswer): Likewise.
690 (gethostbyname2): Likewise.
691 (gethostbyaddr): Likewise.
692 (_gethtent): Likewise.
693 (_gethtbyname2): Likewise.
694 (_gethtbyaddr): Likewise.
695 * resolv/ns_print.c (dst_s_get_int16): Likewise.
696 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
697 * resolv/res_init.c (__res_vinit): Likewise.
698 (net_mask): Likewise.
699 * resolv/res_mkquery.c (outchar): Likewise.
701 * stdio-common/printf_fp.c (outchar): Likewise.
703 * stdio-common/printf_fphex.c (outchar): Likewise.
705 * stdio-common/printf_size.c (outchar): Likewise.
707 * stdio-common/test_rdwr.c (main): Likewise.
708 * stdio-common/tfformat.c (matches): Likewise.
709 * stdio-common/vfprintf.c (outchar): Likewise.
710 (printf_unknown): Likewise.
711 (buffered_vfprintf): Likewise.
712 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
713 * stdio-common/xbug.c (AppendToBuffer): Likewise.
714 (ReadFile): Likewise.
715 * stdlib/qsort.c (SWAP): Likewise.
716 (_quicksort): Likewise.
717 * stdlib/setenv.c (__add_to_environ): Likewise.
718 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
719 * stdlib/strtol_l.c (__strtol_l): Likewise.
720 * stdlib/tst-strtod.c (main): Likewise.
721 * stdlib/tst-strtol.c (main): Likewise.
722 * stdlib/tst-strtoll.c (main): Likewise.
723 * string/bits/string2.h (__strcmp_cc): Likewise.
724 (__strcmp_cg): Likewise.
725 (__strcspn_c1): Likewise.
726 (__strcspn_c2): Likewise.
727 (__strcspn_c3): Likewise.
728 (__strspn_c1): Likewise.
729 (__strspn_c2): Likewise.
730 (__strspn_c3): Likewise.
731 (__strsep_1c): Likewise.
732 (__strsep_2c): Likewise.
733 (__strsep_3c): Likewise.
734 * string/memccpy.c (__memccpy): Likewise.
735 * string/stpcpy.c (__stpcpy): Likewise.
736 * string/strcmp.c (strcmp): Likewise.
737 * string/strrchr.c (strrchr): Likewise.
738 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
740 * sysdeps/mach/hurd/getcwd.c
741 (_hurd_canonicalize_directory_name_internal): Likewise.
742 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
743 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
744 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
745 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
746 Likewise, in both definitions.
747 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
749 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
750 64] (__bswap_64): Likewise.
751 * time/test_time.c (main): Likewise.
752 * time/tzfile.c (__tzfile_read): Likewise.
753 (__tzfile_compute): Likewise.
754 * time/tzset.c (__tzset_parse_tz): Likewise.
755 (tzset_internal): Likewise.
756 (compute_change): Likewise.
757 * wcsmbs/wcscat.c (__wcscat): Likewise.
758 * wcsmbs/wcschr.c (wcschr): Likewise.
759 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
760 * wcsmbs/wcscspn.c (wcscspn): Likewise.
761 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
762 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
763 * wcsmbs/wcsspn.c (wcsspn): Likewise.
764 * wcsmbs/wcsstr.c (wcsstr): Likewise.
765 * wcsmbs/wmemchr.c (wmemchr): Likewise.
766 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
767 * wcsmbs/wmemset.c (wmemset): Likewise.
769 2013-06-06 Joseph Myers <joseph@codesourcery.com>
771 * scripts/config.guess: Update to version 2013-05-16.
772 * scripts/config.sub: Update to version 2013-04-24.
773 * scripts/install-sh: Update to version 2011-11-20.07.
774 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
775 * scripts/move-if-change: Update to version 2012-01-06 07:23.
777 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
779 * debug/fgetws_u_chk.c: Fix leading whitespaces.
780 * elf/sln.c: Likewise.
781 * hurd/hurd/ioctl.h: Likewise.
782 * hurd/hurdmalloc.c: Likewise.
783 * hurd/xattr.c: Likewise.
784 * include/shlib-compat.h: Likewise.
785 * inet/ruserpass.c: Likewise.
786 * libio/iofgets_u.c: Likewise.
787 * libio/iofgetws_u.c: Likewise.
788 * locale/programs/ld-identification.c: Likewise.
789 * locale/programs/ld-time.c: Likewise.
790 * mach/msg-destroy.c: Likewise.
791 * nss/nss_files/files-netgrp.c: Likewise.
792 * resolv/res_data.c: Likewise.
793 * soft-fp/op-1.h: Likewise.
794 * soft-fp/op-2.h: Likewise.
795 * soft-fp/op-4.h: Likewise.
796 * soft-fp/op-common.h: Likewise.
797 * stdio-common/printf_fphex.c: Likewise.
798 * stdlib/strtod_l.c: Likewise.
799 * sunrpc/rpc/clnt.h: Likewise.
800 * sysdeps/generic/framestate.c: Likewise.
801 * sysdeps/i386/bsd-_setjmp.S: Likewise.
802 * sysdeps/i386/bsd-setjmp.S: Likewise.
803 * sysdeps/i386/__longjmp.S: Likewise.
804 * sysdeps/i386/setjmp.S: Likewise.
805 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
806 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
807 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
808 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
809 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
810 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
811 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
812 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
813 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
814 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
815 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
816 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
817 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
818 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
819 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
820 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
821 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
822 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
823 * sysdeps/ieee754/support.c: Likewise.
824 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
825 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
826 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
827 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
828 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
829 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
830 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
831 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
832 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
833 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
834 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
835 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
836 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
837 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
838 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
839 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
840 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
843 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
845 * posix/transbug.c: Remove executable mode.
847 2013-06-05 Joseph Myers <joseph@codesourcery.com>
849 * crypt/speeds.c: Remove trailing whitespace.
850 * dlfcn/default.c: Likewise.
851 * elf/ifuncdep2.c: Likewise.
852 * elf/ifuncmain1.c: Likewise.
853 * elf/ifuncmain1vis.c: Likewise.
854 * elf/testobj.h: Likewise.
855 * elf/tst-stackguard1.c: Likewise.
856 * gmon/sys/gmon.h: Likewise.
857 * hurd/hurdmsg.c: Likewise.
858 * hurd/new-fd.c: Likewise.
859 * hurd/ports-get.c: Likewise.
860 * iconvdata/ibm1008_420.c: Likewise.
861 * inet/tst-getni1.c: Likewise.
862 * inet/tst-getni2.c: Likewise.
863 * libio/ioungetc.c: Likewise.
864 * libio/wfiledoalloc.c: Likewise.
865 * manual/libm-err-tab.pl: Likewise.
866 * math/w_dremf.c: Likewise.
867 * misc/ftruncate.c: Likewise.
868 * posix/bug-glob2.c: Likewise.
869 * posix/tst-pcre.c: Likewise.
870 * posix/wait4.c: Likewise.
871 * resolv/README: Likewise.
872 * resolv/res_debug.h: Likewise.
873 * resolv/tst-inet_ntop.c: Likewise.
874 * setjmp/bug269-setjmp.c: Likewise.
875 * soft-fp/extended.h: Likewise.
876 * soft-fp/op-1.h: Likewise.
877 * soft-fp/op-2.h: Likewise.
878 * soft-fp/op-4.h: Likewise.
879 * soft-fp/op-8.h: Likewise.
880 * soft-fp/testit.c: Likewise.
881 * stdio-common/bug16.c: Likewise.
882 * stdlib/random.c: Likewise.
883 * sunrpc/rpcsvc/rquota.x: Likewise.
884 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
885 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
886 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
887 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
888 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
889 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
890 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
891 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
892 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
893 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
894 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
895 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
896 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
897 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
898 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
899 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
900 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
901 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
902 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
903 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
904 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
905 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
906 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
907 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
908 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
909 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
910 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
911 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
912 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
913 * sysdeps/ieee754/s_lib_version.c: Likewise.
914 * sysdeps/mach/hurd/check_fds.c: Likewise.
915 * sysdeps/mach/hurd/getsockname.c: Likewise.
916 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
917 * sysdeps/mach/hurd/recvfrom.c: Likewise.
918 * sysdeps/powerpc/bits/link.h: Likewise.
919 * sysdeps/powerpc/dl-procinfo.c: Likewise.
920 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
921 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
922 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
923 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
924 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
925 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
926 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
927 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
928 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
929 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
930 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
931 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
932 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
933 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
934 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
935 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
936 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
937 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
938 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
939 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
940 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
941 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
942 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
943 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
944 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
946 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
947 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
948 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
949 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
950 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
951 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
952 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
953 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
954 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
955 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
956 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
957 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
958 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
959 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
960 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
961 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
962 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
963 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
964 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
965 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
966 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
967 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
968 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
969 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
970 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
971 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
972 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
973 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
974 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
975 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
976 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
977 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
978 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
979 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
980 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
981 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
982 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
983 * sysdeps/powerpc/sysdep.h: Likewise.
984 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
985 * sysdeps/s390/s390-64/sub_n.S: Likewise.
986 * sysdeps/sh/dl-trampoline.S: Likewise.
987 * sysdeps/sh/memset.S: Likewise.
988 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
989 * sysdeps/sh/strlen.S: Likewise.
990 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
991 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
992 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
993 * sysdeps/sparc/sparc32/rem.S: Likewise.
994 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
995 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
996 * sysdeps/sparc/sparc32/strchr.S: Likewise.
997 * sysdeps/sparc/sparc32/udiv.S: Likewise.
998 * sysdeps/sparc/sparc32/urem.S: Likewise.
999 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1000 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1001 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1002 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1003 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1004 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1005 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1006 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1007 * sysdeps/unix/bsd/times.c: Likewise.
1008 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1009 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1013 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1014 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1015 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1016 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1017 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1018 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1019 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1020 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1021 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1022 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1023 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1024 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1025 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1026 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1027 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1028 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1029 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1030 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1031 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1032 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1033 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1034 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1035 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1036 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1037 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1038 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1039 * sysdeps/x86_64/strcspn.S: Likewise.
1041 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1043 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1044 generated file. Regenerate properly from gen-translit.pl.
1045 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1046 locale/C-translit.h.
1048 2013-06-05 Andreas Schwab <schwab@suse.de>
1051 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1052 week as 6 instead of -1.
1053 * time/tst-strptime.c (day_tests): Add test case.
1055 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1057 * sysdeps/generic/math_private.h
1058 (libc_feholdexcept_setround_53bit): Replace with
1059 libc_feholdsetround_53bit.
1060 (libc_feupdateenv_53bit): Replace with
1061 libc_feresetround_53bit.
1062 (SET_RESTORE_ROUND_53BIT): Adjust.
1064 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1066 * string/test-strchrnul.c: Add copyright header.
1068 * posix/tst-getaddrinfo4.c: Increase test timeout.
1070 2013-06-03 Carlos O'Donell <carlos@redhat.com>
1073 * math/libm-test.inc (MAX_EXP): Remove
1075 (ulp): Use MIN_EXP - MANT_DIG.
1076 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1078 2013-05-31 Carlos O'Donell <carlos@redhat.com>
1080 * po/be.po: Revert last change.
1081 * po/zh_CN.po: Likewise.
1082 * po/header.pot: Likewise.
1084 2013-05-31 Joseph Myers <joseph@codesourcery.com>
1086 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1087 link-libc-deps to empty as target-specific variable.
1088 * Makerules (link-libc-args): New variable.
1089 (libc-for-link): Likewise.
1090 (link-libc-deps): Likewise.
1091 (lib%.so): Depend on $(link-libc-deps). Link with
1093 (build-module): Link with $(link-libc-args).
1094 (build-module-asneeded): Likewise.
1095 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1097 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1098 target-specific variable.
1099 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1100 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1101 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1103 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1105 ($(objpfx)libpcprofile.so): Likewise.
1106 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1108 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1109 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1110 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1112 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1113 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1114 * login/Makefile ($(objpfx)libutil.so): Likewise.
1115 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1116 * math/Makefile ($(objpfx)libm.so): Likewise.
1117 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1118 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1119 variable instead of depending directly on libc.
1120 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1121 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1123 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1125 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1126 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1127 ($(objpfx)libanl.so): Likewise.
1128 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1130 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1132 * sysdeps/i386/fpu/Makefile: Remove file.
1133 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1134 ($(objpfx)libm.so): Remove dependency on ld.so.
1136 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
1139 * nis/yp_xdr.c (XDRMAXNAME): Define.
1140 (XDRMAXRECORD): Define.
1141 (xdr_domainname): Use XDRMAXNAME.
1142 (xdr_mapname): Likewise.
1143 (xdr_peername): Likewise.
1144 (xdr_keydat): Use XDRMAXRECORD.
1145 (xdr_valdat): Likewise.
1147 2013-05-30 Jeff Law <law@redhat.com>
1150 * manual/errno.texi (ESTALE): Update to account for more than
1151 just NFS file systems.
1152 * sysdeps/gnu/errlist.c: Regenerated.
1154 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1157 * elf/Makefile (tests): Add tst-null-argv.
1158 (modules-names): Add tst-null-argv-lib.
1159 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1160 (tst-null-argv-ENV): Set environment for tst-null-argv.
1161 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1162 (RTLD_PROGNAME): New macro.
1163 * elf/tst-null-argv.c: New test case.
1164 * elf/tst-null-argv-lib.c: Library for test case.
1165 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1166 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1167 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1168 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1169 * elf/dl-init.c (call_init): Likewise.
1170 (_dl_init): Likewise.
1171 * elf/dl-load.c (print_search_path): Likewise.
1172 (_dl_map_object): Likewise.
1173 * elf/dl-lookup.c (do_lookup_x): Likewise.
1174 (add_dependency): Likewise.
1175 (_dl_lookup_symbol_x): Likewise.
1176 (_dl_debug_bindings): Likewise.
1177 * elf/dl-open.c (_dl_show_scope): Likewise.
1178 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1179 * elf/dl-version.c (match_symbol): Likewise.
1180 (_dl_check_map_versions): Likewise.
1181 * elf/rtld.c (dl_main): Likewise.
1182 (print_unresolved): Use RTLD_PROGNAME.
1183 (print_missing_version): Likewise.
1184 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1185 (elf_machine_rela): Likewise.
1186 * sysdeps/powerpc/powerpc32/dl-machine.c
1187 (__process_machine_rela): Likewise.
1188 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1190 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1192 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1194 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1195 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1197 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1199 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1201 2013-05-28 Carlos O'Donell <carlos@redhat.com>
1203 * po/be.po: Add descriptive title.
1204 * po/zh_CN.po: Likewise.
1205 * po/header.pot: Likewise.
1207 2013-05-28 Mike Frysinger <vapier@gentoo.org>
1209 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1211 (enlarge_archive): Likewise.
1213 2013-05-28 Ben North <ben@redfrontdoor.org>
1215 * manual/arith.texi (frexp): It is the magnitude of the return
1216 value which lies in [0.5, 1), not the return value itself.
1218 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1222 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1224 * stdio-common/bug26.c (main): Correct fscanf template.
1226 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1227 declare _dl_skip_args.
1229 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1232 * manual/platform.texi: Add missing @end deftypefun.
1234 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1237 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1238 bit of mantissa of 2^16382.
1239 * math/libm-test.inc (hypot_test_data): Add more tests.
1241 * math/libm-test.inc: Add drem and pow10 to list of tested
1243 (pow10_test): New function.
1244 (drem_test): Likewise.
1245 (drem_test_tonearest): Likewise.
1246 (drem_test_towardzero): Likewise.
1247 (drem_test_downward): Likewise.
1248 (drem_test_upward): Likewise.
1249 (main): Call the new functions.
1251 * math/libm-test.inc (finite_test_data): Remove.
1252 (finite_test): Run tests from isfinite_test_data.
1253 (gamma_test_data): Remove.
1254 (gamma_test): Run tests from lgamma_test_data.
1255 * sysdeps/i386/fpu/libm-test-ulps: Update.
1256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1258 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1260 * manual/platform.texi: Add PowerPC PPR function set documentation.
1261 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1264 2013-05-24 Carlos O'Donell <carlos@redhat.com>
1266 * math/libm-test.inc (MAX_EXP): Define.
1268 (ulp): New function.
1269 (check_float_internal): Use ULPDIFF.
1270 (cpow_test): Disable failing test.
1271 (check_ulp): Test ulp() implemetnation.
1272 (main): Call check_ulp before starting tests.
1274 2013-05-24 Joseph Myers <joseph@codesourcery.com>
1276 * math/gen-libm-test.pl (generate_testfile): Do not handle
1277 START_DATA and END_DATA.
1278 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1280 (acos_tonearest_test_data): Likewise.
1281 (acos_towardzero_test_data): Likewise.
1282 (acos_downward_test_data): Likewise.
1283 (acos_upward_test_data): Likewise.
1284 (acosh_test_data): Likewise.
1285 (asin_test_data): Likewise.
1286 (asin_tonearest_test_data): Likewise.
1287 (asin_towardzero_test_data): Likewise.
1288 (asin_downward_test_data): Likewise.
1289 (asin_upward_test_data): Likewise.
1290 (asinh_test_data): Likewise.
1291 (atan_test_data): Likewise.
1292 (atanh_test_data): Likewise.
1293 (atan2_test_data): Likewise.
1294 (cabs_test_data): Likewise.
1295 (cacos_test_data): Likewise.
1296 (cacosh_test_data): Likewise.
1297 (carg_test_data): Likewise.
1298 (casin_test_data): Likewise.
1299 (casinh_test_data): Likewise.
1300 (catan_test_data): Likewise.
1301 (catanh_test_data): Likewise.
1302 (cbrt_test_data): Likewise.
1303 (ccos_test_data): Likewise.
1304 (ccosh_test_data): Likewise.
1305 (ceil_test_data): Likewise.
1306 (cexp_test_data): Likewise.
1307 (cimag_test_data): Likewise.
1308 (clog_test_data): Likewise.
1309 (clog10_test_data): Likewise.
1310 (conj_test_data): Likewise.
1311 (copysign_test_data): Likewise.
1312 (cos_test_data): Likewise.
1313 (cos_tonearest_test_data): Likewise.
1314 (cos_towardzero_test_data): Likewise.
1315 (cos_downward_test_data): Likewise.
1316 (cos_upward_test_data): Likewise.
1317 (cosh_test_data): Likewise.
1318 (cosh_tonearest_test_data): Likewise.
1319 (cosh_towardzero_test_data): Likewise.
1320 (cosh_downward_test_data): Likewise.
1321 (cosh_upward_test_data): Likewise.
1322 (cpow_test_data): Likewise.
1323 (cproj_test_data): Likewise.
1324 (creal_test_data): Likewise.
1325 (csin_test_data): Likewise.
1326 (csinh_test_data): Likewise.
1327 (csqrt_test_data): Likewise.
1328 (ctan_test_data): Likewise.
1329 (ctan_tonearest_test_data): Likewise.
1330 (ctan_towardzero_test_data): Likewise.
1331 (ctan_downward_test_data): Likewise.
1332 (ctan_upward_test_data): Likewise.
1333 (ctanh_test_data): Likewise.
1334 (ctanh_tonearest_test_data): Likewise.
1335 (ctanh_towardzero_test_data): Likewise.
1336 (ctanh_downward_test_data): Likewise.
1337 (ctanh_upward_test_data): Likewise.
1338 (erf_test_data): Likewise.
1339 (erfc_test_data): Likewise.
1340 (exp_test_data): Likewise.
1341 (exp_tonearest_test_data): Likewise.
1342 (exp_towardzero_test_data): Likewise.
1343 (exp_downward_test_data): Likewise.
1344 (exp_upward_test_data): Likewise.
1345 (exp10_test_data): Likewise.
1346 (exp2_test_data): Likewise.
1347 (expm1_test_data): Likewise.
1348 (fabs_test_data): Likewise.
1349 (fdim_test_data): Likewise.
1350 (finite_test_data): Likewise.
1351 (floor_test_data): Likewise.
1352 (fma_test_data): Likewise.
1353 (fma_towardzero_test_data): Likewise.
1354 (fma_downward_test_data): Likewise.
1355 (fma_upward_test_data): Likewise.
1356 (fmax_test_data): Likewise.
1357 (fmin_test_data): Likewise.
1358 (fmod_test_data): Likewise.
1359 (fpclassify_test_data): Likewise.
1360 (frexp_test_data): Likewise.
1361 (gamma_test_data): Likewise.
1362 (hypot_test_data): Likewise.
1363 (ilogb_test_data): Likewise.
1364 (isfinite_test_data): Likewise.
1365 (isgreater_test_data): Likewise.
1366 (isgreaterequal_test_data): Likewise.
1367 (isinf_test_data): Likewise.
1368 (isless_test_data): Likewise.
1369 (islessequal_test_data): Likewise.
1370 (islessgreater_test_data): Likewise.
1371 (isnan_test_data): Likewise.
1372 (isnormal_test_data): Likewise.
1373 (issignaling_test_data): Likewise.
1374 (isunordered_test_data): Likewise.
1375 (j0_test_data): Likewise.
1376 (j1_test_data): Likewise.
1377 (jn_test_data): Likewise.
1378 (ldexp_test_data): Likewise.
1379 (lgamma_test_data): Likewise.
1380 (lrint_test_data): Likewise.
1381 (lrint_tonearest_test_data): Likewise.
1382 (lrint_towardzero_test_data): Likewise.
1383 (lrint_downward_test_data): Likewise.
1384 (lrint_upward_test_data): Likewise.
1385 (llrint_test_data): Likewise.
1386 (llrint_tonearest_test_data): Likewise.
1387 (llrint_towardzero_test_data): Likewise.
1388 (llrint_downward_test_data): Likewise.
1389 (llrint_upward_test_data): Likewise.
1390 (log_test_data): Likewise.
1391 (log10_test_data): Likewise.
1392 (log1p_test_data): Likewise.
1393 (log2_test_data): Likewise.
1394 (logb_test_data): Likewise.
1395 (logb_downward_test_data): Likewise.
1396 (lround_test_data): Likewise.
1397 (llround_test_data): Likewise.
1398 (modf_test_data): Likewise.
1399 (nearbyint_test_data): Likewise.
1400 (nextafter_test_data): Likewise.
1401 (nexttoward_test_data): Likewise.
1402 (pow_test_data): Likewise.
1403 (pow_tonearest_test_data): Likewise.
1404 (pow_towardzero_test_data): Likewise.
1405 (pow_downward_test_data): Likewise.
1406 (pow_upward_test_data): Likewise.
1407 (remainder_test_data): Likewise.
1408 (remainder_tonearest_test_data): Likewise.
1409 (remainder_towardzero_test_data): Likewise.
1410 (remainder_downward_test_data): Likewise.
1411 (remainder_upward_test_data): Likewise.
1412 (remquo_test_data): Likewise.
1413 (rint_test_data): Likewise.
1414 (rint_tonearest_test_data): Likewise.
1415 (rint_towardzero_test_data): Likewise.
1416 (rint_downward_test_data): Likewise.
1417 (rint_upward_test_data): Likewise.
1418 (round_test_data): Likewise.
1419 (scalb_test_data): Likewise.
1420 (scalbn_test_data): Likewise.
1421 (scalbln_test_data): Likewise.
1422 (signbit_test_data): Likewise.
1423 (sin_test_data): Likewise.
1424 (sin_tonearest_test_data): Likewise.
1425 (sin_towardzero_test_data): Likewise.
1426 (sin_downward_test_data): Likewise.
1427 (sin_upward_test_data): Likewise.
1428 (sincos_test_data): Likewise.
1429 (sinh_test_data): Likewise.
1430 (sinh_tonearest_test_data): Likewise.
1431 (sinh_towardzero_test_data): Likewise.
1432 (sinh_downward_test_data): Likewise.
1433 (sinh_upward_test_data): Likewise.
1434 (sqrt_test_data): Likewise.
1435 (tan_test_data): Likewise.
1436 (tan_tonearest_test_data): Likewise.
1437 (tan_towardzero_test_data): Likewise.
1438 (tan_downward_test_data): Likewise.
1439 (tan_upward_test_data): Likewise.
1440 (tanh_test_data): Likewise.
1441 (tgamma_test_data): Likewise.
1442 (trunc_test_data): Likewise.
1443 (y0_test_data): Likewise.
1444 (y1_test_data): Likewise.
1445 (yn_test_data): Likewise.
1446 (significand_test_data): Likewise.
1448 * math/gen-libm-test.pl (@functions): Remove variable.
1449 (generate_testfile): Don't handle START and END lines.
1450 * math/libm-test.inc (START): New macro.
1452 (END_COMPLEX): Likewise.
1453 (acos_test): Use END macro without arguments.
1454 (acos_test_tonearest): Likewise.
1455 (acos_test_towardzero): Likewise.
1456 (acos_test_downward): Likewise.
1457 (acos_test_upward): Likewise.
1458 (acosh_test): Likewise.
1459 (asin_test): Likewise.
1460 (asin_test_tonearest): Likewise.
1461 (asin_test_towardzero): Likewise.
1462 (asin_test_downward): Likewise.
1463 (asin_test_upward): Likewise.
1464 (asinh_test): Likewise.
1465 (atan_test): Likewise.
1466 (atanh_test): Likewise.
1467 (atan2_test): Likewise.
1468 (cabs_test): Likewise.
1469 (cacos_test): Use END_COMPLEX macro without arguments.
1470 (cacosh_test): Likewise.
1471 (carg_test): Use END macro without arguments.
1472 (casin_test): Use END_COMPLEX macro without arguments.
1473 (casinh_test): Likewise.
1474 (catan_test): Likewise.
1475 (catanh_test): Likewise.
1476 (cbrt_test): Use END macro without arguments.
1477 (ccos_test): Use END_COMPLEX macro without arguments.
1478 (ccosh_test): Likewise.
1479 (ceil_test): Use END macro without arguments.
1480 (cexp_test): Use END_COMPLEX macro without arguments.
1481 (cimag_test): Use END macro without arguments.
1482 (clog_test): Use END_COMPLEX macro without arguments.
1483 (clog10_test): Likewise.
1484 (conj_test): Likewise.
1485 (copysign_test): Use END macro without arguments.
1486 (cos_test): Likewise.
1487 (cos_test_tonearest): Likewise.
1488 (cos_test_towardzero): Likewise.
1489 (cos_test_downward): Likewise.
1490 (cos_test_upward): Likewise.
1491 (cosh_test): Likewise.
1492 (cosh_test_tonearest): Likewise.
1493 (cosh_test_towardzero): Likewise.
1494 (cosh_test_downward): Likewise.
1495 (cosh_test_upward): Likewise.
1496 (cpow_test): Use END_COMPLEX macro without arguments.
1497 (cproj_test): Likewise.
1498 (creal_test): Use END macro without arguments.
1499 (csin_test): Use END_COMPLEX macro without arguments.
1500 (csinh_test): Likewise.
1501 (csqrt_test): Likewise.
1502 (ctan_test): Likewise.
1503 (ctan_test_tonearest): Likewise.
1504 (ctan_test_towardzero): Likewise.
1505 (ctan_test_downward): Likewise.
1506 (ctan_test_upward): Likewise.
1507 (ctanh_test): Likewise.
1508 (ctanh_test_tonearest): Likewise.
1509 (ctanh_test_towardzero): Likewise.
1510 (ctanh_test_downward): Likewise.
1511 (ctanh_test_upward): Likewise.
1512 (erf_test): Use END macro without arguments.
1513 (erfc_test): Likewise.
1514 (exp_test): Likewise.
1515 (exp_test_tonearest): Likewise.
1516 (exp_test_towardzero): Likewise.
1517 (exp_test_downward): Likewise.
1518 (exp_test_upward): Likewise.
1519 (exp10_test): Likewise.
1520 (exp2_test): Likewise.
1521 (expm1_test): Likewise.
1522 (fabs_test): Likewise.
1523 (fdim_test): Likewise.
1524 (finite_test): Likewise.
1525 (floor_test): Likewise.
1526 (fma_test): Likewise.
1527 (fma_test_towardzero): Likewise.
1528 (fma_test_downward): Likewise.
1529 (fma_test_upward): Likewise.
1530 (fmax_test): Likewise.
1531 (fmin_test): Likewise.
1532 (fmod_test): Likewise.
1533 (fpclassify_test): Likewise.
1534 (frexp_test): Likewise.
1535 (gamma_test): Likewise.
1536 (hypot_test): Likewise.
1537 (ilogb_test): Likewise.
1538 (isfinite_test): Likewise.
1539 (isgreater_test): Likewise.
1540 (isgreaterequal_test): Likewise.
1541 (isinf_test): Likewise.
1542 (isless_test): Likewise.
1543 (islessequal_test): Likewise.
1544 (islessgreater_test): Likewise.
1545 (isnan_test): Likewise.
1546 (isnormal_test): Likewise.
1547 (issignaling_test): Likewise.
1548 (isunordered_test): Likewise.
1549 (j0_test): Likewise.
1550 (j1_test): Likewise.
1551 (jn_test): Likewise.
1552 (ldexp_test): Likewise.
1553 (lgamma_test): Likewise.
1554 (lrint_test): Likewise.
1555 (lrint_test_tonearest): Likewise.
1556 (lrint_test_towardzero): Likewise.
1557 (lrint_test_downward): Likewise.
1558 (lrint_test_upward): Likewise.
1559 (llrint_test): Likewise.
1560 (llrint_test_tonearest): Likewise.
1561 (llrint_test_towardzero): Likewise.
1562 (llrint_test_downward): Likewise.
1563 (llrint_test_upward): Likewise.
1564 (log_test): Likewise.
1565 (log10_test): Likewise.
1566 (log1p_test): Likewise.
1567 (log2_test): Likewise.
1568 (logb_test): Likewise.
1569 (logb_test_downward): Likewise.
1570 (lround_test): Likewise.
1571 (llround_test): Likewise.
1572 (modf_test): Likewise.
1573 (nearbyint_test): Likewise.
1574 (nextafter_test): Likewise.
1575 (nexttoward_test): Likewise.
1576 (pow_test): Likewise.
1577 (pow_test_tonearest): Likewise.
1578 (pow_test_towardzero): Likewise.
1579 (pow_test_downward): Likewise.
1580 (pow_test_upward): Likewise.
1581 (remainder_test): Likewise.
1582 (remainder_test_tonearest): Likewise.
1583 (remainder_test_towardzero): Likewise.
1584 (remainder_test_downward): Likewise.
1585 (remainder_test_upward): Likewise.
1586 (remquo_test): Likewise.
1587 (rint_test): Likewise.
1588 (rint_test_tonearest): Likewise.
1589 (rint_test_towardzero): Likewise.
1590 (rint_test_downward): Likewise.
1591 (rint_test_upward): Likewise.
1592 (round_test): Likewise.
1593 (scalb_test): Likewise.
1594 (scalbn_test): Likewise.
1595 (scalbln_test): Likewise.
1596 (signbit_test): Likewise.
1597 (sin_test): Likewise.
1598 (sin_test_tonearest): Likewise.
1599 (sin_test_towardzero): Likewise.
1600 (sin_test_downward): Likewise.
1601 (sin_test_upward): Likewise.
1602 (sincos_test): Likewise.
1603 (sinh_test): Likewise.
1604 (sinh_test_tonearest): Likewise.
1605 (sinh_test_towardzero): Likewise.
1606 (sinh_test_downward): Likewise.
1607 (sinh_test_upward): Likewise.
1608 (sqrt_test): Likewise.
1609 (tan_test): Likewise.
1610 (tan_test_tonearest): Likewise.
1611 (tan_test_towardzero): Likewise.
1612 (tan_test_downward): Likewise.
1613 (tan_test_upward): Likewise.
1614 (tanh_test): Likewise.
1615 (tgamma_test): Likewise.
1616 (trunc_test): Likewise.
1617 (y0_test): Likewise.
1618 (y1_test): Likewise.
1619 (yn_test): Likewise.
1620 (significand_test): Likewise.
1622 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
1625 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1627 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1630 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1631 __ppc_mdoio and __ppc_mdoom.
1632 * manual/platform.texi: Document new functions __ppc_yield,
1633 __ppc_mdoio and __ppc_mdoom.
1635 2013-05-22 Carlos O'Donell <carlos@redhat.com>
1637 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1638 (main): Mention "tls" pseudo-hwcap is legacy.
1639 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1641 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1643 * math/gen-libm-test.pl (parse_args): Output only string of
1644 arguments as text for test name, not full call or descriptions of
1645 tests for extra outputs.
1646 (generate_testfile): Do not pass function name to parse_args.
1647 Generate this_func variable from START.
1648 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1650 (struct test_ff_f_data): Likewise.
1651 (test_ff_f_data_nexttoward): Likewise.
1652 (struct test_fi_f_data): Likewise.
1653 (struct test_fl_f_data): Likewise.
1654 (struct test_if_f_data): Likewise.
1655 (struct test_fff_f_data): Likewise.
1656 (struct test_c_f_data): Likewise.
1657 (struct test_f_f1_data): Likewise. Remove field extra_name.
1658 (struct test_fF_f1_data): Likewise.
1659 (struct test_ffI_f1_data): Likewise.
1660 (struct test_c_c_data): Rename test_name field to arg_str.
1661 (struct test_cc_c_data): Likewise.
1662 (struct test_f_i_data): Likewise.
1663 (struct test_ff_i_data): Likewise.
1664 (struct test_f_l_data): Likewise.
1665 (struct test_f_L_data): Likewise.
1666 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1668 (COMMON_TEST_SETUP): New macro.
1669 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1670 (COMMON_TEST_CLEANUP): Likewise.
1671 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1672 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1674 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1675 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1677 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1678 (RUN_TEST_fff_f): Take argument string. Call new setup and
1680 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1681 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1683 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1684 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1686 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1687 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1689 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1690 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1692 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1693 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1695 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1696 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1698 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1699 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1701 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1702 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1704 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1705 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1707 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1708 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1710 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1711 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1713 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1714 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1716 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1717 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1719 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1720 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1722 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1723 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1725 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1727 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1729 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1730 to _sifields.sigfault.
1731 (si_addr_lsb): Define new macro.
1732 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1733 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1734 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1736 2013-05-03 Carlos O'Donell <carlos at redhat.com>
1739 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1741 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1743 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1746 2013-05-22 Joseph Myers <joseph@codesourcery.com>
1748 * math/gen-libm-test.pl (parse_args): Do not include expected
1749 result in test name.
1750 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1751 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1752 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1753 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1754 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1757 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1759 * benchtests/Makefile: Sort function entries.
1761 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1762 tanh, asinh, acosh, atanh.
1763 * benchtests/acos-inputs: New file.
1764 * benchtests/acosh-inputs: New file.
1765 * benchtests/asin-inputs: New file.
1766 * benchtests/asinh-inputs: New file.
1767 * benchtests/atanh-inputs: New file.
1768 * benchtests/cosh-inputs: New file.
1769 * benchtests/log-inputs: New file.
1770 * benchtests/sinh-inputs: New file.
1771 * benchtests/tanh-inputs: New file.
1773 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1776 * posix/tst-getaddrinfo4.c: New test.
1777 * posix/Makefile (tests): Add it.
1779 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1782 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1783 when no services were used.
1784 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1785 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1787 2013-05-21 Andreas Schwab <schwab@suse.de>
1790 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1791 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1793 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1794 redundant variable declarations and reallocation of buffer when
1795 parsing as IPv6 address. Always set NSS status when called from
1796 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1797 buffer too small. Correct computation of needed size.
1798 * nss/Makefile (tests): Add test-digits-dots.
1799 * nss/test-digits-dots.c: New test.
1801 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1803 * benchtests/Makefile: Remove instructions for adding
1805 * benchtests/README: New file to explain how to execute and
1806 enhance the benchmark tests.
1808 2013-05-21 Andreas Schwab <schwab@suse.de>
1811 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1812 * setjmp/tst-sigsetjmp.c: New test.
1814 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1816 * sysdeps/x86_64/memset.S (memset): New implementation.
1817 (__bzero): Likewise.
1818 (__memset_tail): New function.
1820 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
1822 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1823 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1824 __memcpy_sse2_unaligned ifunc selection.
1825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1826 Add memcpy-sse2-unaligned.S.
1827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1828 Add: __memcpy_sse2_unaligned.
1830 2013-05-19 Joseph Myers <joseph@codesourcery.com>
1833 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1834 math_force_eval before restoring floating-point envrionment.
1835 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1836 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1838 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1840 (__nearbyintl): Use math_force_eval before restoring
1841 floating-point environment.
1842 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1844 * math/gen-libm-test.pl (special_functions): Remove.
1845 (parse_args): Don't handle TEST_extra. Handle functions with no
1847 * math/libm-test.inc (struct test_sincos_data): Replace with
1848 struct test_fFF_11_data.
1849 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1850 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1851 (sincos_test_data): Change element type to struct
1852 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1853 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1854 RUN_TEST_LOOP_sincos.
1855 * math/README.libm-test: Don't mention special handling of
1856 individual functions.
1857 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1858 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1859 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1860 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1861 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1864 * math/gen-libm-test.pl (get_variable): Remove function.
1865 (parse_args): Don't show pointer parameters to call in test
1866 names. Use "extra output N" in test names for extra outputs
1867 rather than naming variables.
1869 2013-05-18 Joseph Myers <joseph@codesourcery.com>
1872 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1873 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1874 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1876 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1878 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1881 * math/gen-libm-test.pl (@tests): Remove variable.
1883 (new_test): Remove function.
1884 (show_exceptions): New function.
1885 (special_functions): Use show_exceptions instead of new_test.
1886 (parse_args): Likewise.
1887 (generate_testfile): Pass only function name in generated call to
1888 print_max_error or print_complex_max_error.
1889 (get_ulps): Do not handle complex tests specially.
1890 (output_test): Rename to ...
1891 (get_all_ulps_for_test): ... this. Return a string rather than
1892 printing to a file. Require ulps to be present.
1893 (output_ulps): Generate arrays rather than #defines.
1894 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1895 (struct ulp_data): New type.
1896 (BUILD_COMPLEX_ULP): Remove macro.
1897 (compare_ulp_data): New function.
1898 (find_ulps): Likewise.
1899 (find_test_ulps): Likewise.
1900 (find_function_ulps): Likewise.
1901 (find_complex_function_ulps): Likewise.
1902 (print_max_error): Determine allowed ulps using
1904 (print_complex_max_error): Determine allowed ulps using
1905 find_complex_function_ulps.
1906 (check_float_internal): Determine max ulps using find_test_ulps.
1907 (check_float): Do not take max_ulp parameter. Update call to
1908 check_float_internal.
1909 (check_complex): Likewise.
1910 (check_int): Do not take max_ulp parameter.
1911 (check_long): Likewise.
1912 (check_bool): Likewise.
1913 (check_longlong): Likewise.
1914 (struct test_f_f_data): Remove max_ulp field.
1915 (struct test_ff_f_data): Likewise.
1916 (struct test_ff_f_data_nexttoward): Likewise.
1917 (struct test_fi_f_data): Likewise.
1918 (struct test_fl_f_data): Likewise.
1919 (struct test_if_f_data): Likewise.
1920 (struct test_fff_f_data): Likewise.
1921 (struct test_c_f_data): Likewise.
1922 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1923 (struct test_fF_f1_data): Likewise.
1924 (struct test_ffI_f1_data): Likewise.
1925 (struct test_c_c_data): Remove max_ulp field.
1926 (struct test_cc_c_data): Likewise.
1927 (struct test_f_i_data): Likewise.
1928 (struct test_ff_i_data): Likewise.
1929 (struct test_f_l_data): Likewise.
1930 (struct test_f_L_data): Likewise.
1931 (struct test_sincos_data): Likewise.
1932 (RUN_TEST_f_f): Do not handle ulps.
1933 (RUN_TEST_LOOP_f_f): Likewise.
1934 (RUN_TEST_2_f): Likewise.
1935 (RUN_TEST_LOOP_2_f): Likewise.
1936 (RUN_TEST_fff_f): Likewise.
1937 (RUN_TEST_LOOP_fff_f): Likewise.
1938 (RUN_TEST_c_f): Likewise.
1939 (RUN_TEST_LOOP_c_f): Likewise.
1940 (RUN_TEST_f_f1): Likewise.
1941 (RUN_TEST_LOOP_f_f1): Likewise.
1942 (RUN_TEST_fF_f1): Likewise.
1943 (RUN_TEST_LOOP_fF_f1): Likewise.
1944 (RUN_TEST_fI_f1): Likewise.
1945 (RUN_TEST_LOOP_fI_f1): Likewise.
1946 (RUN_TEST_ffI_f1): Likewise.
1947 (RUN_TEST_LOOP_ffI_f1): Likewise.
1948 (RUN_TEST_c_c): Likewise.
1949 (RUN_TEST_LOOP_c_c): Likewise.
1950 (RUN_TEST_cc_c): Likewise.
1951 (RUN_TEST_LOOP_cc_c): Likewise.
1952 (RUN_TEST_f_i): Likewise.
1953 (RUN_TEST_LOOP_f_i): Likewise.
1954 (RUN_TEST_f_i_tg): Likewise.
1955 (RUN_TEST_LOOP_f_i_tg): Likewise.
1956 (RUN_TEST_ff_i_tg): Likewise.
1957 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1958 (RUN_TEST_f_b): Likewise.
1959 (RUN_TEST_LOOP_f_b): Likewise.
1960 (RUN_TEST_f_b_tg): Likewise.
1961 (RUN_TEST_LOOP_f_b_tg): Likewise.
1962 (RUN_TEST_f_l): Likewise.
1963 (RUN_TEST_LOOP_f_l): Likewise.
1964 (RUN_TEST_f_L): Likewise.
1965 (RUN_TEST_LOOP_f_L): Likewise.
1966 (RUN_TEST_sincos): Likewise.
1967 (RUN_TEST_LOOP_sincos): Likewise.
1969 2013-05-17 Joseph Myers <joseph@codesourcery.com>
1973 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1974 main case of finite arguments, set rounding mode to FE_TONEAREST
1975 and discard exceptions.
1976 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1978 (remainder_tonearest_test_data): New variable.
1979 (remainder_test_tonearest): New function.
1980 (remainder_towardzero_test_data): New variable.
1981 (remainder_test_towardzero): New function.
1982 (remainder_downward_test_data): New variable.
1983 (remainder_test_downward): New function.
1984 (remainder_upward_test_data): New variable.
1985 (remainder_test_upward): New function.
1986 (main): Call the new test functions.
1988 * math/libm-test.inc (struct test_f_f1_data): Remove field
1990 (struct test_fF_f1_data): Likewise.
1991 (struct test_ffI_f1_data): Likewise.
1992 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1993 based on value of EXTRA_EXPECTED.
1994 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1995 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1996 EXTRA_VAR based on value of EXTRA_EXPECTED.
1997 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1998 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1999 EXTRA_VAR based on value of EXTRA_EXPECTED.
2000 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2001 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2002 EXTRA_VAR based on value of EXTRA_EXPECTED.
2003 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2004 * math/gen-libm-test.pl (parse_args): Don't output initializers
2005 for extra output values.
2007 * math/libm-test.inc (check_int): Expect result to be exactly
2008 equal to expected value and do not handle ulps.
2009 (check_long): Likewise.
2010 (check_longlong): Likewise.
2012 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2014 (cimag_test_data): Likewise.
2015 (conj_test_data): Likewise.
2016 (copysign_test_data): Likewise.
2017 (cproj_test_data): Likewise.
2018 (creal_test_data): Likewise.
2019 (fabs_test_data): Likewise.
2020 (fdim_test_data): Likewise.
2021 (finite_test_data): Likewise.
2022 (floor_test_data): Likewise.
2023 (fmax_test_data): Likewise.
2024 (fmin_test_data): Likewise.
2025 (fmod_test_data): Likewise.
2026 (fpclassify_test_data): Likewise.
2027 (frexp_test_data): Likewise.
2028 (ilogb_test_data): Likewise.
2029 (isfinite_test_data): Likewise.
2030 (isgreater_test_data): Likewise.
2031 (isgreaterequal_test_data): Likewise.
2032 (isinf_test_data): Likewise.
2033 (isless_test_data): Likewise.
2034 (islessequal_test_data): Likewise.
2035 (islessgreater_test_data): Likewise.
2036 (isnan_test_data): Likewise.
2037 (isnormal_test_data): Likewise.
2038 (issignaling_test_data): Likewise.
2039 (isunordered_test_data): Likewise.
2040 (ldexp_test_data): Likewise.
2041 (lrint_test_data): Likewise.
2042 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2043 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2044 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2045 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2046 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2047 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2049 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2050 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2051 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2052 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2054 (lrint_downward_test_data): Test for "inexact" exceptions.
2055 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2056 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2057 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2059 (lrint_upward_test_data): Test for "inexact" exceptions.
2060 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2062 (llrint_test_data): Test for "inexact" exceptions.
2063 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2064 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2065 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2066 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2067 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2068 (llrint_downward_test_data): Test for "inexact" exceptions.
2069 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2070 (llrint_upward_test_data): Test for "inexact" exceptions.
2071 (logb_test_data): Likewise.
2072 (logb_downward_test_data): Likewise.
2073 (nextafter_test_data): Likewise.
2074 (nexttoward_test_data): Likewise.
2075 (remainder_test_data): Likewise.
2076 (remquo_test_data): Likewise.
2077 (scalbn_test_data): Likewise.
2078 (scalbln_test_data): Likewise.
2079 (signbit_test_data): Likewise.
2080 (sqrt_test_data): Likewise.
2081 (significand_test_data): Likewise.
2083 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2086 * benchtests/bench-modf.c (struct args): Mark arg0 as
2088 * scripts/bench.pl: Mark members of struct args as volatile.
2090 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2093 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2094 negative infinity on POWER6 or lower.
2095 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2097 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2100 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2101 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2102 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2103 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2104 (_FP_SETQNAN): New macro.
2105 (_FP_SETQNAN_SEMIRAW): Likewise.
2106 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2107 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2108 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2109 (FP_EXTEND): Use _FP_FRAC_SNANP.
2110 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2111 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2113 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2115 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2118 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2120 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2121 with DIVIDE_BY_ZERO_EXCEPTION.
2122 (gamma_test_data): Likewise.
2123 (lgamma_test_data): Likewise.
2124 (log_test_data): Likewise.
2125 (log10_test_data): Likewise.
2126 (log2_test_data): Likewise.
2127 (tgamma_test_data): Likewise.
2129 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2130 (acos_test_tonearest): Likewise.
2131 (acos_test_towardzero): Likewise.
2132 (acos_test_downward): Likewise.
2133 (acos_test_upward): Likewise.
2134 (acosh_test): Likewise.
2135 (asin_test): Likewise.
2136 (asin_test_tonearest): Likewise.
2137 (asin_test_towardzero): Likewise.
2138 (asin_test_downward): Likewise.
2139 (asin_test_upward): Likewise.
2140 (asinh_test): Likewise.
2141 (atan_test): Likewise.
2142 (atanh_test): Likewise.
2143 (atan2_test): Likewise.
2144 (cabs_test): Likewise.
2145 (cacos_test): Likewise.
2146 (cacosh_test): Likewise.
2147 (casin_test): Likewise.
2148 (casinh_test): Likewise.
2149 (catan_test): Likewise.
2150 (catanh_test): Likewise.
2151 (cbrt_test): Likewise.
2152 (ccos_test): Likewise.
2153 (ccosh_test): Likewise.
2154 (cexp_test): Likewise.
2155 (clog_test): Likewise.
2156 (clog10_test): Likewise.
2157 (cos_test): Likewise.
2158 (cos_test_tonearest): Likewise.
2159 (cos_test_towardzero): Likewise.
2160 (cos_test_downward): Likewise.
2161 (cos_test_upward): Likewise.
2162 (cosh_test): Likewise.
2163 (cosh_test_tonearest): Likewise.
2164 (cosh_test_towardzero): Likewise.
2165 (cosh_test_downward): Likewise.
2166 (cosh_test_upward): Likewise.
2167 (cpow_test): Likewise.
2168 (csin_test): Likewise.
2169 (csinh_test): Likewise.
2170 (csqrt_test): Likewise.
2171 (ctan_test): Likewise.
2172 (ctan_test_tonearest): Likewise.
2173 (ctan_test_towardzero): Likewise.
2174 (ctan_test_downward): Likewise.
2175 (ctan_test_upward): Likewise.
2176 (ctanh_test): Likewise.
2177 (ctanh_test_tonearest): Likewise.
2178 (ctanh_test_towardzero): Likewise.
2179 (ctanh_test_downward): Likewise.
2180 (ctanh_test_upward): Likewise.
2181 (erf_test): Likewise.
2182 (erfc_test): Likewise.
2183 (exp_test): Likewise.
2184 (exp_test_tonearest): Likewise.
2185 (exp_test_towardzero): Likewise.
2186 (exp_test_downward): Likewise.
2187 (exp_test_upward): Likewise.
2188 (exp10_test): Likewise.
2189 (exp2_test): Likewise.
2190 (expm1_test): Likewise.
2191 (fmod_test): Likewise.
2192 (gamma_test): Likewise.
2193 (hypot_test): Likewise.
2194 (j0_test): Likewise.
2195 (j1_test): Likewise.
2196 (jn_test): Likewise.
2197 (lgamma_test): Likewise.
2198 (log_test): Likewise.
2199 (log10_test): Likewise.
2200 (log1p_test): Likewise.
2201 (log2_test): Likewise.
2202 (logb_test_downward): Likewise.
2203 (pow_test): Likewise.
2204 (pow_test_tonearest): Likewise.
2205 (pow_test_towardzero): Likewise.
2206 (pow_test_downward): Likewise.
2207 (pow_test_upward): Likewise.
2208 (remainder_test): Likewise.
2209 (remquo_test): Likewise.
2210 (sin_test): Likewise.
2211 (sin_test_tonearest): Likewise.
2212 (sin_test_towardzero): Likewise.
2213 (sin_test_downward): Likewise.
2214 (sin_test_upward): Likewise.
2215 (sincos_test): Likewise.
2216 (sinh_test): Likewise.
2217 (sinh_test_tonearest): Likewise.
2218 (sinh_test_towardzero): Likewise.
2219 (sinh_test_downward): Likewise.
2220 (sinh_test_upward): Likewise.
2221 (sqrt_test): Likewise.
2222 (tan_test): Likewise.
2223 (tan_test_tonearest): Likewise.
2224 (tan_test_towardzero): Likewise.
2225 (tan_test_downward): Likewise.
2226 (tan_test_upward): Likewise.
2227 (tanh_test): Likewise.
2228 (tgamma_test): Likewise.
2229 (y0_test): Likewise.
2230 (y1_test): Likewise.
2231 (yn_test): Likewise.
2233 * math/gen-libm-test.pl (adjust_arg): Remove function.
2234 (special_function): Remove argument $in_func. Only handle
2235 generating output for tables of tests, not inside functions.
2236 (parse_args): Likewise.
2237 (generate_testfile): Remove variable $in_func. Update call to
2239 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2240 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2241 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2242 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2243 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2244 (MAX_VALUE_INIT): Rename macro to max_value.
2245 (MIN_VALUE_INIT): Rename macro to min_value.
2246 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2247 (plus_zero): Remove variable.
2248 (minus_zero): Likewise.
2249 (plus_infty): Likewise.
2250 (minus_infty): Likewise.
2251 (qnan_value): Likewise.
2252 (max_value): Likewise.
2253 (min_value): Likewise.
2254 (min_subnorm_value): Likewise.
2256 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2258 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2259 uint64_t or uint32_t usage.
2260 * crypt/sha256-block.c: Likewise.
2261 * crypt/sha256-crypt.c: Likewise.
2262 * crypt/sha256.c: Likewise.
2263 * crypt/sha512-block.c: Likewise.
2264 * crypt/sha512-crypt.c: Likewise.
2265 * crypt/sha512.c: Likewise.
2266 * debug/backtrace-tst.c: Likewise.
2267 * debug/pcprofiledump.c: Likewise.
2268 * elf/cache.c: Likewise.
2269 * elf/dl-cache.c: Likewise.
2270 * elf/dl-misc.c: Likewise.
2271 * elf/dl-profile.c: Likewise.
2272 * elf/dl-support.c: Likewise.
2273 * elf/ldconfig.c: Likewise.
2274 * elf/sprof.c: Likewise.
2275 * iconv/dummy-repertoire.c: Likewise.
2276 * iconv/iconv_charmap.c: Likewise.
2277 * iconv/skeleton.c: Likewise.
2278 * iconvdata/8bit-generic.c: Likewise.
2279 * iconvdata/cp737.h: Likewise.
2280 * iconvdata/cp775.h: Likewise.
2281 * iconvdata/ibm1008.h: Likewise.
2282 * iconvdata/ibm1025.h: Likewise.
2283 * iconvdata/ibm1046.h: Likewise.
2284 * iconvdata/ibm1097.h: Likewise.
2285 * iconvdata/ibm1112.h: Likewise.
2286 * iconvdata/ibm1122.h: Likewise.
2287 * iconvdata/ibm1123.h: Likewise.
2288 * iconvdata/ibm1124.h: Likewise.
2289 * iconvdata/ibm1129.h: Likewise.
2290 * iconvdata/ibm1130.h: Likewise.
2291 * iconvdata/ibm1132.h: Likewise.
2292 * iconvdata/ibm1133.h: Likewise.
2293 * iconvdata/ibm1137.h: Likewise.
2294 * iconvdata/ibm1140.h: Likewise.
2295 * iconvdata/ibm1141.h: Likewise.
2296 * iconvdata/ibm1142.h: Likewise.
2297 * iconvdata/ibm1143.h: Likewise.
2298 * iconvdata/ibm1144.h: Likewise.
2299 * iconvdata/ibm1145.h: Likewise.
2300 * iconvdata/ibm1146.h: Likewise.
2301 * iconvdata/ibm1147.h: Likewise.
2302 * iconvdata/ibm1148.h: Likewise.
2303 * iconvdata/ibm1149.h: Likewise.
2304 * iconvdata/ibm1153.h: Likewise.
2305 * iconvdata/ibm1154.h: Likewise.
2306 * iconvdata/ibm1155.h: Likewise.
2307 * iconvdata/ibm1156.h: Likewise.
2308 * iconvdata/ibm1157.h: Likewise.
2309 * iconvdata/ibm1158.h: Likewise.
2310 * iconvdata/ibm1160.h: Likewise.
2311 * iconvdata/ibm1161.h: Likewise.
2312 * iconvdata/ibm1162.h: Likewise.
2313 * iconvdata/ibm1163.h: Likewise.
2314 * iconvdata/ibm1164.h: Likewise.
2315 * iconvdata/ibm1166.h: Likewise.
2316 * iconvdata/ibm1167.h: Likewise.
2317 * iconvdata/ibm12712.h: Likewise.
2318 * iconvdata/ibm1390.h: Likewise.
2319 * iconvdata/ibm1399.h: Likewise.
2320 * iconvdata/ibm16804.h: Likewise.
2321 * iconvdata/ibm4517.h: Likewise.
2322 * iconvdata/ibm4899.h: Likewise.
2323 * iconvdata/ibm4909.h: Likewise.
2324 * iconvdata/ibm4971.h: Likewise.
2325 * iconvdata/ibm5347.h: Likewise.
2326 * iconvdata/ibm803.h: Likewise.
2327 * iconvdata/ibm856.h: Likewise.
2328 * iconvdata/ibm901.h: Likewise.
2329 * iconvdata/ibm902.h: Likewise.
2330 * iconvdata/ibm9030.h: Likewise.
2331 * iconvdata/ibm9066.h: Likewise.
2332 * iconvdata/ibm921.h: Likewise.
2333 * iconvdata/ibm922.h: Likewise.
2334 * iconvdata/ibm9448.h: Likewise.
2335 * iconvdata/isiri-3342.h: Likewise.
2336 * iconvdata/jis0201.h: Likewise.
2337 * include/link.h: Likewise.
2338 * include/netdb.h: Likewise.
2339 * inet/check_native.c: Likewise.
2340 * inet/check_pf.c: Likewise.
2341 * inet/getipv4sourcefilter.c: Likewise.
2342 * inet/getnameinfo.c: Likewise.
2343 * inet/getsourcefilter.c: Likewise.
2344 * inet/htonl.c: Likewise.
2345 * inet/setipv4sourcefilter.c: Likewise.
2346 * inet/setsourcefilter.c: Likewise.
2347 * inet/test-inet6_opt.c: Likewise.
2348 * inet/tst-network.c: Likewise.
2349 * locale/C-collate.c: Likewise.
2350 * locale/C-ctype.c: Likewise.
2351 * locale/C-time.c: Likewise.
2352 * locale/C-translit.h: Likewise.
2353 * locale/loadarchive.c: Likewise.
2354 * locale/programs/3level.h: Likewise.
2355 * locale/programs/charmap.c: Likewise.
2356 * locale/programs/charmap.h: Likewise.
2357 * locale/programs/ld-address.c: Likewise.
2358 * locale/programs/ld-collate.c: Likewise.
2359 * locale/programs/ld-ctype.c: Likewise.
2360 * locale/programs/ld-identification.c: Likewise.
2361 * locale/programs/ld-measurement.c: Likewise.
2362 * locale/programs/ld-messages.c: Likewise.
2363 * locale/programs/ld-monetary.c: Likewise.
2364 * locale/programs/ld-name.c: Likewise.
2365 * locale/programs/ld-numeric.c: Likewise.
2366 * locale/programs/ld-paper.c: Likewise.
2367 * locale/programs/ld-telephone.c: Likewise.
2368 * locale/programs/ld-time.c: Likewise.
2369 * locale/programs/linereader.c: Likewise.
2370 * locale/programs/locale.c: Likewise.
2371 * locale/programs/locarchive.c: Likewise.
2372 * locale/programs/locfile.h: Likewise.
2373 * locale/programs/repertoire.c: Likewise.
2374 * locale/programs/simple-hash.c: Likewise.
2375 * locale/programs/simple-hash.h: Likewise.
2376 * malloc/memusage.c: Likewise.
2377 * malloc/memusagestat.c: Likewise.
2378 * nis/nis_defaults.c: Likewise.
2379 * nis/nis_hash.c: Likewise.
2380 * nis/nis_print.c: Likewise.
2381 * nis/nis_xdr.c: Likewise.
2382 * nscd/connections.c: Likewise.
2383 * nscd/hstcache.c: Likewise.
2384 * nscd/nscd_gethst_r.c: Likewise.
2385 * nscd/nscd_getserv_r.c: Likewise.
2386 * nscd/nscd_helper.c: Likewise.
2387 * nscd/servicescache.c: Likewise.
2388 * nss/makedb.c: Likewise.
2389 * nss/nss_db/db-XXX.c: Likewise.
2390 * nss/nss_db/db-initgroups.c: Likewise.
2391 * nss/nss_db/db-netgrp.c: Likewise.
2392 * nss/nss_files/files-network.c: Likewise.
2393 * nss/nss_files/files-parse.c: Likewise.
2394 * posix/bug-regex5.c: Likewise.
2395 * posix/fnmatch_loop.c: Likewise.
2396 * posix/regcomp.c: Likewise.
2397 * posix/regexec.c: Likewise.
2398 * posix/tst-rfc3484-2.c: Likewise.
2399 * posix/tst-rfc3484-3.c: Likewise.
2400 * posix/tst-rfc3484.c: Likewise.
2401 * resolv/nss_dns/dns-canon.c: Likewise.
2402 * resolv/nss_dns/dns-network.c: Likewise.
2403 * resolv/res_init.c: Likewise.
2404 * resolv/res_mkquery.c: Likewise.
2405 * resolv/tst-aton.c: Likewise.
2406 * stdlib/cxa_atexit.c: Likewise.
2407 * stdlib/cxa_finalize.c: Likewise.
2408 * stdlib/gen-fpioconst.c: Likewise.
2409 * stdlib/strtol_l.c: Likewise.
2410 * string/tst-endian.c: Likewise.
2411 * sunrpc/auth_des.c: Likewise.
2412 * sunrpc/clnt_udp.c: Likewise.
2413 * sunrpc/rtime.c: Likewise.
2414 * sunrpc/svcauth_des.c: Likewise.
2415 * sunrpc/xdr.c: Likewise.
2416 * sunrpc/xdr_intXX_t.c: Likewise.
2417 * sunrpc/xdr_rec.c: Likewise.
2418 * sysdeps/generic/ldconfig.h: Likewise.
2419 * sysdeps/generic/ldsodefs.h: Likewise.
2420 * sysdeps/generic/memusage.h: Likewise.
2421 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2422 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2423 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2424 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2425 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2426 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2427 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2428 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2429 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2430 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2431 * sysdeps/posix/getaddrinfo.c: Likewise.
2432 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2433 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2434 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2435 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2436 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2437 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2438 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2439 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2440 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2441 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2442 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2443 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2444 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2445 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2446 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2447 * sysdeps/x86_64/dl-tls.h: Likewise.
2448 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2449 * time/alt_digit.c: Likewise.
2450 * time/era.c: Likewise.
2451 * wcsmbs/tst-c16c32-1.c: Likewise.
2453 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2455 * math/libm-test.inc (struct test_sincos_data): New type.
2456 (RUN_TEST_LOOP_sincos): New macro.
2457 (sincos_test_data): New variable.
2458 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2460 2013-05-16 Richard Henderson <rth@redhat.com>
2462 * math/atest-exp2.c (LIMB64): New macro.
2463 (CONSTSZ): New macro.
2464 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2466 (print_mpn_fp): ... to function scope.
2467 (read_mpn_hex): Remove.
2469 (exp2_mpn): Use mp_log2.
2470 (main): Use mp_exp1.
2472 2013-05-16 Joseph Myers <joseph@codesourcery.com>
2474 * math/libm-test.inc: Remove comment about not testing "inexact"
2476 (INEXACT_EXCEPTION): New macro.
2477 (NO_INEXACT_EXCEPTION): Likewise.
2478 (INVALID_EXCEPTION_OK): Update value.
2479 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2480 (OVERFLOW_EXCEPTION_OK): Likewise.
2481 (UNDERFLOW_EXCEPTION_OK): Likewise.
2482 (IGNORE_ZERO_INF_SIGN): Likewise.
2483 (ERRNO_UNCHANGED): Likewise.
2484 (ERRNO_EDOM): Likewise.
2485 (ERRNO_ERANGE): Likewise.
2486 (test_exceptions): Handle testing "inexact" exceptions.
2487 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2488 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2489 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2490 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2492 (rint_towardzero_test_data): Likewise.
2493 (rint_downward_test_data): Likewise.
2494 (rint_upward_test_data): Likewise.
2496 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2497 with OVERFLOW_EXCEPTION.
2498 (exp10_test_data): Likewise.
2499 (exp2_test_data): Likewise.
2500 (expm1_test_data): Likewise.
2501 (lgamma_test_data): Likewise.
2502 (pow_test_data): Likewise.
2503 (tgamma_test_data): Likewise.
2504 (yn_test_data): Remove duplicate test of overflow.
2506 * math/libm-test.inc (struct test_cc_c_data): New type.
2507 (RUN_TEST_LOOP_cc_c): New macro.
2508 (cpow_test_data): New variable.
2509 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2511 * math/libm-test.inc (struct test_f_L_data): New type.
2512 (RUN_TEST_LOOP_f_L): New macro.
2513 (llrint_test_data): New variable.
2514 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2515 (llrint_tonearest_test_data): New variable.
2516 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2517 (llrint_towardzero_test_data): New variable.
2518 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2519 (llrint_downward_test_data): New variable.
2520 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2521 (llrint_upward_test_data): New variable.
2522 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2523 (llround_test_data): New variable.
2524 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2526 2013-05-13 Peter Collingbourne <pcc@google.com>
2528 * math/atest-exp2.c (get_log2): Remove const attribute.
2530 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2532 * math/libm-test.inc (struct test_f_l_data): New type.
2533 (RUN_TEST_LOOP_f_l): New macro.
2534 (lrint_test_data): New variable.
2535 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2536 (lrint_tonearest_test_data): New variable.
2537 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2538 (lrint_towardzero_test_data): New variable.
2539 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2540 (lrint_downward_test_data): New variable.
2541 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2542 (lrint_upward_test_data): New variable.
2543 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2544 (lround_test_data): New variable.
2545 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2547 2013-05-15 Peter Collingbourne <pcc@google.com>
2549 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2550 (EXTRACT_WORDS64) Use where appropriate.
2551 (INSERT_WORDS64) Likewise.
2553 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2554 constraints with x constraints.
2555 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2557 * malloc/obstack.c (_obstack_compat): Add initializer.
2559 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2561 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2562 si_trapno and add si_addr_lsb to _sifields.sigfault.
2563 (si_trapno): Remove macro.
2564 (si_addr_lsb): Define new macro.
2565 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2567 2013-05-15 Joseph Myers <joseph@codesourcery.com>
2569 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2570 instead of TEST_f_l.
2571 (llrint_test_tonearest): Likewise.
2572 (llrint_test_towardzero): Likewise.
2573 (llrint_test_downward): Likewise.
2574 (llrint_test_upward): Likewise.
2575 (llround_test): Likewise.
2577 * math/libm-test.inc (struct test_f_i_data): Add comment.
2578 (RUN_TEST_LOOP_f_b): New macro.
2579 (RUN_TEST_LOOP_f_b_tg): Likewise.
2580 (finite_test_data): New variable.
2581 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2582 (isfinite_test_data): New variable.
2583 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2584 (isinf_test_data): New variable.
2585 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2586 (isnan_test_data): New variable.
2587 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2588 (isnormal_test_data): New variable.
2589 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2590 (issignaling_test_data): New variable.
2591 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2592 (signbit_test_data): New variable.
2593 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2595 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2596 with INVALID_EXCEPTION.
2597 (acosh_test_data): Likewise.
2598 (asin_test_data): Likewise.
2599 (atanh_test_data): Likewise.
2600 (fmod_test_data): Likewise.
2601 (log_test_data): Likewise.
2602 (log10_test_data): Likewise.
2603 (log2_test_data): Likewise.
2604 (pow_test_data): Likewise.
2605 (sqrt_test_data): Likewise.
2606 (y0_test_data): Likewise.
2607 (y1_test_data): Likewise.
2608 (yn_test_data): Likewise.
2610 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2613 * math/libm-test.inc (struct test_ff_i_data): New type.
2614 (RUN_TEST_LOOP_ff_i_tg): New macro.
2615 (isgreater_test_data): New variable.
2616 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2617 (isgreaterequal_test_data): New variable.
2618 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2619 (isless_test_data): New variable.
2620 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2621 (islessequal_test_data): New variable.
2622 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2623 (islessgreater_test_data): New variable.
2624 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2625 (isunordered_test_data): New variable.
2626 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2628 2013-05-14 David S. Miller <davem@davemloft.net>
2630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2632 2013-05-14 Joseph Myers <joseph@codesourcery.com>
2634 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2636 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2638 (struct test_f_i_data): Change type of max_ulp to int.
2640 * math/libm-test.inc (test_ffI_f1_data): New type.
2641 (RUN_TEST_LOOP_ffI_f1): New macro.
2642 (remquo_test_data): New variable.
2643 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2645 * setjmp/tst-setjmp-fp.c: New file.
2646 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2647 (link-libm): New variable.
2648 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2650 * math/libm-test.inc (struct test_f_i_data): New type.
2651 (RUN_TEST_LOOP_f_i): New macro.
2652 (RUN_TEST_LOOP_f_i_tg): Likewise.
2653 (fpclassify_test_data): New variable.
2654 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2655 (ilogb_test_data): New variable.
2656 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2658 * math/libm-test.inc (scalbln_test): Correct function name in END
2661 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2662 (RUN_TEST_LOOP_fI_f1): New macro.
2663 (frexp_test_data): New variable.
2664 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2666 * math/libm-test.inc (struct test_fF_f1_data): New type.
2667 (RUN_TEST_LOOP_fF_f1): New macro.
2668 (modf_test_data): New variable.
2669 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2671 * math/libm-test.inc (struct test_f_f1_data): New type.
2672 (RUN_TEST_LOOP_f_f1): New macro.
2673 (gamma_test_data): New variable.
2674 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2675 (lgamma_test_data): New variable.
2676 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2678 2013-05-13 Carlos O'Donell <carlos@redhat.com>
2680 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2681 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2682 (main): Comment "tls" pseudo-hwcap.
2684 2013-05-13 Joseph Myers <joseph@codesourcery.com>
2686 * math/libm-test.inc (struct test_fl_f_data): New type.
2687 (RUN_TEST_LOOP_fl_f): New variable.
2688 (scalbln_test_data): New variable.
2689 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2691 * math/libm-test.inc (struct test_fi_f_data): New type.
2692 (RUN_TEST_LOOP_fi_f): New macro.
2693 (ldexp_test_data): New variable.
2694 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2695 (scalbn_test_data): New variable.
2696 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2698 * math/libm-test.inc (struct test_c_f_data): New type.
2699 (RUN_TEST_LOOP_c_f): New macro.
2700 (cabs_test_data): New variable.
2701 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2702 (carg_test_data): New variable.
2703 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2704 (cimag_test_data): New variable.
2705 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2706 (creal_test_data): New variable.
2707 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2709 * math/libm-test.inc (struct test_if_f_data): New type.
2710 (RUN_TEST_LOOP_if_f): New macro.
2711 (jn_test_data): New variable.
2712 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2713 (yn_test_data): New variable.
2714 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2716 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2718 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2720 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2721 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2723 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2725 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2726 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2727 (bench-deps): Add bench-timing.h.
2728 * benchtests-bench-skeleton.c: Include bench-timing.h.
2729 (main): Use TIMING_* macros instead of clock_gettime.
2730 * benchtests/bench-timing.h: New file.
2733 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2734 Renamed from _LIB_VERSION.
2735 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2737 2013-05-12 Joseph Myers <joseph@codesourcery.com>
2739 * math/libm-test.inc (struct test_fff_f_data): New type.
2740 (RUN_TEST_LOOP_fff_f): New macro.
2741 (fma_test_data): New variable.
2742 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2743 (fma_towardzero_test_data): New variable.
2744 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2745 (fma_downward_test_data): New variable.
2746 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2747 (fma_upward_test_data): New variable.
2748 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2750 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2751 (struct test_c_c_data): New type.
2752 (RUN_TEST_LOOP_c_c): New macro.
2753 (cacos_test_data): New variable.
2754 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2755 (cacosh_test_data): New variable.
2756 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2757 (casin_test_data): New variable.
2758 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2759 (casinh_test_data): New variable.
2760 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2761 (catan_test_data): New variable.
2762 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2763 (catanh_test_data): New variable.
2764 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2765 (ccos_test_data): New variable.
2766 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2767 (ccosh_test_data): New variable.
2768 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2769 (cexp_test_data): New variable.
2770 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2771 (clog_test_data): New variable.
2772 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2773 (clog10_test_data): New variable.
2774 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2775 (conj_test_data): New variable.
2776 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2777 (cproj_test_data): New variable.
2778 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2779 (csin_test_data): New variable.
2780 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2781 (csinh_test_data): New variable.
2782 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2783 (csqrt_test_data): New variable.
2784 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2785 (ctan_test_data): New variable.
2786 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2787 (ctan_tonearest_test_data): New variable.
2788 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2789 (ctan_towardzero_test_data): New variable.
2790 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2791 (ctan_downward_test_data): New variable.
2792 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2793 (ctan_upward_test_data): New variable.
2794 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2795 (ctanh_test_data): New variable.
2796 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2797 (ctanh_tonearest_test_data): New variable.
2798 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2799 (ctanh_towardzero_test_data): New variable.
2800 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2801 (ctanh_downward_test_data): New variable.
2802 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2803 (ctanh_upward_test_data): New variable.
2804 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2805 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2808 * math/libm-test.inc (struct test_ff_f_data): New type.
2809 (struct test_ff_f_data_nexttoward): Likewise.
2810 (RUN_TEST_LOOP_2_f): New macro.
2811 (RUN_TEST_LOOP_ff_f): Likewise.
2812 (atan2_test_data): New variable.
2813 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2814 (copysign_test_data): New variable.
2815 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2816 (fdim_test_data): New variable.
2817 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2818 (fmax_test_data): New variable.
2819 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2820 (fmin_test_data): New variable.
2821 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2822 (fmod_test_data): New variable.
2823 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2824 (hypot_test_data): New variable.
2825 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2826 (nextafter_test_data): New variable.
2827 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2828 (nexttoward_test_data): New variable.
2829 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2830 (pow_test_data): New variable.
2831 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2832 (pow_tonearest_test_data): New variable.
2833 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2834 (pow_towardzero_test_data): New variable.
2835 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2836 (pow_downward_test_data): New variable.
2837 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2838 (pow_upward_test_data): New variable.
2839 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2840 (remainder_test_data): New variable.
2841 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2842 (scalb_test_data): New variable.
2843 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2844 * sysdeps/i386/fpu/libm-test-ulps: Update.
2846 2013-05-11 Joseph Myers <joseph@codesourcery.com>
2848 * math/libm-test.inc (fma_test): Use max_value instead of local
2850 (nextafter_test): Likewise.
2852 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2853 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2854 (acos_downward_test_data): New variable.
2855 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2856 (acos_upward_test_data): New variable.
2857 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2858 (acosh_test_data): New variable.
2859 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2860 (asin_test_data): New variable.
2861 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2862 (asin_tonearest_test_data): New variable.
2863 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2864 (asin_towardzero_test_data): New variable.
2865 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2866 (asin_downward_test_data): New variable.
2867 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2868 (asin_upward_test_data): New variable.
2869 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2870 (asinh_test_data): New variable.
2871 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2872 (atan_test_data): New variable.
2873 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2874 (atanh_test_data): New variable.
2875 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2876 (cbrt_test_data): New variable.
2877 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2878 (ceil_test_data): New variable.
2879 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2880 (cos_test_data): New variable.
2881 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2882 (cos_tonearest_test_data): New variable.
2883 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2884 (cos_towardzero_test_data): New variable.
2885 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2886 (cos_downward_test_data): New variable.
2887 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2888 (cos_upward_test_data): New variable.
2889 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2890 (cosh_test_data): New variable.
2891 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2892 (cosh_tonearest_test_data): New variable.
2893 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2894 (cosh_towardzero_test_data): New variable.
2895 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2896 (cosh_downward_test_data): New variable.
2897 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2898 (cosh_upward_test_data): New variable.
2899 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2900 (erf_test_data): New variable.
2901 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2902 (erfc_test_data): New variable.
2903 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2904 (exp_test_data): New variable.
2905 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2906 (exp_tonearest_test_data): New variable.
2907 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2908 (exp_towardzero_test_data): New variable.
2909 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2910 (exp_downward_test_data): New variable.
2911 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2912 (exp_upward_test_data): New variable.
2913 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2914 (exp10_test_data): New variable.
2915 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2916 (exp2_test_data): New variable.
2917 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2918 (expm1_test_data): New variable.
2919 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2920 (fabs_test_data): New variable.
2921 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2922 (floor_test_data): New variable.
2923 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2924 (j0_test_data): New variable.
2925 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2926 (j1_test_data): New variable.
2927 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2928 (log_test_data): New variable.
2929 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2930 (log10_test_data): New variable.
2931 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2932 (log1p_test_data): New variable.
2933 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2934 (log2_test_data): New variable.
2935 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2936 (logb_test_data): New variable.
2937 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2938 (logb_downward_test_data): New variable.
2939 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2940 (nearbyint_test_data): New variable.
2941 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2942 (rint_test_data): New variable.
2943 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2944 (rint_tonearest_test_data): New variable.
2945 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2946 (rint_towardzero_test_data): New variable.
2947 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2948 (rint_downward_test_data): New variable.
2949 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2950 (rint_upward_test_data): New variable.
2951 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2952 (round_test_data): New variable.
2953 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2954 (sin_test_data): New variable.
2955 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2956 (sin_tonearest_test_data): New variable.
2957 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2958 (sin_towardzero_test_data): New variable.
2959 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2960 (sin_downward_test_data): New variable.
2961 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2962 (sin_upward_test_data): New variable.
2963 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2964 (sinh_test_data): New variable.
2965 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2966 (sinh_tonearest_test_data): New variable.
2967 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2968 (sinh_towardzero_test_data): New variable.
2969 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2970 (sinh_downward_test_data): New variable.
2971 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2972 (sinh_upward_test_data): New variable.
2973 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2974 (sqrt_test_data): New variable.
2975 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2976 (tan_test_data): New variable.
2977 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2978 (tan_tonearest_test_data): New variable.
2979 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2980 (tan_towardzero_test_data): New variable.
2981 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2982 (tan_downward_test_data): New variable.
2983 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2984 (tan_upward_test_data): New variable.
2985 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2986 (tanh_test_data): New variable.
2987 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2988 (tgamma_test_data): New variable.
2989 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2990 (trunc_test_data): New variable.
2991 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2992 (y0_test_data): New variable.
2993 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2994 (y1_test_data): New variable.
2995 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2996 (significand_test_data): New variable.
2997 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2999 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3002 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3004 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3006 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3008 2013-05-10 Andreas Jaeger <aj@suse.de>
3011 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3012 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3014 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3016 * math/gen-libm-test.pl (adjust_arg): New function.
3017 (special_functions): Handle generating output in both functions
3019 (parse_args): Likewise.
3020 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3021 $in_func argument to parse_args.
3022 * math/libm-test.inc (struct test_f_f_data): New type.
3023 (IF_ROUND_INIT_): New macro.
3024 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3025 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3026 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3027 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3028 (ROUND_RESTORE_): Likewise.
3029 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3030 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3031 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3032 (ROUND_RESTORE_FE_UPWARD): Likewise.
3033 (RUN_TEST_LOOP_f_f): New macro.
3034 (acos_test_data): New variable.
3035 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3036 (acos_tonearest_test_data): New variable.
3037 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3039 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3041 * benchtests/bench-skeleton.c (startup): Fix coding style.
3043 2013-05-10 Joseph Myers <joseph@codesourcery.com>
3046 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3047 negative infinity argument.
3048 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3049 negative infinity argument.
3050 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3051 negative infinity argument.
3052 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3055 2013-05-10 Florian Weimer <fweimer@redhat.com>
3057 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3058 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3059 * iconv/iconv_prog.c (main): Likewise.
3060 * locale/programs/charmap-dir.c (charmap_readdir)
3061 (fopen_uncompressed): Likewise.
3062 * locale/programs/locfile.c (siblings_uncached)
3063 (write_locale_data): Use lstat64 instead of lstat.
3064 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3067 2013-05-10 Andreas Jaeger <aj@suse.de>
3070 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3074 2013-05-09 Carlos O'Donell <carlos@redhat.com>
3076 * elf/dl-close.c (_dl_close_worker): Add comments.
3078 2013-05-09 Joseph Myers <joseph@codesourcery.com>
3081 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3083 (__ieee754_rem_pio2l): Update comments.
3086 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3088 (__ieee754_rem_pio2l): Update comments.
3090 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3091 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3093 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3096 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3097 (M_PI_34_LOG10El): Likewise.
3098 (M_PI2_LOG10El): Likewise.
3099 (M_PI4_LOG10El): Likewise.
3100 (M_PI_LOG10El): Likewise.
3102 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3106 2013-05-08 Joseph Myers <joseph@codesourcery.com>
3108 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3109 (MINUS_ZERO_INIT): Likewise.
3110 (PLUS_INFTY_INIT): Likewise.
3111 (MINUS_INFTY_INIT): Likewise.
3112 (QNAN_VALUE_INIT): Likewise.
3113 (MAX_VALUE_INIT): Likewise.
3114 (MIN_VALUE_INIT): Likewise.
3115 (MIN_SUBNORM_VALUE_INIT): Likewise.
3116 (plus_zero): Initialize with PLUS_ZERO_INIT.
3117 (minus_zero): Initialize with MINUS_ZERO_INIT.
3118 (plus_infty): Initialize with PLUS_INFTY_INIT.
3119 (minus_infty): Initialize with MINUS_INFTY_INIT.
3120 (qnan_value): Initialize with QNAN_VALUE_INIT.
3121 (max_value): Initialize with MAX_VALUE_INIT.
3122 (min_value): Initialize with MIN_VALUE_INIT.
3123 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3125 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3126 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3127 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3128 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3130 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3131 (RUN_TEST_2_f): Likewise.
3132 (RUN_TEST_ff_f): Likewise.
3133 (RUN_TEST_fi_f): Likewise.
3134 (RUN_TEST_fl_f): Likewise.
3135 (RUN_TEST_fff_f): Likewise.
3136 (RUN_TEST_c_f): Likewise.
3137 (RUN_TEST_f_f1): Likewise.
3138 (RUN_TEST_fF_f1): Likewise.
3139 (RUN_TEST_fI_f1): Likewise.
3140 (RUN_TEST_ffI_f1): Likewise.
3141 (RUN_TEST_c_c): Likewise.
3142 (RUN_TEST_cc_c): Likewise.
3143 (RUN_TEST_f_i): Likewise.
3144 (RUN_TEST_f_i_tg): Likewise.
3145 (RUN_TEST_ff_i_tg): Likewise.
3146 (RUN_TEST_f_b): Likewise.
3147 (RUN_TEST_f_b_tg): Likewise.
3148 (RUN_TEST_f_l): Likewise.
3149 (RUN_TEST_f_L): Likewise.
3150 (RUN_TEST_sincos): Likewise.
3151 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3152 whether to show exceptions. Do not include ");\n" in return
3154 (special_functions): Output call to RUN_TEST_sincos instead of
3155 check_float calls. Update calls to new_test.
3156 (parse_args): Output call to single RUN_TEST_* macro instead of
3157 check_* calls and other assignments. Update calls to new_test.
3163 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3164 input to result for tgamma overflow.
3165 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3166 (gamma_coeff): New variable.
3167 (NCOEFF): New macro.
3168 (gamma_positive): New function.
3169 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3170 underflow here. Use gamma_positive instead of exp (lgamma) for
3172 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3173 (gamma_coeff): New variable.
3174 (NCOEFF): New macro.
3175 (gammaf_positive): New function.
3176 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3177 underflow here. Use gamma_positive instead of exp (lgamma) for
3179 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3180 (gamma_coeff): New variable.
3181 (NCOEFF): New macro.
3182 (gammal_positive): New function.
3183 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3184 underflow here. Use gamma_positive instead of exp (lgamma) for
3186 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3187 (gamma_coeff): New variable.
3188 (NCOEFF): New macro.
3189 (gammal_positive): New function.
3190 (__ieee754_gammal_r): Handle positive infinity, overflow and
3191 underflow here. Handle NaN the same as positive infinity. Remove
3192 check x < 0xffffffff for negative integers. Use gamma_positive
3193 instead of exp (lgamma) for other arguments.
3194 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3195 (gamma_coeff): New variable.
3196 (NCOEFF): New macro.
3197 (gammal_positive): New function.
3198 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3199 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3200 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3202 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3203 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3204 * sysdeps/generic/math_private.h (__gamma_productf): New
3206 (__gamma_product): Likewise.
3207 (__gamma_productl): Likewise.
3208 * math/Makefile (libm-calls): Add gamma_product.
3209 * math/libm-test.inc (tgamma_test): Add more tests.
3210 * sysdeps/i386/fpu/libm-test-ulps: Update.
3211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3213 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
3215 * benchtests/bench-skeleton.c (main): Preheat CPU.
3217 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3219 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3221 2013-05-07 Roland McGrath <roland@hack.frob.com>
3223 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3224 and _dl_skip_args_internal.
3226 2013-05-07 Carlos O'Donell <carlos@redhat.com>
3228 * manual/message.texi (Message Translation): Talk about users.
3229 Message to key mapping impacts design.
3231 2013-05-06 Roland McGrath <roland@hack.frob.com>
3233 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3235 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3237 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3238 * sysdeps/wordsize-64/glob64.c: ... here.
3240 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3241 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3244 * debug/getlogin_r_chk.c: Moved to ...
3245 * login/getlogin_r_chk.c: ... here.
3246 * debug/Makefile (routines): Move getlogin_r_chk to ...
3247 * login/Makefile (routines): ... here.
3248 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3249 * login/Versions (libc: GLIBC_2.4): ... here.
3251 * io/poll.c (__poll): Renamed from poll.
3252 Add libc_hidden_def.
3253 (poll): Define as weak alias.
3255 * debug/ptsname_r_chk.c: Moved to ...
3256 * login/ptsname_r_chk.c: ... here.
3257 * debug/Makefile (routines): Move ptsname_r_chk to ...
3258 * login/Makefile (routines): ... here.
3259 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3260 * login/Versions (libc: GLIBC_2.4): ... here.
3262 * posix/getlogin.c: Moved to ...
3263 * login/getlogin.c: ... here.
3264 * posix/getlogin_r.c: Moved to ...
3265 * login/getlogin_r.c: ... here.
3266 * posix/getlogin_r.c: Moved to ...
3267 * login/getlogin_r.c: ... here.
3268 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3269 * login/Makefile (routines): ... here.
3270 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3271 * login/Versions (libc: GLIBC_2.0): ... here.
3273 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3274 (setrlimit): Define as weak alias.
3276 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3277 Call __ names for open, ftruncate, and close.
3278 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3279 (truncate): Define as weak alias.
3281 2013-05-06 Joseph Myers <joseph@codesourcery.com>
3283 * math/gen-libm-test.pl (parse_args): Initialize x before each
3284 test of frexp, modf and remquo.
3286 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3289 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3293 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3295 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3297 2013-05-06 Roland McGrath <roland@hack.frob.com>
3299 * elf/dl-writev.h: New file.
3300 * elf/dl-misc.c: Include it.
3301 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3302 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3304 2013-05-04 Joseph Myers <joseph@codesourcery.com>
3306 * math/libm-test.inc (noXFails): Remove variable.
3307 (noXPasses): Likewise.
3308 (BUILD_COMPLEX_INT): Remove macro.
3309 (print_screen): Remove xfail argument.
3310 (print_screen_max_error): Likewise.
3311 (update_stats): Likewise.
3312 (print_max_error): Likewise. Update calls to other affected
3314 (print_complex_max_error): Likewise.
3315 (test_single_exception): Update calls to print_screen.
3316 (test_single_errno): Likewise.
3317 (check_float_internal): Remove xfail argument. Update calls to
3318 other affected functions.
3319 (check_float): Likewise.
3320 (check_complex): Likewise.
3321 (check_int): Likewise.
3322 (check_long): Likewise.
3323 (check_bool): Likewise.
3324 (check_longlong): Likewise.
3325 (main): Don't print noXFails and noXPasses.
3326 * math/gen-libm-test.pl (top level): Don't mention expected
3327 failure handling in comment.
3328 (new_test): Don't handle expected failures.
3329 (parse_args): Don't mention expected failure handling in comment.
3330 (generate_testfile): Don't handle expected failures.
3331 (parse_ulps): Likewise.
3332 (print_ulps_file): Likewise.
3333 (get_failure): Remove function.
3334 (output_test): Don't handle expected failures.
3335 * make/README.libm-test: Don't mention expected failure handling.
3337 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3338 (minus_zero): Likewise.
3339 (plus_infty): Likewise.
3340 (minus_infty): Likewise.
3341 (qnan_value): Likewise.
3342 (max_value): Likewise.
3343 (min_value): Likewise.
3344 (min_subnorm_value): Likewise.
3345 (initialize): Do not initialize those variables dynamically.
3347 2013-05-03 Roland McGrath <roland@hack.frob.com>
3349 * io/open.c (__open_2): Moved to ...
3350 * io/open_2.c: ... this new file.
3351 * io/open64.c (__open64_2): Moved to ...
3352 * io/open64_2.c: ... this new file.
3353 * io/openat.c (__openat_2): Moved to ...
3354 * io/openat_2.c: ... this new file.
3355 * io/openat64.c (__openat64_2): Moved to ...
3356 * io/openat64_2.c: ... this new file.
3357 * io/Makefile (routines): Add them.
3358 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3359 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3360 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3361 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3362 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3363 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3364 (__openat64): Add hidden_ver.
3365 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3366 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3368 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3369 Separately conditionalize setting of GLRO(dl_sysinfo) so
3370 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3371 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3373 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3375 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3376 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3378 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3379 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3380 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3381 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3382 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3384 2013-05-03 Joseph Myers <joseph@codesourcery.com>
3386 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3389 * math/libm-test.inc (hypot_test): Do not use
3390 IGNORE_ZERO_INF_SIGN.
3392 2013-05-03 Andreas Jaeger <aj@suse.de>
3394 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3396 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3397 (PF_MAX): Adjust for VSOCK change.
3399 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3403 2013-05-02 Carlos O'Donell <carlos@redhat.com>
3406 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3407 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3408 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3410 2013-05-02 David S. Miller <davem@davemloft.net>
3412 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3414 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
3416 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3418 2013-05-01 Roland McGrath <roland@hack.frob.com>
3420 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3422 2013-05-01 Richard Smith <richard@metafoo.co.uk>
3425 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3426 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3427 Use __attribute__ ((__gnu_inline__)).
3428 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3429 Don't use __attribute__ ((__gnu_inline__)).
3431 2013-05-01 Joseph Myers <joseph@codesourcery.com>
3434 * math/s_catan.c (__catan): Handle small real or imaginary part of
3435 input specially to avoid spurious underflow.
3436 * math/s_catanf.c (__catanf): Likewise.
3437 * math/s_catanh.c (__catanh): Likewise.
3438 * math/s_catanhf.c (__catanhf): Likewise.
3439 * math/s_catanhl.c (__catanhl): Likewise.
3440 * math/s_catanl.c (__catanl): Likewise.
3441 * math/libm-test.inc (catan_test): Add more tests.
3442 (catanh_test): Likewise.
3443 * sysdeps/i386/fpu/libm-test-ulps: Update.
3444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3446 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3450 2013-04-30 Joseph Myers <joseph@codesourcery.com>
3453 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3454 accurately for denominator in atan2.
3455 * math/s_catanf.c (__catanf): Likewise.
3456 * math/s_catanh.c (__catanh): Likewise.
3457 * math/s_catanhf.c (__catanhf): Likewise.
3458 * math/s_catanhl.c (__catanhl): Likewise.
3459 * math/s_catanl.c (__catanl): Likewise.
3460 * math/libm-test.inc (catan_test): Add more tests.
3461 (catanh_test): Likewise.
3462 * sysdeps/i386/fpu/libm-test-ulps: Update.
3463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3465 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3467 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3469 * benchtests/Makefile (bench): Remove slow benchmarks.
3470 * benchtests/atan-inputs: Add slow benchmark inputs.
3471 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3472 (BENCH_FUNC): Accept variant offset.
3474 * benchtests/bench-skeleton.c (main): Run benchmark for each
3476 * benchtests/cos-inputs: Add slow benchmark inputs.
3477 * benchtests/exp-inputs: Likewise.
3478 * benchtests/pow-inputs: Likewise.
3479 * benchtests/sin-inputs: Likewise.
3480 * benchtests/slowatan-inputs: Remove.
3481 * benchtests/slowatan.c: Remove.
3482 * benchtests/slowcos-inputs: Remove.
3483 * benchtests/slowcos.c: Remove.
3484 * benchtests/slowexp-inputs: Remove.
3485 * benchtests/slowexp.c: Remove.
3486 * benchtests/slowpow-inputs: Remove.
3487 * benchtests/slowpow.c: Remove.
3488 * benchtests/slowsin-inputs: Remove.
3489 * benchtests/slowsin.c: Remove.
3490 * benchtests/slowtan-inputs: Remove.
3491 * benchtests/slowtan.c: Remove.
3492 * benchtests/tan-inputs: Add slow benchmark inputs.
3493 * scripts/bench.pl: Parse comments and directives.
3495 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3497 ($(objpfx)bench-%.c): Remove *-ITER.
3498 * benchtests/bench-modf.c: Remove definition of ITER.
3499 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3500 (main): Loop for DURATION seconds instead of fixed number of
3502 * scripts/bench.pl: Don't expect iterations in parameters.
3504 2013-04-29 Roland McGrath <roland@hack.frob.com>
3506 * io/fchdir.c (__fchdir): Renamed from fchdir.
3507 (fchdir): Define as weak alias.
3509 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3511 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3512 (ERRNO_EDOM): Likewise.
3513 (ERRNO_ERANGE): Likewise.
3514 (noErrnoTests): New variable.
3515 (init_max_error): Set errno to 0.
3516 (test_single_errno): New function.
3517 (test_errno): Likewise.
3518 (check_float_internal): Call test_errno. Set errno to 0.
3519 (check_complex): Refer to errno tests in comment.
3520 (check_int): Call test_errno. Set errno to 0.
3521 (check_long): Likewise.
3522 (check_bool): Likewise.
3523 (check_longlong): Likewise.
3524 (cos_test): Use ERRNO_* flags for errno tests instead of
3526 (expm1_test): Likewise.
3527 (fmod_test): Likewise.
3528 (ilogb_test): Likewise.
3529 (lgamma_test): Likewise.
3530 (pow_test): Likewise.
3531 (remainder_test): Likewise.
3532 (sin_test): Likewise.
3533 (tan_test): Likewise.
3534 (yn_test): Likewise.
3535 (initialize): Set errno to 0.
3536 (main): Print number of errno tests.
3537 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3539 2013-04-29 Andreas Jaeger <aj@suse.de>
3542 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3546 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3547 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3551 * stdlib/random.c (__initstate): Return NULL if
3555 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3556 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3559 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3563 2013-04-29 Joseph Myers <joseph@codesourcery.com>
3565 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3566 of individual tests.
3567 (casin_test): Likewise.
3568 (casinh_test): Likewise.
3570 2013-04-27 Joseph Myers <joseph@codesourcery.com>
3573 * math/s_catan.c (__catan): Handle arguments with large real or
3574 imaginary part separately without squaring.
3575 * math/s_catanf.c (__catanf): Likewise.
3576 * math/s_catanh.c (__catanh): Likewise.
3577 * math/s_catanhf.c (__catanhf): Likewise.
3578 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3580 (__catanhl): Handle arguments with large real or imaginary part
3581 separately without squaring.
3582 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3584 (__catanl): Handle arguments with large real or imaginary part
3585 separately without squaring.
3586 * math/libm-test.inc (catan_test): Add more tests.
3587 (catanh_test): Likewise.
3588 * sysdeps/i386/fpu/libm-test-ulps: Update.
3589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3591 2013-04-27 Andreas Jaeger <aj@suse.de>
3594 * stdlib/stdlib.h: Update guards for qecvt.
3595 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3598 2013-04-27 Allan McRae <allan@archlinux.org>
3600 * sysdeps/i386/fpu/libm-test-ulps: Update.
3602 2013-04-26 Joseph Myers <joseph@codesourcery.com>
3605 * math/s_catan.c: Include <float.h>.
3606 (__catan): Ensure underflow exception occurs for underflowed
3608 * math/s_catanf.c: Include <float.h>.
3609 (__catanf): Ensure underflow exception occurs for underflowed
3611 * math/s_catanh.c: Include <float.h>.
3612 (__catanh): Ensure underflow exception occurs for underflowed
3614 * math/s_catanhf.c: Include <float.h>.
3615 (__catanhf): Ensure underflow exception occurs for underflowed
3617 * math/s_catanhl.c: Include <float.h>.
3618 (__catanhl): Ensure underflow exception occurs for underflowed
3620 * math/s_catanl.c: Include <float.h>.
3621 (__catanl): Ensure underflow exception occurs for underflowed
3623 * math/libm-test.inc (catan_test): Add more tests.
3624 (catanh_test): Likewise.
3627 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3629 * math/s_ccoshf.c (__ccoshf): Likewise.
3630 * math/s_ccoshl.c (__ccoshl): Likewise.
3631 * math/s_csin.c (__csin): Likewise.
3632 * math/s_csinf.c (__csinf): Likewise.
3633 * math/s_csinh.c (__csinh): Likewise.
3634 * math/s_csinhf.c (__csinhf): Likewise.
3635 * math/s_csinhl.c (__csinhl): Likewise.
3636 * math/s_csinl.c (__csinl): Likewise.
3637 * math/libm-test.inc (ccos_test): Add more tests.
3638 (ccosh_test): Likewise.
3639 (csin_test): Likewise.
3640 (csinh_test): Likewise.
3642 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3644 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3645 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3646 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3647 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3648 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3649 powerpc/power5+/fpu folders.
3650 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3653 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3657 2013-04-25 Joseph Myers <joseph@codesourcery.com>
3659 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3660 additions to variable.
3661 [$(config-machine) = x86_64] (modules-names): Likewise.
3662 ($(objpfx)tst-audit3): Remove dependency.
3663 ($(objpfx)tst-audit3.out): Likewise.
3664 ($(objpfx)tst-audit4): Likewise.
3665 ($(objpfx)tst-audit4.out): Likewise.
3666 ($(objpfx)tst-audit5): Likewise.
3667 ($(objpfx)tst-audit5.out): Likewise.
3668 ($(objpfx)tst-audit6): Likewise.
3669 ($(objpfx)tst-audit6.out): Likewise.
3670 ($(objpfx)tst-audit7): Likewise.
3671 ($(objpfx)tst-audit7.out): Likewise.
3672 (tst-audit3-ENV): Remove variable.
3673 (tst-audit4-ENV): Likewise.
3674 (tst-audit5-ENV): Likewise.
3675 (tst-audit6-ENV): Likewise.
3676 (tst-audit7-ENV): Likewise.
3677 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3678 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3679 addition to variable.
3680 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3681 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3682 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3683 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3684 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3685 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3686 tst-audit3, tst-audit4 and tst-audit5.
3687 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3688 tst-audit6 and tst-audit7.
3689 [$(subdir) = elf] (modules-names): Add audit modules for those
3691 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3692 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3693 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3694 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3695 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3696 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3697 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3698 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3699 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3700 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3701 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3702 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3703 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3704 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3705 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3706 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3708 [$(subdir) = elf && $(config-cflags-avx) = yes]
3709 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3710 [$(subdir) = elf && $(config-cflags-avx) = yes]
3711 (CFLAGS-tst-auditmod4a.c): Likewise.
3712 [$(subdir) = elf && $(config-cflags-avx) = yes]
3713 (CFLAGS-tst-auditmod4b.c): Likewise.
3714 [$(subdir) = elf && $(config-cflags-avx) = yes]
3715 (CFLAGS-tst-auditmod6b.c): Likewise.
3716 [$(subdir) = elf && $(config-cflags-avx) = yes]
3717 (CFLAGS-tst-auditmod6c.c): Likewise.
3718 [$(subdir) = elf && $(config-cflags-avx) = yes]
3719 (CFLAGS-tst-auditmod7b.c): Likewise.
3720 * elf/tst-audit3.c: Move to ...
3721 * sysdeps/x86_64/tst-audit3.c: ... here.
3722 * elf/tst-audit4.c: Move to ...
3723 * sysdeps/x86_64/tst-audit4.c: ... here.
3724 * elf/tst-audit5.c: Move to ...
3725 * sysdeps/x86_64/tst-audit5.c: ... here.
3726 * elf/tst-audit6.c: Move to ...
3727 * sysdeps/x86_64/tst-audit6.c: ... here.
3728 * elf/tst-audit7.c: Move to ...
3729 * sysdeps/x86_64/tst-audit7.c: ... here.
3730 * elf/tst-auditmod3a.c: Move to ...
3731 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3732 * elf/tst-auditmod3b.c: Move to ...
3733 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3734 * elf/tst-auditmod4a.c: Move to ...
3735 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3736 * elf/tst-auditmod4b.c: Move to ...
3737 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3738 * elf/tst-auditmod5a.c: Move to ...
3739 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3740 * elf/tst-auditmod5b.c: Move to ...
3741 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3742 * elf/tst-auditmod6a.c: Move to ...
3743 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3744 * elf/tst-auditmod6b.c: Move to ...
3745 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3746 * elf/tst-auditmod6c.c: Move to ...
3747 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3748 * elf/tst-auditmod7a.c: Move to ...
3749 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3750 * elf/tst-auditmod7b.c: Move to ...
3751 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3753 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3756 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3757 define unconditionally.
3758 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3759 define unconditionally.
3760 (INT8_C, INT16_C, etc.): Likewise.
3762 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3764 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3765 __ehdr_start with hidden visibility.
3767 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3769 2013-04-24 Carlos O'Donell <carlos@redhat.com>
3771 * math/libm-test.inc (cos_test): Use accurate hex constants.
3772 (sincost_test): Likewise.
3774 2013-04-24 Joseph Myers <joseph@codesourcery.com>
3776 * math/libm-test.inc (catan_test): Add more tests.
3777 (catanh_test): Likewise.
3779 * math/s_catanf.c (__catanf): Use suffixed floating-point
3781 * math/s_catanhf.c (__catanhf): Likewise.
3782 * math/s_catanhl.c (__catanhl): Likewise.
3783 * math/s_catanl.c (__catanl): Likewise.
3786 * math/s_catan.c (__catan): Calculate imaginary part of result
3787 with log1p not log unless computing log of number close to 0.
3788 * math/s_catanf.c (__catanf): Likewise.
3789 * math/s_catanl.c (__catanl): Likewise.
3790 * math/s_catanh.c (__catanh): Calculate real part of result with
3791 log1p not log unless computing log of number close to 0.
3792 * math/s_catanhf.c (__catanhf): Likewise.
3793 * math/s_catanhl.c (__catanhl): Likewise.
3794 * math/libm-test.inc (catan_test): Add more tests.
3795 (catanh_test): Likewise.
3796 * sysdeps/i386/fpu/libm-test-ulps: Update.
3797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3799 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3801 * benchtests/Makefile: Mention files in which fast and slow
3802 paths of math functions are implemented.
3804 2013-04-23 Roland McGrath <roland@hack.frob.com>
3806 * sysdeps/posix/timespec_get.c: New file.
3808 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3810 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3812 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3814 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3815 powerpc/power5/fpu folders.
3816 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3817 * benchtests/Makefile: Add modf testcase.
3818 * benchtests/bench-modf.c: New file: Benchmark test for mo
3820 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3823 * time/Makefile (tests): Add tst-strptime-whitespace.
3824 * time/strptime_l.c (get_number): Use ISSPACE.
3825 (__strptime_internal): Likewise.
3826 * time/tst-strptime-whitespace.c: New test case.
3828 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3830 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3832 (_nss_files_init): Set it here.
3834 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3836 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3837 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3840 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3842 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3844 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3849 2013-04-21 David S. Miller <davem@davemloft.net>
3851 * po/ru.po: Update Russion translation from translation project.
3853 2013-04-17 Adam Conrad <adconrad@0c3.net>
3855 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3858 2013-04-17 Carlos O'Donell <carlos@redhat.com>
3860 * configure.in: Remove i386 configure warning. Remove i386 case.
3861 * configure: Regenerate.
3862 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
3863 Add example to error message.
3864 * sysdeps/i386/configure: Regenerate.
3866 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3868 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3870 * benchtests/cos-inputs: New file.
3871 * benchtests/slowcos-inputs: New file.
3872 * benchtests/slowcos.c: New file.
3873 * benchtests/slowtan-inputs: New file.
3874 * benchtests/slowtan.c: New file.
3875 * benchtests/tan-inputs: New file.
3877 2013-04-16 Roland McGrath <roland@hack.frob.com>
3879 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3882 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3884 * benchtests/Makefile: Include cppflags-iterator.mk to add
3885 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3887 * Makefile.in (bench-clean): New target.
3888 * benchtests/Makefile (bench-clean): Likewise.
3890 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3892 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3894 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3896 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3898 2013-04-15 Andreas Schwab <schwab@suse.de>
3900 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3901 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3902 * nscd/pwdcache.c (cache_addpw): Likewise.
3903 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3906 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3908 * benchtests/Makefile (bench): Write all output to
3909 bench-out.tmp together.
3911 2013-04-15 Andreas Schwab <schwab@suse.de>
3913 * nscd/nscd.c (main): Don't fork again after closing files.
3915 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3917 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3919 * benchtests/Rules (bench-deps): Collect dependencies into a
3920 single variable. Add Makefile to dependencies.
3921 ($(objpfx)bench-%.c): Depend on bench-deps.
3923 2013-04-12 Roland McGrath <roland@hack.frob.com>
3924 Xavier Roche <roche+kml2@exalead.com>
3927 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3928 just that it's a file descriptor.
3929 * manual/llio.texi (Synchronizing AIO Operations): Update description
3930 for EBADF error from aio_fsync.
3932 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3934 * Rules (bench): Move target definition...
3935 * benchtests/Makefile: ... here.
3937 2013-04-11 Carlos O'Donell <carlos@redhat.com>
3939 * math/libm-test.inc (cos_test): Fix PI/2 test.
3940 (sincos_test): Likewise.
3941 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3942 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3944 2013-04-11 Andreas Schwab <schwab@suse.de>
3947 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3948 accept exponent character only when digits were seen.
3949 * stdio-common/Makefile (tests): Add bug26.
3950 * stdio-common/bug26.c: New file.
3953 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3956 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3958 * Makeconfig (rtld-prefix): Define built linker prefix.
3959 * Rules (run-bench): Use it.
3960 * math/Makefile (run-regen-ulps): Likewise.
3962 * Rules (bench): Remove eval.
3964 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3965 Roland McGrath <roland@hack.frob.com>
3966 Ondrej Bilka <neleai@seznam.cz>
3969 * time/getdate.c: Include ctype.h and alloca.h.
3970 (__getdate_r): Trim leading and trailing spaces of input.
3971 * time/tst-getdate.c (tests): Add tests with leading and
3974 2013-04-08 Roland McGrath <roland@hack.frob.com>
3977 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3978 when computing value.
3980 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3982 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3983 Use testrun.sh to run libm tests.
3986 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3988 2013-04-06 Marko Myllynen <myllynen@redhat.com>
3991 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3993 2013-04-06 Carlos O'Donell <carlos@redhat.com>
3995 * Makefile.in (regen-ulps): New target.
3996 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3997 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3998 [ifneq (no,$(PERL)] (regen-ulps): New target.
3999 [ifeq (no,$(PERL)] (regen-ulps): New target.
4000 * math/libm-test.inc (ulps_file_name): Define.
4001 (output_dir): New variable.
4002 (options): Add "output-dir" option.
4003 (parse_opt): Handle 'o' case.
4004 (main): If output_dir is non-NULL use it as a prefix
4006 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4008 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4011 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4012 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4013 fail configure if __sync_val_compare_and_swap is not inlined.
4014 * sysdeps/i386/configure: Regenerate.
4015 * configure.in: Build for i686 when configured for i386.
4016 * configure: Regenerate.
4017 * README: Remove i386 reference.
4019 2013-04-06 Carlos O'Donell <carlos@redhat.com>
4021 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4022 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4024 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4026 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4027 (lmsnanval): New variables.
4028 (F): Add conversion tests.
4029 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4030 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4032 * stdio-common/tstdiomisc.c (F): Properly collect individual
4036 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4037 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4038 Instead, use input NaN values or generate a qNaN by arithmetic
4039 operation. Also fix bugs to comply with the standard.
4040 * math/libm-test.inc (remainder_test): Add more tests.
4043 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4044 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4045 input NaN values or generate a qNaN by arithmetic operation.
4047 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4050 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4053 2013-04-03 Joseph Myers <joseph@codesourcery.com>
4056 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4058 * math/s_cexpf.c (__cexpf): Likewise.
4059 * math/s_cexpl.c (__cexpl): Likewise.
4060 * math/libm-test.inc (cexp_test): Add more tests.
4062 2013-04-03 Andreas Schwab <schwab@suse.de>
4065 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4066 order arrays from heap if bigger than alloca cutoff.
4068 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4070 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4071 (SNAN_TESTS_double): Refer to GCC PR56831.
4072 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4075 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4077 * Rules (bench): Move bench.out after the run is complete.
4079 * Rules (bench): Echo currently running benchmark.
4081 * benchtests/Makefile (bench): Add atan and slowatan.
4082 * benchtests/atan-inputs: New file.
4083 * benchtests/slowatan-inputs: New file.
4084 * benchtests/slowatan.c: New file.
4086 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4087 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4091 * sysdeps/unix/sysv/linux/kernel-features.h
4092 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4093 __ASSUME_XFS_RESTRICTED_CHOWN.
4094 * sysdeps/unix/sysv/linux/pathconf.c
4095 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4096 Save and restore errno.
4098 2013-04-02 Joseph Myers <joseph@codesourcery.com>
4101 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4102 arguments using __kernel_casinh.
4103 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4104 arguments using __kernel_casinhf.
4105 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4106 arguments using __kernel_casinhl.
4107 * math/libm-test.inc (cacosh_test): Add more tests.
4108 * sysdeps/i386/fpu/libm-test-ulps: Update.
4109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4111 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4113 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4114 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4116 * bench/Makefile (bench): Add sin and slowsin.
4117 * benchtests/sin-inputs: New file.
4118 * benchtests/slowsin-inputs: New file.
4119 * benchtests/slowsin.c: New file.
4121 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4122 (bench): Add slowexp and slowpow.
4123 (exp-ITER): Increase iterations.
4124 (pow-ITER): Likewise.
4125 * benchtests/exp-inputs: Change input.
4126 * benchtests/pow-inputs: Likewise.
4127 * benchtests/slowexp-inputs: New file.
4128 * benchtests/slowexp.c: New file.
4129 * benchtests/slowpow-inputs: New file.
4130 * benchtests/slowpow.c: New file.
4132 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4134 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4136 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4137 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4138 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4139 * benchtests/Makefile: Add rint benchtest.
4140 * benchtests/rint-inputs: Input for rint benchtest.
4142 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4144 * Versions.def (libm): Add GLIBC_2.18.
4145 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4146 hidden libm prototypes.
4147 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4148 * math/Makefile (libm-calls): Add s_issignaling.
4149 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4150 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4151 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4153 * math/math.h [__USE_GNU] (issignaling): New macro.
4154 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4155 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4156 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4157 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4158 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4160 * manual/arith.texi (issignaling): New section.
4161 * manual/libm-err-tab.pl (@all_functions): Update comment.
4162 * math/gen-libm-test.pl (parse_args): Apply special handling for
4164 * math/libm-test.inc (print_float, issignaling_test): New
4166 (check_float_internal): Add issignaling checks.
4167 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4169 * sysdeps/powerpc/math-tests.h: New file.
4170 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4172 * math/test-snan.c (TEST_FUNC): Likewise.
4174 2013-03-30 David S. Miller <davem@davemloft.net>
4176 * po/de.po: Update from translation team.
4178 2013-03-30 Joseph Myers <joseph@codesourcery.com>
4181 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4182 imaginary part less than 1.0 and real part less than 0.5
4184 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4185 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4186 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4187 (cacos_test): Add more tests.
4188 (casin_test): Likewise.
4189 (casinh_test): Likewise.
4190 * sysdeps/i386/fpu/libm-test-ulps: Update.
4191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4193 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4195 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4198 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4199 (__pow_mp): Replace ONE and MONE with their values.
4200 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4201 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4202 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4203 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4204 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4205 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4207 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4209 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4210 (__pow_mp): Replace ZERO and MZERO with their values.
4211 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4212 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4213 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4215 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4216 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4219 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4221 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4223 2013-03-28 Roland McGrath <roland@hack.frob.com>
4225 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4226 Declare with __attribute__ ((weak)).
4227 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4228 Call __call_tls_dtors only if it's not NULL.
4230 2013-03-28 Roland McGrath <roland@hack.frob.com>
4232 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4233 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4234 magic __ehdr_start linker symbol if it's defined.
4235 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4236 them up here if it was already done.
4238 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4239 (_dl_aux_init): Use const in cast when setting it.
4240 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4241 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4242 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4244 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4246 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4247 * csu/libc-tls.c: Nor here.
4248 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4250 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4251 (__libc_message): Never call vsyslog.
4253 2013-03-28 Alan Modra <amodra@gmail.com>
4255 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4257 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4260 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4263 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4267 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4270 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4271 Don't add gid passed as argument.
4273 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4275 2013-03-27 Joseph Myers <joseph@codesourcery.com>
4278 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4279 imaginary part between 1.0 and 1.5 and real part less than 0.5
4281 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4282 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4283 * math/libm-test.inc (cacos_test): Add more tests.
4284 (casin_test): Likewise.
4285 (casinh_test): Likewise.
4286 * sysdeps/i386/fpu/libm-test-ulps: Update.
4287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4289 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4291 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4295 (__dbl_mp): Likewise.
4296 (add_magnitudes): Likewise.
4297 (sub_magnitudes): Likewise.
4305 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4307 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4308 (__dubcos): Likewise.
4309 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4310 (__ieee754_acos): Likewise.
4311 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4312 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4314 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4315 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4317 (my_log2): Likewise.
4318 (checkint): Likewise.
4319 * sysdeps/ieee754/dbl-64/e_remainder.c
4320 (__ieee754_remainder): Likewise.
4321 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4322 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4324 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4326 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4327 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4328 MANTISSA_STORE_T to store computations on mantissa. Use
4329 macros for rounding and division.
4331 (__dbl_mp): Likewise.
4332 (add_magnitudes): Likewise.
4333 (sub_magnitudes): Likewise.
4336 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4337 powers of two in terms of TWOPOW macro.
4338 (mp_no): Make type of mantissa as MANTISSA_T.
4339 [!RADIXI]: Define RADIXI.
4340 [!TWO52]: Define TWO52.
4341 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4343 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4345 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4346 llroundl symbol when building for PPC32.
4348 2013-03-24 Mark H Weaver <mhw@netris.org>
4350 * manual/arith.texi (Normalization Functions): Fix prototypes for
4351 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4353 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4356 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4357 high value to check if expl overflow.
4358 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4359 to check for underflow and overflow.
4360 * math/libm-test.inc: Add exp test.
4362 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4365 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4368 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4370 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4373 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4375 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4376 wrap blocks consisting of several statements.
4378 * sysdeps/generic/math-tests.h: New file.
4379 * sysdeps/i386/fpu/math-tests.h: Likewise.
4380 * math/test-snan.c: Include it.
4381 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4383 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4386 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4387 (__ieee754_j0l): Do not improve calculations using cos of twice
4388 input for inputs above LDBL_MAX / 2.0L.
4389 (__ieee754_y0l): Likewise.
4390 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4391 (__ieee754_j1l): Do not improve calculations using cos of twice
4392 input for inputs above LDBL_MAX / 2.0L.
4393 (__ieee754_y1l): Likewise.
4394 * math/libm-test.inc (j0_test): Add another test.
4395 (j1_test): Likewise.
4396 (y0_test): Likewise.
4397 (y1_test): Likewise.
4398 * sysdeps/i386/fpu/libm-test-ulps: Update.
4400 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4402 * Rules ($(objpfx)bench-%.c): Include code from a C source
4405 2013-03-21 Joseph Myers <joseph@codesourcery.com>
4408 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4409 imaginary part 1.0 and real part less than 0.5 specially.
4410 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4411 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4412 * math/libm-test.inc (cacos_test): Add more tests.
4413 (casin_test): Likewise.
4414 (casinh_test): Likewise.
4415 * sysdeps/i386/fpu/libm-test-ulps: Update.
4416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4418 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4420 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4421 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4423 2013-03-20 Joseph Myers <joseph@codesourcery.com>
4425 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4426 * config.make.in (config-cflags-sse4): Remove variable.
4427 (config-cflags-avx): Likewise.
4428 (config-cflags-sse2avx): Likewise.
4429 (config-cflags-novzeroupper): Likewise.
4430 (config-asflags-i686): Likewise.
4431 (have-mfma4): Likewise.
4432 (have-as-vis3): Likewise.
4434 * configure.in (MIG): Do not AC_SUBST.
4435 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4436 (libc_cv_cc_sse4): Do not AC_SUBST.
4437 (libc_cv_cc_avx): Likewise.
4438 (libc_cv_cc_sse2avx): Likewise.
4439 (libc_cv_cc_novzeroupper): Likewise.
4440 (libc_cv_cc_fma4): Likewise.
4441 (libc_cv_as_i686): Likewise.
4442 (libc_cv_sparc_as_vis3): Likewise.
4443 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4445 (config-asflags-i686): Likewise.
4446 (config-cflags-avx): Likewise.
4447 (config-cflags-sse2avx): Likewise.
4448 (have-mfma4): Likewise.
4449 (config-cflags-novzeroupper): Likewise.
4450 * sysdeps/mach/configure.in (MIG): Likewise.
4451 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4452 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4454 (config-cflags-avx): Likewise.
4455 (config-cflags-sse2avx): Likewise.
4456 (have-mfma4): Likewise.
4457 (config-cflags-novzeroupper): Likewise.
4458 * configure: Regenerated.
4459 * sysdeps/i386/configure: Likewise.
4460 * sysdeps/mach/configure: Likewise.
4461 * sysdeps/sparc/configure: Likewise.
4462 * sysdeps/x86_64/configure: Likewise.
4464 2013-03-20 Roland McGrath <roland@hack.frob.com>
4467 * locale/programs/localedef.c (options): Put N_ translation marker
4468 on argument names, not just descriptions.
4470 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4472 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4474 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
4477 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4479 2013-03-19 Roland McGrath <roland@hack.frob.com>
4481 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4482 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4483 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4484 [!BEFORE_ABORT] (before_abort): New function.
4485 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4486 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4487 (writev_for_fatal): New function.
4488 (WRITEV_FOR_FATAL): New macro; call that.
4489 (backtrace_and_maps): New function.
4490 (BEFORE_ABORT): New macro; call that.
4491 (struct str_list): Type removed.
4492 (__libc_message, __libc_fatal): Functions removed.
4493 Include <sysdeps/posix/libc_fatal.c> instead.
4495 2013-03-19 Joseph Myers <joseph@codesourcery.com>
4497 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4499 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4502 2013-03-19 Andreas Schwab <schwab@suse.de>
4504 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4505 * sysdeps/gnu/configure: Regenerate.
4507 * configure.in: Substitute libc_cv_rtlddir.
4508 * configure: Regenerate.
4509 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4510 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4511 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4512 * elf/Makefile (install-others, CFLAGS-interp.c)
4513 (ldso_install, common-ldd-rewrite): Likewise.
4514 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4515 $(inst_slibdir)/$(rtld-installed-name).
4516 * scripts/rellns-sh: Add -p option.
4517 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4520 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4522 * manual/nptl.texi: Renamed to ...
4523 * manual/threads.texi: ... this.
4524 * manual/Makefile (chapters): Update.
4526 2013-03-18 Roland McGrath <roland@hack.frob.com>
4529 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4530 on argument names, not just descriptions.
4531 * malloc/memusagestat.c (options): Likewise.
4532 * nss/getent.c (options): Likewise.
4534 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
4537 * iconv/iconv_prog.c (options): Put N_ translation marker
4538 on argument names, not just descriptions.
4539 * iconv/iconvconfig.c (options): Likewise.
4541 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
4543 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4544 implementation which is faster on all x86_64 architectures.
4545 Tested on AMD, Intel Nehalem, SNB, IVB.
4546 * sysdeps/x86_64/strnlen.S: Likewise.
4548 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4549 Remove all multiarch strlen and strnlen versions.
4550 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4551 Remove strlen and strnlen related parts.
4553 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4555 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4557 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4558 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4559 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4560 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4561 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4562 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4564 2013-03-17 Carlos O'Donell <carlos@redhat.com>
4566 * manual/memory.texi (Malloc Tunable Parameters):
4567 Sort parameters alphabetically. Add comments for missing entries.
4569 2013-03-17 David S. Miller <davem@davemloft.net>
4571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4573 2013-03-16 Joseph Myers <joseph@codesourcery.com>
4576 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4577 for arguments at most half maximum finite value.
4578 * math/libm-test.inc (j0_test): Add more tests.
4579 (j1_test): Likewise.
4580 (y0_test): Likewise.
4581 (y1_test): Likewise.
4582 * sysdeps/i386/fpu/libm-test-ulps: Update.
4583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4586 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4587 1 / x and functions P and Q for arguments above 0x1p256L.
4588 (__ieee754_y0l): Likewise.
4589 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4590 (__ieee754_y1l): Likewise.
4591 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4592 (j1_test): Likewise.
4593 (y0_test): Likewise.
4594 (y1_test): Likewise.
4596 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4598 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4601 2013-03-15 Roland McGrath <roland@hack.frob.com>
4603 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4604 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4605 zero since it's initialized to EXEC_PAGESIZE.
4607 * sysdeps/unix/sysv/linux/ldsodefs.h
4608 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4609 * sysdeps/generic/ldsodefs.h: ... here.
4611 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4613 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4615 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4617 * math/test-snan.c: Renamed from
4618 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4619 * math/Makefile (tests): Add test-snan.
4620 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4623 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4624 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4626 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4627 __builtin_nan family of functions.
4628 * math/libm-test.inc (initialize): Initialize qnan_value with
4629 __builtin_nan family of functions.
4630 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4632 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4634 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4635 storage class. Initialize qNaN_var and sNaN_var with
4636 __builtin_nan and __builtin_nans families of functions,
4639 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4640 (sqrt_test): Remove duplicate test with qNaN input.
4641 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4642 (round_test, signbit_test, significand_test): Note missing +/-Inf
4643 as well as qNaN tests.
4645 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4646 qNaN_var. Fix a few strings, too.
4647 * math/libm-test.inc (nan_value): Rename to qnan_value.
4648 * math/gen-libm-test.pl (%beautify): Adjust to that.
4649 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4650 * math/test-misc.c (main): Likewise.
4651 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4652 to __qnan_bytes, and __qnan_union, respectively.
4653 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4655 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4656 and lqnanval, respectively.
4657 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4658 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4659 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4660 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4662 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4663 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4666 * math/test-misc.c (main): Fix copy'n'pastos.
4667 * misc/tst-efgcvt.c (special): Likewise.
4669 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4670 Remove declarations.
4672 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4674 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4675 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4676 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4677 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4679 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4681 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4682 macro to return vdso values correctly in IFUNC implementations.
4683 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4684 Optimization by using IFUNC.
4686 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4687 Richard Henderson <rth@redhat.com>
4688 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4690 * Makefile.in (bench): New target.
4691 * NEWS: Mention the benchmark framework.
4692 * Rules (bench): Likewise.
4693 (binaries-bench): Generate binaries for functions to
4695 * benchtests/Makefile: New makefile for benchmark tests.
4696 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4698 * benchtests/exp-inputs: New input file for EXP function.
4699 * benchtests/pow-inputs: New input file for POW function.
4700 * scripts/bench.pl: New script to generate source files for
4703 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4705 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4706 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4707 computations on mantissa. Use macros for rounding and
4710 (__dbl_mp): Likewise.
4711 (add_magnitudes): Likewise.
4712 (sub_magnitudes): Likewise.
4715 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4716 powers of two in terms of TWOPOW macro.
4717 (mp_no): Make type of mantissa as MANTISSA_T.
4718 [!RADIXI]: Define RADIXI.
4719 [!TWO52]: Define TWO52.
4720 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4722 * manual/nptl.texi (cindex): Modify threads to pthreads.
4724 2013-03-15 Joseph Myers <joseph@codesourcery.com>
4726 * sysdeps/x86_64/preconfigure: Regenerated.
4728 2013-03-14 Joseph Myers <joseph@codesourcery.com>
4731 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4733 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4734 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4736 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4737 * math/libm-test.inc (j0_test): Do not allow one spurious
4738 underflow exception.
4739 (y1_test): Likewise.
4741 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4743 * manual/Makefile (chapters): Add nptl.
4744 * manual/debug.texi (Debugging Support): Add link to Threads
4746 * manual/nptl.texi: New file.
4748 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4750 2013-03-14 Petr Baudis <pasky@ucw.cz>
4752 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4753 for non-NULL pointer before the memory validity test. Pointed
4754 out by Holger Brunck <holger.brunck@keymile.com>.
4756 2013-03-13 Andreas Schwab <schwab@suse.de>
4758 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4761 2013-03-13 Joseph Myers <joseph@codesourcery.com>
4763 * timezone/zic.c: Update from tzcode 2013b.
4765 2013-03-12 Carlos O'Donell <carlos@redhat.com>
4767 * manual/install.texi (Configuring and compiling):
4768 Mention i686 and i586.
4769 * INSTALL: Regenerate.
4771 2013-03-12 Roland McGrath <roland@hack.frob.com>
4773 * sysdeps/init_array/elf-init.c: New file.
4775 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4776 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4778 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4779 __gmon_start__ as global, but as static with a .preinit_array pointer.
4780 * sysdeps/init_array/gmon-start.c: New file. Use that.
4781 * sysdeps/init_array/crti.S: New file, empty except for comments.
4782 * sysdeps/init_array/crtn.S: Likewise.
4784 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
4786 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4789 Remove Prefer_SSE_for_memop.
4790 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4791 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4792 HAS_PREFER_SSE_FOR_MEMOP.
4793 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4795 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4796 Remove bzero, memset ifunc support.
4797 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4798 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4799 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4800 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4802 2013-03-11 Andreas Schwab <schwab@suse.de>
4805 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4807 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4808 (GLIBC_2.16): Remove pthread_atfork.
4810 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4812 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4813 (ptestcases.h): Likewise.
4815 2013-03-08 Roland McGrath <roland@hack.frob.com>
4817 * Makeconfig ($(common-objpfx)config.status): Depend on
4818 sysdeps/*/preconfigure{,.in} too.
4820 2013-03-08 Joseph Myers <joseph@codesourcery.com>
4822 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4823 (__free_hook): Use void * instead of __malloc_ptr_t.
4824 (__malloc_hook): Likewise.
4825 (__realloc_hook): Likewise.
4826 (__memalign_hook): Likewise.
4827 (__after_morecore_hook): Likewise.
4828 * malloc/arena.c (save_malloc_hook): Likewise.
4829 (save_free_hook): Likewise.
4830 * malloc/hooks.c (malloc_hook_ini): Likewise.
4831 (realloc_hook_ini): Likewise.
4832 (memalign_hook_ini): Likewise.
4833 * malloc/malloc.c (malloc_hook_ini): Likewise.
4834 (realloc_hook_ini): Likewise.
4835 (memalign_hook_ini): Likewise.
4836 (__free_hook): Likewise.
4837 (__malloc_hook): Likewise.
4838 (__realloc_hook): Likewise.
4839 (__memalign_hook): Likewise.
4840 (__libc_malloc): Likewise.
4841 (__libc_free): Likewise.
4842 (__libc_realloc): Likewise.
4843 (__libc_memalign): Likewise.
4844 (__libc_valloc): Likewise.
4845 (__libc_pvalloc): Likewise.
4846 (__libc_calloc): Likewise.
4847 (__posix_memalign): Likewise.
4848 * malloc/morecore.c (__sbrk): Likewise.
4849 (__default_morecore): Likewise.
4851 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4853 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4854 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4857 * malloc/malloc.h (__malloc_size_t): Remove macro.
4858 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4860 (old_memalign_hook): Likewise.
4861 (old_realloc_hook): Likewise.
4862 (struct hdr): Likewise.
4864 (mallochook): Likewise.
4865 (memalignhook): Likewise.
4866 (reallochook): Likewise.
4867 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4868 (tr_old_realloc_hook): Likewise.
4869 (tr_old_memalign_hook): Likewise.
4870 (tr_mallochook): Likewise.
4871 (tr_reallochook): Likewise.
4872 (tr_memalignhook): Likewise.
4874 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4876 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4877 default_ldbl_pack and using as default implementation.
4878 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4880 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4881 redundant definition.
4882 (ldbl_insert_mantissa): Likewise.
4883 (ldbl_canonicalize): Likewise.
4884 (ldbl_nearbyint): Likewise.
4885 (ldbl_pack): Rename to ldbl_pack_ppc.
4886 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4887 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4888 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4890 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4892 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4893 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4894 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4895 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4897 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4898 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4899 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4901 2013-03-07 Andreas Jaeger <aj@suse.de>
4903 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4906 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4908 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4909 Include mpa.h and declare __MPEXP.
4910 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4911 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4912 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4913 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4914 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4915 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4916 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4918 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4919 (__slowpow): Use long double EXPL and LOGL functions to
4921 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4922 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4923 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4924 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4925 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4926 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4928 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4929 intermediate variable to calculate exponent.
4931 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4935 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4936 [!NO__SQR]: Define __sqr.
4937 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4938 and NO__SQR. Remove all code except __mul and __sqr. Include
4939 sysdeps/ieee754/dbl-64/mpa.c.
4940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4943 * posix/Makefile (tests): Add tst-pathconf.
4944 * posix/tst-pathconf.c: New test case.
4945 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4947 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4949 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
4951 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4953 2013-03-06 Andreas Jaeger <aj@suse.de>
4955 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4956 definition via __MAP_ANONYMOUS.
4958 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4959 it's not part of Linux headers.
4961 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4962 (MAP_HUGE_MASK): Define.
4964 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4966 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4967 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4969 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4970 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4972 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4973 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4975 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4977 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4978 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4979 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4980 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4981 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4984 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4987 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4988 Handle f2fs and efivarfs.
4990 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4993 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4994 (EFIVARFS_MAGIC): Add.
4995 (F2FS_LINK_MAX): Add.
4997 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4999 * stdio-common/vfprintf.c: Replace __builtin_expect with
5002 2013-03-06 Joseph Myers <joseph@codesourcery.com>
5005 * sysdeps/generic/bp-sym.h: Remove file.
5006 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5007 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5008 <bp-sym.h> and <bp-asm.h>.
5009 (__longjmp): Don't use BP_SYM.
5010 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5012 (memcpy): Don't use BP_SYM.
5013 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5014 <bp-sym.h> and <bp-asm.h>.
5015 (memcpy): Don't use BP_SYM.
5016 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5018 (memcpy): Don't use BP_SYM.
5019 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5021 (memset): Don't use BP_SYM.
5022 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5023 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5024 (__bzero): Don't use BP_SYM.
5025 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5026 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5027 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5028 <bp-sym.h> and <bp-asm.h>.
5029 (memcmp): Don't use BP_SYM. Remove comment about bounded
5031 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5032 <bp-sym.h> and <bp-asm.h>.
5033 (memcpy): Don't use BP_SYM.
5034 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5035 <bp-sym.h> and <bp-asm.h>.
5036 (memset): Don't use BP_SYM.
5037 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5038 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5039 (__bzero): Don't use BP_SYM.
5040 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5041 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5042 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5043 <bp-sym.h> and <bp-asm.h>.
5044 (strncmp): Don't use BP_SYM. Remove comment about bounded
5046 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5047 <bp-sym.h> and <bp-asm.h>.
5048 (memcpy): Don't use BP_SYM.
5049 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5050 <bp-sym.h> and <bp-asm.h>.
5051 (memset): Don't use BP_SYM.
5052 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5053 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5054 (__bzero): Don't use BP_SYM.
5055 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5056 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5057 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5058 <bp-sym.h> and <bp-asm.h>.
5059 (__memchr): Don't use BP_SYM.
5060 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5061 <bp-sym.h> and <bp-asm.h>.
5062 (memcmp): Don't use BP_SYM. Remove comment about bounded
5064 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5065 <bp-sym.h> and <bp-asm.h>.
5066 (memcpy): Don't use BP_SYM.
5067 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5068 <bp-sym.h> and <bp-asm.h>.
5069 (__mempcpy): Don't use BP_SYM.
5070 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5071 <bp-sym.h> and <bp-asm.h>.
5072 (__memrchr): Don't use BP_SYM.
5073 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5074 <bp-sym.h> and <bp-asm.h>.
5075 (memset): Don't use BP_SYM.
5076 (__bzero): Likewise.
5077 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5078 <bp-sym.h> and <bp-asm.h>.
5079 (__rawmemchr): Don't use BP_SYM.
5080 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5081 <bp-sym.h> and <bp-asm.h>.
5082 (__STRCMP): Don't use BP_SYM.
5083 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5084 <bp-sym.h> and <bp-asm.h>.
5085 (strchr): Don't use BP_SYM.
5086 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5087 <bp-sym.h> and <bp-asm.h>.
5088 (__strchrnul): Don't use BP_SYM.
5089 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5090 <bp-sym.h> and <bp-asm.h>.
5091 (strlen): Don't use BP_SYM.
5092 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5093 <bp-sym.h> and <bp-asm.h>.
5094 (strncmp): Don't use BP_SYM. Remove comment about bounded
5096 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5097 <bp-sym.h> and <bp-asm.h>.
5098 (__strnlen): Don't use BP_SYM.
5099 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5100 <bp-sym.h> and <bp-asm.h>.
5101 (__GI__setjmp): Don't use BP_SYM.
5102 (_setjmp): Likewise.
5103 (__sigsetjmp): Likewise.
5104 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5105 (L(start_addresses)): Don't use BP_SYM.
5107 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5109 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5110 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5111 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5112 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5113 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5115 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5116 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5117 about bounded pointers.
5118 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5119 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5120 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5122 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5123 about bounded pointers. Remove GKM FIXME comments.
5124 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5125 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5127 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5128 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5129 Remove GKM FIXME comments.
5130 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5131 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5132 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5134 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5135 about bounded pointers. Remove GKM FIXME comment.
5136 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5138 (strncmp): Don't use BP_SYM. Remove comment about bounded
5140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5141 <bp-sym.h> and <bp-asm.h>.
5142 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5144 <bp-sym.h> and <bp-asm.h>.
5145 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5148 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5150 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5153 2013-03-05 David S. Miller <davem@davemloft.net>
5155 * po/es.po: Update from translation team.
5157 2013-03-05 Andreas Jaeger <aj@suse.de>
5159 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5160 <bits/mman-linux.h>.
5161 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5163 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5164 <bits/mman-linux.h> to end of file.
5165 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5167 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5168 <bits/mman-linux.h> to end of file.
5169 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5171 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5172 <bits/mman-linux.h> to end of file.
5174 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5175 (MCL_CURRENT, MCL_FUTURE): Define here.
5177 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5180 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5182 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5184 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5186 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5187 fourth parameter needed for rt_sigprocmask syscall.
5188 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5189 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5190 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5191 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5192 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5193 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5195 2013-03-04 Joseph Myers <joseph@codesourcery.com>
5198 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5199 comment about bounded pointers.
5200 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5201 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5203 2013-03-04 Andreas Jaeger <aj@suse.de>
5205 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5208 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5209 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5210 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5211 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5212 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
5213 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5215 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5219 __ieee754_sqrl instead of __sqrl.
5221 2013-03-01 Joseph Myers <joseph@codesourcery.com>
5223 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5224 * sysdeps/powerpc/fpu_control.h: ... here.
5225 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5226 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5227 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5228 * sysdeps/powerpc/bits/mathinline.h: ... here.
5230 2013-03-01 Roland McGrath <roland@hack.frob.com>
5232 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5233 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5234 to just [NEED_DL_SYSINFO_DSO].
5235 * elf/dl-support.c: Likewise.
5236 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5237 * elf/rtld.c (dl_main): Likewise.
5238 * elf/setup-vdso.h (setup_vdso): Likewise.
5239 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5240 * sysdeps/unix/sysv/linux/dl-sysdep.c
5241 (_dl_discover_osversion): Likewise.
5243 2013-03-01 Carlos O'Donell <carlos@redhat.com>
5245 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5246 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5248 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5250 * NEWS: Mention libm performance improvements and non-x86 PI
5253 * csu/libc-start.c (__pthread_initialize_minimal): Change
5255 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5257 2013-02-28 Joseph Myers <joseph@codesourcery.com>
5260 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5261 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5262 <bp-sym.h> and <bp-asm.h>.
5263 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5264 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5266 (memcpy): Don't use BP_SYM.
5267 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5269 (__mpn_add_n): Don't use BP_SYM.
5270 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5271 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5273 (__mpn_addmul_1): Don't use BP_SYM.
5274 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5275 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5277 (_setjmp): Don't use BP_SYM.
5278 (__novmx_setjmp): Likewise.
5279 (__GI__setjmp): Likewise.
5280 (__vmx_setjmp): Likewise.
5281 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5283 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5284 (__bzero): Don't use BP_SYM.
5285 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5286 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5287 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5288 <bp-sym.h> and <bp-asm.h>.
5289 (memcpy): Don't use BP_SYM.
5290 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5291 <bp-sym.h> and <bp-asm.h>.
5292 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5293 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5294 <bp-sym.h> and <bp-asm.h>.
5295 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5296 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5298 (__mpn_lshift): Don't use BP_SYM.
5299 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5300 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5302 (memset): Don't use BP_SYM.
5303 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5304 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5305 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5307 (__mpn_mul_1): Don't use BP_SYM.
5308 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5309 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5310 <bp-sym.h> and <bp-asm.h>.
5311 (memcmp): Don't use BP_SYM.
5312 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5313 <bp-sym.h> and <bp-asm.h>.
5314 (memcpy): Don't use BP_SYM.
5315 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5316 <bp-sym.h> and <bp-asm.h>.
5317 (memset): Don't use BP_SYM.
5318 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5319 <bp-sym.h> and <bp-asm.h>.
5320 (strncmp): Don't use BP_SYM.
5321 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5322 <bp-sym.h> and <bp-asm.h>.
5323 (memcpy): Don't use BP_SYM.
5324 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5325 <bp-sym.h> and <bp-asm.h>.
5326 (memset): Don't use BP_SYM.
5327 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5328 <bp-sym.h> and <bp-asm.h>.
5329 (__memchr): Don't use BP_SYM.
5330 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5331 <bp-sym.h> and <bp-asm.h>.
5332 (memcmp): Don't use BP_SYM.
5333 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5334 <bp-sym.h> and <bp-asm.h>.
5335 (memcpy): Don't use BP_SYM.
5336 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5337 <bp-sym.h> and <bp-asm.h>.
5338 (__mempcpy): Don't use BP_SYM.
5339 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5340 <bp-sym.h> and <bp-asm.h>.
5341 (__memrchr): Don't use BP_SYM.
5342 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5343 <bp-sym.h> and <bp-asm.h>.
5344 (memset): Don't use BP_SYM.
5345 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5346 <bp-sym.h> and <bp-asm.h>.
5347 (__rawmemchr): Don't use BP_SYM.
5348 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5349 <bp-sym.h> and <bp-asm.h>.
5350 (__STRCMP): Don't use BP_SYM.
5351 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5352 <bp-sym.h> and <bp-asm.h>.
5353 (strchr): Don't use BP_SYM.
5354 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5355 <bp-sym.h> and <bp-asm.h>.
5356 (__strchrnul): Don't use BP_SYM.
5357 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5358 <bp-sym.h> and <bp-asm.h>.
5359 (strlen): Don't use BP_SYM.
5360 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5361 <bp-sym.h> and <bp-asm.h>.
5362 (strncmp): Don't use BP_SYM.
5363 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5364 <bp-sym.h> and <bp-asm.h>.
5365 (__strnlen): Don't use BP_SYM.
5366 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5368 (__mpn_rshift): Don't use BP_SYM.
5369 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5370 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5371 <bp-sym.h> and <bp-asm.h>.
5372 (__sigsetjmp): Don't use BP_SYM.
5373 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5374 (L(start_addresses)): Don't use BP_SYM.
5376 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5378 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5379 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5380 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5381 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5383 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5384 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5385 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5386 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5388 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5390 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5391 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5393 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5395 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5396 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5397 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5399 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5401 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5403 (strncmp): Don't use BP_SYM,
5404 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5406 (__mpn_sub_n): Don't use BP_SYM.
5407 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5408 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5410 (__mpn_submul_1): Don't use BP_SYM.
5411 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5413 <bp-sym.h> and <bp-asm.h>.
5414 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5416 <bp-sym.h> and <bp-asm.h>.
5417 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5420 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5423 Use ZK to minimize writes to Z.
5424 (sub_magnitudes): Simplify code a bit.
5425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5426 Use ZK to minimize writes to Z.
5427 (sub_magnitudes): Simplify code a bit.
5429 2013-02-27 Roland McGrath <roland@hack.frob.com>
5431 * csu/gmon-start.c: Add special exception to license text.
5433 2013-02-27 Richard Henderson <rth@redhat.com>
5435 * scripts/config.guess: Update from config.git.
5436 * scripts/config.sub: Likewise.
5438 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5440 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5442 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5444 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5446 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5448 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5450 2013-02-26 Roland McGrath <roland@hack.frob.com>
5452 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5453 [$(build-shared = yes].
5455 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5457 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5458 (__mul): Reduce iterations for calculating mantissa.
5460 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5462 (__mpranred): Likewise.
5465 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5466 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5468 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5470 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5471 Define __attribute__.
5473 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5475 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5477 * posix/regex_internal.h (__attribute): Remove.
5478 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5479 (re_string_context_at): Likewise.
5480 (bitset_not): Use __attribute__ and mark function as possibly
5482 (bitset_merge): Likewise.
5483 (bitset_mask): Likewise.
5484 (re_string_char_size_at): Likewise.
5485 (re_string_wchar_at): Likewise.
5486 (re_string_elem_size_at): Likewise.
5488 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5490 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5494 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5499 (__dbl_mp): Likewise.
5500 (add_magnitudes): Likewise.
5501 (sub_magnitudes): Likewise.
5505 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5508 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5511 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5515 up changes with default code.
5516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5519 2013-02-24 Allan McRae <allan@archlinux.org>
5521 * manual/socket.texi (The Internet Namespace): Order menu items
5522 to match that in the file.
5524 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5525 node listing of the info page menu.
5527 2013-02-21 Joseph Myers <joseph@codesourcery.com>
5530 * sysdeps/i386/bp-asm.h: Remove file.
5531 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5532 (PARMS): Do not use macros from bp-asm.h.
5536 (__mpn_add_n): Do not use BP_SYM
5537 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5539 (PARMS): Do not use macros from bp-asm.h.
5542 (__mpn_addmul_1): Do not use BP_SYM
5543 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5545 (PARMS): Do not use macros from bp-asm.h.
5547 (_setjmp): Likewise. Do not use BP_SYM.
5548 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5550 (PARMS): Do not use macros from bp-asm.h.
5552 (setjmp): Likewise. Do not use BP_SYM.
5553 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5555 (PARMS): Do not use macros from bp-asm.h.
5556 (__frexp): Do not use BP_SYM.
5558 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5560 (PARMS): Do not use macros from bp-asm.h.
5561 (__frexpf): Do not use BP_SYM.
5563 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5565 (PARMS): Do not use macros from bp-asm.h.
5566 (__frexpl): Do not use BP_SYM.
5568 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5570 (PARMS): Do not use macros from bp-asm.h.
5571 (__remquo): Do not use BP_SYM.
5573 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5575 (PARMS): Do not use macros from bp-asm.h.
5576 (__remquof): Do not use BP_SYM.
5577 (remquof): Likewise.
5578 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5580 (PARMS): Do not use macros from bp-asm.h.
5581 (__remquol): Do not use BP_SYM.
5582 (remquol): Likewise.
5583 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5585 (PARMS): Do not use macros from bp-asm.h.
5588 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5589 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5591 (PARMS): Do not use macros from bp-asm.h.
5592 (strlen): Do not use BP_SYM.
5593 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5595 (PARMS): Do not use macros from bp-asm.h.
5599 (__mpn_add_n): Do not use BP_SYM.
5600 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5602 (PARMS): Do not use macros from bp-asm.h.
5605 (__mpn_addmul_1): Do not use BP_SYM.
5606 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5609 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5611 (PARMS): Do not use macros from bp-asm.h.
5614 (__mpn_lshift): Do not use BP_SYM.
5615 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5617 (PARMS): Do not use macros from bp-asm.h.
5621 (memcpy): Likewise. Do not use BP_SYM.
5622 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5623 libc_hidden_def and weak_alias.
5624 (mempcpy): Do not use BP_SYM in weak_alias.
5625 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5627 (PARMS): Do not use macros from bp-asm.h.
5630 [!BZERO_P] (CHR): Likewise.
5631 (memset): Likewise. Do not use BP_SYM.
5632 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5634 (PARMS): Do not use macros from bp-asm.h.
5637 (__mpn_mul_1): Do not use BP_SYM.
5638 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5640 (PARMS): Do not use macros from bp-asm.h.
5643 (__mpn_rshift): Do not use BP_SYM.
5644 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5646 (PARMS): Do not use macros from bp-asm.h.
5649 (strchr): Likewise. Do not use BP_SYM.
5650 (index): Do not use BP_SYM in weak_alias.
5651 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5653 (PARMS): Do not use macros from bp-asm.h.
5656 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5657 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5659 (PARMS): Do not use macros from bp-asm.h.
5660 (strlen): Do not use BP_SYM.
5661 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5663 (PARMS): Do not use macros from bp-asm.h.
5667 (__mpn_sub_n): Do not use BP_SYM.
5668 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5670 (PARMS): Do not use macros from bp-asm.h.
5673 (__mpn_submul_1): Do not use BP_SYM.
5674 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5676 (PARMS): Do not use macros from bp-asm.h.
5680 (__mpn_add_n): Do not use BP_SYM.
5681 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5684 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5686 (PARMS): Do not use macros from bp-asm.h.
5689 (memcmp): Do not use BP_SYM.
5690 (bcmp): Do not use BP_SYM in weak_alias.
5691 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5693 (PARMS): Do not use macros from bp-asm.h.
5697 (memcpy): Likewise. Do not use BP_SYM.
5698 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5700 (PARMS): Do not use macros from bp-asm.h.
5704 (memmove): Likewise. Do not use BP_SYM.
5705 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5707 (PARMS): Do not use macros from bp-asm.h.
5711 (__mempcpy): Likewise. Do not use BP_SYM.
5712 (mempcpy): Do not use BP_SYM in weak_alias.
5713 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5715 (PARMS): Do not use macros from bp-asm.h.
5718 [!BZERO_P] (CHR): Likewise.
5719 (memset): Likewise. Do not use BP_SYM.
5720 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5722 (PARMS): Do not use macros from bp-asm.h.
5724 (strcmp): Do not use BP_SYM.
5725 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5727 (PARMS): Do not use macros from bp-asm.h.
5730 [USE_AS_STRTOK_R] (SAVE): Likewise.
5731 (FUNCTION): Likewise. Do not use BP_SYM.
5732 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5734 (strtok_r): Likewise.
5735 (__GI___strtok_r): Likewise.
5736 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5737 (PARMS): Do not use macros from bp-asm.h.
5740 (__mpn_lshift): Do not use BP_SYM.
5741 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5742 (PARMS): Do not use macros from bp-asm.h.
5745 (__memchr): Do not use BP_SYM.
5746 (memchr): Do not use BP_SYM in weak_alias.
5747 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5748 (PARMS): Do not use macros from bp-asm.h.
5751 (memcmp): Do not use BP_SYM.
5752 (bcmp): Do not use BP_SYM in weak_alias.
5753 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5754 (PARMS): Do not use macros from bp-asm.h.
5757 (__mpn_mul_1): Do not use BP_SYM.
5758 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5760 (PARMS): Do not use macros from bp-asm.h.
5763 (__rawmemchr): Do not use BP_SYM.
5764 (rawmemchr): Do not use BP_SYM in weak_alias.
5765 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5766 (PARMS): Do not use macros from bp-asm.h.
5769 (__mpn_rshift): Do not use BP_SYM.
5770 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5771 (PARMS): Do not use macros from bp-asm.h.
5773 (__sigsetjmp): Likewise. Do not use BP_SYM.
5774 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5775 (_start): Do not use BP_SYM.
5776 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5777 (PARMS): Do not use macros from bp-asm.h.
5780 (__stpcpy): Likewise. Do not use BP_SYM.
5781 (stpcpy): Do not use BP_SYM in weak_alias.
5782 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5784 (PARMS): Do not use macros from bp-asm.h.
5788 (__stpncpy): Likewise. Do not use BP_SYM.
5789 (stpncpy): Do not use BP_SYM in weak_alias.
5790 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5791 (PARMS): Do not use macros from bp-asm.h.
5794 (strchr): Likewise. Do not use BP_SYM.
5795 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5797 (PARMS): Do not use macros from bp-asm.h.
5800 (__strchrnul): Likewise. Do not use BP_SYM.
5801 (strchrnul): Do not use BP_SYM in weak_alias.
5802 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5804 (PARMS): Do not use macros from bp-asm.h.
5806 (strcspn): Do not use BP_SYM.
5807 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5809 (PARMS): Do not use macros from bp-asm.h.
5812 (strpbrk): Likewise. Do not use BP_SYM.
5813 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5815 (PARMS): Do not use macros from bp-asm.h.
5818 (strrchr): Likewise. Do not use BP_SYM.
5819 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5820 (PARMS): Do not use macros from bp-asm.h.
5822 (strspn): Do not use BP_SYM.
5823 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5824 (PARMS): Do not use macros from bp-asm.h.
5828 (FUNCTION): Likewise. Do not use BP_SYM.
5829 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5831 (strtok_r): Likewise.
5832 (__GI___strtok_r): Likewise.
5833 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5834 (PARMS): Do not use macros from bp-asm.h.
5838 (__mpn_sub_n): Do not use BP_SYM.
5839 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5841 (PARMS): Do not use macros from bp-asm.h.
5844 (__mpn_submul_1): Do not use BP_SYM.
5845 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5847 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5849 (PARMS): Do not use macros from bp-asm.h.
5854 (__clone): Do not use BP_SYM.
5855 (clone): Do not use BP_SYM in weak_alias.
5856 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5858 (PARMS): Do not use macros from bp-asm.h.
5860 (__mmap64): Do not use BP_SYM.
5861 (mmap64): Do not use BP_SYM in weak_alias.
5862 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5863 <bp-sym.h> and <bp-asm.h>.
5864 (PARMS): Do not use macros from bp-asm.h.
5865 (__posix_fadvise64_l64): Do not use BP_SYM.
5866 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5867 (PARMS): Do not use macros from bp-asm.h.
5869 (semtimedop): Do not use BP_SYM.
5870 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5873 2013-02-21 Allan McRae <allan@archlinux.org>
5875 * manual/message.texi (Charset conversion in gettext):
5876 Move @end statement to beginning of line.
5878 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5880 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5885 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5890 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5892 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5893 tail-call to the resolved function if pltexit isn't needed.
5895 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5897 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5898 or Y being zero as being unlikely.
5899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5902 2013-02-20 Carlos O'Donell <carlos@redhat.com>
5904 * manual/nss.texi (System Databases and Name Service Switch):
5905 Remove frobnicate @pxref.
5907 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5909 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5910 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5912 2013-02-20 Petr Machata <pmachata@redhat.com>
5914 * elf/elf.h (R_ARM_TARGET1): New macro.
5915 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5916 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5917 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5918 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5919 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5920 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5921 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5922 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5923 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5924 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5925 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5926 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5927 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5928 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5929 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5930 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5931 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5932 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5933 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5934 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5935 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5936 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5937 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5938 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5939 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5940 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5941 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5942 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5943 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5944 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5945 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5946 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5947 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5948 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5949 (R_ARM_THM_GOT_BREL12): Likewise.
5950 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5951 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5952 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5953 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5954 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5955 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5956 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5957 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5958 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5960 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5962 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5963 __attribute_used__ to __attribute__ ((unused)).
5965 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5967 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5969 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5971 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5973 2013-02-19 Joseph Myers <joseph@codesourcery.com>
5976 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5978 (ENTER): Remove both macro definitions.
5980 (CHECK_BOUNDS_LOW): Likewise.
5981 (CHECK_BOUNDS_HIGH): Likewise.
5982 (CHECK_BOUNDS_BOTH): Likewise.
5983 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5984 (RETURN_BOUNDED_POINTER): Likewise.
5985 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5986 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5987 (POP_ERRNO_LOCATION_RETURN): Likewise.
5988 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5989 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5990 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5992 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5993 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5994 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5995 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5996 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5997 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5998 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5999 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6000 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6001 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6002 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6003 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6004 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6005 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6007 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6008 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6010 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6011 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6012 * sysdeps/i386/i586/memset.S (memset): Likewise.
6013 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6014 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6015 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6017 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6018 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6019 Change uses of L(2) to L(out).
6020 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6021 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6022 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6023 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6024 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6026 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6027 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6029 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6030 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6031 (RETURN): Do not use macro LEAVE.
6032 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6033 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6034 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6035 * sysdeps/i386/i686/memset.S (memset): Likewise.
6036 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6037 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6038 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6039 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6041 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6042 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6043 L(1_2) and L(1_3) into L(1).
6044 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6045 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6046 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6047 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6048 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6049 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6050 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6051 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6052 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6054 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6055 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6056 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6057 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6058 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6059 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6060 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6061 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6062 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6063 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6064 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6065 * sysdeps/i386/strspn.S (strspn): Likewise.
6066 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6068 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6069 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6070 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6071 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6073 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6074 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6075 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6077 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6079 2013-02-19 Jakub Jelinek <jakub@redhat.com>
6081 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6084 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6086 * math/atest-exp.c (exp_mpn): Remove ROUND.
6087 * math/atest-exp2.c (exp_mpn): Likewise.
6088 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6090 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6091 * stdlib/tst-tls-atexit-lib.c: Likewise.
6092 * stdlib/tst-tls-atexit.c: Likewise.
6094 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6096 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6097 and __attribute_alloc_size__.
6099 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6101 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6102 __attribute_alloc_size__.
6103 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6104 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6106 2013-02-18 Mike Frysinger <vapier@gentoo.org>
6108 * include/programs/xmalloc.h: New file.
6109 * catgets/gencat.c: Include it.
6110 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6111 * elf/pldd.c: Likewise.
6112 * iconv/iconv_charmap.c: Likewise.
6113 * iconv/iconvconfig.c: Likewise.
6114 * iconv/strtab.c: Likewise.
6115 * locale/programs/locale.c: Likewise.
6116 * locale/programs/localedef.h: Likewise.
6117 * locale/programs/simple-hash.c: Likewise.
6118 * nscd/nscd.h: Likewise.
6119 * nss/makedb.c: Likewise.
6120 * sysdeps/generic/ldconfig.h: Likewise.
6122 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6124 * Versions.def: Add GLIBC_2.18.
6125 * include/link.h (struct link_map): New member l_tls_dtor_count.
6126 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6127 (__call_tls_dtors): Likewise.
6128 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6129 __cxa_thread_atexit_impl.
6130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6138 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6144 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6146 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6147 (tests): Add test case tst-tls-atexit.
6148 (modules-names): Add shared library for tst-tls-atexit.
6149 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6150 (GLIBC_PRIVATE): Add __call_tls_dtors.
6151 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6153 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6154 * stdlib/tst-tls-atexit.c: New test case.
6155 * stdlib/tst-tls-atexit-lib.c: New test case.
6157 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
6159 * elf/Versions (ld): Add _dl_find_dso_for_object.
6160 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6161 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6162 (dl_open_worker): Use _dl_find_dso_for_object.
6163 * elf/dl-sym.c (do_sym): Likewise.
6164 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6166 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6168 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6169 Syntactic changes only.
6170 (_dl_runtime_profile): Do a tail-call to the resolved function.
6172 2013-02-17 Joseph Myers <joseph@codesourcery.com>
6175 * sysdeps/x86_64/bp-asm.h: Remove file.
6176 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6177 <bp-sym.h> and <bp-asm.h>.
6178 (__clone): Do not use BP_SYM.
6179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6180 <bp-sym.h> and <bp-asm.h>.
6181 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6182 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6184 (_setjmp): Do not use BP_SYM.
6185 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6187 (setjmp): Do not use BP_SYM.
6188 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6190 (mempcpy): Do not use BP_SYM in weak_alias.
6191 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6193 (strchr): Do not use BP_SYM.
6194 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6196 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6197 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6198 (_start): Do not use BP_SYM.
6199 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6201 (strcat): Do not use BP_SYM.
6202 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6204 (STRCMP): Do not use BP_SYM.
6205 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6207 (STRCPY): Do not use BP_SYM.
6208 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6210 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6212 (FUNCTION): Do not use BP_SYM.
6213 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6215 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6217 2013-02-17 Andreas Jaeger <aj@suse.de>
6219 * time/Versions: Sort entries.
6220 * string/Versions: Likewise.
6221 * resolv/Versions: Likewise.
6222 * posix/Versions: Likewise.
6223 * iconv/Versions: Likewise.
6224 * elf/Versions: Likewise.
6225 * wcsmbs/Versions: Likewise.
6227 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6229 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6230 loop termination condition.
6232 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6233 variable to calculate EZ.
6236 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6237 the lower precision input.
6239 2013-02-15 Joseph Myers <joseph@codesourcery.com>
6242 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6243 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6244 (run-via-rtld-prefix): Do not handle %-bp tests.
6245 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6246 (all-object-suffixes): Remove .ob.
6247 (bppfx): Remove variable.
6248 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6249 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6250 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6251 [$(build-bounded) = yes] (libtype.ob): Likewise.
6252 * Makerules (elide-routines.ob): Remove variable.
6253 (do-tests-clean): Do not handle *-bp.out.
6254 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6255 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6256 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6257 (tests): Do not include $(tests-bp.out).
6258 (xtests): Do not include $(xtests-bp.out).
6259 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6260 [$(build-bounded) = yes] ($(addprefix
6261 $(objpfx),$(binaries-bounded))): Remove rule.
6262 ($(objpfx)%-bp.out): Remove rule.
6263 * config.make.in (build-bounded): Remove variable.
6264 * crypt/Makefile [$(build-bounded) = yes]
6265 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6266 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6268 [$(build-bounded) = yes] (install-lib): Likewise.
6269 [$(build-bounded) = yes] (generated): Likewise.
6270 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6272 * intl/Makefile [$(build-bounded) = yes]
6273 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6274 * math/Makefile [$(build-bounded) = yes]
6275 ($(tests:%=$(objpfx)%-bp): Likewise.
6276 * misc/Makefile [$(build-bounded) = yes]
6277 ($(objpfx)tst-tsearch-bp): Likewise.
6278 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6279 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6281 * string/Makefile (o-objects.ob): Remove variable.
6282 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6283 (CFLAGS-.ob): Remove variable.
6284 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6285 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6286 both definitions of variable.
6287 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6288 (ASFLAGS-.ob): Remove variable.
6290 2013-02-14 Joseph Myers <joseph@codesourcery.com>
6293 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6294 Remove __BOUNDED_POINTERS__ from condition.
6295 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6296 * string/bits/string2.h [!__NO_STRING_INLINES &&
6297 !__BOUNDED_POINTERS__]: Likewise.
6298 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6300 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6301 Remove conditional code.
6302 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6303 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6304 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6308 * csu/libc-start.c: Do not include <bp-sym.h>.
6309 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6310 * elf/dl-open.c: Do not include <bp-sym.h>.
6311 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6312 * math/fegetenv.c: Do not include <bp-sym.h>.
6313 (fegetenv): Do not use BP_SYM in versioned symbols.
6314 * nptl/sysdeps/pthread/bits/libc-lockP.h
6315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6318 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6320 (__pthread_mutex_destroy): Likewise.
6321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6322 (__pthread_mutex_lock): Likewise.
6323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6324 (__pthread_mutex_trylock): Likewise.
6325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6326 (__pthread_mutex_unlock): Likewise.
6327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6328 (__pthread_mutexattr_init): Likewise.
6329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6330 (__pthread_mutexattr_destroy): Likewise.
6331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6332 (__pthread_mutexattr_settype): Likewise.
6333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6334 (__pthread_rwlock_init): Likewise.
6335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6336 (__pthread_rwlock_destroy): Likewise.
6337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6338 (__pthread_rwlock_rdlock): Likewise.
6339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6340 (__pthread_rwlock_tryrdlock): Likewise.
6341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6342 (__pthread_rwlock_wrlock): Likewise.
6343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6344 (__pthread_rwlock_trywrlock): Likewise.
6345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6346 (__pthread_rwlock_unlock): Likewise.
6347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6348 (__pthread_key_create): Likewise.
6349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6350 (__pthread_setspecific): Likewise.
6351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6352 (__pthread_getspecific): Likewise.
6353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6356 (_pthread_cleanup_push_defer): Likewise.
6357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6358 (_pthread_cleanup_pop_restore): Likewise.
6359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6360 (pthread_setcancelstate): Likewise.
6361 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6363 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6364 (memchr): Do not use BP_SYM in weak_alias.
6365 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6366 (fegetenv): Do not use BP_SYM in versioned symbols.
6367 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6368 (fesetenv): Do not use BP_SYM in versioned symbols.
6369 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6370 (feupdateenv): Do not use BP_SYM in versioned symbols.
6371 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6372 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6373 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6374 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6375 (open64): Do not use BP_SYM in weak_alias.
6376 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6377 (fegetenv): Do not use BP_SYM in versioned symbols.
6378 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6379 (fesetenv): Do not use BP_SYM in versioned symbols.
6380 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6381 (feupdateenv): Do not use BP_SYM in versioned symbols.
6382 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6383 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6384 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6385 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6386 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6387 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6388 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6390 (__libc_start_main): Do not use BP_SYM.
6392 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6394 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6395 redundant return line.
6399 (sub_magnitudes): Likewise.
6405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6409 (sub_magnitudes): Likewise.
6416 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6418 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6419 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6422 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6423 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6424 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6425 of __mul for squares.
6426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6430 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6431 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6433 2013-02-13 Joseph Myers <joseph@codesourcery.com>
6436 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6438 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6439 prototype or function definition. Rename ubp_* variables and
6440 parameters. Remove argv definitions conditional on
6441 [__BOUNDED_POINTERS__].
6442 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6443 * elf/dl-runtime.c (_dl_fixup): Likewise.
6444 * include/set-hooks.h (RUN_HOOK): Likewise.
6445 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6447 * string/strcpy.c (strcpy): Do not use __unbounded.
6448 * sysdeps/generic/frame.h (struct layout): Likewise.
6449 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6450 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6451 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6452 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6453 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6454 (__backtrace): Likewise.
6455 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6457 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6458 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6459 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6461 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6462 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6463 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6464 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6465 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6466 Do not use __unbounded.
6467 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6468 Rename __unboundedrlimits parameter to rlimits in prototype.
6469 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6470 Do not use __unbounded.
6471 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6473 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6474 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6475 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6476 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6477 __ptrvalue or __unbounded.
6478 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6479 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6481 (__new_msgctl): Do not use __ptrvalue.
6482 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6484 (__libc_msgrcv): Do not use __ptrvalue.
6485 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6486 startup_info): Do not use __unbounded.
6487 (__libc_start_main): Likewise. Rename ubp_* variables and
6488 parameters. Remove argv definitions conditional on
6489 [__BOUNDED_POINTERS__].
6490 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6492 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6494 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6496 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6498 (__new_shmctl): Do not use __ptrvalue.
6499 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6500 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6502 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6503 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6504 (__libc_sigaction): Likewise.
6505 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6506 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6508 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6510 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
6512 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
6514 * string/mempcpy.c: Implement by calling memcpy.
6516 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6518 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6520 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6523 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6524 values in the mantissa.
6526 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6527 minimize writes to Z.
6528 (sub_magnitudes): Simplify code a bit.
6530 2013-02-12 Roland McGrath <roland@hack.frob.com>
6532 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6533 from the message. The linker prefixes all warnings with that already.
6535 2013-02-12 Andreas Schwab <schwab@suse.de>
6538 * posix/regexec.c (extend_buffers): Add parameter min_len.
6539 (check_matching): Pass minimum needed length.
6540 (clean_state_log_if_needed): Likewise.
6541 (get_subexp): Likewise.
6542 * posix/Makefile (tests): Add bug-regex34.
6543 (bug-regex34-ENV): Define.
6544 * posix/bug-regex34.c: New file.
6547 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6548 elements compare against the byte sequence of it, not its name.
6549 * posix/Makefile (tests): Add bug-regex35.
6550 (bug-regex35-ENV): Define.
6551 * posix/bug-regex35.c: New file.
6553 2013-02-11 Tom de Vries <tom@codesourcery.com>
6555 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6557 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6558 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6559 (CHECK_EOL): Add undef.
6561 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
6563 * bits/stdlib-bsearch.h: New file.
6564 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
6565 * stdlib/stdlib.h: Likewise.
6567 2013-02-11 Roland McGrath <roland@hack.frob.com>
6569 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6570 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6572 * manual/search.texi (Array Search Function): Add missing const in
6574 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6575 declaration to use rlim_t.
6576 (Basic Scheduling Functions): Remove erroneous const from
6577 sched_getparam prototype. Remove erroneous * from
6578 sched_get_priority_max and sched_get_priority_min prototypes.
6579 (Resource Usage): Fix summary @comment on vtimes to refer to
6580 sys/vtimes.h rather than vtimes.h.
6581 Add missing *s in vtimes prototype.
6582 (Limits on Resources): Fix ulimit prototype to return long int.
6583 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6584 prototypes to use long int rather than double.
6585 (BSD Random): Fix initstate and setstate to use char *, not void *.
6586 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6587 prototype to make second argument 'struct aiocb64 *const[]'.
6588 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6589 (Status of AIO Operations): Remove erroneous const in aio_return and
6590 aio_return64 prototypes.
6591 (Synchronizing I/O): Fix sync prototype to return void.
6592 * manual/startup.texi (Suboptions): Remove an erroneous const in
6593 getsubopt prototype.
6594 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6595 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6596 use size_t rather than int.
6597 (Scanning All Users): Likewise for getpwent_r.
6598 (Setting Groups): Add missing const to setgroups prototype.
6599 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6600 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6601 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6602 'const void *' rather than 'const char *'.
6603 (Host Address Functions): Likewise for inet_ntop.
6604 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6605 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6606 ssize_t for return value.
6607 (Sending Data): Likewise for send, sendto, sendmsg.
6608 (Socket Option Functions): Add a missing const in setsockopt prototype.
6609 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6610 use wchar_t for the argument.
6611 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6612 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6614 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6615 double/float/long double for second argument.
6616 Fix return types of significand, significandf, significandl.
6617 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6618 argument in fchmod prototype.
6619 (File Owner): Use uid_t and gid_t in fchown prototype.
6620 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6621 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6622 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6623 use 'const struct dirent **' as argument types to CMP function pointer
6625 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6626 (File Times): Fix summary magic @comment for struct utimbuf and utime
6627 to refer to utime.h, not time.h.
6628 * manual/string.texi (Argz Functions): Add missing const in
6629 argz_extract and argz_next prototypes.
6630 (Finding Tokens in a String): Likewise for basename.
6631 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6632 (Copying and Concatenation): Fix typo in wmemmove prototype.
6633 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6634 (Signal Stack): Remove erroneous const in sigstack prototype.
6635 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6637 (Simple Calendar Time): Likewise for stime.
6638 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6640 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6641 say sys/sysctl.h instead.
6642 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6643 and vsyslog prototypes.
6645 2013-02-11 Tom de Vries <tom@codesourcery.com>
6647 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6650 2013-02-11 Roland McGrath <roland@hack.frob.com>
6652 * misc/sys/mman.h: Fix typo in mremap comment.
6654 2013-02-08 Roland McGrath <roland@hack.frob.com>
6656 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6657 the '\0' terminator.
6659 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6662 * debug/segfault.c: Don't include <bp-checks.h>.
6663 * sysdeps/generic/bp-checks.h: Remove file.
6664 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6665 (__GETDENTS): Don't use CHECK_N.
6666 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6667 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6668 (__getgroups): Don't use CHECK_N.
6669 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6670 (setgroups): Don't use CHECK_N.
6671 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6672 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6673 (__libc_msgrcv): Don't use CHECK_N.
6674 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6675 (__libc_msgsnd): Don't use CHECK_N.
6676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6678 (__libc_pread): Don't use CHECK_N.
6679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6680 include <bp-checks.h>.
6681 (__libc_pread64): Don't use CHECK_N.
6682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6683 include <bp-checks.h>.
6684 (__libc_pwrite): Don't use CHECK_N.
6685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6686 include <bp-checks.h>.
6687 (__libc_pwrite64): Don't use CHECK_N.
6688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6690 (__libc_pread): Don't use CHECK_N.
6691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6692 include <bp-checks.h>.
6693 (__libc_pread64): Don't use CHECK_N.
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6695 include <bp-checks.h>.
6696 (__libc_pwrite): Don't use CHECK_N.
6697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6698 include <bp-checks.h>.
6699 (__libc_pwrite64): Don't use CHECK_N.
6700 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6701 (do_pread): Don't use CHECK_N.
6702 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6703 (do_pread64): Don't use CHECK_N.
6704 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6705 (do_pwrite): Don't use CHECK_N.
6706 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6707 (do_pwrite64): Don't use CHECK_N.
6708 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6709 (__libc_readv): Don't use CHECK_N.
6710 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6711 (semop): Don't use CHECK_N.
6712 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6714 (semtimedop): Don't use CHECK_N.
6715 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6716 (__libc_pread): Don't use CHECK_N.
6717 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6719 (__libc_pread64): Don't use CHECK_N.
6720 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6722 (__libc_pwrite): Don't use CHECK_N.
6723 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6725 (__libc_pwrite64): Don't use CHECK_N.
6726 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6728 (__libc_msgrcv): Don't use CHECK_N.
6729 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6730 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6731 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6732 (__libc_writev): Don't use CHECK_N.
6734 2013-02-08 Roland McGrath <roland@hack.frob.com>
6736 * string/strcpy.c: Removed unused variable.
6738 * Makeconfig (+sysdep-includes): Define with := rather than =.
6739 Use an existing include/ subdir of each sysdeps dir before it.
6741 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6743 * nscd/connection.c (register_traced_file): Comment function.
6744 [HAVE_INOTIFY] (union __inev): Define.
6745 [HAVE_INOTIFY] (inotify_check_files): New function.
6746 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6747 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6749 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6751 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6753 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6754 loaded if not already and that a failure is permanent.
6756 2013-02-08 Carlos O'Donell <carlos@redhat.com>
6759 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6760 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6762 2013-02-08 Joseph Myers <joseph@codesourcery.com>
6765 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6766 (CHECK_1_NULL_OK): Likewise.
6767 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6768 (__fxstat): Do not use CHECK_1.
6769 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6771 (___fxstat64): Do not use CHECK_1.
6772 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6774 (__fxstatat): Do not use CHECK_1.
6775 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6777 (__fxstatat64): Do not use CHECK_1.
6778 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6780 (__fxstat): Do not use CHECK_1.
6781 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6783 (__fxstatat): Do not use CHECK_1.
6784 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6786 (__getresgid): Do not use CHECK_1.
6787 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6789 (__getresuid): Do not use CHECK_1.
6790 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6792 (__lxstat): Do not use CHECK_1.
6793 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6795 (__old_msgctl): Do not use CHECK_1.
6796 (__new_msgctl): Likewise.
6797 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6799 (__new_setrlimit): Do not use CHECK_1.
6800 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6802 (__old_shmctl): Do not use CHECK_1.
6803 (__new_shmctl): Likewise.
6804 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6806 (__xstat): Do not use CHECK_1.
6807 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6808 (__lxstat): Do not use CHECK_1.
6809 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6811 (___lxstat64): Do not use CHECK_1.
6812 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6813 (__old_msgctl): Do not use CHECK_1.
6814 (__new_msgctl): Likewise.
6815 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6817 (__gettimeofday): Do not use CHECK_1.
6818 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6819 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6820 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6822 (__gettimeofday): Do not use CHECK_1.
6823 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6824 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6825 (__new_shmctl): Do not use CHECK_1.
6826 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6828 (do_sigtimedwait): Do not use CHECK_1.
6829 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6831 (do_sigwaitinfo): Do not use CHECK_1.
6832 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6834 (msgctl): Do not use CHECK_1.
6835 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6837 (shmctl): Do not use CHECK_1.
6838 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6839 (ustat): Do not use CHECK_1.
6840 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6842 (__fxstat): Do not use CHECK_1.
6843 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6845 (__fxstatat): Do not use CHECK_1.
6846 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6848 (__lxstat): Do not use CHECK_1.
6849 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6851 (__xstat): Do not use CHECK_1.
6852 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6853 (__xstat): Do not use CHECK_1.
6854 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6855 (___xstat64): Do not use CHECK_1.
6858 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6860 (CHECK_BOUNDS_HIGH): Likewise.
6861 * string/strcpy.c: Do not include <bp-checks.h>.
6862 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6864 2013-02-07 Roland McGrath <roland@hack.frob.com>
6866 * nscd/nscd-client.h (__nscd_drop_map_ref):
6867 Add __attribute__ ((unused)).
6868 * nis/nss-nisplus.h (niserr2nss): Likewise.
6870 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6871 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6873 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6874 Remove inline keyword.
6875 * include/rounding-mode.h (round_away): Likewise.
6876 * libio/wfileops.c (adjust_wide_data): Likewise.
6877 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6878 (__m128i_strloadu_tolower): Likewise.
6879 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6880 (__m128i_strloadu_tolower): Likewise.
6881 * time/mktime.c (ydhms_diff): Likewise.
6882 * locale/elem-hash.h (elem_hash): Likewise.
6883 * locale/setlocale.c (setdata): Likewise.
6884 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6885 (re_string_wchar_at): Likewise.
6886 (bitset_not, bitset_merge, bitset_mask): Likewise.
6887 [!(__GNUC__ > 3)] (inline): Remove macro.
6888 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6889 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6890 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6891 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6892 * string/memcmp.c (memcmp_bytes): Likewise.
6893 * locale/programs/locarchive.c (compute_hashval): Likewise.
6894 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6895 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6896 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6897 * nss/getent.c (print_rpc, print_protocols): Likewise.
6898 (print_passwd, print_group, print_aliases): Likewise.
6899 * nis/nss-nisplus.h (niserr2nss): Likewise.
6900 * nscd/connections.c (restart_p): Likewise.
6901 Change return type to bool.
6903 2013-02-05 Roland McGrath <roland@hack.frob.com>
6905 * Makeconfig (all-Depend-files): Add existing
6906 $(sorted-subdirs:=/Depend) files.
6907 (all-subdirs): Remove nss.
6908 * sysdeps/unix/inet/Subdirs: Add it here instead.
6909 * hesiod/Depend: New file.
6911 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6912 instead of calling alloca.
6914 * io/lseek.c (__lseek): Rename to __libc_lseek.
6915 Define __lseek as an alias.
6917 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6919 2013-02-04 Carlos O'Donell <carlos@redhat.com>
6921 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6922 else clause and remove check for non-standard endianness.
6924 2013-02-04 David S. Miller <davem@davemloft.net>
6926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6928 2013-02-04 Joseph Myers <joseph@codesourcery.com>
6931 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6932 (__ubp_memchr): Remove prototype.
6933 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6934 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6935 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6936 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6937 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6939 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6940 (__ubp_memchr): Likewise.
6941 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6942 (__ubp_memchr): Likewise.
6943 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6944 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6945 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6946 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6948 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6949 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6950 (__getcwd): Do not use CHECK_STRING.
6951 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6953 (__real_chown): Do not use CHECK_STRING.
6954 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6956 (fchownat): Do not use CHECK_STRING.
6957 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6959 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6961 (__lchown): Do not use CHECK_STRING.
6962 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6963 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6964 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6965 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6967 include <bp-checks.h>.
6968 (truncate64): Do not use CHECK_STRING.
6969 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6971 (__real_chown): Do not use CHECK_STRING.
6972 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6974 (__lchown): Do not use CHECK_STRING.
6975 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6977 (__chown): Do not use CHECK_STRING.
6978 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6980 (truncate64): Do not use CHECK_STRING.
6981 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6983 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6984 (__xmknod): Do not use CHECK_STRING.
6985 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6987 (__xmknodat): Do not use CHECK_STRING.
6988 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6989 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6991 2013-02-04 Andreas Schwab <schwab@suse.de>
6994 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6995 * include/netdb.h: Likewise for h_errno.
6996 * elf/tst-stackguard1.c: Include <tls.h>.
6998 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7000 * elf/link.h (struct link_map): Extend the l_addr comment.
7001 * include/link.h (struct link_map): Likewise.
7003 2013-02-01 Joseph Myers <joseph@codesourcery.com>
7006 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7007 (BOUNDED_1): Remove macro.
7008 * debug/backtrace.c: Don't include <bp-checks.h>.
7009 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7010 (__backtrace): Likewise.
7011 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7013 (__backtrace): Don't use BOUNDED_1.
7014 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7016 (__backtrace): Don't use BOUNDED_1.
7017 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7018 (__backtrace): Don't use BOUNDED_1.
7019 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7020 (shmat): Don't use BOUNDED_N.
7022 2013-01-31 Joseph Myers <joseph@codesourcery.com>
7025 * sysdeps/generic/bp-start.h: Remove file.
7026 * csu/libc-start.c: Don't include <bp-start.h>.
7027 (LIBC_START_MAIN): Set up __environ directly instead of using
7028 INIT_ARGV_and_ENVIRON.
7029 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7033 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7035 (CHECK_FCNTL): Likewise.
7036 (CHECK_N_PAGES): Likewise.
7039 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7041 (CHECK_SIGSET_NULL_OK): Likewise.
7042 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7044 (sigpending): Don't use CHECK_SIGSET.
7045 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7047 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7048 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7050 (do_sigsuspend): Don't use CHECK_SIGSET.
7051 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7053 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7054 (do_sigwait): Don't use CHECK_SIGSET.
7055 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7057 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7058 include <bp-checks.h>.
7059 (sigpending): Don't use CHECK_SIGSET.
7060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7061 include <bp-checks.h>.
7062 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7063 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7065 (sigpending): Don't use CHECK_SIGSET.
7066 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7068 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7071 * sysdeps/generic/bp-semctl.h: Remove file.
7072 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7073 <bp-checks.h> and <bp-semctl.h>.
7074 (__old_semctl): Don't use CHECK_SEMCTL.
7075 (__new_semctl): Likewise.
7076 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7078 (__old_semctl): Don't use CHECK_SEMCTL.
7079 (__new_semctl): Likewise.
7080 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7081 <bp-checks.h> and <bp-semctl.h>.
7082 (__old_semctl): Don't use CHECK_SEMCTL.
7083 (__new_semctl): Likewise.
7084 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7085 <bp-checks.h> and <bp-semctl.h>.
7086 (semctl): Don't use CHECK_SEMCTL.
7089 * Makerules (elide-bp-thunks): Remove variable.
7090 (elide-routines.oS): Don't use $(elide-bp-thunks).
7091 (elide-routines.os): Likewise.
7092 (elide-routines.o): Likewise.
7093 (elide-routines.op): Likewise.
7094 (elide-routines.og): Likewise.
7095 (objects): Don't use $(bp-thunks).
7096 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7098 (common-generated): Do not add s-proto-bp.d.
7099 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7102 Do not generate makefile rules for bounded-pointer thunks.
7103 * sysdeps/generic/bp-thunks.h: Remove file.
7104 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7105 * sysdeps/unix/s-proto-bp.S: Likewise.
7108 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7109 parts of result separately when argument is not close to line from
7110 -i to i and one part of argument is small.
7111 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7112 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7113 * math/libm-test.inc (cacos_test): Add more tests.
7114 (casin_test): Likewise.
7115 (casinh_test): Likewise.
7116 * sysdeps/i386/fpu/libm-test-ulps: Update.
7117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7119 2013-01-31 David S. Miller <davem@davemloft.net>
7121 * po/de.po: Update from translation team.
7123 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7125 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7127 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7129 * configure.in (_AC_PROG_CC_C89): New definition.
7130 * configure: Regenerate.
7132 * configure.in (AC_PROG_CPP): New definition.
7133 * configure: Regenerate.
7135 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7137 * debug/tst-backtrace.h: New file.
7138 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7139 (ret): Remove variable.
7141 (FAIL): Remove macro.
7142 (NO_INLINE): Likewise.
7143 (fn1): Use match function instead of strstr.
7144 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7145 (ret): Remove variable.
7147 (FAIL): Remove macro.
7148 (NO_INLINE): Likewise.
7149 (fn): Use match function instead of strstr.
7150 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7151 (ret): Remove variable.
7153 (FAIL): Remove macro.
7154 (NO_INLINE): Likewise.
7155 (handle_signal): Use match function instead of strstr.
7156 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7157 (ret): Remove variable.
7159 (FAIL): Remove macro.
7160 (NO_INLINE): Likewise.
7161 (handle_signal): Use match function instead of strstr.
7163 2013-01-23 Roland McGrath <roland@hack.frob.com>
7165 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7167 2013-01-23 David S. Miller <davem@davemloft.net>
7169 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7170 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7171 argument of CAS if possible.
7172 * sysdeps/sparc/sparc64/bits/atomic.h
7173 (__arch_compare_and_exchange_val_32_acq): Likewise.
7174 (__arch_compare_and_exchange_val_64_acq): Likewise.
7176 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7178 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7179 * sysdeps/posix/ulimit.c: ... this.
7181 * sysdeps/unix/bsd/ulimit.c: Remove file.
7183 2013-01-23 Adam Conrad <adconrad@0c3.net>
7185 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7186 (LDFLAGS-tst-array5): Likewise.
7188 2013-01-23 Joseph Myers <joseph@codesourcery.com>
7191 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7192 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7193 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7194 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7196 2013-01-21 David S. Miller <davem@davemloft.net>
7198 * sysdeps/sparc/backtrace.c: New file.
7199 * sysdeps/sparc/sparc32/backtrace.h: New file.
7200 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7201 * sysdeps/sparc/sparc64/backtrace.h: New file.
7202 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7203 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7206 2013-01-21 Andreas Schwab <schwab@suse.de>
7209 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7212 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7214 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7218 2013-01-18 Joseph Myers <joseph@codesourcery.com>
7219 Mark Mitchell <mark@codesourcery.com>
7220 Tom de Vries <tom@codesourcery.com>
7221 Paul Pluzhnikov <ppluzhnikov@google.com>
7223 * debug/tst-backtrace2.c: New file.
7224 * debug/tst-backtrace3.c: Likewise.
7225 * debug/tst-backtrace4.c: Likewise.
7226 * debug/tst-backtrace5.c: Likewise.
7227 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7228 (CFLAGS-tst-backtrace3.c): Likewise.
7229 (CFLAGS-tst-backtrace4.c): Likewise.
7230 (CFLAGS-tst-backtrace5.c): Likewise.
7231 (LDFLAGS-tst-backtrace2): Likewise.
7232 (LDFLAGS-tst-backtrace3): Likewise.
7233 (LDFLAGS-tst-backtrace4): Likewise.
7234 (LDFLAGS-tst-backtrace5): Likewise.
7235 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7236 tst-backtrace4 and tst-backtrace5.
7238 2013-01-18 Anton Blanchard <anton@samba.org>
7239 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7241 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7242 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7243 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7244 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7246 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7247 "+r" and remove output regs list as redundant. Add explicit inline
7248 asm to specify register of return val to work around compiler codegen
7249 bug. Remove (int) cast on return value. Add return type parameter to
7250 use in macro so that this macro does not truncate return value for
7252 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7253 pass to INTERNAL_VSYSCALL_NCS.
7254 (INLINE_VSYSCALL): Add 'long int' as return type to
7255 INTERNAL_VSYSCALL_NCS macro invocation.
7256 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7257 INTERNAL_VSYSCALL_NCS macro invocation.
7258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7260 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7263 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7264 Fix application of SIMD FP exception mask.
7266 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7267 mp_no from a power of two.
7268 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7269 __mpexp_twomm1. Use __pow_mp.
7271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7274 2013-01-17 David S. Miller <davem@davemloft.net>
7276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7278 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7281 * include/complex.h: Condition contents on [!_COMPLEX_H].
7282 (__kernel_casinhf): New prototype.
7283 (__kernel_casinh): Likewise.
7284 (__kernel_casinhl): Likewise.
7285 * math/Makefile (libm_calls): Add k_casinh.
7286 * math/k_casinh.c: New file.
7287 * math/k_casinhf.c: Likewise.
7288 * math/k_casinhl.c: Likewise.
7289 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7290 finite nonzero arguments.
7291 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7292 finite nonzero arguments.
7293 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7294 finite nonzero arguments.
7295 * math/s_casinh.c: Do not include <float.h>.
7296 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7297 * math/s_casinhf.c: Do not include <float.h>.
7298 (__casinhf): Move code for finite nonzero arguments to
7300 * math/s_casinhl.c: Do not include <float.h>.
7301 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7303 (__casinhl): Move code for finite nonzero arguments to
7305 * math/libm-test.inc (cacos_test): Add more tests.
7306 * sysdeps/i386/fpu/libm-test-ulps: Update.
7307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7309 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7311 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7312 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7313 [!HAVE_MREMAP]: Remove [defined linux] case.
7314 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7316 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7318 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7320 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
7322 * elf/elf.h (R_386_SIZE32): New relocation.
7323 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7325 (elf_machine_rela): Likewise.
7326 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7327 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7329 2013-01-17 Joseph Myers <joseph@codesourcery.com>
7331 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7332 (FP_FAST_FMA): Do not define.
7333 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7334 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7335 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7336 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7337 !_SOFT_FLOAT]: Likewise.
7338 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7339 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7341 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7342 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7343 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7344 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7345 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7346 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7349 2013-01-16 Andreas Schwab <schwab@suse.de>
7352 * include/stdlib.h (__mktemp): Add declaration.
7353 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7354 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7356 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7358 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7360 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7361 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7362 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7364 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7365 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7367 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7369 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7370 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7371 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7373 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7374 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7376 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
7378 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7380 2013-01-15 David S. Miller <davem@davemloft.net>
7382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7383 trunc{,f} to libm-sysdep_routes.
7384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7394 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7395 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7396 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7397 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7398 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7399 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7402 nearbyint{,f} to libm-sysdep_routes.
7403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7414 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7416 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7417 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7419 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7420 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7421 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7423 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7424 libc_feholdexcept and libc_fesetenv.
7426 2013-01-15 Mike Frysinger <vapier@gentoo.org>
7428 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7430 2013-01-14 David S. Miller <davem@davemloft.net>
7432 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7433 (SPARC_ASM_VIS2_IFUNC): Likewise.
7434 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7436 use of 'siam' instruction.
7437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7444 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7446 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7455 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7457 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7458 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7465 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7466 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7467 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7468 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7470 routines to libm-sysdep_routines.
7471 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7474 fdim/fdimf to libm-sysdep_routines.
7475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7483 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7484 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7485 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7486 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7488 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7490 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7493 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7495 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7498 local variable MPTWO.
7499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7502 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7504 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7507 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7509 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7511 2013-01-13 Mike Frysinger <vapier@gentoo.org>
7513 * manual/pattern.texi (glob_t): Document gl_flags.
7514 (glob64_t): Likewise.
7516 2013-01-11 David S. Miller <davem@davemloft.net>
7518 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7519 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7520 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
7521 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7522 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7523 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7524 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7525 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7526 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7527 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7528 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7529 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7530 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7532 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7533 sparc V9 rather than using V8 code.
7534 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7535 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7537 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7539 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7542 2013-01-11 Roland McGrath <roland@hack.frob.com>
7544 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7545 not in the main loop.
7546 * configure: Regenerated.
7548 2013-01-11 Joseph Myers <joseph@codesourcery.com>
7550 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7551 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7553 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7554 [!__GLIBC_HAVE_LONG_LONG] case.
7555 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7556 condition to just #else.
7557 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7558 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7559 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7560 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7562 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7563 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7564 #elif condition to just #else.
7565 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7566 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7567 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7568 #elif condition to just #else.
7570 2013-01-11 Steve Ellcey <sellcey@mips.com>
7572 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7573 (EF_MIPS_ARCH_64): Fix value.
7574 (EF_MIPS_ARCH_32R2): New.
7575 (EF_MIPS_ARCH_64R2): New.
7577 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7579 * Makeconfig (+link-pie-before-libc): New.
7580 (+link-pie-after-libc): Likewise.
7581 (+link-pie-tests): Likewise.
7582 (+link-pie): Rewritten.
7583 (link-before-libc): Remove $(config-LDFLAGS).
7584 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7585 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7586 (config-LDFLAGS): Renamed to ...
7587 (rtld-LDFLAGS): This.
7588 (rtld-tests-LDFLAGS): New macro.
7589 (link-libc-rpath-link): Likewise.
7590 (link-libc-tests-rpath-link): Likewise.
7591 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7592 (link-libc): Prepand $(link-libc-rpath-link).
7593 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7594 (test-program-prefix): New macro.
7595 (test-via-rtld-prefix): Likewise.
7596 (test-program-cmd): Likewise.
7597 (host-test-program-cmd): Likewise.
7598 * Makefile ($(common-objpfx)testrun.sh): Replace
7599 $(run-program-prefix) with $(test-program-prefix).
7600 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7602 ($(common-objpfx)shlib.lds): Likewise.
7603 (build-module-helper): Likewise.
7604 ($(common-objpfx)format.lds): Likewise.
7605 * Rules (binaries-pie-tests): New.
7606 (binaries-pie-notests): Likewise.
7607 (binaries-pie): Rewritten.
7608 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7609 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7610 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7611 (make-test-out): Replace $(host-built-program-cmd) with
7612 $(host-test-program-cmd).
7613 * config.make.in (build-hardcoded-path-in-tests): New variable.
7614 * configure.in (--enable-hardcoded-path-in-tests): New configure
7616 (hardcoded_path_in_tests): New AC_SUBST.
7617 * configure: Regenerated.
7618 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7619 $(built-program-cmd) with $(test-program-cmd).
7620 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7621 (test_program_cmd): This.
7622 * elf/Makefile ($(objpfx)order.out): Run test with
7623 $(test-program-prefix).
7624 ($(objpfx)order2.out): Likewise.
7625 ($(objpfx)tst-initorder.out): Likewise.
7626 ($(objpfx)tst-initorder2.out): Likewise.
7627 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7628 $(test-program-cmd).
7629 ($(objpfx)tst-array1-static.out): Likewise.
7630 ($(objpfx)tst-array2.out): Likewise.
7631 ($(objpfx)tst-array3.out): Likewise.
7632 ($(objpfx)tst-array4.out): Likewise.
7633 ($(objpfx)tst-array5.out): Likewise.
7634 ($(objpfx)tst-array5-static.out): Likewise.
7635 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7636 $(test-program-cmd).
7637 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7638 $(run-program-prefix) with $(test-program-prefix).
7639 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7640 (test_program_prefix): This.
7641 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7642 $(run-program-prefix) with $(test-program-prefix).
7643 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7644 (test_program_prefix): This.
7645 * iconvdata/tst-tables.sh: Likewise.
7646 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7647 $(run-program-prefix) with $(test-program-prefix).
7648 ($(objpfx)tst-translit.out): Likewise.
7649 ($(objpfx)tst-gettext2.out): Likewise.
7650 ($(objpfx)tst-gettext4.out): Likewise.
7651 ($(objpfx)tst-gettext6.out): Likewise.
7652 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7653 (test_program_prefix): This.
7654 * intl/tst-gettext2.sh: Likewise.
7655 * intl/tst-gettext4.sh Likewise.
7656 * intl/tst-gettext6.sh: Likewise.
7657 * intl/tst-translit.sh: Likewise.
7658 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7659 with $(test-program-cmd).
7660 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7661 $(run-program-prefix) with $(test-program-prefix).
7662 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7663 (test_program_prefix): This.
7664 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7665 $(run-program-prefix) with $(test-program-prefix).
7666 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7667 (test_program_prefix): This.
7668 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7669 * posix/Makefile ($(objpfx)globtest.out): Replace
7670 $(run-via-rtld-prefix) and $(test-wrapper) with
7671 $(test-program-prefix) and $(test-via-rtld-prefix).
7672 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7673 $(test-program-prefix).
7674 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7675 $(host-test-program-cmd).
7676 (tst-spawn-ARGS): Likewise.
7677 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7678 $(test-program-prefix).
7679 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7680 (test_via_rtld_prefix): This.
7681 (test_wrapper): Renamed to ...
7682 (test_program_prefix): This.
7683 (run_program_prefix): Replaced by test_program_prefix.
7684 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7685 (test_program_prefix): This.
7686 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7687 with $(host-test-program-cmd).
7688 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7689 $(run-program-prefix) with $(test-program-prefix).
7690 ($(objpfx)tst-printf.out): Likewise.
7691 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7692 $(test-program-cmd).
7693 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7694 (test_program_prefix): This.
7695 * stdio-common/tst-unbputc.sh: Likewise.
7696 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7697 $(run-program-prefix) with $(test-program-prefix).
7698 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7699 (test_program_prefix): This.
7700 * string/Makefile ($(objpfx)tst-svc.out): Replace
7701 $(built-program-cmd) with $(test-program-cmd).
7703 2013-01-11 Andreas Jaeger <aj@suse.de>
7706 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7707 value. Sync with Linux 3.7.
7709 2013-01-10 David S. Miller <davem@davemloft.net>
7711 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7712 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7713 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7715 2013-01-10 Roland McGrath <roland@hack.frob.com>
7717 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7719 * configure: Regenerated.
7721 2013-01-10 David S. Miller <davem@davemloft.net>
7723 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7724 sparc V9 rather than using V8 code.
7725 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7726 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7728 2013-01-10 Roland McGrath <roland@hack.frob.com>
7730 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7731 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7732 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7733 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7734 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7735 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7736 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7737 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7738 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7739 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7740 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7741 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7742 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7743 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7744 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7745 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7746 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7747 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7748 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7749 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7750 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7751 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7752 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7753 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7754 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7755 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7756 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7758 2013-01-10 David S. Miller <davem@davemloft.net>
7760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7762 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7764 * posix/Makefile (tests-static): New variable.
7765 (tests): Add $(tests-static).
7766 (tst-exec-static-ARGS): New variable.
7767 (tst-spawn-static-ARGS): Likewise.
7768 * posix/tst-exec-static.c: New file.
7769 * posix/tst-spawn-static.c: Likewise.
7770 * posix/tst-exec.c: Support run directly.
7771 * posix/tst-spawn.c: Likewise.
7773 2013-01-10 Joseph Myers <joseph@codesourcery.com>
7775 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7777 * math/bits/mathcalls.h (llrint): Likewise.
7778 (llround): Likewise.
7779 * stdlib/stdlib.h (struct drand48_data): Likewise.
7780 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7781 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7782 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7784 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7786 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7787 (elf_greg_t): Likewise.
7788 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7789 (__jmp_buf): Likewise.
7790 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7792 (llrint): Likewise, for all definitions.
7793 (llrintl): Likewise.
7795 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7796 Remove [__GNUC__] condition.
7797 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7798 condition to just [__USE_ISOC99].
7799 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7801 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7804 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7805 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7807 (_POSIX_V6_ILP32_OFF32): Likewise.
7808 (_XBS5_ILP32_OFF32): Likewise.
7809 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7810 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7812 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7814 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7816 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7817 doubles __mpexp_twomm1. Adjust usage.
7818 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7821 2013-01-10 Andreas Schwab <schwab@suse.de>
7824 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7825 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7827 2013-01-09 David S. Miller <davem@davemloft.net>
7830 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7831 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7832 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7833 TCP_FASTOPEN): Define.
7834 (tcp_repair_opt): New structure.
7835 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7837 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7838 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7839 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7840 (tcp_cookie_transactions): New structure.
7842 2013-01-09 Anton Blanchard <anton@samba.org>
7844 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7845 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7846 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7847 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7849 2013-01-09 Joseph Myers <joseph@codesourcery.com>
7851 * include/features.h (__USE_ANSI): Remove.
7853 2013-01-09 Roland McGrath <roland@hack.frob.com>
7855 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7857 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7859 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7861 * sysdeps/s390/fpu/libm-test-ulps: Update.
7863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7865 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7870 (__mp_dbl): Likewise.
7871 (__dbl_mp): Likewise.
7872 (add_magnitudes): Likewise.
7873 (sub_magnitudes): Likewise.
7879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7884 (__mp_dbl): Likewise.
7885 (__dbl_mp): Likewise.
7886 (add_magnitudes): Likewise.
7887 (sub_magnitudes): Likewise.
7893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7898 (__mp_dbl): Likewise.
7899 (__dbl_mp): Likewise.
7900 (add_magnitudes): Likewise.
7901 (sub_magnitudes): Likewise.
7908 2013-01-08 Joseph Myers <joseph@codesourcery.com>
7910 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7911 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7912 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7913 2 && __USE_EXTERN_INLINES]: Likewise.
7915 2013-01-08 Andreas Jaeger <aj@suse.de>
7918 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7920 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7921 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7923 2013-01-07 Anton Blanchard <anton@samba.org>
7925 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7926 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7927 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7928 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7929 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7930 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7931 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7932 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7934 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7935 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7936 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7937 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7938 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7939 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7940 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7941 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7942 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7943 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7944 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7945 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7946 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7947 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7948 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7949 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7950 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7951 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7952 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7953 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7954 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7955 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7956 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7957 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7958 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7959 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7960 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7961 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7962 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7963 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7964 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7965 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7966 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7967 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7969 2013-01-07 Joseph Myers <joseph@codesourcery.com>
7971 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7972 (__MALLOC_PMT): Likewise.
7973 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7974 [__GNUC__], only on [_LIBC].
7975 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7976 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7977 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7978 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7979 forward declaration.
7980 (realloc_hook_ini): Likewise.
7981 (memalign_hook_ini): Likewise.
7982 (__libc_memalign): Do not use __MALLOC_PMT in variable
7984 (__libc_valloc): Likewise.
7985 (__libc_pvalloc): Likewise.
7986 (__libc_calloc): Likewise.
7987 (__posix_memalign): Likewise.
7990 * math/s_casinh.c: Include <float.h>.
7991 (__casinh): Do not do computation with squaring and square root
7992 for large arguments.
7993 * math/s_casinhf.c: Include <float.h>.
7994 (__casinhf): Do not do computation with squaring and square root
7995 for large arguments.
7996 * math/s_casinhl.c: Include <float.h>.
7997 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7998 (__casinhl): Do not do computation with squaring and square root
7999 for large arguments.
8000 * math/libm-test.inc (casin_test): Add more tests.
8001 (casinh_test): Likewise.
8002 * sysdeps/i386/fpu/libm-test-ulps: Update.
8003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8005 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8007 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8008 (__x86_64_raw_data_cache_size): Likewise.
8009 (__x86_64_data_cache_size_half): Likewise.
8010 (__x86_64_raw_data_cache_size_half): Likewise.
8011 (__x86_64_shared_cache_size): Likewise.
8012 (__x86_64_raw_shared_cache_size): Likewise.
8013 (__x86_64_shared_cache_size_half): Likewise.
8014 (__x86_64_raw_shared_cache_size_half): Likewise.
8015 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8017 (__x86_data_cache_size): This.
8018 (__x86_64_raw_data_cache_size): Renamed to ...
8019 (__x86_raw_data_cache_size): This.
8020 (__x86_64_data_cache_size_half): Renamed to ...
8021 (__x86_data_cache_size_half): This.
8022 (__x86_64_raw_data_cache_size_half): Renamed to ...
8023 (__x86_raw_data_cache_size_half): This.
8024 (__x86_64_shared_cache_size): Renamed to ...
8025 (__x86_shared_cache_size): This.
8026 (__x86_64_raw_shared_cache_size): Renamed to ...
8027 (__x86_raw_shared_cache_size): This.
8028 (__x86_64_shared_cache_size_half): Renamed to ...
8029 (__x86_shared_cache_size_half): This.
8030 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8031 (__x86_raw_shared_cache_size_half): This.
8032 * sysdeps/x86_64/memcpy.S: Updated.
8033 * sysdeps/x86_64/memset.S: Likewise.
8034 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8035 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8036 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8038 2013-01-04 David S. Miller <davem@davemloft.net>
8040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8042 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8044 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8045 1 to avoid redefinition warning.
8046 (__USE_GNU): Don't define.
8047 (init_signaling_nan): Protoize.
8049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8051 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8053 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8054 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8055 (__cpymn): Likewise.
8056 (norm): Remove commented code.
8058 (__mp_dbl): Likewise.
8060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8061 (__cpymn): Likewise.
8062 (norm): Remove commented code.
8064 (__mp_dbl): Likewise.
8067 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8068 mp_no value for 1.0 and 2.0.
8069 (norm): Use RADIXI instead of radixi.d.
8071 (__mul): Use 0.0 instead of zero.d.
8072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8073 mp_no value for 1.0 and 2.0.
8074 (norm): Use RADIXI instead of radixi.d.
8076 (__mul): Use 0.0 instead of zero.d.
8078 2013-01-04 Joseph Myers <joseph@codesourcery.com>
8081 * math/s_casinh.c (__casinh): Reduce finite argument to first
8082 quadrant then set signs of results at the end.
8083 * math/s_casinhf.c (__casinhf): Likewise.
8084 * math/s_casinhl.c (__casinhl): Likewise.
8085 * math/libm-test.inc (casin_test): Add more tests.
8086 (casinh_test): Likewise.
8087 * sysdeps/i386/fpu/libm-test-ulps: Update.
8088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8090 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8092 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8094 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8096 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8099 (__mp_dbl): Likewise.
8102 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8103 and adjust the header comment.
8105 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8106 variable name from declaration.
8108 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8111 Initialize COMMON_CPUID_INDEX_7 element.
8112 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8113 (CPUID_RTM): Likewise.
8114 (HAS_RTM): Likewise.
8115 (COMMON_CPUID_INDEX_7): New enum.
8117 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8120 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8121 size is zero, record memory as freed.
8123 2013-01-03 Andreas Jaeger <aj@suse.de>
8125 * po/ia.po: Add new Interlingua translation.
8127 2012-01-03 Allan McRae <allan@archlinux.org>
8129 * locale/programs/localedef.c: Fix description of '--posix' flag.
8131 2013-01-02 Joseph Myers <joseph@codesourcery.com>
8133 * NEWS: Update dates in second copyright notice.
8134 * README: Update copyright dates in example.
8135 * manual/libc.texinfo: Update copyright dates.
8136 * scripts/test-installation.pl: Update copyright date in --version
8139 * hurd/ctty-input.c: Fix copyright notice formatting.
8140 * hurd/ctty-output.c: Likewise.
8141 * hurd/dtable.c: Likewise.
8142 * hurd/hurd-raise.c: Likewise.
8143 * hurd/hurdprio.c: Likewise.
8144 * hurd/msgportdemux.c: Likewise.
8145 * misc/sys/file.h: Likewise.
8146 * misc/sys/ioctl.h: Likewise.
8147 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8148 * sysdeps/mach/hurd/chdir.c: Likewise.
8149 * sysdeps/mach/hurd/fchdir.c: Likewise.
8150 * sysdeps/mach/hurd/rename.c: Likewise.
8151 * sysdeps/mach/hurd/rmdir.c: Likewise.
8152 * sysdeps/mach/hurd/seekdir.c: Likewise.
8153 * sysdeps/mach/hurd/setsid.c: Likewise.
8154 * sysdeps/posix/wait3.c: Likewise.
8156 * All files with FSF copyright notices: Update copyright dates
8157 using scripts/update-copyrights.
8158 * intl/plural.c: Regenerated.
8159 * locale/programs/charmap-kw.h: Likewise.
8160 * locale/programs/locfile-kw.h: Likewise.
8162 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8164 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8167 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8168 calculation loop and add branch prediction.
8170 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8171 check access beyond bounds of m1np.
8173 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8175 (__inv): Remove local variable MPTWO to use the global
8177 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8178 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8180 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8181 MP3HALFS static const.
8183 2013-01-01 David S. Miller <davem@davemloft.net>
8185 * po/ca.po: Update from translation team.
8187 2013-01-01 Joseph Myers <joseph@codesourcery.com>
8189 * scripts/update-copyrights: New file.
8190 * Makeconfig: Reformat copyright notice.
8191 * ctype/ctype.h: Likewise.
8192 * debug/swprintf_chk.c: Likewise.
8193 * elf/dl-cache.c: Likewise.
8194 * elf/dl-debug.c: Likewise.
8195 * elf/dl-object.c: Likewise.
8196 * grp/initgroups.c: Likewise.
8197 * hurd/Makefile: Likewise.
8198 * hurd/hurd/signal.h: Likewise.
8199 * hurd/hurdfault.c: Likewise.
8200 * hurd/hurdioctl.c: Likewise.
8201 * hurd/hurdlookup.c: Likewise.
8202 * hurd/intr-msg.c: Likewise.
8203 * iconv/gconv_open.c: Likewise.
8204 * libio/swprintf.c: Likewise.
8205 * locale/lc-ctype.c: Likewise.
8206 * locale/nl_langinfo.c: Likewise.
8207 * mach/Machrules: Likewise.
8208 * mach/Makefile: Likewise.
8209 * malloc/obstack.h: Likewise.
8210 * manual/Makefile: Likewise.
8211 * manual/tsort.awk: Likewise.
8212 * misc/bits/stab.def: Likewise.
8213 * nis/nis_print_group_entry.c: Likewise.
8214 * nis/nis_table.c: Likewise.
8215 * nis/nss_compat/compat-pwd.c: Likewise.
8216 * nis/nss_compat/compat-spwd.c: Likewise.
8217 * po/Makefile: Likewise.
8218 * posix/fnmatch.c: Likewise.
8219 * posix/regex.h: Likewise.
8220 * resolv/Makefile: Likewise.
8221 * resolv/nss_dns/dns-network.c: Likewise.
8222 * resolv/res_hconf.c: Likewise.
8223 * scripts/gen-sorted.awk: Likewise.
8224 * soft-fp/soft-fp.h: Likewise.
8225 * stdio-common/printf.h: Likewise.
8226 * stdlib/monetary.h: Likewise.
8227 * stdlib/random.c: Likewise.
8228 * stdlib/random_r.c: Likewise.
8229 * sysdeps/generic/Makefile: Likewise.
8230 * sysdeps/gnu/Makefile: Likewise.
8231 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8232 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8233 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8242 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8243 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8244 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8245 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8246 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8247 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8248 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8249 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8251 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8252 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8253 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8259 * sysdeps/mach/hurd/errnos.awk: Likewise.
8260 * sysdeps/mach/hurd/fork.c: Likewise.
8261 * sysdeps/mach/hurd/getcwd.c: Likewise.
8262 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8263 * sysdeps/mach/hurd/mmap.c: Likewise.
8264 * sysdeps/mach/hurd/utimes.c: Likewise.
8265 * sysdeps/mach/hurd/xmknod.c: Likewise.
8266 * sysdeps/posix/profil.c: Likewise.
8267 * sysdeps/posix/readdir_r.c: Likewise.
8268 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8269 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8270 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8271 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8272 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8273 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8274 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8275 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8277 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8278 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8279 * sysdeps/pthread/lio_listio.c: Likewise.
8280 * sysdeps/sparc/dl-procinfo.h: Likewise.
8281 * sysdeps/unix/i386/sysdep.S: Likewise.
8282 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8283 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8284 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8285 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8287 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8288 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8289 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8290 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8291 * sysdeps/wordsize-32/divdi3.c: Likewise.
8292 * time/sys/time.h: Likewise.
8293 * wcsmbs/Makefile: Likewise.
8295 2013-01-01 David S. Miller <davem@davemloft.net>
8297 * po/fr.po: Update from translation team.
8299 * catgets/gencat.c: Update copyright year.
8300 * csu/version.c: Likewise.
8301 * debug/catchsegv.sh: Likewise.
8302 * debug/pcprofiledump.c: Likewise.
8303 * debug/xtrace.sh: Likewise.
8304 * elf/ldconfig.c: Likewise.
8305 * elf/ldd.bash.in: Likewise.
8306 * elf/pldd.c: Likewise.
8307 * elf/sotruss.ksh: Likewise.
8308 * elf/sprof.c: Likewise.
8309 * iconv/iconv_prog.c: Likewise.
8310 * iconv/iconvconfig.c: Likewise.
8311 * locale/programs/locale.c: Likewise.
8312 * locale/programs/localedef.c: Likewise.
8313 * login/programs/pt_chown.c: Likewise.
8314 * malloc/memusage.sh: Likewise.
8315 * malloc/memusagestat.c: Likewise.
8316 * malloc/mtrace.pl: Likewise.
8317 * nscd/nscd.c: Likewise.
8318 * nss/getent.c: Likewise.
8319 * nss/makedb.c: Likewise.
8320 * posix/getconf.c: Likewise.
8322 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8324 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8327 2012-12-30 Mike Frysinger <vapier@gentoo.org>
8329 * math/bits/mathcalls.h (modf): Use __nonnull.
8331 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8333 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8334 (split): Use macro CN instead of the bare value.
8335 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8337 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8338 instead of the bare value.
8341 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8343 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8345 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8347 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8349 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8350 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8351 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8352 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8354 2012-12-28 Andreas Jaeger <aj@suse.de>
8356 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8357 values are from Linux 3.7.
8359 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8360 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8362 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8364 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
8367 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8369 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8370 variables with preprocessor constants.
8371 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8372 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8373 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8375 2012-12-27 Bruno Haible <bruno@clisp.org>
8378 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8381 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8383 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8384 and use variable directly.
8385 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8387 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8389 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8390 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8392 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8394 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8395 include directive. Remove local variable MPONE.
8396 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8397 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8398 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8400 2012-12-25 David S. Miller <davem@davemloft.net>
8402 * version.h (RELEASE): Set to "development".
8403 (VERSION): Set to "2.17.90".
8404 * NEWS: Add 2.18 section.
8406 2012-12-21 David S. Miller <davem@davemloft.net>
8408 * po/hr.po: Update from translation team.
8410 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8412 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8414 2012-12-19 Steve Ellcey <sellcey@mips.com>
8416 * NEWS: Mention new memcpy for MIPS.
8418 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8420 * manual/contrib.texi (Contributors): Spelling correction.
8422 2012-12-15 David S. Miller <davem@davemloft.net>
8424 * po/ru.po: Update from translation team.
8426 2012-12-13 David S. Miller <davem@davemloft.net>
8428 * NEWS: Mention IFUNC testsuite enhancements.
8430 * po/pl.po: Update from translation team.
8431 * po/bg.po: Likewise.
8433 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8434 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8436 2012-12-11 David S. Miller <davem@davemloft.net>
8438 * po/sv.po: Update from translation team.
8440 * po/vi.po: Update from translation team.
8442 * po/cs.po: Update from translation team.
8444 * po/de.po: Update from translation team.
8445 * po/eo.po: Likewise.
8446 * po/nl.po: Likewise.
8448 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8451 * manual/argp.texi (Argp Helper Functions): Move node to follow
8455 * manual/conf.texi (Limits on File System Capacity): Mention if
8456 terminating null is included in the max size.
8458 2012-12-10 Andreas Jaeger <aj@suse.de>
8460 * po/cs.po: Update from translation team.
8462 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8464 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8465 void pointer and cast to uintptr_t.
8466 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8468 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8469 * sysdeps/s390/s390-64/memset.S: Likewise.
8471 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
8474 * menual/message.texi (Message Translation): Fix typos.
8475 (Helper programs for gettext): Likewise.
8477 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8480 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8483 2012-12-07 David S. Miller <davem@davemloft.net>
8485 * po/libc.pot: Update.
8487 2012-12-07 Richard Henderson <rth@redhat.com>
8490 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8491 normal/normal case to before the switch.
8492 (_FP_DIV): Likewise.
8494 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8495 Mike Frysinger <vapier@gentoo.org>
8497 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8498 check for __NR_fadvise64_64.
8500 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8502 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8503 0, not just to plain "0" as a statement.
8504 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8507 2012-12-06 Joseph Myers <joseph@codesourcery.com>
8509 * NEWS: Use sourceware.org in Bugzilla URL.
8511 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8514 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8516 * stdio-common/tst-put-error.c (do_test): Add newline to the
8517 padded test to ensure flush.
8519 2012-12-05 Jeff Law <law@redhat.com>
8521 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8523 2012-12-05 Joseph Myers <joseph@codesourcery.com>
8525 * README: Don't refer to ports add-on as distributed separately.
8526 Mention AArch64 in list of systems supported in the ports add-on.
8528 * LICENSES: Add more non-FSF copyright and license notices.
8530 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8533 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8535 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8536 10000 as width of padded output.
8538 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8540 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8542 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8543 variable LX with __attribute__ ((unused)).
8544 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8546 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8548 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8549 with __attribute__ ((unused)).
8551 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
8553 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8555 2012-12-04 Joseph Myers <joseph@codesourcery.com>
8557 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8558 (CFLAGS-nldbl-acos.c): New variable.
8559 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8560 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8561 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8562 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8563 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8564 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8565 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8566 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8567 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8568 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8569 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8570 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8571 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8572 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8573 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8574 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8575 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8576 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8577 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8578 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8579 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8580 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8581 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8582 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8583 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8584 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8585 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8586 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8587 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8588 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8589 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8590 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8591 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8592 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8593 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8594 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8595 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8596 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8597 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8598 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8599 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8600 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8601 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8602 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8603 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8604 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8605 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8606 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8607 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8608 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8609 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8610 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8611 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8612 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8613 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8614 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8615 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8616 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8617 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8618 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8619 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8620 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8621 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8622 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8623 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8624 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8625 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8626 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8627 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8628 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8629 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8630 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8631 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8632 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8633 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8634 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8635 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8636 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8637 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8638 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8639 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8640 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8641 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8642 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8643 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8644 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8645 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8646 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8647 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8648 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8649 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8650 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8651 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8652 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8653 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8654 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8655 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8658 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8661 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8662 whole low double instead of just low 47 bits when splitting values
8665 2012-12-03 Allan McRae <allan@archlinux.org>
8667 * manual/stdio.texi (Predefined Printf Handlers): Remove
8668 @hsep and @vsep usage.
8670 2012-12-03 Mike Frysinger <vapier@gentoo.org>
8672 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8673 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8675 2012-12-03 Jeff Law <law@redhat.com>
8677 * time/sys/time.h (settimeofday): Do not mark TV argument
8680 2012-12-01 Mike Frysinger <vapier@gentoo.org>
8682 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8683 when currently writing and seek to current position when not.
8684 * libio/Makefile (tests): Remove bug-fclose1.
8685 * libio/bug-fclose1.c: Delete.
8687 2012-12-01 Joseph Myers <joseph@codesourcery.com>
8689 * manual/arith.texi (feenableexcept): Fix typo.
8690 (fedisableexcept): Likewise.
8692 2012-11-30 Roland McGrath <roland@hack.frob.com>
8694 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8695 second, differently-typed declaration, rather than a cast.
8697 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8699 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8700 * include/rpc/svc.h: ... here.
8702 2012-11-30 Aurelien Jarno <aurel32@debian.org>
8705 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8706 depending n and resplen2 to catch cases where answer
8709 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8711 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8712 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8714 2012-11-29 Mike Frysinger <vapier@gentoo.org>
8716 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8718 2012-11-29 Roland McGrath <roland@hack.frob.com>
8720 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8722 2012-11-28 Jeff Law <law@redhat.com>
8725 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8726 dataset_temporary. Track alloca usage into alloca_used.
8727 If dataset is large allocate and release it via malloc/free.
8729 2012-06-04 Florian Weimer <fweimer@redhat.com>
8732 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8734 2012-11-28 David S. Miller <davem@davemloft.net>
8736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8738 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8741 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8742 of pi/2 rounded to nearest to 64 bits.
8743 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8745 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8748 2012-11-28 Jeff Law <law@redhat.com>
8749 Martin Osvald <mosvald@redhat.com>
8752 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8753 * sunrpc/svc.c: Include time.h.
8754 (__svc_accept_failed): New function.
8755 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8756 any reason other than EINTR, call __svc_accept_failed.
8757 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8758 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8760 2012-11-28 Andreas Schwab <schwab@suse.de>
8762 * scripts/abilist.awk: Also handle indirect functions in .opd
8765 2012-11-28 Joseph Myers <joseph@codesourcery.com>
8768 * sysdeps/x86/fpu/powl_helper.c: New file.
8769 * sysdeps/x86/fpu/Makefile: Likewise.
8770 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8772 (__ieee754_powl): Use __powl_helper for finite arguments except
8773 integer exponents below 8.
8774 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8776 (__ieee754_powl): Use __powl_helper for finite arguments except
8777 integer exponents below 8.
8778 * math/libm-test.inc (pow_test): Add more tests and enable some
8779 previously disabled tests.
8780 * sysdeps/i386/fpu/libm-test-ulps: Update.
8781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8783 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8784 Carlos O'Donell <carlos_odonell@mentor.com>
8786 * nss/makedb.c (is_prime): Assert that input is odd and greater
8787 than 4. Note that fact in a comment too.
8788 (next_prime): Add 4 to input.
8790 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8793 * libio/Makefile (tests): Add test case tst-fwrite-error.
8794 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8795 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8796 * libio/tst-fwrite-error.c: New test case.
8798 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8800 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8801 before casting to void *.
8802 * include/libc-internal.h (__pointer_type): New macro.
8803 (__integer_if_pointer_type_sub): Likewise.
8804 (__integer_if_pointer_type): Likewise.
8805 (cast_to_integer): Likewise.
8806 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8807 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8808 before casting to atomic64_t.
8809 (atomic_exchange_acq): Likewise.
8810 (__arch_exchange_and_add_body): Likewise.
8811 (__arch_add_body): Likewise.
8812 (atomic_add_negative): Likewise.
8813 (atomic_add_zero): Likewise.
8815 2012-11-26 Joseph Myers <joseph@codesourcery.com>
8817 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8818 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8819 (add_fdes): Likewise.
8820 (linear_search_fdes): Likewise.
8821 (binary_search_unencoded_fdes): Likewise.
8823 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8825 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8827 2012-11-24 Adam Conrad <adconrad@0c3.net>
8829 * configure.in: Autodetect C++ header directories.
8830 * configure: Regenerated.
8832 2012-11-23 Mike Frysinger <vapier@gentoo.org>
8834 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8836 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8840 2012-11-22 Joseph Myers <joseph@codesourcery.com>
8842 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8843 LDBL_MANT_DIG == 106]: Disable some tests.
8844 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8846 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8850 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8851 input for small inputs. Return +/- pi/2 for large inputs.
8852 * math/libm-test.inc (atan_test): Add more tests.
8854 * sysdeps/generic/unwind-dw2-fde-glibc.c
8855 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8856 __attribute__ ((unused)).
8859 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8860 x * y if x and y are nonzero and z is zero.
8863 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8864 nonzero exponents with absolute value below 0x1p-117 to +/-
8868 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8869 up arguments below 2**-450, not just those below 2**-500.
8870 * math/libm-test.inc (hypot_test): Add another test.
8873 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8874 Return a+b for ratio over 2**120, not 2**60.
8875 * math/libm-test.inc (hypot_test): Add another test.
8877 * math/libm-test.inc (clog_test): Use
8878 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8879 (clog10_test): Likewise.
8882 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8884 2012-11-22 Andreas Schwab <schwab@suse.de>
8886 * sysdeps/i386/fpu/libm-test-ulps: Update.
8888 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8890 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8891 printf output with newline.
8893 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8896 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8897 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8898 -z nodlopen, -z initfirst and -z execstack support.
8899 * configure: Regenerated.
8901 * elf/elf.h (DF_1_NODIRECT): New macro.
8902 (DF_1_IGNMULDEF): Likewise.
8903 (DF_1_NOKSYMS): Likewise.
8904 (DF_1_NOHDR): Likewise.
8905 (DF_1_EDITED): Likewise.
8906 (DF_1_NORELOC): Likewise.
8907 (DF_1_SYMINTPOSE): Likewise.
8908 (DF_1_GLOBAUDIT): Likewise.
8909 (DF_1_SINGLETON): Likewise.
8910 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8911 DT_1_SUPPORTED_MASK bits.
8912 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8914 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8916 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8918 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8920 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8923 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8924 (sendmmsg): Move declarations...
8925 * socket/sys/socket.h: ... here.
8926 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8927 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8929 * socket/recvmmsg.c: ... this new file.
8930 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8931 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8932 definition of __sendmmsg hidden.
8933 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8934 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8935 Move ENOSYS stub into and include it from...
8936 * socket/sendmmsg.c: ... this new file.
8937 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8938 (sysdep_routines): Move recvmmsg and sendmmsg...
8939 * socket/Makefile (routines): ... here.
8940 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8941 (GLIBC_PRIVATE): Add __sendmmsg.
8942 * include/sys/socket.h (__sendmmsg): Add declarations.
8943 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8946 2012-11-20 Joseph Myers <joseph@codesourcery.com>
8948 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8949 variable I1 with __attribute__ ((unused)).
8950 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8952 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8954 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8955 DUMMY variables with __attribute__ ((unused)).
8957 * bits/byteswap.h: Include <bits/types.h>.
8958 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8960 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8962 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8963 string_t. Do not manually set errno.
8964 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8965 length with __strnlen. Make sure to both set errno and return it on
8968 2012-11-19 David S. Miller <davem@davemloft.net>
8970 With help from Joseph Myers.
8971 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8972 very large arguments properly.
8973 * math/libm-test.inc (atan_test): New tests.
8974 (atan2_test): New tests.
8975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8978 2012-11-19 Joseph Myers <joseph@codesourcery.com>
8981 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8984 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8985 [POSIX] (EADDRNOTAVAIL): Likewise.
8986 [POSIX] (EAFNOSUPPORT): Likewise.
8987 [POSIX] (EALREADY): Likewise.
8988 [POSIX] (ECONNABORTED): Likewise.
8989 [POSIX] (ECONNREFUSED): Likewise.
8990 [POSIX] (ECONNRESET): Likewise.
8991 [POSIX] (EDESTADDRREQ): Likewise.
8992 [POSIX] (EDQUOT): Likewise.
8993 [POSIX] (EHOSTUNREACH): Likewise.
8994 [POSIX] (EIDRM): Likewise.
8995 [POSIX] (EISCONN): Likewise.
8996 [POSIX] (ELOOP): Likewise.
8997 [POSIX] (EMULTIHOP): Likewise.
8998 [POSIX] (ENETDOWN): Likewise.
8999 [POSIX] (ENETUNREACH): Likewise.
9000 [POSIX] (ENOBUFS): Likewise.
9001 [POSIX] (ENODATA): Likewise.
9002 [POSIX] (ENOLINK): Likewise.
9003 [POSIX] (ENOMSG): Likewise.
9004 [POSIX] (ENOPROTOOPT): Likewise.
9005 [POSIX] (ENOSR): Likewise.
9006 [POSIX] (ENOSTR): Likewise.
9007 [POSIX] (ENOTCONN): Likewise.
9008 [POSIX] (ENOTSOCK): Likewise.
9009 [POSIX] (EOPNOTSUPP): Likewise.
9010 [POSIX] (EOVERFLOW): Likewise.
9011 [POSIX] (EPROTO): Likewise.
9012 [POSIX] (EPROTONOSUPPORT): Likewise.
9013 [POSIX] (EPROTOTYPE): Likewise.
9014 [POSIX] (ESTALE): Likewise.
9015 [POSIX] (ETIME): Likewise.
9016 [POSIX] (ETXTBSY): Likewise.
9017 [POSIX] (EWOULDBLOCK): Likewise.
9018 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9019 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9020 [POSIX] (SEEK_CUR): Likewise.
9021 [POSIX] (SEEK_END): Likewise.
9022 [POSIX || UNIX98] (mode_t): Do not require.
9023 [POSIX] (off_t): Likewise.
9024 [POSIX] (pid_t): Likewise.
9025 [POSIX] (sys/stat.h): Do not allow header.
9026 [POSIX] (unistd.h): Likewise.
9027 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9028 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9029 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9030 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9032 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9033 sigevent): Specify elements.
9034 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9036 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9037 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9039 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9040 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9041 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9042 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9043 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9044 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9045 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9046 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9047 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9048 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9049 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9050 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9051 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9052 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9054 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9056 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9058 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9060 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9061 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9062 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9063 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9064 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9065 Specify lower bound on value.
9066 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9067 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9068 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9069 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9070 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9071 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9072 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9073 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9075 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9077 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9078 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9079 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9080 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9081 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9082 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9083 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9084 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9085 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9086 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9087 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9088 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9089 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9090 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9091 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9092 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9094 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9096 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9097 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9098 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9099 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9100 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9101 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9103 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9104 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9105 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9106 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9107 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9108 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9109 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9111 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9112 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9113 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9114 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9115 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9116 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9117 specify as optional.
9118 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9119 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9120 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9121 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9122 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9123 [XPG3] (NL_LANGMAX): Likewise.
9124 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9125 [POSIX || XPG3] (NL_NMAX): Likewise.
9126 [POSIX || XPG3] (NL_SETMAX): Likewise.
9127 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9128 [XPG3] (NZERO): Likewise.
9129 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9130 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9131 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9132 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9133 (REG_ERANGE): Expect.
9134 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9136 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9137 Use (void) in prototype.
9138 [POSIX] (*_t): Allow.
9139 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9140 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9141 (WRDE_BADVAL): Expect.
9143 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9145 [XPG3 || XPG4] (O_RSYNC): Likewise.
9146 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9148 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9149 [XPG3 || XPG4] (sigqueue): Likewise.
9150 [XPG3 || XPG4] (sigtimedwait): Likewise.
9151 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9152 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9153 [XPG3 || XPG4] (vsnprintf): Likewise.
9154 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9156 [XPG3 || XPG4] (blksize_t): Likewise.
9157 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9159 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9160 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9161 [XPG3 || XPG4] (struct itimerspec): Likewise.
9162 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9163 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9164 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9165 [XPG3 || XPG4] (clockid_t): Likewise.
9166 [XPG3 || XPG4] (timer_t): Likewise.
9167 [XPG3 || XPG4] (clock_getres): Likewise.
9168 [XPG3 || XPG4] (clock_gettime): Likewise.
9169 [XPG3 || XPG4] (clock_settime): Likewise.
9170 [XPG3 || XPG4] (nanosleep): Likewise.
9171 [XPG3 || XPG4] (timer_create): Likewise.
9172 [XPG3 || XPG4] (timer_delete): Likewise.
9173 [XPG3 || XPG4] (timer_gettime): Likewise.
9174 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9175 [XPG3 || XPG4] (timer_settime): Likewise.
9176 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9177 [XPG3 || XPG4] (getlogin_r): Likewise.
9178 [XPG3 || XPG4] (pread): Likewise.
9179 [XPG3 || XPG4] (pthread_atfork): Likewise.
9180 [XPG3 || XPG4] (pwrite): Likewise.
9183 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9186 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9188 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9189 finalizing MALLSTREAM.
9191 * sysdeps/mach/hurd/syncfs.c: New file.
9193 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9196 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9197 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9198 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9199 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9200 (_nss_dns_gethostbyname4_r): Likewise.
9201 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9202 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9204 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9207 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9209 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9211 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9212 * elf/cache.c (print_entry): Print ",AArch64" for
9215 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9216 * elf/cache.c (print_entry): Print ",hard-float" for
9219 2012-11-18 David S. Miller <davem@davemloft.net>
9221 With help from Joseph Myers.
9222 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9224 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9226 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9227 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9229 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9230 * math/libm-test.inc (y0_test): New tests.
9231 (y1_test): New tests.
9232 * sysdeps/i386/fpu/libm-test-ulps: Update.
9233 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9236 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9238 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9240 * configure: Regenerated.
9242 2012-11-17 David S. Miller <davem@davemloft.net>
9245 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9246 nonzero exponents with absolute value below 0x1p-128 to +/-
9249 2012-11-17 Joseph Myers <joseph@codesourcery.com>
9251 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9253 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9255 * posix/getconf-speclist.c: New file.
9256 * posix/posix-envs.def: Likewise.
9257 * posix/confstr.c (START_ENV_GROUP): New macro.
9258 (END_ENV_GROUP): Likewise.
9259 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9260 (KNOWN_PRESENT_ENV_STRING): Likewise.
9261 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9262 (UNKNOWN_ENVIRONMENT): Likewise.
9263 (confstr): Include posix-envs.def instead of handling
9264 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9265 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9266 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9267 (END_ENV_GROUP): Likewise.
9268 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9269 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9270 (UNKNOWN_ENVIRONMENT): Likewise.
9271 (__sysconf): Include posix-envs.def instead of handling associated
9272 cases directly here.
9273 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9274 preprocessing getconf-speclist.c rather than running getconf or
9275 generating empty file.
9277 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9279 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9281 2012-11-16 Andrej Lajovic <natrij@gmail.com>
9284 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9286 2012-11-16 David S. Miller <davem@davemloft.net>
9288 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9289 smaller than LDBL_EPSILON/2.0L, just return xm1.
9291 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9293 * elf/tst-array1.c (init): Set constructor priority to 1000.
9294 (fini): Set destructor priority to 1000.
9295 * elf/tst-array2dep.c: Likewise.
9297 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9300 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9301 (_IO_new_file_xsputn): Also return EOF if none of the input
9302 data was written when overflow failed.
9303 * libio/iopadn.c (_IO_padn): Likewise.
9304 * libio/iowpadn.c (_IO_wpadn): Likewise.
9305 * stdio-common/tst-put-error.c: Add copyright notice.
9306 (do_test): Add case for printing padded string.
9307 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9308 _IO_padn returned error.
9309 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9310 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9313 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9315 * libio/libioP.h: Add comment note that the references to C++
9316 bits are now obsolete.
9318 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9320 * math/libm-test.inc (check_complex): Use asprintf.
9322 2012-11-14 Joseph Myers <joseph@codesourcery.com>
9324 * debug/pcprofiledump.c (print_version): Update copyright year.
9325 * malloc/memusagestat.c (print_version): Likewise.
9327 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9330 * elf/Makefile (tests): Add tst-audit8.
9331 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9332 ($(objpfx)tst-audit8.out): New target.
9333 (tst-audit8-ENV): New variable.
9334 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9335 audit if l_reloc_result is NULL.
9336 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9337 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9338 * elf/tst-audit8.c: New file.
9340 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9342 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9343 * misc/Makefile (CFLAGS-select.c): Define.
9344 * posix/Makefile (CFLAGS-pause.c): Define.
9346 2012-11-13 David S. Miller <davem@davemloft.net>
9348 * crypt/Makefile: Move test targets after toplevel Rules
9349 inclusion. Grab any necessary sysdep routines when linking.
9350 * crypt/md5.c (md5_process_block): Remove define, we will always
9351 name it __md5_process_block.
9352 (md5_finish_ctx): Update md5_process_block call.
9353 (md5_stream): Likewise.
9354 (md5_process_bytes): Likewise.
9355 (md5_process_block): Rename to __md5_process_block and move to ...
9356 * crypt/md5-block.c: ... here.
9357 * crypt/sha256.c (sha256_process_block): Move to ...
9358 * crypt/sha256-block.c: ... here.
9359 * crypt/sha512.c (sha512_process_block): Move to ...
9360 * crypt/sha512-block.c: ... here.
9361 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9363 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9364 * sysdeps/sparc/sparc64/multiarch/Makefile
9365 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9367 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9368 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9370 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9371 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9372 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9373 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9374 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9375 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9376 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9377 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9378 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9380 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9381 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9383 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9385 2012-11-13 Joseph Myers <joseph@codesourcery.com>
9387 * timezone/tzselect.ksh: Update from tzcode git revision
9388 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9389 * timezone/zdump.c: Likewise.
9390 * timezone/zic.c: Likewise.
9391 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9392 in TZVERSION setting, not $(PKGVERSION).
9393 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9394 REPORT_BUGS_TO settings.
9397 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9400 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9402 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9403 detection to immediately after _FP_ROUND().
9404 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9407 2012-11-11 David S. Miller <davem@davemloft.net>
9409 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9411 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9412 __close rather than their public counterparts.
9414 2012-11-10 Joseph Myers <joseph@codesourcery.com>
9416 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9418 [UNIX98] (sem_timedwait): Do not expect.
9419 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9420 [XPG4 || UNIX98] (sockatmark): Do not expect.
9421 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9422 (clock_getcpuclockid): Do not expect.
9423 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9424 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9426 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9427 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9428 [UNIX98] (vwscanf): Likewise.
9429 [UNIX98] (vswscanf): Likewise.
9431 2012-11-09 Joseph Myers <joseph@codesourcery.com>
9433 * timezone/version.h: Remove file.
9434 * timezone/README: Do not refer to version.h.
9435 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9437 ($(objpfx)zdump.o): Likewise.
9438 ($(objpfx)version.h): New target.
9440 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9442 * timezone/README: Don't mention modification to tzselect.ksh.
9443 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9444 work on unmodified tzselect.ksh. Substitute version numbers in
9447 * Makefile (format-me): Remove.
9448 (INSTALL): Adjust indentation. Use commands directly instead of
9451 * aclocal.m4 (ACX_PKGVERSION): New macro.
9452 (ACX_BUGURL): Likewise.
9453 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9454 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9455 (REPORT_BUGS_TO): Likewise.
9456 * configure: Regenerated.
9457 * config.h.in (PKGVERSION): New macro.
9458 (REPORT_BUGS_TO): Likewise.
9459 * config.make.in (PKGVERSION): New variable.
9460 (PKGVERSION_TEXI): Likewise.
9461 (REPORT_BUGS_TO): Likewise.
9462 (REPORT_BUGS_TEXI): Likewise.
9463 * Makefile (format-me): Use -I$(common-objpfx)manual.
9464 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9465 ($(common-objpfx)manual/%): New target.
9466 (manual/%): Remove target.
9467 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9468 (print_version): Use PKGVERSION.
9469 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9470 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9472 ($(objpfx)xtrace): Likewise.
9473 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9474 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9475 (print_version): Use PKGVERSION.
9476 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9477 (do_version): Use PKGVERSION.
9478 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9480 (common-ldd-rewrite): Likewise.
9481 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9482 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9483 (print_version): Use PKGVERSION.
9484 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9485 * elf/pldd.c (argp_program_bug_address): Remove variable.
9486 (more_help): New function.
9487 (argp): Use more_help.
9488 (print_version): Use PKGVERSION.
9489 * elf/sln.c (main): Use PKGVERSION.
9490 (usage): Use REPORT_BUGS_TO.
9491 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9492 (top level): Use PKGVERSION.
9493 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9494 (print_version): Use PKGVERSION.
9495 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9496 (print_version): Use PKGVERSION.
9497 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9498 (print_version): Use PKGVERSION.
9499 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9500 (print_version): Use PKGVERSION.
9501 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9502 (print_version): Use PKGVERSION.
9503 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9504 (print_version): Use PKGVERSION.
9505 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9507 ($(objpfx)memusage): Likewise.
9508 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9509 (do_version): Use PKGVERSION.
9510 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9511 (print_version): Use PKGVERSION.
9512 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9513 ($PKGVERSION): New variable.
9514 ($REPORT_BUGS_TO): Likewise.
9515 (usage): Use $REPORT_BUGS_TO.
9516 (top level): Use $PKGVERSION.
9517 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9518 ($(objpfx)pkgvers.texi): New rule.
9519 ($(objpfx)stamp-pkgvers): Likewise.
9520 * manual/install.texi: Include pkgvers.texi.
9521 (--with-pkgversion): Document new configure option.
9522 (--with-bugurl): Likewise.
9523 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9524 than necessarily for this particular distribution. Use
9525 REPORT_BUGS_TO for where to report bugs.
9526 * INSTALL: Regenerated.
9527 * manual/libc.texinfo: Include pkgvers.texi.
9528 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9529 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9530 (print_version): Use PKGVERSION.
9531 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9532 (print_version): Use PKGVERSION.
9533 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9534 (print_version): Use PKGVERSION.
9535 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9536 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9538 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9539 (print_version): Use PKGVERSION.
9540 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9541 (print_version): Use PKGVERSION.
9542 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9545 * timezone/checktab.awk: Update from tzcode 2012i.
9546 * timezone/ialloc.c: Likewise.
9547 * timezone/private.h: Likewise.
9548 * timezone/scheck.c: Likewise.
9549 * timezone/tzfile.h: Likewise.
9550 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9551 (TZVERSION): Hardcode tzcode version number.
9552 * timezone/zdump.c: Update from tzcode 2012i.
9553 * timezone/zic.c: Likewise.
9554 * timezone/version.h: New file.
9555 * timezone/README: Describe version.h. Update upstream location.
9558 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9559 (mktemp): Enable declaration.
9560 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9561 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9562 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9567 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9577 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9578 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9579 for copies of such integer values.
9580 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9581 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9583 2012-11-09 Andreas Jaeger <aj@suse.de>
9585 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9586 definitions and declarations that are provided by
9587 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9589 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9591 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
9592 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9593 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9596 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9598 * elf/elf.h: Update comment before AArch64 relocations.
9600 2012-11-07 David S. Miller <davem@davemloft.net>
9602 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9603 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9604 (__start_context): Declare.
9605 (__makecontext_ret): Delete.
9606 (__makecontext): Hook up __start_context instead of
9608 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9609 (sysdep_routines): Add __start_context when in stdlib.
9611 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9613 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9614 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9615 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9617 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9618 (READELF): New variable. Use it instead of hardcoded "readelf".
9620 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9622 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9623 * sysdeps/x86/Makefile: Here.
9624 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9625 * sysdeps/x86/tst-xmmymm.sh: This.
9627 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9629 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9631 [UNIX98] (pthread_barrier_t): Do not expect.
9632 [UNIX98] (pthread_barrierattr_t): Likewise.
9633 [UNIX98] (pthread_spinlock_t): Likewise.
9634 [UNIX98] (pthread_barrier_destroy): Likewise.
9635 [UNIX98] (pthread_barrier_init): Likewise.
9636 [UNIX98] (pthread_barrier_wait): Likewise.
9637 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9638 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9639 [UNIX98] (pthread_barrierattr_init): Likewise.
9640 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9641 [UNIX98] (pthread_getcpuclockid): Likewise.
9642 [UNIX98] (pthread_mutex_timedlock): Likewise.
9643 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9644 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9645 [UNIX98] (pthread_sigmask): Likewise.
9646 [UNIX98] (pthread_spin_destroy): Likewise.
9647 [UNIX98] (pthread_spin_init): Likewise.
9648 [UNIX98] (pthread_spin_lock): Likewise.
9649 [UNIX98] (pthread_spin_trylock): Likewise.
9650 [UNIX98] (pthread_spin_unlock): Likewise.
9651 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9653 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9654 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9655 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9656 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9657 [XPG3 || XPG4] (pthread_key_t): Likewise.
9658 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9659 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9660 [XPG3 || XPG4] (pthread_once_t): Likewise.
9661 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9662 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9663 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9664 [XPG3 || XPG4] (pthread_t): Likewise.
9666 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9668 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9670 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9671 Change function return type to int.
9673 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9674 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9675 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9676 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9677 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9678 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9679 [!POSIX] (posix_madvise): Likewise.
9680 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9682 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9683 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9685 (posix_mem_offset): Likewise.
9686 (posix_typed_mem_get_info): Likewise.
9687 (posix_typed_mem_open): Likewise.
9689 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9690 Change condition to [XOPEN2K8].
9692 * conform/conformtest.pl: Preprocess allow-header data with -x c
9693 instead of from stdin.
9694 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9695 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9696 [C99-based standards] (cerfc): Likewise.
9697 [C99-based standards] (cexp2): Likewise.
9698 [C99-based standards] (cexpm1): Likewise.
9699 [C99-based standards] (clog10): Likewise.
9700 [C99-based standards] (clog1p): Likewise.
9701 [C99-based standards] (clog2): Likewise.
9702 [C99-based standards] (clgamma): Likewise.
9703 [C99-based standards] (ctgamma): Likewise.
9704 [C99-based standards] (cerff): Likewise.
9705 [C99-based standards] (cerfcf): Likewise.
9706 [C99-based standards] (cexp2f): Likewise.
9707 [C99-based standards] (cexpm1f): Likewise.
9708 [C99-based standards] (clog10f): Likewise.
9709 [C99-based standards] (clog1pf): Likewise.
9710 [C99-based standards] (clog2f): Likewise.
9711 [C99-based standards] (clgammaf): Likewise.
9712 [C99-based standards] (ctgammaf): Likewise.
9713 [C99-based standards] (cerfl): Likewise.
9714 [C99-based standards] (cerfcl): Likewise.
9715 [C99-based standards] (cexp2l): Likewise.
9716 [C99-based standards] (cexpm1l): Likewise.
9717 [C99-based standards] (clog10l): Likewise.
9718 [C99-based standards] (clog1pl): Likewise.
9719 [C99-based standards] (clog2l): Likewise.
9720 [C99-based standards] (clgammal): Likewise.
9721 [C99-based standards] (ctgammal): Likewise.
9722 * conform/data/inttypes.h-data [C99-based standards]: Include
9723 stdint.h-data. Remove all expectations for stdint.h contents.
9724 [C99-based standards] (PRI*): Do not allow.
9725 [C99-based standards] (SCN*): Likewise.
9726 [C99-based standards] (*_t): Likewise.
9727 [C99-based-standards] (PRId8): Expect macro.
9728 [C99-based-standards] (PRIi8): Likewise.
9729 [C99-based-standards] (PRIo8): Likewise.
9730 [C99-based-standards] (PRIu8): Likewise.
9731 [C99-based-standards] (PRIx8): Likewise.
9732 [C99-based-standards] (PRIX8): Likewise.
9733 [C99-based-standards] (SCNd8): Likewise.
9734 [C99-based-standards] (SCNi8): Likewise.
9735 [C99-based-standards] (SCNo8): Likewise.
9736 [C99-based-standards] (SCNu8): Likewise.
9737 [C99-based-standards] (SCNx8): Likewise.
9738 [C99-based-standards] (PRIdLEAST8): Likewise.
9739 [C99-based-standards] (PRIiLEAST8): Likewise.
9740 [C99-based-standards] (PRIoLEAST8): Likewise.
9741 [C99-based-standards] (PRIuLEAST8): Likewise.
9742 [C99-based-standards] (PRIxLEAST8): Likewise.
9743 [C99-based-standards] (PRIXLEAST8): Likewise.
9744 [C99-based-standards] (SCNdLEAST8): Likewise.
9745 [C99-based-standards] (SCNiLEAST8): Likewise.
9746 [C99-based-standards] (SCNoLEAST8): Likewise.
9747 [C99-based-standards] (SCNuLEAST8): Likewise.
9748 [C99-based-standards] (SCNxLEAST8): Likewise.
9749 [C99-based-standards] (PRIdFAST8): Likewise.
9750 [C99-based-standards] (PRIiFAST8): Likewise.
9751 [C99-based-standards] (PRIoFAST8): Likewise.
9752 [C99-based-standards] (PRIuFAST8): Likewise.
9753 [C99-based-standards] (PRIxFAST8): Likewise.
9754 [C99-based-standards] (PRIXFAST8): Likewise.
9755 [C99-based-standards] (SCNdFAST8): Likewise.
9756 [C99-based-standards] (SCNiFAST8): Likewise.
9757 [C99-based-standards] (SCNoFAST8): Likewise.
9758 [C99-based-standards] (SCNuFAST8): Likewise.
9759 [C99-based-standards] (SCNxFAST8): Likewise.
9760 [C99-based-standards] (PRId16): Likewise.
9761 [C99-based-standards] (PRIi16): Likewise.
9762 [C99-based-standards] (PRIo16): Likewise.
9763 [C99-based-standards] (PRIu16): Likewise.
9764 [C99-based-standards] (PRIx16): Likewise.
9765 [C99-based-standards] (PRIX16): Likewise.
9766 [C99-based-standards] (SCNd16): Likewise.
9767 [C99-based-standards] (SCNi16): Likewise.
9768 [C99-based-standards] (SCNo16): Likewise.
9769 [C99-based-standards] (SCNu16): Likewise.
9770 [C99-based-standards] (SCNx16): Likewise.
9771 [C99-based-standards] (PRIdLEAST16): Likewise.
9772 [C99-based-standards] (PRIiLEAST16): Likewise.
9773 [C99-based-standards] (PRIoLEAST16): Likewise.
9774 [C99-based-standards] (PRIuLEAST16): Likewise.
9775 [C99-based-standards] (PRIxLEAST16): Likewise.
9776 [C99-based-standards] (PRIXLEAST16): Likewise.
9777 [C99-based-standards] (SCNdLEAST16): Likewise.
9778 [C99-based-standards] (SCNiLEAST16): Likewise.
9779 [C99-based-standards] (SCNoLEAST16): Likewise.
9780 [C99-based-standards] (SCNuLEAST16): Likewise.
9781 [C99-based-standards] (SCNxLEAST16): Likewise.
9782 [C99-based-standards] (PRIdFAST16): Likewise.
9783 [C99-based-standards] (PRIiFAST16): Likewise.
9784 [C99-based-standards] (PRIoFAST16): Likewise.
9785 [C99-based-standards] (PRIuFAST16): Likewise.
9786 [C99-based-standards] (PRIxFAST16): Likewise.
9787 [C99-based-standards] (PRIXFAST16): Likewise.
9788 [C99-based-standards] (SCNdFAST16): Likewise.
9789 [C99-based-standards] (SCNiFAST16): Likewise.
9790 [C99-based-standards] (SCNoFAST16): Likewise.
9791 [C99-based-standards] (SCNuFAST16): Likewise.
9792 [C99-based-standards] (SCNxFAST16): Likewise.
9793 [C99-based-standards] (PRId32): Likewise.
9794 [C99-based-standards] (PRIi32): Likewise.
9795 [C99-based-standards] (PRIo32): Likewise.
9796 [C99-based-standards] (PRIu32): Likewise.
9797 [C99-based-standards] (PRIx32): Likewise.
9798 [C99-based-standards] (PRIX32): Likewise.
9799 [C99-based-standards] (SCNd32): Likewise.
9800 [C99-based-standards] (SCNi32): Likewise.
9801 [C99-based-standards] (SCNo32): Likewise.
9802 [C99-based-standards] (SCNu32): Likewise.
9803 [C99-based-standards] (SCNx32): Likewise.
9804 [C99-based-standards] (PRIdLEAST32): Likewise.
9805 [C99-based-standards] (PRIiLEAST32): Likewise.
9806 [C99-based-standards] (PRIoLEAST32): Likewise.
9807 [C99-based-standards] (PRIuLEAST32): Likewise.
9808 [C99-based-standards] (PRIxLEAST32): Likewise.
9809 [C99-based-standards] (PRIXLEAST32): Likewise.
9810 [C99-based-standards] (SCNdLEAST32): Likewise.
9811 [C99-based-standards] (SCNiLEAST32): Likewise.
9812 [C99-based-standards] (SCNoLEAST32): Likewise.
9813 [C99-based-standards] (SCNuLEAST32): Likewise.
9814 [C99-based-standards] (SCNxLEAST32): Likewise.
9815 [C99-based-standards] (PRIdFAST32): Likewise.
9816 [C99-based-standards] (PRIiFAST32): Likewise.
9817 [C99-based-standards] (PRIoFAST32): Likewise.
9818 [C99-based-standards] (PRIuFAST32): Likewise.
9819 [C99-based-standards] (PRIxFAST32): Likewise.
9820 [C99-based-standards] (PRIXFAST32): Likewise.
9821 [C99-based-standards] (SCNdFAST32): Likewise.
9822 [C99-based-standards] (SCNiFAST32): Likewise.
9823 [C99-based-standards] (SCNoFAST32): Likewise.
9824 [C99-based-standards] (SCNuFAST32): Likewise.
9825 [C99-based-standards] (SCNxFAST32): Likewise.
9826 [C99-based-standards] (PRId64): Likewise.
9827 [C99-based-standards] (PRIi64): Likewise.
9828 [C99-based-standards] (PRIo64): Likewise.
9829 [C99-based-standards] (PRIu64): Likewise.
9830 [C99-based-standards] (PRIx64): Likewise.
9831 [C99-based-standards] (PRIX64): Likewise.
9832 [C99-based-standards] (SCNd64): Likewise.
9833 [C99-based-standards] (SCNi64): Likewise.
9834 [C99-based-standards] (SCNo64): Likewise.
9835 [C99-based-standards] (SCNu64): Likewise.
9836 [C99-based-standards] (SCNx64): Likewise.
9837 [C99-based-standards] (PRIdLEAST64): Likewise.
9838 [C99-based-standards] (PRIiLEAST64): Likewise.
9839 [C99-based-standards] (PRIoLEAST64): Likewise.
9840 [C99-based-standards] (PRIuLEAST64): Likewise.
9841 [C99-based-standards] (PRIxLEAST64): Likewise.
9842 [C99-based-standards] (PRIXLEAST64): Likewise.
9843 [C99-based-standards] (SCNdLEAST64): Likewise.
9844 [C99-based-standards] (SCNiLEAST64): Likewise.
9845 [C99-based-standards] (SCNoLEAST64): Likewise.
9846 [C99-based-standards] (SCNuLEAST64): Likewise.
9847 [C99-based-standards] (SCNxLEAST64): Likewise.
9848 [C99-based-standards] (PRIdFAST64): Likewise.
9849 [C99-based-standards] (PRIiFAST64): Likewise.
9850 [C99-based-standards] (PRIoFAST64): Likewise.
9851 [C99-based-standards] (PRIuFAST64): Likewise.
9852 [C99-based-standards] (PRIxFAST64): Likewise.
9853 [C99-based-standards] (PRIXFAST64): Likewise.
9854 [C99-based-standards] (SCNdFAST64): Likewise.
9855 [C99-based-standards] (SCNiFAST64): Likewise.
9856 [C99-based-standards] (SCNoFAST64): Likewise.
9857 [C99-based-standards] (SCNuFAST64): Likewise.
9858 [C99-based-standards] (SCNxFAST64): Likewise.
9859 [C99-based-standards] (PRIdMAX): Likewise.
9860 [C99-based-standards] (PRIiMAX): Likewise.
9861 [C99-based-standards] (PRIoMAX): Likewise.
9862 [C99-based-standards] (PRIuMAX): Likewise.
9863 [C99-based-standards] (PRIxMAX): Likewise.
9864 [C99-based-standards] (PRIXMAX): Likewise.
9865 [C99-based-standards] (SCNdMAX): Likewise.
9866 [C99-based-standards] (SCNiMAX): Likewise.
9867 [C99-based-standards] (SCNoMAX): Likewise.
9868 [C99-based-standards] (SCNuMAX): Likewise.
9869 [C99-based-standards] (SCNxMAX): Likewise.
9870 [C99-based-standards] (PRIdPTR): Likewise.
9871 [C99-based-standards] (PRIiPTR): Likewise.
9872 [C99-based-standards] (PRIoPTR): Likewise.
9873 [C99-based-standards] (PRIuPTR): Likewise.
9874 [C99-based-standards] (PRIxPTR): Likewise.
9875 [C99-based-standards] (PRIXPTR): Likewise.
9876 [C99-based-standards] (SCNdPTR): Likewise.
9877 [C99-based-standards] (SCNiPTR): Likewise.
9878 [C99-based-standards] (SCNoPTR): Likewise.
9879 [C99-based-standards] (SCNuPTR): Likewise.
9880 [C99-based-standards] (SCNxPTR): Likewise.
9881 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9883 * conform/data/stdint.h-data: Update comments to clarify
9885 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9887 [C99-based standards] (INT8_MAX): Likewise.
9888 [C99-based standards] (INT16_MIN): Likewise.
9889 [C99-based standards] (INT16_MAX): Likewise.
9890 [C99-based standards] (INT32_MIN): Likewise.
9891 [C99-based standards] (INT32_MAX): Likewise.
9892 [C99-based standards] (INT64_MIN): Likewise.
9893 [C99-based standards] (INT64_MAX): Likewise.
9894 [C99-based standards] (UINT8_MAX): Likewise.
9895 [C99-based standards] (UINT16_MAX): Likewise.
9896 [C99-based standards] (UINT32_MAX): Likewise.
9897 [C99-based standards] (UINT64_MAX): Likewise.
9898 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9899 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9900 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9901 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9902 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9903 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9904 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9905 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9906 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9907 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9908 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9909 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9910 [C99-based standards] (INT_FAST8_MIN): Likewise.
9911 [C99-based standards] (INT_FAST8_MAX): Likewise.
9912 [C99-based standards] (INT_FAST16_MIN): Likewise.
9913 [C99-based standards] (INT_FAST16_MAX): Likewise.
9914 [C99-based standards] (INT_FAST32_MIN): Likewise.
9915 [C99-based standards] (INT_FAST32_MAX): Likewise.
9916 [C99-based standards] (INT_FAST64_MIN): Likewise.
9917 [C99-based standards] (INT_FAST64_MAX): Likewise.
9918 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9919 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9920 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9921 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9922 [C99-based standards] (INTPTR_MIN): Likewise.
9923 [C99-based standards] (INTPTR_MAX): Likewise.
9924 [C99-based standards] (UINTPTR_MAX): Likewise.
9925 [C99-based standards] (INTMAX_MIN): Likewise.
9926 [C99-based standards] (INTMAX_MAX): Likewise.
9927 [C99-based standards] (UINTMAX_MAX): Likewise.
9928 [C99-based standards] (PTRDIFF_MIN): Likewise.
9929 [C99-based standards] (PTRDIFF_MAX): Likewise.
9930 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9931 [C99-based standards] (SIZE_MAX): Likewise.
9932 [C99-based standards] (WCHAR_MAX): Likewise.
9933 [C99-based standards] (WINT_MAX): Likewise.
9934 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9935 constraint on value.
9936 [C99-based standards] (WCHAR_MIN): Likewise.
9937 [C99-based standards] (WINT_MIN): Likewise.
9938 [C99-based standards] (*_t): Allow.
9939 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9940 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9941 Include math.h-data and complex.h-data. Remove all expectations
9942 of math.h and complex.h contents.
9943 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9945 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9946 (struct tm): Expect tag.
9947 [C99-based-standards] (wcstof): Expect function.
9948 [C99-based-standards] (wcstold): Likewise.
9949 [C99-based-standards] (wcstoll): Likewise.
9950 [C99-based-standards] (wcstoull): Likewise.
9951 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9952 macro-int-constant. Specify type.
9953 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9954 constraint on value.
9955 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9957 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9959 [ISO C standards]: Do not allow headers.
9960 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9961 wcs[abcdefghijklmnopqrstuvwxyz]*.
9962 [ISO C standards] (*_t): Do not allow.
9963 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9965 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9966 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9968 [ISO C standards]: Do not allow headers.
9969 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9970 is[abcdefghijklmnopqrstuvwxyz]*.
9971 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9972 to[abcdefghijklmnopqrstuvwxyz]*.
9973 [ISO C standards] (*_t): Do not allow.
9974 * conform/data/stdalign.h-data: New file.
9975 * conform/data/stdbool.h-data: Likewise.
9976 * conform/data/stdnoreturn.h-data: Likewise.
9978 2012-11-07 Roland McGrath <roland@hack.frob.com>
9981 * manual/filesys.texi (Directory Entries): Typo fix.
9982 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9984 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9986 * elf/elf.h (EM_AARCH64): New macro.
9987 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9988 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9989 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9990 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9991 (R_AARCH64_TLSDESC): Likewise.
9992 (NT_ARM_TLS): Likewise.
9993 (NT_ARM_HW_BREAK): Likewise.
9994 (NT_ARM_HW_WATCH): Likewise.
9996 2012-11-07 Joseph Myers <joseph@codesourcery.com>
9999 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10000 (__ieee754_powl): Saturate nonzero exponents with absolute value
10001 below 0x1p-79 to +/- 0x1p-79.
10002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10003 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10004 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10005 nonzero exponents with absolute value below 0x1p-32 to +/-
10007 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10008 (__ieee754_powl): Saturate nonzero exponents with absolute value
10009 below 0x1p-79 to +/- 0x1p-79.
10010 * math/libm-test.inc (pow_test): Add more tests.
10012 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10014 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10015 _dl_s390_cap_flags with kernel. Increase string length.
10016 (_dl_s390_platforms): Add z196 and zEC12.
10018 2012-11-07 Joseph Myers <joseph@codesourcery.com>
10020 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10021 Change XOPEN21K to XOPEN2K.
10023 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10025 * string/memmove.c: Use memcpy when possible.
10027 2012-11-06 Andreas Jaeger <aj@suse.de>
10029 * po/eo.po: Update from translation team.
10031 2012-11-06 Joseph Myers <joseph@codesourcery.com>
10034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10035 exponent and small x and y exponents, scale x or y up. Increase
10036 by 2 the exponent used in scaling up.
10037 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10038 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10039 * math/libm-test.inc (fma_test): Add more tests.
10040 (fma_test_towardzero): Likewise.
10041 (fma_test_downward): Likewise.
10042 (fma_test_upward): Likewise.
10044 2012-11-05 Joseph Myers <joseph@codesourcery.com>
10047 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10051 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10052 namespace for names of struct fields.
10053 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10055 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10056 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10058 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10061 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10063 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10065 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10069 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10072 2012-11-04 Joseph Myers <joseph@codesourcery.com>
10075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10076 definitely overflow as x * y not x * y + z.
10077 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10078 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10079 * math/libm-test.inc (fma_test): Add more tests.
10080 (fma_test_towardzero): Likewise.
10081 (fma_test_downward): Likewise.
10082 (fma_test_upward): Likewise.
10084 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10088 * include/stub-tag.h: Remove file.
10089 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10091 * manual/maint.texi (Porting): Don't reference it.
10092 * Makerules ($(objpfx)stubs): Likewise.
10093 * dirent/closedir.c: Don't include <stub-tag.h>.
10094 * dirent/dirfd.c: Likewise.
10095 * dirent/fdopendir.c: Likewise.
10096 * dirent/getdents.c: Likewise.
10097 * dirent/getdents64.c: Likewise.
10098 * dirent/opendir.c: Likewise.
10099 * dirent/readdir.c: Likewise.
10100 * dirent/readdir64.c: Likewise.
10101 * dirent/readdir64_r.c: Likewise.
10102 * dirent/readdir_r.c: Likewise.
10103 * dirent/rewinddir.c: Likewise.
10104 * dirent/seekdir.c: Likewise.
10105 * dirent/telldir.c: Likewise.
10106 * gmon/profil.c: Likewise.
10107 * grp/setgroups.c: Likewise.
10108 * inet/if_index.c: Likewise.
10109 * io/access.c: Likewise.
10110 * io/chdir.c: Likewise.
10111 * io/chmod.c: Likewise.
10112 * io/chown.c: Likewise.
10113 * io/close.c: Likewise.
10114 * io/dup.c: Likewise.
10115 * io/dup2.c: Likewise.
10116 * io/dup3.c: Likewise.
10117 * io/euidaccess.c: Likewise.
10118 * io/faccessat.c: Likewise.
10119 * io/fchdir.c: Likewise.
10120 * io/fchmod.c: Likewise.
10121 * io/fchmodat.c: Likewise.
10122 * io/fchown.c: Likewise.
10123 * io/fchownat.c: Likewise.
10124 * io/fcntl.c: Likewise.
10125 * io/flock.c: Likewise.
10126 * io/fstatfs.c: Likewise.
10127 * io/fstatfs64.c: Likewise.
10128 * io/fstatvfs.c: Likewise.
10129 * io/fstatvfs64.c: Likewise.
10130 * io/futimens.c: Likewise.
10131 * io/fxstat.c: Likewise.
10132 * io/fxstat64.c: Likewise.
10133 * io/fxstatat.c: Likewise.
10134 * io/fxstatat64.c: Likewise.
10135 * io/getcwd.c: Likewise.
10136 * io/isatty.c: Likewise.
10137 * io/lchmod.c: Likewise.
10138 * io/lchown.c: Likewise.
10139 * io/link.c: Likewise.
10140 * io/linkat.c: Likewise.
10141 * io/lseek.c: Likewise.
10142 * io/lseek64.c: Likewise.
10143 * io/lxstat64.c: Likewise.
10144 * io/mkdir.c: Likewise.
10145 * io/mkdirat.c: Likewise.
10146 * io/mkfifo.c: Likewise.
10147 * io/mkfifoat.c: Likewise.
10148 * io/open.c: Likewise.
10149 * io/open64.c: Likewise.
10150 * io/openat.c: Likewise.
10151 * io/openat64.c: Likewise.
10152 * io/pipe.c: Likewise.
10153 * io/pipe2.c: Likewise.
10154 * io/poll.c: Likewise.
10155 * io/posix_fadvise.c: Likewise.
10156 * io/posix_fadvise64.c: Likewise.
10157 * io/posix_fallocate.c: Likewise.
10158 * io/posix_fallocate64.c: Likewise.
10159 * io/read.c: Likewise.
10160 * io/readlink.c: Likewise.
10161 * io/readlinkat.c: Likewise.
10162 * io/rmdir.c: Likewise.
10163 * io/sendfile.c: Likewise.
10164 * io/sendfile64.c: Likewise.
10165 * io/statfs.c: Likewise.
10166 * io/statfs64.c: Likewise.
10167 * io/statvfs.c: Likewise.
10168 * io/statvfs64.c: Likewise.
10169 * io/symlink.c: Likewise.
10170 * io/symlinkat.c: Likewise.
10171 * io/ttyname.c: Likewise.
10172 * io/ttyname_r.c: Likewise.
10173 * io/umask.c: Likewise.
10174 * io/unlink.c: Likewise.
10175 * io/unlinkat.c: Likewise.
10176 * io/utime.c: Likewise.
10177 * io/utimensat.c: Likewise.
10178 * io/write.c: Likewise.
10179 * io/xmknod.c: Likewise.
10180 * io/xmknodat.c: Likewise.
10181 * io/xstat.c: Likewise.
10182 * io/xstat64.c: Likewise.
10183 * login/getpt.c: Likewise.
10184 * login/grantpt.c: Likewise.
10185 * login/unlockpt.c: Likewise.
10186 * math/e_acoshl.c: Likewise.
10187 * math/e_acosl.c: Likewise.
10188 * math/e_asinl.c: Likewise.
10189 * math/e_atan2l.c: Likewise.
10190 * math/e_atanhl.c: Likewise.
10191 * math/e_coshl.c: Likewise.
10192 * math/e_expl.c: Likewise.
10193 * math/e_fmodl.c: Likewise.
10194 * math/e_gammal_r.c: Likewise.
10195 * math/e_hypotl.c: Likewise.
10196 * math/e_j0l.c: Likewise.
10197 * math/e_j1l.c: Likewise.
10198 * math/e_jnl.c: Likewise.
10199 * math/e_lgammal_r.c: Likewise.
10200 * math/e_log10l.c: Likewise.
10201 * math/e_log2l.c: Likewise.
10202 * math/e_logl.c: Likewise.
10203 * math/e_powl.c: Likewise.
10204 * math/e_rem_pio2l.c: Likewise.
10205 * math/e_sinhl.c: Likewise.
10206 * math/e_sqrtl.c: Likewise.
10207 * math/fclrexcpt.c: Likewise.
10208 * math/fedisblxcpt.c: Likewise.
10209 * math/feenablxcpt.c: Likewise.
10210 * math/fegetenv.c: Likewise.
10211 * math/fegetexcept.c: Likewise.
10212 * math/fegetround.c: Likewise.
10213 * math/feholdexcpt.c: Likewise.
10214 * math/fesetenv.c: Likewise.
10215 * math/fesetround.c: Likewise.
10216 * math/feupdateenv.c: Likewise.
10217 * math/fgetexcptflg.c: Likewise.
10218 * math/fraiseexcpt.c: Likewise.
10219 * math/fsetexcptflg.c: Likewise.
10220 * math/ftestexcept.c: Likewise.
10221 * math/k_cosl.c: Likewise.
10222 * math/k_rem_pio2l.c: Likewise.
10223 * math/k_sinl.c: Likewise.
10224 * math/k_tanl.c: Likewise.
10225 * math/s_asinhl.c: Likewise.
10226 * math/s_atanl.c: Likewise.
10227 * math/s_cbrtl.c: Likewise.
10228 * math/s_erfl.c: Likewise.
10229 * math/s_expm1l.c: Likewise.
10230 * math/s_log1pl.c: Likewise.
10231 * math/s_tanhl.c: Likewise.
10232 * misc/acct.c: Likewise.
10233 * misc/brk.c: Likewise.
10234 * misc/chflags.c: Likewise.
10235 * misc/chroot.c: Likewise.
10236 * misc/fchflags.c: Likewise.
10237 * misc/fgetxattr.c: Likewise.
10238 * misc/flistxattr.c: Likewise.
10239 * misc/fremovexattr.c: Likewise.
10240 * misc/fsetxattr.c: Likewise.
10241 * misc/fsync.c: Likewise.
10242 * misc/ftruncate.c: Likewise.
10243 * misc/futimes.c: Likewise.
10244 * misc/futimesat.c: Likewise.
10245 * misc/getdomain.c: Likewise.
10246 * misc/getdtsz.c: Likewise.
10247 * misc/gethostid.c: Likewise.
10248 * misc/gethostname.c: Likewise.
10249 * misc/getloadavg.c: Likewise.
10250 * misc/getpagesize.c: Likewise.
10251 * misc/getsysstats.c: Likewise.
10252 * misc/getxattr.c: Likewise.
10253 * misc/gtty.c: Likewise.
10254 * misc/ioctl.c: Likewise.
10255 * misc/lgetxattr.c: Likewise.
10256 * misc/listxattr.c: Likewise.
10257 * misc/llistxattr.c: Likewise.
10258 * misc/lremovexattr.c: Likewise.
10259 * misc/lsetxattr.c: Likewise.
10260 * misc/lutimes.c: Likewise.
10261 * misc/madvise.c: Likewise.
10262 * misc/mincore.c: Likewise.
10263 * misc/mlock.c: Likewise.
10264 * misc/mlockall.c: Likewise.
10265 * misc/mmap.c: Likewise.
10266 * misc/mprotect.c: Likewise.
10267 * misc/msync.c: Likewise.
10268 * misc/munlock.c: Likewise.
10269 * misc/munlockall.c: Likewise.
10270 * misc/munmap.c: Likewise.
10271 * misc/preadv.c: Likewise.
10272 * misc/preadv64.c: Likewise.
10273 * misc/ptrace.c: Likewise.
10274 * misc/pwritev.c: Likewise.
10275 * misc/pwritev64.c: Likewise.
10276 * misc/readv.c: Likewise.
10277 * misc/reboot.c: Likewise.
10278 * misc/remap_file_pages.c: Likewise.
10279 * misc/removexattr.c: Likewise.
10280 * misc/revoke.c: Likewise.
10281 * misc/select.c: Likewise.
10282 * misc/setdomain.c: Likewise.
10283 * misc/setegid.c: Likewise.
10284 * misc/seteuid.c: Likewise.
10285 * misc/sethostid.c: Likewise.
10286 * misc/sethostname.c: Likewise.
10287 * misc/setregid.c: Likewise.
10288 * misc/setreuid.c: Likewise.
10289 * misc/setxattr.c: Likewise.
10290 * misc/sstk.c: Likewise.
10291 * misc/stty.c: Likewise.
10292 * misc/swapoff.c: Likewise.
10293 * misc/swapon.c: Likewise.
10294 * misc/sync.c: Likewise.
10295 * misc/syncfs.c: Likewise.
10296 * misc/syscall.c: Likewise.
10297 * misc/truncate.c: Likewise.
10298 * misc/ualarm.c: Likewise.
10299 * misc/usleep.c: Likewise.
10300 * misc/ustat.c: Likewise.
10301 * misc/utimes.c: Likewise.
10302 * misc/vhangup.c: Likewise.
10303 * misc/writev.c: Likewise.
10304 * posix/_exit.c: Likewise.
10305 * posix/alarm.c: Likewise.
10306 * posix/execve.c: Likewise.
10307 * posix/fexecve.c: Likewise.
10308 * posix/fork.c: Likewise.
10309 * posix/fpathconf.c: Likewise.
10310 * posix/getaddrinfo.c: Likewise.
10311 * posix/getegid.c: Likewise.
10312 * posix/geteuid.c: Likewise.
10313 * posix/getgid.c: Likewise.
10314 * posix/getgroups.c: Likewise.
10315 * posix/getlogin.c: Likewise.
10316 * posix/getlogin_r.c: Likewise.
10317 * posix/getpgid.c: Likewise.
10318 * posix/getpid.c: Likewise.
10319 * posix/getppid.c: Likewise.
10320 * posix/getresgid.c: Likewise.
10321 * posix/getresuid.c: Likewise.
10322 * posix/getsid.c: Likewise.
10323 * posix/getuid.c: Likewise.
10324 * posix/glob64.c: Likewise.
10325 * posix/nanosleep.c: Likewise.
10326 * posix/pathconf.c: Likewise.
10327 * posix/pause.c: Likewise.
10328 * posix/posix_madvise.c: Likewise.
10329 * posix/pread.c: Likewise.
10330 * posix/pread64.c: Likewise.
10331 * posix/pwrite.c: Likewise.
10332 * posix/pwrite64.c: Likewise.
10333 * posix/sched_getaffinity.c: Likewise.
10334 * posix/sched_getp.c: Likewise.
10335 * posix/sched_gets.c: Likewise.
10336 * posix/sched_primax.c: Likewise.
10337 * posix/sched_primin.c: Likewise.
10338 * posix/sched_rr_gi.c: Likewise.
10339 * posix/sched_setaffinity.c: Likewise.
10340 * posix/sched_setp.c: Likewise.
10341 * posix/sched_sets.c: Likewise.
10342 * posix/sched_yield.c: Likewise.
10343 * posix/setgid.c: Likewise.
10344 * posix/setlogin.c: Likewise.
10345 * posix/setpgid.c: Likewise.
10346 * posix/setresgid.c: Likewise.
10347 * posix/setresuid.c: Likewise.
10348 * posix/setsid.c: Likewise.
10349 * posix/setuid.c: Likewise.
10350 * posix/sleep.c: Likewise.
10351 * posix/spawni.c: Likewise.
10352 * posix/sysconf.c: Likewise.
10353 * posix/times.c: Likewise.
10354 * posix/wait.c: Likewise.
10355 * posix/wait3.c: Likewise.
10356 * posix/wait4.c: Likewise.
10357 * posix/waitpid.c: Likewise.
10358 * resolv/gai_sigqueue.c: Likewise.
10359 * resource/getpriority.c: Likewise.
10360 * resource/getrlimit.c: Likewise.
10361 * resource/getrusage.c: Likewise.
10362 * resource/nice.c: Likewise.
10363 * resource/setpriority.c: Likewise.
10364 * resource/setrlimit.c: Likewise.
10365 * resource/ulimit.c: Likewise.
10366 * rt/aio_cancel.c: Likewise.
10367 * rt/aio_fsync.c: Likewise.
10368 * rt/aio_read.c: Likewise.
10369 * rt/aio_sigqueue.c: Likewise.
10370 * rt/aio_suspend.c: Likewise.
10371 * rt/aio_write.c: Likewise.
10372 * rt/clock_getres.c: Likewise.
10373 * rt/clock_gettime.c: Likewise.
10374 * rt/clock_nanosleep.c: Likewise.
10375 * rt/clock_settime.c: Likewise.
10376 * rt/lio_listio.c: Likewise.
10377 * rt/mq_close.c: Likewise.
10378 * rt/mq_getattr.c: Likewise.
10379 * rt/mq_notify.c: Likewise.
10380 * rt/mq_open.c: Likewise.
10381 * rt/mq_receive.c: Likewise.
10382 * rt/mq_send.c: Likewise.
10383 * rt/mq_setattr.c: Likewise.
10384 * rt/mq_timedreceive.c: Likewise.
10385 * rt/mq_timedsend.c: Likewise.
10386 * rt/mq_unlink.c: Likewise.
10387 * rt/shm_open.c: Likewise.
10388 * rt/shm_unlink.c: Likewise.
10389 * rt/timer_create.c: Likewise.
10390 * rt/timer_delete.c: Likewise.
10391 * rt/timer_getoverr.c: Likewise.
10392 * rt/timer_gettime.c: Likewise.
10393 * rt/timer_settime.c: Likewise.
10394 * setjmp/__longjmp.c: Likewise.
10395 * setjmp/setjmp.c: Likewise.
10396 * signal/kill.c: Likewise.
10397 * signal/killpg.c: Likewise.
10398 * signal/raise.c: Likewise.
10399 * signal/sigaction.c: Likewise.
10400 * signal/sigaltstack.c: Likewise.
10401 * signal/sigblock.c: Likewise.
10402 * signal/sigignore.c: Likewise.
10403 * signal/sigintr.c: Likewise.
10404 * signal/signal.c: Likewise.
10405 * signal/sigpause.c: Likewise.
10406 * signal/sigpending.c: Likewise.
10407 * signal/sigqueue.c: Likewise.
10408 * signal/sigreturn.c: Likewise.
10409 * signal/sigset.c: Likewise.
10410 * signal/sigsetmask.c: Likewise.
10411 * signal/sigstack.c: Likewise.
10412 * signal/sigsuspend.c: Likewise.
10413 * signal/sigtimedwait.c: Likewise.
10414 * signal/sigvec.c: Likewise.
10415 * signal/sigwait.c: Likewise.
10416 * signal/sigwaitinfo.c: Likewise.
10417 * signal/sysv_signal.c: Likewise.
10418 * socket/accept.c: Likewise.
10419 * socket/accept4.c: Likewise.
10420 * socket/bind.c: Likewise.
10421 * socket/connect.c: Likewise.
10422 * socket/getpeername.c: Likewise.
10423 * socket/getsockname.c: Likewise.
10424 * socket/getsockopt.c: Likewise.
10425 * socket/isfdtype.c: Likewise.
10426 * socket/listen.c: Likewise.
10427 * socket/recv.c: Likewise.
10428 * socket/recvfrom.c: Likewise.
10429 * socket/recvmsg.c: Likewise.
10430 * socket/send.c: Likewise.
10431 * socket/sendmsg.c: Likewise.
10432 * socket/sendto.c: Likewise.
10433 * socket/setsockopt.c: Likewise.
10434 * socket/shutdown.c: Likewise.
10435 * socket/sockatmark.c: Likewise.
10436 * socket/socket.c: Likewise.
10437 * socket/socketpair.c: Likewise.
10438 * stdio-common/ctermid.c: Likewise.
10439 * stdio-common/cuserid.c: Likewise.
10440 * stdio-common/remove.c: Likewise.
10441 * stdio-common/rename.c: Likewise.
10442 * stdio-common/renameat.c: Likewise.
10443 * stdio-common/tempname.c: Likewise.
10444 * stdlib/getcontext.c: Likewise.
10445 * stdlib/makecontext.c: Likewise.
10446 * stdlib/setcontext.c: Likewise.
10447 * stdlib/swapcontext.c: Likewise.
10448 * stdlib/system.c: Likewise.
10449 * streams/fattach.c: Likewise.
10450 * streams/fdetach.c: Likewise.
10451 * streams/getmsg.c: Likewise.
10452 * streams/getpmsg.c: Likewise.
10453 * streams/putmsg.c: Likewise.
10454 * streams/putpmsg.c: Likewise.
10455 * sysdeps/unix/bsd/getpt.c: Likewise.
10456 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10457 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10458 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10461 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10462 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10463 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10464 * sysvipc/msgctl.c: Likewise.
10465 * sysvipc/msgget.c: Likewise.
10466 * sysvipc/msgrcv.c: Likewise.
10467 * sysvipc/msgsnd.c: Likewise.
10468 * sysvipc/semctl.c: Likewise.
10469 * sysvipc/semget.c: Likewise.
10470 * sysvipc/semop.c: Likewise.
10471 * sysvipc/semtimedop.c: Likewise.
10472 * sysvipc/shmat.c: Likewise.
10473 * sysvipc/shmctl.c: Likewise.
10474 * sysvipc/shmdt.c: Likewise.
10475 * sysvipc/shmget.c: Likewise.
10476 * termios/tcdrain.c: Likewise.
10477 * termios/tcflow.c: Likewise.
10478 * termios/tcflush.c: Likewise.
10479 * termios/tcgetattr.c: Likewise.
10480 * termios/tcgetpgrp.c: Likewise.
10481 * termios/tcsendbrk.c: Likewise.
10482 * termios/tcsetattr.c: Likewise.
10483 * termios/tcsetpgrp.c: Likewise.
10484 * time/adjtime.c: Likewise.
10485 * time/clock.c: Likewise.
10486 * time/getitimer.c: Likewise.
10487 * time/gettimeofday.c: Likewise.
10488 * time/setitimer.c: Likewise.
10489 * time/settimeofday.c: Likewise.
10490 * time/stime.c: Likewise.
10491 * time/time.c: Likewise.
10493 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
10495 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10498 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10500 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10502 2012-11-03 Joseph Myers <joseph@codesourcery.com>
10505 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10506 FE_TONEAREST before applying Dekker multiplication and Knuth
10507 addition. Clear inexact exceptions and check for exact zero
10508 results afterwards.
10509 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10510 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10511 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10512 * math/libm-test.inc (fma_test): Add more tests.
10513 (fma_test_towardzero): Likewise.
10514 (fma_test_downward): Likewise.
10515 (fma_test_upward): Likewise.
10516 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10518 (libc_fesetround): New macro.
10519 (libc_fesetroundf): Likewise.
10520 (libc_fesetroundl): Likewise.
10521 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10523 (libc_fesetround_387): Likewise.
10524 (libc_fesetroundf): New macro.
10525 (libc_fesetround): Likewise.
10526 (libc_fesetroundl): Likewise.
10527 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10529 (libc_fesetroundf): New macro.
10530 (libc_fesetround): Likewise.
10531 (libc_fesetroundl): Likewise.
10532 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10533 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10534 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10536 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10537 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10539 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10540 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10542 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10546 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10547 integer constant usable in #if and use that to give value to enum
10549 (FE_DIVBYZERO): Likewise.
10550 (FE_UNDERFLOW): Likewise.
10551 (FE_OVERFLOW): Likewise.
10552 (FE_INVALID): Likewise.
10553 (FE_INVALID_SNAN): Likewise.
10554 (FE_INVALID_ISI): Likewise.
10555 (FE_INVALID_IDI): Likewise.
10556 (FE_INVALID_ZDZ): Likewise.
10557 (FE_INVALID_IMZ): Likewise.
10558 (FE_INVALID_COMPARE): Likewise.
10559 (FE_INVALID_SOFTWARE): Likewise.
10560 (FE_INVALID_SQRT): Likewise.
10561 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10562 (FE_TONEAREST): Likewise.
10563 (FE_TOWARDZERO): Likewise.
10564 (FE_UPWARD): Likewise.
10565 (FE_DOWNWARD): Likewise.
10566 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10567 (FE_DIVBYZERO): Likewise.
10568 (FE_OVERFLOW): Likewise.
10569 (FE_UNDERFLOW): Likewise.
10570 (FE_INEXACT): Likewise.
10571 (FE_TONEAREST): Likewise.
10572 (FE_DOWNWARD): Likewise.
10573 (FE_UPWARD): Likewise.
10574 (FE_TOWARDZERO): Likewise.
10575 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10576 (FE_UNDERFLOW): Likewise.
10577 (FE_OVERFLOW): Likewise.
10578 (FE_DIVBYZERO): Likewise.
10579 (FE_INVALID): Likewise.
10580 (FE_TONEAREST): Likewise.
10581 (FE_TOWARDZERO): Likewise.
10582 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10583 (FE_OVERFLOW): Likewise.
10584 (FE_UNDERFLOW): Likewise.
10585 (FE_DIVBYZERO): Likewise.
10586 (FE_INEXACT): Likewise.
10587 (FE_TONEAREST): Likewise.
10588 (FE_TOWARDZERO): Likewise.
10589 (FE_UPWARD): Likewise.
10590 (FE_DOWNWARD): Likewise.
10591 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10592 (FE_DIVBYZERO): Likewise.
10593 (FE_OVERFLOW): Likewise.
10594 (FE_UNDERFLOW): Likewise.
10595 (FE_INEXACT): Likewise.
10596 (FE_TONEAREST): Likewise.
10597 (FE_DOWNWARD): Likewise.
10598 (FE_UPWARD): Likewise.
10599 (FE_TOWARDZERO): Likewise.
10601 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10603 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10605 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10607 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10608 commands. Quote $PWD.
10609 (blacklist_exports): Don't use remove_newlines. Replace "declare
10611 (remove_newlines): Remove.
10613 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10615 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10616 * stdlib/stdlib.h (atof): Moved to ...
10617 * include/bits/stdlib-float.h: Here. New file.
10618 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10619 * stdlib/bits/stdlib-float.h: New file.
10620 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10622 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10625 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10627 * conform/conformtest.pl (@headers): Add fenv.h.
10628 * conform/data/fenv.h-data: New file.
10629 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10630 include of <math/fenv.h>.
10632 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10633 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10634 && !UNIX98]. Enables tests for XOPEN2K8.
10635 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10636 POSIX2008]: Likewise.
10638 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10639 (struct rusage): Do not expect type or its members.
10642 * math/math.h (FP_NAN): Define macro to integer constant usable in
10643 #if and use that to give value to enum constant.
10644 (FP_INFINITE): Likewise.
10645 (FP_ZERO): Likewise.
10646 (FP_SUBNORMAL): Likewise.
10647 (FP_NORMAL): Likewise.
10649 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10651 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10652 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10655 2012-11-02 Roland McGrath <roland@hack.frob.com>
10657 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10658 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10659 autoconf-time if not.
10660 * configure.in: Remove AC_PREREQ.
10662 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10664 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10665 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10666 of the internal implementation.
10668 2012-11-02 Joseph Myers <joseph@codesourcery.com>
10670 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10671 except include of <misc/sys/syslog.h>.
10673 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10676 function returns with a NULL context exit with zero.
10678 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10680 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10682 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10684 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10685 (run_program_cmd): This.
10686 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10687 (tst_langinfo): New variable. Use it.
10689 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10691 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10692 floating point opcodes.
10694 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10696 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10699 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10701 * sysdeps/mach/hurd/powerpc: Remove directory.
10702 * sysdeps/mach/powerpc: Likewise.
10704 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10706 * scripts/check-local-headers.sh: Ignore c++ headers.
10708 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10710 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10711 __libc_cleanup_region_start argument.
10713 2012-11-01 Joseph Myers <joseph@codesourcery.com>
10717 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10718 x * y using scaling, not as x * y + z.
10719 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10720 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10721 * math/libm-test.inc (fma_test): Add more tests.
10722 (fma_test_towardzero): Likewise.
10723 (fma_test_downward): Likewise.
10724 (fma_test_upward): Likewise.
10726 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10728 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10730 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10732 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10735 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10737 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10739 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10746 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10749 Fix the order of the list for glibc 2.17.
10750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10753 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10757 2012-10-31 Joseph Myers <joseph@codesourcery.com>
10760 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10761 for low part of x being zero before using __atanl (y).
10762 * math/libm-test.inc (atan2_test): Add another test.
10764 * manual/install.texi (Configuring and compiling): Document
10765 general use of test-wrapper and test-wrapper-env.
10766 * INSTALL: Regenerated.
10768 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10769 (__fma): Do not extract and scale down low bits on after-rounding
10770 systems when result rounded to normal precision would have normal
10772 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10773 (__fmal): Do not extract and scale down low bits on after-rounding
10774 systems when result rounded to normal precision would have normal
10776 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10777 (__fmal): Do not extract and scale down low bits on after-rounding
10778 systems when result rounded to normal precision would have normal
10780 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10782 (fma_test): Add more tests.
10783 (fma_test_towardzero): Likewise.
10784 (fma_test_downward): Likewise.
10785 (fma_test_upward): Likewise.
10787 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10789 * sysdeps/i386/tininess.h: Renamed to ...
10790 * sysdeps/x86/tininess.h: This.
10791 * sysdeps/x86_64/tininess.h: Removed.
10793 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10795 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10796 input. Use $(build-program-cmd).
10797 ($(objpfx)tst-array1-static.out): Likewise.
10798 ($(objpfx)tst-array2.out): Likewise.
10799 ($(objpfx)tst-array3.out): Likewise.
10800 ($(objpfx)tst-array4.out): Likewise.
10801 ($(objpfx)tst-array5.out): Likewise.
10802 ($(objpfx)tst-array5-static.out): Likewise.
10804 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10806 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10809 * nss/nsswitch.h (nss_interface_function): Provide new
10810 macro for use with NSS functions.
10811 * grp/initgroups.c: Use new macro.
10812 * nss/getXXbyYY.c: Likewise.
10813 * nss/getXXbyYY_r.c: Likewise.
10814 * nss/getXXent.c: Likewise.
10815 * nss/getXXent_r.c: Likewise.
10816 * sysdeps/posix/getaddrinfo.c: Likewise.
10818 2012-10-30 Andreas Jaeger <aj@suse.de>
10820 * po/ru.po: Update Russion translation from translation project.
10822 2012-10-30 Joseph Myers <joseph@codesourcery.com>
10826 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10827 result and shift together with sticky bit instead of replicating
10828 round-to-nearest rounding.
10829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10830 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10831 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10832 missing underflow exceptions.
10833 (fma_test_towardzero): Add more tests.
10834 (fma_test_downward): Likewise.
10835 (fma_test_upward): Likewise.
10838 * sysdeps/generic/tininess.h: New file.
10839 * sysdeps/i386/tininess.h: Likewise.
10840 * sysdeps/sh/tininess.h: Likewise.
10841 * sysdeps/x86_64/tininess.h: Likewise.
10842 * stdlib/tst-strtod-underflow.c: Likewise.
10843 * stdlib/tst-tininess.c: Likewise.
10844 * stdlib/strtod_l.c: Include <tininess.h>.
10845 (round_and_return): Do not set errno for exact underflow cases.
10846 Force an underflow exception when setting errno for underflow.
10847 Determine underflow based on rounding to normal precision if
10848 TININESS_AFTER_ROUNDING.
10849 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10850 ERANGE for exact underflow cases.
10851 * stdlib/Makefile (tests): Add tst-tininess and
10852 tst-strtod-underflow.
10853 ($(objpfx)tst-tininess): Use $(link-libm).
10854 ($(objpfx)tst-strtod-underflow): Likewise.
10856 2012-10-30 Andreas Jaeger <aj@suse.de>
10859 * elf/Makefile (tests): Remove conditional for have-initfini-array
10860 since this is now always required and the variable does not exist
10862 (tests-static): Likewise.
10863 (modules-names): Likewise.
10865 * po/eo.po: Add Esperanto translation from translation project.
10867 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10868 merged with constructor/destructor.
10869 (init_array): Likewise.
10870 * elf/tst-array2dep.c (fini_array): Likewise.
10871 (init_array): Likewise.
10873 2012-10-29 Mike Frysinger <vapier@gentoo.org>
10875 * manual/message.texi: Delete @cartouche tags.
10877 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10879 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10881 * sysdeps/mach/hurd/fsync.c: Likewise.
10883 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10884 [_POSIX_REALTIME_SIGNALS]: Change condition to
10885 [_POSIX_REALTIME_SIGNALS > 0].
10887 2012-10-27 Andreas Jaeger <aj@suse.de>
10889 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10890 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10891 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10892 [__WORDSIZE != 64]: Likewise.
10894 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10896 * iconvdata/tst-table.sh: Remove ${SHELL}.
10897 * iconvdata/tst-tables.sh: Likewise.
10899 2012-10-25 David S. Miller <davem@davemloft.net>
10901 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10902 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10907 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10908 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10909 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10912 2012-10-25 Roland McGrath <roland@hack.frob.com>
10914 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10915 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10918 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10919 Jim Blandy <jimb@codesourcery.com>
10921 * scripts/cross-test-ssh.sh: New file.
10922 * manual/install.texi (Configuring and compiling): Document use of
10924 * INSTALL: Regenerated.
10926 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10928 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10931 2012-10-25 Joseph Myers <joseph@codesourcery.com>
10933 * Makeconfig (run-program-prefix): Fix comment.
10935 2012-10-24 Joseph Myers <joseph@codesourcery.com>
10936 Jim Blandy <jimb@codesourcery.com>
10938 * Makeconfig (test-wrapper): New variable,
10939 (test-wrapper-env): Likewise.
10940 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10941 (run-built-tests): Define to yes.
10942 (run-program-prefix): Use $(test-wrapper).
10943 (built-program-cmd): Likewise.
10944 * Rules (make-test-out): Use $(test-wrapper-env) and
10945 $(host-built-program-cmd).
10946 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10947 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10949 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10950 $(test-wrapper-env) to tst-rtld-load-self.sh.
10951 ($(objpfx)order2.out): Use $(test-wrapper).
10952 ($(objpfx)tst-initorder.out): Likewise.
10953 ($(objpfx)tst-initorder2.out): Likewise.
10954 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10955 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10956 (test_wrapper_env): New variable. Use it to run ld.so.
10957 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10958 Use it to run ld.so.
10959 (test_wrapper_env): Likewise.
10960 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10961 $(test-wrapper) to run-iconv-test.sh.
10962 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10963 (ICONV): Use $test_wrapper.
10964 * posix/Makefile ($(objpfx)globtest.out): Pass
10965 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10966 globtest.sh, not $(run-program-prefix).
10967 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10968 (test_wrapper): Likewise.
10969 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10970 set together with run_via_rtld_prefix.
10971 (run_program_prefix): Define in terms of test_wrapper and
10972 run_via_rtld_prefix.
10974 2012-10-24 Roland McGrath <roland@hack.frob.com>
10976 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10977 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10981 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10982 Declare __clock_getres, __clock_gettime, __clock_settime,
10983 __clock_nanosleep, and __clock_getcpuclockid.
10984 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10985 Remove librt_hidden_def (clock_gettime).
10986 * sysdeps/unix/clock_gettime.c: Likewise.
10987 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10988 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10989 * rt/clock_getres.c: Define __clock_getres as an alias.
10990 * sysdeps/posix/clock_getres.c: Likewise.
10991 * rt/clock_settime.c: Define __clock_settime as an alias.
10992 * sysdeps/unix/clock_settime.c: Likewise.
10993 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10994 * sysdeps/unix/clock_nanosleep.c: Likewise.
10995 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10996 * rt/clock-compat.c: New file.
10997 * rt/Makefile (librt-routines): Add clock-compat and move
10998 $(clock-routines) to ...
10999 (routines): ... here, new variable.
11000 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11001 Don't add get_clockfreq here.
11002 * rt/Versions (libc: GLIBC_2.17): New version set.
11003 Add clock_* symbols here.
11004 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11005 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11006 (GLIBC_2.17): Add clock_* symbols.
11007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11009 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11018 * NEWS: Mention the move.
11020 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11021 Use __open, __read, __close rather than their public counterparts.
11022 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11023 (__get_clockfreq_via_cpuinfo): Likewise.
11024 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11025 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11027 * config.h.in (HAVE_IFUNC): New #undef.
11028 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11030 * configure: Regenerated.
11032 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11034 * configure.in: Move READELF check to start of file.
11035 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11036 libc_cv_asm_gnu_indirect_function in the process.
11037 * configure: Regenerated.
11039 2012-10-24 Mike Frysinger <vapier@gentoo.org>
11041 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11042 send the output to /dev/null.
11043 (libc_cv_cc_with_libunwind): Likewise.
11044 (libc_cv_as_noexecstack): Likewise.
11045 * configure: Regenerate.
11047 2012-10-24 Joseph Myers <joseph@codesourcery.com>
11049 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11051 * posix/globtest.sh (TMPDIR): Do not set.
11052 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11053 (testout): Likewise.
11055 2012-10-24 Andreas Jaeger <aj@suse.de>
11057 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11058 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11059 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11060 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11061 posix_fadvise64, posix_fallocate64.
11063 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11064 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11065 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11067 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11069 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11071 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11072 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11073 <bits/fcntl-linux.h>.
11074 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11077 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11078 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11079 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11080 [__WORDSIZE != 64]: Likewise.
11082 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11084 * Makeconfig (run-built-tests): New variable.
11085 * Rules [$(cross-compiling) = yes]: Change condition to
11086 [$(run-built-tests) = no].
11087 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11088 to [$(run-built-tests) = yes].
11089 * elf/Makefile [$(cross-compiling) = no]: Likewise
11090 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11091 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11092 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11093 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11094 * io/Makefile [$(cross-compiling) = no]: Likewise.
11095 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11096 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11097 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11098 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11099 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11100 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11101 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11102 * string/Makefile [$(cross-compiling) = no]: Likewise.
11104 * posix/Makefile ($(objpfx)globtest.out): Pass
11105 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11106 $(rtld-installed-name).
11107 * posix/globtest.sh (elf_objpfx): Remove variable.
11108 (rtld_installed_name): Likewise.
11109 (library_path): Likewise.
11110 (run_program_prefix): New variable. Use for running globtest
11113 2012-10-23 Jim Blandy <jimb@codesourcery.com>
11114 Joseph Myers <joseph@codesourcery.com>
11116 * Makeconfig (host-built-program-cmd): New variable.
11117 * elf/Makefile (tst-stackguard1-ARGS): Use
11118 $(host-built-program-cmd).
11119 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11120 (tst-spawn-ARGS): Likewise.
11121 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11123 2012-10-23 Joseph Myers <joseph@codesourcery.com>
11124 Jim Blandy <jimb@codesourcery.com>
11126 * Makeconfig (run-via-rtld-prefix): New variable.
11127 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11128 (built-program-cmd): Likewise.
11130 2012-10-22 Andreas Jaeger <aj@suse.de>
11132 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11133 __O_RSYNC if it exists, otherwise to O_SYNC.
11135 2012-10-22 Jim Blandy <jimb@codesourcery.com>
11136 Joseph Myers <joseph@codesourcery.com>
11138 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11140 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11142 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11145 2012-10-22 Andreas Jaeger <aj@suse.de>
11147 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11151 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11152 bits/fcntl-linux.h.
11154 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11155 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11159 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11162 2012-10-21 Jim Blandy <jimb@codesourcery.com>
11163 Joseph Myers <joseph@codesourcery.com>
11165 * config.make.in (NM): New variable.
11167 2012-10-21 Andreas Jaeger <aj@suse.de>
11169 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11170 definitions and declarations that are provided by
11171 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11173 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11176 * elf/Makefile (tests-static): Add tst-leaks1-static.
11177 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11178 ($(objpfx)tst-leaks1-static): New rule.
11179 ($(objpfx)tst-leaks1-static-mem): Likewise.
11180 (tst-leaks1-static-ENV): New macro.
11181 * elf/dl-open.c (dl_open_worker): Check the main application
11182 only if SHARED is defined.
11183 * elf/tst-leaks1-static.c: New file.
11185 2012-10-20 Andreas Jaeger <aj@suse.de>
11187 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11188 generic values for Linux.
11189 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11190 and declarations that are provided by <bits/fcntl-linux.h> and
11191 include <bits/fcntl-linux.h>.
11192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11193 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11195 2012-10-20 Roland McGrath <roland@hack.frob.com>
11197 * io/fcntl.h: Move include of <bits/types.h> to the top and
11198 include it unconditionally.
11200 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11202 * wcsmbs/Makefile (tests-ifunc): New variable.
11203 (tests): Add $(tests-ifunc).
11204 * wcsmbs/test-wcschr-ifunc.c: New file.
11205 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11206 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11207 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11208 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11209 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11211 * string/Makefile (tests-ifunc): New variable.
11212 (tests): Add $(tests-ifunc).
11213 * string/test-memccpy.c (TEST_NAME): New macro.
11214 * string/test-memchr.c (TEST_NAME): Likewise.
11215 * string/test-memcmp.c (TEST_NAME): Likewise.
11216 * string/test-memcpy.c (TEST_NAME): Likewise.
11217 * string/test-memmem.c (TEST_NAME): Likewise.
11218 * string/test-memmove.c (TEST_NAME): Likewise.
11219 * string/test-memset.c (TEST_NAME): Likewise.
11220 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11221 * string/test-stpcpy.c (TEST_NAME): Likewise.
11222 * string/test-stpncpy.c (TEST_NAME): Likewise.
11223 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11224 * string/test-strcasestr.c (TEST_NAME): Likewise.
11225 * string/test-strcat.c (TEST_NAME): Likewise.
11226 * string/test-strchr.c (TEST_NAME): Likewise.
11227 * string/test-strcmp.c(TEST_NAME): Likewise.
11228 * string/test-strcpy.c (TEST_NAME): Likewise.
11229 * string/test-strcspn.c (TEST_NAME): Likewise.
11230 * string/test-strlen.c (TEST_NAME): Likewise.
11231 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11232 * string/test-strncmp.c (TEST_NAME): Likewise.
11233 * string/test-strncpy.c (TEST_NAME): Likewise.
11234 * string/test-strnlen.c (TEST_NAME): Likewise.
11235 * string/test-strpbrk.c (TEST_NAME): Likewise.
11236 * string/test-strrchr.c (TEST_NAME): Likewise.
11237 * string/test-strspn.c (TEST_NAME): Likewise.
11238 * string/test-strstr.c (TEST_NAME): Likewise.
11239 * string/test-bcopy-ifunc.c: New file.
11240 * string/test-bzero-ifunc.c: Likewise.
11241 * string/test-memccpy-ifunc.c: Likewise.
11242 * string/test-memchr-ifunc.c: Likewise.
11243 * string/test-memcmp-ifunc.c: Likewise.
11244 * string/test-memcpy-ifunc.c: Likewise.
11245 * string/test-memmem-ifunc.c: Likewise.
11246 * string/test-memmove-ifunc.c: Likewise.
11247 * string/test-mempcpy-ifunc.c: Likewise.
11248 * string/test-memset-ifunc.c: Likewise.
11249 * string/test-rawmemchr-ifunc.c: Likewise.
11250 * string/test-stpcpy-ifunc.c: Likewise.
11251 * string/test-stpncpy-ifunc.c: Likewise.
11252 * string/test-strcasecmp-ifunc.c: Likewise.
11253 * string/test-strcasestr-ifunc.c: Likewise.
11254 * string/test-strcat-ifunc.c: Likewise.
11255 * string/test-strchr-ifunc.c: Likewise.
11256 * string/test-strchrnul-ifunc.c: Likewise.
11257 * string/test-strcmp-ifunc.c: Likewise.
11258 * string/test-strcpy-ifunc.c: Likewise.
11259 * string/test-strcspn-ifunc.c: Likewise.
11260 * string/test-strlen-ifunc.c: Likewise.
11261 * string/test-strncasecmp-ifunc.c: Likewise.
11262 * string/test-strncat-ifunc.c: Likewise.
11263 * string/test-strncmp-ifunc.c: Likewise.
11264 * string/test-strncpy-ifunc.c: Likewise.
11265 * string/test-strnlen-ifunc.c: Likewise.
11266 * string/test-strpbrk-ifunc.c: Likewise.
11267 * string/test-strrchr-ifunc.c: Likewise.
11268 * string/test-strspn-ifunc.c: Likewise.
11269 * string/test-strstr-ifunc.c: Likewise.
11271 * debug/Makefile (tests-ifunc): New variable.
11272 (tests): Add $(tests-ifunc).
11273 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11274 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11275 * debug/test-stpcpy_chk-ifunc.c: New file.
11276 * debug/test-strcpy_chk-ifunc.c: Likewise.
11278 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11281 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11282 header is not read in.
11284 2012-10-19 Joseph Myers <joseph@codesourcery.com>
11286 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11287 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11288 directly. Pass built executable to script as
11289 $(built-program-cmd).
11290 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11291 $testprogram without using LD_LIBRARY_PATH and $ldso.
11293 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11294 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11295 $(rtld-installed-name).
11296 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11297 (rtld_installed_name): Likewise.
11298 (library_path): Likewise.
11299 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11300 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11301 $(run-program-prefix) to tst-tables.sh.
11302 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11303 it to run tst-table-from and tst-table-to.
11304 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11305 Pass it to tst-table.sh.
11306 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11307 $(run-program-prefix) to tst-gettext.sh.
11308 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11310 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11312 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11313 to run tst-gettext.
11314 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11315 to run tst-gettext2.
11316 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11317 to run tst-translit.
11318 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11319 $(run-program-prefix) to tst-mtrace.sh.
11320 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11322 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11323 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11324 $(rtld-installed-name).
11325 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11326 (rtld_installed_name): Likewise.
11327 (run_program_prefix): New variable. Use it to run wordexp-test.
11329 * Makeconfig (ARCH): Remove all definitions.
11330 (machine): Likewise.
11331 [ARCH]: Remove conditional code.
11332 [!objdir]: Give error.
11333 [!objdir] (objpfx): Remove.
11334 [!objdir] (common-objpfx): Likewise.
11335 [!objdir] (common-objdir): Likewise.
11336 * configure.in (config_makefile): Remove. Hardcode Makefile in
11337 AC_CONFIG_FILES call.
11338 * configure: Regenerated.
11341 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11343 (testout): Likewise.
11345 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11346 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11347 $(rtld-installed-name).
11348 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11349 (rtld_installed_name): Likwise.
11350 (runit): Remove function.
11351 (run_getconf): New variable, Use it for running getconf binary.
11353 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11356 * string/test-memmem.c (check_result): New function.
11357 (do_one_test): Use it.
11358 (check1): New function.
11359 (test_main): Use it.
11361 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11363 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11365 2012-10-18 Joseph Myers <joseph@codesourcery.com>
11367 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11368 (_G_LSEEK64): Likewise.
11369 (_G_MMAP64): Likewise.
11370 (_G_FSTAT64): Likewise.
11371 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11372 (_G_LSEEK64): Likewise.
11373 (_G_MMAP64): Likewise.
11374 (_G_FSTAT64): Likewise.
11375 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11376 unconditional. Call __mmap64 directly.
11377 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11378 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11379 __lseek64 directly.
11380 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11381 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11383 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11384 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11385 __lseek64 directly.
11386 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11387 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11388 __lseek64 directly.
11389 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11390 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11391 __lseek64 directly.
11392 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11393 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11394 __fxstat64 directly.
11395 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11396 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11398 (freopen64) [!_G_OPEN64]: Remove conditional code.
11399 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11401 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11402 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11404 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11405 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11407 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11408 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11410 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11411 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11413 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11414 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11416 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11417 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11419 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11421 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11424 * manual/memory.texi (Malloc Tunable Parameters): Add note
11425 about free list pointers overwriting some perturb bytes.
11426 Wording suggested by Roland McGrath.
11428 2012-10-17 Joseph Myers <joseph@codesourcery.com>
11430 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11431 (lgamma_test): Likewise.
11432 (tgamma_test): Likewise.
11434 2012-10-16 Florian Weimer <fweimer@redhat.com>
11437 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11438 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11440 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11442 * NEWS: Mention BZ #14716.
11443 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11444 when removing AVAILABLE1_USES_J macro.
11446 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11448 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11449 (__bswap_64): __uint64_t for unsigned 64-bit int.
11451 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11453 * include/string.h (memmem): Declare libc hidden alias.
11454 * string/memmem.c (memmem): Define libc hidden alias.
11455 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11456 __read, __close instead of open, read, close.
11458 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11460 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11461 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11463 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11464 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11465 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11467 (__rawmemchr_sse2): Likewise.
11468 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11469 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11470 (__strchr_sse2): Likewise.
11471 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11472 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11473 (__strcasecmp_sse2): Likewise.
11474 (__strncasecmp_sse2): Likewise.
11475 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11476 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11477 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11478 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11479 (__strrchr_sse2): Likewise.
11480 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11482 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11483 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11484 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11485 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11486 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11487 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11488 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11489 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11490 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11491 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11492 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11493 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11494 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11495 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11496 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11497 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11498 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11499 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11500 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11501 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11502 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11503 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11504 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11505 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11506 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11507 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11508 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11509 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11510 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11511 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11513 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11515 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11516 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11517 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11518 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11520 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11522 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11523 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11524 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11525 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11527 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11528 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11529 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11530 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11531 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11532 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11533 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11534 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11535 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11536 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11537 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11538 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11539 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11540 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11541 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11542 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11543 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11544 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11545 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11546 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11547 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11548 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11549 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11550 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11551 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11552 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11553 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11554 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11555 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11556 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11557 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11558 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11559 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11560 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11561 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11562 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11563 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11564 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11565 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11566 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11567 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11569 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11570 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11571 * include/ifunc-impl-list.h: New file.
11572 * misc/ifunc-impl-list.c: Likewise.
11573 * misc/Makefile (routines): Add ifunc-impl-list.
11574 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11575 * string/test-string.h: Include <ifunc-impl-list.h>.
11576 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11577 impl_array): New variables.
11578 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11580 (test_init): Call __libc_ifunc_impl_list to initialize
11581 func_list if TEST_IFUNC and TEST_NAME are defined.
11583 * string/Makefile (strop-tests): Add bcopy and bzero.
11584 * string/test-bcopy.c: New file.
11585 * string/test-bzero.c: Likewise.
11586 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11588 * string/test-memset.c: Support bzero test if TEST_BZERO is
11590 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11592 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11594 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11597 2012-10-10 Joseph Myers <joseph@codesourcery.com>
11599 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11600 * configure: Regenerated.
11602 * Makeconfig (+link-static-before-libc): Don't include
11603 $(link-static-libc).
11605 * libio/libio.h (_IO_pos_t): Remove.
11607 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11609 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11612 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11614 * crypt/crypt-entry.c: Include fips-private.h.
11615 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11616 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11617 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11618 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11620 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
11622 * crypt/crypt-private.h: Include stdbool.h.
11623 (_ufc_setup_salt_r): Return bool.
11624 * crypt/crypt-entry.c: Include errno.h.
11625 (__crypt_r): Return NULL with EINVAL for bad salt.
11626 * crypt/crypt_util.c (bad_for_salt): New.
11627 (_ufc_setup_salt_r): Check that salt is long enough and within
11628 the specified alphabet.
11629 * crypt/badsalttest.c: New file.
11630 * crypt/Makefile (tests): Add it.
11631 ($(objpfx)badsalttest): New.
11633 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11635 * NEWS: Add entry for BZ #14602.
11637 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11639 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11641 * math/libm-test.inc: Update comment listing what functions and
11643 (isgreater_test): New function.
11644 (isgreaterequal_test): Likewise.
11645 (isless_test): Likewise.
11646 (islessequal_test): Likewise.
11647 (islessgreater_test): Likewise.
11648 (isunordered_test): Likewise.
11649 (main): Call the new functions.
11651 2012-10-09 Roland McGrath <roland@hack.frob.com>
11653 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11654 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11655 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11656 * sysdeps/i386/configure: Regenerated.
11657 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11658 * sysdeps/mach/configure: Regenerated.
11659 * sysdeps/mach/hurd/configure: Regenerated.
11660 * sysdeps/powerpc/configure: Regenerated.
11661 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11662 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11663 * sysdeps/s390/s390-32/configure: Regenerated.
11664 * sysdeps/s390/s390-64/configure: Regenerated.
11665 * sysdeps/sh/configure: Regenerated.
11666 * sysdeps/sparc/configure: Regenerated.
11667 * sysdeps/unix/sysv/linux/configure: Regenerated.
11668 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11669 * sysdeps/x86_64/configure: Regenerated.
11671 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11672 defined. Don't check if MAP is NULL.
11674 2012-10-09 Joseph Myers <joseph@codesourcery.com>
11676 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11677 (_G_stat64): Likewise.
11678 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11679 (_G_stat64): Likewise.
11680 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11681 instead of struct _G_stat64.
11682 * libio/fileops.c (mmap_remap_check): Likewise.
11683 (decide_maybe_mmap): Likewise.
11684 (_IO_new_file_seekoff): Likewise.
11685 (_IO_file_stat): Likewise.
11686 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11688 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11689 instead of struct _G_stat64.
11690 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11692 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11695 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11697 (CHECK_EOL): New macro.
11698 (two_way_short_needle): Check beginning of haystack for EOL. Use
11700 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11701 Replace with CHECK_EOL.
11702 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11703 Replace with CHECK_EOL.
11705 2012-10-08 Joseph Myers <joseph@codesourcery.com>
11707 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11709 * math/libm-test.inc: Update comment listing what functions and
11711 (finite_test): New function.
11712 (isinf_test): Likewise.
11713 (isnan_test): Likewise.
11714 (fpclassify_test): Test subnormal input.
11715 (isfinite_test): Likewise.
11716 (isnormal_test): Likewise.
11717 (main): Call the new functions.
11719 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11722 * Makerules (%.dynsym): Force C locale when running
11723 $(OBJDUMP) --dynamic-syms.
11725 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11727 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11730 2012-10-06 David S. Miller <davem@davemloft.net>
11732 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11733 upper 32-bits of the length value in %o2 since we use branch-on-register
11734 tests which consider the entire 64-bit register.
11736 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11738 * string/test-strstr.c (check2): Add a test for page boundary.
11740 2012-10-05 David S. Miller <davem@davemloft.net>
11742 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11743 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11745 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11747 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11748 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11749 and bzero when HWCAP_SPARC_CRYPTO is present.
11751 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11754 * string/test-strstr.c (check2): New function.
11755 (test_main): Call check2.
11757 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11759 * string/bug-strcasestr1.c (do_test): Moved to ...
11760 * string/test-strcasestr.c (check1): Here. New function.
11761 (do_one_test): Break out result checking code into ...
11762 (check_result): This. New function.
11763 (do_one_test): Call check_result.
11764 (test_main): Call check1.
11765 * string/bug-strchr1.c (do_test): Moved to ...
11766 * string/test-strchr.c (check1): Here. New function.
11767 (do_one_test): Break out result checking code into ...
11768 (check_result): This. New function.
11769 (do_one_test): Call check_result.
11770 (test_main): Call check1.
11771 * string/bug-strstr1.c (main): Moved to ...
11772 * string/test-strstr.c (check1): Here. New function.
11773 (do_one_test): Break out result checking code into ...
11774 (check_result): This. New function.
11775 (do_one_test): Call check_result.
11776 (test_main): Call check1.
11777 * string/bug-strcasestr1.c: Removed.
11778 * string/bug-strchr1.c: Likewise.
11779 * string/bug-strstr1.c: Likewise.
11781 * elf/Makefile (dl-routines): Add hwcaps.
11782 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11783 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11784 (_dl_important_hwcaps): Moved to ...
11785 * elf/dl-hwcaps.c: Here. New file.
11786 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11789 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11790 if IS_IN_rtld isn't defined.
11792 * elf/dl-support.c (_dl_sysinfo_map): New.
11793 Include "get-dynamic-info.h" and "setup-vdso.h".
11794 (_dl_non_dynamic_init): Call setup_vdso.
11795 * elf/dynamic-link.h: Don't include <assert.h>.
11796 (elf_get_dynamic_info): Moved to ...
11797 * elf/get-dynamic-info.h: Here. New file.
11798 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11799 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11800 * elf/setup-vdso.h: Here. New file.
11801 * elf/rtld.c: Include "setup-vdso.h".
11802 (dl_main): Call setup_vdso.
11804 2012-10-05 Joseph Myers <joseph@codesourcery.com>
11806 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11807 creal in comment listing functions tested. List finite, isinf,
11808 isnan, isless, islessequal, isgreater, isgreaterequal,
11809 islessgreater, isunordered, lgamma_r and pow10 as functions and
11810 macros not tested. Mention which functions not tested are aliases
11811 for other functions. Fix typo. Note that signs of NaNs are not
11814 * scripts/config.guess: Update from config.git.
11815 * scripts/config.sub: Likewise.
11817 2012-10-04 Roland McGrath <roland@hack.frob.com>
11819 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11820 * misc/madvise.c (madvise): Renamed to __madvise.
11821 Make madvise a weak alias.
11822 * include/sys/mman.h: Declare __madvise.
11823 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11824 * sysdeps/unix/syscalls.list
11825 (madvise): Make __madvise the strong name, and madvise a weak alias.
11826 * sysdeps/unix/sysv/linux/syscalls.list
11827 (madvise, mmap): Remove redundant entries.
11828 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11829 * malloc/malloc.c (mtrim): Likewise.
11830 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11832 2012-10-03 Roland McGrath <roland@hack.frob.com>
11834 * sysdeps/mach/hurd/dl-cache.c: File removed.
11835 * config.h.in (USE_LDCONFIG): New #undef.
11836 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11837 * configure: Regenerated.
11838 * elf/Makefile (dl-routines): Add dl-cache only under
11839 [$(use-ldconfig) = yes].
11840 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11841 cache on [USE_LDCONFIG].
11842 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11844 * elf/rtld.c (dl_main): Likewise.
11846 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11848 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11849 _SC_LEVEL4_CACHE_LINESIZE.
11851 2012-10-03 Roland McGrath <roland@hack.frob.com>
11853 * sysdeps/unix/bsd/confstr.h: File removed.
11855 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
11857 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11860 2012-10-02 Roland McGrath <roland@hack.frob.com>
11862 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11863 Make 'mapoff' field ElfW(Off) rather than off_t.
11865 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11867 * nscd/Makefile: Remove nscd-cflags and all its users.
11868 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11869 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11872 * malloc.c (malloc_printerr): Clarify error message.
11874 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11877 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11878 Set bit_FMA_Usable if FMA is supported.
11879 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11881 (bit_FMA4_Usable): Updated.
11882 (index_FMA_Usable): New macro.
11883 (CPUID_FMA): Likewise
11884 (HAS_FMA): Defined with bit_FMA_Usable.
11886 2012-10-01 Roland McGrath <roland@hack.frob.com>
11888 * bits/types.h (__swblk_t): Type removed.
11889 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11890 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11891 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11892 (__SWBLK_T_TYPE): Likewise.
11893 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11894 (__SWBLK_T_TYPE): Likewise.
11895 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11896 (__SWBLK_T_TYPE): Likewise.
11897 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11898 (__SWBLK_T_TYPE): Likewise.
11900 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
11901 Honza Horak <hhorak@redhat.com>
11903 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11904 (xdr_mapname): Use YPMAXMAP as maxsize.
11905 (xdr_peername): Use YPMAXPEER as maxsize.
11906 (xdr_keydat): Use YPAXRECORD as maxsize.
11907 (xdr_valdat): Use YPMAXRECORD as maxsize.
11909 2012-10-01 Roland McGrath <roland@hack.frob.com>
11911 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11913 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11914 * csu/init-first.c: ... here.
11915 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11916 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11917 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11918 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11919 * sysdeps/i386/init-first.c: File removed.
11920 * sysdeps/sh/init-first.c: File removed.
11922 2012-10-01 Joseph Myers <joseph@codesourcery.com>
11925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11926 if x * y might underflow to zero and z is zero.
11927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11928 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11929 * math/libm-test.inc (min_subnorm_value): New variable.
11930 (fma_test): Add more tests.
11931 (fma_test_towardzero): Likewise.
11932 (fma_test_downward): Likewise
11933 (fma_test_upward): Likewise.
11934 (initialize): Set min_subnorm_value.
11936 2012-09-29 Joseph Myers <joseph@codesourcery.com>
11939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11941 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11942 mode for addition resulting in exact zero.
11943 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11946 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11947 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11948 * math/libm-test.inc (fma_test): Add more tests.
11949 (fma_test_towardzero): New function.
11950 (fma_test_downward): Likewise.
11951 (fma_test_upward): Likewise.
11952 (main): Call the new functions.
11954 2012-09-28 David S. Miller <davem@davemloft.net>
11956 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11958 2012-09-28 Roland McGrath <roland@hack.frob.com>
11960 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11961 instead of SIGALRM.
11963 * sysdeps/gnu/_G_config.h: Moved to ...
11964 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11965 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11966 * sysdeps/generic/_G_config.h: ... here.
11968 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11970 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11972 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11973 Conditionalize target on [libnss_test1.so-version].
11975 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11977 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11978 (elfobjdir): Move out of conditionals.
11980 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11981 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11982 (__nss_lookup_function): Conditionalize label remove_from_tree on
11983 [!DO_STATIC_NSS || SHARED], matching its only use.
11985 2012-09-28 David S. Miller <davem@davemloft.net>
11987 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11988 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11990 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11992 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11993 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11994 when HWCAP_SPARC_CRYPTO is present.
11996 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11998 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12000 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12003 * stdio-common/vfprintf.c (process_string_arg): Revert
12006 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12008 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12010 * stdio-common/tst-sprintf.c: Include <locale.h>
12011 (main): Test sprintf's handling of incomplete multibyte
12014 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12016 * elf/dl-runtime.c (VERSYMIDX): Removed.
12017 * elf/dl-version.c (VERSYMIDX): Likewise.
12018 * elf/do-rel.h (VERSYMIDX): Likewise.
12019 (VALIDX): Likewise.
12020 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12021 * elf/rtld.c (VALIDX): Likewise.
12022 (ADDRIDX): Likewise.
12023 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12024 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12025 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
12026 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12027 (VALIDX): Likewise.
12028 (ADDRIDX): Likewise.
12030 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12032 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12034 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12037 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12039 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12040 addresses are in the same scope as 192.0.2/24.
12041 * posix/gai.conf: Document new scope table defaults.
12043 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12046 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12047 for ftell. Compute offsets from write pointers instead.
12048 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12050 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12053 * libio/Makefile (tests): New test case tst-fseek.
12054 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12055 combination works in wide mode.
12056 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12057 state when the external buffer state changes.
12059 2012-09-27 David S. Miller <davem@davemloft.net>
12062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12063 pass reloc->r_addend in as the 'high' argument to
12064 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12068 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12070 * rt/tst-aio2.c: Include <pthread.h>.
12071 * rt/tst-aio3.c: Likewise.
12073 2012-09-27 Steve Ellcey <sellcey@mips.com>
12075 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12077 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12079 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12080 contents on [SHARED].
12082 2012-09-26 Marek Polacek <polacek@redhat.com>
12086 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12087 for C++ and GCC <4.3 as well as for non GCC compilers.
12089 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12093 2012-09-25 Roland McGrath <roland@hack.frob.com>
12095 * Makefile.in (all, install): Declare with .PHONY.
12096 Reported by Michael Hope <michael.hope@linaro.org>.
12098 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12100 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12101 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12103 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12105 (sydep_routines): Add the new and the internal functions.
12106 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12107 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12109 (GLIBC_2.17): Add the new function.
12110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12111 (GLIBC_2.17): Likewise.
12112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12113 (GLIBC_2.17): Likewise.
12114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12115 (GLIBC_2.17): Likewise.
12116 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12118 2012-09-25 Alan Modra <amodra@gmail.com>
12120 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12121 Add release barrier before setting once_control to say
12122 initialisation is done. Add hints on lwarx. Use macro in
12124 (clear_once_control): Add release barrier.
12126 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12129 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12131 * math/s_clog10.c (__clog10): Likewise.
12132 * math/s_clog10f.c (__clog10f): Likewise.
12133 * math/s_clog10l.c (__clog10l): Likewise.
12134 * math/s_clogf.c (__clogf): Likewise.
12135 * math/s_clogl.c (__clogl): Likewise.
12136 * math/Makefile (libm-calls): Add x2y2m1.
12137 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12138 (__x2y2m1): Likewise.
12139 (__x2y2m1l): Likewise.
12140 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12141 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12142 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12143 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12144 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12145 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12146 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12147 * sysdeps/i386/fpu/libm-test-ulps: Update.
12148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12151 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12152 int as type of variable DEPTH.
12153 (glob): Use size_t instead of int as type of variables NEWCOUNT
12156 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12158 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12159 Add s_sincosf-sse2.
12160 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12161 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12162 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12163 macros for using routine as __sincosf_ia32.
12164 Use macro for function declaration and weak_alias.
12165 * sysdeps/i386/fpu/libm-test-ulps: Update.
12167 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12170 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
12171 subnormal argument.
12172 * math/s_cexpf.c (__cexpf): Likewise.
12173 * math/s_csinf.c (__csinf): Likewise.
12174 * math/s_csinhf.c (__csinhf): Likewise.
12175 * math/s_ctanf.c (__ctanf): Likewise.
12176 * math/s_ctanhf.c (__ctanhf): Likewise.
12177 * math/s_ccosh.c (__ccoshf): Likewise.
12178 * math/s_cexp.c (__cexpl): Likewise.
12179 * math/s_csin.c (__csin): Likewise.
12180 * math/s_csinh.c (__csinh): Likewise.
12181 * math/s_ctan.c (__ctan): Likewise.
12182 * math/s_ctanh.c (ctanh): Likewise.
12183 * math/s_ccoshl.c (__ccoshl): Likewise.
12184 * math/s_cexpl.c (__cexpl): Likewise.
12185 * math/s_csinl.c (__csinl): Likewise.
12186 * math/s_csinhl.c (__csinhl): Likewise.
12187 * math/s_ctanl.c (__ctanl): Likewise.
12188 * math/s_ctanhl.c (__ctanhl): Likewise.
12190 2012-09-25 Joseph Myers <joseph@codesourcery.com>
12192 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12193 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12194 (_IO_off_t): Define to __off_t, not _G_off_t.
12195 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12196 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12197 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12198 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12199 type of __dummy and __dummy2 fields.
12200 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12201 (_G_ssize_t): Likewise.
12202 (_G_off_t): Likewise.
12203 (_G_pid_t): Likewise.
12204 (_G_uid_t): Likewise.
12205 (_G_wchar_t): Likewise.
12206 (_G_wint_t): Likewise.
12207 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12208 (_G_ssize_t): Likewise.
12209 (_G_off_t): Likewise.
12210 (_G_pid_t): Likewise.
12211 (_G_uid_t): Likewise.
12212 (_G_wchar_t): Likewise.
12213 (_G_wint_t): Likewise.
12214 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12215 (_G_ssize_t): Likewise.
12216 (_G_off_t): Likewise.
12217 (_G_pid_t): Likewise.
12218 (_G_uid_t): Likewise.
12219 (_G_wchar_t): Likewise.
12220 (_G_wint_t): Likewise.
12222 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12224 * malloc/arena.c: Include malloc-sysdep.h.
12225 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12226 is sufficient to shrink the heap or an unmap is needed.
12227 * sysdeps/generic/malloc-sysdep.h: New file. Define
12228 new function check_may_shrink_heap.
12229 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12230 new function check_may_shrink_heap.
12232 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12234 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12237 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12239 * catgets/test-gencat.sh: Add "set -e".
12240 * elf/tst-pathopt.sh: Likewise.
12241 * grp/tst_fgetgrent.sh: Likewise.
12242 * iconvdata/run-iconv-test.sh: Likewise.
12243 * intl/tst-gettext.sh: Likewise.
12244 * intl/tst-gettext2.sh: Likewise.
12245 * intl/tst-gettext4.sh: Likewise.
12246 * intl/tst-gettext6.sh: Likewise.
12247 * intl/tst-translit.sh: Likewise.
12248 * io/ftwtest-sh: Likewise.
12249 * libio/test-freopen.sh: Likewise.
12250 * malloc/tst-mtrace.sh: Likewise.
12251 * posix/globtest.sh: Likewise.
12252 * posix/tst-getconf.sh: Likewise.
12253 * posix/wordexp-tst.sh: Likewise.
12254 * stdio-common/tst-printf.sh: Likewise.
12255 * stdio-common/tst-unbputc.sh: Likewise.
12256 * stdlib/tst-fmtmsg.sh: Likewise.
12257 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12258 * catgets/Makefile: Do not specify -e option when running
12259 testsuite shell scripts.
12260 * elf/Makefile: Likewise.
12261 * grp/Makefile: Likewise.
12262 * iconvdata/Makefile: Likewise.
12263 * intl/Makefile: Likewise.
12264 * io/Makefile: Likewise.
12265 * libio/Makefile: Likewise.
12266 * malloc/Makefile: Likewise.
12267 * posix/Makefile: Likewise.
12268 * stdio-common/Makefile: Likewise.
12269 * stdlib/Makefile: Likewise.
12270 * sysdeps/x86_64/Makefile: Likewise.
12272 * io/ftwtest-sh: Add copyright header.
12273 * posix/globtest.sh: Likewise.
12274 * posix/tst-getconf.sh: Likewise.
12275 * posix/wordexp-tst.sh: Likewise.
12276 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12278 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12281 * Makeconfig (+link): Defined as $(+link-static) if
12282 $(build-shared) isn't yes.
12283 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12285 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12287 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12290 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12291 new chunk size with MALLOC_ALIGN_MASK.
12293 2012-09-24 Joseph Myers <joseph@codesourcery.com>
12296 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12298 (__printf_fphex): Determine rounding using get_rounding_mode and
12300 * stdio-common/tst-printf-round.c (struct hex_test): New
12302 (hex_tests): New variable.
12303 (test_hex_in_one_mode): New function.
12304 (do_test): Also run tests for hex float output.
12306 2012-09-21 Joseph Myers <joseph@codesourcery.com>
12308 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12309 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12310 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12311 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12312 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12313 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12314 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12315 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12317 2012-09-20 Joseph Myers <joseph@codesourcery.com>
12319 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12320 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12321 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12322 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12324 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12327 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12329 * elf/tst-rtld-load-self.sh: New test.
12330 * elf/Makefile: Run it.
12332 2012-09-18 Joseph Myers <joseph@codesourcery.com>
12334 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12335 (tst-writev-ENV): Remove.
12336 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12338 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12340 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12342 2012-09-17 Joseph Myers <joseph@codesourcery.com>
12344 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12346 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12348 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12349 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12350 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12353 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12356 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12357 * config.make.in (have-cpp-asm-debuginfo): Removed.
12358 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12359 * configure: Regenerated.
12361 2012-09-14 Joseph Myers <joseph@codesourcery.com>
12364 * stdio-common/printf_fp.c: Include <stdbool.h> and
12366 (___printf_fp): Determine rounding using get_rounding_mode and
12368 * stdio-common/tst-printf-round.c: New file.
12369 * stdio-common/Makefile (tests): Add tst-printf-round.
12370 (link-libm): New variable.
12371 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12373 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12376 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12377 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12379 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12382 2012-09-13 Joseph Myers <joseph@codesourcery.com>
12384 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12385 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12386 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12387 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12389 2012-09-12 Joseph Myers <joseph@codesourcery.com>
12392 * include/rounding-mode.h: New file.
12393 * sysdeps/generic/get-rounding-mode.h: Likewise.
12394 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12395 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12396 (MAX_VALUE): New macro.
12397 (MIN_VALUE): Likewise.
12398 (overflow_value): New function.
12399 (underflow_value): Likewise.
12400 (round_and_return): Use overflow_value and underflow_value to
12401 determine return values in overflow and underflow cases. Use
12402 round_away to determine rounding depending on rounding mode.
12403 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12404 determine return values in overflow and underflow cases.
12405 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12406 (struct test_results): New structure.
12407 (struct test): Use struct test_results to store expected results
12408 for all rounding modes.
12409 (TEST): Include expected results for all rounding modes.
12410 (test_in_one_mode): New function.
12411 (do_test): Use test_in_one_mode to compute and check results.
12412 Check results for all rounding modes.
12413 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12416 2012-12-09 Allan McRae <allan@archlinux.org>
12418 * sysdeps/i386/fpu/libm-test-ulps: Update
12420 2012-09-11 Joseph Myers <joseph@codesourcery.com>
12422 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12423 (_G_int32_t): Likewise.
12424 (_G_uint16_t): Likewise.
12425 (_G_uint32_t): Likewise.
12426 (_G_HAVE_BOOL): Likewise.
12427 (_G_HAVE_ATEXIT): Likewise.
12428 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12429 (_G_HAVE_IO_FILE_OPEN): Likewise.
12430 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12431 (_G_int32_t): Likewise.
12432 (_G_uint16_t): Likewise.
12433 (_G_uint32_t): Likewise.
12434 (_G_HAVE_BOOL): Likewise.
12435 (_G_HAVE_ATEXIT): Likewise.
12436 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12437 (_G_HAVE_IO_FILE_OPEN): Likewise.
12438 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12439 (_G_int32_t): Likewise.
12440 (_G_uint16_t): Likewise.
12441 (_G_uint32_t): Likewise.
12442 (_G_HAVE_BOOL): Likewise.
12443 (_G_HAVE_ATEXIT): Likewise.
12444 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12445 (_G_HAVE_IO_FILE_OPEN): Likewise.
12447 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12449 * csu/libc-tls.c: Update copyright years.
12451 2012-09-10 Joseph Myers <joseph@codesourcery.com>
12453 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12454 [!_G_USING_THUNKS]: Remove conditional code.
12455 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12456 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12458 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12459 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12460 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12461 (_G_VTABLE_LABEL_PREFIX): Likewise.
12462 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12463 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12464 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12465 (_G_VTABLE_LABEL_PREFIX): Likewise.
12466 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12467 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12468 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12469 (_G_VTABLE_LABEL_PREFIX): Likewise.
12470 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12472 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12474 * libio/Makefile: Include ../Makeconfig before tests.
12475 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12476 only if $(build-shared) is yes.
12478 * iconv/gconv_db.c: Update copyright years.
12480 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12482 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12483 unwind info if defined PIC. Fix special cases description.
12484 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12486 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12488 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12490 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12492 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12494 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12497 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12498 (LDLIBS-tst-chk4): This.
12499 (LDFLAGS-tst-chk5): Renamed to ...
12500 (LDLIBS-tst-chk5): This.
12501 (LDFLAGS-tst-chk6): Renamed to ...
12502 (LDLIBS-tst-chk6): This.
12503 (LDFLAGS-tst-lfschk4): Renamed to ...
12504 (LDLIBS-tst-lfschk4): This.
12505 (LDFLAGS-tst-lfschk5): Renamed to ...
12506 (LDLIBS-tst-lfschk5): This.
12507 (LDFLAGS-tst-lfschk6): Renamed to ...
12508 (LDLIBS-tst-lfschk6): This.
12510 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12511 on $(common-objpfx)soversions.mk.
12513 2012-09-07 Joseph Myers <joseph@codesourcery.com>
12516 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12519 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12521 * malloc/arena.c (arena_get_retry): New function that gets
12522 another arena for the caller to try its request on.
12523 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12524 current arena cannot fulfill the request.
12525 (__libc_memalign): Likewise.
12526 (__libc_memalign): Likewise.
12527 (__libc_pvalloc): Likewise.
12528 (__libc_calloc): Likewise.
12530 2012-09-05 John Tobey <john.tobey@gmail.com>
12533 * manual/arith.texi (Operations on Complex): Fix description
12534 of carg branch cut.
12536 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12539 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12543 * manual/memory.texi (Memory): Make order of menu items match
12546 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12548 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12549 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12550 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12552 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12554 * csu/libc-tls.c (static_dtv): Renamed to ...
12555 (_dl_static_dtv): This. Make it global.
12556 (_dl_initial_dtv): Removed.
12557 (__libc_setup_tls): Updated.
12558 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12559 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12562 2012-09-06 Petr Machata <pmachata@redhat.com>
12564 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12565 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12566 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12567 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12569 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12572 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12573 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12576 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12579 * Makeconfig (link-static-before-libc): Replace $(+prector)
12581 (link-static-after-libc): Replace $(+postctor) with
12583 (link-bounded): Replace $(+prector)/$(+postctor) with
12584 $(+prectorT)/$(+postctorT).
12585 (+prectorT): New macro.
12586 (+postctorT): Likewise.
12588 2012-09-06 Joseph Myers <joseph@codesourcery.com>
12590 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12591 (round_str): Handle values above the maximum for IBM long double
12593 * stdlib/tst-strtod-round.c (tests): Regenerated.
12595 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12597 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12599 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12600 zarch_nohighgprs around the zarch optimized routines.
12601 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12602 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12603 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12606 2012-09-05 David S. Miller <davem@davemloft.net>
12608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12610 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12611 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12612 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12613 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12616 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12618 * malloc/arena.c: Fold copyright years.
12619 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12621 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12623 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12625 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12627 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12629 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12631 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12632 change internal state upon failure.
12634 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
12636 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12637 * malloc/memusage.c (mmap): Likewise.
12638 (mmap64, mremap): Likewise. Adjust name in comment.
12640 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12642 * libio/fileops.c: Fix typos in comments.
12643 * libio/oldfileops.c: Likewise.
12644 * libio/wfileops.c: Likewise.
12646 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12649 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12650 (tst-malloc-usable-ENV): Set environment for test case.
12651 * malloc/hooks.c (malloc_check_get_size): New function to get
12653 * malloc/malloc.c (musable): Use malloc_check_get_size.
12654 * malloc/tst-malloc-usable.c: New test case.
12656 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12658 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12660 2012-09-05 Allan McRae <allan@archlinux.org>
12663 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12664 determine header location.
12665 * configure: Regenerated.
12667 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12669 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12671 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
12672 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12674 (test): Regenerate.
12676 2012-09-04 David S. Miller <davem@davemloft.net>
12678 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12679 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12680 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12682 2012-09-04 Florian Weimer <fweimer@redhat.com>
12684 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12687 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12689 2012-09-04 Joseph Myers <joseph@codesourcery.com>
12692 * libio/iogetdelim.c: Include <limits.h>.
12693 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12694 + len + 1 would overflow.
12696 2012-09-03 Andreas Jaeger <aj@suse.de>
12698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12699 * sysdeps/i386/fpu/libm-test-ulps: Update.
12701 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12703 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12704 Add s_sinf-sse2, s_conf-sse2.
12706 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12707 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12708 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12709 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12711 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12712 for using routine as __sinf_ia32.
12713 Use macro for function declaration and weak_alias.
12714 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12715 for using routine as __cosf_ia32.
12716 Use macro for function declaration and weak_alias.
12718 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12719 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12721 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12722 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12725 * math/libm-test.inc (cos_test): Add more test cases.
12726 (sin_test): Likewise.
12727 (sincos_test): Likewise.
12729 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12731 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12732 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12734 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12736 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12739 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12740 first element of the GOT.
12741 (elf_machine_load_address): Return the difference between
12742 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12744 2012-09-01 Allan McRae <allan@archlinux.org>
12747 * configure.in (AWK): Require gawk version 3.0 or later.
12748 * configure: Regenerated.
12750 2012-09-01 Joseph Myers <joseph@codesourcery.com>
12752 * sysdeps/unix/sysv/linux/kernel-features.h
12753 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12754 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12755 [__NR_clock_getres]: Make code unconditional.
12756 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12757 (clock_getcpuclockid): Remove code left unreachable by removal of
12759 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12760 code unconditional.
12761 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12762 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12763 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12764 Make code unconditional.
12765 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12766 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12767 * sysdeps/unix/sysv/linux/clock_settime.c
12768 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12770 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12771 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12773 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12776 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12777 scripts/test-installation.pl.
12779 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12780 and $ld_so_version if it is set.
12782 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12785 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12786 failure if reading from procfs failed.
12787 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12789 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12791 * sysdeps/unix/sysv/linux/kernel-features.h
12792 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12793 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12794 Remove conditional code.
12795 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12796 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12797 Remove conditional code.
12798 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12799 * sysdeps/unix/sysv/linux/i386/fxstat.c
12800 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12801 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12802 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12803 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12804 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12805 * sysdeps/unix/sysv/linux/i386/lxstat.c
12806 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12808 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12809 Remove conditional code.
12810 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12811 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12812 Remove conditional code.
12813 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12814 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12815 <kernel-features.h>.
12816 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12818 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12819 Remove conditional code.
12820 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12821 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12822 Remove conditional.
12824 2012-08-27 Mike Frysinger <vapier@gentoo.org>
12827 * NEWS: Add fixed bug number.
12829 2012-08-27 Joseph Myers <joseph@codesourcery.com>
12832 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12833 underflowing exponent in case of negative sign.
12834 * stdlib/tst-strtod-round-data: Add more tests.
12835 * stdlib/tst-strtod-round.c (tests): Regenerated.
12838 * stdlib/strtod_l.c (NDIG): Remove.
12839 (HEXNDIG): Likewise.
12840 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12841 smallest representable value.
12842 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12843 lie within an exact representation of 1/2 ulp of the result.
12844 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12846 (TENS_P9_IDX): Define unconditionally.
12847 (TENS_P9_SIZE): Likewise.
12848 (TENS_P10_IDX): Likewise.
12849 (TENS_P10_SIZE): Likewise.
12850 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12851 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12852 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12853 entries for 10^2^13 and 10^2^14.
12854 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12855 (TENS_P13_IDX): Define.
12856 (TENS_P13_SIZE): Likewise.
12857 (TENS_P14_IDX): Likewise.
12858 (TENS_P14_SIZE): Likewise.
12859 (_fpioconst_pow10): Change array size to
12860 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12862 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12863 1024]: Add entries for 10^2^13 and 10^2^14.
12864 [LAST_POW10 > _LAST_POW10]: Remove #error.
12865 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12866 (_fpioconst_pow10): Change array size to
12867 FPIOCONST_POW10_ARRAY_SIZE.
12868 * stdlib/gen-fpioconst.c: New file.
12869 * stdlib/gen-tst-strtod-round.c: Likewise.
12870 * stdlib/tst-strtod-round-data: Likewise.
12871 * stdlib/tst-strtod-round.c: Likewise.
12872 * stdlib/Makefile (tests): Add tst-strtod-round.
12875 * stdlib/strtod_l.c: Include <stdint.h>.
12876 (NDEBUG): Do not define.
12877 (round_and_return): Change EXPONENT parameter to type intmax_t.
12878 Rearrange calculations to avoid internal overflow possibilities.
12879 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12880 Rearrange calculations to avoid internal overflow possibilities.
12881 Assert that number fits inside MPNSIZE limbs.
12882 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12883 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12884 calculations and add assertions to avoid internal overflow
12885 possibilities. Add casts to avoid signed/unsigned operations.
12886 * stdlib/tst-strtod-overflow.c: New file.
12887 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12889 2012-08-25 Marek Polacek <polacek@redhat.com>
12891 * time/time.h: Fix some typos in comments.
12893 2012-08-23 Roland McGrath <roland@hack.frob.com>
12895 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12896 * posix/tst-rfc3484-2.c: Likewise.
12897 * posix/tst-rfc3484-3.c: Likewise.
12899 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12901 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12902 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12904 2012-08-23 Joseph Myers <joseph@codesourcery.com>
12906 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12907 #include of fxstatat64.c.
12909 2012-08-22 Roland McGrath <roland@hack.frob.com>
12911 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12912 * shadow/getspent_r.c: Likewise.
12913 * shadow/getspnam.c: Likewise.
12914 * shadow/getspnam_r.c: Likewise.
12915 * gshadow/getsgent.c: Likewise.
12916 * gshadow/getsgent_r.c: Likewise.
12917 * gshadow/getsgnam.c: Likewise.
12918 * gshadow/getsgnam_r.c: Likewise.
12919 * inet/getnetbyad.c: Likewise.
12920 * inet/getnetbyad_r.c: Likewise.
12921 * inet/getnetbynm.c: Likewise.
12922 * inet/getnetbynm_r.c: Likewise.
12923 * inet/getnetent.c: Likewise.
12924 * inet/getnetent_r.c: Likewise.
12925 * inet/getproto.c: Likewise.
12926 * inet/getproto_r.c: Likewise.
12927 * inet/getprtent.c: Likewise.
12928 * inet/getprtent_r.c: Likewise.
12929 * inet/getprtname.c: Likewise.
12930 * inet/getprtname_r.c: Likewise.
12931 * inet/getrpcbyname.c: Likewise.
12932 * inet/getrpcbyname_r.c: Likewise.
12933 * inet/getrpcbynumber.c: Likewise.
12934 * inet/getrpcbynumber_r.c: Likewise.
12935 * inet/getrpcent.c: Likewise.
12936 * inet/getrpcent_r.c: Likewise.
12937 * inet/getaliasent.c: Likewise.
12938 * inet/getaliasent_r.c: Likewise.
12939 * inet/getaliasname.c: Likewise.
12940 * inet/getaliasname_r.c: Likewise.
12941 * nscd/getgrgid_r.c: Likewise.
12942 * nscd/getgrnam_r.c: Likewise.
12943 * nscd/gethstbyad_r.c: Likewise.
12944 * nscd/gethstbynm3_r.c: Likewise.
12945 * nscd/getpwnam_r.c: Likewise.
12946 * nscd/getpwuid_r.c: Likewise.
12947 * nscd/getsrvbynm_r.c: Likewise.
12948 * nscd/getsrvbypt_r.c: Likewise.
12949 * nscd/gai.c: Likewise.
12951 * configure.in (build_nscd): New substituted variable, set
12952 by --disable-build-nscd and defaults to $use_nscd.
12953 * configure: Regenerated.
12954 * config.make.in (build-nscd): New substituted variable.
12955 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12956 Change conditional to require [$(build-nscd) = yes] as well.
12957 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12960 * configure.in (use_nscd): New substituted variable, set by
12961 --disable-nscd. If enabled, define USE_NSCD.
12962 * configure: Regenerated.
12963 * config.h.in: Add USE_NSCD.
12964 * config.make.in (use-nscd): New substituted variable.
12965 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12966 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12967 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12968 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12969 (CFLAGS-getgrnam_r.c): Likewise.
12970 (CFLAGS-initgroups.c): Likewise.
12971 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12972 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12974 * inet/getnetgrent_r.c
12975 (nscd_setnetgrent): New function, broken out of ...
12976 (setnetgrent): ... here. Call it.
12977 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12978 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12979 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12980 * nscd/Makefile (routines, aux): Move definitions after include of
12981 Makeconfig. Conditionalize on [$(use-nscd) != no].
12982 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12983 Conditionalize on [USE_NSCD].
12984 (is_nscd, nscd_init_cb): Likewise.
12985 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12986 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12987 * nss/nss_db/db-init.c: Likewise.
12988 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12990 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12991 (make_request): Use it.
12992 (cache_valid_p): New function.
12993 (__check_pf): Use it.
12994 * NEWS: Add item for --disable-nscd.
12996 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12998 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12999 to support sed >= 4.2.1-20-ga9bf076.
13000 * configure: Regenerated.
13002 2012-08-22 Roland McGrath <roland@hack.frob.com>
13004 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13005 Conditionalize whole body on [IREL].
13007 2012-08-22 Jeff Law <law@redhat.com>
13010 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13011 if the family is PF_UNSPEC.
13013 2012-08-22 Mike Frysinger <vapier@gentoo.org>
13015 * Makerules (lib-version): Rename from V.
13016 (install-lib-nosubdir): Change V to lib-version.
13018 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13021 * powerpc32/power6/wcschr.c: New file.
13022 * powerpc32/power6/wcscpy.c: New file.
13023 * powerpc32/power6/wcsrchr.c: New file.
13024 * powerpc64/power6/wcschr.c: New file.
13025 * powerpc64/power6/wcscpy.c: New file.
13026 * powerpc64/power6/wcsrchr.c: New file.
13028 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13030 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13031 (two_way_short_needle): Use it.
13032 * string/strstr.c (AVAILABLE1_USES_J): Define.
13033 * string/strcasestr.c: Likewise.
13035 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13037 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13040 * NEWS: Add an entry.
13041 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13042 define their defaults.
13043 (two_way_short_needle): Detect end-of-string on-the-fly.
13044 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13045 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13046 * string/bug-strcasestr1.c: New test.
13047 * string/Makefile: Run it.
13049 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13052 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13053 the first character.
13055 2012-08-21 Roland McGrath <roland@hack.frob.com>
13057 * csu/elf-init.c (__libc_csu_irel): Function removed.
13058 * csu/libc-start.c (apply_irel): New function.
13059 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13061 2012-08-21 Joseph Myers <joseph@codesourcery.com>
13063 * sysdeps/unix/sysv/linux/kernel-features.h
13064 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13065 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13066 <kernel-features.h>.
13067 [__NR_fadvise64_64]: Make code unconditional.
13068 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13069 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13070 !__NR_fadvise64_64)]: Likewise.
13071 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13072 !__NR_fadvise64_64))]: Likewise.
13073 [__NR_fadvise64]: Make code unconditional.
13074 [!__NR_fadvise64]: Remove conditional code.
13075 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13076 <kernel-features.h>.
13077 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13079 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13082 not include <kernel-features.h>.
13083 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13085 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13087 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13088 include <kernel-features.h>.
13089 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13091 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13094 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13096 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13097 slight instruction rearrangements per scrollpipe analysis.
13098 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13100 2012-08-20 Roland McGrath <roland@hack.frob.com>
13102 * manual/syslog.texi (syslog; vsyslog, closelog):
13103 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13104 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13106 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13107 DSOCAPS to match condition on defining it.
13109 2012-08-20 Joseph Myers <joseph@codesourcery.com>
13111 * sysdeps/unix/sysv/linux/kernel-features.h
13112 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13114 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13115 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13117 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13118 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13120 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13121 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13123 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13124 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13126 * sysdeps/unix/sysv/linux/kernel-features.h
13127 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13128 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13130 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13131 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13132 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13133 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13134 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13135 Make code unconditional.
13136 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13137 (__mmap64) [!__NR_mmap2]: Likewise.
13138 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13139 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13140 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13141 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13142 [__NR_mmap2]: Make code unconditional.
13143 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13144 (__mmap64) [!__NR_mmap2]: Likewise.
13146 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13148 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13150 2012-08-18 Andreas Jaeger <aj@suse.de>
13152 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13154 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13156 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13157 * include/unistd.h (__have_sock_cloexec): Likewise.
13158 (__have_pipe2): Likewise.
13159 (__have_dup3): Likewise.
13161 2012-08-18 Mike Frysinger <vapier@gentoo.org>
13164 * include/unistd.h (__have_pipe2): Change define into an extern int.
13165 (__have_dup3): Likewise.
13166 * socket/have_sock_cloexec.c: Include fcntl.h.
13167 (__have_pipe2): New variable.
13168 (__have_dup3): Likewise.
13170 2012-08-17 Mike Frysinger <vapier@gentoo.org>
13172 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13174 2012-08-17 Marek Polacek <polacek@redhat.com>
13176 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13177 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13179 2012-08-17 Roland McGrath <roland@hack.frob.com>
13181 * configure.in: Add AC_SUBST for sysheaders.
13182 * configure: Regenerated.
13183 * config.make.in (sysheaders): New substituted variable.
13185 * sysdeps/unix/mkfifo.c: Moved ...
13186 * sysdeps/posix/mkfifo.c: ... here.
13187 * sysdeps/unix/mkfifoat.c: Moved ...
13188 * sysdeps/posix/mkfifoat.c: ... here.
13190 * sysdeps/unix/utime.c: Moved ...
13191 * sysdeps/posix/utime.c: ... here.
13193 * sysdeps/unix/time.c: Moved ...
13194 * sysdeps/posix/time.c: ... here.
13195 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13196 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
13198 * sysdeps/unix/nice.c: Moved ...
13199 * sysdeps/posix/nice.c: ... here.
13201 * sysdeps/unix/alarm.c: Moved ...
13202 * sysdeps/posix/alarm.c: ... here.
13204 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13206 2012-08-17 Jeff Law <law@redhat.com>
13208 * intl/Makefile (codeset_mo): New variable.
13209 ($(codeset_mo)): New target.
13210 (tst-codeset.out): Depend on that. Remove explicit rule.
13211 (tst-gettext3.out, tst-gettext5.out): Likewise.
13212 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13213 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13214 * intl/tst-codeset.sh: Remove.
13215 * intl/tst-gettext3.sh: Likewise.
13216 * intl/tst-gettext5.sh: Likewise.
13218 2012-08-17 Roland McGrath <roland@hack.frob.com>
13220 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13221 * sysdeps/unix/syscalls.list: ... here.
13223 * sysdeps/posix/getaddrinfo.c
13224 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13225 (gaiconf_init, gaiconf_reload): Use them.
13226 [!_STATBUF_ST_NSEC]
13227 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13228 Define using time_t rather than struct timespec.
13230 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13231 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13233 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13235 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13236 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13239 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13240 __libc_cleanup_push argument.
13242 * bits/param.h: New file.
13243 * misc/sys/param.h: New file.
13244 * include/sys/param.h: New file.
13245 * misc/Makefile (headers): Add bits/param.h.
13246 * sysdeps/generic/sys/param.h: File removed.
13247 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13248 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13249 * sysdeps/mach/hurd/bits/param.h: New file.
13250 * sysdeps/mach/hurd/sys/param.h: File removed.
13252 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13255 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13257 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13258 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13261 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13262 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13263 rather than -D_IO_MTSAFE_IO conditionally.
13264 * stdio-common/Makefile (CPPFLAGS): Likewise.
13265 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13266 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13267 Use $(libio-mtsafe).
13268 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13269 of -D_IO_MTSAFE_IO.
13270 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13271 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13272 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13273 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13274 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13275 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13276 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13277 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13278 (CFLAGS-fread_u_chk.c): Likewise.
13279 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13280 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13281 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13282 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13283 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13284 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13285 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13286 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13287 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13289 * libio/Makefile: Test [$(libc-reentrant) = yes]
13290 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13293 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13294 * sysdeps/pthread/configure: File removed.
13295 * sysdeps/pthread/Makeconfig: New file.
13296 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13297 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13299 2012-08-16 Gary Benson <gbenson@redhat.com>
13301 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13302 unmapping the first object in a namespace.
13304 2012-08-16 Roland McGrath <roland@hack.frob.com>
13306 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13307 (__internal_setnetgrent): ... this. Add internal_function to
13308 definition. Add libc_hidden_def.
13309 (setnetgrent): Update caller.
13310 (internal_endnetgrent): Renamed to ...
13311 (__internal_endnetgrent): ... this. Add internal_function to
13312 definition. Add libc_hidden_def.
13313 (endnetgrent): Update caller.
13314 (internal_getnetgrent_r): Renamed to ...
13315 (__internal_getnetgrent_r): ... this. Add internal_function to
13316 definition. Add libc_hidden_def.
13317 (__getnetgrent_r): Update caller.
13318 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13320 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13322 * stdlib/longlong.h: Update from GCC.
13324 2012-08-16 Roland McGrath <roland@hack.frob.com>
13326 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13327 on _QL, which is set by umul_ppmm but never used.
13328 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13329 variables, which are set by GMP macros but never used.
13330 * stdio-common/_itowa.c (_itowa): Likewise.
13331 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13332 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13334 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13336 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13337 struct La_sh_regs is not constant.
13338 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13339 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13340 and struct La_sparc64_regs are not constant.
13342 2012-08-16 Joseph Myers <joseph@codesourcery.com>
13344 * sysdeps/unix/sysv/linux/kernel-features.h
13345 (__ASSUME_POSIX_TIMERS): Remove.
13346 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13347 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13348 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13349 Make code unconditional.
13350 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13351 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13352 Make code unconditional.
13353 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13354 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13355 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13356 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13357 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13358 Make code unconditional.
13359 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13360 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13361 (__libc_missing_posix_timers): Remove.
13363 2012-08-15 Roland McGrath <roland@hack.frob.com>
13365 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13366 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13368 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13370 * elf/dl-sym.c: Include <stdlib.h>.
13372 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13373 constants, which avoids warnings in 32-bit builds.
13375 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13376 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13378 * misc/lseek.c: File moved to ...
13379 * io/lseek.c: ... here.
13381 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13383 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13384 shifting LEN more than 31 bits at once.
13386 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13389 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13390 segmentation fault for a case of two empty input strings.
13391 * string/test-strncasecmp.c (check1): Renamed to...
13392 (bz12205): ...this.
13393 (bz14195): Add new testcase for two empty input strings and N > 0.
13394 (test_main): Call new testcase, adapt for renamed function.
13396 2012-08-15 Andreas Jaeger <aj@suse.de>
13399 * crypt/md5test2.c: New test, based on test supplied by Serge
13400 Belyshev <belyshev@depni.sinp.msu.ru>.
13401 * crypt/Makefile (xtests): Add md5test-giant..
13402 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13404 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13407 * crypt/md5.c (md5_process_block): Don't assume the buffer
13408 length is less than 2**32.
13409 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13410 length is less than 2**64.
13412 2012-08-15 Roland McGrath <roland@hack.frob.com>
13414 * string/str-two-way.h: Include <sys/param.h>.
13415 (MAX): Macro removed.
13417 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13418 Move #define and #undef of memmove to just before and after
13419 including <string.h>.
13421 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13422 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13423 and after including <string.h>. Move declarations of
13424 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13425 to before #include "string/memmove.c".
13427 * include/dirent.h: Declare __getdirentries.
13429 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13430 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13432 2012-08-14 Mike Frysinger <vapier@gentoo.org>
13434 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13435 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13436 * sysdeps/i386/configure: Regenerated.
13437 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13438 STABS_CURRENT_FILE, and STABS_FUN.
13439 (END): Remove call to STABS_FUN_END.
13440 (STABS_CURRENT_FILE1): Delete.
13441 (STABS_CURRENT_FILE): Likewise.
13442 (STABS_FUN): Likewise.
13443 (STABS_FUN_END): Likewise.
13444 (STABS_FUN2): Likewise.
13445 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13446 * sysdeps/x86_64/configure: Regenerated.
13448 2012-08-14 Roland McGrath <roland@hack.frob.com>
13450 * elf/dl-open.c: Include <atomic.h>.
13451 * elf/dl-lookup.c: Likewise.
13453 2012-08-14 Joseph Myers <joseph@codesourcery.com>
13455 * sysdeps/unix/sysv/linux/kernel-features.h
13456 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13457 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13459 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13461 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13462 condition on __ASSUME_CLONE_THREAD_FLAGS.
13464 2012-08-14 Andreas Jaeger <aj@suse.de>
13466 * sysdeps/i386/fpu/libm-test-ulps: Update.
13468 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13470 * include/atomic.h (atomic_exchange_and_add): Split into ...
13471 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13474 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13478 2012-08-13 Jeff Law <law@redhat.com>
13480 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13481 null byte in the output string.
13483 2012-08-10 Joseph Myers <joseph@codesourcery.com>
13485 * sysdeps/unix/sysv/linux/kernel-features.h
13486 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13487 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13488 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13489 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13490 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13491 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13492 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13494 2012-08-09 Jeff Law <law@redhat.com>
13497 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13498 When avoid_arena is set, don't retry in the that arena. Pick the
13499 next one, whatever it might be.
13500 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13501 (arena_lock): Pass in new parameter to arena_get2.
13502 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13504 (__libc_malloc): Unify retrying after main arena failure with
13505 __libc_memalign version.
13506 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13508 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13511 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13512 to __redirect_strstr.
13513 (__strstr_sse42): Use typeof __redirect_strstr.
13514 (__strstr_ia32): Likewise.
13515 (__libc_strstr): New prototype.
13516 (strstr): Renamed to ...
13517 (__libc_strstr): This.
13518 (strstr): New strong alias of __libc_strstr.
13519 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13520 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13523 (__libc_time): New prototype.
13524 (time_ifunc): Replace time with __libc_time.
13525 (time): New strong alias and hidden definition of __libc_time.
13526 (__GI_time): Remove strong alias.
13527 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13528 Include <stddef.h>.
13529 (memmove): Redefined to __redirect_memmove.
13530 (__memmove_sse2): Use typeof __redirect_memmove.
13531 (__memmove_ssse3): Likewise.
13532 (__memmove_ssse3_back): Likewise.
13533 (__libc_memmove): New prototype.
13534 (memmove): Renamed to ...
13535 (__libc_memmove): This.
13536 (memmove): New strong alias of __libc_memmove.
13538 2012-08-08 Mark Salter <msalter@redhat.com>
13541 (R_MN10300_TLS_GD): Define.
13542 (R_MN10300_TLS_LD): Likewise.
13543 (R_MN10300_TLS_LDO): Likewise.
13544 (R_MN10300_TLS_GOTIE): Likewise.
13545 (R_MN10300_TLS_IE): Likewise.
13546 (R_MN10300_TLS_LE): Likewise.
13547 (R_MN10300_TLS_DTPMOD): Likewise.
13548 (R_MN10300_TLS_DTPOFF): Likewise.
13549 (R_MN10300_TLS_TPOFF): Likewise.
13550 (R_MN10300_SYM_DIFF): Likewise.
13551 (R_MN10300_ALIGN): Likewise.
13552 (R_MN10300_NUM): Update.
13554 2012-08-08 Joseph Myers <joseph@codesourcery.com>
13556 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13559 2012-08-08 Roland McGrath <roland@hack.frob.com>
13561 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13563 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13564 sysdeps/unix -> sysdeps/posix move.
13565 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13567 2012-08-07 Allan McRae <allan@archlinux.org>
13570 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13571 (SUNOS_CPP): Likewise.
13572 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13574 (open_input): Call CPP using execvp.
13576 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13578 * sysdeps/unix/sysv/linux/kernel-features.h
13579 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13580 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13581 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13582 (__ASSUME_WAITID_SYSCALL): Likewise.
13583 * sysdeps/unix/sysv/linux/dl-execstack.c
13584 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13585 code unconditional.
13586 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13588 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13589 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13590 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13592 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13594 [__ASSUME_WAITID_SYSCALL]: Likewise.
13595 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13597 2012-08-07 Roland McGrath <roland@hack.frob.com>
13599 * sysdeps/unix/closedir.c: Renamed to ...
13600 * sysdeps/posix/closedir.c: ... here.
13601 * sysdeps/unix/dirfd.c: Renamed to ...
13602 * sysdeps/posix/dirfd.c: ... here.
13603 * sysdeps/unix/dirstream.h: Renamed to ...
13604 * sysdeps/posix/dirstream.h: ... here.
13605 * sysdeps/unix/fdopendir.c: Renamed to ...
13606 * sysdeps/posix/fdopendir.c: ... here.
13607 * sysdeps/unix/opendir.c: Renamed to ...
13608 * sysdeps/posix/opendir.c: ... here.
13609 * sysdeps/unix/readdir.c: Renamed to ...
13610 * sysdeps/posix/readdir.c: ... here.
13611 * sysdeps/unix/readdir_r.c: Renamed to ...
13612 * sysdeps/posix/readdir_r.c: ... here.
13613 * sysdeps/unix/rewinddir.c: Renamed to ...
13614 * sysdeps/posix/rewinddir.c: ... here.
13615 * sysdeps/unix/seekdir.c: Renamed to ...
13616 * sysdeps/posix/seekdir.c: ... here.
13617 * sysdeps/unix/telldir.c: Renamed to ...
13618 * sysdeps/posix/telldir.c: ... here.
13619 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13620 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13621 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13622 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13624 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13625 * bits/fcntl.h: ... here.
13627 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13629 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13630 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13631 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13632 (struct flock): Move l_start, l_len to the beginning.
13633 Use __pid_t for l_pid.
13634 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13635 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13636 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13637 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13638 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13639 [__USE_LARGEFILE64] (struct flock64): New type.
13640 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13642 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13643 * bits/dirent.h: ... here.
13645 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13646 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13648 2012-08-07 Joseph Myers <joseph@codesourcery.com>
13650 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13651 Change from 2.6.0 to 2.6.16.
13652 * sysdeps/unix/sysv/linux/configure: Regenerated.
13653 * sysdeps/unix/sysv/linux/kernel-features.h
13654 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13655 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13657 (__ASSUME_UTIMES): Likewise.
13658 (__ASSUME_CLONE_STOPPED): Remove.
13659 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13660 architectures, not kernel version.
13661 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13662 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13663 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13664 (__ASSUME_WAITID_SYSCALL): Likewise.
13665 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13666 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13667 * README: State 2.6.16 as minimum Linux kernel version. Do not
13668 refer to older versions.
13670 2012-08-06 Roland McGrath <roland@hack.frob.com>
13672 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13673 Define alphasort64 as an alias.
13674 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13675 Define versionsort64 as an alias.
13676 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13677 Define scandir64 as an alias.
13678 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13679 Define scandirat64 as an alias.
13680 * dirent/alphasort64.c (alphasort64):
13681 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13682 * dirent/versionsort64.c: Likewise.
13683 * dirent/scandir64.c: Likewise.
13684 * dirent/scandirat64.c: Likewise.
13685 * sysdeps/wordsize-64/alphasort.c: File removed.
13686 * sysdeps/wordsize-64/alphasort64.c: File removed.
13687 * sysdeps/wordsize-64/scandir.c: File removed.
13688 * sysdeps/wordsize-64/scandir64.c: File removed.
13689 * sysdeps/wordsize-64/scandirat.c: File removed.
13690 * sysdeps/wordsize-64/scandirat64.c: File removed.
13691 * sysdeps/wordsize-64/versionsort.c: File removed.
13692 * sysdeps/wordsize-64/versionsort64.c: File removed.
13693 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13694 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13695 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13696 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13697 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13698 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13699 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13700 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13702 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13703 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13704 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13705 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13706 [defined __arch64__ || defined __sparcv9]
13707 (__INO_T_MATCHES_INO64_T): New macro.
13708 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13709 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13710 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13711 * sysdeps/unix/sysv/linux/bits/dirent.h
13712 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13713 (_DIRENT_MATCHES_DIRENT64): New macro.
13715 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13716 Define lockf64 as an alias.
13717 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13718 Define fseeko64 as an alias.
13719 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13720 Define ftello64 as an alias.
13721 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13722 Define _IO_fgetpos64 and fgetpos64 as aliases.
13723 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13724 Define _IO_fsetpos64 and fsetpos64 as aliases.
13725 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13726 Conditionalize body on this.
13727 * libio/fseeko64.c: Likewise.
13728 * libio/ftello64.c: Likewise.
13729 * libio/iofgetpos64.c: Likewise.
13730 * libio/iofsetpos64.c: Likewise.
13731 * sysdeps/wordsize-64/lockf.c: File removed.
13732 * sysdeps/wordsize-64/lockf64.c: File removed.
13733 * sysdeps/wordsize-64/fseeko.c: File removed.
13734 * sysdeps/wordsize-64/fseeko64.c: File removed.
13735 * sysdeps/wordsize-64/ftello.c: File removed.
13736 * sysdeps/wordsize-64/ftello64.c: File removed.
13737 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13738 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13739 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13740 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13741 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13742 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13743 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13744 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13745 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13746 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13747 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13748 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13749 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13750 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13752 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13753 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13754 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13755 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13756 [defined __arch64__ || defined __sparcv9]
13757 (__OFF_T_MATCHES_OFF64_T): New macro.
13758 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13759 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13760 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13761 (__OFF_T_MATCHES_OFF64_T): New macro.
13763 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13765 * stdlib/secure-getenv.c (__secure_getenv): Replace
13766 GLIBC_2_16 with GLIBC_2_17.
13768 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13770 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13771 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13773 2012-08-03 David S. Miller <davem@davemloft.net>
13775 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13777 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13779 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13781 (__ASSUME_CORRECT_SI_PID): Likewise.
13782 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13783 (__ASSUME_TMPFS_NAME): Likewise.
13784 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13785 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13786 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13787 (HAVE_AUX_SECURE): Make definition unconditional.
13788 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13789 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13791 2012-08-03 Roland McGrath <roland@hack.frob.com>
13793 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13794 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13795 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13796 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13797 __eloop_threshold instead of SYMLOOP_MAX.
13799 * sysdeps/generic/eloop-threshold.h: New file.
13800 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13802 * elf/chroot_canon.c (chroot_canon): Likewise.
13804 2012-08-03 Joseph Myers <joseph@codesourcery.com>
13807 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13808 Change to 2.6.0 everywhere.
13809 * sysdeps/unix/sysv/linux/configure: Regenerated.
13810 * sysdeps/unix/sysv/linux/kernel-features.h
13811 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13812 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13814 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13815 (__ASSUME_FUTEX_REQUEUE): Remove.
13816 (__ASSUME_STATFS64): Define unconditionally.
13817 (__ASSUME_AT_SECURE): Likewise.
13818 (__ASSUME_CORRECT_SI_PID): Likewise.
13819 (__ASSUME_TGKILL): Define without depending on kernel version for
13821 (__ASSUME_UTIMES): Likewise.
13822 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13824 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13825 (__ASSUME_TMPFS_NAME): Likewise.
13826 * README: Update reference to Linux kernel versions.
13828 2012-08-02 Marek Polacek <polacek@redhat.com>
13831 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13832 libc_cv_asm_type_prefix with %.
13833 * configure: Regenerated.
13834 * include/libc-symbols.h: Remove comment about
13835 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13836 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13837 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13838 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13839 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13840 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13841 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13842 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13843 * elf/tst-unique2mod1.c: Likewise.
13844 * elf/tst-unique1mod2.c: Likewise.
13845 * elf/tst-unique1mod1.c: Likewise.
13846 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13847 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13848 Replace ASM_TYPE_DIRECTIVE with .type.
13849 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13850 * sysdeps/i386/sysdep.h: Likewise.
13851 * sysdeps/x86_64/sysdep.h: Likewise.
13852 * sysdeps/sh/sysdep.h: Likewise.
13853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13854 Do not define ASM_TYPE_DIRECTIVE.
13855 * sysdeps/powerpc/sysdep.h: Likewise.
13856 * sysdeps/powerpc/powerpc32/sysdep.h:
13857 Replace ASM_TYPE_DIRECTIVE with .type.
13858 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13859 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13860 * sysdeps/i386/fpu/e_powf.S: Likewise.
13861 * sysdeps/i386/fpu/e_expl.S: Likewise.
13862 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13863 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13864 * sysdeps/i386/fpu/e_pow.S: Likewise.
13865 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13866 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13867 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13868 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13869 * sysdeps/i386/fpu/e_log2.S: Likewise.
13870 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13871 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13872 * sysdeps/i386/fpu/e_powl.S: Likewise.
13873 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13874 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13875 * sysdeps/i386/fpu/e_logl.S: Likewise.
13876 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13877 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13878 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13879 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13880 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13881 * sysdeps/i386/fpu/e_log.S: Likewise.
13882 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13883 * sysdeps/i386/fpu/e_logf.S: Likewise.
13884 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13885 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13886 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13887 * sysdeps/i386/fpu/e_log10.S: Likewise.
13888 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13889 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13890 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13891 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13892 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13893 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13894 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13895 * sysdeps/i386/i686/strtok.S: Likewise.
13896 * sysdeps/i386/i386-mcount.S: Likewise.
13897 * sysdeps/i386/strtok.S: Likewise.
13898 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13899 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13900 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13901 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13902 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13903 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13904 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13905 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13906 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13907 * sysdeps/x86_64/_mcount.S: Likewise.
13908 * sysdeps/x86_64/strtok.S: Likewise.
13909 * sysdeps/sh/_mcount.S: Likewise.
13911 2012-08-01 Roland McGrath <roland@hack.frob.com>
13913 * libio/iofopen.c: Include <fcntl.h>.
13914 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13915 (_IO_fopen64, fopen64): Define as aliases.
13916 * libio/iofopen64.c: Include <fcntl.h>.
13917 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13918 Conditionalize body on this.
13919 * sysdeps/wordsize-64/iofopen.c: File removed.
13920 * sysdeps/wordsize-64/iofopen64.c: File removed.
13922 2012-08-01 Marek Polacek <polacek@redhat.com>
13924 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13925 Use dlfcn directly instead of a variable.
13926 (binfmt-subdir): Do not define.
13929 2012-08-01 Joseph Myers <joseph@codesourcery.com>
13931 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13932 Remove all definitions.
13933 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13934 <kernel-features.h>.
13935 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13936 (miss_F_GETOWN_EX): Remove all definitions.
13937 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13939 [!__ASSUME_FCNTL64]: Remove conditional code.
13940 [__ASSUME_FCNTL64]: Make code unconditional.
13941 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13942 <kernel-features.h>.
13943 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13944 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13945 (lockf64) [__NR_fcntl64]: Make code unconditional.
13946 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13948 * sysdeps/unix/sysv/linux/kernel-features.h
13949 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13950 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13951 Make code unconditional.
13952 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13953 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13955 [__NR_vfork]: Make code unconditional.
13956 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13957 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13959 [__NR_vfork]: Make code unconditional.
13960 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13961 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13963 2012-08-01 Roland McGrath <roland@hack.frob.com>
13965 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13966 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13968 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13969 Define mkstemp64 as an alias.
13970 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13971 Define mkstemps64 as an alias.
13972 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13973 Define mkostemp64 as an alias.
13974 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13975 Define mkostemps64 as an alias.
13976 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13977 Conditionalize body on this.
13978 * misc/mkostemp64.c: Likewise.
13979 * misc/mkostemps64.c: Likewise.
13980 * misc/mkstemps64.c: Likewise.
13981 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13982 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13983 * sysdeps/wordsize-64/mkostemp.c: File removed.
13984 * sysdeps/wordsize-64/mkstemp.c: File removed.
13985 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13986 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13987 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13988 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13991 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13992 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13993 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13994 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13996 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13997 compat_symbol macros from <shlib-compat.h> rather than the underlying
13998 default_symbol_version and symbol_version macros, so that DEFAULT
13999 lines in shlib-versions are respected.
14000 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14002 2012-08-01 Florian Weimer <fweimer@redhat.com>
14004 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14005 Declare with warn_unused_result.
14006 (setgid, setregid, setegid, setresgid): Likewise.
14007 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14009 * WUR-REPORT: Remove set*id functions.
14011 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14013 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14015 2012-07-31 Roland McGrath <roland@hack.frob.com>
14018 * include/sys/socket.h (__libc_accept, __libc_accept4):
14019 Add attribute_hidden.
14020 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14022 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14024 * inet/getnetgrent_r.c (setup): Likewise.
14026 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14028 2012-07-31 David S. Miller <davem@davemloft.net>
14030 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14032 2012-07-31 Joseph Myers <joseph@codesourcery.com>
14035 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14036 value between 1.0 and 2.0 and smaller part has absolute value less
14038 * math/s_clog10.c (__clog10): Likewise.
14039 * math/s_clog10f.c (__clog10f): Likewise.
14040 * math/s_clog10l.c (__clog10l): Likewise.
14041 * math/s_clogf.c (__clogf): Likewise.
14042 * math/s_clogl.c (__clogl): Likewise.
14043 * math/libm-test.inc (clog_test): Add more tests.
14044 (clog10_test): Likewise.
14045 * sysdeps/i386/fpu/libm-test-ulps: Update.
14046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14048 2012-07-31 Florian Weimer <fweimer@redhat.com>
14050 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14051 Exit with zero in case no suitable GID is found, and write a
14052 message to standard error.
14054 2012-07-30 Roland McGrath <roland@hack.frob.com>
14056 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14058 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14059 (MAXPATHLEN): Removed.
14060 (NOGROUP, NODEV): New macros.
14061 (setbit, clrbit, isset, isclr): New macros.
14062 (howmany, roundup, powerof2): New macros.
14063 (DEV_BSIZE): New macro.
14065 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14066 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14068 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14069 definition on [!__NO_LONG_DOUBLE_MATH].
14071 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14072 PTR_MANGLE and PTR_DEMANGLE.
14074 * socket/accept4.c (accept4): Rename to __libc_accept4.
14075 Define accept4 as a weak alias.
14077 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14078 on [_DIRENT_HAVE_D_TYPE].
14079 * io/ftw.c (ftw_dir): Likewise.
14081 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14083 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14085 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14086 Use the BSD numbers rather than the arbitrary ones we had.
14087 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14088 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14089 (SIGXCPU, SIGXFSZ): New macros.
14092 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14093 initializer on [_LIBC_REENTRANT].
14095 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14096 definitions inside [_POSIX_MAPPED_FILES].
14098 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14100 * dirent/opendir.c: Include <fcntl.h>.
14102 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14103 (__libc_getspecific): Likewise.
14104 (__libc_key_create): Likewise.
14106 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14107 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14108 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14109 (tmpfile64): Define as alias.
14110 * sysdeps/wordsize-64/tmpfile.c: File removed.
14111 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14112 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14113 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14115 * stdio-common/vfscanf.c: Include <stdbool.h>.
14116 * nss/makedb.c: Likewise.
14117 * stdio-common/_i18n_number.h: Likewise.
14118 * argp/argp-help.c: Likewise.
14119 * posix/wordexp.c: Likewise.
14120 * sysdeps/posix/spawni.c: Likewise.
14121 * nss/nss_files/files-initgroups.c: Likewise.
14122 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14123 * nss/nss_files/files-initgroups.c: Likewise.
14124 * nss/nss_db/db-netgrp.c: Likewise.
14125 * nss/nss_db/db-initgroups.c: Likewise.
14126 * io/fchmodat.c: Include <sys/stat.h>.
14128 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14129 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14131 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14134 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14135 Add multiple inclusion protection.
14137 2012-07-27 David S. Miller <davem@davemloft.net>
14139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14141 2012-07-27 Gary Benson <gbenson@redhat.com>
14144 * elf/rtld.c: Include <stap-probe.h>.
14145 (dl_main): Added static probes "init_start" and "init_complete".
14146 * elf/dl-load.c: Include <stap-probe.h>.
14147 (lose): Take new parameter "nsid".
14148 Added static probe "map_failed".
14149 (_dl_map_object_from_fd): Pass namespace id to lose.
14150 Added static probe "map_start".
14151 (open_verify): Pass namespace id to lose.
14152 * elf/dl-open.c: Include <stap-probe.h>.
14153 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14154 and "reloc_complete".
14155 * elf/dl-close.c: Include <stap-probe.h>.
14156 (_dl_close_worker): Added static probes "unmap_start" and
14158 * elf/rtld-debugger-interface.txt: New file documenting the above.
14160 2012-07-26 Roland McGrath <roland@hack.frob.com>
14162 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14163 rather than a string variable.
14164 * sunrpc/rpc_main.c (h_output): Likewise.
14165 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14167 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14169 * inet/check_native.c: New file.
14171 2012-07-26 Joseph Myers <joseph@codesourcery.com>
14174 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14175 if larger part has absolute value 1.0.
14176 * math/s_clog10.c (__clog10): Likewise.
14177 * math/s_clog10f.c (__clog10f): Likewise.
14178 * math/s_clog10l.c (__clog10l): Likewise.
14179 * math/s_clogf.c (__clogf): Likewise.
14180 * math/s_clogl.c (__clogl): Likewise.
14181 * math/libm-test.inc (clog_test): Add more tests.
14182 (clog10_test): Likewise.
14183 * sysdeps/i386/fpu/libm-test-ulps: Update.
14184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14186 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14187 (pltexit): Likewise.
14188 (La_regs): Likewise.
14189 (La_retval): Likewise.
14190 (int_retval): Likewise.
14191 Update #error for removed macros to refer only to definitions in
14193 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14195 (pltexit): Likewise.
14196 (La_regs): Likewise.
14197 (La_retval): Likewise.
14198 (int_retval): Likewise.
14199 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14201 (pltexit): Likewise.
14202 (La_regs): Likewise.
14203 (La_retval): Likewise.
14204 (int_retval): Likewise.
14205 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14207 (pltexit): Likewise.
14208 (La_regs): Likewise.
14209 (La_retval): Likewise.
14210 (int_retval): Likewise.
14211 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14213 (pltexit): Likewise.
14214 (La_regs): Likewise.
14215 (La_retval): Likewise.
14216 (int_retval): Likewise.
14217 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14219 (pltexit): Likewise.
14220 (La_regs): Likewise.
14221 (La_retval): Likewise.
14222 (int_retval): Likewise.
14223 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14225 (pltexit): Likewise.
14226 (La_regs): Likewise.
14227 (La_retval): Likewise.
14228 (int_retval): Likewise.
14229 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14230 macro definitions in tst-audit.h.
14231 * sysdeps/i386/tst-audit.h: New file.
14232 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14233 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14234 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14235 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14236 * sysdeps/sh/tst-audit.h: Likewise.
14237 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14238 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14239 * sysdeps/x86_64/tst-audit.h: Likewise.
14241 2012-07-26 Andreas Jaeger <aj@suse.de>
14243 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14246 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14247 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14248 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14250 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14251 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14252 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14254 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14257 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14259 (si_call_addr, si_syscall, si_arch): Define new macro.
14260 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14262 (si_call_addr, si_syscall, si_arch): Define new marcro.
14263 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14265 (si_call_addr, si_syscall, si_arch): Define new macro.
14266 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14268 (si_call_addr, si_syscall, si_arch): Define new macro.
14270 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14273 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14274 Change to 2.4.21 where previously 2.4.1.
14275 * sysdeps/unix/sysv/linux/configure: Regenerated.
14276 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14277 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14278 Linux kernel version.
14279 (__ASSUME_STD_AUXV): Remove.
14280 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14282 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14283 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14284 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14285 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14286 (__ASSUME_NETLINK_SUPPORT): Likewise.
14287 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14288 (__no_netlink_support): Remove conditional definition.
14289 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14291 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14292 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14293 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14294 (if_nameindex_ioctl): Remove.
14295 (if_nameindex_netlink): Do not handle __no_netlink_support.
14296 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14298 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14299 Remove conditional code.
14300 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14302 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14304 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14305 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14306 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14308 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14309 [!__ASSUME_STD_AUXV]: Remove conditional code.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14311 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14312 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14314 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14315 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14317 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14319 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14320 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14322 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14324 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14327 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14330 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14331 code unconditional.
14332 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14334 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14336 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14339 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14341 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14344 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14345 code unconditional.
14346 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14348 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14350 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14353 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14354 code unconditional.
14355 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14357 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14359 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14362 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14364 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14365 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14366 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14367 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14368 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14369 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14370 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14371 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14372 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14373 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14374 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14375 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14376 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14377 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14378 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14379 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14380 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14381 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14382 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14383 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14384 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14385 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14386 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14388 2012-07-25 Florian Weimer <fweimer@redhat.com>
14390 * Versions.def: Add GLIBC_2.17.
14391 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14392 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14393 Introduce __libc_secure_getenv.
14394 * stdlib/Versions (2.17): Add secure_getenv
14395 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14396 * stdlib/secure-getenv.c: Rename __secure_getenv to
14397 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14398 symbol __secure_getenv for GLIBC_2.0.
14399 * stdlib/tst-secure-getenv.c: New.
14400 * stdlib/Makefile (tests): Add testcase.
14401 * manual/startup.texi (Environment Access): Document
14403 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14404 __libc_secure_getenv.
14405 * inet/ruserpass.c (ruserpass): Likewise.
14406 * malloc/mtrace.c (mtrace): Likewise.
14407 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
14408 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14409 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14410 * sysdeps/posix/tempname.c: Likewise. Evaluate
14411 HAVE_SECURE_GETENV.
14412 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
14413 __secure_getenv to __libc_secure_getenv.
14414 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
14415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14424 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14427 2012-07-25 Joseph Myers <joseph@codesourcery.com>
14429 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14430 (struct La_i86_retval): Likewise.
14431 (struct La_x86_64_regs): Likewise.
14432 (struct La_x86_64_retval): Likewise.
14433 (struct La_x32_regs): Likewise.
14434 (struct La_x32_retval): Likewise.
14435 (struct La_ppc32_regs): Likewise.
14436 (struct La_ppc32_retval): Likewise.
14437 (struct La_ppc64_regs): Likewise.
14438 (struct La_ppc64_retval): Likewise.
14439 (struct La_sh_regs): Likewise.
14440 (struct La_sh_retval): Likewise.
14441 (struct La_s390_32_regs): Likewise.
14442 (struct La_s390_32_retval): Likewise.
14443 (struct La_s390_64_regs): Likewise.
14444 (struct La_s390_64_retval): Likewise.
14445 (struct La_sparc32_regs): Likewise.
14446 (struct La_sparc32_retval): Likewise.
14447 (struct La_sparc64_regs): Likewise.
14448 (struct La_sparc64_retval): Likewise.
14449 (struct audit_ifaces): Remove architecture-specific pltenter and
14451 * sysdeps/i386/ldsodefs.h: New file.
14452 * sysdeps/powerpc/ldsodefs.h: Likewise.
14453 * sysdeps/s390/ldsodefs.h: Likewise.
14454 * sysdeps/sh/ldsodefs.h: Likewise.
14455 * sysdeps/sparc/ldsodefs.h: Likewise.
14456 * sysdeps/x86_64/ldsodefs.h: Likewise.
14458 2012-07-25 Marek Polacek <polacek@redhat.com>
14461 * math/libm-test.inc (yn_test): Add another test.
14462 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14463 to ERANGE when the result is +-Inf.
14464 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14465 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14466 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14467 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14469 2012-07-24 Joseph Myers <joseph@codesourcery.com>
14471 * conform/data/time.h-data (NULL): Use macro-constant. Require
14473 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14475 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14477 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14479 * configure.in <sysdeps resolving>: Correct printing
14481 * configure: Regenerate.
14483 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14485 * math/w_ilogb.c: Include <limits.h>.
14486 * math/w_ilogbl.c: Likewise.
14488 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14490 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14491 va_copy. Document allowing for unavailable va_copy only as
14492 pre-C99 compatibility.
14493 * manual/string.texi (Copying and Concatenation): Use va_copy
14494 instead of __va_copy in concat example.
14496 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14498 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14499 (__sendto): Use create_address_port. Initialize APORT and deallocate
14502 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14503 with O_NOLINK passed to __file_name_lookup.
14505 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14506 with O_NOLINK passed to __file_name_lookup.
14508 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14509 negative N or less than NGIDS.
14511 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14512 type to string_t. Set ERANGE as errno and return it if NAME is not big
14513 enough. Use memcpy instead of strncpy.
14515 2012-07-20 Joseph Myers <joseph@codesourcery.com>
14517 * elf/Makefile (check-data): Remove.
14518 (localplt.data): New vpath directive.
14519 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14520 instead of $(check-data).
14521 * scripts/data/localplt-generic.data: Move to ...
14522 * sysdeps/generic/localplt.data: ... here.
14523 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14524 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14525 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14528 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14531 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14534 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14537 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14540 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14544 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14546 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14547 PPC32 and PPC64 files.
14548 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14549 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14551 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14553 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14554 __makecontext_ret to ...
14555 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14556 ... here and call exit if uc_link is NULL. New file.
14557 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14558 __makecontext_ret.S.
14559 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14560 __makecontext_ret to ...
14561 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14562 ... here and call exit if uc_link is NULL. New file.
14563 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14564 __makecontext_ret.S.
14566 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14568 * elf/elf.h (R_390_IRELATIVE): New definition.
14569 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14570 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14571 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14572 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14573 (elf_machine_lazy_rel): Likewise.
14574 * sysdeps/s390/dl-irel.h: New file.
14575 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14576 * sysdeps/s390/s390-64/memset.S: New asm code.
14577 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14578 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14579 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14580 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14581 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14582 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14583 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14584 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14585 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14586 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14587 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14588 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14589 * sysdeps/s390/s390-32/memset.S: New asm code.
14590 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14592 2012-07-17 Marek Polacek <polacek@redhat.com>
14595 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14596 * sysdeps/s390/s390-64/configure.in: Likewise.
14597 * sysdeps/sparc/configure.in: Likewise.
14598 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14599 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14600 * sysdeps/i386/configure.in: Likewise.
14601 * sysdeps/x86_64/configure.in: Likewise.
14602 * sysdeps/sh/configure.in: Likewise.
14603 * sysdeps/s390/s390-32/configure: Regenerated.
14604 * sysdeps/s390/s390-64/configure: Likewise.
14605 * sysdeps/x86_64/configure: Likewise.
14606 * sysdeps/sh/configure: Likewise.
14607 * sysdeps/powerpc/powerpc64/configure: Likewise.
14608 * sysdeps/powerpc/powerpc32/configure: Likewise.
14609 * sysdeps/sparc/configure: Likwise.
14610 * sysdeps/i386/configure: Likewise.
14612 * elf/dl-open.c: Comment fixes.
14614 2012-07-17 Joseph Myers <joseph@codesourcery.com>
14616 * Makefile [CXX] (check-data): Remove.
14617 [CXX] (c++-types.data): New vpath directive.
14618 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14619 vpath. Do not allow for C++ type data being missing.
14620 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14621 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14622 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14623 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14624 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14625 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14626 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14629 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14632 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14635 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14638 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14641 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14644 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14647 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14650 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14651 definitions to architecture-specific files.
14652 (TLS_IE): Likewise.
14653 (TLS_LD): Likewise.
14654 (TLS_GD): Likewise.
14655 * sysdeps/i386/tls-macros.h: New file.
14656 * sysdeps/powerpc/tls-macros.h: Likewise.
14657 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14658 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14659 * sysdeps/sh/tls-macros.h: Likewise.
14660 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14661 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14662 * sysdeps/x86_64/tls-macros.h: Likewise.
14664 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14666 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14667 zero value for regular exit case.
14669 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14670 (__start_context): Preserve zero value for regular exit case.
14672 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14673 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14675 * manual/setjmp.texi (setcontext): Clarify normal process
14676 termination when uc_link is the null pointer.
14677 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14680 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14682 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14683 preprocessor. Test for each exception mask separately.
14685 2012-07-16 Andreas Jaeger <aj@suse.de>
14687 * po/ru.po: Update from translation team.
14689 2012-07-15 Joseph Myers <joseph@codesourcery.com>
14691 * conform/data/string.h-data (NULL): Use macro-constant. Require
14693 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14694 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14695 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14696 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14697 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14699 2012-07-13 Andreas Jaeger <aj@suse.de>
14701 * po/fr.po: Update from translation team.
14703 2012-07-12 Marek Polacek <polacek@redhat.com>
14706 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14707 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14710 2012-07-12 Joseph Myers <joseph@codesourcery.com>
14713 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14714 Change to 2.4.1 where previously 2.4.0.
14715 * sysdeps/unix/sysv/linux/configure: Regenerated.
14716 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14717 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14719 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14720 (__ASSUME_AT_CLKTCK): Remove.
14721 (__ASSUME_AT_PAGESIZE): Likewise.
14722 (__ASSUME_AT_XID): Likewise.
14723 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14724 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14725 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14727 (HAVE_AUX_PAGESIZE): Likewise.
14728 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14729 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14730 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14732 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14736 the temporary buffer used to invoke __gethostbyname2_r,
14737 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14738 host_data / struct gaih_addrtuple.
14739 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14740 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14741 header file nss/nsswitch.h.
14742 * nss/nsswitch.h (global scope): Add definition of implementation
14743 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14744 resolv/nss_dns/dns-host.c).
14746 2012-07-11 Andreas Jaeger <aj@suse.de>
14748 * po/fr.po: Update from translation team.
14750 * po/sv.po: Update from translation team
14751 * po/fr.po: Another update from translation team.
14753 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14755 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14756 for subnormals or multiply small sinh result by itself.
14757 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14760 2012-07-11 David S. Miller <davem@davemloft.net>
14762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14764 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14767 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14768 (INTERNAL_MARK): Shift it here.
14770 2012-07-10 Marek Polacek <polacek@redhat.com>
14773 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14774 libc_cv_asm_global_directive with .globl.
14775 * configure: Regenerated.
14776 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14778 * sysdeps/i386/configure: Regenerated.
14779 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14781 * sysdeps/x86_64/configure: Regenerated.
14782 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14783 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14784 * elf/tst-unique2mod2.c: Likewise.
14785 * elf/tst-unique2mod1.c: Likewise.
14786 * elf/tst-unique1mod2.c: Likewise.
14787 * elf/tst-unique1mod1.c: Likewise.
14788 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14789 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14790 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14791 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14792 * sysdeps/mach/sysdep.h: Likewise.
14793 * sysdeps/i386/sysdep.h: Likewise.
14794 * sysdeps/i386/i386-mcount.S: Likewise.
14795 * sysdeps/x86_64/_mcount.S: Likewise.
14796 * sysdeps/x86_64/sysdep.h: Likewise.
14797 * sysdeps/sh/_mcount.S: Likewise.
14798 * sysdeps/sh/sysdep.h: Likewise.
14799 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14800 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14801 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14802 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14803 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14804 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14805 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14806 * locale/localeinfo.h: Likewise.
14807 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14808 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14810 2012-07-09 Roland McGrath <roland@hack.frob.com>
14813 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14815 * manual/message.texi (The Uniforum approach): Likewise.
14816 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14817 (glibc iconv Implementation): Likewise.
14819 2012-07-09 Joseph Myers <joseph@codesourcery.com>
14822 * math/s_clog.c (__clog): Avoid scaling a value down where that
14823 could result in underflow.
14824 * math/s_clog10.c (__clog10): Likewise.
14825 * math/s_clog10f.c (__clog10f): Likewise.
14826 * math/s_clog10l.c (__clog10l): Likewise.
14827 * math/s_clogf.c (__clogf): Likewise.
14828 * math/s_clogl.c (__clogl): Likewise.
14829 * math/libm-test.inc (clog_test): Add more tests.
14830 (clog10_test): Likewise.
14831 * sysdeps/i386/fpu/libm-test-ulps: Update.
14832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14834 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14837 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14838 by 7 not 8 to examine high bit of fractional part.
14841 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14842 for call to __mcount_internal.
14843 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14844 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14845 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14847 2012-07-06 Joseph Myers <joseph@codesourcery.com>
14850 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14851 approximation for values within 0x1p-13f of an odd multiple of
14853 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14854 exception. Add more tests.
14855 * sysdeps/i386/fpu/libm-test-ulps: Update.
14858 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14859 inputs and return -1 for them. Do not check for +Inf in case not
14860 reachable for +Inf.
14861 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14862 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14863 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14864 and return -1 for them. Do not check for +Inf in case not
14865 reachable for +Inf.
14866 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14868 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14869 and return -1 for them. Do not check for +Inf in case not
14870 reachable for +Inf.
14871 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14872 spurious underflow.
14873 * sysdeps/i386/fpu/libm-test-ulps: Update.
14874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14876 2012-07-06 Mike Frysinger <vapier@gentoo.org>
14878 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14880 2012-07-05 Joseph Myers <joseph@codesourcery.com>
14884 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14885 could result in spurious underflow. Scale down values above
14886 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14887 * math/s_csqrtf.c (__csqrtf): Likewise.
14888 * math/s_csqrtl.c (__csqrtl): Likewise.
14889 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14890 spurious underflow.
14891 * sysdeps/i386/fpu/libm-test-ulps: Update.
14892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14894 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14896 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14898 * catgets/xopen-msg.awk: New file.
14899 * catgets/xopen-msg.sed: Removed.
14901 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14903 * intl/po2test.awk: New file.
14904 * intl/po2test.sed: Removed.
14906 2012-07-04 Joseph Myers <joseph@codesourcery.com>
14909 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14910 or multiply small sinh result by itself.
14911 * math/s_ctanf.c (__ctanf): Likewise.
14912 * math/s_ctanh.c (__ctanh): Likewise.
14913 * math/s_ctanhf.c (__ctanhf): Likewise.
14914 * math/s_ctanhl.c (__ctanhl): Likewise.
14915 * math/s_ctanl.c (__ctanl): Likewise.
14916 * math/libm-test.inc (ctan_test_tonearest): New function.
14917 (ctan_test_towardzero): Likewise.
14918 (ctan_test_downward): Likewise.
14919 (ctan_test_upward): Likewise.
14920 (ctanh_test_tonearest): Likewise.
14921 (ctanh_test_towardzero): Likewise.
14922 (ctanh_test_downward): Likewise.
14923 (ctanh_test_upward): Likewise.
14924 (main): Call these new functions.
14925 * sysdeps/i386/fpu/libm-test-ulps: Update.
14926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14928 2012-07-03 Mike Frysinger <vapier@gentoo.org>
14930 * .gitignore: Delete /ports entry.
14932 2012-07-03 Andreas Jaeger <aj@suse.de>
14934 * po/bg.po: Update from translation team.
14935 * po/cs.po: Likewise.
14936 * po/de.po: Likewise.
14937 * po/hr.po: Likewise.
14938 * po/nl.pl: Likewise.
14939 * po/pl.po: Likewise.
14940 * po/vi.po: Likewise.
14942 2012-07-03 Joseph Myers <joseph@codesourcery.com>
14944 * Makeconfig [!+link] (+link-before-libc): New variable.
14945 [!+link] (+link-after-libc): Likewise.
14946 [!+link] (+link-tests): Likewise.
14947 [!+link] (+link): Define in terms of $(+link-before-libc) and
14948 $(+link-after-libc).
14949 [!+link-static] (+link-static-before-libc): New variable.
14950 [!+link-static] (+link-static-after-libc): Likewise.
14951 [!+link-static] (+link-static-tests): Likewise.
14952 [!+link-static] (+link-static): Define in terms of
14953 $(+link-static-before-libc) and $(+link-static-after-libc).
14954 [build-shared] (link-libc-before-gnulib): New variable.
14955 [build-shared] (link-libc-tests): Likewise.
14956 [build-shared] (link-libc): Define in terms of
14957 $(link-libc-before-gnulib).
14958 [!build-shared] (link-libc-tests): New variable.
14959 (link-libc-static-tests): New variable.
14960 [!gnulib] (gnulib-arch): New variable.
14961 [!gnulib] (gnulib-tests): Likewise.
14962 [!gnulib] (static-gnulib-arch): Likewise.
14963 [!gnulib] (static-gnulib-tests): Likewise.
14964 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14965 Define with "=" instead of ":=".
14966 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14967 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14968 * Rules (binaries-all-notests): New variable.
14969 (binaries-all-tests): Likewise.
14970 (binaries-static-notests): Likewise.
14971 (binaries-static-tests): Likewise.
14972 (binaries-all): Define using $(binaries-all-notests) and
14973 $(binaries-all-tests).
14974 (binaries-static): Define using $(binaries-static-notests) and
14975 $(binaries-static-tests).
14976 (binaries-shared-tests): New variable.
14977 (binaries-shared-notests): Likewise.
14978 (binaries-shared): Remove variable.
14979 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14980 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14981 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14982 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14983 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14984 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14985 * elf/Makefile (sln-modules): New variable.
14986 (extra-objs): Add $(sln-modules:=.o).
14987 (ldconfig-modules): Add static-stubs.
14988 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14989 * elf/static-stubs.c: New file.
14992 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14993 by 7 not 8 to examine high bit of fractional part. Use volatile
14994 variables when splitting into final array of floats if
14995 __FLT_EVAL_METHOD__ != 0.
14996 * math/libm-test.inc (cos_test): Add another test.
14997 (sin_test): Likewise.
14998 * sysdeps/i386/fpu/libm-test-ulps: Update.
15001 * math/libm-test.inc (cosh_test): Add more tests.
15003 * version.h (RELEASE): Set to "development".
15004 (VERSION): Set to "2.16.90".
15006 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15008 * NEWS: Update copyright. Remove last-updated date.
15009 Mention math library bug fixes and timezone data changes.
15010 * README: Mention GNU/Hurd, x32, and HPPA support status.
15012 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15014 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15016 2012-06-27 Andreas Jaeger <aj@suse.de>
15018 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15020 2012-06-25 Andreas Jaeger <aj@suse.de>
15022 * sysdeps/s390/fpu/libm-test-ulps: Update.
15024 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15025 Thomas Schwinge <thomas@codesourcery.com>
15027 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15028 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15032 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15034 * sysdeps/mach/start.c: Remove file.
15035 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15036 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15037 * sysdeps/sh/init-first.c: Likewise.
15039 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15040 registers for frame unwinding purposes, add CFI directives.
15041 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15042 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15043 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15046 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15047 __fortify_fail returning.
15048 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15050 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15051 sysdeps/sh/____longjmp_chk.S.
15052 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15053 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15054 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15055 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15057 * sysdeps/sh/abort-instr.h: New file.
15058 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15059 process in case exit returns.
15061 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15062 initialize the GOT register before use.
15064 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15065 calculation of ARGC > 4.
15067 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15068 meaningful names to some local labels.
15070 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15071 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15073 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15074 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15075 (__arch_compare_and_exchange_val_16_acq): Likewise.
15076 (__arch_compare_and_exchange_val_32_acq): Likewise.
15077 (atomic_exchange_and_add): Fix gUSA sequence.
15078 (atomic_add): Likewise.
15079 (atomic_add_negative): Likewise.
15080 (atomic_add_zero): Likewise.
15081 (atomic_bit_test_set): Likewise.
15083 2012-06-22 Andreas Schwab <schwab@redhat.com>
15086 * include/link.h (struct link_map): Add l_free_initfini.
15087 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15089 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15090 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15091 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15094 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15096 * configure.in: Use AC_LANG_SOURCE.
15097 * configure: Regenerate.
15099 2012-06-22 Roland McGrath <roland@hack.frob.com>
15101 * configure.in (libc_cv_localstatedir): New substituted variable.
15102 * configure: Regenerated.
15103 * config.make.in (localstatedir): New variable, substituted from
15104 libc_cv_localstatedir.
15105 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15106 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15107 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15108 * sysdeps/gnu/configure: Regenerated.
15110 2012-06-21 Jeff Law <law@redhat.com>
15113 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15114 free. Simplify list management for _LIBC case.
15116 2012-06-21 Joseph Myers <joseph@codesourcery.com>
15119 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15120 Clear sign bit of 64-bit integer value before comparing against
15123 * sysdeps/mach/configure: Regenerated.
15125 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15128 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15130 2012-06-21 Jeff Law <law@redhat.com>
15133 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15134 uint16_t for elements in the "seen" array to avoid char overflows.
15135 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15136 * elf/dl-open.c (dl_open_worker): Likewise.
15138 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15140 * scripts/list-sources.sh: Scan PORTS for translations.
15141 * po/libc.pot: Regenerated.
15143 2012-06-21 Andreas Jaeger <aj@suse.de>
15146 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15148 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15149 * bits/byteswap-16.h (__bswap_16): Likewise.
15150 * bits/byteswap.h (__bswap_constant_16): Likewise.
15152 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15155 * sysdeps/i386/fpu_control.h: Removed.
15156 * sysdeps/x86_64/fpu_control.h: Moved to ...
15157 * sysdeps/x86/fpu_control.h: Here.
15159 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15160 (_FPU_SETCW): Likewise.
15162 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15165 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15166 * sysdeps/x86/fpu/bits/mathinline.h: This.
15167 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15171 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15172 functions if __x86_64__ is defined.
15174 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15176 * string/endian.h: Add !__ASSEMBLER__ condition for including
15177 conversion interfaces.
15179 2012-06-15 Joseph Myers <joseph@codesourcery.com>
15182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15183 of ABS(x) in calculating zero to negative powers other than odd
15185 * math/libm-test.inc (pow_test): Add more tests.
15187 2012-06-15 Andreas Jaeger <aj@suse.de>
15189 * manual/contrib.texi (Contributors): Update entry of Liubov
15190 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15193 2012-06-15 Cyril Hrubis <metan@ucw.cz>
15195 * string/string.h: Add __wur to GNU version of strerror_r.
15197 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15200 * string/Makefile (tests): Add tst-strtok_r.
15201 * string/tst-strtok_r.c: New file.
15202 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15203 RAX_LP/RDX_LP on SAVE_PTR.
15205 2012-06-14 Roland McGrath <roland@hack.frob.com>
15207 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15209 2012-06-14 Joseph Myers <joseph@codesourcery.com>
15211 * libm_test.inc (csqrt_test): Allow more spurious underflow
15213 (j0_test): Likewise.
15214 (j1_test): Likewise.
15215 (y0_test): Likewise.
15216 (y1_test): Likewise.
15218 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15220 * po/Makefile (libc.pot): Use UTF-8 charset.
15222 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15225 Suppress sign-conversion warning from FD_SET.
15226 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15227 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15228 not unsigned long int.
15229 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15231 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15235 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15236 __extern_always_inline instead of __extern_inline.
15237 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15238 (__signbit): Likewise.
15239 (__signbitl): Support C++ namespace.
15240 (lrintf): New inline function.
15242 (llrintf): Likewise.
15243 (llrint): Likewise.
15253 (floorf): Likewise.
15254 (nearbyint): Likewise.
15255 (nearbyintf): Likewise.
15257 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15259 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15260 non-default versions.
15262 2012-06-11 Roland McGrath <roland@hack.frob.com>
15265 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15267 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15269 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15270 (FE_UPWARD, FE_DOWNWARD): Don't define.
15271 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15272 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15274 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15276 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15277 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15279 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15281 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15282 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15283 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15284 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15286 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15289 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15290 * sysdeps/i386/fpu/Implies: New file.
15291 * sysdeps/x86_64/fpu/Implies: Likewise.
15292 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15293 * sysdeps/x86/fpu/bits/fenv.h: This.
15295 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15298 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15301 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15302 character 0xffff that matches the last element of the
15305 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15307 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15310 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15312 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15313 values higher than 25.6283.
15315 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15317 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15318 subnormal exponent extraction and add some __builtin_expect.
15319 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15320 Fix for subnormal mantissa calculation.
15322 2012-06-04 Mike Frysinger <vapier@gentoo.org>
15324 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15325 cpu2 is -1 and errno is not ENOSYS.
15327 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15330 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15331 * sysdeps/x86/bits/string.h: This.
15332 * sysdeps/x86_64/bits/string.h: Removed.
15334 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15335 if not compiling for x86-64, but compiling for >= i486.
15337 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15338 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15340 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15341 New macro from Linux kernel 3.4.0.
15342 (FP_XSTATE_MAGIC2): Likewise.
15343 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15344 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15345 (struct _fpx_sw_bytes): New struct.
15346 (struct _xsave_hdr): Likewise.
15347 (struct _ymmh_state): Likewise.
15348 (struct _xstate): Likewise.
15350 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15351 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15352 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15353 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15354 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15355 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15357 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15358 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15359 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15360 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15361 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15362 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15364 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15367 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15368 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15369 (sysdep_headers): Include sys/platform/ppc.h.
15370 * sysdeps/powerpc/test-gettimebase.c: Test for
15371 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15372 * manual/Makefile (appendices): Include platform.texi.
15373 * manual/contrib.texi (Contributors): Update @node pointers.
15374 * manual/maint.texi (Maintenance): Likewise.
15375 (Platform): New node.
15376 * manual/platform.texi: New file. Document the new features.
15378 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15379 Jakub Jelinek <jakub@redhat.com>
15382 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15383 where __builtin_expect is unavailable.
15385 2012-06-03 David S. Miller <davem@davemloft.net>
15387 * stdlib/longlong.h: Updated from GCC.
15389 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15392 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15393 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15396 (GLIBC_2.16): Likewise.
15398 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15400 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15402 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15405 (default-abi): New variable.
15406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15407 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15409 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15411 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15413 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15416 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15417 definition. Document in comment.
15419 2012-06-01 David S. Miller <davem@davemloft.net>
15421 * stdlib/longlong.h: Updated from GCC.
15423 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15426 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15427 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15428 sys/debugreg.h sys/io.h here.
15429 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15430 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15432 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15433 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15434 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15435 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15436 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15437 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15439 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15440 Define only if __x86_64__ is defined.
15442 2012-06-01 Joseph Myers <joseph@codesourcery.com>
15445 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15446 Use int64_t for variable i.
15447 * math/libm-test.inc (fmod_test): Add more tests.
15449 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15450 z computation is not scheduled after fetestexcept.
15451 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15452 Use math_force_eval instead of asm to ensure calculation scheduled
15453 before exception test.
15454 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15455 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15457 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15459 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15460 computation is not scheduled after fetestexcept.
15462 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15465 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15466 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15468 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15470 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15471 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15473 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15476 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15478 (__WCHAR_MIN): Support __WORDSIZE == 64.
15479 (__WCHAR_MAX): Likewise.
15481 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15482 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15485 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15486 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15489 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15490 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15492 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15493 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15495 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15496 Defined to 1 if __x86_64__ isn't defined.
15497 (_STAT_VER_LINUX_OLD): New.
15498 (st_atime): Remove duplicate.
15499 (st_mtime): Likewise.
15500 (st_ctime): Likewise.
15502 2012-05-31 David S. Miller <davem@davemloft.net>
15504 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15507 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15509 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15513 * elf/dl-reloc.c: Include <_itoa.h>.
15514 (_dl_reloc_bad_type): Remove use of INTUSE.
15515 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15516 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15517 * stdio-common/psiginfo.c (psiginfo): Likewise.
15518 * stdio-common/psignal.c (psignal): Likewise.
15519 * string/strsignal.c (strsignal): Likewise.
15520 * include/signal.h (_sys_siglist): Declare hidden proto.
15521 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15522 INTVARDEF with libc_hidden_data_def.
15523 * stdio-common/itoa-udigits.c: Likewise.
15524 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15525 (_itoa_lower_digits_internal): Remove declaration.
15526 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15527 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15528 (_sys_sigabbrev_internal): Remove aliases.
15529 (_sys_siglist): Define hidden alias.
15531 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15536 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15539 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15540 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15542 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15543 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15544 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15545 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15546 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15547 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15549 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15550 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15551 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15553 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15561 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15562 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15563 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15565 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15566 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15567 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15568 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15569 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15570 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15572 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15573 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15575 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15576 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15578 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15579 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15580 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15582 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15583 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15585 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15587 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15588 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15589 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15591 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15593 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15595 2012-05-31 Joseph Myers <joseph@codesourcery.com>
15597 * math/math.h (M_El): Use two more decimal places.
15598 (M_LOG2El): Likewise.
15599 (M_LOG10El): Likewise.
15600 (M_LN2l): Likewise.
15601 (M_LN10l): Likewise.
15603 (M_PI_2l): Likewise.
15604 (M_PI_4l): Likewise.
15605 (M_1_PIl): Likewise.
15606 (M_2_PIl): Likewise.
15607 (M_2_SQRTPIl): Likewise.
15608 (M_SQRT2l): Likewise.
15609 (M_SQRT1_2l): Likewise.
15611 2012-05-31 David S. Miller <davem@davemloft.net>
15613 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15614 values between float registers.
15615 * sysdeps/sparc/sparc64/memset.S: Likewise.
15616 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15618 2012-05-31 Mike Frysinger <vapier@gentoo.org>
15620 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15621 -D_FORTIFY_SOURCE=1.
15622 (CPPFLAGS-tst-longjmp_chk.c): Define.
15623 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15624 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15625 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15626 CFLAGS-tst-wchar-h.c.
15628 2012-05-31 Marek Polacek <polacek@redhat.com>
15631 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15632 __endmntent_internal): Remove declaration.
15633 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15634 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15635 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15637 2012-05-30 David S. Miller <davem@davemloft.net>
15639 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15640 (___Q_simulate_exceptions): Use real FP ops rather than writing
15642 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15645 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15648 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15649 * sysdeps/x86/bits/xtitypes.h: This.
15651 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15652 * sysdeps/x86/bits/wordsize.h: This.
15654 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15655 * sysdeps/x86/bits/huge_vall.h: This.
15657 * sysdeps/i386/bits/select.h: Removed.
15658 * sysdeps/x86_64/bits/select.h: Renamed to ...
15659 * sysdeps/x86/bits/select.h: This.
15661 * sysdeps/i386/bits/setjmp.h: Removed.
15662 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15663 * sysdeps/x86/bits/setjmp.h: This.
15665 * sysdeps/i386/bits/mathdef.h: Removed.
15666 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15667 * sysdeps/x86/bits/mathdef.h: This.
15669 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15672 * include/sys/socket.h (__connect_internal)
15673 (__libc_sa_len_internal): Remove declaration.
15674 (__connect, __libc_sa_len): Declare hidden_proto.
15675 (SA_LEN): Remove use of INTUSE.
15676 * socket/connect.c: Add libc_hidden_def.
15677 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15678 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15679 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15681 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15682 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15683 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15684 of adding _internal alias.
15686 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15689 * sysdeps/i386/bits/link.h: Removed.
15690 * sysdeps/i386/bits/linkmap.h: Likewise.
15691 * sysdeps/x86_64/bits/link.h: Renamed to ...
15692 * sysdeps/x86/bits/link.h: This.
15693 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15694 * sysdeps/x86/bits/linkmap.h: This.
15696 * sysdeps/i386/bits/endian.h: Removed.
15697 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15698 * sysdeps/x86/bits/endian.h: This.
15700 * sysdeps/i386/bits/byteswap.h: Removed.
15701 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15702 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15703 * sysdeps/x86/bits/byteswap.h: This.
15704 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15705 * sysdeps/x86/bits/byteswap-16.h: This.
15706 * sysdeps/i386/Implies: Add x86.
15707 * sysdeps/x86_64/Implies: Likewise.
15709 2012-05-30 David S. Miller <davem@davemloft.net>
15711 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15712 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15713 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15714 (FP_TRAPPING_EXCEPTIONS): Define.
15715 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15716 (FP_TRAPPING_EXCEPTIONS): Define.
15717 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15718 subnormals only when inexact has been signalled or underflow
15719 exceptions are enabled.
15720 (_FP_PACK_CANONICAL): Likewise.
15722 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15725 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15726 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15728 2012-05-30 Richard Henderson <rth@twiddle.net>
15730 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15731 with #ifndef NOT_IN_libc.
15733 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15734 marked to avoid plt entry.
15736 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15739 * Makeconfig (default-abi): New macro.
15740 (abi-includes): Likewise.
15741 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15742 $(abi-$(default-abi)-lib-soname) for soname if defined.
15743 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15745 * Makefile (installed-stubs): Likewise.
15746 * include/stubs-biarch.h: Removed.
15747 * scripts/lib-names.awk: Only handle one library at a time.
15748 * scripts/soversions.awk: Remove WORDSIZE support.
15749 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15751 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15753 (syscall-list-default-condition): Likewise.
15754 (syscall-list-default-condition): Likewise.
15755 (syscall-list-includes): Likewise.
15756 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15757 syscall-list-* with abi-*. Handle undefined abi-variants.
15758 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15759 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15760 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15761 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15762 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15763 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15765 (syscall-list-32-options): Likewise.
15766 (syscall-list-32-condition): Likewise.
15767 (syscall-list-64-options): Likewise.
15768 (syscall-list-64-condition): Likewise.
15769 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15771 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15774 (abi-64-ld-soname): New macro.
15775 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15776 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15779 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15780 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15782 2012-05-30 Joseph Myers <joseph@codesourcery.com>
15784 * sysdeps/unix/sysv/linux/kernel-features.h
15785 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15786 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15787 include <kernel-features.h>.
15788 [!__NR_ftruncate64]: Remove conditional code.
15789 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15790 [__NR_ftruncate64]: Make code unconditional.
15791 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15792 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15793 include <kernel-features.h>.
15794 [!__NR_ftruncate64]: Remove conditional code.
15795 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15796 [__NR_ftruncate64]: Make code unconditional.
15797 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15799 include <kernel-features.h>.
15800 [!__NR_ftruncate64]: Remove conditional code.
15801 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15802 [__NR_ftruncate64]: Make code unconditional.
15803 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15805 include <kernel-features.h>.
15806 [!__NR_ftruncate64]: Remove conditional code.
15807 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15808 [__NR_ftruncate64]: Make code unconditional.
15809 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15811 * configure.in (libc_cv_fpie): Weaken to a compile test using
15812 LIBC_TRY_CC_OPTION.
15813 * configure: Regenerated.
15815 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15818 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15830 2012-05-27 David S. Miller <davem@davemloft.net>
15832 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15834 (__Q_simulate_exceptions): Return void. Change to simulate
15835 exceptions by writing into the %fsr.
15836 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15837 (__Qp_handle_exceptions): Likewise.
15839 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15840 __Qp_handle_exceptions.
15841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15842 __Qp_handle_exceptions.
15843 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15844 as unused and give dummy FP_RND_NEAREST initializer.
15845 (FP_INHIBIT_RESULTS): Define.
15846 (___Q_simulate_exceptions): Update declaration.
15847 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15849 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15850 as unused and give dummy FP_RND_NEAREST initializer.
15851 (__Qp_handle_exceptions): Update declaration.
15852 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15855 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15857 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15858 the temporary FPU control word.
15859 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15860 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15861 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15862 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15863 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15864 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15865 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15866 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15867 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15868 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15869 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15871 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15873 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15876 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15878 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15879 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15880 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15881 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15883 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15884 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15887 2012-05-27 Ulrich Drepper <drepper@gmail.com>
15889 * po/h.po: Update from translation team.
15891 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15893 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15895 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15896 handling of denormals.
15897 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15898 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15899 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15900 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15901 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15902 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15903 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15906 2012-05-26 Marek Polacek <polacek@redhat.com>
15909 * math/libm-test.inc (fma_test): Don't always expect underflow
15912 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15915 * elf/tst-execstack.c: Include stackinfo.h.
15916 (do_test): Adjust test case to ensure that pthread_getattr_np
15917 behaviour remains the same after marking stack executable.
15919 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15921 * sysdeps/unix/sysv/linux/kernel-features.h
15922 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15923 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15925 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15926 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15927 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15929 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15930 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15932 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15934 * configure.in: Define the default includes to being none.
15935 * configure: Regenerated.
15937 2012-05-25 Roland McGrath <roland@hack.frob.com>
15939 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15940 * sysdeps/x86_64/setjmp.S: Likewise.
15941 * sysdeps/i386/bsd-setjmp.S: Likewise.
15942 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15943 * sysdeps/i386/setjmp.S: Likewise.
15944 * sysdeps/i386/__longjmp.S: Likewise.
15945 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15946 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15948 * include/stap-probe.h: New file.
15949 * configure.in: Handle --enable-systemtap.
15950 * configure: Regenerated.
15951 * config.h.in (USE_STAP_PROBE): New #undef.
15952 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15953 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15954 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15956 2012-05-25 Joseph Myers <joseph@codesourcery.com>
15959 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15960 to 2.4.0 where earlier.
15961 * sysdeps/unix/sysv/linux/configure: Regenerated.
15962 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15963 <kernel-features.h>.
15964 [__ASSUME_32BITUIDS]: Make code unconditional.
15965 [!__ASSUME_32BITUIDS]: Remove conditional code.
15966 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15967 <kernel-features.h>.
15968 [__ASSUME_32BITUIDS]: Make code unconditional.
15969 [!__ASSUME_32BITUIDS]: Remove conditional code.
15970 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15971 [__ASSUME_32BITUIDS]: Make code unconditional.
15972 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15973 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15974 <kernel-features.h>.
15975 [__ASSUME_32BITUIDS]: Make code unconditional.
15976 [!__ASSUME_32BITUIDS]: Remove conditional code.
15977 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15978 <kernel-features.h>.
15979 [__ASSUME_32BITUIDS]: Make code unconditional.
15980 [!__ASSUME_32BITUIDS]: Remove conditional code.
15981 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15982 <kernel-features.h>.
15983 [__ASSUME_32BITUIDS]: Make code unconditional.
15984 [!__ASSUME_32BITUIDS]: Remove conditional code.
15985 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15986 <kernel-features.h>.
15987 [__ASSUME_32BITUIDS]: Make code unconditional.
15988 [!__ASSUME_32BITUIDS]: Remove conditional code.
15989 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15990 <kernel-features.h>.
15991 [__ASSUME_32BITUIDS]: Make code unconditional.
15992 [!__ASSUME_32BITUIDS]: Remove conditional code.
15993 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15994 <kernel-features.h>.
15995 [__ASSUME_32BITUIDS]: Make code unconditional.
15996 [!__ASSUME_32BITUIDS]: Remove conditional code.
15997 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15998 <kernel-features.h>.
15999 [__ASSUME_32BITUIDS]: Make code unconditional.
16000 [!__ASSUME_32BITUIDS]: Remove conditional code.
16001 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16002 <kernel-features.h>.
16003 [__ASSUME_32BITUIDS]: Make code unconditional.
16004 [!__ASSUME_32BITUIDS]: Remove conditional code.
16005 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16006 <kernel-features.h>.
16007 [__ASSUME_32BITUIDS]: Make code unconditional.
16008 [!__ASSUME_32BITUIDS]: Remove conditional code.
16009 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16010 <kernel-features.h>.
16011 [__ASSUME_32BITUIDS]: Make code unconditional.
16012 [!__ASSUME_32BITUIDS]: Remove conditional code.
16013 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16014 <kernel-features.h>.
16015 [__NR_setresgid] (__setresgid): Do not declare.
16016 [__ASSUME_32BITUIDS]: Make code unconditional.
16017 [!__ASSUME_32BITUIDS]: Remove conditional code.
16018 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16019 <kernel-features.h>.
16020 [__NR_setresuid] (__setresuid): Do not declare.
16021 [__ASSUME_32BITUIDS]: Make code unconditional.
16022 [!__ASSUME_32BITUIDS]: Remove conditional code.
16023 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16024 <kernel-features.h>.
16025 [__ASSUME_32BITUIDS]: Make code unconditional.
16026 [!__ASSUME_32BITUIDS]: Remove conditional code.
16027 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16028 <kernel-features.h>.
16029 [__ASSUME_32BITUIDS]: Make code unconditional.
16030 [!__ASSUME_32BITUIDS]: Remove conditional code.
16031 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16032 <kernel-features.h>.
16033 [__ASSUME_32BITUIDS]: Make code unconditional.
16034 [!__ASSUME_32BITUIDS]: Remove conditional code.
16035 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16036 <kernel-features.h>.
16037 [__ASSUME_32BITUIDS]: Make code unconditional.
16038 [!__ASSUME_32BITUIDS]: Remove conditional code.
16039 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16040 <kernel-features.h>.
16041 [__ASSUME_32BITUIDS]: Make code unconditional.
16042 [!__ASSUME_32BITUIDS]: Remove conditional code.
16043 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16044 <kernel-features.h>.
16045 [__ASSUME_32BITUIDS]: Make code unconditional.
16046 [!__ASSUME_32BITUIDS]: Remove conditional code.
16047 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16048 <kernel-features.h>.
16049 [__ASSUME_32BITUIDS]: Make code unconditional.
16050 [!__ASSUME_32BITUIDS]: Remove conditional code.
16051 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16052 <kernel-features.h>.
16053 [__ASSUME_32BITUIDS]: Make code unconditional.
16054 [!__ASSUME_32BITUIDS]: Remove conditional code.
16055 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16056 <kernel-features.h>.
16057 [__ASSUME_32BITUIDS]: Make code unconditional.
16058 [!__ASSUME_32BITUIDS]: Remove conditional code.
16059 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16060 <kernel-features.h>.
16061 [__ASSUME_32BITUIDS]: Make code unconditional.
16062 [!__ASSUME_32BITUIDS]: Remove conditional code.
16063 * sysdeps/unix/sysv/linux/kernel-features.h
16064 (__ASSUME_SETRESUID_SYSCALL): Remove.
16065 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16066 (__ASSUME_32BITUIDS): Likewise.
16067 (__ASSUME_LDT_WORKS): Likewise.
16068 (__ASSUME_O_DIRECTORY): Likewise.
16069 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16070 architecture but not kernel version.
16071 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16072 (__ASSUME_MMAP2_SYSCALL): Likewise.
16073 (__ASSUME_STAT64_SYSCALL): Likewise.
16074 (__ASSUME_IPC64): Likewise.
16075 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16076 <kernel-features.h>.
16077 [__ASSUME_32BITUIDS]: Make code unconditional.
16078 [!__ASSUME_32BITUIDS]: Remove conditional code.
16079 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16080 <kernel-features.h>.
16081 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16082 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16083 132096]: Remove conditional code.
16084 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16085 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
16094 <kernel-features.h>.
16095 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16097 (__setresgid): Do not declare.
16098 [__ASSUME_32BITUIDS]: Make code unconditional.
16099 [!__ASSUME_32BITUIDS]: Remove conditional code.
16100 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16101 <kernel-features.h>.
16102 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16104 (__setresuid): Do not declare.
16105 [__ASSUME_32BITUIDS]: Make code unconditional.
16106 [!__ASSUME_32BITUIDS]: Remove conditional code.
16107 * sysdeps/unix/sysv/linux/sh/chown.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/sparc/sparc32/semctl.c: Do not include
16112 <kernel-features.h>.
16113 [__ASSUME_32BITUIDS]: Make code unconditional.
16114 [!__ASSUME_32BITUIDS]: Remove conditional code.
16116 2012-05-25 Richard Henderson <rth@twiddle.net>
16118 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16119 dl_hwcap to ifunc resolver.
16120 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16122 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16123 dl_hwcap to ifunc resolver.
16124 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16126 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16129 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16130 for |x| <= 2**-26, not 2**-57.
16131 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16134 2012-05-24 Jeff Law <law@redhat.com>
16136 * stdio-common/Makefile (tests): Add bug25.
16137 * stdio-common/bug25.c: New test.
16139 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16142 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16143 multiple of MALLOC_ALIGNMENT in size.
16144 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16146 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16148 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16150 (FILENAME_MAX): Use macro-int-constant.
16151 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16152 (_IOFBF): Use macro-int-constant.
16153 (_IOLBF): Likewise.
16154 (_IONBF): Likewise.
16155 (SEEK_CUR): Likewise.
16156 (SEEK_END): Likewise.
16157 (SEEK_SET): Likewise.
16158 (TMP_MAX): Likewise.
16159 (EOF): Use macro-int-constant. Require < 0.
16160 (NULL): Use macro-constant. Require == 0.
16161 (stdin): Require type to be FILE *.
16162 (stdout): Likewise.
16163 (stderr): Likewise.
16164 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16165 macro-int-constant.
16166 (EXIT_SUCCESS): Likewise.
16167 (NULL): Use macro-constant. Require == 0.
16168 (RAND_MAX): Use macro-int-constant.
16169 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16170 [C99-based standards] (strtof): Require function.
16171 [C99-based standards] (strtold): Likewise.
16172 [C99-based standards] (strtoll): Likewise.
16173 [C99-based standards] (strtoull): Likewise.
16174 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16175 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16176 [ISO || ISO99 || ISO11] (math.h): Likewise.
16177 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16178 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16179 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16181 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16184 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16185 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16186 * intl/dgettext.c (DCGETTEXT): Likewise.
16187 * intl/gettext.c (DCGETTEXT): Likewise.
16188 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16189 * posix/regex_internal.h (gettext): Likewise.
16190 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16191 Remove declaration.
16192 * include/argz.h (__argz_count_internal)
16193 (__argz_stringify_internal): Remove declaration.
16194 (__argz_count, __argz_stringify): Declare hidden proto.
16195 * intl/dcgettext.c: Remove use of INTDEF.
16196 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16197 * string/argz-stringify.c: Likewise.
16198 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16199 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16200 Declare hidden proto.
16201 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16202 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16203 Declare hidden proto.
16204 * include/stdio.h (__asprintf_internal): Don't declare.
16205 (__asprintf): Don't define as macro. Declare hidden proto.
16206 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16207 (__fsetlocking): Declare hidden proto.
16208 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16209 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16211 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16212 (_IO_setlinebuf): Remove use of INTUSE.
16213 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16214 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16215 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16216 Remove declaration.
16217 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16218 (_IO_do_flush): Remove use of INTUSE.
16219 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16220 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16221 (_IO_adjust_column, _IO_least_wmarker)
16222 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16223 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16224 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16225 (_IO_default_doallocate, _IO_wdefault_doallocate)
16226 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16227 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16228 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16229 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16230 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16231 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16232 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16233 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16234 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16235 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16236 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16237 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16238 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16240 (_IO_flush_all_internal, _IO_adjust_column_internal)
16241 (_IO_default_uflow_internal, _IO_default_finish_internal)
16242 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16243 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16244 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16245 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16246 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16247 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16248 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16249 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16250 (_IO_file_close_internal, _IO_file_close_it_internal)
16251 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16252 (_IO_file_init_internal, _IO_file_attach_internal)
16253 (_IO_file_fopen_internal, _IO_file_read_internal)
16254 (_IO_file_sync_internal, _IO_file_seek_internal)
16255 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16256 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16257 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16258 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16259 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16260 (_IO_list_all_internal, _IO_link_in_internal)
16261 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16262 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16263 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16264 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16265 (_IO_do_write_internal, _IO_padn_internal)
16266 (_IO_getline_info_internal, _IO_getline_internal)
16267 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16268 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16269 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16270 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16271 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16272 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16273 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16274 with libc_hidden_ver, remove use of INTUSE.
16275 * libio/genops.c: Likewise.
16276 * libio/freopen.c: Likewise.
16277 * libio/freopen64.c: Likewise.
16278 * libio/iofclose.c: Likewise.
16279 * libio/iofdopen.c: Likewise.
16280 * libio/iofflush.c: Likewise.
16281 * libio/iofflush_u.c: Likewise.
16282 * libio/iofgets.c: Likewise.
16283 * libio/iofgets_u.c: Likewise.
16284 * libio/iofopen.c: Likewise.
16285 * libio/iofopncook.c: Likewise.
16286 * libio/iofread.c: Likewise.
16287 * libio/iofread_u.c: Likewise.
16288 * libio/ioftell.c: Likewise.
16289 * libio/iofwrite.c: Likewise.
16290 * libio/iogetline.c: Likewise.
16291 * libio/iogets.c: Likewise.
16292 * libio/iogetwline.c: Likewise.
16293 * libio/iopadn.c: Likewise.
16294 * libio/iopopen.c: Likewise.
16295 * libio/ioseekoff.c: Likewise.
16296 * libio/ioseekpos.c: Likewise.
16297 * libio/iosetbuffer.c: Likewise.
16298 * libio/iosetvbuf.c: Likewise.
16299 * libio/ioungetc.c: Likewise.
16300 * libio/ioungetwc.c: Likewise.
16301 * libio/iovdprintf.c: Likewise.
16302 * libio/iovsprintf.c: Likewise.
16303 * libio/iovsscanf.c: Likewise.
16304 * libio/memstream.c: Likewise.
16305 * libio/obprintf.c: Likewise.
16306 * libio/oldfileops.c: Likewise.
16307 * libio/oldiofclose.c: Likewise.
16308 * libio/oldiofdopen.c: Likewise.
16309 * libio/oldiofopen.c: Likewise.
16310 * libio/oldiopopen.c: Likewise.
16311 * libio/oldstdfiles.c: Likewise.
16312 * libio/putc.c: Likewise.
16313 * libio/setbuf.c: Likewise.
16314 * libio/setlinebuf.c: Likewise.
16315 * libio/stdfiles.c: Likewise.
16316 * libio/strops.c: Likewise.
16317 * libio/vasprintf.c: Likewise.
16318 * libio/vscanf.c: Likewise.
16319 * libio/vsnprintf.c: Likewise.
16320 * libio/vswprintf.c: Likewise.
16321 * libio/wfiledoalloc.c: Likewise.
16322 * libio/wfileops.c: Likewise.
16323 * libio/wgenops.c: Likewise.
16324 * libio/wmemstream.c: Likewise.
16325 * libio/wstrops.c: Likewise.
16326 * libio/__fpurge.c: Likewise.
16327 * libio/__fsetlocking.c: Likewise.
16328 * assert/assert.c: Likewise.
16329 * debug/fgets_chk.c: Likewise.
16330 * debug/fgets_u_chk.c: Likewise.
16331 * debug/fread_chk.c: Likewise.
16332 * debug/fread_u_chk.c: Likewise.
16333 * debug/gets_chk.c: Likewise.
16334 * debug/obprintf_chk.c: Likewise.
16335 * debug/vasprintf_chk.c: Likewise.
16336 * debug/vdprintf_chk.c: Likewise.
16337 * debug/vsnprintf_chk.c: Likewise.
16338 * debug/vsprintf_chk.c: Likewise.
16339 * malloc/mtrace.c: Likewise.
16340 * misc/error.c: Likewise.
16341 * misc/syslog.c: Likewise.
16342 * stdio-common/asprintf.c: Likewise.
16343 * stdio-common/fxprintf.c: Likewise.
16344 * stdio-common/getw.c: Likewise.
16345 * stdio-common/isoc99_fscanf.c: Likewise.
16346 * stdio-common/isoc99_scanf.c: Likewise.
16347 * stdio-common/isoc99_vfscanf.c: Likewise.
16348 * stdio-common/isoc99_vscanf.c: Likewise.
16349 * stdio-common/isoc99_vsscanf.c: Likewise.
16350 * stdio-common/printf-prs.c: Likewise.
16351 * stdio-common/printf_fp.c: Likewise.
16352 * stdio-common/printf_fphex.c: Likewise.
16353 * stdio-common/printf_size.c: Likewise.
16354 * stdio-common/putw.c: Likewise.
16355 * stdio-common/scanf.c: Likewise.
16356 * stdio-common/sprintf.c: Likewise.
16357 * stdio-common/tmpfile.c: Likewise.
16358 * stdio-common/vfprintf.c: Likewise.
16359 * stdio-common/vfscanf.c: Likewise.
16360 * stdlib/strfmon_l.c: Likewise.
16361 * sunrpc/openchild.c: Likewise.
16362 * sunrpc/xdr_stdio.c: Likewise.
16363 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16364 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16366 2012-05-24 Roland McGrath <roland@hack.frob.com>
16368 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16370 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16371 in the third column, to generate for the shared library an IFUNC
16372 that uses _dl_vdso_vsym.
16373 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16374 * Makeconfig (object-suffixes-noshared): New variable.
16376 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16377 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16378 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16379 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16382 * include/sys/time.h (__gettimeofday): Remove macro.
16383 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16384 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16386 (__gettimeofday): Add libc_hidden_def.
16387 (gettimeofday): Add libc_hidden_weak.
16388 * sysdeps/mach/gettimeofday.c: Likewise.
16389 * sysdeps/posix/gettimeofday.c: Likewise.
16390 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16391 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16392 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16393 (__gettimeofday_internal): Remove strong_alias.
16394 (__gettimeofday): Add libc_hidden_def.
16395 (gettimeofday): Add libc_hidden_weak.
16396 * sysdeps/unix/syscalls.list (gettimeofday):
16397 Remove __gettimeofday_internal alias.
16399 2012-05-24 Daniel Jacobowitz <drow@false.org>
16400 H.J. Lu <hongjiu.lu@intel.com>
16403 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16404 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16405 (largebin_index_32_big): New.
16406 (largebin_index): Use it for 16-byte alignment.
16407 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16408 correction with front_misalign.
16410 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16423 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16425 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16427 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16431 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16433 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16435 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16438 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16439 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16441 2012-05-24 Joseph Myers <joseph@codesourcery.com>
16445 * math/libm-test.inc (exp_test): Add test from bug 14036.
16446 (pow_test): Add test from bug 10846.
16448 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16450 (special_function): Do not include flags in test name.
16451 (parse_args): Likewise.
16452 * sysdeps/i386/fpu/libm-test-ulps: Update.
16453 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16454 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16455 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16458 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16460 * math/libm-test.inc ("Philosophy"): Update comment about
16462 (UNDERFLOW_EXCEPTION): New macro.
16463 (UNDERFLOW_EXCEPTION_OK): Likewise.
16464 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16465 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16466 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16467 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16468 (INVALID_EXCEPTION_OK): Update value.
16469 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16470 (OVERFLOW_EXCEPTION_OK): Likewise.
16471 (IGNORE_ZERO_INF_SIGN): Likewise.
16472 (test_exceptions): Handle underflow exceptions.
16473 (acos_test): Update for underflow exception expectations.
16474 (cexp_test): Likewise.
16475 (clog_test): Likewise.
16476 (clog10_test): Likewise.
16477 (csqrt_test): Likewise.
16478 (ctan_test): Likewise.
16479 (ctanh_test): Likewise.
16480 (exp_test): Likewise.
16481 (exp10_test): Likewise.
16482 (exp2_test): Likewise.
16483 (expm1_test): Likewise.
16484 (fma_test): Likewise.
16485 (j0_test): Likewise.
16486 (jn_test): Likewise.
16487 (nexttoward_test): Likewise.
16488 (pow_test): Likewise.
16489 (scalbn_test): Likewise.
16490 (scalbln_test): Likewise.
16491 (tan_test): Likewise.
16492 (y1_test): Likewise.
16493 * sysdeps/i386/fpu/libm-test-ulps: Update.
16494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16496 2012-05-23 David S. Miller <davem@davemloft.net>
16498 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16499 (__libc_sigaction): Remove unused local variables.
16501 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16503 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16505 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16507 mktime: avoid signed integer overflow
16508 * time/mktime.c (__mktime_internal): Do not mishandle the case
16509 where diff == INT_MIN.
16511 mktime: simplify computation of average
16512 * time/mktime.c (ranged_convert): Use new time_t_avg function
16513 instead of rolling our own (probably-slower) code.
16515 mktime: do not assume signed right shift propagates sign bit
16516 * time/mktime.c (isdst_differ): New static function.
16517 (__mktime_internal): No need to normalize tm_isdst now.
16518 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16521 mktime: merge another wrapv change from gnulib
16522 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16523 from some compilers.
16525 mktime: remove incorrect attempt at unusual arithmetics
16526 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16527 The code didn't really work on such machines anyway.
16528 (TYPE_MINIMUM): Assume two's complement.
16529 (twos_complement_arithmetic): Verify that long_int and time_t
16530 are two's complement (or unsigned, in the latter case).
16532 mktime: check signed shifts on long_int and time_t, too
16533 * time/mktime.c (SHR): Check that shifts work as desired
16534 on the types long_int and time_t too, as SHR is used on
16537 mktime: do not assume 'long' is wide enough
16538 * time/mktime.c (verify): Move decl up.
16539 (long_int): New type.
16540 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16541 to remove assumption in the code that 'long' is wide enough to
16542 store year values. This assumption is not true on x32 and on
16543 some non-glibc platforms.
16545 mktime: merge wrapv change from gnulib
16546 * time/mktime.c (WRAPV): New macro.
16547 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16548 (guess_time_tm, __mktime_internal): Do not assume that signed
16549 integer overflow wraps around; modern compilers generate code
16550 where this assumption is no longer valid.
16552 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16554 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16555 Replace "jmp L(pseudo_end)" with "ret".
16556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16559 2012-05-23 Andreas Jaeger <aj@suse.de>
16561 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16562 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16564 2012-05-23 Andreas Jaeger <aj@suse.de>
16565 Maximilian Attems <max@stro.at>
16567 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16570 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16572 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16573 code so that pseudo_end is just ret and the stack pointer is
16574 correct also for static library in error case.
16576 2012-05-23 Joseph Myers <joseph@codesourcery.com>
16578 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16579 move to syscalls.list.
16580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16585 * manual/install.texi (Running make install): Do not mention Linux
16586 kernel version for which pt_chown is not needed.
16587 (Linux): Do not mention problems with nscd with 2.0 kernels.
16588 * INSTALL: Regenerated.
16590 2012-05-23 Andreas Jaeger <aj@suse.de>
16592 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16593 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16595 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16596 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16597 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16598 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16599 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16600 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16601 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16602 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16603 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16604 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16605 * sysdeps/unix/sysv/linux/bits/in.h
16606 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16608 2012-05-22 Roland McGrath <roland@hack.frob.com>
16610 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16611 (PREPARE_VERSION): Just use assert instead, it will be elided
16612 under [NDEBUG] anyway.
16614 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16616 * sysdeps/unix/sysv/linux/Makefile: Include
16617 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
16618 (sysdep_routines): Remove sysctl.
16619 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16620 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16621 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16622 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16623 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16625 2012-05-22 Andreas Jaeger <aj@suse.de>
16627 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16628 that pseudo_end is just ret and the stack pointer is correct also
16629 for static library in error case.
16631 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16634 * nss/nsswitch.c (defconfig_entries): New variable.
16635 (__nss_database_lookup): Don't leak defconfig entries.
16636 (nss_parse_service_list): Don't leak on error paths.
16637 (free_database_entries): New function.
16638 (free_defconfig): New function.
16639 (free_mem): Move common code to free_database_entries.
16641 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16643 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16645 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16647 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16648 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16649 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16651 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16652 (INTERNAL_SYSCALL_TYPES): Likewise.
16653 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16654 (LOAD_REGS_TYPES_[1-6]): Likewise.
16655 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16656 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16658 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16660 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16661 copysignl for GLIBC_2_0.
16662 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16663 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16664 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16665 logbl for GLIBC_2_0.
16666 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16667 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16669 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16671 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16672 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16674 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16677 * time/mktime.c: Update copyright years.
16679 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16681 mktime: merge comment-quoting-style change from gnulib
16682 * time/mktime.c: Quote 'like this' in comments.
16683 The GNU coding standards suggest that we no longer quote `like this',
16684 as "`" and "'" are typically rendered asymmetrically nowadays.
16685 The typical gnulib style is to quote 'like this' when quoting
16686 code, and "like this" when quoting English.
16688 * time/mktime.c (compile-command): Add "-I.".
16690 mktime: merge mktime-internal.h change from gnulib
16691 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16693 mktime: merge time_r change from gnulib
16694 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16696 mktime: merge DEBUG change from gnulib
16697 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16698 case system <time.h> has a #define.
16700 mktime: merge <sys/types.h> change from gnulib
16701 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16702 since <time.t> is now guaranteed to define time_t.
16704 mktime: merge HAVE_CONFIG_H change from gnulib
16705 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16707 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16709 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16712 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16714 (struct rusage): Use anonymous union to pad each field to
16717 2012-05-21 David S. Miller <davem@davemloft.net>
16719 * Makefules (o-iterator): Remove .s cases.
16720 (compile-command.s): Delete.
16721 (COMPILE.s): Delete.
16722 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16724 2012-05-21 Joseph Myers <joseph@codesourcery.com>
16726 * configure.in (libc_cv_predef_stack_protector): Only consider
16727 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16728 * configure: Regenerated.
16730 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16732 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16733 New macro. Use R*LP on int and pointer.
16734 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
16735 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16736 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
16737 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16739 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16740 [__WORDSIZE_TIME64_COMPAT32] instead of
16741 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16742 (struct utmp): Likewise.
16743 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16744 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16746 (__WORDSIZE_TIME64_COMPAT32): This.
16747 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16748 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16749 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16750 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16751 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16752 (__WORDSIZE_TIME64_COMPAT32): New macro.
16754 2012-05-21 Andreas Jaeger <aj@suse.de>
16756 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16757 only if [SHARED]. Add prototype for __wcschr_ia32.
16759 2012-05-21 Roland McGrath <roland@hack.frob.com>
16761 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16762 of %rbp unmolested in the jmp_buf while mangling the low bits.
16763 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16764 unmolested high bits of %rbp while demangling the low bits.
16765 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16767 2012-05-21 Andreas Jaeger <aj@suse.de>
16769 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16770 * sunrpc/svc_simple.c: Use it for registerrpc.
16771 * sunrpc/xcrypt.c: Use it for passwd2des.
16773 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16775 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16777 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16778 Don't define if [__SYSCALL_WORDSIZE != 32].
16779 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16782 2012-05-21 Bruno Haible <bruno@clisp.org>
16783 Andreas Jaeger <aj@suse.de>
16785 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16786 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16787 inptr and inend for must_buffer_ch.
16788 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16789 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16790 * stdio-common/Makefile (tests): Remove bug15.
16791 (bug15-ENV): Remove macro.
16792 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16795 2012-05-19 Andreas Jaeger <aj@suse.de>
16796 Roland McGrath <roland@hack.frob.com>
16798 * manual/contrib.texi: Completely rewritten. It contains now an
16799 alphabetical list of contributors and their contributions.
16801 2012-05-21 Richard Henderson <rth@twiddle.net>
16803 * misc/getauxval.c (__getauxval): Use unsigned long int.
16804 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16805 (getauxval): Use unsigned long int.
16807 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16809 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16811 2012-05-21 Roland McGrath <roland@hack.frob.com>
16813 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16814 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16815 __alignof__ (long double).
16817 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16821 2012-05-20 Richard Henderson <rth@twiddle.net>
16823 * misc/getauxval.c: New file.
16824 * misc/sys/auxv.h: New file.
16825 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16826 (routines): Add getauxval.
16827 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16828 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16829 * elf/dl-sysdep.c (_dl_auxv): Remove.
16830 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16831 * elf/dl-support.c (_dl_auxv): New variable.
16832 (_dl_aux_init): Initialize it.
16833 * manual/startup.texi (Auxiliary Vector): New node.
16834 * sysdeps/generic/bits/hwcap.h: New file.
16835 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16836 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16837 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16838 * sysdeps/sparc/sysdep.h: ... here. Include it.
16839 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16840 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
16841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16845 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16846 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16852 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16856 2012-05-19 David S. Miller <davem@davemloft.net>
16858 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16860 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16863 * math/s_ccosh.c: Include <float.h>
16864 (__ccosh): Avoid internal overflow calculating sinh and cosh
16865 values before multiplying by sin and cos values.
16866 * math/s_ccoshf.c: Likewise.
16867 * math/s_ccoshl.c: Likewise.
16868 * math/s_csin.c: Likewise.
16869 * math/s_csinf.c: Likewise.
16870 * math/s_csinl.c: Likewise.
16871 * math/s_csinh.c: Likewise.
16872 * math/s_csinhf.c: Likewise.
16873 * math/s_csinhl.c: Likewise.
16874 * math/libm-test.inc (ccos_test): Add more tests.
16875 (ccosh_test): Likewise.
16876 (csin_test): Likewise.
16877 (csinh_test): Likewise.
16878 * sysdeps/i386/fpu/libm-test-ulps: Update.
16879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16881 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16883 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16884 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16886 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16888 2012-05-19 Joseph Myers <joseph@codesourcery.com>
16890 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16891 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16892 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16893 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16894 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16895 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16896 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16897 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16898 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16899 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16900 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16901 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16902 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16903 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16904 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16905 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16906 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16907 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16908 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16909 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16910 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16911 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16912 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16913 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16914 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16915 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16916 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16917 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16918 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16919 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16920 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16922 2012-05-18 Andreas Jaeger <aj@suse.de>
16924 * csu/.gitignore: Delete.
16926 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16928 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16929 (timex): Use __syscall_slong_t.
16931 2012-05-18 Andreas Jaeger <aj@suse.de>
16932 Carlos O'Donell <carlos_odonell@mentor.com>
16934 * manual/install.texi (Configuring and compiling): Update
16935 description about files modified in the source directory.
16936 * INSTALL: Regenerated.
16938 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16940 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16941 value. Use "or" to set return value to -1.
16942 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16943 negate return value.
16945 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16947 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16948 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16949 failure if the compiler has Graphite support disabled.
16950 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16952 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16953 CFLAGS-memmove.c): Likewise.
16954 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16957 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16959 * sysdeps/x86_64/x32/_itoa.h: New file.
16961 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16962 getdents system call only if kernel and user dirents have the
16963 same d_ino and d_off.
16965 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16966 LLONG_MAX != LONG_MAX.
16967 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16968 (_fitoa_word): Likewise.
16970 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16972 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16973 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16974 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16976 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16977 include <bits/wordsize.h>. Check __x86_64__ instead of
16979 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16980 if __x86_64__ is defined. Use anonymous union on fpstate.
16982 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16985 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16987 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16988 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16989 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16990 Refer to _rtld_local_ro instead of _rtld_global_ro.
16991 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16993 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16995 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16997 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16998 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16999 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17001 * sysdeps/powerpc/powerpc32/dl-machine.c
17002 (__elf_machine_runtime_setup) [PROF]: Don't reference
17005 2012-05-18 Andreas Jaeger <aj@suse.de>
17007 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17008 function only available for GCCs before 3.4 since GCC 3.4
17009 introduced a builtin.
17011 (llrintf): Likewise.
17012 (llrint): Likewise.
17019 (nearbyint): Likewise.
17020 (nearbyintf): Likewise.
17024 (floorf): Likewise.
17026 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17028 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17029 on both fields and cast pointer to __syscall_ulong_t.
17031 * bits/types.h (__fsword_t): New type.
17032 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17033 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17034 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17035 (__FSWORD_T_TYPE): Likewise.
17036 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17037 (__FSWORD_T_TYPE): Likewise.
17038 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17039 (__FSWORD_T_TYPE): Likewise.
17040 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17041 (__FSWORD_T_TYPE): Likewise.
17042 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17043 __SWORD_TYPE with __fsword_t.
17044 (statfs64): Likewise.
17046 2012-05-17 David S. Miller <davem@davemloft.net>
17048 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17050 2012-05-17 Andreas Jaeger <aj@suse.de>
17052 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17055 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17057 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17059 2012-05-17 Andreas Jaeger <aj@suse.de>
17061 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17064 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17066 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17068 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17070 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17071 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17073 2012-05-17 Andreas Jaeger <aj@suse.de>
17074 Carlos O'Donell <carlos_odonell@mentor.com>
17077 * sysdeps/x86_64/multiarch/init-arch.h
17078 (bit_YMM_Usable): Rename to...
17079 (bit_AVX_Usable): ... this.
17080 (bit_FMA4_Usable): New macro.
17081 (bit_XMM_state): New macro.
17082 (bit_YMM_state): New macro.
17083 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17084 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17085 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17086 (CPUID_OSXSAVE): New macro.
17087 (CPUID_AVX): New macro.
17088 (CPUID_FMA4): New macro.
17089 (index_YMM_Usable): Rename to...
17090 (index_AVX_Usable): ... this.
17091 (HAS_AVX): Use HAS_ARCH_FEATURE.
17092 (HAS_FMA4): Likewise.
17093 (HAS_YMM_USABLE): Remove.
17094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17095 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17097 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17098 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17099 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17100 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17101 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17103 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17105 * math/libm-test.c: Support platforms without multiple rounding modes.
17106 * math/bug-nextafter.c: Support platforms without FP exceptions.
17107 * math/bug-nexttoward.c: Likewise.
17108 * math/test-fenv.c: Likewise.
17109 * math/test-misc.c: Likewise.
17110 * stdlib/bug-getcontext.c: Likewise.
17112 2012-05-17 Andreas Jaeger <aj@suse.de>
17114 * manual/examples/search.c (critter_cmp): Change signature to
17116 * manual/string.texi (Collation Functions): Likewise.
17118 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17120 * bits/types.h: Fold copyright years.
17121 * bits/typesizes.h: Likewise.
17122 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17124 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17125 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17126 * time/time.h: Likewise.
17128 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17131 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17132 in instead of returning them. Return void.
17133 (__libc_mallinfo): Accumulate over all arenas.
17134 (__malloc_stats): Adjust for change in int_mallinfo interface.
17136 2012-05-16 Roland McGrath <roland@hack.frob.com>
17139 * configure.in (NM): Add AC_CHECK_TOOL for it.
17140 (libc_extra_cflags): New substituted variable.
17141 Check for -fstack-protector being used implicitly.
17142 * configure: Regenerated.
17143 * config.make.in (config-extra-cflags): New variable,
17144 gets @libc_extra_cflags@.
17145 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17148 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17149 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17150 * configure: Regenerated.
17151 * config.make.in (CPPUNDEFS): New substituted variable.
17152 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17153 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17154 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17156 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17158 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17159 (mq_attr): Use __syscall_slong_t.
17161 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17163 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17164 Check __x86_64__ instead of __WORDSIZE.
17165 (_STAT_VER_LINUX): Likewise.
17166 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17167 __syscall_ulong_t and __syscall_slong_t.
17168 (stat64): Likewise.
17170 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17172 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17174 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17176 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17178 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17180 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17183 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17184 include <bits/wordsize.h>. Check __x86_64__ instead of
17186 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17188 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17190 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17191 include <bits/wordsize.h>. Check __x86_64__ instead of
17193 (user_regs_struct): Use "__extension__ unsigned long long"
17194 instead of "unsigned long" if __x86_64__ is defined.
17195 (user): Likewise. Pad after pointer field if __ILP32__ is
17198 2012-05-16 Joseph Myers <joseph@codesourcery.com>
17200 * configure.in (makeinfo): Require version 4.5 or later. Allow
17202 * configure: Regenerated.
17203 * manual/install.texi (texinfo): Increase version requirement to
17205 * INSTALL: Regenerated.
17207 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17209 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17211 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17213 * sysdeps/x86_64/x32/ffs.c: New file.
17215 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17217 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17218 defined. Use __syscall_ulong_t.
17219 (shminfo): Use __syscall_ulong_t.
17220 (shm_info): Likewise.
17222 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17225 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17227 (msgqnum_t): Use __syscall_ulong_t.
17228 (msglen_t): Likewise.
17229 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17232 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17233 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17235 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17237 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17238 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17240 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17243 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17244 include <bits/wordsize.h>. Check __x86_64__ instead of
17247 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17248 "unsigned long long int" if __x86_64__ is defined.
17249 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17251 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17252 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17253 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17255 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17257 (GET_PC): Cast to uintptr_t first.
17258 (GET_FRAME): Likewise.
17259 (GET_STACK): Likewise.
17261 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17262 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17263 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17264 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17265 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17266 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17267 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17268 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17269 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17270 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17271 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17272 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17273 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17274 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17275 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17276 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17277 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17278 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17279 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17280 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17281 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17282 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17283 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17284 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17285 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17286 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17287 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17288 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17289 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17291 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17293 * Makerules (+depfiles): Also collect depfiles from .oS in
17295 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17296 .oS, $(libnldbl-routines)).
17298 * Makerules (native-compile-mkdep-flags): Define.
17299 * sunrpc/Makefile (extra-objs): Add $(addprefix
17300 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17301 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17302 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17303 calling $(make-target-directory).
17305 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17307 * bits/types.h (__snseconds_t): Removed.
17308 * time/time.h (struct timespec): Replace __snseconds_t with
17310 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17311 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17313 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17314 (__SNSECONDS_T_TYPE): Likewise.
17315 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17316 (__SNSECONDS_T_TYPE): Likewise.
17317 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17318 (__SNSECONDS_T_TYPE): Likewise.
17320 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17322 * sysdeps/mach/hurd/bits/typesizes.h
17323 (__SYSCALL_SLONG_TYPE): New macro.
17324 (__SYSCALL_ULONG_TYPE): Likewise.
17326 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17328 * bits/types.h (__syscall_slong_t): New type.
17329 (__syscall_ulong_t): Likewise.
17331 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17332 (__SYSCALL_ULONG_TYPE): Likewise.
17333 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17334 (__SYSCALL_SLONG_TYPE): Likewise.
17335 (__SYSCALL_ULONG_TYPE): Likewise.
17336 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17337 (__SYSCALL_SLONG_TYPE): Likewise.
17338 (__SYSCALL_ULONG_TYPE): Likewise.
17339 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17340 (__SYSCALL_SLONG_TYPE): Likewise.
17341 (__SYSCALL_ULONG_TYPE): Likewise.
17343 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17345 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17346 Add sigaltstack-offsets.sym.
17347 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17348 <sigaltstack-offsets.h>.
17349 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17350 longjmp_msg pointer.
17351 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17352 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17354 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17356 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17358 * elf/stackguard-macros.h: Remove file.
17359 * sysdeps/generic/stackguard-macros.h: New file.
17360 * sysdeps/i386/stackguard-macros.h: Likewise.
17361 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17362 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17363 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17364 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17365 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17366 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17367 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17368 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17369 <elf/stackguard-macros.h>.
17372 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17373 __aligned__ in attribute.
17374 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17375 (gregset_t): Likewise.
17377 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17379 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17380 * sysdeps/x86_64/64/Implies-after: Here. New file.
17381 * sysdeps/x86_64/x32/Implies-after: New file.
17383 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17385 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17386 and access return value for _dl_profile_fixup. Use R10_LP to
17389 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17391 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17393 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17395 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17396 * sysdeps/x86_64/x32/sysdep.h: New file.
17398 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17400 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17401 * sysdeps/x86_64/setjmp.S: Likewise.
17403 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17405 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17406 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17407 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17408 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17409 remove unused global constant.
17411 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17413 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17414 include of <not-cancel.h>.
17416 2012-05-15 Roland McGrath <roland@hack.frob.com>
17418 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17420 2012-05-15 Jeff Law <law@redhat.com>
17421 Andreas Jaeger <aj@suse.de>
17424 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17426 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17427 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17428 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17429 code changing __hst_map_handle.map.
17431 2012-05-15 Roland McGrath <roland@hack.frob.com>
17433 * configure.in (sysnames): Look for Implies-before and Implies-after
17435 * configure: Regenerated.
17437 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17439 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17440 8-byte data alignment with LP_SIZE alignment.
17442 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17444 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17449 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17451 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17453 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17454 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17455 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17457 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17459 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17461 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17462 (stackinfo_sub_sp): Likewise.
17464 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17466 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17469 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17471 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17474 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17476 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17479 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17481 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17485 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17486 into R11_LP and load __x86_64_shared_cache_size_half into
17489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17491 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17494 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17498 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17500 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17502 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17503 powerpc32/power7/fpu/s_logb.c via #include.
17504 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17505 powerpc32/power7/fpu/s_logbf.c via #include.
17506 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17507 powerpc32/power7/fpu/s_logbl.c via #include.
17509 2012-05-15 Joseph Myers <joseph@codesourcery.com>
17511 * README.libm: Remove file.
17513 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17515 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17516 count for x32. Use R*_LP and omit operand-size suffix.
17518 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17520 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17521 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17522 * sysdeps/x86_64/x32/shlib-versions: New file.
17524 2012-05-14 Roland McGrath <roland@hack.frob.com>
17526 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17527 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17528 Use _dl_fatal_printf instead.
17530 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17532 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17533 set if not set by the user. Do not allow for being unset.
17534 * sysdeps/unix/sysv/linux/configure: Regenerated.
17536 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17538 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17539 the `q' suffix from lea and replace .quad with ASM_ADDR.
17541 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17544 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17546 (PTR_DEMANGLE): Likewise.
17548 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17550 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17552 (ASM_ADDR): Likewise.
17553 (RAX_LP): Likewise.
17554 (RBP_LP): Likewise.
17555 (RBX_LP): Likewise.
17556 (RCX_LP): Likewise.
17557 (RDI_LP): Likewise.
17558 (RSI_LP): Likewise.
17559 (RSP_LP): Likewise.
17562 (R10_LP): Likewise.
17563 (R10_LP): Likewise.
17564 (R11_LP): Likewise.
17565 (R12_LP): Likewise.
17566 (R13_LP): Likewise.
17567 (R14_LP): Likewise.
17568 (R15_LP): Likewise.
17570 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17572 * sysdeps/x86_64/x32/dl-machine.h: New file.
17574 2012-05-14 Andreas Jaeger <aj@suse.de>
17576 * manual/Makefile (subdir): Remove export of subdir.
17577 (all): Remove target.
17578 (.PHONY): Remove all from list.
17579 (mkinstalldirs): Remove.
17580 (.PHONY): Remove installdirs from list.
17581 ($(inst_infodir)/libc.info): Use make-target-directory.
17582 (installdirs): Remove.
17583 (subdir_%): Remove.
17584 (glibc-targets): Remove.
17587 ($(objpfx)stubs ../po/manual.pot): Remove.
17588 ($(objpfx)stamp%): Remove.
17589 (make-target-directory): Remove.
17590 (subdir_install): Remove.
17591 (routines): Remove.
17598 * manual/.gitignore: Remove, it's not needed anymore.
17599 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17601 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17603 (texis): Renamed to $(objpfx)texis.
17604 (texis-path): New, contains path to generated files.
17605 (chapters.%): Use texis-path for complete path, add extra argument
17607 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17608 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17609 (summary,texi, stamp-summary): Use complete path of
17610 files. Generate files in build dir.
17611 (dir-add.texi): Build in build dir.
17612 (libm-err.texi,stamp-libm-err): Likewise.
17613 (version.texi, stamp-version): Likewise.
17614 (.%c.texi): Likewise.
17615 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17616 (mostlyclean): Remove target.
17617 (realclean): Remove target.
17618 (generated): Add new variable with contents from mostlyclean and
17619 realclean, remove entries duplicated in common-mostlyclean, add
17620 stamp-libm-err and stamp-version.
17621 (generated-dirs): Add libc directory.
17622 ($(inst_infodir)/libc.info): Install files from build dir.
17624 * manual/install.texi (Configuring and compiling): Adjust since
17625 the info files are not part of the tar ball anymore.
17627 2012-05-14 Andreas Jaeger <aj@suse.de>
17629 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17632 2012-05-14 Joseph Myers <joseph@codesourcery.com>
17635 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17636 to 2.2.0 where earlier.
17637 * sysdeps/unix/sysv/linux/configure: Regenerated.
17638 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17639 Remove conditional code.
17640 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17641 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17642 Remove conditional code.
17643 [!__NR_lchown]: Likewise.
17644 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17645 [__NR_lchown]: Likewise.
17646 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17647 comment referencing __ASSUME_LCHOWN_SYSCALL.
17648 * sysdeps/unix/sysv/linux/i386/sigaction.c
17649 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17650 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17651 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17652 Remove conditional code.
17653 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17654 (__protocol_available): Remove #if 0 code.
17655 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17657 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17658 * sysdeps/unix/sysv/linux/kernel-features.h
17659 (__ASSUME_GETCWD_SYSCALL): Don't define.
17660 (__ASSUME_REALTIME_SIGNALS): Likewise.
17661 (__ASSUME_PREAD_SYSCALL): Likewise.
17662 (__ASSUME_PWRITE_SYSCALL): Likewise.
17663 (__ASSUME_POLL_SYSCALL): Likewise.
17664 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17665 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17667 (__ASSUME_SIOCGIFNAME): Don't define.
17668 (__ASSUME_MSG_NOSIGNAL): Likewise.
17669 (__ASSUME_SENDFILE): Define unconditionally.
17670 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17671 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17673 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17674 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17675 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17676 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17677 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17678 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17679 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17681 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17684 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17687 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17688 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17690 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17693 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17694 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17696 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17699 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17700 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17702 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17704 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17705 Remove conditional code.
17706 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17707 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17708 Remove conditional code.
17709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17710 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17711 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17712 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17713 Remove conditional code.
17714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17715 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17716 Remove conditional code.
17717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17718 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17719 Remove conditional code.
17720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17721 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17722 Remove conditional code.
17723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17724 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17725 Remove conditional code.
17726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17727 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17728 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17730 * sysdeps/unix/sysv/linux/sigaction.c
17731 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17732 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17733 * sysdeps/unix/sysv/linux/sigpending.c
17734 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17735 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17736 * sysdeps/unix/sysv/linux/sigprocmask.c
17737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17739 * sysdeps/unix/sysv/linux/sigsuspend.c
17740 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17741 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17742 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17743 (__libc_missing_rt_sigs): Remove.
17744 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17745 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17746 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17747 Remove conditional code.
17748 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17749 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17751 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17752 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17753 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17754 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17756 2012-05-14 Andreas Jaeger <aj@suse.de>
17758 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17759 it's not used in glibc.
17760 (__coshm1): Likewise.
17761 (__acosh1p): Likewise.
17764 * manual/string.texi (Copying and Concatenation): Add missing
17765 variable in concat example.
17766 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17768 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17771 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17772 __builtin_clzl with __builtin_clzll.
17774 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17777 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17780 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17782 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17783 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17784 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17785 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17787 2012-05-14 Mike Frysinger <vapier@gentoo.org>
17789 * NEWS: Update ia64 info.
17791 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17793 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17796 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17798 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17799 * sysdeps/unix/syscalls.list (dup3): Likewise.
17800 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17801 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17803 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17805 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17806 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17808 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17810 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17812 (TLS_IE): Use mov/add instead of movq/addq to load thread
17814 (TLS_GD_PREFIX): New.
17817 2012-05-11 David S. Miller <davem@davemloft.net>
17819 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17820 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17821 (_FPU_SETCW): Likewise.
17823 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17825 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17826 is 32-byte aligned.
17828 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17831 * iconvdata/gb18030.c: Update tables.
17832 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17833 characters specially.
17834 (BODY for TO_LOOP): Add encoding of missing ranges.
17836 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17839 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17840 * sysdeps/mach/hurd/dup3.c: Likewise.
17841 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17842 * sysdeps/powerpc/memmove.c:: Likewise.
17844 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17846 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17847 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17849 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17851 * elf/elf.h (R_X86_64_RELATIVE64): New.
17852 (R_X86_64_NUM): Updated.
17853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17854 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17855 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17856 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17857 tst-quad1pie tst-quad2pie
17858 (modules-names): Add tst-quadmod1 tst-quadmod2.
17859 ($(objpfx)tst-quad1): New dependency.
17860 ($(objpfx)tst-quad2): Likewise.
17861 ($(objpfx)tst-quad1pie): Likewise.
17862 ($(objpfx)tst-quad2pie): Likewise.
17863 * sysdeps/x86_64/tst-quad1.c: New file.
17864 * sysdeps/x86_64/tst-quad1pie.c: New file.
17865 * sysdeps/x86_64/tst-quad2.c: Likewise.
17866 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17867 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17868 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17869 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17870 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17872 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17874 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17875 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17876 * streams/stropts.h (t_scalar_t): Define type.
17878 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17879 (_PATH_PRESERVE): Set to "/var/lib".
17880 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17882 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17885 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17886 if __dir_mkfile succeeded.
17888 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17889 checking for _hurd_dtablesize. Unlock it right after having
17890 finished _hurd_dtable allocation.
17892 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17894 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17895 * sysdeps/mach/hurd/configure: Regenerated.
17896 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17897 special-casing to...
17898 * sysdeps/gnu/configure.in: ... this new file.
17899 * sysdeps/unix/sysv/linux/configure: Regenerated.
17900 * sysdeps/gnu/configure: New generated file.
17902 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17903 for Linux: use nsec instead of usec, as well as:
17904 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17905 members of type struct timespec.
17906 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17908 (struct stat64): Likewise.
17909 (_STATBUF_ST_NSEC): New macro.
17910 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17912 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17913 __strtoul_internal rather than strtoul.
17915 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17917 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17920 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17922 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17923 which preserves existing values.
17924 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17926 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17928 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17929 TIMEOUT values. Return EINVAL for NFDS values either negative or
17930 greater than FD_SETSIZE.
17932 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17934 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17935 allocated, call __vm_protect to finish enabling the existing space, and
17936 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17937 allocate the remainder.
17939 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17941 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17942 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17944 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17946 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17947 sysdeps/mach/hurd/readlink.c.
17949 * posix/tst-sysconf.c (posix_options): Only use
17950 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17951 _POSIX_SYNCHRONIZED_IO when they are defined
17952 * sysdeps/mach/hurd/bits/posix_opt.h:
17953 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17954 (_XOPEN_REALTIME): Undefine macro.
17955 (_XOPEN_REALTIME_THREADS): Undefine macro.
17956 (_XOPEN_SHM): Undefine macro.
17957 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17959 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17961 (_POSIX_ASYNC_IO): Undefine macro.
17962 (_POSIX_PRIORITIZED_IO): Undefine macro.
17963 (_POSIX_SPIN_LOCKS): Define macro to -1.
17965 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17966 SA_NODEFER, SA_RESETHAND.
17967 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17968 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17971 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17973 * elf/Makefile (pldd-modules): Define unconditionally.
17975 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17977 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17979 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17981 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17982 Return ENOENT when name is empty.
17983 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17985 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
17987 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17989 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17991 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17993 Fix mlock in all cases except non-readable pages.
17994 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17995 instead of VM_PROT_ALL as parameter to __vm_wire function.
17997 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17998 (__mkdir): When path is `/', just fail with EEXIST.
17999 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18001 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18003 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18004 <sys/uio.h> (for writev).
18005 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18006 and <sys/param.h> (for MIN).
18008 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18010 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18011 REQUESTED_TIME. Properly set the remaining time and return EINTR
18014 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18016 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18017 Depend on against $(link-rpcuserlibs).
18019 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18021 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18022 (__libc_stack_end): Do not use attribute_relro.
18023 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18024 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
18025 to libthread-provided value.
18026 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18029 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18032 * bits/libc-lock.h (__libc_once_get): New macro.
18033 * sysdeps/mach/bits/libc-lock.h: Likewise.
18034 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18035 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18036 instead of using implementation details.
18038 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18039 * libio/freopen.c: Likewise.
18040 * libio/freopen64.c: Likewise.
18041 * misc/syslog.c: Likewise.
18042 * nscd/connections.c: Likewise.
18043 * nscd/netgroupcache.c: Likewise.
18044 * sysdeps/posix/getcwd.c: Likewise.
18046 2012-05-10 Roland McGrath <roland@hack.frob.com>
18048 * math/w_ilogbf.c: Add #include <limits.h>.
18050 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18052 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
18053 path instead of returning without unlocking.
18055 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18056 immediate-write ioctls.
18057 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18059 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18061 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18062 __builtin_frame_address instead of making assumptions about the
18063 location of the return address relative to DATA. Force early load of
18064 the return address.
18065 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18066 __builtin_frame_address.
18069 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18070 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18071 implement dup3 and do some further code clean-ups.
18072 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18073 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18075 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18077 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18079 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18080 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18081 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18082 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18083 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18086 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18087 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18088 when handler == SIG_ERR, not when handler != SIG_ERR.
18090 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18092 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18093 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18096 accept4 for GNU Hurd.
18097 * include/sys/socket.h (__libc_accept4): New prototype.
18098 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18099 to implement __libc_accept4.
18100 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18102 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18104 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18105 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18106 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18107 signal-defines.sym.
18109 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18111 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
18113 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
18115 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18116 assertion on O_CLOEXEC flag.
18117 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18118 * hurd/intern-fd.c: Likewise.
18119 * hurd/port2fd.c: Likewise.
18121 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18124 * bits/in.h (IPV6_PKTINFO): Define new macro.
18125 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18127 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18132 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18133 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18134 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18135 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18136 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18137 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18138 * math/libm-test.inc (logb_test) : Additional logb tests.
18140 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18141 Andreas Jaeger <aj@suse.de>
18143 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18144 * configure: Regenerated.
18145 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18146 * config.make.in (link-obsolete-rpc): New substituted variable.
18147 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18148 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18149 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18150 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18151 so that libc.a contains the symbols.
18152 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18153 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18154 * sunrpc/auth_none.c: Likewise.
18155 * sunrpc/auth_unix.c: Likewise.
18156 * sunrpc/authdes_prot.c: Likewise.
18157 * sunrpc/authuxprot.c: Likewise.
18158 * sunrpc/clnt_gen.c: Likewise.
18159 * sunrpc/clnt_perr.c: Likewise.
18160 * sunrpc/clnt_raw.c: Likewise.
18161 * sunrpc/clnt_simp.c: Likewise.
18162 * sunrpc/clnt_tcp.c: Likewise.
18163 * sunrpc/clnt_udp.c: Likewise.
18164 * sunrpc/clnt_unix.c: Likewise.
18165 * sunrpc/des_crypt.c: Likewise.
18166 * sunrpc/des_soft.c: Likewise.
18167 * sunrpc/get_myaddr.c: Likewise.
18168 * sunrpc/key_call.c: Likewise.
18169 * sunrpc/key_prot.c: Likewise.
18170 * sunrpc/netname.c: Likewise.
18171 * sunrpc/pm_getmaps.c: Likewise.
18172 * sunrpc/pm_getport.c: Likewise.
18173 * sunrpc/pmap_clnt.c: Likewise.
18174 * sunrpc/pmap_prot.c: Likewise.
18175 * sunrpc/pmap_prot2.c: Likewise.
18176 * sunrpc/pmap_rmt.c: Likewise.
18177 * sunrpc/publickey.c: Likewise.
18178 * sunrpc/rpc_cmsg.c: Likewise.
18179 * sunrpc/rpc_common.c: Likewise.
18180 * sunrpc/rpc_dtable.c: Likewise.
18181 * sunrpc/rpc_prot.c: Likewise.
18182 * sunrpc/rpc_thread.c: Likewise.
18183 * sunrpc/rtime.c: Likewise.
18184 * sunrpc/svc.c: Likewise.
18185 * sunrpc/svc_auth.c: Likewise.
18186 * sunrpc/svc_raw.c: Likewise.
18187 * sunrpc/svc_run.c: Likewise.
18188 * sunrpc/svc_tcp.c: Likewise.
18189 * sunrpc/svc_udp.c: Likewise.
18190 * sunrpc/svc_unix.c: Likewise.
18191 * sunrpc/svcauth_des.c: Likewise.
18192 * sunrpc/xcrypt.c: Likewise.
18193 * sunrpc/xdr.c: Likewise.
18194 * sunrpc/xdr_array.c: Likewise.
18195 * sunrpc/xdr_float.c: Likewise.
18196 * sunrpc/xdr_intXX_t.c: Likewise.
18197 * sunrpc/xdr_mem.c: Likewise.
18198 * sunrpc/xdr_rec.c: Likewise.
18199 * sunrpc/xdr_ref.c: Likewise.
18200 * sunrpc/xdr_sizeof.c: Likewise.
18201 * sunrpc/xdr_stdio.c: Likewise.
18203 2012-05-10 Roland McGrath <roland@hack.frob.com>
18205 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18206 change. Update copyright years.
18208 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18210 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18212 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18213 Joseph Myers <joseph@codesourcery.com>
18214 Paul Pluzhnikov <ppluzhnikov@google.com>
18217 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18219 [cross-compiling] (extra-libs): Likewise.
18220 [cross-compiling] (extra-libs-others): Likewise.
18221 [cross-compiling] (librpcsvc-routines): Likewise.
18222 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18223 [cross-compiling] (omit-deps): Likewise.
18224 (sunrpc-CPPFLAGS): New variable.
18225 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18226 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18227 (cross-rpcgen-objs): New variable.
18228 (extra-objs): Append $(cross-rpcgen-objs).
18229 ($(cross-rpcgen-objs)): New rule.
18230 ($(objpfx)cross-rpcgen): Likewise.
18231 (rpcgen-cmd): Define to use $(built-program-file). Expand
18233 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18234 ($(objpfx)x%.stmp): Likewise.
18235 * sunrpc/proto.h [IS_IN_build] (_): Define.
18236 [IS_IN_build] (_libc_intl_domainname): Likewise.
18238 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18241 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18242 and R_X86_64_TPOFF64.
18244 2012-05-10 Joseph Myers <joseph@codesourcery.com>
18246 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18247 sysdeps/unix/sysv/syscalls.list.
18250 * sysdeps/unix/sysv/syscalls.list: Remove file.
18252 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18255 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18256 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18257 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18258 (__LC_IDENTIFICATION): Make these macros useful in #if
18259 expressions, as required by C99.
18261 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18263 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18264 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18267 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18269 * stdlib/longlong.h: Updated from GCC.
18271 2012-05-09 Andreas Jaeger <aj@suse.de>
18273 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18274 default is first entry.
18275 (run_mode): Set type.
18276 (main): Remove informal message about syslog.
18277 (options): Fix typo.
18280 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
18283 (llrintf): Likewise.
18284 (llrint): Likewise.
18287 (nearbyint): Likewise.
18288 (nearbyintf): Likewise.
18290 2012-05-09 Andreas Jaeger <aj@suse.de>
18291 Pedro Alves <palves@redhat.com>
18293 * nscd/nscd.c (run_mode): Use enum.
18294 (main): Cleanup coding style issue.
18296 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
18297 Andreas Jaeger <aj@suse.de>
18299 * nscd/nscd.c (go_background): Replaced with...
18300 (run_mode): ... this.
18301 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
18302 (options): Add -F --foreground.
18303 (main): Implement it.
18304 (parse_opt): Parse it.
18306 2012-05-09 Andreas Jaeger <aj@suse.de>
18309 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18310 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18311 -Wconversion warning.
18312 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18315 2012-05-09 Joseph Myers <joseph@codesourcery.com>
18317 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18319 (LC_ALL): Use macro-int-constant.
18320 (LC_COLLATE): Likewise.
18321 (LC_CTYPE): Likewise.
18322 (LC_MESSAGES): Likewise.
18323 (LC_MONETARY): Likewise.
18324 (LC_NUMERIC): Likewise.
18325 (LC_TIME): Likewise.
18326 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18327 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18329 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18331 [C99-based standards] (float_t): Expect type.
18332 [C99-based standards] (double_t): Expect type.
18333 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18335 [C99-based standards] (HUGE_VALL): Likewise.
18336 [C99-based standards] (INFINITY): Likewise.
18337 [C99-based standards] (NAN): Likewise.
18338 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18339 [C99-based standards] (FP_NAN): Likewise.
18340 [C99-based standards] (FP_NORMAL): Likewise.
18341 [C99-based standards] (FP_SUBNORMAL): Likewise.
18342 [C99-based standards] (FP_ZERO): Likewise.
18343 [C99-based standards] (FP_FAST_FMA): Use
18344 optional-macro-int-constant. Specify type. Require == 1.
18345 [C99-based standards] (FP_FAST_FMAF): Likewise.
18346 [C99-based standards] (FP_FAST_FMAL): Likewise.
18347 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18348 [C99-based standards] (FP_ILOGBNAN): Likewise.
18349 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18351 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18352 [C99-based standards] (math_errhandling): Specify type.
18353 [ISO99 || ISO11] (signgam): Do not allow.
18354 [non-C99-based standards] (copysignf): Do not allow.
18355 [non-C99-based standards] (exp2f): Likewise.
18356 [non-C99-based standards] (log2f): Likewise.
18357 [non-C99-based standards] (modff): Allow.
18358 [non-C99-based standards] (erff): Do not allow.
18359 [non-C99-based standards] (erfcf): Likewise.
18360 [non-C99-based standards] (gammaf): Likewise.
18361 [non-C99-based standards] (hypotf): Likewise.
18362 [non-C99-based standards] (j0f): Likewise.
18363 [non-C99-based standards] (j1f): Likewise.
18364 [non-C99-based standards] (jnf): Likewise.
18365 [non-C99-based standards] (lgammaf): Likewise.
18366 [non-C99-based standards] (tgammaf): Likewise.
18367 [non-C99-based standards] (y0f): Likewise.
18368 [non-C99-based standards] (y1f): Likewise.
18369 [non-C99-based standards] (ynf): Likewise.
18370 [non-C99-based standards] (isnanf): Likewise.
18371 [non-C99-based standards] (acoshf): Likewise.
18372 [non-C99-based standards] (asinhf): Likewise.
18373 [non-C99-based standards] (atanhf): Likewise.
18374 [non-C99-based standards] (cbrtf): Likewise.
18375 [non-C99-based standards] (expm1f): Likewise.
18376 [non-C99-based standards] (ilogbf): Likewise.
18377 [non-C99-based standards] (log1pf): Likewise.
18378 [non-C99-based standards] (logbf): Likewise.
18379 [non-C99-based standards] (nextafterf): Likewise.
18380 [non-C99-based standards] (remainderf): Likewise.
18381 [non-C99-based standards] (rintf): Likewise.
18382 [non-C99-based standards] (scalbf): Likewise.
18383 [non-C99-based standards] (copysignl): Likewise.
18384 [non-C99-based standards] (exp2l): Likewise.
18385 [non-C99-based standards] (log2l): Likewise.
18386 [non-C99-based standards] (modfl): Allow.
18387 [non-C99-based standards] (erfl): Do not allow.
18388 [non-C99-based standards] (erfcl): Likewise.
18389 [non-C99-based standards] (gammal): Likewise.
18390 [non-C99-based standards] (hypotl): Likewise.
18391 [non-C99-based standards] (j0l): Likewise.
18392 [non-C99-based standards] (j1l): Likewise.
18393 [non-C99-based standards] (jnl): Likewise.
18394 [non-C99-based standards] (lgammal): Likewise.
18395 [non-C99-based standards] (tgammal): Likewise.
18396 [non-C99-based standards] (y0l): Likewise.
18397 [non-C99-based standards] (y1l): Likewise.
18398 [non-C99-based standards] (ynl): Likewise.
18399 [non-C99-based standards] (isnanl): Likewise.
18400 [non-C99-based standards] (acoshl): Likewise.
18401 [non-C99-based standards] (asinhl): Likewise.
18402 [non-C99-based standards] (atanhl): Likewise.
18403 [non-C99-based standards] (cbrtl): Likewise.
18404 [non-C99-based standards] (expm1l): Likewise.
18405 [non-C99-based standards] (ilogbl): Likewise.
18406 [non-C99-based standards] (log1pl): Likewise.
18407 [non-C99-based standards] (logbl): Likewise.
18408 [non-C99-based standards] (nextafterl): Likewise.
18409 [non-C99-based standards] (remainderl): Likewise.
18410 [non-C99-based standards] (rintl): Likewise.
18411 [non-C99-based standards] (scalbl): Likewise.
18412 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18413 [non-C99-based standards] (FP_*): Do not allow.
18414 [C99-based standards] (FP_*): Change to
18415 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18416 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18418 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18419 (SIG_ERR): Likewise.
18420 [X/Open-based standards] (SIG_HOLD): Likewise.
18421 (SIG_IGN): Likewise.
18422 (SIGABRT): Use macro-int-constant. Specify type. Require
18424 (SIGFPE): Likewise.
18425 (SIGILL): Likewise.
18426 (SIGINT): Likewise.
18427 (SIGSEGV): Likewise.
18428 (SIGTER): Likewise.
18429 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18430 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18431 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18432 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18433 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18434 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18435 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18436 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18437 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18438 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18439 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18440 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18441 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18442 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18443 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18444 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18445 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18446 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18447 [X/Open-based standards] (SIGTRAP): Likewise.
18448 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18449 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18450 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18451 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18452 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18455 2012-05-08 Ian Wienand <ianw@vmware.com>
18458 * time/tzset.c (__tzset_parse_tz): Update default rules for
18459 daylight time changes in the Energy Policy Act of 2005.
18461 2012-05-09 Andreas Jaeger <aj@suse.de>
18464 * elf/ldconfig.c (parse_conf): Change string to make clear that
18465 ldconfig only issued a warning if ld.so.conf does not exist.
18467 2012-05-08 David S. Miller <davem@davemloft.net>
18469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18470 movxtod instead of popping the value on the stack.
18472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18474 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18476 * config.h.in: Add HAVE_ARM_PCS_VFP.
18478 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
18481 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18482 checking but the checks are disabled for any reason.
18484 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18486 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18487 and ELF64_R_TYPE with ELFW(R_TYPE).
18489 2012-05-08 Joseph Myers <joseph@codesourcery.com>
18491 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18492 (ulimit): Likewise.
18494 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18495 (settimeofday): Likewise.
18497 2012-05-08 Mike Frysinger <vapier@gentoo.org>
18499 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18500 a struct th_u2 inside the union, and move tu_block/tu_code into
18501 a new th_u3 union of tu_block/tu_code inside of that. Move
18502 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18503 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18504 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18505 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18506 (th_stuff): Change to th_u1.tu_stuff.
18508 (th_msg): Change to th_u1.th_u2.tu_data.
18510 2012-05-07 David S. Miller <davem@davemloft.net>
18512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18515 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18516 (SETUP_PIC_REG): Use it.
18517 (SETUP_PIC_REG_LEAF): Use it.
18519 2012-05-07 Joseph Myers <joseph@codesourcery.com>
18523 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18525 (EXPL_FINITE): Likewise.
18526 (FLDLOG): Likewise.
18527 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18528 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18530 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18532 (EXPL_FINITE): Likewise.
18533 (FLDLOG): Likewise.
18534 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18535 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18537 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18538 test of -max_value argument for long double.
18539 * sysdeps/i386/fpu/libm-test-ulps: Update.
18540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18542 2012-05-06 David S. Miller <davem@davemloft.net>
18544 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18545 quad soft-float symbols whose references which are compiler
18547 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18549 2012-05-06 Joseph Myers <joseph@codesourcery.com>
18553 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18555 (EXPL_FINITE): Likewise.
18556 (FLDLOG): Likewise.
18559 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18560 Adjust comments for base varying.
18561 (__expl_finite): Change alias to EXPL_FINITE.
18562 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18564 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18565 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18566 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18567 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18568 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18570 (EXPL_FINITE): Likewise.
18571 (FLDLOG): Likewise.
18574 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18575 Adjust comments for base varying.
18576 (__expl_finite): Change alias to EXPL_FINITE.
18577 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18582 * math/libm-test.inc (check_float_internal): Correct ulp
18583 calculation for subnormal expected results.
18585 2012-05-06 Andreas Jaeger <aj@suse.de>
18587 * Makeconfig (+math-flags): New, set to -frounding-math.
18588 (+cflags): Add +math-flags so that all of glibc gets compiled with
18591 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18593 2012-05-05 Joseph Myers <joseph@codesourcery.com>
18595 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18601 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18602 (__ieee754_expl): Allow for and saturate large arguments.
18603 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18604 (u_threshold): Likewise.
18605 (__exp): Call __ieee754_exp before checking for overflow and
18607 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18608 (u_threshold): Likewise.
18609 (__expf): Call __ieee754_expf before checking for overflow and
18611 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18612 (u_threshold): Likewise.
18613 (__expl): Call __ieee754_expl before checking for overflow and
18615 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18616 (__ieee754_expl): Allow for and saturate large arguments.
18617 * math/libm-test.inc (exp_test): Add another test. Do not allow
18618 missing overflow exception on overflow.
18619 (expm1_test): Do not allow missing overflow exception on overflow.
18621 * sysdeps/i386/fpu/e_expl.c: Move to ...
18622 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18623 rather than using inline asm.
18624 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18625 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18626 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18628 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18631 (signal): Likewise.
18635 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18637 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18638 sysdeps/unix/common/syscalls.list.
18639 (fchmod): Likewise.
18640 (fchown): Likewise.
18641 (ftruncate): Likewise.
18642 (getrusage): Likewise.
18643 (gettimeofday): Likewise.
18644 (setpgid): Likewise.
18645 (setregid): Likewise.
18646 (setreuid): Likewise.
18647 (sigaction): Likewise.
18648 (truncate): Likewise.
18649 (vhangup): Likewise.
18650 * sysdeps/unix/common/syscalls.list: Remove file.
18651 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18652 * sysdeps/unix/sysv/linux/Implies: Likewise.
18654 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18656 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18658 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18662 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18665 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18668 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18671 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18674 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18677 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18680 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18684 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18688 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18691 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18695 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18699 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18701 * sysdeps/unix/common/bits/dirent.h: Remove file.
18702 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18704 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18705 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18706 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18707 * sysdeps/unix/bsd/isatty.c: Likewise.
18708 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18709 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18710 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18712 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18716 long double comparison inaccuracies.
18717 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18720 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18722 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18723 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18725 2012-05-04 Joseph Myers <joseph@codesourcery.com>
18728 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18729 nonzero digits before rounding a hex value.
18730 * stdlib/tst-strtod.c (tests): Add another test.
18732 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18734 * sysdeps/s390/fpu/libm-test-ulps: Update.
18736 2012-05-03 Andreas Jaeger <aj@suse.de>
18738 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18739 does not get optimized out.
18740 (malloc_opt_barrier): New.
18742 2012-05-03 Andreas Jaeger <aj@suse.de>
18743 Roland McGrath <roland@hack.frob.com>
18745 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
18746 intermediate file deletion.
18747 (generated): Add .symlist files.
18749 2012-05-03 Joseph Myers <joseph@codesourcery.com>
18752 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18753 Redirect under this condition.
18754 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18755 [__USE_GNU] (__dprintf_chk): Not under this condition.
18756 [__USE_GNU] (__vdprintf_chk): Likewise.
18757 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18758 under this condition.
18759 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18760 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18761 [__USE_XOPEN2K8] (vdprintf): Likewise.
18762 [__USE_GNU] (__dprintf_chk): Not under this condition.
18763 [__USE_GNU] (__vdprintf_chk): Likewise.
18764 [__USE_GNU] (dprintf): Likewise.
18765 [__USE_GNU] (vdprintf): Likewise.
18767 2012-05-03 Roland McGrath <roland@hack.frob.com>
18769 * elf/Makefile (common-generated): Set this instead of generated for
18770 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18771 $(all-built-dso)-derived lists.
18773 2012-05-03 Andreas Jaeger <aj@suse.de>
18775 * sysdeps/i386/fpu/libm-test-ulps: Update.
18778 * FAQ.in: Likewise.
18779 * scripts/gen-FAQ.pl: Likewise.
18780 * manual/install.texi (Installation): Point to online location of
18782 * Makefile (files-for-dist): Remove FAQ.
18785 2012-05-02 Allan McRae <allan@archlinux.org>
18787 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18788 (LDFLAGS-reldepmod5.so): Likewise.
18789 (LDFLAGS-reldep6mod1.so): Likewise.
18790 (LDFLAGS-reldep6mod4.so): Likewise.
18791 (LDFLAGS-reldep8mod3.so): Likewise.
18792 (LDFLAGS-unload4mod1.so): Likewise.
18793 (LDFLAGS-unload4mod2.so): Likewise.
18794 (LDFLAGS-tst-initorder): Likewise.
18795 (LDFLAGS-tst-initordera2.so): Likewise.
18796 (LDFLAGS-tst-initordera3.so): Likewise.
18797 (LDFLAGS-tst-initordera4.so): Likewise.
18798 (LDFLAGS-tst-initorderb2.so): Likewise.
18799 (LDFLAGS-noload): Likewise.
18800 (LDFLAGS-next): Likewise.
18801 (LDFLAGS-order2mod1.so): Likewise.
18802 (LDFLAGS-order2mod2.so): Likewise.
18803 (LDFLAGS-tst-initorder2): Likewise.
18804 (LDFLAGS-tst-initorder2a.so): Likewise.
18805 (LDFLAGS-tst-initorder2b.so): Likewise.
18806 (LDFLAGS-tst-initorder2c.so): Likewise.
18807 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18809 2012-05-02 David S. Miller <davem@davemloft.net>
18811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18813 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18816 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18818 2012-05-02 Andreas Jaeger <aj@suse.de>
18820 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18821 since we manipulate rounding mode.
18822 (CPPFLAGS-test-idouble.c): Likewise.
18823 (CPPFLAGS-test-ifloat.c): Likewise.
18824 (CFLAGS-test-ldouble.c): Likewise.
18825 (CFLAGS-test-double.c): Likewise.
18826 (CFLAGS-test-float.c): Likewise.
18827 (CFLAGS-test-misc.c): Likewise.
18828 (CFLAGS-test-test-fenv.c): Likewise.
18830 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18834 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18835 comparisons to determine direction to adjust input.
18837 2012-05-01 Roland McGrath <roland@hack.frob.com>
18839 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18840 output to the target.
18842 * scripts/localplt.awk: New file.
18843 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18844 (check-localplt-CFLAGS): Variable removed.
18845 ($(all-built-dso:=.jmprel)): New static pattern rule.
18846 (generated): Add those targets.
18847 (localplt-built-dso): New variable.
18848 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18850 * elf/check-localplt.c: File removed.
18852 * scripts/check-execstack.awk: New file.
18853 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18854 (check-execstack-CFLAGS): Variable removed.
18855 ($(objpfx)check-execstack.h): Target removed.
18856 ($(objpfx)execstack-default): New target.
18857 (generated): Add that instead of check-execstack.h.
18858 ($(all-built-dso:=.phdr)): New static pattern rule.
18859 (generated): Add those targets.
18860 * elf/check-execstack.c: File removed.
18862 * scripts/check-textrel.awk: New file.
18863 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18864 (check-textrel-CFLAGS): Variable removed.
18865 (all-built-dso): Use := to define.o
18866 ($(all-built-dso:=.dyn)): New static pattern rule.
18867 (generated): Add those targets.
18868 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18869 * config.make.in (READELF): New substituted variable.
18870 * elf/check-textrel.c: File removed.
18872 2012-05-01 Joseph Myers <joseph@codesourcery.com>
18874 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18876 * conform/data/ctype.h-data [C99-based standards] (isblank):
18878 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18879 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18880 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18881 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18882 Specify type. Require positive value.
18883 (EILSEQ): Likewise.
18884 (ERANGE): Likewise.
18885 [ISO || POSIX] (EILSEQ): Do not expect.
18886 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18887 Specify type. Require positive value.
18888 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18889 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18890 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18891 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18892 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18893 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18894 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18895 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18896 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18897 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18898 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18899 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18900 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18901 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18902 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18903 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18904 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18905 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18906 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18907 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18908 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18909 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18910 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18911 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18912 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18913 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18914 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18915 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18916 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18917 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18918 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18919 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18920 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18921 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18922 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18923 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18924 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18925 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18926 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18927 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18928 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18929 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18930 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18931 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18932 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18933 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18934 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18935 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18936 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18937 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18938 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18939 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18940 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18941 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18942 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18943 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18944 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18945 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18946 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18947 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18948 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18949 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18950 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18951 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18952 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18953 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18954 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18955 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18956 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18957 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18958 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18959 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18960 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18961 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18962 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18963 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18964 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18966 (FLT_ROUNDS): Expect as macro, not constant.
18967 (FLT_MANT_DIG): Use macro-int-constant.
18968 (DBL_MANT_DIG): Likewise.
18969 (LDBL_MANT_DIG): Likewise.
18970 (FLT_DIG): Likewise.
18971 (DBL_DIG): Likewise.
18972 (LDBL_DIG): Likewise.
18973 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18974 (DBL_MIN_EXP): Likewise.
18975 (LDBL_MIN_EXP): Likewise.
18976 (FLT_MAX_EXP): Use macro-int-constant.
18977 (DBL_MAX_EXP): Likewise.
18978 (LDBL_MAX_EXP): Likewise.
18979 (FLT_MAX_10_EXP): Likewise.
18980 (DBL_MAX_10_EXP): Likewise.
18981 (LDBL_MAX_10_EXP): Likewise.
18982 (FLT_MAX): Use macro-constant.
18983 (DBL_MAX): Likewise.
18984 (LDBL_MAX): Likewise.
18985 (FLT_EPSILON): Use macro-constant. Give upper bound.
18986 (DBL_EPSILON): Likewise.
18987 (LDBL_EPSILON): Likewise.
18988 (FLT_MIN): Likewise.
18989 (DBL_MIN): Likewise.
18990 (LDBL_MIN): Likewise.
18991 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18992 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18993 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18994 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18995 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18996 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18997 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18998 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18999 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19000 [ISO11] (FLT_TRUE_MIN): Likewise.
19001 [ISO11] (LDBL_TRUE_MIN): Likewise.
19002 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19003 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19004 (SCHAR_MIN): Use macro-int-constant. Specify type.
19005 (SCHAR_MAX): Likewise.
19006 (UCHAR_MAX): Likewise.
19007 (CHAR_MIN): Likewise.
19008 (CHAR_MAX): Likewise.
19009 (MB_LEN_MAX): Use macro-int-constant.
19010 (SHRT_MIN): Use macro-int-constant. Specify type.
19011 (SHRT_MAX): Likewise.
19012 (USHRT_MAX): Likewise.
19013 (INT_MAX): Likewise.
19014 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19016 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19018 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19020 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19021 bound negative. Suffix upper bound with "L".
19022 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19024 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19026 [C99-based standards] (LLONG_MAX): Likewise.
19027 [C99-based standards] (ULLONG_MAX): Likewise.
19028 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19030 [ISO11] (max_align_t): Require type.
19031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19033 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19034 from $CFLAGS, without defining away __attribute__ calls.
19035 (checknamespace): Use $CFLAGS_namespace.
19037 * conform/conformtest.pl (@keywords): Only include C99 keywords
19038 for standards based on C99 or C11.
19040 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19042 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19045 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19046 usability of symbols in #if.
19048 * conform/conformtest.pl: If macro or constant types start
19049 "promoted:", expect the symbol to be of the following type
19050 promoted by the integer promotions.
19052 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19053 in one place. Also handle "macro-constant".
19055 * conform/conformtest.pl: Only accept expected macro values with
19056 "==". Parse all "macro" lines in one place.
19057 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19059 * conform/conformtest.pl: Handle braced types on "constant" lines
19060 instead of handling "typed-constant".
19061 * conform/data/signal.h-data: Use "constant" instead of
19064 * conform/conformtest.pl: Handle "optional-" at start of lines in
19065 one place rather than duplicating several cases. Handle each
19066 format of "macro" line with initial "optional-".
19068 * conform/conformtest.pl: Only accept expected constant or
19069 optional-constant values with "==". Parse all "constant" lines in
19070 one place. Parse all "optional-constant" lines in one place.
19071 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19072 * conform/data/fmtmsg.h-data: Likewise.
19073 * conform/data/netinet/in.h-data: Likewise.
19074 * conform/data/tar.h-data: Likewise.
19075 * conform/data/limits.h-data: Use "==" form on "constant" and
19076 "optional-constant" lines.
19078 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19079 Use -std=c99 for XOPEN2K.
19080 (@knownproblems): Remove.
19081 (newtoken): Don't check %isknown.
19083 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19084 Do not expect macro.
19085 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19086 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19087 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19088 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19089 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19090 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19091 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19092 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19093 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19094 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19095 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19096 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19097 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19098 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19099 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19100 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19101 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19102 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19103 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19104 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19105 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19106 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19107 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19108 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19109 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19110 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19111 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19112 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19113 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19114 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19115 [XPG3] (acosh): Likewise.
19116 [XPG3] (asinh): Likewise.
19117 [XPG3] (atanh): Likewise.
19118 [XPG3] (cbrt): Likewise.
19119 [XPG3] (expm1): Likewise.
19120 [XPG3] (ilogb): Likewise.
19121 [XPG3] (log1p): Likewise.
19122 [XPG3] (logb): Likewise.
19123 [XPG3] (nextafter): Likewise.
19124 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19125 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19126 [XPG3] (remainder): Likewise.
19127 [XPG3] (rint): Likewise.
19128 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19129 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19130 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19131 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19132 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19133 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19134 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19135 [UNIX98 || XOPEN2K] (scalb): Expect.
19136 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19137 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19138 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19139 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19140 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19141 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19142 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19143 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19144 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19145 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19146 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19147 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19148 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19149 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19150 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19151 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19152 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19153 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19154 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19155 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19156 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19157 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19162 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19163 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19165 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19169 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19170 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19173 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19174 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19175 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19176 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19177 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19178 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19179 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19180 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19181 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19182 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19183 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19184 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19185 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19186 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19187 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19188 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19189 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19190 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19191 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19192 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19193 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19194 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19195 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19196 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19197 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19198 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19199 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19200 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19201 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19202 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19203 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19204 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19206 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19207 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19208 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19209 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19210 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19211 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19212 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19213 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19214 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19215 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19216 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19217 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19218 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19219 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19220 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19221 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19224 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19225 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19226 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19227 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19228 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19229 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19230 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19231 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19232 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19233 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19234 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19235 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19236 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19237 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19238 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19239 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19240 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19241 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19242 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19243 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19244 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19245 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19246 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19247 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19248 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19249 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19250 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19251 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19252 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19253 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19254 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19255 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19256 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19257 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19258 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19259 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19260 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19261 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19262 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19263 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19264 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19265 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19266 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19267 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19268 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19269 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19270 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19271 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19272 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19274 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19275 _XOPEN_SOURCE_EXTENDED for XPG4.
19277 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19279 * Makeconfig (localtime): Remove variable.
19280 (inst_localtime-file): Likewise.
19282 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19303 2012-05-01 Joseph Myers <joseph@codesourcery.com>
19307 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19308 comparisons to determine direction to adjust input.
19309 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19310 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19311 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19313 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19315 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19317 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19318 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19320 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19322 * math/libm-test.inc (nexttoward_test): Add more tests.
19324 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19327 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19328 in version GLIBC_2.1, not GLIBC_2.0.
19329 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19332 2012-04-30 Joseph Myers <joseph@codesourcery.com>
19335 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19337 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19338 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19339 * math/libm-test.inc (acos_test): Add more tests.
19340 (asin_test): Likewise.
19341 * sysdeps/i386/fpu/libm-test-ulps: Update.
19342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19345 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19347 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19348 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19349 * math/libm-test.inc (acos_test_tonearest): New function.
19350 (acos_test_towardzero): Likewise.
19351 (acos_test_downward): Likewise.
19352 (acos_test_upward): Likewise.
19353 (asin_test_tonearest): Likewise.
19354 (asin_test_towardzero): Likewise.
19355 (asin_test_downward): Likewise.
19356 (asin_test_upward): Likewise.
19357 (main): Call the new functions.
19358 * sysdeps/i386/fpu/libm-test-ulps: Update.
19359 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19363 * math/e_exp10.c: Include <float.h>.
19364 (__ieee754_exp10): Handle underflow here rather than multiplying
19365 large negative argument by M_LN10.
19366 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19368 * math/e_exp10l.c: Include <float.h>.
19369 (__ieee754_exp10l): Handle underflow here rather than multiplying
19370 large negative argument by M_LN10l.
19371 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19372 spurious overflow exception on underflow.
19374 2012-04-29 Marek Polacek <polacek@redhat.com>
19376 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19377 (__fortify_function): New macro.
19378 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19379 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19380 __extern_always_inline.
19381 * libio/bits/stdio2.h: Likewise.
19382 * libio/bits/stdio.h: Likewise.
19383 * string/string.h: Likewise.
19384 * string/bits/string3.h: Likewise.
19385 * include/stdio.h: Likewise.
19386 * stdlib/bits/stdlib.h: Likewise.
19387 * stdlib/stdlib.h: Likewise.
19388 * rt/bits/mqueue2.h: Likewise.
19389 * rt/mqueue.h: Likewise.
19390 * posix/bits/unistd.h: Likewise.
19391 * posix/unistd.h: Likewise.
19392 * io/bits/poll2.h: Likewise.
19393 * io/bits/fcntl2.h: Likewise.
19394 * io/fcntl.h: Likewise.
19395 * io/sys/poll.h: Likewise.
19396 * misc/bits/syslog.h: Likewise.
19397 * misc/bits/syslog-ldbl.h: Likewise.
19398 * misc/sys/syslog.h: Likewise.
19399 * socket/bits/socket2.h: Likewise.
19400 * socket/sys/socket.h: Likewise.
19401 * debug/tst-chk1.c: Likewise.
19402 * wcsmbs/bits/wchar2.h: Likewise.
19403 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19404 * wcsmbs/wchar.h: Likewise.
19406 2012-04-29 Andreas Jaeger <aj@suse.de>
19408 * Makerules (tests): Remove enable-check-abi protection.
19409 (check-abi-warn): Remove.
19410 (check-abi-%): Remove check-abi-warn usage.
19412 * configure.in: Remove check-abi configure option.
19413 * configure: Regenerated.
19414 * config.make.in (enable-check-abi): Remove.
19416 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19419 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19420 double functions to double *_finite functions.
19423 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19424 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19426 * stdio-common/Makefile (tests): Add tst-sprintf3.
19427 * stdio-common/tst-sprintf3.c: New file.
19429 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19430 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19432 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19434 * conform/conformtest.pl: Remove duplicate typed-constant
19437 2012-04-28 David S. Miller <davem@davemloft.net>
19439 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19440 (check-abi-%): Remove AWK script prerequisite and explicit
19442 (check-abi): Rewrite to just diff the symlist with the abilist.
19443 (config-tls, config-abi-config): Delete, no longer used.
19444 (update-abi-%): Remove AWK script and explicit abilist directory.
19445 (update-abi): Rewrite to simply compare and conditionally copy the
19446 symlist and the sysdep abilist file. Remove update-abi-config
19448 * abilist/ld.abilist: Remove.
19449 * abilist/libBrokenLocale.abilist: Remove.
19450 * abilist/libanl.abilist: Remove.
19451 * abilist/libcrypt.abilist: Remove.
19452 * abilist/libdl.abilist: Remove.
19453 * abilist/librt.abilist: Remove.
19454 * abilist/libthread_db.abilist: Remove.
19455 * abilist/libutil.abilist: Remove.
19456 * scripts/extract-abilist.awk: Remove.
19457 * scripts/merge-abilist.awk: Remove.
19458 * sysdeps/generic/libcidn.abilist: New file.
19459 * sysdeps/generic/libnss_compat.abilist: New file.
19460 * sysdeps/generic/libnss_db.abilist: New file.
19461 * sysdeps/generic/libnss_dns.abilist: New file.
19462 * sysdeps/generic/libnss_files.abilist: New file.
19463 * sysdeps/generic/libnss_hesiod.abilist: New file.
19464 * sysdeps/generic/libnss_nis.abilist: New file.
19465 * sysdeps/generic/libnss_nisplus.abilist: New file.
19466 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19467 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19468 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19470 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19471 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19472 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19473 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19474 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19475 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19476 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19477 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19478 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19480 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19481 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19482 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19483 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19485 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19486 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19487 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19488 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19489 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19490 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19492 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19493 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19494 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19496 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19499 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19501 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19503 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19505 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19507 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19509 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19511 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19513 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19515 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19517 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19519 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19521 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19550 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19554 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19575 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19583 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19585 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19589 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19591 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19599 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19600 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19601 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19603 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19604 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19605 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19606 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19607 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19608 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19609 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19610 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19611 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19612 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19614 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19618 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19622 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19626 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19634 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19639 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19643 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19653 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19655 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19659 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19664 2012-04-28 Joseph Myers <joseph@codesourcery.com>
19666 * conform/conformtest.pl: Fix typo in handling typed-constant from
19669 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19671 * README: Cut down references to pre-2.6 Linux kernels and
19672 Linuxthreads. Update lists of configurations in libc and ports
19673 and sort alphabetically. Say "or newer" with Linux kernel version
19676 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19678 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19681 * math/libm-test.inc (logb_test_downward): New test to expose
19682 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19685 2012-04-27 Joseph Myers <joseph@codesourcery.com>
19688 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19690 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19691 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19693 2012-04-26 Joseph Myers <joseph@codesourcery.com>
19695 * sysdeps/unix/i386/brk.S: Remove file.
19696 * sysdeps/unix/i386/dl-brk.S: Likewise.
19697 * sysdeps/unix/i386/pipe.S: Likewise.
19698 * sysdeps/unix/i386/sigreturn.S: Likewise.
19699 * sysdeps/unix/i386/syscall.S: Likewise.
19700 * sysdeps/unix/i386/vfork.S: Likewise.
19701 * sysdeps/unix/i386/wait.S: Likewise.
19703 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19704 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19706 * configure.in (arm*-none*): Do not allow without
19707 --enable-hacker-mode.
19708 (netbsd*): Remove case setting base_os.
19709 (386bsd*): Likewise.
19710 (freebsd*): Likewise.
19713 (sunos*): Likewise.
19714 (ultrix*): Likewise.
19715 (newsos*): Likewise.
19716 (dynix*): Likewise.
19722 (minix*): Likewise.
19723 (irix4*): Likewise.
19724 (irix6*): Likewise.
19725 (solaris[2-9]*): Likewise.
19727 * configure: Regenerated.
19729 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19732 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19733 overflow or cancellation in calculating denominator.
19734 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19735 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19736 down expression to avoid unexpected rounding in newer GCCs.
19737 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19739 2012-04-26 David S. Miller <davem@davemloft.net>
19741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19742 long-double compat symbols.
19743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19748 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19757 2012-04-25 David S. Miller <davem@davemloft.net>
19759 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19760 HWCAP_* values only after the memory barriers have been defined.
19761 (atomic_full_barrier): Define.
19762 (atomic_read_barrier): Define.
19763 (atomic_write_barrier): Define.
19765 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19767 * shlib-versions: Add libgcc_s version information.
19768 * sysdeps/generic/libgcc_s.h: Remove.
19769 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19771 * sysdeps/gnu/unwind-resume.c: Likewise.
19772 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19774 2012-04-25 David S. Miller <davem@davemloft.net>
19776 * sysdeps/unix/sparc/brk.S: Delete.
19777 * sysdeps/unix/sparc/dl-brk.S: Delete.
19778 * sysdeps/unix/sparc/pipe.S: Delete.
19779 * sysdeps/unix/sparc/sysdep.S: Delete.
19780 * sysdeps/unix/sparc/sysdep.h: Delete.
19781 * sysdeps/unix/sparc/vfork.S: Delete.
19782 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19783 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19784 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19785 ret_ERRVAL, r0, r1, MOVE): Define.
19786 (JUMPTARGET): Remove.
19787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19788 sysdeps/unix/sparc/sysdep.h
19789 (ENTRY, END): Remove.
19790 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19792 2012-04-25 Joseph Myers <joseph@codesourcery.com>
19794 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19795 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19798 * timezone/README: Update upstream location and email address for
19800 * timezone/zdump.c: Update from tzcode 2012b.
19801 * timezone/zic.c: Likewise.
19803 * configure.in (libc_cv_as_needed): Remove test.
19804 * configure: Regenerated.
19805 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19806 conditional definition.
19807 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19808 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19809 * config.make.in (have-as-needed): Remove variable.
19811 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19812 Paul Pluzhnikov <ppluzhnikov@google.com>
19814 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19817 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19819 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19820 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19821 * sysdeps/sh/strlen.S: Likewise.
19823 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19825 * sysdeps/unix/fork.S: Remove file.
19826 * sysdeps/unix/i386/fork.S: Likewise.
19827 * sysdeps/unix/sparc/fork.S: Likewise.
19829 * sysdeps/unix/system.c: Remove file.
19830 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19832 * sysdeps/unix/getegid.S: Remove file.
19833 * sysdeps/unix/geteuid.S: Likewise.
19835 2012-04-24 Roland McGrath <roland@hack.frob.com>
19837 * scripts/check-localplt.awk: New file.
19838 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19840 * scripts/data/localplt-generic.data: Add a comment.
19842 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19843 NODE when __dir_mkfile failed.
19844 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19845 Reported by Ludovic Courtès <ludo@gnu.org>.
19847 2012-04-24 Andreas Jaeger <aj@suse.de>
19849 * Makerules (common-clean): Also remove gen-as-const-headers
19852 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19854 * Makerules (native-compile): Do not change working directory for
19855 build. Use $(OUTPUT_OPTION) in command.
19856 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19858 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19861 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19862 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19863 * math/libm-test.inc (floor_test): Add more tests.
19864 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19866 2012-04-24 Joseph Myers <joseph@codesourcery.com>
19868 * sysdeps/unix/getdents.c: Remove file.
19869 * sysdeps/unix/sysv/getdents.c: Likewise.
19870 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19872 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19873 sysdeps/unix/mman/syscalls.list.
19875 (mprotect): Likewise.
19877 (munmap): Likewise.
19878 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19879 * sysdeps/unix/mman/syscalls.list: Remove.
19880 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19882 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19883 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19884 * configure: Regenerated.
19885 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19886 $(libgcc_s_suffix).
19887 * config.make.in (libgcc_s_suffix): Remove variable.
19889 2012-04-23 Joseph Myers <joseph@codesourcery.com>
19891 * sysdeps/unix/sysv/gethostname.c: Move to ...
19892 * sysdeps/posix/gethostname.c: ... here.
19894 * sysdeps/unix/execve.S: Remove file.
19896 * sysdeps/unix/_exit.S: Remove file.
19898 2012-04-23 Andreas Jaeger <aj@suse.de>
19901 * manual/Makefile: Remove make dist support, there's no
19902 need for a stand-alone documentation tar ball.
19903 (TEXI2DVI): Define always, it's not in Makeconfig.
19906 (edition): Removed.
19907 (glibc-doc-$(edition).tar): Removed
19911 (ETAGS): Remove, it's in Makeconfig.
19912 (move-if-change): Remove, it's in Makeconfig.
19914 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
19917 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19918 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19919 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19920 (strtod_l, strtof_l, strtold_l): Remove __wur.
19921 It is not necessarily an error to ignore strtol's return value.
19922 One can reliably look at the stored endptr to decide whether
19923 the number had valid syntax.
19925 2012-04-21 Andreas Jaeger <aj@suse.de>
19928 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19930 2012-04-21 Joseph Myers <joseph@codesourcery.com>
19932 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19933 * sysdeps/unix/sysv/Versions: Remove file.
19935 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19938 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19940 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
19943 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19944 version from __vm86.
19946 2012-04-20 Joseph Myers <joseph@codesourcery.com>
19948 * sysdeps/unix/common/lxstat.c: Remove file.
19949 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19951 * sysdeps/unix/sysv/Makefile: Remove file.
19953 * sysdeps/unix/sysv/direct.h: Remove file.
19955 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19956 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19957 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19958 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19959 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19960 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19961 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19963 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19965 * sysdeps/unix/xmknod.c: Remove file.
19966 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19968 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19970 * sysdeps/unix/sysv/i386/time.S: Remove file.
19972 * sysdeps/unix/fxstat.c: Remove file.
19973 * sysdeps/unix/xstat.c: Likewise.
19974 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19976 * sysdeps/unix/sysv/sigaction.c: Remove file.
19978 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19979 (sysdep_headers): Remove variable.
19980 [termio.h not in sysdep_headers] (generated): Likewise.
19981 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19982 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19983 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19984 * sysdeps/unix/sysv/tcflow.c: Likewise.
19985 * sysdeps/unix/sysv/tcflush.c: Likewise.
19986 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19987 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19988 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19989 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19990 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19992 * sysdeps/unix/siglist.c: Remove file.
19994 * sysdeps/unix/getppid.S: Remove file.
19996 * sysdeps/unix/mkdir.c: Remove file.
19997 * sysdeps/unix/rmdir.c: Likewise.
19999 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20001 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20003 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20004 errlist-compat value.
20006 2012-04-18 David S. Miller <davem@davemloft.net>
20008 * sysdeps/generic/memcopy.h (reg_char): Delete.
20009 * debug/strcat_chk.c: Use char, not reg_char.
20010 * debug/strcpy_chk.c: Likewise.
20011 * debug/strncat_chk.c: Likewise.
20012 * debug/strncpy_chk.c: Likewise.
20013 * string/memchr.c: Likewise.
20014 * string/memrchr.c: Likewise.
20015 * string/rawmemchr.c: Likewise.
20016 * string/strcat.c: Likewise.
20017 * string/strchr.c: Likewise.
20018 * string/strchrnul.c: Likewise.
20019 * string/strcmp.c: Likewise.
20020 * string/strcpy.c: Likewise.
20021 * string/strncat.c: Likewise.
20022 * string/strncmp.c: Likewise.
20023 * string/strncpy.c: Likewise.
20025 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20027 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20028 __builtin_memcopy is called when src and dest ranges are known to not
20031 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20033 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20034 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20035 fwd_align_merge macro call.
20036 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20037 bwd_align_merge macro call.
20038 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20040 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20042 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20043 bwd_align_merge macros.
20044 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20045 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20046 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20048 2012-04-18 David S. Miller <davem@davemloft.net>
20050 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20052 2012-04-18 Andreas Jaeger <aj@suse.de>
20055 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20056 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20057 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20059 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20060 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20061 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20063 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20064 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20065 Adjust for changed ldbl-128 files.
20067 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20068 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20069 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20071 2012-04-17 David S. Miller <davem@davemloft.net>
20073 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20075 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20077 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20078 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20079 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20080 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20081 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20082 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20084 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20087 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20088 * math/libm-test.inc: Add ilogb errno and exception tests.
20089 * math/w_ilogb.c: New file: ilogb wrapper.
20090 * math/w_ilogbf.c: New file: ilogbf wrapper.
20091 * math/w_ilogbl.c: New file: ilogbl wrapper.
20092 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20093 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20094 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20095 exception being thrown with 0.0 as argument.
20096 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20097 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20098 exception being thrown with 0.0 as argument.
20099 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20100 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20101 exception being thrown with 0.0 as argument.
20102 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20103 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20104 exception being thrown with 0.0 as argument.
20105 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20106 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
20107 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
20108 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20109 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20110 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20111 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20112 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20113 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20115 2012-04-17 Petr Baudis <pasky@ucw.cz>
20117 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20120 2012-04-16 Marek Polacek <polacek@redhat.com>
20122 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20124 2012-04-16 Marek Polacek <polacek@redhat.com>
20126 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20127 operands of fdivp instruction.
20129 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20131 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20132 * elf/tst-auditmod3b.c: Likewise.
20133 * elf/tst-auditmod4b.c: Likewise.
20134 * elf/tst-auditmod5b.c: Likewise.
20135 * elf/tst-auditmod6b.c: Likewise.
20136 * elf/tst-auditmod6c.c: Likewise.
20137 * elf/tst-auditmod7b.c: Likewise.
20138 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20139 * sysdeps/x86_64/preconfigure.in: Likewise.
20140 * sysdeps/x86_64/preconfigure: Regenerated.
20142 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20144 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20147 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20149 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20150 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20152 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20155 * locale/iso-639.def: Fix gl language name. Spotted by
20158 2012-04-12 Roland McGrath <roland@hack.frob.com>
20161 * libio/libio.h (__io_write_fn): Update comment.
20163 2012-04-12 Petr Baudis <pasky@ucw.cz>
20166 * stdio.texi (Hook Functions): The user provided writer function
20167 is not allowed to return -1.
20169 2012-04-11 David S. Miller <davem@davemloft.net>
20171 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20173 2012-04-11 Mike Frysinger <vapier@gentoo.org>
20175 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20176 Add a leading slash to rtkaio.
20178 2012-04-11 Jim Meyering <meyering@redhat.com>
20181 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20182 It is not necessarily an error to ignore fwrite's return
20183 value. One can reliably use ferror to test for errors after
20186 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20188 * bits/types.h (__snseconds_t): New type.
20189 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20191 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20192 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20193 (__SNSECONDS_T_TYPE): Likewise.
20194 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20195 (__SNSECONDS_T_TYPE): Likewise.
20196 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20197 (__SNSECONDS_T_TYPE): Likewise.
20199 2012-04-10 Andreas Jaeger <aj@suse.de>
20202 * manual/time.texi (Processor Time): Return type of times is
20203 elapsed real time since an arbitrary point in the past.
20204 (CPU Time): Move CLK_TCK from here...
20205 (Processor Time): ...to here. Correct description.
20206 * manual/conf.texi (Constants for Sysconf): Correct description of
20209 2012-04-10 David S. Miller <davem@davemloft.net>
20212 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20213 where the is a gap between DT_REL(A) and DT_JMPREL.
20215 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20217 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20218 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20219 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20221 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20223 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20224 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20225 (dl_main): Handle --inhibit-cache.
20226 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20228 * elf/dl-load.c (_dl_map_object): Use it.
20229 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20231 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20234 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20235 (__ieee754_powl): Saturate large exponents rather than testing for
20236 overflow of y*log2(x).
20237 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20238 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20242 * math/s_ctan.c: Include <float.h>.
20243 (__ctan): Avoid internal overflow or cancellation in calculating
20245 * math/s_ctanf.c: Likewise.
20246 * math/s_ctanl.c: Likewise.
20247 * math/s_ctanh.c: Likewise.
20248 * math/s_ctanhf.c: Likewise.
20249 * math/s_ctanhl.c: Likewise.
20250 * math/libm-test.inc (ctan_test): Add more tests.
20251 (ctanh_test): Likewise.
20252 * sysdeps/i386/fpu/libm-test-ulps: Update.
20253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20255 2012-04-09 Andreas Jaeger <aj@suse.de>
20258 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20259 is an optional BSD extension.
20262 * manual/stdio.texi (Opening Streams): Document additional fopen
20265 2012-04-09 Roland McGrath <roland@hack.frob.com>
20267 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20268 %eax without telling the compiler.
20270 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20273 * manual/install.texi: Use sourceware.org.
20275 2012-04-09 Joseph Myers <joseph@codesourcery.com>
20278 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20279 (__ieee754_pow): Generate overflow and underflow using huge*huge
20280 and tiny*tiny rather than just returning constant infinity or zero
20281 for large exponents.
20282 * math/libm-test.inc (pow_test): Require overflow exceptions for
20283 applicable cases of large exponents.
20286 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20287 (__ieee754_pow): Use iterative multiplication algorithm only for
20288 integer exponents with absolute value below 1024. Check for odd
20289 integer exponents when using algorithm for real exponents.
20290 * math/libm-test.inc (pow_test): Add more tests.
20291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20293 2012-04-08 Joseph Myers <joseph@codesourcery.com>
20296 * math/libm-test.inc (exp_test): Do not allow overflow exception
20299 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20302 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20303 instead of __kernel_standard_f.
20305 2012-04-08 Mike Frysinger <vapier@gentoo.org>
20307 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20308 * sysdeps/x86_64/memset_chk.S: Likewise.
20310 2012-04-08 Andreas Jaeger <aj@suse.de>
20313 * manual/startup.texi (Environment Access): Describe return value
20314 for putenv and setenv.
20317 * manual/filesys.texi (Directory Entries): Add description for
20321 * manual/filesys.texi (Directory Entries): Clarify that it's file
20322 system not operating system in the description of DT_UNKNOWN.
20325 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20327 2012-04-08 Stephen Compall <s11@member.fsf.org>
20330 * manual/llio.texi (Opening and Closing Files): Add cross
20331 reference to explain mode argument.
20333 2012-04-07 Mike Frysinger <vapier@gentoo.org>
20335 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20336 * sysdeps/x86_64/memset_chk.S: Likewise.
20338 2012-04-07 David S. Miller <davem@davemloft.net>
20340 * elf/elf.h (R_SPARC_WDISP10): Define.
20341 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20343 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20344 R_SPARC_SIZE64 and R_SPARC_H34.
20346 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20348 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20349 conditions and remove no longer applicable assertion.
20351 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20353 * bits/byteswap.h: Include <features.h>.
20354 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20355 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20357 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20359 * bits/byteswap.h (__bswap_16): Removed.
20360 Include <bits/byteswap-16.h> to get __bswap_16.
20361 * sysdeps/i386/bits/byteswap.h: Likewise.
20362 * sysdeps/s390/bits/byteswap.h: Likewise.
20363 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20364 * bits/byteswap-16.h: New file.
20365 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20366 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20367 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20368 * string/Makefile (headers): Add bits/byteswap-16.h.
20370 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20373 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20375 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20376 * nss/tst-nss-static.c: New.
20378 2012-04-06 Robert Millan <rmh@gnu.org>
20381 * manual/llio.texi (File Position Primitive): lseek
20382 refers to WHENCE when it really means OFFSET.
20384 2012-04-06 Andreas Jaeger <aj@suse.de>
20386 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20387 strncmp declarations.
20389 * abilist/libc.abilist: Add __poll and __ppoll.
20391 2012-04-05 David S. Miller <davem@davemloft.net>
20393 * scripts/check-local-headers.sh: Accept a host triplet in the
20394 path matched by the exclude regexp.
20396 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20398 * sysdeps/powerpc/powerpc32/dl-machine.h
20399 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20400 * sysdeps/s390/s390-32/dl-machine.h
20401 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20402 * sysdeps/sparc/sparc32/dl-machine.h
20403 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20404 * sysdeps/sparc/sparc64/dl-machine.h
20405 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20407 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20409 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
20410 undefined symbol errors.
20412 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
20415 2012-04-05 Michael Matz <matz@suse.de>
20418 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20420 2012-04-05 Andreas Jaeger <aj@suse.de>
20423 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20426 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20428 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20429 which ROUND is no valid rounding mode.
20431 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20433 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20435 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20437 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20439 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20440 an exception using FPU order intentionally.
20442 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20444 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20445 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20446 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20447 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20449 2012-04-05 Simon Josefsson <simon@josefsson.org>
20452 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20453 EINVAL when BUFLEN is too smal.
20455 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20458 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20459 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20461 2012-04-03 Andreas Jaeger <aj@suse.de>
20464 * manual/setjmp.texi (System V contexts): Fix sentence.
20467 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20468 New macro for this case.
20469 [!__GNUC__] (__bswap_64): New inline function for this case.
20470 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20471 * bits/byteswap.h: Likewise.
20472 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20473 ull, guard with __GLIBC_HAVE_LONG_LONG.
20475 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20476 __GLIBC_HAVE_LONG_LONG.
20478 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20479 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20481 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20484 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20485 inptr and inend, rather than using last_ch.
20487 2012-04-02 David S. Miller <davem@davemloft.net>
20489 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20490 * stdio-common/printf-parse.h (read_int): Change return type to
20491 'int', return -1 on INT_MAX overflow.
20492 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20493 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20494 overflows INT_MAX. Check for overflow of in-format-string precision
20495 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20496 SIZE_MAX not INT_MAX for integer overflow test.
20497 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20498 skip the construct in the format string but do not record anything.
20499 * stdio-common/bug22.c: Adjust to test both width/prevision
20500 INT_MAX overflow as well as total length INT_MAX overflow. Check
20501 explicitly for proper errno values.
20503 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20505 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20507 * string/test-strcmp.c [! WIDE]: Likewise.
20508 * time/tst-mktime2.c: Likewise for INT_MAX.
20509 * string/test-string.h: #include <sys/param.h> for MIN.
20511 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20512 * sysdeps/i386/init-first.c (init): Likewise.
20513 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20514 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20515 * sysdeps/sh/init-first.c (init): Likewise.
20517 2012-04-01 Ulrich Drepper <drepper@gmail.com>
20519 * po/ru.po: Update from translation team.
20520 * po/vi.po: Likewise.
20522 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20524 * resolv/nss_dns/dns-host.c: Merge copyright years.
20526 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20529 Optimize memcpy with prefetch if
20530 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20531 src, dst pointers have unequal 16 byte alignments.
20533 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20536 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20537 from a CNAME entry and return the minimum ttl for the query.
20538 (gaih_getanswer_slice): Likewise.
20540 2012-03-30 Jeff Law <law@redhat.com>
20542 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20544 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20545 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20547 * resolv/nss_dns/dns-host.c: Update copyright year.
20549 2012-03-30 Ulrich Drepper <drepper@gmail.com>
20551 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
20552 requests to save a system call. Fix check that all bytes are sent.
20554 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20555 comments for sendmmsg.
20557 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20560 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20561 with only 1 character between 0x0041 and 0x01b0.
20562 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20563 * wcsmbs/tst-mbsnrtowcs.c: New file.
20565 2012-03-29 David S. Miller <davem@davemloft.net>
20567 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20568 small copies by hand.
20570 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20573 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20574 _nss_compat_initgroups_dyn): Fall back to malloc/free
20575 for large group memberships.
20577 2012-03-28 David S. Miller <davem@davemloft.net>
20579 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20580 that branches into memcpy.
20581 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20582 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20583 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20584 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20585 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20587 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20588 implementation too.
20589 * sysdeps/sparc/mempcpy.S: New file.
20591 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20592 the IFUNC routine in the libc case.
20593 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20595 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20596 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20597 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20598 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20599 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20600 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20601 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20602 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20604 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20605 loop to 256 bytes instead of 64 bytes and fix test signedness.
20607 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20608 * sysdeps/sparc/sparc32/Makefile: rather than here...
20609 * sysdeps/sparc/sparc64/Makefile: and here.
20611 2012-03-28 Ulrich Drepper <drepper@gmail.com>
20613 * malloc/mallocbug.c: Avoid warnings about unused variables.
20615 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20618 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20619 in the right place. Discard and retry query if response is
20620 larger than input buffer size.
20622 2012-03-28 Joseph Myers <joseph@codesourcery.com>
20627 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20628 x for large integer exponent.
20629 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20630 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20631 sign of result as needed afterwards.
20632 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20633 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20634 result for underflowing pow the same as for overflow.
20635 (__kernel_standard_l): Handle powl overflow and underflow here
20636 rather than calling __kernel_standard.
20637 * math/libm-test.inc (pow_test): Add more tests.
20652 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20653 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20654 (__kernel_standard_l): New function.
20655 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20657 * math/w_acosl.c (__acosl): Likewise.
20658 * math/w_asinl.c (__asinl): Likewise.
20659 * math/w_atan2l.c (__atan2l): Likewise.
20660 * math/w_atanhl.c (__atanhl): Likewise.
20661 * math/w_coshl.c (__coshl): Likewise.
20662 * math/w_exp10l.c (__exp10l): Likewise.
20663 * math/w_exp2l.c (__exp2l): Likewise.
20664 * math/w_fmodl.c (__fmodl): Likewise.
20665 * math/w_hypotl.c (__hypotl): Likewise.
20666 * math/w_j0l.c (__j0l, __y0l): Likewise.
20667 * math/w_j1l.c (__j1l, __y1l): Likewise.
20668 * math/w_jnl.c (__jnl, __ynl): Likewise.
20669 * math/w_lgammal.c (__lgammal): Likewise.
20670 * math/w_log10l.c (__log10l): Likewise.
20671 * math/w_log2l.c (__log2l): Likewise.
20672 * math/w_logl.c (__logl): Likewise.
20673 * math/w_powl.c (__powl): Likewise.
20674 * math/w_remainderl.c (__remainderl): Likewise.
20675 * math/w_scalbl.c (sysv_scalbl): Likewise.
20676 * math/w_sinhl.c (__sinhl): Likewise.
20677 * math/w_sqrtl.c (__sqrtl): Likewise.
20678 * math/w_tgammal.c (__tgammal): Likewise.
20679 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20680 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20681 * math/libm-test.inc (acos_test): Add more tests.
20682 (acosh_test): Likewise.
20683 (asin_test): Likewise.
20684 (atanh_test): Likewise.
20685 (exp_test): Likewise.
20686 (exp10_test): Likewise.
20687 (exp2_test): Likewise.
20688 (expm1_test): Likewise.
20689 (lgamma_test): Likewise.
20690 (log_test): Likewise.
20691 (log10_test): Likewise.
20692 (log1p_test): Likewise.
20693 (log2_test): Likewise.
20694 (pow_test): Do not allow some spurious overflow exceptions.
20695 (sqrt_test): Add more tests.
20696 (tgamma_test): Likewise.
20697 (y0_test): Likewise.
20698 (y1_test): Likewise.
20699 (yn_test): Likewise.
20701 2012-03-27 Anton Blanchard <anton@samba.org>
20703 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20705 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20706 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20709 2012-03-27 David S. Miller <davem@davemloft.net>
20711 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20713 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20714 have-as-vis3 check.
20716 2012-03-27 Andreas Jaeger <aj@suse.de>
20718 * sysdeps/x86_64/elf/configure.in: Moved to ...
20719 * sysdeps/x86_64/configure.in: ... here.
20720 * sysdeps/x86_64/elf/start.S: Moved to ...
20721 * sysdeps/x86_64/start.S: ... here.
20722 * sysdeps/x86_64/elf/configure: Delete.
20724 * sysdeps/x86_64/configure.in: Merge contents from
20725 sysdeps/i386/configure.in (without i686 check).
20727 * sysdeps/i386/elf/Versions: Merge into ...
20728 * sysdeps/i386/Versions: ... this.
20729 * sysdeps/i386/elf/Versions: Delete file.
20730 * sysdeps/i386/elf/start.S: Moved to ...
20731 * sysdeps/i386/start.S: ...here.
20732 * sysdeps/i386/elf/configure.in: Merge into...
20733 * sysdeps/i386/configure.in: ...here.
20734 * sysdeps/i386/elf/configure.in: Delete file.
20735 * sysdeps/i386/elf/configure: Delete file.
20737 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20738 * debug/backtracesyms.c: ... here.
20739 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20740 * debug/backtracesymsfd.c: ... here.
20741 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20742 * sysdeps/generic/ifunc-sel.h: ... here.
20744 * sysdeps/unix/i386/start.c: Delete file.
20745 * sysdeps/unix/sparc/start.c: Delete file.
20746 * sysdeps/unix/start.c: Delete file.
20748 * sysdeps/sh/elf/configure.in: Moved to ...
20749 * sysdeps/sh/configure.in: ... here.
20750 * sysdeps/sh/elf/start.S: Moved to ...
20751 * sysdeps/sh/start.S: ... here.
20752 * sysdeps/sh/elf/configure: Delete file.
20754 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20755 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20756 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20757 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20758 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20759 * sysdeps/powerpc/powerpc64/start.S: here.
20760 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20761 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20762 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20763 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20764 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20766 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20767 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20768 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20769 * sysdeps/powerpc/powerpc32/start.S: ... here.
20770 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20771 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20772 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20774 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20775 * sysdeps/powerpc/ifunc-sel.h: ... here.
20776 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20777 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20779 * sysdeps/sparc/elf/configure.in: Moved to ...
20780 * sysdeps/sparc/configure.in: ... here.
20781 * sysdeps/sparc/elf/configure: Delete file.
20782 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20783 * sysdeps/sparc/sparc32/start.S: ... here.
20784 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20785 * sysdeps/sparc/sparc64/start.S: ... here.
20786 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20787 * sysdeps/sparc/sparc32/Makefile: ... this.
20788 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20789 * sysdeps/sparc/sparc64/Makefile: ... this.
20791 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20792 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20793 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20794 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20795 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20796 * sysdeps/s390/s390-32/setjmp.S: ... here.
20797 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20798 * sysdeps/s390/s390-32/configure.in: ... here.
20799 * sysdeps/s390/s390-32/elf/configure: Delete file.
20800 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20801 * sysdeps/s390/s390-32/start.S: ... here.
20803 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20804 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20805 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20806 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20807 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20808 * sysdeps/s390/s390-64/setjmp.S: ... here.
20809 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20810 * sysdeps/s390/s390-64/configure.in: ... here
20811 * sysdeps/s390/s390-64/elf/configure: Delete file.
20812 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20813 * sysdeps/s390/s390-64/start.S: ... here.
20814 * sysdeps/s390/s390-64/elf/configure: Delete.
20816 * configure.in: Remove support for elf directories in sysdeps.
20818 * configure: Regenerated.
20819 * sysdeps/i386/configure: Regenerated.
20820 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20821 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20822 * sysdeps/s390/s390-32/configure: Regenerated.
20823 * sysdeps/s390/s390-64/configure: Regenerated.
20824 * sysdeps/sh/configure: Regenerated.
20825 * sysdeps/sparc/configure: Regenerated.
20826 * sysdeps/x86_64/configure: Regenerated.
20828 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20832 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20833 denormal result into account.
20835 2012-03-25 Roland McGrath <roland@hack.frob.com>
20837 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20838 Reported by Allan McRae <allan@archlinux.org>.
20840 2012-03-23 Jeff Law <law@redhat.com>
20842 * nss/getnssent.c (__nss_getent): Fix typo.
20844 2012-03-23 David S. Miller <davem@davemloft.net>
20846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20848 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20850 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20851 to pad to uint64_t for each field.
20852 (dl_tls_index): Replace unsigned long with uint64_t.
20854 2012-03-23 Daniel Jacobowitz <dmj@google.com>
20855 Paul Pluzhnikov <ppluzhnikov@google.com>
20858 * grp/Makefile (otherlibs): Don't set it.
20859 * inet/Makefile (otherlibs): Likewise.
20860 * login/Makefile (otherlibs): Likewise.
20861 * nscd/Makefile (otherlibs): Likewise.
20862 * posix/Makefile (otherlibs): Likewise.
20863 * pwd/Makefile (otherlibs): Likewise.
20864 * rt/Makefile (otherlibs): Likewise.
20865 * sunrpc/Makefile (otherlibs): Likewise.
20866 * nss/Makefile (otherlibs): Likewise.
20867 Add libnss_files to routines and static-only-routines.
20868 ($(objpfx)getent): Remove rule.
20869 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20870 static-only-routines.
20872 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20875 * math/s_cexp.c: Include <float.h>.
20876 (__cexp): Handle exp result overflowing not necessarily
20877 overflowing both real and imaginary parts of result.
20878 * math/s_cexpf.c: Likewise.
20879 * math/s_cexpl.c: Likewise.
20880 * math/libm-test.inc (cexp_test): Add more tests.
20881 * sysdeps/i386/fpu/libm-test-ulps: Update.
20882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20884 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20886 * include/link.h (ELFW): New macro.
20887 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20888 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20890 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20892 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20895 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20897 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20899 (struct La_x32_retval): Likewise.
20901 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20903 * sysdeps/x86_64/preconfigure.in: New file.
20904 * sysdeps/x86_64/preconfigure: New generated file.
20906 2012-03-22 Joseph Myers <joseph@codesourcery.com>
20909 * math/e_exp2l.c: Include <float.h>.
20910 (__ieee754_exp2l): Handle overflow and underflow cases
20911 separately. Only pass fractional part of argument to
20913 * math/libm-test.inc (exp2_test): Add more tests.
20915 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20916 negating x to take absolute value.
20917 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20919 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20920 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20922 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20923 computing low part if x was negated.
20924 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20926 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20928 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20929 la_x32_gnu_pltexit.
20930 (pltexit): Cast int_retval to ptrdiff_t.
20931 * elf/tst-auditmod3b.c: Likewise.
20932 * elf/tst-auditmod4b.c: Likewise.
20933 * elf/tst-auditmod5b.c: Likewise.
20934 * elf/tst-auditmod6b.c: Likewise.
20935 * elf/tst-auditmod6c.c: Likewise.
20936 * elf/tst-auditmod7b.c: Likewise.
20938 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20939 and x32_gnu_pltexit.
20941 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20942 __ELF_NATIVE_CLASS.
20943 (La_x32_regs): New macro.
20944 (La_x32_retval): Likewise.
20945 (la_x32_gnu_pltenter): New function prototype.
20946 (la_x32_gnu_pltexit): Likewise.
20948 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20950 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20955 * configure.in (libc_cv_cc_nofma): Check for option to disable
20956 generation of FMA instructions.
20957 * configure: Regenerate.
20958 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20959 * sysdeps/ieee754/dbl-64/Makefile: New file.
20960 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20961 Remove brandred-fma4.
20962 (CFLAGS-brandred-fma4.c): Remove.
20963 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20964 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20966 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20969 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20971 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20972 LLONG_MAX != LONG_MAX.
20973 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20974 (_fitoa_word): Likewise.
20975 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20976 LLONG_MAX != LONG_MAX.
20977 * stdio-common/_itowa.h: Include <_itoa.h>.
20978 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20979 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20980 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20981 only if not defined.
20982 (_ITOA_WORD_TYPE): Likewise.
20983 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20984 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20986 2012-03-21 David S. Miller <davem@davemloft.net>
20988 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20990 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20992 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20993 of x86_64 when setting libc_cv_slibdir, libdir and
20995 * sysdeps/unix/sysv/linux/configure: Regenerated.
20997 2012-03-21 Joseph Myers <joseph@codesourcery.com>
20999 * manual/lang.texi (Old Varargs): Remove section.
21000 (How Variadic): Update menu.
21001 (va_start): Do not mention varargs.h.
21003 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21004 Joseph Myers <joseph@codesourcery.com>
21006 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21008 * configure: Regenerated.
21010 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21012 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21013 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21016 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21019 * Makefile (files-for-dist): Remove NOTES.
21020 (NOTES): Remove rule.
21021 * README: Don't refer to NOTES.
21022 * manual/creature.texi: Don't include macros.texi.
21023 * manual/intro.texi (creature.texi): Remove comment referring to
21026 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21027 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21028 * configure: Regenerated.
21029 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21030 LIBC_TRY_CC_OPTION.
21031 (libc_cv_as_i686): Likewise.
21032 (libc_cv_cc_avx): Likewise.
21033 (libc_cv_cc_sse2avx): Likewise.
21034 (libc_cv_cc_fma4): Likewise.
21035 (libc_cv_cc_novzeroupper): Likewise.
21036 * sysdeps/i386/configure: Regenerated.
21039 * sysdeps/i386/fpu/s_cexp.S: Remove.
21040 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21041 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21042 * math/libm-test.inc (cexp_test): Add more tests.
21043 * sysdeps/i386/fpu/libm-test-ulps: Update.
21044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21046 2012-03-21 Allan McRae <allan@archlinux.org>
21048 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21050 2012-03-21 Joseph Myers <joseph@codesourcery.com>
21053 * math/w_exp2.c: Do not include <float.h>.
21054 (o_threshold, u_threshold): Remove.
21055 (__exp2): Calculate result before checking finiteness and calling
21057 * math/w_exp2f.c: Likewise.
21058 * math/w_exp2l.c: Likewise.
21059 * math/libm-test.inc (exp2_test): Require overflow exception for
21063 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21064 range of signed 64-bit integers before using fistpll. Remove
21065 checks for whether integers fit in mantissa bits.
21066 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21067 the range of signed 32-bit integers before using fistpl. Remove
21068 checks for whether integers fit in mantissa bits.
21069 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21070 (__ieee754_powl): Test for y outside the range of signed 64-bit
21071 integers before using fistpll. Reduce 64-bit values to 63-bit
21073 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21074 divide-by-zero is raised for zero to large negative powers.
21075 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21076 (__ieee754_powl): Test for y outside the range of signed 64-bit
21077 integers before using fistpll. Reduce 64-bit values to 63-bit
21079 * math/libm-test.inc (pow_test): Add more tests.
21081 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21083 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21084 <stdio-common/_itoa.h>.
21085 * debug/segfault.c: Likewise.
21086 * elf/dl-cache.c: Likewise.
21087 * elf/dl-minimal.c: Likewise.
21088 * elf/dl-misc.c: Likewise.
21089 * elf/dl-sysdep.c: Likewise.
21090 * elf/dl-version.c: Likewise.
21091 * elf/rtld.c: Likewise.
21092 * hurd/hurdsock.c: Likewise.
21093 * hurd/lookup-retry.c: Likewise.
21094 * malloc/malloc.c: Likewise.
21095 * malloc/mtrace.c: Likewise.
21096 * nscd/nscd_getgr_r.c: Likewise.
21097 * nscd/nscd_getpw_r.c: Likewise.
21098 * nscd/nscd_getserv_r.c: Likewise.
21099 * posix/getopt_init.c: Likewise.
21100 * posix/wordexp.c: Likewise.
21101 * stdio-common/_itoa.c: Likewise.
21102 * stdio-common/printf_fphex.c: Likewise.
21103 * stdio-common/vfprintf.c: Likewise.
21104 * string/_strerror.c: Likewise.
21105 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21106 * sysdeps/i386/i686/hp-timing.h: Likewise.
21107 * sysdeps/mach/_strerror.c: Likewise.
21108 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21109 * sysdeps/mach/hurd/sethostid.c: Likewise.
21110 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21111 * sysdeps/mach/xpg-strerror.c: Likewise.
21112 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21113 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21114 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21115 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21116 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21117 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21118 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21119 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21120 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21121 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21122 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21123 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21124 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21125 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21126 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21127 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21128 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21129 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21130 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21131 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21132 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21134 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21136 * stdio-common/_itoa.h: Moved to ...
21137 * sysdeps/generic/_itoa.h: Here.
21139 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21141 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21142 instead of "_itoa.h" and "_itowa.h".
21143 * stdio-common/vfprintf.: Likewise.
21145 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21147 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21149 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21150 (__signbit): Likwise.
21151 (llrintf): Likwise.
21154 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21156 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21159 2012-03-20 Joseph Myers <joseph@codesourcery.com>
21161 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21162 OVERFLOW_EXCEPTION_OK.
21163 * math/libm-test.inc ("Philosophy"): Update comment about
21165 (OVERFLOW_EXCEPTION): Define.
21166 (OVERFLOW_EXCEPTION_OK): Likewise.
21167 (INVALID_EXCEPTION_OK): Renumber.
21168 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21169 (IGNORE_ZERO_INF_SIGN): Likewise.
21170 (test_exceptions): Handle FE_OVERFLOW.
21171 (exp10_test): Expect overflow exceptions.
21172 (exp2_test): Likewise.
21173 (expm1_test): Likewise.
21174 (nextafter_test): Likewise.
21175 (pow_test): Likewise.
21176 (scalbn_test): Likewise.
21177 (scalbln_test): Likewise.
21179 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21181 * sysdeps/x86_64/bits/atomic.h
21182 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21184 (atomic_exchange_acq): Likewise.
21185 (__arch_exchange_and_add_body): Likewise.
21186 (__arch_add_body): Likewise.
21187 (atomic_add_negative): Likewise.
21188 (atomic_add_zero): Likewise.
21190 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21192 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
21193 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21195 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21197 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21198 Check __x86_64__ instead of __WORDSIZE.
21200 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21202 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21204 2012-03-19 David S. Miller <davem@davemloft.net>
21206 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21208 * sysdeps/sparc/fpu/fenv_private.h: New file.
21209 * sysdeps/sparc/fpu/math_private.h: Use it.
21210 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21212 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21213 (libc_feholdexcept_setroundl): Remove.
21214 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21216 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21217 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21219 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21221 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21222 int64_t instead of long int.
21223 (INSERT_WORDS64): Likwise.
21225 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21227 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21228 _Unwind_GetCFA return to _Unwind_Ptr first.
21230 2012-03-19 Joseph Myers <joseph@codesourcery.com>
21233 * math/s_clog.c: Include <float.h>.
21234 (__clog): Scale large or subnormal inputs.
21235 * math/s_clogf.c: Likewise.
21236 * math/s_clogl.c: Likewise.
21237 * math/s_clog10.c: Include <float.h>.
21238 (M_LOG10_2): Define.
21239 (__clog10): Scale large or subnormal inputs.
21240 * math/s_clog10f.c: Likewise.
21241 * math/s_clog10l.c: Likewise.
21242 * math/libm-test.inc (clog_test): Add more tests.
21243 (clog10_test): Likewise.
21244 * sysdeps/i386/fpu/libm-test-ulps: Update.
21245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21248 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21250 * math/libm-test.inc (atan2_test): Add another test.
21252 * Makerules (common-objdir-compile): Remove.
21253 * sysdeps/unix/Makefile (config-generated): Do not add
21254 $(unix-generated) to variable.
21255 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21256 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21258 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21260 [generic bits/local_lim.h] (before-compile): Do not append to
21262 [generic bits/local_lim.h] (common-generated): Likewise.
21263 [generic sys/param.h] (before-compile): Do not append to variable.
21264 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21265 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21266 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21267 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21269 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21270 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21271 [generic sys/param.h] ($(addprefix
21272 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21273 [generic sys/param.h] (common-generated): Do not append to
21275 [generic sys/param.h] (sysdep_headers): Likewise.
21276 [generic bits/errno.h] (before-compile): Do not append to
21278 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21280 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21281 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21282 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21283 [generic bits/errno.h] (common-generated): Do not append to
21285 [generic bits/ioctls.h] (before-compile): Do not append to
21287 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21289 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21290 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21291 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21293 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21294 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21295 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21296 [generic bits/ioctls.h] (common-generated): Do not append to
21298 [generic sys/syscall.h] (syscall.h): Remove variable.
21299 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21301 [generic sys/syscall.h] (before-compile): Do not append to
21303 [generic sys/syscall.h] (common-generated): Likewise.
21304 * sysdeps/unix/errnos-tmpl.c: Remove file.
21305 * sysdeps/unix/errnos.awk: Likewise.
21306 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21307 * sysdeps/unix/ioctls.awk: Likewise.
21308 * sysdeps/unix/mk-local_lim.c: Likewise.
21309 * sysdeps/unix/snarf-ioctls: Likewise.
21311 2012-03-19 Richard Henderson <rth@twiddle.net>
21313 * sysdeps/i386/fpu/fenv_private.h: New file.
21314 * sysdeps/i386/fpu/math_private.h: Use it.
21315 (math_opt_barrier, math_force_eval): Remove.
21316 (libc_feholdexcept_setround_53bit): Remove.
21317 (libc_feupdateenv_53bit): Remove.
21318 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21319 (math_opt_barrier, math_force_eval): Remove.
21320 (libc_feholdexcept): Remove.
21321 (libc_feholdexcept_setround): Remove.
21322 (libc_fetestexcept, libc_fesetenv): Remove.
21323 (libc_feupdateenv_test): Remove.
21324 (libc_feupdateenv, libc_feholdsetround): Remove.
21325 (libc_feresetround): Remove.
21327 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21328 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21330 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21331 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21332 (libc_feupdateenv_testl): New.
21333 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21334 (libc_feupdateenv_testf): New.
21335 (libc_feupdateenv): Use libc_feupdateenv_test.
21336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21337 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21339 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21340 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21341 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21342 (libc_feresetround_noex): New.
21343 (libc_feresetround_noexf): New.
21344 (libc_feresetround_noexl): New.
21345 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21346 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21347 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21348 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21350 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21351 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21353 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21354 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21355 SET_RESTORE_ROUND_NOEX.
21356 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21357 SET_RESTORE_ROUND_NOEXF.
21358 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21359 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21360 (libc_feholdsetroundf): New.
21361 (libc_feresetround, libc_feresetroundf): New.
21363 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21364 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21365 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21367 * sysdeps/generic/math_private.h: Include <fenv.h>.
21368 (default_libc_feholdexcept): New.
21369 (default_libc_feholdexcept_setround): New.
21370 (default_libc_fesetenv, default_libc_feupdateenv): New.
21371 (libc_feholdexcept): Only define if undefined.
21372 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21373 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21374 (libc_feholdexcept_setroundl): Likewise.
21375 (libc_feholdexcept_setround_53bit): Likewise.
21376 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21377 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21378 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21379 (libc_feupdateenv_53bit): Likewise.
21380 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21381 (libc_feholdexcept): Convert from macro to inline function.
21382 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21383 (libc_fesetenv, libc_feupdateenv): Likewise.
21385 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21386 not previously defined.
21387 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21388 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21389 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21390 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21391 * sysdeps/ieee754/flt-32/math_private.h: New file.
21392 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21393 math_private.h below SET_FLOAT_WORD.
21394 (__isnan, __isinf_ns, __finite): Remove.
21395 (__isnanf, __isinf_nsf, __finitef): Remove.
21397 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21401 2012-03-17 David S. Miller <davem@davemloft.net>
21404 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21407 2012-03-16 David S. Miller <davem@davemloft.net>
21409 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21413 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21415 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21416 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21417 sysdep_routines when subdir is sysvipc.
21418 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21419 __getshmlba helper.
21421 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21423 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21425 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21428 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21430 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21431 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21432 (__lround): Renamed to ...
21433 (__llround): This. Replace long int with long long int.
21434 Define lround functions as aliases of llround functions.
21435 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21437 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21439 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21440 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21441 adresses to uintptr_t. Replace "long int" and "unsigned long
21442 int" with "greg_t" on va_arg.
21444 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21446 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21447 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21449 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21450 Move e_machine check before EI_CLASS check. Handle x32
21451 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21452 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21453 SKIP_EM_IA_64 and include
21454 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21456 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21457 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21458 (add_system_dir): New macro.
21460 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21461 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21463 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21474 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21476 * math/w_j0f.c (j0f): Likewise.
21478 * math/w_j0l.c (__j0l): Likewise.
21480 * math/w_j1.c (j1): Likewise.
21482 * math/w_j1f.c (j1f): Likewise.
21484 * math/w_j1l.c (__j1l): Likewise.
21486 * math/w_jn.c (jn): Likewise.
21488 * math/w_jnf.c (jnf): Likewise.
21490 * math/w_jnl.c (__jnl): Likewise.
21492 * math/libm-test.inc (j0_test): Add more tests.
21493 (j1_test): Likewise.
21494 (jn_test): Likewise. Add trailing semicolon to existing test.
21495 (y0_test): Likewise.
21496 (y1_test): Likewise.
21497 * sysdeps/i386/fpu/libm-test-ulps: Update.
21498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21502 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21503 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21504 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21505 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21506 (__tanl): Set errno for infinite argument.
21507 * sysdeps/i386/fpu/mptan.c: Remove.
21508 * sysdeps/i386/fpu/s_tan.S: Likewise.
21509 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21510 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21511 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21512 * math/libm-test.inc (tan_test): Add more tests and enable more
21513 tests for double and long double.
21514 * sysdeps/i386/fpu/libm-test-ulps: Update.
21515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21517 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21519 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21520 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21522 2012-03-16 Roland McGrath <roland@hack.frob.com>
21524 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21525 * configure.in: Use it for both main tree and add-ons.
21526 * configure: Regenerated.
21528 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21530 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21532 2012-03-16 Joseph Myers <joseph@codesourcery.com>
21534 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21538 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21539 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21540 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21541 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21542 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21544 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21545 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21546 != 0 for prec == 2.
21547 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21548 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21549 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21550 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21551 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21552 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21553 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21554 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21555 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21556 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21557 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21558 * math/libm-test.inc (cos_test): Add more tests and enable more
21559 tests for long double.
21560 (sin_test): Likewise.
21561 (sincos_test): Likewise.
21562 * sysdeps/i386/fpu/libm-test-ulps: Update.
21563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21565 2012-03-16 David S. Miller <davem@davemloft.net>
21567 * sysdeps/sparc/fpu/math_private.h: New file.
21569 2012-03-15 David S. Miller <davem@davemloft.net>
21571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
21574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21577 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21578 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21581 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21585 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21586 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21588 * sysdeps/sparc/sparc-ifunc.h: New file.
21589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
21592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
21605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21617 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21618 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21627 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21628 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21629 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21630 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21634 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21636 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21640 2012-03-15 Andreas Jaeger <aj@suse.de>
21643 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21644 ieee754/flt-32 implementation for sin, cos and sincos.
21645 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21646 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21647 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21648 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21649 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21650 ieee754/flt-32 implementation for tan.
21652 * math/libm-test.inc (cos_test): Enable some large input tests for
21654 (sin_test): Likewise.
21655 (sincos_test): Likewise.
21656 (tan_test): Add tests for large input.
21658 * sysdeps/i386/fpu/libm-test-ulps: Update.
21660 2012-03-15 Andreas Jaeger <aj@suse.de>
21663 * math/libm-test.inc (cos_test): Add more test cases.
21664 (sin_test): Likewise.
21665 (sincos_test): Likewise.
21667 2012-03-15 Andreas Jaeger <aj@suse.de>
21670 * math/libm-test.inc (cos_test): Add a test case for large input
21672 (sin_test): Likewise.
21673 (sincos_test): Likewise.
21675 2012-03-15 Andreas Jaeger <aj@suse.de>,
21676 Joseph Myers <joseph@codesourcery.com>
21679 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
21680 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21681 * sysdeps/i386/fpu/branred.c: Likewise.
21682 * sysdeps/i386/fpu/dosincos.c: Likewise.
21683 * sysdeps/i386/fpu/mpa.c: Likewise.
21684 * sysdeps/i386/fpu/s_cos.S: Likewise.
21685 * sysdeps/i386/fpu/s_sin.S: Likewise.
21686 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21687 * sysdeps/i386/fpu/sincos32.c: Likewise.
21689 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21691 (libc_feupdateenv_53bit): Define.
21692 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21694 (libc_feupdateenv_53bit): Define.
21696 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21697 53 bit (without extend i386 double precision).
21699 * math/libm-test.inc (sincos_test): Add tests for large input.
21703 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21705 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21709 2012-03-15 David S. Miller <davem@davemloft.net>
21711 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21712 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21713 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21714 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
21726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
21729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
21732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
21735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21738 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21739 fmin/fmax sysdep routines.
21740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21742 2012-03-14 David S. Miller <davem@davemloft.net>
21744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21748 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21749 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21752 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21764 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21765 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21768 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21769 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21770 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
21772 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
21777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
21780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
21783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
21786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
21789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
21804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
21807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
21810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
21813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21816 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21821 * sysdeps/sparc/configure.in: New file.
21822 * sysdeps/sparc/configure: Generate.
21823 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21824 * configure: Regenerate.
21825 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21826 * config.make.in (have-as-vis3): New.
21827 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21828 available use -Av9d instead of -Av9a.
21829 * sysdeps/sparc/sparc64/Makefile: Likewise.
21830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
21831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21839 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21841 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21845 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21846 fzeros/fnegs to load 0x80000000 into a float register instead of
21848 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21850 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21854 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21855 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21856 ($(inst_includedir)/bits/syscall.h): Remove rule.
21857 ($(objpfx)bits/syscall.d): Include instead of
21858 $(objpfx)syscall-list.d.
21859 (generated): Change syscall-list.h and syscall-list.d to
21860 bits/syscall.h and bits/syscall.d.
21862 2012-03-14 Roland McGrath <roland@hack.frob.com>
21865 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21867 2012-03-14 Joseph Myers <joseph@codesourcery.com>
21870 * math/s_csqrt.c: Include <float.h>.
21871 (__csqrt): Scale large or subnormal inputs.
21872 * math/s_csqrtf.c: Likewise.
21873 * math/s_csqrtl.c: Likewise.
21874 * math/libm-test.inc (csqrt_test): Add more tests.
21875 * sysdeps/i386/fpu/libm-test-ulps: Update.
21876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21879 * math/libm-test.inc (hypot_test): Add more tests.
21881 2012-03-13 David S. Miller <davem@davemloft.net>
21884 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21885 double-precision for the calculation instead of scaling.
21887 2012-03-13 Joseph Myers <joseph@codesourcery.com>
21889 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21890 manipulate bits before adding and subtracting TWO52[sx].
21891 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21892 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21894 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21896 2012-03-13 David S. Miller <davem@davemloft.net>
21898 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21899 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21900 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21901 rtld-global-offsets.h
21902 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21904 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21907 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21909 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21910 'err' in the ifdef scope in which it is actually used.
21912 * nss/nss_db/db-init.c: Include string.h
21914 2012-03-12 David S. Miller <davem@davemloft.net>
21916 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21917 masking out of the most significant byte of random value used.
21918 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21919 Fix coding style in previous change.
21921 * sysdeps/unix/sysv/linux/kernel-features.h
21922 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21923 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21925 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21928 2012-03-11 David S. Miller <davem@davemloft.net>
21930 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21931 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21932 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21933 for 'resultvar' otherwise things get truncated on 64-bit.
21935 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21936 Fix masking out of the most significant byte of random value used.
21938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21940 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21944 2012-03-09 David S. Miller <davem@davemloft.net>
21946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21947 variables with appropriate CPP guards.
21948 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21949 frame pointer, not the stack pointer. Correct layout comments. Fix test
21950 on resulting framesize and the management of the outregs buffer for pltexit.
21951 Preserve floating point return values across _dl_call_pltexit call.
21952 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21953 framesize and the management of the outregs buffer for pltexit.
21954 Preserve floating point return values across _dl_call_pltexit
21956 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21957 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21958 (print_exit): Fix format string for return register value.
21960 2012-03-10 Joseph Myers <joseph@codesourcery.com>
21962 * sunrpc/Makefile (others): Add rpcgen.
21963 ($(objpfx)rpcgen): Remove special build rule and dependency on
21965 * sunrpc/rpcgen.c: New file.
21967 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21970 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21971 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21972 * sysdeps/i386/crti.S: Likewise.
21973 * sysdeps/i386/crtn.S: Likewise.
21974 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21975 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21976 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21977 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21978 * sysdeps/sh/crti.S: Likewise.
21979 * sysdeps/sh/crtn.S: Likewise.
21980 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21983 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21985 * locale/programs/locfile-kw.gperf: Likewise.
21986 * locale/programs/charmap-kw.h: Regenerated.
21987 * locale/programs/locfile-kw.h: Likewise.
21990 * intl/plural.y: Replace FSF snail mail address with URL.
21991 * intl/plural.c: Regenerated.
21993 2012-03-09 Richard Henderson <rth@twiddle.net>
21995 * include/math_private.h: Remove file.
21996 * math/math_private.h: Move file ...
21997 * sysdeps/generic/math_private.h: ... here.
21999 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22000 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22001 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22003 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
22004 and <math_private.h>.
22005 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22006 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22007 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22008 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22009 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22013 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22014 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22020 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22022 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22023 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22024 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22026 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22027 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22029 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22030 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22031 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22032 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22034 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22035 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22036 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22037 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22038 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22040 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22041 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22042 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22043 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22044 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22045 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22046 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22047 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22048 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22049 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22050 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22051 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22052 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22053 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22054 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22055 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22056 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22057 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22058 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22059 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22060 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22061 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22062 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22063 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22064 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22065 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22066 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22067 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22068 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22069 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22070 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22071 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22072 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22073 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22074 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22075 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22076 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22078 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22079 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22081 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22082 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22086 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22087 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22088 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22093 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22094 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22095 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22096 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22097 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22098 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22099 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22100 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22101 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22102 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22103 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22104 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22105 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22106 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22107 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22108 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22109 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22110 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22111 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22112 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22113 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22114 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22115 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22116 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22117 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22118 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22119 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22120 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22121 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22122 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22123 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22124 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22125 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22126 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22127 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22128 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22129 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22130 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22131 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22132 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22133 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22134 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22135 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22136 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22137 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22138 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22139 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22140 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22141 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22142 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22143 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22144 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22145 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22146 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22147 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22148 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22149 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22150 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22151 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22152 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22153 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22154 * sysdeps/ieee754/k_standard.c: Likewise.
22155 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22156 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22157 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22159 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22160 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22161 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22162 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22165 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22168 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22169 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22170 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22171 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22172 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22173 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22174 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22177 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22178 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22179 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22180 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22181 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22182 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22183 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22186 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22188 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22190 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22194 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22195 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22196 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22197 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22198 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22199 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22201 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22202 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22203 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22204 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22205 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22206 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22207 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22208 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22209 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22210 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22211 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22212 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22213 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22214 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22215 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22216 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22217 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22219 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22220 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22221 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22222 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22223 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22224 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22225 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22226 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22227 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22228 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22229 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22230 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22231 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22232 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22233 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22234 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22236 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22237 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22238 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22240 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22243 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22244 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22245 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22246 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22247 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22248 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22249 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22250 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22251 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22252 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22253 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22254 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22255 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22256 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22257 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22258 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22259 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22260 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22262 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22266 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22267 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22268 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22269 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22270 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22271 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22272 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22273 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22274 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22275 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22276 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22277 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22278 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22279 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22280 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22281 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22282 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22283 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22284 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22285 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22286 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22287 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22288 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22289 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22290 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22291 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22292 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22293 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22294 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22295 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22296 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22297 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22298 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22300 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22301 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22302 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22303 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22304 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22305 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22306 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22307 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22308 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22309 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22310 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22311 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22312 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22313 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22314 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22315 * sysdeps/ieee754/s_lib_version.c: Likewise.
22316 * sysdeps/ieee754/s_matherr.c: Likewise.
22317 * sysdeps/ieee754/s_signgam.c: Likewise.
22318 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22319 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22320 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22321 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22322 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22323 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22324 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22325 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22326 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22327 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22328 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22329 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22330 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22331 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22332 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22333 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22334 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22335 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22336 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22337 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22338 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22340 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22342 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22343 * sunrpc/rpc_main.c: Likewise.
22344 * sunrpc/rpc_svcout.c: Likewise.
22346 2012-03-09 David S. Miller <davem@davemloft.net>
22348 * include/math_private.h: New file.
22350 2012-03-09 Joseph Myers <joseph@codesourcery.com>
22352 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22353 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22354 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22355 from <bits/socket_type.h>.
22356 (enum __socket_type): Don't define here.
22357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22358 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22359 bits/socket_type.h.
22362 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22363 checking __USE_GNU.
22365 * Makerules ($(inst_includedir)/%.h): New rule.
22366 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22367 (install-others): Remove variable setting.
22368 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22370 2012-03-08 Richard Henderson <rth@twiddle.net>
22372 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22373 from macro to inline function; merge with the
22374 !__LIBC_INTERNAL_MATH_INLINES version.
22375 (__ieee754_sqrtf): Likewise.
22377 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22378 to inline function.
22379 (__rintf, __floor, __floorf): Likewise.
22381 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22382 macro to inline function.
22383 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22385 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22386 not <math/math_private.h>.
22388 2012-03-08 David S. Miller <davem@davemloft.net>
22390 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22392 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22394 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22396 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22398 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22399 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22401 2012-03-08 Ulrich Drepper <drepper@gmail.com>
22403 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22404 be defined individually, they must be defined as a block. Define
22405 S for printing a string instead of hidint the different by using a
22406 macro for adding the 'l'.
22407 * stdio-common/tst-fphex-wide.c: Adjust.
22409 2012-03-07 Marek Polacek <polacek@redhat.com>
22411 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22413 2012-03-08 Marek Polacek <polacek@redhat.com>
22416 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22417 * stdio-common/tst-fphex.c: Define a few macros to make the
22418 test reusable. Use them.
22419 * stdio-common/tst-fphex-wide.c: New file.
22421 2012-03-08 Joseph Myers <joseph@codesourcery.com>
22424 * manual/macros.texi (gnusystems): New macro.
22425 (nongnusystems): Likewise.
22426 (gnulinuxhurdsystems): Likewise.
22427 (gnuhurdsystems): Likewise..
22428 (gnulinuxsystems): Likewise.
22429 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22430 variants of the GNU system, not "GNU system".
22431 * manual/conf.texi: Likewise.
22432 * manual/errno.texi: Likewise. Update example of errno macro
22434 * manual/filesys.texi: Likewise.
22435 (getumask): Document as specific to GNU/Hurd.
22436 * manual/install.texi: Likewise. Reword some references to
22438 * manual/intro.texi: Likewise.
22439 * manual/io.texi: Likewise.
22440 (File Name Portability): Detail which constraints are inapplicable
22441 to all GNU systems and which are only inapplicable to GNU/Hurd.
22442 * manual/job.texi: Likewise.
22443 * manual/llio.texi: Likewise.
22444 (O_NOCTTY): Document as present on GNU/Linux.
22445 * manual/maint.texi: Likewise.
22446 * manual/memory.texi: Likewise.
22447 * manual/pattern.texi: Likewise.
22448 * manual/pipe.texi: Likewise.
22449 * manual/process.texi: Likewise.
22450 * manual/resource.texi: Likewise.
22451 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22453 * manual/setjmp.texi: Likewise.
22454 * manual/signal.texi: Likewise.
22455 * manual/startup.texi: Likewise.
22456 * manual/stdio.texi: Likewise.
22457 * manual/terminal.texi: Likewise.
22458 (ONLCR): Document as POSIX.
22459 (OXTABS): Document availability on GNU/Linux as XTABS.
22460 (ONOEOT): Document availability separately from other bits.
22461 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22462 * manual/time.texi: Likewise.
22463 * manual/users.texi: Likewise.
22464 * INSTALL: Regenerated.
22465 * sysdeps/gnu/errlist.c: Regenerated.
22467 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22468 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22469 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22471 * configure: Regenerated.
22473 2012-03-07 Joseph Myers <joseph@codesourcery.com>
22475 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22476 default includes instead of AC_HEADER_CHECK.
22477 * sysdeps/i386/configure: Regenerated.
22480 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22481 * math/s_cacoshf.c (__cacoshf): Likewise.
22482 * math/s_cacoshl.c (__cacoshl): Likewise.
22483 * math/s_casinh.c (__casinh): Set signs of result from argument.
22484 * math/s_casinhf.c (__casinhf): Likewise.
22485 * math/s_casinhl.c (__casinhl): Likewise.
22486 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22487 (casinh_test): Add more tests.
22488 * sysdeps/i386/fpu/libm-test-ulps: Update.
22489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22491 2012-03-07 Ulrich Drepper <drepper@gmail.com>
22493 * po/zh_TW.po: Update from translation team.
22495 * login/Makefile (distribute): Remove variable.
22496 * catgets/Makefile: Likewise.
22497 * mach/Makefile: Likewise.
22498 * malloc/Makefile: Likewise.
22499 * misc/Makefile: Likewise.
22500 * iconv/Makefile: Likewise.
22501 * nscd/Makefile: Likewise.
22502 * hurd/Makefile: Likewise.
22503 * manual/Makefile: Likewise.
22504 * locale/Makefile: Likewise.
22505 * intl/Makefile: Likewise.
22506 * conform/Makefile: Likewise.
22507 * nss/Makefile: Likewise.
22508 * time/Makefile: Likewise.
22509 * soft-fp/Makefile: Likewise.
22510 * dirent/Makefile: Likewise.
22511 * gmon/Makefile: Likewise.
22512 * po/Makefile: Likewise.
22513 * rt/Makefile: Likewise.
22514 * socket/Makefile: Likewise.
22515 * math/Makefile: Likewise.
22516 * signal/Makefile: Likewise.
22517 * debug/Makefile: Likewise.
22518 * elf/Makefile: Likewise.
22519 * timezone/Makefile: Likewise.
22520 * stdlib/Makefile: Likewise.
22521 * iconvdata/Makefile: Likewise.
22522 * sunrpc/Makefile: Likewise.
22523 * io/Makefile: Likewise.
22524 * argp/Makefile: Likewise.
22525 * inet/Makefile: Likewise.
22526 * hesiod/Makefile: Likewise.
22527 * grp/Makefile: Likewise.
22528 * csu/Makefile: Likewise.
22529 * wctype/Makefile: Likewise.
22530 * crypt/Makefile: Likewise.
22531 * libio/Makefile: Likewise.
22532 * string/Makefile: Likewise.
22533 * nis/Makefile: Likewise.
22534 * resolv/Makefile: Likewise.
22535 * stdio-common/Makefile: Likewise.
22536 * wcsmbs/Makefile: Likewise.
22537 * dlfcn/Makefile: Likewise.
22538 * posix/Makefile: Likewise.
22541 * timezone/Makefile: Don't install timezone files, just the programs
22544 2012-03-06 Ulrich Drepper <drepper@gmail.com>
22546 * nss/databases.def: Add missing gshadow entry.
22548 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22550 2012-03-06 Marek Polacek <polacek@redhat.com>
22553 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22554 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22555 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22556 * stdio-common/tst-long-dbl-fphex.c: New file.
22558 2012-03-06 David S. Miller <davem@davemloft.net>
22560 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22561 (set_obp_int): New function.
22562 (get_obp_int): New function.
22563 (__get_clockfreq_via_dev_openprom): Likewise.
22564 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22565 Avoid unused variable warnings on 'val' and use builtin_expect.
22566 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22568 (INLINE_CLONE_SYSCALL): Likewise.
22570 2012-03-05 David S. Miller <davem@davemloft.net>
22572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22574 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22578 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22579 only for |x| >= 40.
22580 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22582 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
22584 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22585 Replace gettimeofday with __vdso_gettimeofday.
22587 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22588 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22589 __vdso_clock_gettime and __vdso_getcpu.
22591 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22592 time with __vdso_time.
22594 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22596 * manual/lang.texi (size_t): Note types to which size_t may be
22597 equivalent with the GNU C Library, but do not describe when
22598 differences between them are significant.
22600 2012-03-05 Andreas Jaeger <aj@suse.de>
22602 * sysdeps/i386/fpu/libm-test-ulps: Update.
22604 2012-03-05 Joseph Myers <joseph@codesourcery.com>
22607 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22608 (__ieee754_pow): Save and restore rounding mode and use
22609 round-to-nearest for main computations.
22610 * math/libm-test.inc (pow_test_tonearest): New function.
22611 (pow_test_towardzero): Likewise.
22612 (pow_test_downward): Likewise.
22613 (pow_test_upward): Likewise.
22614 (main): Call the new functions.
22615 * sysdeps/i386/fpu/libm-test-ulps: Update.
22616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22619 * math/libm-test.inc (cosh_test_tonearest): New function.
22620 (cosh_test_towardzero): Likewise.
22621 (cosh_test_downward): Likewise.
22622 (cosh_test_upward): Likewise.
22623 (sinh_test_tonearest): Likewise.
22624 (sinh_test_towardzero): Likewise.
22625 (sinh_test_downward): Likewise.
22626 (sinh_test_upward): Likewise.
22627 (main): Call the new functions.
22628 * sysdeps/i386/fpu/libm-test-ulps: Update.
22629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22631 2012-03-05 Tom de Vries <tom@codesourcery.com>
22633 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22634 default stack guard is set in last bytes.
22635 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22637 2012-03-05 Kees Cook <keescook@chromium.org>
22639 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
22642 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22643 possibly allocate from heap instead of stack.
22644 * stdio-common/bug-vfprintf-nargs.c: New file.
22645 * stdio-common/Makefile (tests): Add nargs overflow test.
22647 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22651 2012-03-03 Marek Polacek <polacek@redhat.com>
22653 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22654 * math/math_private.h: Likewise.
22655 * stdlib/tst-strtod.c: Likewise.
22656 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22657 * sysdeps/x86_64/bits/atomic.h: Likewise.
22659 2012-03-02 David S. Miller <davem@davemloft.net>
22661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22665 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22666 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22667 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22668 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22670 2012-03-02 Roland McGrath <roland@hack.frob.com>
22673 * manual/examples/README: New file, says the example source files
22674 can be used under GPL>=2.
22675 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22676 line containing just "*/".
22677 * manual/examples/add.c: Add copyright header (GPL>=2).
22678 * manual/examples/argp-ex1.c: Likewise.
22679 * manual/examples/argp-ex2.c: Likewise.
22680 * manual/examples/argp-ex3.c: Likewise.
22681 * manual/examples/argp-ex4.c: Likewise.
22682 * manual/examples/atexit.c: Likewise.
22683 * manual/examples/db.c: Likewise.
22684 * manual/examples/dir.c: Likewise.
22685 * manual/examples/dir2.c: Likewise.
22686 * manual/examples/execinfo.c: Likewise.
22687 * manual/examples/filecli.c: Likewise.
22688 * manual/examples/filesrv.c: Likewise.
22689 * manual/examples/fmtmsgexpl.c: Likewise.
22690 * manual/examples/genpass.c: Likewise.
22691 * manual/examples/inetcli.c: Likewise.
22692 * manual/examples/inetsrv.c: Likewise.
22693 * manual/examples/isockad.c: Likewise.
22694 * manual/examples/longopt.c: Likewise.
22695 * manual/examples/memopen.c: Likewise.
22696 * manual/examples/memstrm.c: Likewise.
22697 * manual/examples/mkfsock.c: Likewise.
22698 * manual/examples/mkisock.c: Likewise.
22699 * manual/examples/mygetpass.c: Likewise.
22700 * manual/examples/pipe.c: Likewise.
22701 * manual/examples/popen.c: Likewise.
22702 * manual/examples/rprintf.c: Likewise.
22703 * manual/examples/search.c: Likewise.
22704 * manual/examples/select.c: Likewise.
22705 * manual/examples/setjmp.c: Likewise.
22706 * manual/examples/sigh1.c: Likewise.
22707 * manual/examples/sigusr.c: Likewise.
22708 * manual/examples/stpcpy.c: Likewise.
22709 * manual/examples/strdupa.c: Likewise.
22710 * manual/examples/strftim.c: Likewise.
22711 * manual/examples/strncat.c: Likewise.
22712 * manual/examples/subopt.c: Likewise.
22713 * manual/examples/swapcontext.c: Likewise.
22714 * manual/examples/termios.c: Likewise.
22715 * manual/examples/testopt.c: Likewise.
22716 * manual/examples/testpass.c: Likewise.
22717 * manual/examples/timeval_subtract.c: Likewise.
22720 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22722 * manual/timeval_subtract.c.texi: ... here, new file.
22724 2012-03-02 David S. Miller <davem@davemloft.net>
22726 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22728 2012-03-02 Joseph Myers <joseph@codesourcery.com>
22731 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22732 (__sin): Save and restore rounding mode and use round-to-nearest
22733 for all computations.
22734 (__cos): Save and restore rounding mode and use round-to-nearest
22735 for all computations.
22736 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22738 (tan): Save and restore rounding mode and use round-to-nearest for
22740 * math/libm-test.inc (cos_test_tonearest): New function.
22741 (cos_test_towardzero): Likewise.
22742 (cos_test_downward): Likewise.
22743 (cos_test_upward): Likewise.
22744 (sin_test_tonearest): Likewise.
22745 (sin_test_towardzero): Likewise.
22746 (sin_test_downward): Likewise.
22747 (sin_test_upward): Likewise.
22748 (tan_test_tonearest): Likewise.
22749 (tan_test_towardzero): Likewise.
22750 (tan_test_downward): Likewise.
22751 (tan_test_upward): Likewise.
22752 (main): Call the new functions.
22753 * sysdeps/i386/fpu/libm-test-ulps: Update.
22754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22757 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22758 small n, then large n, before computing and testing k+n.
22759 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22760 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22762 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22764 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22765 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22766 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22767 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22768 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22769 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22770 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22771 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22772 * math/libm-test.inc (scalbn_test): Add more tests.
22773 (scalbln_test): Likewise.
22775 * manual/filesys.texi (mode_t): Describe constraints on size and
22776 signedness, not exact equivalence to a particular type.
22778 (ino64_t): Likewise.
22780 (nlink_t): Likewise.
22781 (blkcnt_t): Likewise.
22782 (blkcnt64_t): Likewise.
22783 * manual/llio.texi (off_t): Likewise.
22786 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22787 (__ieee754_exp): Save and restore rounding mode and use
22788 round-to-nearest for all computations.
22789 * math/libm-test.inc (exp_test_tonearest): New function.
22790 (exp_test_towardzero): Likewise.
22791 (exp_test_downward): Likewise.
22792 (exp_test_upward): Likewise.
22793 (main): Call the new functions.
22794 * sysdeps/i386/fpu/libm-test-ulps: Update.
22795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22797 2012-03-01 Chris Demetriou <cgd@google.com>
22799 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22800 have predictable order.
22802 2012-03-01 David S. Miller <davem@davemloft.net>
22804 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22806 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22807 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22808 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22809 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22811 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22812 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22813 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22815 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22816 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22817 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22818 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22819 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22823 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22824 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22825 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22827 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22828 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22829 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22830 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22831 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22832 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22833 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22834 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22835 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22836 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22837 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22838 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22840 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22841 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22843 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22844 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22845 * sysdeps/sparc/elf/configure: Regenerated.
22847 2012-03-01 Joseph Myers <joseph@codesourcery.com>
22849 * configure.in (AS, LD): Require binutils 2.20 or later.
22850 * configure: Regenerated.
22851 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22852 as required minimum version.
22853 * INSTALL: Regenerated.
22857 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22858 before squaring exponent.
22859 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22860 bottom long double and 27 bits of top long double before squaring
22862 * math/libm-test.inc (erfc_test): Add more tests.
22863 * sysdeps/i386/fpu/libm-test-ulps: Update.
22864 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22867 2012-03-01 Kai Tietz <ktietz@redhat.com>
22869 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22870 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22871 containing bit-fields.
22872 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22873 * soft-fp/single.h (_FP_UNION_S): Likewise.
22874 * soft-fp/double.h (_FP_UNION_D): Likewise.
22876 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22879 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22880 not include ../strcmp.S.
22881 [USE_AS_STRNCASECMP_L]: Likewise.
22882 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22883 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22884 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22885 (__strncasecmp_l_ia32): Define as alias to
22886 __strncasecmp_l_nonascii.
22889 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22890 * sysdeps/i386/fpu/libm-test-ulps: Update.
22891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22893 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22896 2012-02-29 Jeff Law <law@redhat.com>
22898 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22899 out of bounds read.
22901 2012-02-29 Marek Polacek <polacek@redhat.com>
22904 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22905 * elf/Makefile: Add rules to run tst-unused-dep.out.
22907 2012-02-28 David S. Miller <davem@davemloft.net>
22909 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22910 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22911 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22912 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22913 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22914 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22916 2012-02-29 Joseph Myers <joseph@codesourcery.com>
22918 * math/libm-test.inc (llround_test): Move one test from
22919 lround_test. Use TEST_f_L in moved test.
22920 (lround_test): Move misplaced test to llround_test. Add testcase
22923 2012-02-28 Ulrich Drepper <drepper@gmail.com>
22925 * sysdeps/x86_64/fpu/e_expf.S: New file.
22926 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22928 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22931 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22932 of remain_len that may cause incomplete multi-byte character and
22934 * posix/bug-regex33.c: New file.
22935 * posix/Makefile (tests): Add bug-regex33.
22937 2012-02-28 Joseph Myers <joseph@codesourcery.com>
22939 * manual/macros.texi: New file.
22940 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22941 * manual/libc.texinfo: Include macros.texi.
22942 * manual/creatute.texi: Likewise.
22943 * manual/install.texi: Likewise.
22944 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22945 @glibcadj{} in references to the GNU C Library.
22946 * manual/charset.texi: Likewise.
22947 * manual/conf.texi: Likewise.
22948 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22949 when not using those macros.
22950 * manual/creature.texi: Likewise.
22951 * manual/crypt.texi: Likewise.
22952 * manual/errno.texi: Likewise.
22953 * manual/filesys.texi: Likewise.
22954 * manual/header.texi: Likewise.
22955 * manual/install.texi: Likewise.
22956 * manual/intro.texi: Likewise.
22957 * manual/io.texi: Likewise.
22958 * manual/job.texi: Likewise.
22959 * manual/lang.texi: Likewise.
22960 * manual/libc.texiinfo: Likewise.
22961 * manual/llio.texi: Likewise.
22962 * manual/locale.texi: Likewise.
22963 * manual/maint.texi: Likewise.
22964 * manual/math.texi: Likewise.
22965 * manual/memory.texi: Likewise.
22966 * manual/message.texi: Likewise.
22967 * manual/nss.texi: Likewise.
22968 * manual/pattern.texi: Likewise.
22969 * manual/process.texi: Likewise.
22970 * manual/resource.texi: Likewise.
22971 * manual/search.texi: Likewise.
22972 * manual/setjmp.texi: Likewise.
22973 * manual/signal.texi: Likewise.
22974 * manual/socket.texi: Likewise.
22975 * manual/startup.texi: Likewise.
22976 * manual/stdio.texi: Likewise.
22977 * manual/string.texi: Likewise.
22978 * manual/sysinfo.texi: Likewise.
22979 * manual/syslog.texi: Likewise.
22980 * manual/terminal.texi: Likewise.
22981 * manual/time.texi: Likewise.
22982 * manual/users.texi: Likewise.
22983 * INSTALL: Regenerated.
22984 * NOTES: Regenerated.
22985 * sysdeps/gnu/errlist.c: Regenerated.
22987 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22989 * include/dirent.h: Include <dirstream.h> before
22992 2012-02-28 David S. Miller <davem@davemloft.net>
22994 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22995 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22996 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22997 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22999 2012-02-27 David S. Miller <davem@davemloft.net>
23001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23003 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23004 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23007 frame pointer instead of stack pointer relative arg slot.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23009 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23010 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23012 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23015 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23017 2012-02-27 David S. Miller <davem@davemloft.net>
23019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23023 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23024 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23025 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23026 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23028 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23030 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23031 later. Allow versions 5-9.
23032 * configure: Regenerated.
23033 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23034 required minimum version and 4.6 as recommended version. Do not
23035 mention bugs in GCC 2.7 and 2.8.
23036 * INSTALL: Regenerated.
23038 2012-02-27 David S. Miller <davem@davemloft.net>
23040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23044 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23045 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23046 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23047 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23050 manipulate bits before adding and subtracting TWO112[sx].
23051 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23053 2012-02-27 Roland McGrath <roland@hack.frob.com>
23056 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23057 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23058 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23059 being in POSIX, because they are in 1003.1-2008.
23061 * rt/tst-aio.c: Include <fcntl.h>.
23062 * rt/tst-aio7.c: Likewise.
23063 * rt/tst-aio64.c: Likewise.
23065 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23067 2012-02-27 Joseph Myers <joseph@codesourcery.com>
23069 * manual/install.texi (--with-headers): Describe headers as
23070 interface headers, not private headers.
23071 (Specific advice for GNU/Linux systems): Describe use of headers
23072 from "make headers_install", not private headers from older
23074 * INSTALL: Regenerated.
23075 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23077 * sysdeps/unix/sysv/linux/configure: Regenerated.
23079 * manual/llio.texi (fclean): Remove documentation.
23081 * manual/Makefile (libc-texi-generated): New variable. Include
23083 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23084 $(libc-texi-generated), not duplicated list of files.
23085 (version.texi, stamp-version): New rules.
23086 (realclean): Remove $(libc-texi-generated), not individual files
23087 from that list. Do not remove dir-add.texinfo.
23088 * manual/libc.texinfo: Comment out uses of edition numbers and
23089 references to printed manual. Remove last-updated dates.
23090 (EDITION): Comment out.
23092 (VERSION, UPDATED): Remove.
23093 (version.texi): Include.
23095 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23097 * sysdeps/posix/spawni.c: Include <signal.h>.
23098 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23099 * sysdeps/pthread/aio_fsync.c: Likewise.
23101 2012-02-26 Ulrich Drepper <drepper@gmail.com>
23103 * conform/Makefile (tests): Run only when not cross-compiling and
23104 when fast-check is not defined.
23106 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23107 * conform/data/limits.h-data: Fixes for POSIX2008.
23108 * conform/run-conformtest.sh: Run all tests.
23109 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23111 * include/bits/dlfcn.h: Likewise.
23112 * include/langinfo.h: Likewise.
23113 * include/monetary.h: Likewise.
23114 * include/sys/poll.h: Likewise.
23116 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23118 * posix/spawn.h: Define __need_sigset_t.
23119 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23120 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23121 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23122 to get sigevent_t only.
23123 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23124 only for __USE_GNU.
23125 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23126 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23127 process_vm_writev only for __USE_GNU.
23128 * termios/termios.h: Declare tcgetsid also for POSIX2008.
23130 * conform/Makefile: For now ignore errors from run-conformtest.
23131 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23132 POSIX to avoid namespace pollution. Don't prepend headers.
23133 * conform/data/aio.h-data: Fixes for POSIX testing.
23134 * conform/data/fcntl.h-data: Likewise.
23135 * conform/data/glob.h-data: Likewise.
23136 * conform/data/grp.h-data: Likewise.
23137 * conform/data/pthread.h-data: Likewise.
23138 * conform/data/pwd.h-data: Likewise.
23139 * conform/data/signal.h-data: Likewise.
23140 * conform/data/spawn.h-data: Likewise.
23141 * conform/data/stdio.h-data: Likewise.
23142 * conform/data/stdlib.h-data: Likewise.
23143 * conform/data/stropts.h-data: Likewise.
23144 * conform/data/sys/mman.h-data: Likewise.
23145 * conform/data/sys/stat.h-data: Likewise.
23146 * conform/data/sys/types.h-data: Likewise.
23147 * conform/data/sys/wait.h-data: Likewise.
23148 * conform/data/time.h-data: Likewise.
23149 * conform/data/unistd.h-data: Likewise.
23150 * conform/data/utime.h-data: Likewise.
23152 * io/sys/stat.h: fchmod was always in POSIX.
23153 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23154 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23155 * rt/aio.h: Define __need_timespec before including <time.h>.
23156 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23157 struct. Add forward declaration of pthread_attr_t and use it in
23159 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23160 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23161 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23162 always remove CLK_TCK definition.
23164 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23166 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23168 2012-02-25 Ulrich Drepper <drepper@gmail.com>
23170 * conform/run-conformtest.sh: New file.
23171 * conform/Makefile: Run run-conformtest for tests.
23172 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23175 * conform/data/uchar.h-data: New file.
23176 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23177 * conform/data/arpa/inet.h-data: Likewise.
23178 * conform/data/assert.h-data: Likewise.
23179 * conform/data/complex.h-data: Likewise.
23180 * conform/data/cpio.h-data: Likewise.
23181 * conform/data/ctype.h-data: Likewise.
23182 * conform/data/dirent.h-data: Likewise.
23183 * conform/data/dlfcn.h-data: Likewise.
23184 * conform/data/errno.h-data: Likewise.
23185 * conform/data/fcntl.h-data: Likewise.
23186 * conform/data/float.h-data: Likewise.
23187 * conform/data/fmtmsg.h-data: Likewise.
23188 * conform/data/fnmatch.h-data: Likewise.
23189 * conform/data/ftw.h-data: Likewise.
23190 * conform/data/glob.h-data: Likewise.
23191 * conform/data/grp.h-data: Likewise.
23192 * conform/data/iconv.h-data: Likewise.
23193 * conform/data/inttypes.h-data: Likewise.
23194 * conform/data/langinfo.h-data: Likewise.
23195 * conform/data/libgen.h-data: Likewise.
23196 * conform/data/limits.h-data: Likewise.
23197 * conform/data/locale.h-data: Likewise.
23198 * conform/data/math.h-data: Likewise.
23199 * conform/data/monetary.h-data: Likewise.
23200 * conform/data/mqueue.h-data: Likewise.
23201 * conform/data/ndbm.h-data: Likewise.
23202 * conform/data/net/if.h-data: Likewise.
23203 * conform/data/netdb.h-data: Likewise.
23204 * conform/data/netinet/in.h-data: Likewise.
23205 * conform/data/nl_types.h-data: Likewise.
23206 * conform/data/poll.h-data: Likewise.
23207 * conform/data/pthread.h-data: Likewise.
23208 * conform/data/pwd.h-data: Likewise.
23209 * conform/data/regex.h-data: Likewise.
23210 * conform/data/sched.h-data: Likewise.
23211 * conform/data/search.h-data: Likewise.
23212 * conform/data/semaphore.h-data: Likewise.
23213 * conform/data/setjmp.h-data: Likewise.
23214 * conform/data/signal.h-data: Likewise.
23215 * conform/data/spawn.h-data: Likewise.
23216 * conform/data/stdarg.h-data: Likewise.
23217 * conform/data/stdio.h-data: Likewise.
23218 * conform/data/stdlib.h-data: Likewise.
23219 * conform/data/string.h-data: Likewise.
23220 * conform/data/strings.h-data: Likewise.
23221 * conform/data/stropts.h-data: Likewise.
23222 * conform/data/sys/ipc.h-data: Likewise.
23223 * conform/data/sys/mman.h-data: Likewise.
23224 * conform/data/sys/msg.h-data: Likewise.
23225 * conform/data/sys/resource.h-data: Likewise.
23226 * conform/data/sys/select.h-data: Likewise.
23227 * conform/data/sys/sem.h-data: Likewise.
23228 * conform/data/sys/shm.h-data: Likewise.
23229 * conform/data/sys/socket.h-data: Likewise.
23230 * conform/data/sys/stat.h-data: Likewise.
23231 * conform/data/sys/statvfs.h-data: Likewise.
23232 * conform/data/sys/time.h-data: Likewise.
23233 * conform/data/sys/timeb.h-data: Likewise.
23234 * conform/data/sys/times.h-data: Likewise.
23235 * conform/data/sys/types.h-data: Likewise.
23236 * conform/data/sys/uio.h-data: Likewise.
23237 * conform/data/sys/un.h-data: Likewise.
23238 * conform/data/sys/utsname.h-data: Likewise.
23239 * conform/data/sys/wait.h-data: Likewise.
23240 * conform/data/syslog.h-data: Likewise.
23241 * conform/data/tar.h-data: Likewise.
23242 * conform/data/termios.h-data: Likewise.
23243 * conform/data/utime.h-data: Likewise.
23244 * conform/data/utmpx.h-data: Likewise.
23245 * conform/data/varargs.h-data: Likewise.
23246 * conform/data/wchar.h-data: Likewise.
23247 * conform/data/wctype.h-data: Likewise.
23248 * conform/data/wordexp.h-data: Likewise.
23250 * include/stropts.h: New file.
23251 * include/uchar.h: New file.
23252 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23253 * include/assert.h: Likewise.
23254 * include/ctype.h: Likewise.
23255 * include/dirent.h: Likewise.
23256 * include/dlfcn.h: Likewise.
23257 * include/fcntl.h: Likewise.
23258 * include/fnmatch.h: Likewise.
23259 * include/glob.h: Likewise.
23260 * include/grp.h: Likewise.
23261 * include/libio.h: Likewise.
23262 * include/locale.h: Likewise.
23263 * include/math.h: Likewise.
23264 * include/net/if.h: Likewise.
23265 * include/netdb.h: Likewise.
23266 * include/netinet/in.h: Likewise.
23267 * include/pthread.h: Likewise.
23268 * include/pwd.h: Likewise.
23269 * include/regex.h: Likewise.
23270 * include/sched.h: Likewise.
23271 * include/search.h: Likewise.
23272 * include/setjmp.h: Likewise.
23273 * include/signal.h: Likewise.
23274 * include/stdio.h: Likewise.
23275 * include/stdlib.h: Likewise.
23276 * include/string.h: Likewise.
23277 * include/sys/cdefs.h: Likewise.
23278 * include/sys/mman.h: Likewise.
23279 * include/sys/msg.h: Likewise.
23280 * include/sys/resource.h: Likewise.
23281 * include/sys/select.h: Likewise.
23282 * include/sys/socket.h: Likewise.
23283 * include/sys/stat.h: Likewise.
23284 * include/sys/statvfs.h: Likewise.
23285 * include/sys/time.h: Likewise.
23286 * include/sys/times.h: Likewise.
23287 * include/sys/uio.h: Likewise.
23288 * include/sys/utsname.h: Likewise.
23289 * include/sys/wait.h: Likewise.
23290 * include/termios.h: Likewise.
23291 * include/time.h: Likewise.
23292 * include/ulimit.h: Likewise.
23293 * include/unistd.h: Likewise.
23294 * include/utime.h: Likewise.
23295 * include/wchar.h: Likewise.
23296 * include/wctype.h: Likewise.
23297 * include/wordexp.h: Likewise.
23299 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23301 * time/time.h: TIME_UTC must be a macro.
23302 Make timespec_get available for ISO C11 only as well.
23304 2012-02-24 Ulrich Drepper <drepper@gmail.com>
23306 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23307 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23309 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23311 * configure.in: Use -o not -a in test for unsupported multi-arch.
23313 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23315 * manual/texinfo.tex: Update to version 2012-01-19.16.
23317 2012-02-24 Joseph Myers <joseph@codesourcery.com>
23319 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23321 2012-02-24 Roland McGrath <roland@hack.frob.com>
23324 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23325 * manual/fdl-1.3.texi: New file.
23326 * manual/fdl-1.1.texi: File removed.
23329 * manual/libc.texinfo (FDL_VERSION): New @set.
23330 Use it for mention of FDL in cover text.
23331 (Documentation License): Use it in @include file name.
23333 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23334 Roland McGrath <roland@hack.frob.com>
23337 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23338 not LONG_LONG_MAX and LONG_LONG_MIN.
23339 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23340 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23342 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23344 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23348 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23349 manipulate bits before adding and subtracting TWO23[sx].
23350 * math/libm-test.inc (nearbyint_test): Add more tests.
23352 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23355 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23356 bits before adding and subtracting TWO23[sx].
23357 * math/libm-test.inc (rint_test): Add more tests.
23358 (rint_test_tonearest): Likewise.
23359 (rint_test_towardzero): Likewise.
23360 (rint_test_downward): Likewise.
23361 (rint_test_upward: Likewise.
23363 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23366 * include/stdc-predef.h: New file. Extracted from features.h.
23367 * include/features.h: Include stdc-predef.h.
23368 * Makefile (headers): Add stdc-predef.h.
23369 * CONFORMANCE (Compiler limitations): Update.
23371 2012-02-22 Joseph Myers <joseph@codesourcery.com>
23373 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23375 2012-02-21 David S. Miller <davem@davemloft.net>
23377 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23378 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23380 2012-02-20 David S. Miller <davem@davemloft.net>
23382 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23383 using a normal save/restore sequence, rather than allocating a
23384 dummy stack frame just to store a frame pointer and restore.
23385 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23387 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23389 * manual/install.texi: Fix stray word in line-wrapped comment.
23391 2012-02-20 David S. Miller <davem@davemloft.net>
23393 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23394 both binutils and gcc support GOTDATA.
23396 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23397 "rd %pc" in the PIC register setup sequences.
23399 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23400 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23401 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23402 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23403 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23405 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23406 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23407 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23408 (SYSCALL_ERROR_HANDLER): Likewise.
23409 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23410 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23411 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23412 (SYSCALL_ERROR_HANDLER): Likewise.
23414 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23415 (HAVE_GCC_GOTDATA): New.
23416 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23417 relocation support in both binutils and gcc.
23418 * sysdeps/sparc/elf/configure: Regenerate.
23420 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23421 * sysdeps/sparc/sparc32/elf/configure: Delete.
23422 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23423 * sysdeps/sparc/sparc64/elf/configure: Delete.
23424 * sysdeps/sparc/elf/configure.in: New file.
23425 * sysdeps/sparc/elf/configure: Generate.
23427 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23428 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23429 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23430 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23431 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23433 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23435 * manual/install.texi: Do not mention specific glibc version
23437 * manual/libc.texinfo (VERSION, UPDATED): Update.
23438 (@copying): Use @copyright{} and range of years.
23440 2012-02-21 Joseph Myers <joseph@codesourcery.com>
23443 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23444 [crti.S not in sysdirs] (generated): Do not append.
23445 [crti.S not in sysdirs] (omit-deps): Likewise.
23446 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23447 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23448 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23449 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23450 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23452 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23453 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23454 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23455 * csu/defs.awk: Remove file.
23456 * sysdeps/generic/initfini.c: Likewise.
23457 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23459 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23462 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23464 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23465 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23466 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23467 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23468 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23469 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23471 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23472 (__EPOLL_PACKED): Define to empty if not defined by
23474 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23475 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23478 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23480 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23481 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23482 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23483 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23485 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23489 2012-02-20 Joseph Myers <joseph@codesourcery.com>
23491 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23493 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23494 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23495 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23498 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23500 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23501 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23503 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23505 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23506 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23508 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23510 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23513 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23515 * math/w_acos.c: Use non-signaling floating-point comparisons.
23516 * math/w_acosf.c: Likewise.
23517 * math/w_acosh.c: Likewise.
23518 * math/w_acoshf.c: Likewise.
23519 * math/w_acoshl.c: Likewise.
23520 * math/w_acosl.c: Likewise.
23521 * math/w_asin.c: Likewise.
23522 * math/w_asinf.c: Likewise.
23523 * math/w_asinl.c: Likewise.
23524 * math/w_atanh.c: Likewise.
23525 * math/w_atanhf.c: Likewise.
23526 * math/w_atanhl.c: Likewise.
23527 * math/w_exp2.c: Likewise.
23528 * math/w_exp2f.c: Likewise.
23529 * math/w_exp2l.c: Likewise.
23530 * math/w_j0.c: Likewise.
23531 * math/w_j0f.c: Likewise.
23532 * math/w_j0l.c: Likewise.
23533 * math/w_j1.c: Likewise.
23534 * math/w_j1f.c: Likewise.
23535 * math/w_j1l.c: Likewise.
23536 * math/w_jn.c: Likewise.
23537 * math/w_jnf.c: Likewise.
23538 * math/w_log.c: Likewise.
23539 * math/w_log10.c: Likewise.
23540 * math/w_log10f.c: Likewise.
23541 * math/w_log10l.c: Likewise.
23542 * math/w_log2.c: Likewise.
23543 * math/w_log2f.c: Likewise.
23544 * math/w_log2l.c: Likewise.
23545 * math/w_logf.c: Likewise.
23546 * math/w_logl.c: Likewise.
23547 * math/w_sqrt.c: Likewise.
23548 * math/w_sqrtf.c: Likewise.
23549 * math/w_sqrtl.c: Likewise.
23550 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23551 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23552 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23553 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23554 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23556 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23559 * manual/string.texi (strnlen): Use correct parameter name in
23560 equivalent expression.
23562 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23565 * manual/users.texi (seteuid): Consistently use neweuid for
23568 2012-02-19 Joseph Myers <joseph@codesourcery.com>
23571 * manual/nss.texi (Services in the NSS configuration): Correct
23572 list of services in example configuration file.
23574 2012-02-19 Nick Bowler <nbowler@draconx.ca>
23577 * manual/arith.texi: Remove statements about negative zero
23578 behaving identically to zero.
23580 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23583 * manual/install.texi: Do not document upgrading from libc5.
23585 2012-02-18 Joseph Myers <joseph@codesourcery.com>
23588 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23590 2012-02-18 David S. Miller <davem@davemloft.net>
23592 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23593 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23594 %o7 across the call.
23595 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23598 SETUP_PIC_REG_LEAF.
23599 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23600 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23601 * sysdeps/sparc/crtn.S: Likewise.
23603 2012-02-17 Ulrich Drepper <drepper@gmail.com>
23605 * aout/Makefile: Remove.
23607 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23610 * manual/examples/argp-ex1.c (main): Format definition in GNU
23612 * manual/examples/argp-ex2.c (main): Likewise.
23613 * manual/examples/argp-ex3.c (main): Likewise.
23614 * manual/examples/argp-ex4.c (main): Likewise.
23615 * manual/examples/longopt.c (main): Use new-style prototype
23617 * manual/examples/strncat.c (main): Specify return type and use
23618 (void) for arguments.
23619 * manual/examples/subopt.c (main): Use char **argv argument.
23621 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23624 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23627 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23630 * manual/string.texi (strchr): Change when strchrnul is
23633 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23636 * manual/locale.texi (setlocale): Document LOCPATH.
23638 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23641 * manual/process.texi (execle): Move @dots{} before last argument.
23643 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
23646 * manual/charset.texi (Generic Charset Conversion): Fix typo
23647 (LC_TYPE -> LC_CTYPE).
23649 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23652 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23653 (scalbnf): Likewise.
23654 (scalbnl): Likewise.
23655 (scalbln): Likewise.
23656 (scalblnf): Likewise.
23657 (scalblnl): Likewise.
23658 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23659 (vwarnx): Likewise.
23662 * manual/filesys.texi (telldir): Use braces around return type.
23663 * manual/llio.texi (mmap): Add space after comma.
23664 (mmap64): Likewise.
23665 * manual/math.texi (jn): Use @var{} on parameter names.
23671 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23673 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23675 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23676 (sched_get_priority_max): Likewise.
23677 * manual/signal.texi (sigvec): Add space after comma.
23678 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23680 (if_indextoname): Likewise.
23681 (if_freenameindex): Likewise.
23682 (sendto): Use ',' instead of '.' in prototype.
23683 * manual/startup.texi (syscall): Use @dots{} instead of literal
23685 * manual/stdio.texi (__fpending): Separate initial words of
23686 paragraph from @deftypefun line.
23687 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23689 (vsyslog): Use @var{} on parameter names.
23690 * manual/terminal.texi (stty): Use @var{} on parameter names.
23691 * manual/users.texi (getutmp): Use @var{} on parameter names.
23692 (getutmpx): Likewise.
23694 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23697 * manual/stdio.texi (fopen): Fix typos in description of
23700 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23703 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23704 get clock_id definition.
23706 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
23709 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23710 (madvise): Cast every argument to void on its own.
23712 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23715 * manual/startup.texi (Exit Status): Fix typo.
23717 2012-02-17 Joseph Myers <joseph@codesourcery.com>
23720 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23721 * manual/examples/argp-ex2.c: Likewise.
23722 * manual/examples/argp-ex3.c: Likewise.
23724 2012-02-16 Richard Henderson <rth@redhat.com>
23726 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23727 * sysdeps/s390/s390-32/initfini.c: Remove.
23728 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23729 * sysdeps/s390/s390-64/initfini.c: Remove.
23731 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23733 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23734 compiler output for sysdeps/generic/initfini.c.
23735 * sysdeps/sh/elf/initfini.c: Remove file.
23737 2012-02-16 David S. Miller <davem@davemloft.net>
23740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23742 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23743 * sysdeps/sparc/crti.S: New file.
23744 * sysdeps/sparc/crtn.S: New file.
23745 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23746 * sysdeps/sparc/sparc64/Makefile: Likewise.
23748 2012-02-15 Mike Frysinger <vapier@gentoo.org>
23751 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23753 2012-02-15 Roland McGrath <roland@hack.frob.com>
23756 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23758 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23759 (write, read, close): Likewise.
23760 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23762 2012-02-15 Joseph Myers <joseph@codesourcery.com>
23764 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23765 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23766 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23767 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23769 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23773 2012-02-14 Marek Polacek <polacek@redhat.com>
23775 * sysdeps/x86_64/crti.S: New file.
23776 * sysdeps/x86_64/crtn.S: New file.
23777 * sysdeps/x86_64/elf/initfini.c: Remove file.
23779 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23781 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23782 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23783 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23784 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23786 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23790 2012-02-13 Joseph Myers <joseph@codesourcery.com>
23792 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23793 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23794 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23795 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23797 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23801 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23803 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23804 __feraiseexcept instead of feraiseexcept.
23806 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23807 nanosleep invocations.
23808 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23809 strings, and add error checking for a nanosleep invocations.
23811 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23813 Replace FSF snail mail address with URLs, as per GNU coding standards.
23814 Most of the snail mail addresses were wrong anyway, and omitting
23815 them makes the source code easier to maintain. Almost all of the
23816 changes are to license notices and to locale LC_IDENTIFICATION
23817 addresses, except for this one:
23818 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23819 not its snail mail address.
23821 2012-02-09 Richard Henderson <rth@twiddle.net>
23823 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23824 of kernel-features.h.
23826 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23828 2012-02-08 Marek Polacek <polacek@redhat.com>
23830 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23831 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23832 * sysdeps/gnu/_G_config.h: Likewise.
23833 * sysdeps/generic/_G_config.h: Likewise.
23835 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23837 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23841 * sysdeps/powerpc/powerpc32/crti.S: New file.
23842 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23843 * sysdeps/powerpc/powerpc64/crti.S: New file.
23844 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23846 * Makeconfig (have-initfini): Don't set.
23847 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23848 * configure.in (nopic_initfini): Don't substitute.
23849 * config.h.in (HAVE_INITFINI): Don't #undef.
23850 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23851 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23853 2012-02-08 Joseph Myers <joseph@codesourcery.com>
23855 Support crti.S and crtn.S provided directly by architectures.
23856 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23857 [crti.S in sysdirs] (omit-deps): Likewise.
23858 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23859 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23860 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23861 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23862 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23863 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23864 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23865 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23866 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23867 compiler output for sysdeps/generic/initfini.c.
23868 * sysdeps/i386/elf/Makefile: Remove file.
23869 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23871 2012-02-07 Marek Polacek <polacek@redhat.com>
23873 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23874 * sysdeps/gnu/_G_config.h: Likewise.
23875 * sysdeps/mach/hurd/_G_config.h: Likewise.
23877 2012-02-07 Marek Polacek <polacek@redhat.com>
23879 * math/Makefile (tests): Add tst-CMPLX2.
23880 * math/tst-CMPLX2.c: New file.
23882 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23884 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23886 * math/libm-test.inc (jn_test): Add missing L suffix.
23888 2012-02-06 Marek Polacek <polacek@redhat.com>
23890 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23891 * sysdeps/i386/fpu/e_powf.S: Likewise.
23892 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23893 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23894 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23895 * sysdeps/i386/fpu/e_pow.S: Likewise.
23896 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23897 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23898 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23899 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23900 * sysdeps/i386/fpu/e_log2.S: Likewise.
23901 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23902 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23903 * sysdeps/i386/fpu/e_powl.S: Likewise.
23904 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23905 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23906 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23907 * sysdeps/i386/fpu/e_logl.S: Likewise.
23908 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23909 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23910 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23911 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23912 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23913 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23914 * sysdeps/i386/fpu/e_log.S: Likewise.
23915 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23916 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23917 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23918 * sysdeps/i386/fpu/e_logf.S: Likewise.
23919 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23920 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23921 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23922 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23923 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23924 * sysdeps/i386/fpu/e_log10.S: Likewise.
23925 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23926 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23927 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23928 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23929 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23930 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23931 * sysdeps/i386/asm-syntax.h: Likewise.
23932 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23933 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23934 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23935 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23936 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23937 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23938 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23939 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23940 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23941 * sysdeps/powerpc/sysdep.h: Likewise.
23942 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23943 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23945 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23948 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23950 2012-02-06 Joseph Myers <joseph@codesourcery.com>
23952 * sysdeps/i386/sysdep.h: Include <features.h>.
23953 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23956 2012-02-05 Joseph Myers <joseph@codesourcery.com>
23958 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23960 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23963 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23965 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23966 (SETUP_PIC_REG): Use GET_PC_THUNK.
23967 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23970 2012-02-03 Joseph Myers <joseph@codesourcery.com>
23972 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23973 for non-PIC compilation.
23974 (SETUP_PIC_REG): Add .p2align directive.
23975 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23976 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23977 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23978 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23979 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23980 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23981 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23982 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23983 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23984 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23985 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23986 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23987 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23988 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23989 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23990 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23991 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23992 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23993 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23994 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23995 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23996 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23997 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23998 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23999 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24001 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24002 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24003 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24004 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24005 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24006 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24007 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24008 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24009 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24010 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24011 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24012 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24013 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24014 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24015 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24017 2012-02-03 Joseph Myers <joseph@codesourcery.com>
24019 * math/tst-CMPLX.c: Include <stdio.h>.
24021 2012-01-31 Joseph Myers <joseph@codesourcery.com>
24023 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24025 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24026 * sysdeps/sparc/bits/mathdef.h: Likewise.
24028 2012-01-31 Marek Polacek <polacek@redhat.com>
24030 * libio/libio.h: Don't define _PARAMS.
24031 * locale/programs/config.h: Don't define PARAMS.
24032 * stdlib/strtol_l.c: Likewise.
24033 (__strtol_l): Remove PARAMS from the prototype.
24035 2012-01-31 Ulrich Drepper <drepper@gmail.com>
24037 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24038 names. Just use the correct names. Remove unnecessary wrapper
24040 * malloc/arena.c: Likewise.
24041 * malloc/hooks.c: Likewise.
24043 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24044 ARENA_TEST says not to. Simplify test for creation of a new arena.
24045 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24047 2012-01-30 Ulrich Drepper <drepper@gmail.com>
24049 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24051 (update_get_addr): New function.
24052 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24053 GET_ADDR_MODULE parameter.
24055 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24057 * crypt/cert.c: Remove __STDC__ conditionals.
24058 * crypt/crypt-entry.c: Likewise.
24059 * crypt/crypt_util.c: Likewise.
24060 * libio/filedoalloc.c: Likewise.
24061 * libio/fileops.c: Likewise.
24062 * libio/genops.c: Likewise.
24063 * libio/iofclose.c: Likewise.
24064 * libio/iofdopen.c: Likewise.
24065 * libio/iofopen.c: Likewise.
24066 * libio/iofopen64.c: Likewise.
24067 * libio/iogetdelim.c: Likewise.
24068 * libio/iopopen.c: Likewise.
24069 * libio/obprintf.c: Likewise.
24070 * libio/oldfileops.c: Likewise.
24071 * libio/oldiofclose.c: Likewise.
24072 * libio/oldiofdopen.c: Likewise.
24073 * libio/oldiofopen.c: Likewise.
24074 * libio/oldiopopen.c: Likewise.
24075 * libio/wfiledoalloc.c: Likewise.
24076 * libio/wgenops.c: Likewise.
24077 * locale/programs/xmalloc.c: Likewise.
24078 * misc/syslog.c: Likewise.
24079 * stdio-common/xbug.c: Likewise.
24080 * string/memchr.c: Likewise.
24081 * string/memcmp.c: Likewise.
24082 * string/memrchr.c: Likewise.
24083 * string/rawmemchr.c: Likewise.
24084 * sysdeps/posix/getcwd.c: Likewise.
24085 * time/strftime_l.c: Likewise.
24087 2012-01-30 Joseph Myers <joseph@codesourcery.com>
24089 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
24090 * config.make.in (config-cflags-sse2avx): Define.
24091 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24094 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24096 * scripts/config.guess: Update from upstream config git repository.
24097 * scripts/config.sub: Likewise.
24099 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24101 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24103 (R_TILEPRO_*, R_TILEGX_*): New macros.
24105 * scripts/firstversions.awk: Fix bug in version range handling.
24107 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24109 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24111 * include/sys/epoll.h: New file.
24112 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24115 2012-01-28 Ulrich Drepper <drepper@gmail.com>
24117 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24118 Avoid unnecessary __WORDSIZE == 64 test.
24119 (fmaxf): Use VEX format if possible.
24124 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24125 * math/math_private.h: Remove libc_fegetround* and
24127 * sysdeps/i386/configure.in: Check for -msse2avx.
24128 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24129 also if SSE2AVX is defined.
24130 Remove libc_fegetround* and libc_fesetround*.
24131 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24132 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24133 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24135 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24136 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24137 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24138 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24139 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24141 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24143 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24145 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24147 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24149 2012-01-27 Ulrich Drepper <drepper@gmail.com>
24152 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24154 * Makeconfig (libm): Define.
24155 * elf/Makefile: Add rules to build and run tst-relsort1.
24156 * elf/tst-relsort1.c: New file.
24157 * elf/tst-relsort1mod1.c: New file.
24158 * elf/tst-relsort1mod2.c: New file.
24160 2012-01-27 Joseph Myers <joseph@codesourcery.com>
24162 * math/s_ldexp.c: Remove __STDC__ conditionals.
24163 * math/s_ldexpf.c: Likewise.
24164 * math/s_ldexpl.c: Likewise.
24165 * math/s_nextafter.c: Likewise.
24166 * math/s_nexttowardf.c: Likewise.
24167 * math/s_significand.c: Likewise.
24168 * math/s_significandf.c: Likewise.
24169 * math/s_significandl.c: Likewise.
24170 * math/w_jnl.c: Likewise.
24171 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24172 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24173 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24174 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24175 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24176 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24177 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24178 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24179 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24180 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24181 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24182 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24183 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24184 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24185 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24186 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24187 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24188 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24190 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24191 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24192 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24193 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24195 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24196 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24197 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24198 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24199 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24200 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24201 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24202 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24203 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24204 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24205 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24206 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24207 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24208 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24209 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24210 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24211 * sysdeps/ieee754/k_standard.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24221 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24229 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24230 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24231 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24236 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24237 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24238 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24239 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24241 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24242 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24243 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24244 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24245 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24246 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24247 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24248 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24249 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24250 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24251 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24252 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24253 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24254 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24255 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24256 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24257 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24258 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24259 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24260 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24261 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24262 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24263 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24264 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24265 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24266 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24267 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24268 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24269 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24270 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24271 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24272 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24273 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24274 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24275 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24276 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24277 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24278 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24279 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24280 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24281 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24282 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24283 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24284 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24285 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24286 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24287 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24288 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24289 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24290 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24291 * sysdeps/ieee754/s_matherr.c: Likewise.
24292 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24293 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24294 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24295 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24297 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24299 * crypt/md5.h: Remove __STDC__ conditionals.
24300 * libio/libioP.h: Likewise.
24301 * locale/programs/config.h: Likewise.
24302 * sysdeps/generic/sysdep.h: Likewise.
24303 * sysdeps/i386/asm-syntax.h: Likewise.
24304 * sysdeps/s390/asm-syntax.h: Likewise.
24305 * sysdeps/unix/sysdep.h: Likewise.
24306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24309 2012-01-26 Joseph Myers <joseph@codesourcery.com>
24311 * libio/libio.h: Remove __STDC__ conditionals.
24312 * malloc/obstack.h: Likewise.
24313 * math/complex.h: Likewise.
24314 * math/math.h: Likewise.
24315 * sysdeps/generic/_G_config.h: Likewise.
24316 * sysdeps/gnu/_G_config.h: Likewise.
24317 * sysdeps/mach/hurd/_G_config.h: Likewise.
24318 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24319 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24320 * sysdeps/sparc/bits/mathdef.h: Likewise.
24322 2012-01-26 Ulrich Drepper <drepper@gmail.com>
24325 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
24326 Clean up HAS_* macros.
24327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
24328 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24330 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24332 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24333 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24334 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24335 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24336 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24338 2012-01-25 Joseph Myers <joseph@codesourcery.com>
24340 * elf/tst-unique3.cc (gets): Remove declaration.
24341 * elf/tst-unique3lib.cc (gets): Likewise.
24342 * elf/tst-unique3lib2.cc (gets): Likewise.
24343 * elf/tst-unique4.cc (gets): Likewise.
24345 2012-01-24 Ulrich Drepper <drepper@gmail.com>
24347 * include/stdio.h: Add C++ protection. Add gets declarations and
24349 * debug/tst-chk1.c: Don't declare gets here.
24350 * stdio-common/tst-gets.c: Likewise.
24352 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24354 * posix/glob: Remove directory.
24356 2012-01-24 Joseph Myers <joseph@codesourcery.com>
24358 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24360 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24362 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24363 of the non-standard EPFNOSUPPORT.
24365 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24367 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24368 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24369 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24371 2012-01-21 Ulrich Drepper <drepper@gmail.com>
24373 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24375 2012-01-20 Ulrich Drepper <drepper@gmail.com>
24377 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24379 * nscd/grpcache.c (cache_addgr): Likewise.
24380 * nscd/hstcache.c (cache_addhst): Likewise.
24381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24382 * nscd/pwdcache.c (cache_addpw): Likewise.
24383 * nscd/servicescache.c (cache_addserv): Likewise.
24385 2012-01-16 Ulrich Drepper <drepper@gmail.com>
24387 * malloc/malloc.c: Various cleanups.
24388 * malloc/hooks.c: Likewise.
24390 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24391 * stdlib/bug-fmtmsg1.c: New file.
24393 * stdlib/fmtmsg.c (init): Add missing unlock.
24394 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24396 2012-01-12 Marek Polacek <polacek@redhat.com>
24398 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24401 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24403 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24404 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24405 macro to ensure uniqueness of label name.
24406 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24407 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24409 2012-01-11 Ulrich Drepper <drepper@gmail.com>
24411 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24413 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24414 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24415 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24416 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24418 2012-01-10 Ulrich Drepper <drepper@gmail.com>
24420 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24422 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24423 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24424 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24426 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24428 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
24429 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24430 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24431 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
24433 * math/bits/math-finite.h: Add ldexp support.
24435 2012-01-10 Marek Polacek <polacek@redhat.com>
24437 * locale/programs/localedef.h (show_archive_content): Add noreturn
24440 2012-01-09 Ulrich Drepper <drepper@gmail.com>
24442 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24444 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24446 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24448 * io/Makefile (headers): Add bits/poll2.h.
24450 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24453 typo #include statement.
24455 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24457 * include/sys/cdefs.h: Define __attribute_alloc_size.
24458 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24459 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24460 * elf/pldd.c: Likewise.
24461 * iconv/iconv_charmap.c: Likewise.
24462 * iconv/iconvconfig.c: Likewise.
24463 * iconv/strtab.c: Likewise.
24464 * locale/programs/locale.c: Likewise.
24465 * locale/programs/localedef.h: Likewise.
24466 * locale/programs/simple-hash.c: Likewise.
24467 * nscd/nscd.h: Likewise.
24468 * nss/makedb.c: Likewise.
24469 * sysdeps/generic/ldconfig.h: Likewise.
24470 * locale/programs/localedef.c: Remove xmalloc prototype.
24471 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24473 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24475 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24478 2012-01-08 Ulrich Drepper <drepper@gmail.com>
24480 * math/Makefile (tests): Add tst-CMPLX.
24481 * math/tst-CMPLX.c: New file.
24483 * math/complex.h (CMPLXL): Fix typo.
24485 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24486 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24488 * debug/tst-chk1.c: Add poll and ppoll tests.
24489 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24490 * include/sys/poll.h: Add hidden proto for ppoll.
24491 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24492 * sysdeps/mach/hurd/ppoll.c: Likewise.
24493 * io/ppoll.c: Likewise.
24494 * debug/poll_chk.c: New file.
24495 * debug/ppoll_chk.c: New file.
24496 * include/bits/poll2.h: New file.
24497 * io/bits/poll2.h: New file.
24500 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24502 * configure.in: static is always set to yes. Remove.
24503 * config.make.in: Don't set build-static.
24504 * Makeconfig: Remove use of build-static.
24505 * dlfcn/Makefile: Likewise.
24506 * elf/Makefile: Likewise.
24507 * math/Makefile: Likewise.
24508 * misc/Makefile: Likewise.
24509 * nptl/Makefile: Likewise.
24510 * sysdeps/mach/hurd/Makefile: Likewise.
24512 * configure.in: PWD_P is not used anymore.
24513 * config.make.in: Remove PWD_P entry.
24515 * configure.in: Remove last remnants of RANLIB.
24516 No need to check for signed size_t anymore.
24517 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24519 Remove __builtin_expect test because we require at least gcc 3.4.
24520 * aclocal.m4: Likewise.
24522 * wcsmbs/mbrtoc16.c: Implement using towc function.
24523 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24524 * wcsmbs/wcsmbsload.c: Likewise.
24525 * iconv/gconv_simple.c: Likewise.
24526 * iconv/gconv_int.h: Likewise.
24527 * iconv/gconv_builtin.h: Likewise.
24528 * iconv/iconv_prog.c: Remove CHAR16 handling.
24530 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24532 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24534 * configure.in: Remove --with-elf and --enable-bounded options.
24535 Dont set base_machine for ia64. More non-ELF conditions removed.
24536 Remove testing and setting of leading underscore information.
24537 * config.make.in (build-bounded): Set to no.
24538 * config.h.in: Remove NO_UNDERSCORES entry.
24539 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24541 * csu/start.c: Remove !NO_UNDERSCORE code.
24542 * locale/localeinfo.h: Likewise.
24543 * sysdeps/generic/machine-gmon.h: Likewise.
24544 * sysdeps/generic/sysdep.h: Likewise.
24545 * sysdeps/i386/sysdep.h: Likewise.
24546 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24547 * sysdeps/mach/sysdep.h: Likewise.
24548 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24550 * sysdeps/sh/sysdep.h: Likewise.
24551 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24552 * sysdeps/unix/i386/sysdep.S: Likewise.
24553 * sysdeps/unix/sparc/start.c: Likewise.
24554 * sysdeps/unix/sparc/sysdep.S: Likewise.
24555 * sysdeps/unix/sparc/sysdep.h: Likewise.
24556 * sysdeps/unix/start.c: Likewise.
24557 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24558 * sysdeps/x86_64/sysdep.h: Likewise.
24560 2012-01-07 Ulrich Drepper <drepper@gmail.com>
24563 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24565 * argp/argp-fmtstream.h: Use const instead __const.
24566 * argp/argp.h: Likewise.
24567 * assert/assert.h: Likewise.
24568 * bits/fenv.h: Likewise.
24569 * bits/sched.h: Likewise.
24570 * bits/sigset.h: Likewise.
24571 * bits/sigthread.h: Likewise.
24572 * catgets/nl_types.h: Likewise.
24573 * conform/data/pthread.h-data: Likewise.
24574 * crypt/crypt-private.h: Likewise.
24575 * crypt/crypt.h: Likewise.
24576 * crypt/crypt_util.c: Likewise.
24577 * ctype/ctype.h: Likewise.
24578 * debug/execinfo.h: Likewise.
24579 * debug/mbsnrtowcs_chk.c: Likewise.
24580 * debug/mbsrtowcs_chk.c: Likewise.
24581 * debug/wcsnrtombs_chk.c: Likewise.
24582 * debug/wcsrtombs_chk.c: Likewise.
24583 * debug/wcstombs_chk.c: Likewise.
24584 * dirent/dirent.h: Likewise.
24585 * dlfcn/dlfcn.h: Likewise.
24586 * elf/neededtest4.c: Likewise.
24587 * grp/grp.h: Likewise.
24588 * gshadow/gshadow.h: Likewise.
24589 * iconv/gconv.h: Likewise.
24590 * iconv/gconv_int.h: Likewise.
24591 * iconv/gconv_simple.c: Likewise.
24592 * iconv/iconv.h: Likewise.
24593 * iconv/loop.c: Likewise.
24594 * iconv/skeleton.c: Likewise.
24595 * include/aio.h: Likewise.
24596 * include/aliases.h: Likewise.
24597 * include/argz.h: Likewise.
24598 * include/arpa/inet.h: Likewise.
24599 * include/assert.h: Likewise.
24600 * include/dirent.h: Likewise.
24601 * include/dlfcn.h: Likewise.
24602 * include/execinfo.h: Likewise.
24603 * include/fcntl.h: Likewise.
24604 * include/fenv.h: Likewise.
24605 * include/glob.h: Likewise.
24606 * include/grp.h: Likewise.
24607 * include/libintl.h: Likewise.
24608 * include/mntent.h: Likewise.
24609 * include/netdb.h: Likewise.
24610 * include/pwd.h: Likewise.
24611 * include/rpc/netdb.h: Likewise.
24612 * include/sched.h: Likewise.
24613 * include/search.h: Likewise.
24614 * include/shadow.h: Likewise.
24615 * include/signal.h: Likewise.
24616 * include/stdio.h: Likewise.
24617 * include/stdlib.h: Likewise.
24618 * include/string.h: Likewise.
24619 * include/sys/socket.h: Likewise.
24620 * include/sys/stat.h: Likewise.
24621 * include/sys/statfs.h: Likewise.
24622 * include/sys/statvfs.h: Likewise.
24623 * include/sys/syslog.h: Likewise.
24624 * include/sys/time.h: Likewise.
24625 * include/sys/uio.h: Likewise.
24626 * include/time.h: Likewise.
24627 * include/unistd.h: Likewise.
24628 * include/utmp.h: Likewise.
24629 * include/wchar.h: Likewise.
24630 * include/wctype.h: Likewise.
24631 * inet/aliases.h: Likewise.
24632 * inet/arpa/inet.h: Likewise.
24633 * inet/netinet/ether.h: Likewise.
24634 * inet/netinet/in.h: Likewise.
24635 * intl/libintl.h: Likewise.
24636 * io/bits/fcntl2.h: Likewise.
24637 * io/fcntl.h: Likewise.
24638 * io/ftw.h: Likewise.
24639 * io/sys/poll.h: Likewise.
24640 * io/sys/stat.h: Likewise.
24641 * io/sys/statfs.h: Likewise.
24642 * io/sys/statvfs.h: Likewise.
24643 * io/utime.h: Likewise.
24644 * libio/bits/stdio.h: Likewise.
24645 * libio/bits/stdio2.h: Likewise.
24646 * libio/libio.h: Likewise.
24647 * libio/libioP.h: Likewise.
24648 * libio/stdio.h: Likewise.
24649 * locale/lc-ctype.c: Likewise.
24650 * locale/locale.h: Likewise.
24651 * login/utmp.h: Likewise.
24652 * malloc/arena.c: Likewise.
24653 * malloc/malloc.c: Likewise.
24654 * malloc/malloc.h: Likewise.
24655 * malloc/mcheck.c: Likewise.
24656 * malloc/mtrace.c: Likewise.
24657 * math/bits/mathcalls.h: Likewise.
24658 * math/fenv.h: Likewise.
24659 * math/math_private.h: Likewise.
24660 * misc/bits/error.h: Likewise.
24661 * misc/bits/syslog.h: Likewise.
24662 * misc/err.h: Likewise.
24663 * misc/error.h: Likewise.
24664 * misc/fstab.h: Likewise.
24665 * misc/mntent.h: Likewise.
24666 * misc/regexp.h: Likewise.
24667 * misc/search.h: Likewise.
24668 * misc/sgtty.h: Likewise.
24669 * misc/sys/mman.h: Likewise.
24670 * misc/sys/syslog.h: Likewise.
24671 * misc/sys/uio.h: Likewise.
24672 * misc/sys/xattr.h: Likewise.
24673 * misc/ttyent.h: Likewise.
24674 * nis/rpcsvc/ypclnt.h: Likewise.
24675 * nss/nss.h: Likewise.
24676 * posix/bits/unistd.h: Likewise.
24677 * posix/fnmatch.h: Likewise.
24678 * posix/glob.h: Likewise.
24679 * posix/sched.h: Likewise.
24680 * posix/spawn.h: Likewise.
24681 * posix/sys/wait.h: Likewise.
24682 * posix/unistd.h: Likewise.
24683 * posix/wordexp.h: Likewise.
24684 * pwd/pwd.h: Likewise.
24685 * resolv/netdb.h: Likewise.
24686 * resource/sys/resource.h: Likewise.
24687 * rt/aio.h: Likewise.
24688 * rt/bits/mqueue2.h: Likewise.
24689 * rt/mqueue.h: Likewise.
24690 * shadow/shadow.h: Likewise.
24691 * signal/signal.h: Likewise.
24692 * socket/send.c: Likewise.
24693 * socket/sendto.c: Likewise.
24694 * socket/sys/socket.h: Likewise.
24695 * stdio-common/printf.h: Likewise.
24696 * stdlib/bits/stdlib.h: Likewise.
24697 * stdlib/fmtmsg.h: Likewise.
24698 * stdlib/monetary.h: Likewise.
24699 * stdlib/stdlib.h: Likewise.
24700 * stdlib/ucontext.h: Likewise.
24701 * streams/stropts.h: Likewise.
24702 * string/argz.h: Likewise.
24703 * string/bits/string2.h: Likewise.
24704 * string/string.h: Likewise.
24705 * string/strings.h: Likewise.
24706 * sunrpc/rpc/auth.h: Likewise.
24707 * sunrpc/rpc/auth_des.h: Likewise.
24708 * sunrpc/rpc/clnt.h: Likewise.
24709 * sunrpc/rpc/netdb.h: Likewise.
24710 * sunrpc/rpc/pmap_clnt.h: Likewise.
24711 * sunrpc/rpc/xdr.h: Likewise.
24712 * sysdeps/generic/inttypes.h: Likewise.
24713 * sysdeps/generic/net/if.h: Likewise.
24714 * sysdeps/generic/sys/swap.h: Likewise.
24715 * sysdeps/gnu/net/if.h: Likewise.
24716 * sysdeps/gnu/utmpx.h: Likewise.
24717 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24718 * sysdeps/i386/i486/bits/string.h: Likewise.
24719 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24720 * sysdeps/s390/bits/string.h: Likewise.
24721 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24722 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24723 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24724 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24725 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24726 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24727 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24728 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24729 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24730 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24731 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24732 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24733 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24734 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24735 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24736 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24737 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24739 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24740 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24741 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24742 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24743 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24744 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24745 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24746 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24747 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24748 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24749 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24750 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24751 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24752 * sysvipc/sys/ipc.h: Likewise.
24753 * sysvipc/sys/msg.h: Likewise.
24754 * sysvipc/sys/sem.h: Likewise.
24755 * sysvipc/sys/shm.h: Likewise.
24756 * termios/termios.h: Likewise.
24757 * time/sys/time.h: Likewise.
24758 * time/time.h: Likewise.
24759 * wcsmbs/bits/wchar2.h: Likewise.
24760 * wcsmbs/uchar.h: Likewise.
24761 * wcsmbs/wchar.h: Likewise.
24762 * wctype/wctype.h: Likewise.
24765 * Makeconfig: Remove all but ELF support including AIX support.
24766 * Makerules: Likewise.
24767 * config.h.in: Likewise.
24768 * config.make.in: Likewise.
24769 * configure: Likewise.
24770 * configure.in: Likewise.
24771 * csu/Makefile: Likewise.
24772 * csu/version.c: Likewise.
24773 * debug/Makefile: Likewise.
24774 * dlfcn/Makefile: Likewise.
24775 * elf/Makefile: Likewise.
24776 * extra-lib.mk: Likewise.
24777 * iconv/Makefile: Likewise.
24778 * include/libc-symbols.h: Likewise.
24779 * include/shlib-compat.h: Likewise.
24780 * resolv/Makefile: Likewise.
24781 * resolv/res_libc.c: Likewise.
24782 * rt/Makefile: Likewise.
24783 * sysdeps/i386/asm-syntax.h: Likewise.
24784 * sysdeps/i386/sysdep.h: Likewise.
24785 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24786 * sysdeps/mach/sysdep.h: Likewise.
24787 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24788 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24789 * sysdeps/s390/asm-syntax.h: Likewise.
24790 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24791 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24792 * sysdeps/sh/sysdep.h: Likewise.
24793 * sysdeps/unix/sparc/sysdep.h: Likewise.
24794 * sysdeps/wordsize-32/divdi3.c: Likewise.
24795 * sysdeps/x86_64/sysdep.h: Likewise.
24797 * argp/Versions: Remove _argp_unlock_xxx.
24800 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24801 * abilist/libBrokenLocale.abilist: Likewise.
24802 * abilist/libanl.abilist: Likewise.
24803 * abilist/libc.abilist: Likewise.
24804 * abilist/libcrypt.abilist: Likewise.
24805 * abilist/libdl.abilist: Likewise.
24806 * abilist/libm.abilist: Likewise.
24807 * abilist/libnsl.abilist: Likewise.
24808 * abilist/libpthread.abilist: Likewise.
24809 * abilist/libresolv.abilist: Likewise.
24810 * abilist/librt.abilist: Likewise.
24811 * abilist/libthread_db.abilist: Likewise.
24812 * abilist/libutil.abilist: Likewise.
24813 * abilist/libnss_db.abilist: New file.
24815 * scripts/abilist.awk: Add support for indirect functions.
24817 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24819 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24821 * shlib-versions: Remove entries for ports architectures.
24823 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24825 * elf/stackguard-macros.h: Remove support for IA-64.
24826 * elf/tst-auditmod1.c: Likewise.
24827 * sysdeps/generic/ldsodefs.h: Likewise.
24829 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24830 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24834 * configure.in: Remove --enable-omitfp support.
24836 * config.make.in: Likewise.
24837 * Makeconfig: Likewise.
24838 * manual/install.texi: Likewise.
24840 In case anyone cares, the IA-64 architecture could move to ports.
24841 * sysdeps/ia64/*: Removed.
24842 * sysdeps/unix/sysv/linux/ia64/*: Removed.
24843 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
24846 * configure.in: Remove entries for unsupported architectures.
24849 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24850 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24852 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24853 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24854 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24855 fall back to using wcrtomb.
24856 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24857 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24859 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24860 * wcsmbs/tst-c16c32-1.c: New file.
24862 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24865 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24867 * elf/tst-unique3.cc: Add explicit declaration of gets.
24868 * elf/tst-unique3lib.cc: Likewise.
24869 * elf/tst-unique3lib2.cc: Likewise.
24870 * elf/tst-unique4.cc: Likewise.
24872 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24874 2012-01-06 Joseph Myers <joseph@codesourcery.com>
24877 * assert/assert.h (static_assert): Don't define for C++.
24878 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24879 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24881 2012-01-03 Ulrich Drepper <drepper@gmail.com>
24883 * iconv/loop.c (single loop): Fix assertion in storing of
24886 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24888 2012-01-01 Ulrich Drepper <drepper@gmail.com>
24890 * posix/getconf.c: Update copyright year.
24891 * nss/getent.c: Likewise.
24892 * nss/makedb.c: Likewise.
24893 * iconv/iconvconfig.c: Likewise.
24894 * iconv/iconv_prog.c: Likewise.
24895 * elf/ldconfig.c: Likewise.
24896 * elf/pldd.c: Likewise.
24897 * elf/sotruss.ksh: Likewise.
24898 * catgets/gencat.c: Likewise.
24899 * csu/version.c: Likewise.
24900 * elf/ldd.bash.in: Likewise.
24901 * elf/sprof.c (print_version): Likewise.
24902 * locale/programs/locale.c: Likewise.
24903 * locale/programs/localedef.c: Likewise.
24904 * login/programs/pt_chown.c: Likewise.
24905 * nscd/nscd.c (print_version): Likewise.
24906 * debug/xtrace.sh: Likewise.
24907 * malloc/memusage.sh: Likewise.
24908 * malloc/mtrace.pl: Likewise.
24909 * debug/catchsegv.sh: Likewise.
24911 2011-12-30 Jakub Jelinek <jakub@redhat.com>
24913 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24916 2011-12-24 Ulrich Drepper <drepper@gmail.com>
24919 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24920 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24922 * iconv/gconv_int.h: Likewise.
24923 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24924 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24925 from libc for GLIBC_2.16.
24926 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24927 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24928 * wcsmbs/uchar.h: Really define mbstate_t.
24929 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24930 * wcsmbs/c16rtomb.c: New file.
24931 * wcsmbs/mbrtoc16.c: New file.
24932 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24933 for C/POSIX locale.
24934 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24935 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24937 * wcsmbs/wchar.h: Add missing __restrict.
24939 2011-12-23 Ulrich Drepper <drepper@gmail.com>
24942 * time/Makefile (routines): Add timespec_get.
24943 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24944 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24945 timespec for ISO C11.
24946 * time/timespec_get.c: New file.
24947 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24948 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24951 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24952 * stdlib/stdlib.h: Declare aligned_alloc.
24953 * Versions.def: Add GLIBC_2.16 for libc.
24954 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24957 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24960 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
24964 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24967 * assert/assert.h (static_assert): Define.
24969 * version.h: Update for 2.16 development version.
24972 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24975 * version.h (RELEASE): Bump for 2.15 release.
24976 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24978 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24979 Patch by Marek Polacek <mpolacek@redhat.com>.
24981 * bits/byteswap.h: Protect long long constants with __extension__.
24982 * sysdeps/i386/bits/byteswap.h: Likewise.
24983 * sysdeps/ia64/bits/byteswap.h: Likewise.
24984 * sysdeps/s390/bits/byteswap.h: Likewise.
24985 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24987 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24990 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24991 destination buffer.
24992 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24994 2011-12-23 Marek Polacek <polacek@redhat.com>
24996 * elf/dl-addr.c (determine_info): Add inline keyword.
24997 * elf/tst-auditmod4b.c (check_avx): Likewise.
24998 * elf/tst-auditmod6b.c (check_avx): Likewise.
24999 * elf/tst-auditmod6c.c (check_avx): Likewise.
25000 * elf/tst-auditmod7b.c (check_avx): Likewise.
25002 2011-12-23 Ulrich Drepper <drepper@gmail.com>
25004 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25007 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25010 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25011 processing for last bytes.
25013 2011-08-06 Bruno Haible <bruno@clisp.org>
25016 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25017 U+0385, not to U+1FEE.
25020 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25021 entry for U+00A5 U+0301.
25023 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25026 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25027 buffer for the output is too small.
25029 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25033 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25034 SSE flags if possible.
25036 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25040 processing for last bytes.
25042 2011-12-22 Joseph Myers <joseph@codesourcery.com>
25044 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25045 (syscall-list-default-options, syscall-list-default-condition)
25046 (syscall-list-includes): Define.
25047 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25048 list of ABIs and options and #if conditions for each ABI. Do not
25049 handle common syscalls between ABIs specially.
25050 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25052 (syscall-list-variants, syscall-list-32bit-options)
25053 (syscall-list-32bit-condition, syscall-list-64bit-options)
25054 (syscall-list-64bit-condition): Define.
25055 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25056 (syscall-list-variants, syscall-list-32bit-options)
25057 (syscall-list-32bit-condition, syscall-list-64bit-options)
25058 (syscall-list-64bit-condition): Define.
25059 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25061 (syscall-list-variants, syscall-list-32bit-options)
25062 (syscall-list-32bit-condition, syscall-list-64bit-options)
25063 (syscall-list-64bit-condition): Define.
25064 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25066 (syscall-list-variants, syscall-list-32bit-options)
25067 (syscall-list-32bit-condition, syscall-list-64bit-options)
25068 (syscall-list-64bit-condition): Define.
25070 2011-12-22 Ulrich Drepper <drepper@gmail.com>
25072 * locale/iso-639.def: Add brx entry.
25075 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25076 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25078 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25079 __feraiseexcept_renamed.
25081 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25084 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25085 EPOLLET with unsigned values.
25086 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25087 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25089 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25090 to large cancellation.
25091 * math/s_cacoshf.c: Likewise.
25092 * math/s_cacoshl.c: Likewise.
25094 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25098 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25099 * math/s_cacoshf.c: Likewise.
25100 * math/s_cacoshl.c: Likewise.
25102 2011-12-21 Ulrich Drepper <drepper@gmail.com>
25105 * iconv/gconv.h: Define __GCONV_SWAP.
25106 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25107 * iconvdata/utf-16.c: Likewise.
25108 * iconvdata/utf-32.c: Likewise.
25110 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25113 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25114 numerator after shifting it by one limb.
25116 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25118 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25119 under [__USE_EXTERN_INLINES].
25121 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25124 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25126 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25128 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25129 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25131 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25132 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25133 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25134 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25135 for strncasecmp/strncasecmp_l compilation.
25136 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25137 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25139 2011-12-08 Marek Polacek <mpolacek@redhat.com>
25142 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25145 2011-12-17 Ulrich Drepper <drepper@gmail.com>
25148 * time/tzfile.c (__tzfile_read): Check values from file header.
25150 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25152 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25153 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25154 * powerpc/powerpc32/dl-start.S: Likewise.
25155 * powerpc/powerpc32/elf/start.S: Likewise.
25156 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25157 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25158 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25159 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25160 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25161 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25162 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25163 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25164 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25165 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25166 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25167 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25168 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25169 * powerpc/powerpc32/memset.S: Likewise.
25170 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25171 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25172 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25173 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25174 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25175 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25176 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25177 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25178 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25179 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25180 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25181 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25182 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25184 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25186 * math/libm-test.inc: Added more nearbyint tests.
25187 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25188 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25189 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25190 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25192 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25194 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25197 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25199 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25200 Add wcscpy-ssse3 wcscpy-c.
25201 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25202 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25203 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25204 * sysdeps/x86_64/wcschr.S: New file.
25205 * sysdeps/x86_64/wcsrchr.S: New file.
25206 * string/test-strcmp.c: Remove checking of wcscmp function for
25208 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25209 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25210 wcsrchr-sse2 wcsrchr-c.
25211 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25212 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25213 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25214 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25215 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25216 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25217 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25218 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25219 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25220 * wcsmbc/wcschr.c (WCSCHR): New macro.
25222 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25224 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25225 * wcsmbs/test-wcsrchr.c: New file.
25226 * string/test-strrchr.c: Add wcsrchr support.
25228 * wcsmbs/test-wcscpy.c: New file.
25229 * string/test-strcpy.c: Add wcscpy support.
25232 2011-12-10 Ulrich Drepper <drepper@gmail.com>
25234 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25237 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25240 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25242 2011-12-04 Ulrich Drepper <drepper@gmail.com>
25244 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
25245 Minor optimizations.
25247 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25248 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25249 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25251 2011-12-03 Ulrich Drepper <drepper@gmail.com>
25253 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25254 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25255 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25256 for gcc to avoid warnings.
25257 * inet/Makefile (tests): Add tst-checks.
25258 * inet/tst-checks.c: New file.
25260 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25263 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25266 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25267 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25269 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25271 2011-12-02 Ulrich Drepper <drepper@gmail.com>
25273 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25276 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25278 2011-11-29 Joseph Myers <joseph@codesourcery.com>
25280 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25281 conditional on GCC version.
25282 (__arch_compare_and_exchange_val_8_acq)
25283 (__arch_compare_and_exchange_val_16_acq)
25284 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25285 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25286 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25288 2011-12-02 Joseph Myers <joseph@codesourcery.com>
25290 * sysdeps/sh/backtrace.c: New file.
25292 2011-12-02 Andreas Schwab <schwab@redhat.com>
25294 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25297 2011-12-01 Andreas Schwab <schwab@redhat.com>
25299 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25300 falling back to utime.
25302 2011-11-30 Andreas Schwab <schwab@redhat.com>
25304 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25305 expectations for float.
25307 2011-11-29 Andreas Schwab <schwab@redhat.com>
25309 * locale/weight.h (findidx): Add parameter len.
25310 * locale/weightwc.h (findidx): Likewise.
25311 * posix/fnmatch_loop.c (FCT): Adjust caller.
25312 * posix/regcomp.c (build_equiv_class): Likewise.
25313 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25314 * posix/regexec.c (check_node_accept_bytes): Likewise.
25315 * string/strcoll_l.c (STRCOLL): Likewise.
25316 * string/strxfrm_l.c (STRXFRM): Likewise.
25318 2011-11-17 Ulrich Drepper <drepper@gmail.com>
25320 * Makefile.in: Remove CVSOPT handling.
25321 * configure.in: Remove use of AC_REVISION.
25322 * iconvdata/Makefile (distribute): No need to filter out CVS.
25323 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25326 2011-11-16 Andreas Schwab <schwab@redhat.com>
25328 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25329 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25330 [USE_AS_STRNCASECMP_L]: Likewise.
25331 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25332 NO_TLS_DIRECT_SEG_REFS.
25333 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25334 Fix argument offsets for non-PIC.
25335 [USE_AS_STRNCASECMP_L]: Likewise.
25336 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25337 NO_TLS_DIRECT_SEG_REFS.
25339 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25341 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
25343 * locale/loadlocale.c (_nl_load_locale): Likewise.
25345 2011-11-15 Andreas Schwab <schwab@redhat.com>
25347 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25348 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25349 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25350 (SYSCALL_GETTIME): Set errno on error.
25352 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25353 count references to noai6ai_cached.
25355 2011-11-15 Ulrich Drepper <drepper@gmail.com>
25357 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25359 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25360 FD_CLOEXEC for /proc/self/maps.
25362 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25363 FD_CLOEXEC for /proc/meminfo.
25365 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25368 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25369 FD_CLOEXEC for given file.
25371 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25373 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25374 FD_CLOEXEC for /etc/hosts.
25375 (_gethtent): Likewise.
25377 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25379 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25380 cancellation and set FD_CLOEXEC for /etc/netgroup.
25382 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25383 reading /etc/publickey.
25385 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25386 allow cancellation when reading /etc/group.
25388 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25390 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25392 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25393 when using data file.
25395 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25397 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25398 (write_nis_obj): Use "c" and "e" in fopen.
25400 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25402 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25404 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25406 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25408 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25411 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25413 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25415 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25417 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25418 file parsing and set FD_CLOEXEC.
25420 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25422 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25424 2011-11-14 Andreas Schwab <schwab@redhat.com>
25426 * malloc/arena.c (arena_get2): Don't call reused_arena when
25427 _int_new_arena failed.
25429 2011-11-14 Ulrich Drepper <drepper@gmail.com>
25431 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25432 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25433 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25434 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25435 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25436 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25437 to compile strcasecmp and strncasecmp.
25438 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25439 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25441 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25443 2011-11-13 Ulrich Drepper <drepper@gmail.com>
25445 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25446 locale-defines.sym to gen-as-const-headers.
25447 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25448 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25449 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25450 to compile strcasecmp and strncasecmp.
25451 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25452 strcasecmp_l and strncasecmp_l.
25453 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25454 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25455 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25456 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25457 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25458 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25459 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25460 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25461 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25462 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25463 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25465 2011-11-12 Ulrich Drepper <drepper@gmail.com>
25467 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25468 result of SYSDEP_GETTIME_CPU to retval.
25469 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25470 parameter list to macro. Remove trailing semicolon. Adjust users.
25472 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25475 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25477 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25479 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25480 from unused variable.
25482 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25484 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25487 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25490 * sunrpc/rpc_prot.c (rejected): Fix case value.
25492 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25493 unsigned long long int to avoid warnings in shift.
25495 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25497 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25500 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25501 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25502 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25504 * nis/nis_table.c (nis_list): Use variable of correct type for
25505 result of __follow_path call.
25507 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25509 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25510 of math functions ceil, trunc, floor, round, and sqrt, when
25511 avaliable on the platform.
25512 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25514 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25515 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25516 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25518 2011-10-30 Marek Polacek <mpolacek@redhat.com>
25520 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25521 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25523 2011-11-11 Roland McGrath <roland@hack.frob.com>
25525 * include/unistd.h: Fix __readlink return type.
25526 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25528 2011-11-11 Ulrich Drepper <drepper@gmail.com>
25530 * stdlib/ucontext.h: Undo last change for makecontext.
25532 2011-11-11 Andreas Schwab <schwab@redhat.com>
25534 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25536 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25537 * setjmp/setjmp.h: Mark functions as non-leaf.
25538 * setjmp/bits/setjmp2.h: Likewise.
25539 * stdlib/ucontext.h: Likewise.
25541 2011-11-10 Andreas Schwab <schwab@redhat.com>
25543 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25544 (reused_arena): Don't check arena limit.
25545 (arena_get2): Atomically check arena limit.
25547 2011-11-08 Ulrich Drepper <drepper@gmail.com>
25549 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25550 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25552 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25555 2011-11-07 Andreas Schwab <schwab@redhat.com>
25557 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25558 handler when locking.
25560 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25561 Fix size of allocated buffer.
25563 2011-11-04 Andreas Schwab <schwab@redhat.com>
25566 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25567 declarations for long double functions.
25568 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25570 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25572 2011-11-03 Andreas Schwab <schwab@redhat.com>
25574 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25577 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25580 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25582 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25584 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25586 * include/alloca.h (stackinfo_alloca_round): Define.
25587 (extend_alloca): Use it.
25588 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25589 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25592 * scripts/check-local-headers.sh: Ignore libaudit.h.
25594 * nscd/Makefile (extra-objs): Make recursively expanded.
25596 2011-11-01 Ulrich Drepper <drepper@gmail.com>
25598 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25599 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25601 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25602 * posix/tst-rfc3484-2.c: Likewise.
25603 * posix/tst-rfc3484-3.c: Likewise.
25605 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25607 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25609 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25610 process_vm_writev from libc using GLIBC_2.15 version.
25612 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25614 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25616 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25619 2011-10-31 Ulrich Drepper <drepper@gmail.com>
25622 * nss/getent.c (initgroups_keys): Show error message in case no group
25625 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25626 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25627 __bump_nl_timestamp.
25628 * nscd/connections (nscd_init): When host database is served open
25629 netlink socket and request notification about configuration changes.
25630 (main_loop_poll): Track netlink file descriptor and bump timestamp
25631 in case data becomes available.
25632 (main_loop_epoll): Likewise.
25633 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25634 (database_pers_head): Add extra_data fileds.
25635 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25636 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25637 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25639 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25640 in6ai data, call __free_in6ai.
25641 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25642 Add -DHAVE_NETLINK.
25643 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25644 interface information. Reuse previous data if netlink timestamp
25646 (__bump_nl_timestamp): New function.
25647 (__free_in6ai): New function.
25649 2011-10-30 Ulrich Drepper <drepper@gmail.com>
25651 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25652 close_not_cancel_no_status here.
25653 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25655 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25658 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25661 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
25662 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25663 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25665 2011-07-03 Andreas Jaeger <aj@suse.de>
25668 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25669 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25670 * math/libm-test.inc (sin_test): Add test case.
25672 2011-10-29 Ulrich Drepper <drepper@gmail.com>
25675 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25676 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25678 * elf/chroot_canon.c (chroot_canon): Cleanups.
25680 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25683 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25684 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25686 * string/test-strchr.c: Make usable for strchrnul testing.
25687 * string/test-strchrnul.c: New file.
25688 * string/Makefile (strop-tests): Add strchrnul.
25690 * po/it.po: Update from translation team.
25691 * po/es.po: Likewise.
25693 2011-10-28 Ulrich Drepper <drepper@gmail.com>
25695 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25696 the three constants needed as parameters. Drop the others.
25697 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25698 __m128i_strloadu_tolower.
25699 Create and initialize variable zero and use it in all the places
25700 where _mm_setzero_si128 was used.
25702 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25703 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25704 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25705 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25707 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25708 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25709 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25710 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25711 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25712 __mpranred, __mptan.
25713 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25714 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25715 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25716 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25717 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25718 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25719 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25720 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25721 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25723 2011-10-28 Andreas Schwab <schwab@redhat.com>
25725 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25726 redefine if SHARED.
25727 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25729 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25730 wide char related routines to wcsmbs subdir.
25732 2011-10-27 Andreas Schwab <schwab@redhat.com>
25735 * misc/sys/cdefs.h (__THROWNL): Define.
25736 * posix/unistd.h: Use __THREADNL instead of __THREAD
25737 for memory synchronization functions.
25739 2011-10-26 Roland McGrath <roland@hack.frob.com>
25742 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25744 * manual/stdio.texi (Obstack Streams): Node removed.
25746 2011-10-26 Andreas Schwab <schwab@redhat.com>
25748 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25749 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25750 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25752 * math/math_private.h (math_force_eval): Allow non-addressable
25754 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25756 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25758 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25759 file is not needed.
25761 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25762 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25763 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25764 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25765 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25766 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25767 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25768 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25770 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25771 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25772 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25773 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25774 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25775 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25776 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25777 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25778 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25779 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25780 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25781 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25782 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25783 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25784 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25785 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25786 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25787 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25788 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25790 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25791 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25793 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25794 place. Use VEX encoding when compiling for AVX.
25796 2011-10-25 Andreas Schwab <schwab@redhat.com>
25798 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25799 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25801 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25803 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25805 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
25806 useless if() expression.
25807 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25811 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25812 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25813 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25814 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25815 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25816 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25817 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25818 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25819 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25820 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25821 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25822 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25823 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25824 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25825 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25827 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25829 2011-10-25 Andreas Schwab <schwab@redhat.com>
25831 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25833 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25835 2011-10-25 Ulrich Drepper <drepper@gmail.com>
25837 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25838 .text section. Avoid duplicate constants.
25839 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25840 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25841 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25843 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25844 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25845 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25846 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25847 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25848 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25849 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25850 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25851 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25852 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25853 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25854 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25855 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25856 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25857 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25858 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25859 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25860 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25861 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25862 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25863 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25864 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25865 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25866 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25867 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25868 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25869 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25870 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25871 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25872 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25873 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25874 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25875 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25876 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25877 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25878 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25879 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25880 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25881 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25882 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25883 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25885 2011-10-24 Ulrich Drepper <drepper@gmail.com>
25887 * sysdeps/x86_64/dla.h: Move to ...
25888 * sysdeps/x86_64/fpu/dla.h: ...here.
25889 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25890 situations. Use __builtin_fma only for gcc 4.6 and up.
25892 * config.make.in: Add have-mfma4 entry.
25893 * configure.in: Substitute libc_cv_cc_fma4.
25894 * math/Makefile (dbl-only-routines): Add sincostab.
25895 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25896 Use __sincostab not sincos.
25897 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25899 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25900 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25901 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25902 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25904 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25905 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25906 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25907 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25909 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25910 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25912 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25913 define aliases when function name is a macro.
25914 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25915 sysdeps/ieee754/dbl-64/sincos.tbl.
25916 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25917 fma4-enabled routines.
25918 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25919 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25920 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25921 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25922 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25923 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25924 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25925 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25926 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25927 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25928 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25929 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25930 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25931 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25932 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25933 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25934 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25935 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25936 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25937 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25938 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25939 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25940 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25941 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25942 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25943 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25944 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25945 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25946 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25947 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25949 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25951 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25952 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25953 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25957 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25958 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25960 2011-10-24 Andreas Schwab <schwab@redhat.com>
25962 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25964 2011-10-23 Ulrich Drepper <drepper@gmail.com>
25966 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25968 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25970 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25972 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25973 Remove unused variable magic_bits.
25974 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25976 * string/strnlen.c: Define and use STRNLEN macro.
25977 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25978 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25979 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25980 * wcsmbs/wcslen.c: Define and use WCSLEN.
25981 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25982 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25983 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25984 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25985 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25986 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25987 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25989 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25992 strnlen-sse2-no-bsf.
25993 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25994 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25995 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25996 Add strnlen support.
25997 (USE_AS_STRNLEN): New macro.
25998 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25999 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26000 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26001 * sysdeps/x86_64/wcslen.S: New file.
26003 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26005 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26006 XMM-moves are used for copying on small sizes.
26008 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26010 * wcsmbs/Makefile (strop-tests): Add wcschr.
26011 * wcsmbs/test-wcschr.c: New file.
26012 * string/test-strchr.c: Update.
26013 Add wcschr support.
26016 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26018 * wcsmbs/Makefile (strop-tests): Add wcslen.
26019 * wcsmbs/test-wcslen.c: New file.
26020 * string/test-strlen.c: Update.
26021 Add wcslen support.
26024 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26026 * po/it.po: Update from translation team.
26028 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26030 * sysdeps/x86_64/wcscmp.S: Update.
26031 Fix wrong comparison semantics.
26032 wcscmp shall use signed comparison not unsigned.
26033 Don't use substraction to avoid overflow bug.
26034 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26035 * wcsmbc/wcscmp.c: Likewise.
26036 * string/test-strcmp.c: Likewise.
26037 Add new tests to check cases with negative values.
26039 2011-10-23 Ulrich Drepper <drepper@gmail.com>
26041 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26042 * sysdeps/x86_64/dla.h: ...here. New file.
26043 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26044 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26046 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26048 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26049 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26050 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26051 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26053 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26055 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26056 __ynl_finite aliases.
26058 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26062 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26064 [DLA_FMA] (EMULV): Use DLA_FMA.
26065 [DLA_FMA] (MUL12): Use EMULV.
26066 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26067 that are not needed.
26068 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26073 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26076 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26078 * math/s_nan.c: Undef __nan.
26079 * math/s_nanf.c: Undef __nanf.
26080 * math/s_nanl.c: Undef __nanl.
26081 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26084 2011-10-22 Ulrich Drepper <drepper@gmail.com>
26086 * math/s_catan.c: Add branch predictions.
26087 * math/s_catanf.c: Likewise.
26088 * math/s_catanh.c: Likewise.
26089 * math/s_catanhf.c: Likewise.
26090 * math/s_catanhl.c: Likewise.
26091 * math/s_catanl.c: Likewise.
26092 * math/s_cexp.c: Likewise.
26093 * math/s_cexpf.c: Likewise.
26094 * math/s_cexpl.c: Likewise.
26095 * math/s_clog.c: Likewise.
26096 * math/s_clog10.c: Likewise.
26097 * math/s_clog10f.c: Likewise.
26098 * math/s_clog10l.c: Likewise.
26099 * math/s_clogf.c: Likewise.
26100 * math/s_clogl.c: Likewise.
26101 * math/s_csqrt.c: Likewise.
26102 * math/s_csqrtf.c: Likewise.
26103 * math/s_csqrtl.c: Likewise.
26104 * math/s_ctanf.c: Likewise.
26105 * math/s_ctanh.c: Likewise.
26106 * math/s_ctanhf.c: Likewise.
26107 * math/s_ctanhl.c: Likewise.
26108 * math/s_ctanl.c: Likewise.
26110 * math/math_private.h: Define __nan, __nanf, __nanl.
26111 * math/s_cacosh.c: Include <math_private.h>.
26112 * math/s_cacoshl.c: Likewise.
26113 * math/s_casinh.c: Likewise.
26114 * math/s_casinhf.c: Likewise.
26115 * math/s_casinhl.c: Likewise.
26116 * math/s_ccos.c: Rely entire on ccosh.
26117 * math/s_ccosf.c: Rely entire on ccoshf.
26118 * math/s_ccosl.c: Rely entirely on ccoshl.
26119 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26120 Remove tests for FE_INVALID.
26121 * math/s_ccoshf.c: Likewise.
26122 * math/s_ccoshl.c: Likewise.
26123 * math/s_csin.c: Likewise.
26124 * math/s_csinf.c: Likewise.
26125 * math/s_csinh.c Likewise.
26126 * math/s_csinhf.c: Likewise.
26127 * math/s_csinhl.c: Likewise.
26128 * math/s_csinl.c: Likewise.
26129 * math/s_ctan.c: Likewise.
26130 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26131 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26132 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26134 2011-10-21 Ulrich Drepper <drepper@gmail.com>
26136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26137 compilation problems.
26139 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26142 2011-10-20 Ulrich Drepper <drepper@gmail.com>
26144 * sysdeps/i386/configure.in: Test for -mfma4 option.
26145 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26146 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26147 COMMON_CPUID_INDEX_80000001.
26148 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26149 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26150 use it if FMA3 is not supported.
26151 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26153 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26154 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26156 2011-10-20 Andreas Schwab <schwab@redhat.com>
26159 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26160 it would create a cycle with a link time dependency.
26162 2011-10-19 Ulrich Drepper <drepper@gmail.com>
26164 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26166 * string/Makefile (strop-tests): Add rawmemchr.
26167 * string/test-rawmemchr.c: New file.
26169 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26170 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26171 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26172 when compiling str{,n}casecmp and when AVX is available. Hook up
26173 new optimized code in initializers.
26175 2011-10-19 Andreas Schwab <schwab@redhat.com>
26177 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26178 __feraiseexcept instead of feraiseexcept.
26180 2011-10-18 Ulrich Drepper <drepper@gmail.com>
26182 * math/math_private.h: Define defaults for libc_fetestexcept and
26184 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26185 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26186 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26187 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26188 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26189 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26190 libc_fetestexcept and libc_feupdateenv.
26192 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26193 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26194 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26195 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26196 libc_feholdexcept_setround.
26198 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26199 Add s_nearbyint-c and s_nearbyintf-c.
26200 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26201 nearbyintf inlines.
26202 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26203 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26204 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26205 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26207 * math/math_private.h: Define defaults for libc_fegetround,
26208 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26209 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26210 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26211 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26212 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26213 standard functions.
26214 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26215 Remove comments and hacks for old compiler versions.
26216 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26217 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26218 libc_feholdexceptl.
26220 2011-10-18 Andreas Schwab <schwab@redhat.com>
26222 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
26223 (__feraiseexcept_renamed): Add __NTH.
26224 (feraiseexcept): Add __NTH. Rename local variables to fix
26225 namespace violations.
26227 2011-10-17 Ulrich Drepper <drepper@gmail.com>
26229 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26231 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26233 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26234 recently added interfaces.
26235 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26237 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26238 about macro parameter expansion.
26240 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26241 __NO_MATH_INLINES is defined. Cleanups.
26243 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26244 and __floorf is target has SSE4.1.
26245 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26246 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26247 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26248 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26250 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26252 (floorf): Likewise.
26254 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26256 2011-10-17 Andreas Schwab <schwab@redhat.com>
26258 * misc/sys/cdefs.h: Fix last change.
26260 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26263 2011-10-16 Ulrich Drepper <drepper@gmail.com>
26265 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26267 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26268 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26269 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26270 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26271 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26272 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26273 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26274 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26275 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26276 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26277 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26278 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26279 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26280 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26281 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26282 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26283 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26284 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26285 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26286 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26287 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26288 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26290 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26291 ceil, ceilf, floor, floorf.
26293 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26294 Perform IRELATIVE relocations last.
26296 * elf/do-rel.h: Add another parameter nrelative, replacing the
26297 local variable with the same name. Change name of the function
26298 to end in Rel or Rela (uppercase).
26299 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26300 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26301 elf_dynamic_do_##reloc function.
26303 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26305 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26306 is sufficient, at least on modern CPUs.
26308 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26310 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26311 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26313 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26315 * math/bits/math-finite.h: Add entries for exp.
26316 * math/e_expl.c: Add __*_finite alias.
26317 * sysdeps/i386/fpu/e_exp.S: Likewise.
26318 * sysdeps/i386/fpu/e_expf.S: Likewise.
26319 * sysdeps/i386/fpu/e_expl.c: Likewise.
26320 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26321 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26322 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26323 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26324 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26325 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26326 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26328 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26329 is sufficient, at least on modern CPUs.
26331 * ctype/ctype-info.c (__ctype_init): Define.
26332 * include/ctype.h (__ctype_init): Declare.
26333 (__ctype_b_loc): The variable is always initialized.
26334 (__ctype_toupper_loc): Likewise.
26335 (__ctype_tolower_loc): Likewise.
26336 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26337 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26339 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26341 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26343 * configure.in: Also look in $cxxmachine/include for C++ system
26346 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26348 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26349 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26350 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26351 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26352 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26353 (USE_AS_WMEMCMP): New macro.
26355 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26356 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26357 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26358 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26359 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26360 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26361 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26362 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26363 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26364 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26365 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26366 (USE_AS_WMEMCMP): New macro.
26367 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26368 * sysdeps/string/test-memcmp.c: Update.
26369 Fix simple_wmemcmp.
26371 * wcsmbs/wmemcmp.c: Update.
26372 (WMEMCMP): New macro.
26375 2011-10-12 Andreas Jaeger <aj@suse.de>
26378 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26380 2011-10-15 Ulrich Drepper <drepper@gmail.com>
26382 * libio/iofwide.c (do_length): Avoid warning.
26384 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26386 2011-10-14 Ulrich Drepper <drepper@gmail.com>
26388 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26390 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26391 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26392 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26393 * sysdeps/i386/i686/fpu/e_log.S: New file.
26394 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26395 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26397 * ctype/ctype.h: Add support for inlined isXXX functions when
26398 compiling C++ code.
26400 2011-10-14 Andreas Schwab <schwab@redhat.com>
26402 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26404 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26406 2011-10-13 Roland McGrath <roland@hack.frob.com>
26409 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26411 2011-10-13 Andreas Schwab <schwab@redhat.com>
26413 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26414 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26417 * sysdeps/x86_64/memrchr.S: Check for zero size.
26419 * string/stratcliff.c: Add memrchr tests.
26421 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26423 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26424 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26425 rawmemchr-sse2 rawmemchr-sse2-bsf.
26426 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26427 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26428 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26429 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26430 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26431 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26432 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26433 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26434 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26435 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26436 * string/memrchr.c (MEMRCHR): New macro.
26438 2011-10-12 Ulrich Drepper <drepper@gmail.com>
26440 Add integration with gcc's -ffinite-math-only and optimize wrapper
26442 * Versions.def: Define GLIBC_2.15 version for libm.
26443 * math/Makefile (headers): Add bits/math-finite.h.
26444 * math/bits/math-finite.h: New file.
26445 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26446 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26447 * math/e_acoshl.c: Add __*_finite alias.
26448 * math/e_acosl.c: Likewise.
26449 * math/e_asinl.c: Likewise.
26450 * math/e_atan2l.c: Likewise.
26451 * math/e_atanhl.c: Likewise.
26452 * math/e_coshl.c: Likewise.
26453 * math/e_exp10.c: Likewise.
26454 * math/e_exp10f.c: Likewise.
26455 * math/e_exp10l.c: Likewise.
26456 * math/e_exp2l.c: Likewise.
26457 * math/e_fmodl.c: Likewise.
26458 * math/e_gammal_r.c: Likewise.
26459 * math/e_hypotl.c: Likewise.
26460 * math/e_j0l.c: Likewise.
26461 * math/e_j1l.c: Likewise.
26462 * math/e_jnl.c: Likewise.
26463 * math/e_lgammal_r.c: Likewise.
26464 * math/e_log10l.c: Likewise.
26465 * math/e_log2l.c: Likewise.
26466 * math/e_logl.c: Likewise.
26467 * math/e_powl.c: Likewise.
26468 * math/e_sinhl.c: Likewise.
26469 * math/e_sqrtl.c: Likewise.
26470 * math/e_scalb.c: Completely rewritten and optimized.
26471 * math/e_scalbf.c: Likewise.
26472 * math/e_scalbl.c: Likewise.
26473 * math/w_acos.c: Likewise.
26474 * math/w_acosf.c: Likewise.
26475 * math/w_acosl.c: Likewise.
26476 * math/w_acosh.c: Likewise.
26477 * math/w_acoshf.c: Likewise.
26478 * math/w_acoshl.c: Likewise.
26479 * math/w_asin.c: Likewise.
26480 * math/w_asinf.c: Likewise.
26481 * math/w_asinl.c: Likewise.
26482 * math/w_atan2.c: Likewise.
26483 * math/w_atan2f.c: Likewise.
26484 * math/w_atan2l.c: Likewise.
26485 * math/w_atanh.c: Likewise.
26486 * math/w_atanhf.c: Likewise.
26487 * math/w_atanhl.c: Likewise.
26488 * math/w_exp10.c: Likewise.
26489 * math/w_exp10f.c: Likewise.
26490 * math/w_exp10l.c: Likewise.
26491 * math/w_fmod.c: Likewise.
26492 * math/w_fmodf.c: Likewise.
26493 * math/w_fmodl.c: Likewise.
26494 * math/w_j0.c: Likewise.
26495 * math/w_j0f.c: Likewise.
26496 * math/w_j0l.c: Likewise.
26497 * math/w_j1.c: Likewise.
26498 * math/w_j1f.c: Likewise.
26499 * math/w_j1l.c: Likewise.
26500 * math/w_jn.c: Likewise.
26501 * math/w_jnf.c: Likewise.
26502 * math/w_log.c: Likewise.
26503 * math/w_logf.c: Likewise.
26504 * math/w_logl.c: Likewise.
26505 * math/w_log10.c: Likewise.
26506 * math/w_log10f.c: Likewise.
26507 * math/w_log10l.c: Likewise.
26508 * math/w_log2.c: Likewise.
26509 * math/w_log2f.c: Likewise.
26510 * math/w_log2l.c: Likewise.
26511 * math/w_pow.c: Likewise.
26512 * math/w_powf.c: Likewise.
26513 * math/w_powl.c: Likewise.
26514 * math/w_remainder.c: Likewise.
26515 * math/w_remainderf.c: Likewise.
26516 * math/w_remainderl.c: Likewise.
26517 * math/w_scalb.c: Likewise.
26518 * math/w_scalbf.c: Likewise.
26519 * math/w_scalbl.c: Likewise.
26520 * math/w_sqrt.c: Likewise.
26521 * math/w_sqrtf.c: Likewise.
26522 * math/w_sqrtl.c: Likewise.
26523 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26524 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26526 * math/math_private.h: Declare __kernel_standard_f.
26527 * math/w_cosh.c: Remove cruft and optimize a bit.
26528 * math/w_coshf.c: Likewise.
26529 * math/w_coshl.c: Likewise.
26530 * math/w_exp2.c: Likewise.
26531 * math/w_exp2f.c: Likewise.
26532 * math/w_exp2l.c: Likewise.
26533 * math/w_hypot.c: Likewise.
26534 * math/w_hypotf.c: Likewise.
26535 * math/w_hypotl.c: Likewise.
26536 * math/w_lgamma.c: Likewise.
26537 * math/w_lgamma_r.c: Likewise.
26538 * math/w_lgammaf.c: Likewise.
26539 * math/w_lgammaf_r.c: Likewise.
26540 * math/w_lgammal.c: Likewise.
26541 * math/w_lgammal_r.c: Likewise.
26542 * math/w_sinh.c: Likewise.
26543 * math/w_sinhf.c: Likewise.
26544 * math/w_sinhl.c: Likewise.
26545 * math/w_tgamma.c: Likewise.
26546 * math/w_tgammaf.c: Likewise.
26547 * math/w_tgammal.c: Likewise.
26548 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26549 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26550 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26551 Minor optimizations. Pretty printing. Remove cruft.
26552 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26553 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26554 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26555 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26556 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26557 * sysdeps/i386/fpu/e_asin.S: Likewise.
26558 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26559 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26560 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26561 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26562 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26563 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26564 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26565 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26566 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26567 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26568 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26569 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26570 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26571 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26572 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26573 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26574 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26575 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26576 * sysdeps/i386/fpu/e_log.S: Likewise.
26577 * sysdeps/i386/fpu/e_log10.S: Likewise.
26578 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26579 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26580 * sysdeps/i386/fpu/e_log2.S: Likewise.
26581 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26582 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26583 * sysdeps/i386/fpu/e_logf.S: Likewise.
26584 * sysdeps/i386/fpu/e_logl.S: Likewise.
26585 * sysdeps/i386/fpu/e_pow.S: Likewise.
26586 * sysdeps/i386/fpu/e_powf.S: Likewise.
26587 * sysdeps/i386/fpu/e_powl.S: Likewise.
26588 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26589 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26590 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26591 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26592 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26593 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26594 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26595 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26596 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26597 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26598 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26599 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26600 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26601 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26602 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26603 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26604 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26605 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26606 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26607 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26608 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26609 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26610 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26611 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26612 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26613 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26614 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26615 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26616 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26617 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26618 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26619 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26620 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26621 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26622 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26623 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26624 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26625 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26626 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26627 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26628 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26629 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26630 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26631 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26632 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26633 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26634 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26635 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26636 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26637 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26638 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26639 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26640 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26641 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26642 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26643 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26644 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26649 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26650 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26651 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26652 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26653 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26654 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26655 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26657 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26658 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26660 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26662 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26664 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26665 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26666 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26667 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26668 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26669 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26670 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26672 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26676 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26677 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26678 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26680 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26681 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26682 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26683 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26684 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26685 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26687 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26688 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26689 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26690 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26691 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26692 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26693 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26694 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26695 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26696 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26697 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26698 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26699 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26700 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26701 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26702 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26703 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26704 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26705 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26706 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26707 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26708 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26709 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26710 (__isnanf): Likewise.
26711 (__isinf_ns): Likewise.
26712 (__isinf_nsf): Likewise.
26713 (__finite): Likewise.
26714 (__finitef): Likewise.
26715 (__ieee754_sqrt): Define as macro.
26716 (__ieee754_sqrtf): Define as macro.
26717 (__ieee754_sqrtl): Define as macro.
26718 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26720 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26721 __FINITE_MATH_ONLY__ consistent.
26722 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26724 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26726 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26729 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26731 2011-10-09 Ulrich Drepper <drepper@gmail.com>
26733 * po/ja.po: Update from translation team.
26735 2011-10-08 Roland McGrath <roland@hack.frob.com>
26737 * locale/programs/locarchive.c (prepare_address_space): New function.
26738 (create_archive, enlarge_archive, open_archive): Use it.
26740 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26741 inside [SHARED], where it is used.
26743 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26745 * nss/getent.c (netgroup_keys): Remove unused variable.
26746 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26748 2011-10-08 Ulrich Drepper <drepper@gmail.com>
26750 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26751 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26752 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26753 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26754 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26755 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26756 * math/Makefile (libm-calls): Add s_isinf_ns.
26757 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26758 * math/multc3.c: Likewise.
26759 * math/s_casin.c: Likewise.
26760 * math/s_casinf.c: Likewise.
26761 * math/s_casinl.c: Likewise.
26762 * math/s_ccos.c: Likewise.
26763 * math/s_ccosf.c: Likewise.
26764 * math/s_ccosl.c: Likewise.
26765 * math/s_ctan.c: Likewise.
26766 * math/s_ctanf.c: Likewise.
26767 * math/s_ctanh.c: Likewise.
26768 * math/s_ctanhf.c: Likewise.
26769 * math/s_ctanhl.c: Likewise.
26770 * math/s_ctanl.c: Likewise.
26771 * math/w_fmod.c: Likewise.
26772 * math/w_fmodf.c: Likewise.
26773 * math/w_fmodl.c: Likewise.
26774 * math/w_remainder.c: Likewise.
26775 * math/w_remainderf.c: Likewise.
26776 * math/w_remainderl.c: Likewise.
26777 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26778 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26779 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26781 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26782 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26783 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26784 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26786 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26788 * stdio-common/printf_fphex.c: Likewise.
26789 * stdio-common/printf_size.c: Likewise.
26791 * math/e_exp10.c: Include math_private.h using <...> not "...".
26792 * math/e_exp10f.c: Likewise.
26793 * math/e_exp10l.c: Likewise.
26794 * math/e_exp2l.c: Likewise.
26795 * math/e_j0l.c: Likewise.
26796 * math/e_j1l.c: Likewise.
26797 * math/e_jnl.c: Likewise.
26798 * math/e_lgammal_r.c: Likewise.
26799 * math/e_rem_pio2l.c: Likewise.
26800 * math/e_scalb.c: Likewise.
26801 * math/e_scalbf.c: Likewise.
26802 * math/e_scalbl.c: Likewise.
26803 * math/k_cosl.c: Likewise.
26804 * math/k_sinl.c: Likewise.
26805 * math/k_tanl.c: Likewise.
26806 * math/s_cacoshf.c: Likewise.
26807 * math/s_catan.c: Likewise.
26808 * math/s_catanf.c: Likewise.
26809 * math/s_catanh.c: Likewise.
26810 * math/s_catanhf.c: Likewise.
26811 * math/s_catanhl.c: Likewise.
26812 * math/s_catanl.c: Likewise.
26813 * math/s_ccosh.c: Likewise.
26814 * math/s_ccoshf.c: Likewise.
26815 * math/s_ccoshl.c: Likewise.
26816 * math/s_cexp.c: Likewise.
26817 * math/s_cexpf.c: Likewise.
26818 * math/s_cexpl.c: Likewise.
26819 * math/s_clog.c: Likewise.
26820 * math/s_clog10.c: Likewise.
26821 * math/s_clog10f.c: Likewise.
26822 * math/s_clog10l.c: Likewise.
26823 * math/s_clogf.c: Likewise.
26824 * math/s_clogl.c: Likewise.
26825 * math/s_csin.c: Likewise.
26826 * math/s_csinf.c: Likewise.
26827 * math/s_csinh.c: Likewise.
26828 * math/s_csinhf.c: Likewise.
26829 * math/s_csinhl.c: Likewise.
26830 * math/s_csinl.c: Likewise.
26831 * math/s_csqrt.c: Likewise.
26832 * math/s_csqrtf.c: Likewise.
26833 * math/s_csqrtl.c: Likewise.
26834 * math/s_ctan.c: Likewise.
26835 * math/s_ctanf.c: Likewise.
26836 * math/s_ctanh.c: Likewise.
26837 * math/s_ctanhf.c: Likewise.
26838 * math/s_ctanhl.c: Likewise.
26839 * math/s_ctanl.c: Likewise.
26840 * math/s_ldexp.c: Likewise.
26841 * math/s_ldexpf.c: Likewise.
26842 * math/s_ldexpl.c: Likewise.
26843 * math/s_significand.c: Likewise.
26844 * math/s_significandf.c: Likewise.
26845 * math/s_significandl.c: Likewise.
26846 * math/w_acos.c: Likewise.
26847 * math/w_acosf.c: Likewise.
26848 * math/w_acosh.c: Likewise.
26849 * math/w_acoshf.c: Likewise.
26850 * math/w_acoshl.c: Likewise.
26851 * math/w_acosl.c: Likewise.
26852 * math/w_asin.c: Likewise.
26853 * math/w_asinf.c: Likewise.
26854 * math/w_asinl.c: Likewise.
26855 * math/w_atan2.c: Likewise.
26856 * math/w_atan2f.c: Likewise.
26857 * math/w_atan2l.c: Likewise.
26858 * math/w_atanh.c: Likewise.
26859 * math/w_atanhf.c: Likewise.
26860 * math/w_atanhl.c: Likewise.
26861 * math/w_cosh.c: Likewise.
26862 * math/w_coshf.c: Likewise.
26863 * math/w_coshl.c: Likewise.
26864 * math/w_dremf.c: Likewise.
26865 * math/w_exp10.c: Likewise.
26866 * math/w_exp10f.c: Likewise.
26867 * math/w_exp10l.c: Likewise.
26868 * math/w_exp2.c: Likewise.
26869 * math/w_exp2f.c: Likewise.
26870 * math/w_fmod.c: Likewise.
26871 * math/w_fmodf.c: Likewise.
26872 * math/w_fmodl.c: Likewise.
26873 * math/w_hypot.c: Likewise.
26874 * math/w_hypotf.c: Likewise.
26875 * math/w_hypotl.c: Likewise.
26876 * math/w_j0.c: Likewise.
26877 * math/w_j0f.c: Likewise.
26878 * math/w_j0l.c: Likewise.
26879 * math/w_j1.c: Likewise.
26880 * math/w_j1f.c: Likewise.
26881 * math/w_j1l.c: Likewise.
26882 * math/w_jn.c: Likewise.
26883 * math/w_jnf.c: Likewise.
26884 * math/w_jnl.c: Likewise.
26885 * math/w_lgamma.c: Likewise.
26886 * math/w_lgamma_r.c: Likewise.
26887 * math/w_lgammaf.c: Likewise.
26888 * math/w_lgammaf_r.c: Likewise.
26889 * math/w_lgammal.c: Likewise.
26890 * math/w_lgammal_r.c: Likewise.
26891 * math/w_log.c: Likewise.
26892 * math/w_log10.c: Likewise.
26893 * math/w_log10f.c: Likewise.
26894 * math/w_log10l.c: Likewise.
26895 * math/w_log2.c: Likewise.
26896 * math/w_log2f.c: Likewise.
26897 * math/w_log2l.c: Likewise.
26898 * math/w_logf.c: Likewise.
26899 * math/w_logl.c: Likewise.
26900 * math/w_pow.c: Likewise.
26901 * math/w_powf.c: Likewise.
26902 * math/w_powl.c: Likewise.
26903 * math/w_remainder.c: Likewise.
26904 * math/w_remainderf.c: Likewise.
26905 * math/w_remainderl.c: Likewise.
26906 * math/w_scalb.c: Likewise.
26907 * math/w_scalbf.c: Likewise.
26908 * math/w_scalbl.c: Likewise.
26909 * math/w_sinh.c: Likewise.
26910 * math/w_sinhf.c: Likewise.
26911 * math/w_sinhl.c: Likewise.
26912 * math/w_sqrt.c: Likewise.
26913 * math/w_sqrtf.c: Likewise.
26914 * math/w_sqrtl.c: Likewise.
26915 * math/w_tgamma.c: Likewise.
26916 * math/w_tgammaf.c: Likewise.
26917 * math/w_tgammal.c: Likewise.
26919 * po/ja.po: Update from translation team.
26921 2011-09-29 Andreas Jaeger <aj@suse.de>
26924 * sunrpc/netname.c (netname2host): Fix logic.
26928 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26930 * math/w_remainder.c (__remainder): Likewise.
26931 * math/w_remainderf.c (__remainderf): Likewise.
26932 * math/libm-test.inc (remainder_test): Add test cases.
26934 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26936 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26939 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26941 * string/test-memcmp.c: Avoid unncessary #defines.
26942 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26944 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26946 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26947 Use new sse2 version for core i3 - i7 as it's faster
26948 than sse42 version.
26949 (bit_Prefer_PMINUB_for_stringop): New.
26950 * sysdeps/x86_64/rawmemchr.S: Update.
26951 Replace with faster SSE2 version.
26952 * sysdeps/x86_64/memrchr.S: New file.
26953 * sysdeps/x86_64/memchr.S: Update.
26954 Replace with faster SSE2 version.
26956 2011-09-12 Marek Polacek <mpolacek@redhat.com>
26958 * elf/dl-load.c (lose): Add cast to avoid warning.
26960 2011-10-07 Ulrich Drepper <drepper@gmail.com>
26962 * po/ca.po: Update from translation team.
26964 * inet/getnetgrent_r.c: Hook up nscd.
26965 * nscd/Makefile (routines): Add nscd_netgroup.
26966 (nscd-modules): Add netgroupcache.
26967 (CFLAGS-netgroupcache.c): Define.
26968 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26969 (cache_search): Add const to second parameter.
26970 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26972 (dbs): Add netgrdb entry.
26973 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26974 (verify_persistent_db): Handle netgrdb.
26975 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26976 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26978 (netgroup_response_header): Define.
26979 (innetgroup_response_header): Define.
26980 (datahead): Add netgroup_response_header and innetgroup_response_header
26982 * nscd/nscd.conf: Add entries for netgroup cache.
26983 * nscd/nscd.h (dbtype): Add netgrdb.
26984 (_PATH_NSCD_NETGROUP_DB): Define.
26985 (netgroup_iov_disabled): Declare.
26986 (xmalloc, xcalloc, xrealloc): Move declarations here.
26987 (cache_search): Adjust prototype.
26988 Add netgroup-related prototypes.
26989 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26990 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26991 (__nscd_innetgr): Declare.
26992 * nscd/selinux.c (perms): Use access_vector_t as element type and
26993 add netgroup-related initializers.
26994 * nscd/netgroupcache.c: New file.
26995 * nscd/nscd_netgroup.c: New file.
26996 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26997 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26998 For four parameters use innetgr.
26999 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27000 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27001 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27002 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27004 * nscd/connections.c (register_traced_file): Don't register file
27005 for disabled databases.
27007 2011-10-06 Ulrich Drepper <drepper@gmail.com>
27009 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27011 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27012 from tree and freeing node.
27014 2011-09-25 Jiri Olsa <jolsa@redhat.com>
27016 * nss/nsswitch.c (__nss_database_lookup): Handle
27017 nss_parse_service_list out of memory case.
27019 2011-09-15 Jiri Olsa <jolsa@redhat.com>
27021 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27022 out of memory case.
27024 2011-10-04 Andreas Schwab <schwab@redhat.com>
27026 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27027 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27029 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27030 elf_machine_rela, elf_machine_lazy_rel.
27031 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27032 (ELF_DYNAMIC_DO_REL): Likewise.
27033 (ELF_DYNAMIC_DO_RELA): Likewise.
27034 (ELF_DYNAMIC_RELOCATE): Likewise.
27035 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27036 to ELF_DYNAMIC_DO_REL.
27037 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27038 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27039 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27041 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27042 skip_ifunc, don't call ifunc function if non-zero.
27043 (elf_machine_rela): Likewise.
27044 (elf_machine_lazy_rel): Likewise.
27045 (elf_machine_lazy_rela): Likewise.
27046 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27047 (elf_machine_lazy_rel): Likewise.
27048 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27050 (elf_machine_lazy_rel): Likewise.
27051 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27053 (elf_machine_lazy_rel): Likewise.
27054 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27055 (elf_machine_lazy_rel): Likewise.
27056 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27057 (elf_machine_lazy_rel): Likewise.
27058 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27059 (elf_machine_lazy_rel): Likewise.
27060 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27061 (elf_machine_lazy_rel): Likewise.
27062 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27063 (elf_machine_lazy_rel): Likewise.
27064 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27065 (elf_machine_lazy_rel): Likewise.
27067 2011-09-28 Ulrich Drepper <drepper@gmail.com>
27069 * nss/nss_files/files-init.c (_nss_files_init): Use static
27070 initialization for all the *_traced_file variables.
27072 2011-09-28 Andreas Schwab <schwab@redhat.com>
27074 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27076 2011-09-27 Roland McGrath <roland@hack.frob.com>
27079 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27081 2011-09-27 Andreas Schwab <schwab@redhat.com>
27083 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27084 Reread the line before reparsing it.
27086 2011-09-26 Andreas Schwab <schwab@redhat.com>
27088 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27090 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27091 Maxim Kuvyrkov <maxim@codesourcery.com>
27092 Joseph Myers <joseph@codesourcery.com>
27094 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27095 if needed for __stack_chk_guard.
27097 2011-09-19 Roland McGrath <roland@hack.frob.com>
27099 * sysdeps/posix/spawni.c (script_execute): Always define it.
27100 It will be optimized away if unused.
27101 (maybe_script_execute): New function.
27102 (__spawni): Call it.
27104 * Makerules: Don't include tls.make.
27105 (config-tls): Always set to thread.
27106 * tls.make.c: File removed.
27108 2011-09-19 Mike Frysinger <vapier@gentoo.org>
27110 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27111 * config.make.in (CPPFLAGS-config): New substituted variable.
27113 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27115 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27118 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27119 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27121 2011-09-15 Roland McGrath <roland@hack.frob.com>
27123 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27124 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27126 (CALL_FAIL): Likewise.
27127 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27128 (CALL_FAIL): Macro removed.
27129 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27131 2011-09-15 Ulrich Drepper <drepper@gmail.com>
27133 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27134 for __FINITE_MATH_ONLY__ == 1.
27136 2011-09-15 Andreas Schwab <schwab@redhat.com>
27138 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27139 __ieee754_sqrt instead of sqrt.
27140 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27141 __ieee754_sqrtf instead of sqrtf.
27142 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27143 __floorf instead of floorf.
27144 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27145 __floorf, __truncf instead of floorf, truncf.
27147 2011-09-14 Ulrich Drepper <drepper@gmail.com>
27149 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27151 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27152 __extern_always_inline.
27153 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27156 2011-09-14 Andreas Schwab <schwab@redhat.com>
27158 * elf/rtld.c (dl_main): Also relocate in dependency order when
27159 doing symbol dependency testing.
27161 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27163 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27164 Always define `refsym'.
27166 2011-09-13 Andreas Schwab <schwab@redhat.com>
27168 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27169 (__FD_ELT): Renamed from __FDELT.
27170 * misc/bits/select2.h (__FD_ELT): Likewise.
27171 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27172 __FD_MASK instead of __FDELT, __FDMASK.
27173 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27175 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27178 * elf/Makefile (gen-ldd): Fix pattern.
27180 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27181 (init_tls): Likewise.
27183 2011-09-12 Ulrich Drepper <drepper@gmail.com>
27185 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27187 2011-09-12 Andreas Schwab <schwab@redhat.com>
27189 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27190 `struct cmsghdr *' instead of `void *'.
27191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27194 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27196 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27198 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27199 ldd_rewrite_script.
27201 2011-09-11 Ulrich Drepper <drepper@gmail.com>
27203 * configure.in: Remove --with-tls option.
27204 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27205 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27206 out in case it is missing.
27207 * sysdeps/ia64/elf/configure.in: Likewise.
27208 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27209 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27210 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27211 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27212 * sysdeps/sh/elf/configure.in: Likewise.
27213 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27214 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27215 * sysdeps/x86_64/elf/configure.in: Likewise.
27216 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27217 * sysdeps/mach/hurd/tls.h: Likewise.
27220 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27223 * configure.in: Fix use of AC_INIT.
27225 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27227 2011-09-10 Ulrich Drepper <drepper@gmail.com>
27229 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27231 * malloc/hooks.c: Likewise.
27234 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27235 variables statically.
27236 (narenas): Initialize.
27237 (list_lock): Initialize.
27238 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27239 initializtion of main_arena and list_lock. Small cleanups.
27240 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27241 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27242 Add initializers to main_arena and mp_.
27243 (malloc_state): Remove pagesize member. Change all users to use
27246 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27247 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27248 is always initialized.
27250 * malloc/malloc.c: Removed unused configurations and dead code.
27251 * malloc/arena.c: Likewise.
27252 * malloc/hooks.c: Likewise.
27253 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
27255 * include/tls.h: Removed. USE___THREAD must always be defined.
27256 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27257 * elf/dl-libc.c: Likewise.
27258 * elf/dl-tsd.c: Likewise.
27259 * include/errno.h: Likewise.
27260 * include/netdb.h: Likewise.
27261 * include/resolv.h: Likewise.
27262 * inet/herrno-loc.c: Likewise.
27263 * inet/herrno.c: Likewise.
27264 * malloc/arena.c: Likewise.
27265 * malloc/hooks.c: Likewise.
27266 * malloc/malloc.c: Likewise.
27267 * resolv/res-state.c: Likewise.
27268 * resolv/res_libc.c: Likewise.
27269 * sysdeps/i386/dl-machine.h: Likewise.
27270 * sysdeps/ia64/dl-machine.h: Likewise.
27271 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27272 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27273 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27274 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27275 * sysdeps/sh/dl-machine.h: Likewise.
27276 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27277 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27278 * sysdeps/unix/i386/sysdep.S: Likewise.
27279 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27280 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27281 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27283 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27284 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27285 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27289 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27290 * sysdeps/x86_64/dl-machine.h: Likewise.
27291 * tls.make.c: Likewise.
27293 * configure.in: Remove --with-__thread option. Make tests for
27294 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27295 tls_model attribute fail if no support is available. Remove
27297 * Makeconfig: Adjust for dropped configure option. All features are
27299 * Makerules: Likewise.
27300 * Versions.def: Likewise.
27301 * argp/argp-fmtstream.c: Likewise.
27302 * argp/argp-fmtstream.h: Likewise.
27303 * argp/argp-help.c: Likewise.
27304 * assert/assert.c: Likewise.
27305 * config.h.in: Likewise.
27306 * config.make.in: Likewise.
27307 * configure: Likewise.
27308 * configure.in: Likewise.
27309 * csu/Versions: Likewise.
27310 * csu/init.c: Likewise.
27311 * elf/tst-audit2.c: Likewise.
27312 * elf/tst-tls10.c: Likewise.
27313 * elf/tst-tls10.h: Likewise.
27314 * elf/tst-tls11.c: Likewise.
27315 * elf/tst-tls12.c: Likewise.
27316 * elf/tst-tls14.c: Likewise.
27317 * elf/tst-tlsmod11.c: Likewise.
27318 * elf/tst-tlsmod12.c: Likewise.
27319 * elf/tst-tlsmod13.c: Likewise.
27320 * elf/tst-tlsmod13a.c: Likewise.
27321 * elf/tst-tlsmod14a.c: Likewise.
27322 * elf/tst-tlsmod15b.c: Likewise.
27323 * elf/tst-tlsmod16a.c: Likewise.
27324 * elf/tst-tlsmod16b.c: Likewise.
27325 * elf/tst-tlsmod7.c: Likewise.
27326 * elf/tst-tlsmod8.c: Likewise.
27327 * elf/tst-tlsmod9.c: Likewise.
27328 * gmon/gmon.c: Likewise.
27329 * grp/fgetgrent_r.c: Likewise.
27330 * grp/putgrent.c: Likewise.
27331 * hurd/fopenport.c: Likewise.
27332 * include/libc-symbols.h: Likewise.
27333 * include/tls.h: Likewise.
27334 * intl/gettextP.h: Likewise.
27335 * intl/loadinfo.h: Likewise.
27336 * locale/global-locale.c: Likewise.
27337 * locale/localeinfo.h: Likewise.
27338 * mach/devstream.c: Likewise.
27339 * malloc/arena.c: Likewise.
27340 * malloc/set-freeres.c: Likewise.
27341 * misc/err.c: Likewise.
27342 * misc/getttyent.c: Likewise.
27343 * misc/mntent_r.c: Likewise.
27344 * posix/getopt.c: Likewise.
27345 * posix/wordexp.c: Likewise.
27346 * pwd/fgetpwent_r.c: Likewise.
27347 * resolv/Versions: Likewise.
27348 * resolv/res_hconf.c: Likewise.
27349 * shadow/fgetspent_r.c: Likewise.
27350 * shadow/putspent.c: Likewise.
27351 * stdio-common/printf_fphex.c: Likewise.
27352 * stdio-common/tmpfile.c: Likewise.
27353 * stdlib/abort.c: Likewise.
27354 * stdlib/fmtmsg.c: Likewise.
27355 * sunrpc/auth_unix.c: Likewise.
27356 * sunrpc/clnt_perr.c: Likewise.
27357 * sunrpc/clnt_tcp.c: Likewise.
27358 * sunrpc/clnt_udp.c: Likewise.
27359 * sunrpc/clnt_unix.c: Likewise.
27360 * sunrpc/openchild.c: Likewise.
27361 * sunrpc/svc_simple.c: Likewise.
27362 * sunrpc/svc_tcp.c: Likewise.
27363 * sunrpc/svc_udp.c: Likewise.
27364 * sunrpc/svc_unix.c: Likewise.
27365 * sunrpc/xdr.c: Likewise.
27366 * sunrpc/xdr_array.c: Likewise.
27367 * sunrpc/xdr_rec.c: Likewise.
27368 * sunrpc/xdr_ref.c: Likewise.
27369 * sunrpc/xdr_stdio.c: Likewise.
27371 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27373 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27375 2011-07-03 Andreas Jaeger <aj@suse.de>
27377 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27378 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27379 regenerate with gen-libm-tests.pl.
27381 2010-05-12 Petr Baudis <pasky@suse.cz>
27384 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27385 around j0() zero points by switching to j1().
27386 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27387 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27388 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27389 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27391 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27393 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27395 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
27397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27398 Patch in part by Pavel Roskin <proski@gnu.org>.
27401 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27403 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27404 Free memory block if necessary.
27407 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27408 be NULL. Don't lock in this case.
27410 2011-09-09 Roland McGrath <roland@hack.frob.com>
27412 * elf/elf.h (ELFOSABI_GNU): New macro.
27413 (ELFOSABI_LINUX): Define to that.
27415 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27417 * string/strncat.c (strncat): Undef the symbol in case it has been
27418 defined in bits/string.h.
27420 2011-09-09 Ulrich Drepper <drepper@gmail.com>
27422 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27424 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
27427 2011-08-17 Andreas Jaeger <aj@suse.de>
27429 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27431 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27432 Ian Lance Taylor <iant@google.com>
27434 * math/libm-test.inc (lround_test): New testcase.
27435 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27437 2011-09-08 Ulrich Drepper <drepper@gmail.com>
27439 * Makefile: Remove support for automatic cvs check-ins.
27440 * Makerules: Likewise.
27441 * config.make.in: Likewise.
27442 * configure.in: Likewise.
27443 * intl/Makefile: Likewise.
27444 * locale/Makefile: Likewise.
27445 * po/Makefile: Likewise.
27446 * posix/Makefile: Likewise.
27447 * sysdeps/gnu/Makefile: Likewise.
27448 * sysdeps/mach/hurd/Makefile: Likewise.
27449 * sysdeps/sparc/sparc32/Makefile: Likewise.
27452 * posix/Makefile (bug-regex32-ENV): Define.
27453 Patch by John Stanley <jpsinthemix@verizon.net>.
27455 * misc/Makefile (headers): Add bits/select2.h.
27456 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27457 * misc/bits/select2.h: New file.
27458 * include/bits/select2.h: New file.
27459 * debug/Makefile (routines): Add fdelt_chk.
27460 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27461 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27463 * debug/fdelt_chk.c: New file.
27465 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27466 * wcsmbs/test-wmemcmp.c: Likewise.
27467 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
27468 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
27470 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27472 * string/Makefile (strop-tests): Add memcmp.
27473 * string/test-wmemcmp.c: New file.
27474 * string/test-memcmp.c: Add wmemcmp support.
27476 2011-09-08 Roland McGrath <roland@hack.frob.com>
27479 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27482 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27483 garbage value in a __mach_port_mod_refs call in the cases of the
27484 task-self and thread-self ports.
27486 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27488 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27490 2011-09-08 Andreas Schwab <schwab@redhat.com>
27492 * elf/dl-load.c (lose): Check for non-null L.
27494 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27496 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27498 * elf/dl-libc.c (dlerror_run): Pass back error code from
27502 * elf/dl-load.c (lose): Free l_origin if it is valid.
27504 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27506 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27507 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27508 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27509 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27510 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27511 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27513 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27515 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27516 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27517 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27518 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27519 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27520 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27521 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27522 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27523 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27524 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27526 2011-08-15 Alan Modra <amodra@gmail.com>
27529 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27530 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27531 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27532 ppc_mcount to static-only-routines.
27533 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27535 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27536 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27538 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27540 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27541 for finite and infinity parameters.
27543 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27545 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27546 and add nop instructions for throughput optimization.
27547 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27549 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27551 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27552 aligned copy for power7 with vector-scalar instructions.
27553 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27555 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27557 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27560 2011-09-07 Andreas Schwab <schwab@redhat.com>
27563 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27566 2011-09-07 Ulrich Drepper <drepper@gmail.com>
27568 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27569 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27570 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27571 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27574 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27576 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27577 Forgot to demangle the pointer.
27579 * sysdeps/i386/sysdep.h: Define atom_text_section.
27580 * sysdeps/x86_64/sysdep.h: Likewise.
27581 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27582 section with atom_text_section.
27583 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27584 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27585 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27586 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27587 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27589 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27590 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27591 already be defined. Change to take two parameters and don't assign
27592 result to variable. Adjust all users.
27593 Define INTERNAL_GETTIME if not already defined.
27594 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27597 HAVE_CLOCK_GETTIME_VSYSCALL.
27598 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27600 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27601 gettimeofday vsyscall, just use time.
27603 2011-09-06 Andreas Schwab <schwab@redhat.com>
27605 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27608 2011-09-06 Ulrich Drepper <drepper@gmail.com>
27610 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27614 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27615 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27616 syscall if possible.
27618 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27620 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27621 e_ident. Don't pass to find_mapsXX.
27622 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27624 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27626 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27627 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27628 * sysdeps/x86_64/multiarch/strchr.S: Update.
27629 Check bit_slow_BSF bit.
27630 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27631 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27632 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27634 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27637 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27639 (tryshell): Define.
27640 (__spawni): Change last parameter to be flag. Test
27641 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27642 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27643 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27644 * posix/spawni.c: Likewise.
27645 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27646 * posix/spawnp.c: Likewise. Change normal version to use
27647 SPAWN_XFLAGS_USE_PATH.
27648 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27649 SPAWN_XFLAGS_TRY_SHELL.
27652 * posix/glob.h: Remove gcc 1.x support.
27655 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27657 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27659 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27660 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27662 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27663 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27664 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27665 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27666 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27667 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27669 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27671 * sysdeps/x86_64/wcscmp.S: New file.
27673 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27674 wcscmp-c wcscmp-sse2
27675 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27676 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27677 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27678 * wcsmbs/wcscmp.c: Allow renaming.
27680 2011-09-05 David S. Miller <davem@davemloft.net>
27682 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27683 stack slot, rather than the struct return pointer slot.
27684 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27685 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27687 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27689 2011-09-05 Ulrich Drepper <drepper@gmail.com>
27691 * po/ja.po: Update from translation team.
27694 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27695 kernel in 64-bit binaries.
27697 2011-09-01 David S. Miller <davem@davemloft.net>
27699 * elf/elf.h (HWCAP_SPARC_*): Move to..
27700 * sysdeps/sparc/sysdep.h: this new file and add new values.
27701 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27702 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27703 _DL_HWCAP_COUNT to 24.
27704 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27706 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27707 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27708 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27710 instead of magic constants.
27711 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27713 2011-08-31 David S. Miller <davem@davemloft.net>
27715 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27716 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27717 Reimplement to do errno handling inline.
27718 (SYSCALL_ERROR_HANDLER): New macro.
27719 (__SYSCALL_STRING): Do not do errno handling in asm.
27720 (__CLONE_SYSCALL_STRING): Delete.
27721 (__INTERNAL_SYSCALL_STRING): Delete.
27722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27723 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27724 (PSEUDO): Reimplement to do errno handling inline.
27725 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27726 (SYSCALL_ERROR_HANDLER): New macro.
27727 (__SYSCALL_STRING): Do not do errno handling in asm.
27728 (__CLONE_SYSCALL_STRING): Delete.
27729 (__INTERNAL_SYSCALL_STRING): Delete.
27730 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27731 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27733 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27734 (inline_syscall*): Add 'err' argument.
27735 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27736 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27737 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27738 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27740 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27741 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27743 2011-08-30 Andreas Schwab <schwab@redhat.com>
27745 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27747 2011-08-29 Jiri Olsa <jolsa@redhat.com>
27749 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27752 2011-08-24 David S. Miller <davem@davemloft.net>
27754 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27756 2011-08-24 Andreas Schwab <schwab@redhat.com>
27758 * elf/Makefile: Add rules to build and run unload8 test.
27759 * elf/unload8.c: New file.
27760 * elf/unload8mod1.c: New file.
27761 * elf/unload8mod1x.c: New file.
27762 * elf/unload8mod2.c: New file.
27763 * elf/unload8mod3.c: New file.
27765 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27768 2011-08-23 David S. Miller <davem@davemloft.net>
27770 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27771 subtract stack bias.
27772 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27773 %sp not %fp in calculations.
27774 (_JMPBUF_UNWINDS_ADJ): Likewise.
27776 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27777 (aio_suspend): Call it to force an exception region around the
27778 AIO_MISC_WAIT() invocation.
27780 2011-08-23 Andreas Schwab <schwab@redhat.com>
27782 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27785 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27787 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27789 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27790 and <dl-machine.h>.
27791 (Elf64_FuncDesc): Remove.
27793 2011-08-22 David S. Miller <davem@davemloft.net>
27795 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27796 sigaltstack check, add missing cfi directives.
27797 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27798 missing cfi directives, and sigaltstack handling.
27800 2011-08-16 Andreas Schwab <schwab@redhat.com>
27803 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27804 object is seen twice.
27805 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27807 * elf/Makefile (distribute): Add tst-initorder2.c.
27808 (tests): Add tst-initorder2.
27809 (modules-names): Add tst-initorder2a tst-initorder2b
27810 tst-initorder2c tst-initorder2d. Add rules to build them.
27811 ($(objpfx)tst-initorder2.out): New rule.
27812 * elf/tst-initorder2.c: New file.
27813 * elf/tst-initorder2.exp: New file.
27815 2011-08-22 Andreas Schwab <schwab@redhat.com>
27817 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27819 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27820 dependencies back to end of function.
27822 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27823 $(elfobjdir)/ld.so.
27825 2011-08-21 Ulrich Drepper <drepper@gmail.com>
27827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27828 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27829 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27830 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27831 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27832 of __vdso_gettimeofday.
27833 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27834 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27836 (_libc_vdso_platform_setup): Remove initialization of
27837 __vdso_gettimeofday and __vdso_time.
27839 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27841 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27842 and fgetc_unlocked.
27843 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27846 * elf/dl-open.c (add_to_global): Report additions to the global scope
27847 for LD_DEBUG=scopes.
27848 (dl_open_worker): Also print scope of newly loaded dependencies.
27849 (_dl_show_scope): Indicate if there is no scope.
27852 * stdio-common/Makefile (tests): Add bug24.
27853 * stdio-common/bug24.c: New file.
27855 2011-08-19 Andreas Jaeger <aj@suse.de>
27858 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27859 non-existant file when using close-on-exec mode.
27861 2011-08-20 Ulrich Drepper <drepper@gmail.com>
27863 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27864 the very first instruction.
27866 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27867 the CFI state in the end.
27868 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27869 inclusion of dl-trampoline.h.
27870 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27872 2011-08-19 Andreas Schwab <schwab@redhat.com>
27874 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27875 expectations for long double.
27877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27878 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27880 2011-08-14 David S. Miller <davem@davemloft.net>
27882 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27883 artificual limit depends upon the system page size.
27885 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27887 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27888 * resolv/Makefile: Define CFLAGS-libresolv.
27890 2011-08-17 Andreas Schwab <schwab@redhat.com>
27892 * nss/makedb.c (compute_tables): Make variables used in nested
27895 2011-08-17 Ulrich Drepper <drepper@gmail.com>
27897 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27898 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27899 if buffer was too small.
27901 * elf/pldd.c (main): Attach to all threads in the process.
27902 Rewrite /proc handling to use *at functions.
27904 2011-08-16 Ulrich Drepper <drepper@gmail.com>
27906 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27907 specifies first scope to show.
27908 (dl_open_worker): Update callers. Move printing scope of new
27909 object to before the relocation.
27910 * elf/rtld.c (dl_main): Update _dl_show_scope call.
27911 * sysdeps/generic/ldsodefs.h: Update declaration.
27913 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27914 string for the scope number.
27916 2011-08-14 Ulrich Drepper <drepper@gmail.com>
27918 * nscd/servicescache.c (cache_addserv): Make sure written is always
27921 2011-08-14 Roland McGrath <roland@hack.frob.com>
27923 * sysdeps/i386/i486/bits/atomic.h
27924 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27925 statement expression, so as to suppress "set but not used" warning.
27926 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27928 * string/strncat.c (STRNCAT): Use prototype definition.
27930 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27931 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27933 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27934 (localedef-modules): Add localedef.
27935 (locale-modules): Add locale.
27937 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27938 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27939 to avoid a warning.
27941 2011-08-14 David S. Miller <davem@davemloft.net>
27943 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27944 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27946 2011-08-13 Ulrich Drepper <drepper@gmail.com>
27948 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
27949 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27950 * elf/rtld.c (dl_main): Set l_name of vDSO.
27951 Call _dl_show_scope when DL_DEBUG_SCOPES.
27952 (process_dl_debug): Recognize scopes flag and also set it for all.
27953 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27954 Declare _dl_show_scope.
27956 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27957 (do_dlopen): Pass caller_dlopen to dl_open.
27958 (__libc_dlopen_mode): Initialize caller_dlopen.
27960 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27961 of libc. Make tolower call locale-independent. Optimize a bit by
27962 using isdigit instead of isalnum.
27963 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27965 2011-08-12 Ulrich Drepper <drepper@gmail.com>
27967 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27968 was a dependency or dynamically loaded.
27970 2011-08-11 Ulrich Drepper <drepper@gmail.com>
27972 * intl/l10nflist.c: Allow architecture-specific pop function.
27973 * sysdeps/x86_64/l10nflist.c: New file.
27975 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27978 2011-08-10 Andreas Schwab <schwab@redhat.com>
27980 * include/dirent.h: Add libc_hidden_proto for scandirat and
27981 scandirat64. Don't declare __scandirat64.
27982 * dirent/scandirat.c: Add libc_hidden_def.
27983 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27984 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27986 2011-08-10 David S. Miller <davem@davemloft.net>
27988 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27990 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27991 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27992 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27994 2011-08-09 Ulrich Drepper <drepper@gmail.com>
27996 * Versions.def [libc]: Add GLIBC_2.15.
27997 * dirent/Makefile (routines): Add scandirat and scandirat64.
27998 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28000 * dirent/dirent.h: Declare scandirat and scandirat64.
28001 * dirent/scandirat.c: New file.
28002 * dirent/scandirat64.c: New file.
28003 * sysdeps/wordsize-64/scandirat.c: New file.
28004 * sysdeps/wordsize-64/scandirat64.c: New file.
28005 * dirent/opendir.c: Define opendirat.
28006 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28008 * dirent/scandir64.c: Adjust for scandir.c change.
28009 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28010 __scandirat64, and __scandir_cancel_handler.
28011 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28012 additional parameter and use openat instead of open (outside of ld.so).
28013 Add new __opendir as wrapper around __opendirat.
28014 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28015 here without requiring old scandirat implementation.
28017 2011-08-08 Ulrich Drepper <drepper@gmail.com>
28019 * dirent/scandir.c (cancel_handler): Renamed to
28020 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28021 defined. Adjust users.
28022 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28023 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28025 2011-08-04 Ulrich Drepper <drepper@gmail.com>
28027 * string/test-string.h (IMPL): Use __STRING to expand name and then
28030 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28033 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28035 * string/Makefile: Update.
28036 (strop-tests): Append strncat.
28037 * string/test-wcscmp.c: New file.
28038 New comprehensive test for wcscmp.
28039 * string/test-strcmp.c: Update.
28040 (WIDE): New define.
28042 2011-07-22 Andreas Schwab <schwab@redhat.com>
28044 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28047 2011-07-26 Andreas Schwab <schwab@redhat.com>
28049 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28050 encoding to ACE if AI_IDN.
28052 2011-08-01 Jakub Jelinek <jakub@redhat.com>
28054 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28055 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28057 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28059 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28060 Fix overflow bug in strncat.
28061 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28063 * string/test-strncat.c: Update.
28064 Add new tests for checking overflow bugs.
28066 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28069 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28070 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28071 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28072 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28073 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28074 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28075 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28076 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28078 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28079 (USE_AS_STRCAT): Define.
28080 Add strcat and strncat support.
28081 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28083 2011-07-25 Andreas Schwab <schwab@redhat.com>
28085 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28086 __n bigger than INT_MAX+1.
28087 (__strncmp_g): Likewise.
28089 2011-07-23 Ulrich Drepper <drepper@gmail.com>
28091 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28092 * libio/stido.h: Likewise.
28094 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28096 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28099 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28101 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28102 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28103 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28106 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28111 (_dl_x86_64_save_sse): Likewise.
28113 2011-07-22 Ulrich Drepper <drepper@gmail.com>
28115 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28117 (_dl_x86_64_save_sse): Likewise.
28119 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28121 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28123 2011-07-21 Andreas Schwab <schwab@redhat.com>
28125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28127 (_dl_x86_64_save_sse): Use correct AVX check.
28129 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28131 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28132 bug in strncpy/strncat.
28133 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28135 2011-07-21 Ulrich Drepper <drepper@gmail.com>
28137 * string/tester.c (test_strcat): Add tests for different alignments
28138 of source and destination.
28139 (test_strncat): Likewise.
28141 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28144 * posix/glob.c (glob): Check passed in values before using them in
28145 expressions to avoid some overflows.
28146 (glob_in_dir): Likewise.
28149 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28150 check for AVX enablement so that we don't crash with old kernels and
28152 * elf/tst-audit4.c: Add same checks here.
28153 * elf/tst-audit6.c: Likewise.
28155 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
28157 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28159 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28161 2011-07-20 Ulrich Drepper <drepper@gmail.com>
28163 * po/cs.po: Update from translation team.
28164 * po/bg.po: Likewise.
28166 2011-07-12 Marek Polacek <mpolacek@redhat.com>
28168 * misc/sys/cdefs.h: Add support for const attribute.
28169 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28170 to gnu_dev_{major,minor,makedev} functions.
28172 2011-07-20 Marek Polacek <mpolacek@redhat.com>
28174 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28176 2011-07-20 Andreas Schwab <schwab@redhat.com>
28178 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28181 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28183 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28184 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28185 register in order to avoid conflicts with the soft frame pointer
28186 being held in r11 when necessary.
28187 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28188 (INTERNAL_VSYSCALL_NCS): Likewise.
28190 2011-07-14 Marek Polacek <mpolacek@redhat.com>
28192 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28193 * elf/dl-fini.c (_dl_fini): Adjust caller.
28194 * elf/dl-close.c (_dl_close_worker): Likewise.
28195 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28197 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28199 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28200 "aux_cache->nlibs < 0".
28202 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28203 in the reload-count case.
28205 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28207 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28208 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28209 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28210 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28211 * sysdeps/x86_64/multiarch/strcat.S: New file.
28212 * sysdeps/x86_64/multiarch/strncat.S: New file.
28213 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28214 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28215 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28216 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28217 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28218 (USE_AS_STRCAT): Define.
28219 Add strcat and strncat support.
28220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28221 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28222 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28223 * string/strncat.c: Update.
28224 (USE_AS_STRNCAT): Define.
28225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28226 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28228 * sysdeps/x86_64/multiarch/init-arch.h
28229 (bit_Prefer_PMINUB_for_stringop): New.
28230 (index_Prefer_PMINUB_for_stringop): Likewise.
28231 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28232 bit_Prefer_PMINUB_for_stringop.
28234 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28236 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28238 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28239 of casting of buffer.
28240 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28241 buffer32 and buffer64.
28242 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28243 writes instead of casting of buffer.
28244 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28246 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28249 2011-07-19 Andreas Schwab <schwab@redhat.com>
28251 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28253 2011-07-19 Ulrich Drepper <drepper@gmail.com>
28255 * nscd/nscd.c (termination_handler): Don't do anything for a database
28256 if it has not yet been initialized.
28258 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28260 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28262 2011-07-15 Marek Polacek <mpolacek@redhat.com>
28264 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28266 2011-07-18 Ulrich Drepper <drepper@gmail.com>
28268 * po/nl.po: Update from translation team.
28269 * po/sv.po: Likewise.
28271 2011-07-16 Roland McGrath <roland@hack.frob.com>
28273 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28274 now disallowed by GCC.
28276 * configure.in (use-default-link): Default to yes if a test -shared
28277 link meets our qualifications.
28278 * configure: Regenerated.
28280 * config.make.in (output-format): New variable.
28281 * configure.in: Check for ld --print-output-format support.
28282 * configure: Regenerated.
28283 * Makerules ($(common-objpfx)format.lds)
28284 [$(output-format) != unknown]: Just use $(output-format),
28285 instead of the linker-script munging.
28287 2011-07-14 Roland McGrath <roland@hack.frob.com>
28289 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28290 of $(common-objpfx)shlib.lds.
28291 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28293 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28294 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28296 * configure.in (-z relro check): Adjust test code to add a large
28297 writable data section after it.
28298 * configure: Regenerated.
28300 2011-07-11 Roland McGrath <roland@hack.frob.com>
28302 * configure.in (-z relro check): Fix test code to make the variable
28304 * configure: Regenerated.
28306 2011-07-11 Ulrich Drepper <drepper@gmail.com>
28308 * nscd/nscd.h (struct traced_file): Define.
28309 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28310 elements. Add traced_files.
28311 (inotify_fd): Declare.
28312 (register_traced_file): Declare.
28313 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28314 (inotify_fd): Export.
28315 (resolv_conf_descr): Remove.
28316 (nscd_init): Move inotify descriptor creation to main.
28317 Don't register files for notification here.
28318 (register_traced_file): New function.
28319 (invalidate_cache): Don't use reset_res to determine whether to call
28320 res_init, go through the list of registered files.
28321 (main_loop_poll): The inotify descriptors are now stored in the
28322 structures for the traced files.
28323 (main_loop_epoll): Likewise
28324 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28325 to __nss_disable_nscd.
28326 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28327 for a database anymore. Check the records for all the registered
28329 * nss/Makefile (libnss_files-routines): Add files-init.
28330 (libnss_db-routines): Add db-init.
28331 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28332 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28333 * nss/nss_db/db-init.c: New file.
28334 * nss/nss_files/files-init.c: New file.
28335 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28336 __nss_lookup_function.
28337 (__nss_lookup_function): Call nss_load_library.
28338 (nss_load_all_libraries): New function.
28339 (__nss_disable_nscd): Take parameter with callback function for files
28340 to register. Set is_nscd. Load all the DSOs for the NSS modules
28341 used for the cached services.
28342 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28343 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28344 options for features to all the files in nscd.
28346 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28348 2011-07-10 Roland McGrath <roland@hack.frob.com>
28350 * csu/elf-init.c (__libc_csu_init): Comment typo.
28352 2011-07-09 Ulrich Drepper <drepper@gmail.com>
28354 * po/pl.po: Update from translation team.
28355 * po/ja.po: Likewise.
28356 * po/ru.po: Likewise.
28357 * po/ko.po: Likewise.
28358 * po/fr.po: Likewise.
28360 2011-07-09 Roland McGrath <roland@hack.frob.com>
28362 * configure.in (.ctors/.dtors header and trailer check):
28363 Use an empirical test on a built program.
28364 * configure: Regenerated.
28366 * configure.in (-z relro check): Use an empirical test on a built DSO.
28367 Detect, but do not require, on ia64.
28368 * configure: Regenerated.
28370 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28371 Update tests that use readelf to use $READELF instead.
28372 * configure: Regenerated.
28374 2011-07-08 Ulrich Drepper <drepper@gmail.com>
28376 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28377 if the result is not used.
28379 2011-07-05 Andreas Jaeger <aj@suse.de>
28382 * stdlib/tst-strtod.c: Add testcase.
28384 2011-07-07 Ulrich Drepper <drepper@gmail.com>
28386 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
28387 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
28388 The latter has a higher limit. Take additional parameter to pass to
28390 (__pathconf): Pass file to __statfs_link_max.
28391 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28393 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28397 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28398 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28400 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28401 (__statfs_filesize_max): Likewise.
28402 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28404 2011-07-05 Andreas Jaeger <aj@suse.de>
28406 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28408 2011-07-06 Marek Polacek <mpolacek@redhat.com>
28410 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28412 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28415 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28417 * Makefile (strop-tests): Add strncat.
28418 * string/test-strncat.c: New file.
28420 2011-06-30 Marek Polacek <mpolacek@redhat.com>
28422 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28424 2011-06-21 Andreas Jaeger <aj@suse.de>
28426 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28427 Copy rule from iconvdata/Makefile.
28429 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28432 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28433 but no long options are defined, just return 'W'.
28435 2011-06-22 Marek Polacek <mpolacek@redhat.com>
28438 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28440 2011-07-06 Ulrich Drepper <drepper@gmail.com>
28442 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28444 (innetgr): Likewise.
28446 2011-07-05 Roland McGrath <roland@hack.frob.com>
28448 * config.make.in (install_root): Default to $(DESTDIR).
28450 2011-07-05 Ulrich Drepper <drepper@gmail.com>
28452 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28454 2011-07-02 Roland McGrath <roland@hack.frob.com>
28456 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28458 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28459 containing directory rather than embedding absolute directory names.
28461 * scripts/check-local-headers.sh: Rewritten using awk.
28462 Match by word, not by line. Print error messages for matches.
28463 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28465 * Makerules [shlib-lds-flags empty]:
28466 ($(common-objpfx)libc_pic.opts): New target.
28467 ($(common-objpfx)libc_pic.os.clean): New target.
28468 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28470 * config.make.in (OBJCOPY): New variable.
28471 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28472 * configure: Regenerated.
28474 * config.make.in (use-default-link): New variable.
28475 * configure.in (use_default_link): Grok --with-default-link to set it.
28476 * configure: Regenerated.
28477 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28478 (shlib-lds, shlib-lds-flags): Define to empty.
28480 * Makerules (shlib-lds): New variable.
28481 (shlib-lds-flags): New variable.
28482 (build-shlib, build-moduile, build-module-asneeded): Use it.
28483 ($(common-objpfx)libc.so): Use $(shlib-lds).
28484 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28485 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28487 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28488 DT_FLAGS/DT_FLAGS_1 with zero flags.
28490 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28491 linker script munging.
28493 2011-07-02 Ulrich Drepper <drepper@gmail.com>
28495 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28497 * crypt/sha512.c (sha512_process_block): Perform total addition using
28498 128-bit if possible.
28499 (__sha512_finish_ctx): Likewise.
28500 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28502 * crypt/sha256.c (SWAP64): Define.
28503 (sha256_process_block): Perform total addition using 64-bit if
28505 (__sha256_finish_ctx): Likewise.
28507 2011-07-01 Ulrich Drepper <drepper@gmail.com>
28509 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28510 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28511 * nscd/hstcache.c (cache_addhst): Likewise.
28512 * nscd/grpcache.c (cache_addgr): Likewise.
28513 * nscd/aicache.c (addhstaiX): Likewise
28514 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28516 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
28518 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28519 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28520 * nscd/hstcache.c (cache_addhst): Likewise.
28521 * nscd/grpcache.c (cache_addgr): Likewise.
28522 * nscd/aicache.c (addhstaiX): Likewise
28524 2011-07-01 Andreas Schwab <schwab@redhat.com>
28526 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28527 domain only when needed.
28529 2011-06-30 Andreas Schwab <schwab@redhat.com>
28531 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28532 is always restored.
28534 2011-06-29 Ulrich Drepper <drepper@gmail.com>
28536 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28537 are re-adding the entry.
28538 * nscd/servicescache.c (cache_addserv): Likewise.
28540 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28542 * sysdeps/generic/dl-irel.h: fix protection against multiple
28544 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28546 2011-06-28 Ulrich Drepper <drepper@gmail.com>
28549 * malloc/memusage.sh: Fix quoting in message.
28550 * debug/xtrace.sh: Likewise.
28552 * configure.in: Remove support for --experimental-malloc option, make
28554 * config.make.in: Likewise.
28555 * malloc/Makefile: Likewise.
28557 2011-06-27 Andreas Schwab <schwab@redhat.com>
28559 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28560 two-byte characters.
28562 2011-06-27 Roland McGrath <roland@hack.frob.com>
28564 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28565 AC_CACHE_CHECK invocation.
28566 * configure: Regenerated.
28568 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28570 2011-06-27 Ulrich Drepper <drepper@gmail.com>
28573 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28574 bit from old_res_options.
28576 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28578 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28579 value type for setfct.
28581 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28583 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28584 __gettimeofday instead of gettimeofday.
28586 2011-06-26 Ulrich Drepper <drepper@gmail.com>
28588 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28590 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28592 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28594 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28597 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28599 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28600 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28601 strcpy-sse2-unaligned strncpy-sse2-unaligned
28602 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28603 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28604 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28605 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28606 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28607 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28608 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28609 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28610 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28611 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28612 (STRCPY): Support SSE2 and SSSE3 versions.
28614 2011-06-24 Ulrich Drepper <drepper@gmail.com>
28617 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28618 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28619 kernels which artificially limit size of requests.
28621 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28623 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28624 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28625 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28626 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28627 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28628 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28629 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28630 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28631 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28632 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28633 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28634 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28635 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28636 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28637 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28639 Enable unaligned load optimization for Intel Core i3, i5 and i7
28641 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28643 (index_Fast_Unaligned_Load): Define.
28644 (HAS_FAST_UNALIGNED_LOAD): Define.
28646 2011-06-23 Marek Polacek <mpolacek@redhat.com>
28648 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28650 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28653 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28654 until it is clear that the information is realy needed.
28655 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28657 2011-06-22 Andreas Schwab <schwab@redhat.com>
28659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28661 2011-06-22 Ulrich Drepper <drepper@gmail.com>
28663 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28664 /sys/devices/system/cpu/online if it is usable.
28666 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28667 reading the information from the /proc filesystem to once a second.
28669 2011-06-21 Andreas Jaeger <aj@suse.de>
28671 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28672 NULL after inclusion of kernel headers.
28674 2011-06-21 Ulrich Drepper <drepper@gmail.com>
28676 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28677 calls to internal_setent.
28680 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28681 addresses using gethostbyname4_r ignore IPv4 addresses.
28683 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28684 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28686 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28688 2011-06-20 David S. Miller <davem@davemloft.net>
28690 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28692 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28694 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28695 (elf_irel): Use it.
28696 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28697 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28698 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28699 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28700 * sysdeps/x86_64/dl-irel.h: Likewise.
28702 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28703 * elf/dl-sym.c: Likewise.
28705 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28707 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28708 need to dereference resplen2.
28710 2011-06-14 Andreas Schwab <schwab@redhat.com>
28712 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28714 2011-06-15 Ulrich Drepper <drepper@gmail.com>
28716 * Makeconfig: Define vardbdir and inst_vardbdir.
28717 * nss/Makefile: Add rules to install db-Makefile.
28719 * nss/nss_db/db-XXX.c: Cleanup.
28721 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28722 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28724 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28725 * nss/makedb.c: Implement -g option to specify that value strings
28726 are generated and should not be added to table iterated over for
28728 * nss/nss_db/db-initgroups.c: New file.
28730 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28733 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28734 (internal_getgrouplist): Adjust to name change.
28735 Update use_initgroups_entry if this is not the first call.
28736 * nss/databases.def: Add initgroups entry.
28738 * nss/makedb.c (compute_tables): Check result of multiple hash table
28739 sizes to minimize maximum chain length.
28741 2011-06-14 Ulrich Drepper <drepper@gmail.com>
28743 * Versions.def: Add entry for libnss_db.
28744 * shlib-versions: Likewise.
28745 * nss/Makefile: Add rules to build libnss_db.
28746 * nss/Versions: Add libnss_db information. Organize libnss_files
28748 * nss/db-Makefile: Add gshadow support. Change rules for the new
28749 makedb progra. Some minor improvements to generate smaller files.
28750 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28752 * nss/makedb.c: ...here.
28753 Improve database format to be smaller and require less memory at
28755 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28757 * nss/nss_db/db-netgrp.c: Likewise.
28758 * nss/nss_db/db-open.c: Likewise.
28759 * nss/nss_files/flies-XXX.x: Adjust comments.
28760 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28761 * nss/nss_files/files-grp.c: Likewise.
28762 * nss/nss_files/files-hosts.c: Likewise.
28763 * nss/nss_files/files-network.c: Likewise.
28764 * nss/nss_files/files-proto.c: Likewise.
28765 * nss/nss_files/files-pwd.c: Likewise.
28766 * nss/nss_files/files-rpc.c: Likewise.
28767 * nss/nss_files/files-service.c: Likewise.
28768 * nss/nss_files/files-sgrp.c: Likewise.
28769 * nss/nss_files/files-spwd.c: Likewise.
28770 * nss/nss_db/db-alias.c: Removed.
28771 * nss/nss_db/dummy-db.h: Removed.
28773 2011-06-02 Ulrich Drepper <drepper@gmail.com>
28775 * nss/makedb.c: Rewritten to not use database library.
28776 * nss/Makefile: Update to build new makedb program.
28778 2011-06-14 Andreas Jaeger <aj@suse.de>
28780 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28781 memset declaration.
28783 2011-06-10 Andreas Schwab <schwab@redhat.com>
28785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28788 2011-06-10 Roland McGrath <roland@hack.frob.com>
28790 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28791 * elf/Makefile ($(objpfx)ld.so): Likewise.
28793 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28794 Don't list ld.so twice in dependencies.
28796 * posix/bug-regex31.c: Include <stdlib.h>.
28798 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28800 * nis/nss_compat/compat-spwd.c
28801 (getspent_next_nss_netgr): Remove unused variable.
28802 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28804 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28805 nonmembers" output to use the right array.
28807 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28809 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28811 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28812 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28813 * catgets/gencat.c (read_input_file): Likewise.
28814 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28816 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28817 variable definition inside #if's controlling its use.
28819 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28821 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28823 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28825 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28828 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28830 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28831 * configure: Regenerated.
28833 * Makerules: Revert last change.
28834 * elf/Makefile: Likewise.
28836 2011-06-09 Roland McGrath <roland@hack.frob.com>
28838 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28839 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28840 (reloc-link): Likewise.
28842 2011-06-09 Ulrich Drepper <drepper@gmail.com>
28844 * elf/Makefile: Add rules to build pldd.
28845 * elf/pldd.c: New file.
28846 * elf/pldd-xx.c: New file.
28848 2011-06-07 Ulrich Drepper <drepper@gmail.com>
28850 * version.h: Update for 2.15 development version.
28852 2011-06-07 David S. Miller <davem@davemloft.net>
28854 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28856 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28857 elf_machine_lazy_rel): Likewise.
28858 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28859 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28860 elf_machine_lazy_rel): Likewise.
28861 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28862 dl_hwcap via passed in argument.
28863 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28866 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28868 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28870 2011-06-06 Roland McGrath <roland@hack.frob.com>
28873 * manual/fdl-1.1.texi: New file, verbatim from:
28874 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28875 * manual/lgpl-2.1.texi: New file, verbatim from:
28876 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28877 * manual/Makefile (licenses): New variable, list those new file names.
28879 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28881 * manual/fdl.texi: File removed.
28882 * manual/lesser.texi: File removed.
28883 * manual/libc.texinfo (Copying, Documentation License):
28884 Use new @include file names, put @appendix directive before @include.
28886 2011-06-04 Jakub Jelinek <jakub@redhat.com>
28889 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28890 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28891 (mq_open): Add __NTH.
28893 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28896 Assume Intel Core i3/i5/i7 processor if AVX is available.
28898 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28903 2011-05-31 Andreas Schwab <schwab@redhat.com>
28905 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28906 memory. Use alloca_account. Fix memory leak when retrying.
28908 2011-05-31 Ulrich Drepper <drepper@gmail.com>
28910 * version.h (RELEASE): Bump for 2.14 release.
28911 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28913 * config.make.in (RANLIB): Remove entry.
28915 2011-05-30 Ulrich Drepper <drepper@gmail.com>
28917 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28918 (libc.pot): Work around missing support for .ksh extension in xgettext.
28921 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28922 if both request failed.
28923 (send_dg): In case of server errors clear resplen or *resplen2.
28926 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28927 when there are multiple maps.
28928 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28929 (_dl_fini): Remove test here.
28931 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28933 2011-05-29 Ulrich Drepper <drepper@gmail.com>
28936 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28937 bit from old_res_options.
28938 (gaih_inet): Likewise.
28941 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
28944 * resolv/res_init.c (res_setoptions): Make the code more compact.
28947 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28951 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28953 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28956 * malloc/malloc.h: Declare malloc hook variables as volatile.
28958 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28962 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
28963 raise in the comment.
28964 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28965 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28966 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
28968 2011-05-28 Ulrich Drepper <drepper@gmail.com>
28971 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28972 grow the buffers more if it already has to be sufficient.
28973 (build_wcs_upper_buffer): Likewise.
28974 * posix/regexec.c (check_matching): Likewise.
28975 (clean_state_log_if_needed): Likewise.
28976 (extend_buffers): Don't enlarge buffers beyond size of the input
28978 Patches mostly by Emil Wojak <emil@wojak.eu>.
28979 * posix/bug-regex32.c: New file.
28980 * posix/Makefile (tests): Add bug-regex32.
28982 * locale/findlocale.c (_nl_find_locale): Return right away if
28983 _nl_explode_name failed.
28984 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28986 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28988 * debug/xtrace.sh: Unify messages.
28989 * malloc/memusage.sh: Likewise.
28992 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28993 time symbol from vDSO. Substitute with vsyscall if not available.
28994 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28997 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28998 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28999 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29000 Add sendmmsg and internal_sendmmsg.
29001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29002 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29003 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29005 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29006 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29007 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29009 2011-05-27 Ulrich Drepper <drepper@gmail.com>
29012 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29013 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29015 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29019 * iconvdata/Makefile (tests): Add bug-iconv9.
29020 * iconvdata/bug-iconv9.c: New file.
29022 2011-05-27 Andreas Schwab <schwab@redhat.com>
29025 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29027 2011-05-25 Jakub Jelinek <jakub@redhat.com>
29029 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29030 (struct user_regs_struct): Change intcs field back to cs.
29032 2011-05-25 Ulrich Drepper <drepper@gmail.com>
29034 * po/ja.po: Update from translation team.
29036 2011-05-23 Ulrich Drepper <drepper@gmail.com>
29039 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29040 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29042 2011-05-20 Andreas Schwab <schwab@redhat.com>
29044 * stdlib/longlong.h: Update from GCC.
29046 2011-05-23 Andreas Schwab <schwab@redhat.com>
29048 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29050 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29051 Add parameter name.
29052 (__sysconf): Pass it down.
29054 2011-05-22 Ulrich Drepper <drepper@gmail.com>
29057 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29059 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29060 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29061 add in in __libc_use_alloca calls. Adjust callers.
29062 (glob): Use malloc in some situations.
29064 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29065 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29068 2011-05-21 Ulrich Drepper <drepper@gmail.com>
29070 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29071 and CLOCK_BOOTTIME_ALARM.
29074 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29077 * string/_strerror.c (__strerror_r): Print negative errors as signed
29081 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29082 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29083 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29085 * configure.in: Fix typo in redirection and correct removal of test
29086 files in two cases.
29089 * locale/setlocale.c (new_composite_name): Fix test to check for
29090 identical name of all categories.
29093 * libio/filedoalloc.c (local_isatty): New function.
29094 (_IO_file_doallocate): Use local_isatty.
29095 * stdio-common/perror.c (perror): In case a new stream is used
29096 forward the stream error.
29097 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29100 2011-05-20 Ulrich Drepper <drepper@gmail.com>
29103 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29105 * include/alloca.h (extend_alloca_account): Define.
29108 * posix/regex.h: Fix comments with documentation of user-accessible
29109 fields after compilation and describe correct free'ing of pattern
29110 after re_compile_pattern.
29111 Patch by Reuben Thomas <rrt@sc3d.org>.
29113 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29115 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29116 and -mno-altivec to prevent the compiler from using Altivec and/or
29117 VSX instructions when the corresponding registers are not available.
29119 2011-05-19 Andreas Schwab <schwab@redhat.com>
29121 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29123 2011-05-19 Ulrich Drepper <drepper@gmail.com>
29125 * libio/freopen.c (freopen): Use __dup2, not dup2.
29126 * libio/freopen64.c (freopen64): Likewise.
29128 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29131 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29132 * math/Makefile (tests): Add test-powl.
29133 (CFLAGS-test-powl.c): Define.
29134 * math/test-powl.c: New file.
29136 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29138 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29140 2011-05-17 Ulrich Drepper <drepper@gmail.com>
29143 * iconvdata/gb18030.c: Update to GB18020-2005.
29145 2011-05-16 Ulrich Drepper <drepper@gmail.com>
29147 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29148 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29149 Patch by Aharon Robbins <arnold@skeeve.com>.
29152 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29156 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29157 through underflows.
29160 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29161 point to strings before performing equality test for error_one_per_line
29165 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29168 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29169 (struct user_fpregs_struct): Avoid __uint*_t types.
29172 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29173 symbol info. Use it instead of calling _dl_addr locally.
29174 (lock_and_info): New function.
29175 (tr_freehook): Call lock_and_info and pass symbol info as additional
29176 parameter to tr_where.
29177 (tr_mallochook): Likewise.
29178 (tr_reallochook): Likewise.
29179 (tr_memalignhook): Likewise.
29181 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29182 used and couldn't be at all thread-safe.
29184 2011-05-15 Ulrich Drepper <drepper@gmail.com>
29186 * libio/freopen.c (freopen): Don't close old file descriptor
29187 before the new one is opened. Instead dup the new file descriptor
29188 to the old one after the new stream is created.
29189 * libio/freopen64.c (freopen64): Likewise.
29190 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29191 * libio/fileops.c (_IO_new_file_close_it): Handle new
29192 _IO_FLAGS2_NOCLOSE flag.
29193 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29194 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29195 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29196 _IO_FLAGS2_NOCLOSE flag.
29197 * include/unistd.h: Add hidden_proto for dup3.
29198 Define __have_dup3.
29199 * io/dup3.c: Define hidden symbol.
29200 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29203 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29204 when an incomplete long option is used.
29205 * posix/tst-getopt_long1.c: New file.
29206 * posix/Makefile (tests): Add tst-getopt_long1.
29209 * scripts/config.guess: Update from autoconf-2.68.
29210 * scripts/config.sub: Likewise.
29213 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29215 (has_cpuclock): ...this. New function.
29216 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29217 macro here based on has_cpuclock code.
29220 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29221 First byte (not low byte) is now always NUL.
29222 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29224 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29225 Use non-cancelable interfaces.
29228 * locale/iso-639.def: Add entry for Sorani.
29231 * include/stdlib.h: Move include protection to the right place.
29232 Define abort_msg_s. Declare __abort_msg with it.
29233 * stdlib/abort.c (__abort_msg): Adjust type.
29234 * assert/assert.c (__assert_fail_base): New function. Majority
29235 of code from __assert_fail. Allocate memory for __abort_msg with
29237 (__assert_fail): Now call __assert_fail_base.
29238 * assert/assert-perr.c: Remove bulk of implementation. Use
29239 __assert_fail_base.
29240 * include/assert.hL Declare __assert_fail_base.
29241 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29243 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29245 2011-05-14 Ulrich Drepper <drepper@gmail.com>
29249 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29250 until all modules are registered in the DTV.
29251 * elf/Makefile: Add rules to build and run tst-tls19.
29252 * elf/tst-tls19.c: New file.
29253 * elf/tst-tls19mod1.c: New file.
29254 * elf/tst-tls19mod2.c: New file.
29255 * elf/tst-tls19mod3.c: New file.
29256 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29259 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29263 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29264 two-byte sequence errors.
29265 * iconvdata/Makefile (tests): Add bug-iconv8.
29266 * iconvdata/bug-iconv8.c: New file.
29269 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29272 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29275 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29276 (dummy_getcfa): New function.
29277 (init): Get _Unwind_GetCFA address, use dummy if not found.
29278 (backtrace_helper): In recursion check, also check whether CFA changes.
29279 (__backtrace): Completely initialize arg.
29281 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
29282 storing incomplete byte sequence in state object. Avoid testing for
29283 guaranteed too small input if we know there is enough data available.
29285 2011-05-11 Andreas Schwab <schwab@redhat.com>
29287 * Makeconfig (+link-pie): Indent.
29288 * Rules (binaries-pie): Define if $(have-fpie) and
29290 (binaries-shared): Also filter out $(binaries-pie).
29291 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29292 * nscd/Makefile (others-pie): Add nscd.
29293 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29294 ($(objpfx)nscd): Remove command override.
29295 * login/Makefile (others-pie): Add pt_chown.
29296 ($(objpfx)pt_chown): Remove command override.
29297 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29298 remove command overrides.
29300 2011-05-13 Ulrich Drepper <drepper@gmail.com>
29302 * libio/tst_putwc.c: Fix error messages.
29305 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29306 currently writing and seek to current position when not.
29307 * libio/Makefile (tests): Add bug-fclose1.
29308 * libio/bug-fclose1.c: New file.
29310 2011-05-12 Ulrich Drepper <drepper@gmail.com>
29313 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29314 don't set DF_1_NODELETE here.
29315 (do_lookup_x): When entering new entry test for copy relocation
29316 and if necessary set DF_1_NODELETE flag.
29317 * elf/tst-unique4.cc: New file.
29318 * elf/tst-unique4.h: New file.
29319 * elf/tst-unique4lib.cc: New file.
29320 * elf/Makefile: Add rules to build and run tst-unique4.
29321 Patch by Piotr Bury <pbury@goahead.com>.
29323 2011-05-11 Ulrich Drepper <drepper@gmail.com>
29326 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29329 * misc/mntent_r.c (addmntent): Flush the stream after the output
29332 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29333 (is_trusted_path_normalize): Skip initial colon. Append slash
29334 to empty buffer. Duplicate is_trusted_path code but allow
29335 constructed patch to be prefix.
29336 (is_dst): Allow $ORIGIN followed by /.
29337 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29338 Correct testing of result of is_trusted_path_normalize
29339 (decompose_rpath): Fix warning.
29341 2011-05-10 Ulrich Drepper <drepper@gmail.com>
29344 * grp/initgroups.c (internal_getgrouplist): When we found the service
29345 list through the initgroups entry in nsswitch.conf do not always
29346 continue on a successful lookup. Don't always use the
29347 __nss_group_database value if it is set.
29348 * nss/nsswitch.conf (initgroups): Change action for successful db
29349 lookup to continue for compatibility.
29351 2011-05-09 Ulrich Drepper <drepper@gmail.com>
29354 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29356 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29358 * iconvdata/tst-tables.sh: Likewise.
29359 * iconvdata/cp770.c: New file.
29360 * iconvdata/cp771.c: New file.
29361 * iconvdata/cp772.c: New file.
29362 * iconvdata/cp773.c: New file.
29363 * iconvdata/cp774.c: New file.
29364 * iconvdata/testdata/CP770: New file.
29365 * iconvdata/testdata/CP770..UTF8: New file.
29366 * iconvdata/testdata/CP771: New file.
29367 * iconvdata/testdata/CP771..UTF8: New file.
29368 * iconvdata/testdata/CP772: New file.
29369 * iconvdata/testdata/CP772..UTF8: New file.
29370 * iconvdata/testdata/CP773: New file.
29371 * iconvdata/testdata/CP773..UTF8: New file.
29372 * iconvdata/testdata/CP774: New file.
29373 * iconvdata/testdata/CP774..UTF8: New file.
29375 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29377 * iconvdata/gen-8bit-gap.sh: Likewise.
29378 * iconvdata/gen-8bit.sh: Likewise.
29380 * locale/iso-639.def: Add ary entry.
29383 * locale/C-translit.h.in: Add U20A1 transliteration.
29386 * locale/iso-639.def: Add wae entry.
29387 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29390 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29394 * locale/C-translit.h.in: Add entry for U20B9.
29395 Patch by pravin.d.s@gmail.com.
29397 2011-05-08 Ulrich Drepper <drepper@gmail.com>
29400 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29401 ENAMETOOLONG use generic getcwd.
29402 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29403 in rtld. Use *stat64.
29404 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
29405 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
29406 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
29407 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29408 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29409 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29410 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29411 __fstatat64 macros.
29412 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29413 * dirent/rewinddir.c: Add libc_hidden_def.
29414 * sysdeps/mach/hurd/rewinddir.c: Likewise.
29415 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
29417 * include/dirent.h (__alloc_dir): Add flags parameter.
29418 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29419 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29421 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29422 from fdopendir if O_CLOEXEC is already set.
29424 2011-03-15 Alan Modra <amodra@gmail.com>
29426 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29427 l_tls_firstbyte_offset non-zero. Save padding offset in
29428 l_tls_firstbyte_offset for later use.
29429 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29430 freeing static tls block.
29432 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29434 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29435 where #ifdef was intended. The intent is to prevent ARG_MAX from
29436 being defined by the kernel headers.
29438 2011-05-07 Ulrich Drepper <drepper@gmail.com>
29441 * resolv/resolv.h: Define RES_NOTLDQUERY.
29442 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29443 no-tld-query and set RES_NOTLDQUERY.
29444 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29445 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29446 modern BIND to search name as TLD unless forbidden.
29448 2011-05-07 Petr Baudis <pasky@suse.cz>
29449 Ulrich Drepper <drepper@gmail.com>
29452 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29453 (is_trusted_path): ...to here.
29454 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
29455 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
29456 using is_trusted_path_normalize() in setuid scripts.
29458 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29460 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29461 __BEGIN/__END_DECLS.
29463 2011-05-06 Ulrich Drepper <drepper@gmail.com>
29465 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29466 NSS_STATUS_NOTFOUND if no record was found.
29468 2011-05-05 Andreas Schwab <schwab@redhat.com>
29470 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29471 (headers-not-in-tirpc): Remove rpc/netdb.h
29472 * resolv/netdb.h: Revert last change.
29474 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29476 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29477 circular dependency between libgcc.a and libc.a.
29479 2011-05-05 Andreas Schwab <schwab@redhat.com>
29481 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29482 * nis/Makefile: Don't install rpcsvc/*.
29483 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29484 instead of <rpc/types.h>.
29485 (MAXHOSTNAMELEN): Define.
29487 2011-05-03 Andreas Schwab <schwab@redhat.com>
29489 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29491 2011-04-28 Maciej Babinski <mbabinski@google.com>
29494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29495 gethostbyname4_r when IPv6 results are possible.
29497 2011-05-02 Ulrich Drepper <drepper@gmail.com>
29500 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29501 _PC_PIPE_BUF handling.
29503 2011-04-30 Bruno Haible <bruno@clisp.org>
29506 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29507 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29509 * inet/getnameinfo.c (getnameinfo): Likewise.
29511 2011-04-29 Ulrich Drepper <drepper@gmail.com>
29513 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29514 to groups setting in database lookup.
29515 * nss/nsswitch.conf: Add initgroups entry.
29517 2011-04-22 Ulrich Drepper <drepper@gmail.com>
29520 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29522 Patch by Eric Blake <eblake@redhat.com>.
29524 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29526 * sunrpc/Makefile (need-export-routines): Add svc_run.
29527 (routines): Remove svc_run.
29528 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29529 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29530 * sunrpc/svc_run.c (svc_run): Likewise.
29531 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29533 2011-04-21 Ulrich Drepper <drepper@gmail.com>
29535 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29536 problem in reallocation in last patch.
29538 2011-04-20 Ulrich Drepper <drepper@gmail.com>
29540 * sunrpc/Makefile: Move inclusion of Rules.
29542 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29544 * nss/nss_files/files-initgroups.c: New file.
29545 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29546 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29547 _nss_files_initgroups_dyn.
29549 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29551 * elf/elf.h (R_ARM_IRELATIVE): Define.
29553 2011-04-19 Ulrich Drepper <drepper@gmail.com>
29555 * po/ru.po: Update from translation team.
29557 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29559 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29562 2011-02-06 Mike Frysinger <vapier@gentoo.org>
29565 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29566 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29567 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29568 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29569 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29571 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29573 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29575 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29576 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29579 2011-04-17 Ulrich Drepper <drepper@gmail.com>
29582 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29584 * stdlib/bug-getcontext.c: New file.
29585 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29587 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29589 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29590 instructions into .machine "z9-109".
29591 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29592 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29594 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29596 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29597 between environment variables and auxiliary vector.
29599 2011-04-16 Ulrich Drepper <drepper@gmail.com>
29601 * Makefile: Add rules to build linkobj/libc.so.
29602 * include/libc-symbols.h: Define libc_hidden_nolink.
29603 * include/rpc/auth.h: Mark functions which are to be hidden.
29604 * include/rpc/auth_des.h: Likewise.
29605 * include/rpc/auth_unix.h: Likewise.
29606 * include/rpc/clnt.h: Likewise.
29607 * include/rpc/des_crypt.h: Likewise.
29608 * include/rpc/key_prot.h: Likewise.
29609 * include/rpc/pmap_clnt.h: Likewise.
29610 * include/rpc/pmap_prot.h: Likewise.
29611 * include/rpc/pmap_rmt.h: Likewise.
29612 * include/rpc/rpc_msg.h: Likewise.
29613 * include/rpc/svc.h: Likewise.
29614 * include/rpc/svc_auth.h: Likewise.
29615 * include/rpc/xdr.h: Likewise.
29616 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29617 * nss/Makefile: Likewise.
29618 * sunrpc/Makefile: Don't install headers. Build library with normal
29619 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29620 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29621 for the compat linking library. Remove use of INTDEF/INTUSE.
29622 * sunrpc/auth_none.c: Likewise.
29623 * sunrpc/auth_unix.c: Likewise.
29624 * sunrpc/authdes_prot.c: Likewise.
29625 * sunrpc/authuxprot.c: Likewise.
29626 * sunrpc/clnt_gen.c: Likewise.
29627 * sunrpc/clnt_perr.c: Likewise.
29628 * sunrpc/clnt_raw.c: Likewise.
29629 * sunrpc/clnt_simp.c: Likewise.
29630 * sunrpc/clnt_tcp.c: Likewise.
29631 * sunrpc/clnt_udp.c: Likewise.
29632 * sunrpc/clnt_unix.c: Likewise.
29633 * sunrpc/des_crypt.c: Likewise.
29634 * sunrpc/des_soft.c: Likewise.
29635 * sunrpc/get_myaddr.c: Likewise.
29636 * sunrpc/key_call.c: Likewise.
29637 * sunrpc/key_prot.c: Likewise.
29638 * sunrpc/netname.c: Likewise.
29639 * sunrpc/pm_getmaps.c: Likewise.
29640 * sunrpc/pm_getport.c: Likewise.
29641 * sunrpc/pmap_clnt.c: Likewise.
29642 * sunrpc/pmap_prot.c: Likewise.
29643 * sunrpc/pmap_prot2.c: Likewise.
29644 * sunrpc/pmap_rmt.c: Likewise.
29645 * sunrpc/publickey.c: Likewise.
29646 * sunrpc/rpc_cmsg.c: Likewise.
29647 * sunrpc/rpc_common.c: Likewise.
29648 * sunrpc/rpc_dtable.c: Likewise.
29649 * sunrpc/rpc_prot.c: Likewise.
29650 * sunrpc/rpc_thread.c: Likewise.
29651 * sunrpc/rtime.c: Likewise.
29652 * sunrpc/svc.c: Likewise.
29653 * sunrpc/svc_auth.c: Likewise.
29654 * sunrpc/svc_authux.c: Likewise.
29655 * sunrpc/svc_raw.c: Likewise.
29656 * sunrpc/svc_run.c: Likewise.
29657 * sunrpc/svc_simple.c: Likewise.
29658 * sunrpc/svc_tcp.c: Likewise.
29659 * sunrpc/svc_udp.c: Likewise.
29660 * sunrpc/svc_unix.c: Likewise.
29661 * sunrpc/svcauth_des.c: Likewise.
29662 * sunrpc/xcrypt.c: Likewise.
29663 * sunrpc/xdr.c: Likewise.
29664 * sunrpc/xdr_array.c: Likewise.
29665 * sunrpc/xdr_float.c: Likewise.
29666 * sunrpc/xdr_intXX_t.c: Likewise.
29667 * sunrpc/xdr_mem.c: Likewise.
29668 * sunrpc/xdr_rec.c: Likewise.
29669 * sunrpc/xdr_ref.c: Likewise.
29670 * sunrpc/xdr_sizeof.c: Likewise.
29671 * sunrpc/xdr_stdio.c: Likewise.
29673 2011-04-10 Ulrich Drepper <drepper@gmail.com>
29676 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29677 * sysdeps/ia64/dl-tls.h: Likewise.
29678 * sysdeps/powerpc/dl-tls.h: Likewise.
29679 * sysdeps/s390/dl-tls.h: Likewise.
29680 * sysdeps/sh/dl-tls.h: Likewise.
29681 * sysdeps/sparc/dl-tls.h: Likewise.
29682 * sysdeps/x86_64/dl-tls.h: Likewise.
29683 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29685 2011-03-14 Andreas Schwab <schwab@redhat.com>
29687 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29688 rpath element also skip the following colon.
29689 (expand_dynamic_string_token): Add is_path parameter and pass
29690 down to DL_DST_REQUIRED and _dl_dst_substitute.
29691 (decompose_rpath): Call expand_dynamic_string_token with
29692 non-zero is_path. Ignore empty rpaths.
29693 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29696 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29701 2011-04-09 Ulrich Drepper <drepper@gmail.com>
29704 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29705 Patch by Filipe David Manana <fdmanana@apache.org>.
29707 2011-04-07 Andreas Schwab <schwab@redhat.com>
29709 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29710 Maintain aligned stack.
29711 (CHECK_RSP): Remove unused macro.
29713 2011-04-03 Ulrich Drepper <drepper@gmail.com>
29715 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29716 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29718 2011-04-02 Ulrich Drepper <drepper@gmail.com>
29720 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29722 * include/features.h: Mention __USE_XOPEN2K8 in comment.
29724 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29727 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29728 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29729 * sysdeps/x86_64/memmove.c: New file.
29730 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29731 (memcpy): Renamed to ...
29732 (__new_memcpy): This.
29733 (memcpy): Provide GLIBC_2_14 memcpy.
29734 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29735 (memcpy): Provide GLIBC_2_2_5 memcpy.
29737 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29740 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29742 2011-03-30 Andreas Schwab <schwab@redhat.com>
29744 * misc/syncfs.c: New file.
29745 * misc/Makefile (routines): Add syncfs.
29746 * posix/unistd.h: Declare syncfs.
29747 * sysdeps/unix/syscalls.list: Add syncfs.
29749 2011-04-01 Andreas Schwab <schwab@redhat.com>
29751 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29753 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29754 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29755 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29756 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29757 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29758 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29759 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29761 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29764 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29765 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29766 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29767 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29768 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29771 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29772 sync_file_range.c with -fexceptions.
29773 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29774 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29775 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29776 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29777 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29778 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29779 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
29780 sync_file_range as cancellation point
29781 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29782 now a wrapper around __call_sync_file_range with cancellation handling.
29783 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29784 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29785 function name to __call_sync_file_range.
29786 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29787 Add call_sync_file_range.
29789 2011-04-01 Andreas Schwab <schwab@redhat.com>
29791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29794 2011-04-01 Ulrich Drepper <drepper@gmail.com>
29796 * iconv/iconv.h: Fix typo in comment.
29797 * io/fcntl.h: Likewise.
29798 * libio/stdio.h: Likewise.
29799 * posix/spawn.h: Likewise.
29800 * posix/unistd.h: Likewise.
29801 * stdlib/stdlib.h: Likewise.
29802 * time/time.h: Likewise.
29803 * wcsmbs/wchar.h: Likewise.
29805 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29806 open_by_handle): Add.
29807 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29808 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29809 Augment a few comments.
29810 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29811 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29812 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29813 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29814 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29815 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29818 * io/fcntl.h (AT_EMPTY_PATH): Define.
29820 2011-03-30 Ulrich Drepper <drepper@gmail.com>
29822 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29823 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29824 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29826 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
29827 * Versions.def: Add GLIBC_2.14.
29828 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29831 2011-03-22 Ulrich Drepper <drepper@gmail.com>
29833 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29835 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29837 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29840 * string/test-strncmp.c (do_page_test): New function.
29841 (check2): Likewise.
29842 (test_main): Call check2.
29843 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29845 2011-03-20 Ulrich Drepper <drepper@gmail.com>
29848 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29849 Handle cache information in CPU leaf 4.
29850 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29852 2011-03-18 Ulrich Drepper <drepper@gmail.com>
29855 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29856 character representation.
29857 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29859 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29861 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29862 END(__isnan) to END(__isnanf) to match function entry point/label
29863 EALIGN(__isnanf,...).
29865 2011-03-10 Jakub Jelinek <jakub@redhat.com>
29867 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29869 2011-03-10 Ulrich Drepper <drepper@gmail.com>
29872 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29873 copy from the symbol referenced in the relocation to initialize the
29875 Patch by Piotr Bury <pbury@goahead.com>.
29876 * elf/Makefile: Add rules to build and tst-unique3.
29877 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29878 * elf/tst-unique3.cc: New file.
29879 * elf/tst-unique3.h: New file.
29880 * elf/tst-unique3lib.cc: New file.
29881 * elf/tst-unique3lib2.cc: New file.
29883 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29885 2011-03-10 Mike Frysinger <vapier@gentoo.org>
29887 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29888 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29891 2011-03-06 Ulrich Drepper <drepper@gmail.com>
29893 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29894 to-be-loaded object along a path to loader is ld.so.
29896 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29897 Ulrich Drepper <drepper@gmail.com>
29899 * sysdeps/x86_64/memset.S: After aligning destination, code
29900 branches to different locations depending on the value of
29901 misalignment, when multiarch is enabled. Fix this.
29903 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29905 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29906 Set _x86_64_preferred_memory_instruction for AMD processsors.
29907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29908 Set bit_Prefer_SSE_for_memop for AMD processors.
29910 2011-03-04 Ulrich Drepper <drepper@gmail.com>
29912 * libio/fmemopen.c (fmemopen): Optimize a bit.
29914 2011-03-03 Andreas Schwab <schwab@redhat.com>
29916 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29918 2011-03-03 Roland McGrath <roland@redhat.com>
29920 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29922 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29924 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
29925 __bzero_ultra1 instead of __memset_ultra1.
29927 2011-02-23 Andreas Schwab <schwab@redhat.com>
29928 Ulrich Drepper <drepper@gmail.com>
29931 * include/link.h (struct link_map): Add l_orig_initfini.
29932 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29933 returning unsuccessfully.
29934 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29935 close of a file loaded at startup, restore the original l_initfini
29937 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29938 list, store the pointer.
29939 * elf/Makefile ($(objpfx)noload-mem): New rule.
29940 (noload-ENV): Define.
29941 (tests): Add $(objpfx)noload-mem.
29942 * elf/noload.c: Include <memcheck.h>.
29943 (main): Call mtrace. Close all opened handles.
29945 2011-02-17 Andreas Schwab <schwab@redhat.com>
29948 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29949 dependencies are missing.
29951 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29953 Fix __if_freereq crash: Unlike the generic version which uses free,
29955 * sysdeps/mach/hurd/ifreq.h: New file.
29957 2011-01-27 Petr Baudis <pasky@suse.cz>
29958 Ulrich Drepper <drepper@gmail.com>
29961 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29962 to extend_alloca().
29963 * stdio-common/bug23.c: New file.
29964 * stdio-common/Makefile (tests): Add bug23.
29966 2010-09-28 Andreas Schwab <schwab@redhat.com>
29967 Ulrich Drepper <drepper@gmail.com>
29970 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29971 before performing relro protection. At old place add assertion
29972 to make sure nothing changed.
29974 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29975 Glauber de Oliveira Costa <glommer@gmail.com>
29977 * elf/elf.h: Add new ARM TLS relocs.
29979 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29982 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29984 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29986 * sysdeps/wordsize-64/tst-writev.c: New file.
29988 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29990 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29991 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29992 insns in _dl_start to prevent a TOC reference before relocs are
29995 2011-02-15 Ulrich Drepper <drepper@gmail.com>
29998 * Makeconfig: Remove RANLIB definition.
29999 * Makerules: Don't use RANLIB.
30000 * aclocal.m4: Remove ranlib test.
30001 * configure.in: No need to check for ranlib.
30002 * elf/rtld-Rules: Don't use RANLIB.
30004 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30006 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30008 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30009 inclusion protection macro.
30011 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30012 SIGRTMIN and SIGRTMAX and print information in that case only when
30013 SIGRTMIN is defined.
30015 2011-02-11 Jakub Jelinek <jakub@redhat.com>
30017 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30018 arginfo fn returning -1.
30020 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30021 and thousands string is zero terminated.
30023 2011-02-03 Andreas Schwab <schwab@redhat.com>
30025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30026 sysdeps/unix/sysv/linux/bits/socket.h.
30028 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30030 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30031 (__CPU_COUNT): Remove old macros.
30032 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30033 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30034 (__CPU_ALLOC, __CPU_FREE): Add macros.
30035 (__sched_cpualloc, __sched_cpufree): Add declarations.
30037 2011-02-05 Ulrich Drepper <drepper@gmail.com>
30039 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30040 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30041 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30042 (readdhstai): Return value of addhstaiX call.
30043 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30044 (addgrbyX): Return value returned by cache_addgr.
30045 (readdgrbyname): Return value returned by addgrbyX.
30046 (readdgrbygid): Likewise.
30047 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30048 (addpwbyX): Return value returned by cache_addpw.
30049 (readdpwbyname): Return value returned by addhstbyX.
30050 (readdpwbyuid): Likewise.
30051 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30052 (addservbyX): Return value returned by cache_addserv.
30053 (readdservbyname): Return value returned by addservbyX:
30054 (readdservbyport): Likewise.
30055 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30056 (addhstbyX): Return value returned by cache_addhst.
30057 (readdhstbyname): Return value returned by addhstbyX.
30058 (readdhstbyaddr): Likewise.
30059 (readdhstbynamev6): Likewise.
30060 (readdhstbyaddrv6): Likewise.
30061 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30062 (readdinitgroups): Return value returned by addinitgroupsX.
30063 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30064 (prune_cache): Keep track of timeout value of re-added entries.
30065 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30066 * nscd/nscd.h: Adjust prototypes of readd* functions.
30068 2011-02-04 Roland McGrath <roland@redhat.com>
30070 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30071 (nis_stats): Likewise.
30072 * nis/nis_modify.c (nis_modify): Likewise.
30073 * nis/nis_remove.c (nis_remove): Likewise.
30074 * nis/nis_add.c (nis_add): Likewise.
30076 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30078 * posix/fnmatch_loop.c: Add some consts.
30080 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30082 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30085 * config.make.in (config-cflags-novzeroupper): Define.
30086 * configure.in: Substitute libc_cv_cc_novzeroupper.
30087 * elf/Makefile (AVX-CFLAGS): Define.
30088 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30089 (CFLAGS-tst-auditmod4a.c): Likewise.
30090 (CFLAGS-tst-auditmod4b.c): Likewise.
30091 (CFLAGS-tst-auditmod6b.c): Likewise.
30092 (CFLAGS-tst-auditmod6c.c): Likewise.
30093 (CFLAGS-tst-auditmod7b.c): Likewise.
30094 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30096 2011-02-02 Ulrich Drepper <drepper@gmail.com>
30098 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30099 function to the callback.
30100 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30102 2011-02-02 Andreas Schwab <schwab@redhat.com>
30104 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30107 2011-01-19 Ulrich Drepper <drepper@gmail.com>
30110 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30112 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30114 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30117 * elf/Makefile: Add rules to build and run new test.
30118 * elf/tst-initorder.c: New file.
30119 * elf/tst-initorder.exp: New file.
30120 * elf/tst-initordera1.c: New file.
30121 * elf/tst-initordera2.c: New file.
30122 * elf/tst-initordera3.c: New file.
30123 * elf/tst-initordera4.c: New file.
30124 * elf/tst-initorderb1.c: New file.
30125 * elf/tst-initorderb2.c: New file.
30126 * elf/tst-order-a1.c: New file.
30127 * elf/tst-order-a2.c: New file.
30128 * elf/tst-order-a3.c: New file.
30129 * elf/tst-order-a4.c: New file.
30130 * elf/tst-order-b1.c: New file.
30131 * elf/tst-order-b2.c: New file.
30132 * elf/tst-order-main.c: New file.
30133 New test case by George Gensure <werkt0@gmail.com>.
30135 2010-10-01 Andreas Schwab <schwab@redhat.com>
30137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30138 decoding ACE if AI_CANONIDN.
30140 2011-01-18 Ulrich Drepper <drepper@gmail.com>
30142 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30144 2011-01-17 Ulrich Drepper <drepper@gmail.com>
30146 * version.h (RELEASE): Bump for 2.13 release.
30147 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30149 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30151 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30153 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30154 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30155 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30156 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30157 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30158 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30160 * posix/getconf.c: Update copyright year.
30161 * catgets/gencat.c: Likewise.
30162 * csu/version.c: Likewise.
30163 * debug/catchsegv.sh: Likewise.
30164 * debug/xtrace.sh: Likewise.
30165 * elf/ldconfig.c: Likewise.
30166 * elf/ldd.bash.in: Likewise.
30167 * elf/sprof.c (print_version): Likewise.
30168 * iconv/iconv_prog.c: Likewise.
30169 * iconv/iconvconfig.c: Likewise.
30170 * locale/programs/locale.c: Likewise.
30171 * locale/programs/localedef.c: Likewise.
30172 * malloc/memusage.sh: Likewise.
30173 * malloc/mtrace.pl: Likewise.
30174 * nscd/nscd.c (print_version): Likewise.
30175 * nss/getent.c: Likewise.
30177 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30178 PF_CAIF, and PF_ALG.
30179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30181 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30183 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30184 (modules-names): Use them.
30185 (ifunc-test-modules, ifunc-pie-tests): Define.
30186 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30187 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30188 (test-extras): Likewise.
30189 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30190 $(compile-command.c).
30191 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30192 (all-built-dso): Define.
30193 (check-textrel.out, check-execstack.out): Depend on it.
30195 * configure.in: Don't override --enable-multi-arch.
30197 2011-01-15 Ulrich Drepper <drepper@gmail.com>
30200 * nscd/hstcache.c (tryagain): Define.
30201 (cache_addhst): Return tryagain not notfound for temporary errors.
30202 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30205 2011-01-14 Ulrich Drepper <drepper@gmail.com>
30208 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30209 to make the syscall.
30210 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30213 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30214 and fall back to matching as normal character if the string ends before
30215 the matching ']' is found. This is what POSIX requires.
30216 * posix/testfnm.c: Adjust test result.
30217 * posix/globtest.sh: Adjust test result. Add new test.
30218 * posix/tst-fnmatch.input: Likewise.
30219 * posix/tst-fnmatch2.c: Add new test.
30221 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30223 * elf/Makefile (check-execstack): Revert last change. Depend on
30225 (check-execstack.h): New target.
30226 (generated): Add check-execstack.h.
30227 * elf/check-execstack.c: Include "check-execstack.h".
30228 (main): Revert last change.
30229 (handle_file): Return zero if GNU_STACK is absent and
30230 DEFAULT_STACK_PERMS doesn't include PF_X.
30232 2011-01-13 Ulrich Drepper <drepper@gmail.com>
30234 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30235 in child fails because the descriptor is already closed.
30236 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30237 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30238 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
30241 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30245 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30246 temporary buffer used to handle multi lookups locally.
30247 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
30249 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30251 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30254 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30256 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30257 alignment for SSE2.
30259 2011-01-12 Ulrich Drepper <drepper@gmail.com>
30262 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30263 characters. When rounding increased number of integer digits recompute
30265 * stdio-common/tst-grouping.c: New file.
30266 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30268 2011-01-09 Ulrich Drepper <drepper@gmail.com>
30270 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30271 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30273 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30275 * bits/select.h: Likewise.
30277 2011-01-08 Ulrich Drepper <drepper@gmail.com>
30279 * po/ja.po: Update from translation team.
30281 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
30284 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30285 implementation just like for lxstat, fxstatat, et al.
30287 2010-12-27 Jim Meyering <meyering@redhat.com>
30290 * posix/regexec.c (build_trtable): Return failure indication upon
30291 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30293 2010-12-25 Ulrich Drepper <drepper@gmail.com>
30296 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30297 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30298 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30299 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30302 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30305 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30306 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30308 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30310 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30311 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30312 script has SORT_BY_INIT_PRIORITY.
30313 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30314 NO_CTORS_DTORS_SECTIONS is defined.
30315 * elf/soinit.c: Likewise.
30316 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30317 NO_CTORS_DTORS_SECTIONS is defined.
30318 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30319 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30320 * sysdeps/sh/init-first.c: Likewise.
30321 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30323 2010-12-24 Ulrich Drepper <drepper@gmail.com>
30325 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30326 always use the slow path.
30328 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30330 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30331 similar rule which adds the sysdep directories to the header search in
30332 order to pick up the correct platform stackinfo.h.
30333 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30334 perform test if it is, otherwise return successfully without testing.
30335 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30336 DEFAULT_STACK_PERMS define in stackinfo.h.
30337 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30338 defined in stackinfo.h.
30339 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30340 DEFAULT_STACK_PERMS defined in stackinfo.h.
30341 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30342 * sysdeps/ia64/stackinfo.h: Likewise.
30343 * sysdeps/s390/stackinfo.h: Likewise.
30344 * sysdeps/sh/stackinfo.h: Likewise.
30345 * sysdeps/sparc/stackinfo.h: Likewise.
30346 * sysdeps/x86_64/stackinfo.h: Likewise.
30347 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30348 PF_X for powerpc64. Retain PF_X for powerpc32.
30350 2010-12-19 Ulrich Drepper <drepper@gmail.com>
30352 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30354 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30355 GETDENTS_64BIT_ALIGNED.
30357 2010-12-14 Ulrich Drepper <dreper@gmail.com>
30359 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
30361 2010-12-10 Andreas Schwab <schwab@redhat.com>
30363 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30366 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30367 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30369 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30370 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30372 2010-12-09 Ulrich Drepper <drepper@gmail.com>
30375 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30378 2010-12-09 Jakub Jelinek <jakub@redhat.com>
30380 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30382 2010-12-03 Ulrich Drepper <drepper@gmail.com>
30384 * po/it.po: Update from translation team.
30386 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30388 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30391 2010-11-30 Ulrich Drepper <drepper@gmail.com>
30393 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30395 2010-11-24 Andreas Schwab <schwab@redhat.com>
30397 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30399 (gaih_getanswer_slice): Likewise.
30401 2010-10-20 Jakub Jelinek <jakub@redhat.com>
30403 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30405 2010-05-31 Petr Baudis <pasky@suse.cz>
30408 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30409 silently even in the chroot mode.
30411 2010-11-22 Ulrich Drepper <drepper@gmail.com>
30413 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30414 last patch a bit. Pretty printing
30416 2010-05-31 Petr Baudis <pasky@suse.cz>
30419 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30420 initialization of skip_initgroups_dyn.
30422 2010-11-19 Ulrich Drepper <drepper@gmail.com>
30424 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30425 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30427 2010-11-16 Ulrich Drepper <drepper@gmail.com>
30429 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30431 2010-11-11 Andreas Schwab <schwab@redhat.com>
30433 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30434 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30435 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30436 ($(objpfx)tst-fnmatch-mem): New rule.
30437 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30438 * posix/tst-fnmatch.c (main): Call mtrace.
30440 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30443 Support Intel processor model 6 and model 0x2c.
30445 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
30447 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30450 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30453 * string/test-strncasecmp.c (check_result): New function.
30454 (do_one_test): Use it.
30455 (check1): New function.
30456 (test_main): Use it.
30457 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30458 Support strcasecmp and strncasecmp.
30460 2010-11-08 Ulrich Drepper <drepper@gmail.com>
30463 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30464 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30466 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30468 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30472 * sysdeps/x86_64/multiarch/bzero.S: New file.
30473 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30474 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30475 * sysdeps/x86_64/multiarch/memset.S: New file.
30476 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30477 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30478 Set bit_Prefer_SSE_for_memop for Intel processors.
30479 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30481 (index_Prefer_SSE_for_memop): Define.
30482 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30484 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
30486 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30487 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30489 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30492 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30493 (__x86_64_raw_data_cache_size_half): Likewise.
30494 (__x86_64_raw_shared_cache_size): Likewise.
30495 (__x86_64_raw_shared_cache_size_half): Likewise.
30497 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30498 (__x86_64_raw_data_cache_size_half): Likewise.
30499 (__x86_64_raw_shared_cache_size): Likewise.
30500 (__x86_64_raw_shared_cache_size_half): Likewise.
30501 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30502 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30503 and __x86_64_raw_shared_cache_size_half. Round
30504 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30505 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30506 to multiple of 256 bytes.
30508 2010-11-03 Ulrich Drepper <drepper@gmail.com>
30511 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30512 of inacessible symlinks. Verify result of symlink before returning it.
30513 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30514 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30516 2010-10-28 Erich Ritz <erichritz@gmail.com>
30518 * math/math.h (isinf): Fix typo in comment.
30520 2010-11-01 Ulrich Drepper <drepper@gmail.com>
30522 * po/da.po: Update from translation team.
30524 2010-10-26 Ulrich Drepper <drepper@gmail.com>
30526 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30527 is added to the list.
30529 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30530 Ulrich Drepper <drepper@gmail.com>
30532 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30533 the global list here. Move code to...
30534 (_dl_add_to_namespace_list): ...here. New function.
30535 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30536 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30537 * elf/dl-load.c (lose): Don't remove the element from the list.
30538 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30539 (_dl_map_object): Likewise.
30541 2010-10-25 Ulrich Drepper <drepper@gmail.com>
30544 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30545 into all bytes of SSE register.
30546 Patch by Richard Li <richardpku@gmail.com>.
30548 2010-10-24 Ulrich Drepper <drepper@gmail.com>
30551 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30554 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30556 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30557 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30558 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30559 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30564 2010-10-22 Andreas Schwab <schwab@redhat.com>
30566 * include/dlfcn.h (__RTLD_SECURE): Define.
30567 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30568 mode & __RTLD_SECURE instead.
30569 (open_path): Rename preloaded parameter to secure.
30570 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30571 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30572 * elf/dl-deps.c (openaux): Likewise.
30573 * elf/rtld.c (struct map_args): Remove is_preloaded.
30574 (map_doit): Don't use it.
30575 (dl_main): Likewise.
30576 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30577 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30579 2010-09-09 Andreas Schwab <schwab@redhat.com>
30581 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30582 (sysd-rules-targets): Remove duplicates.
30583 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30584 rtld-%.$o dependency.
30586 2010-10-18 Andreas Schwab <schwab@redhat.com>
30588 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30589 _dl_map_object do it.
30591 2010-10-19 Ulrich Drepper <drepper@gmail.com>
30593 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30594 fast fma builtins, define the macros in the C99 standard.
30595 (FP_FAST_FMAF): Likewise.
30596 (FP_FAST_FMAL): Likewise.
30597 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30599 * bits/mathdef.h: Update copyright year.
30600 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30602 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30604 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30605 builtins, define the macros in the C99 standard.
30606 (FP_FAST_FMAF): Likewise.
30607 (FP_FAST_FMAL): Likewise.
30608 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30610 (FP_FAST_FMAF): Likewise.
30612 2010-10-15 Jakub Jelinek <jakub@redhat.com>
30615 * math/libm-test.inc (fma_test): Some new testcases.
30616 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30617 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30618 y and infinite z. Do multiplication by C already in long double.
30619 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30621 y and infinite z. Do bitwise or of inexact bit into u.d.
30622 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30623 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30624 * sysdeps/i386/fpu/s_fma.S: Removed.
30625 * sysdeps/i386/fpu/s_fmal.S: Removed.
30627 2010-10-16 Jakub Jelinek <jakub@redhat.com>
30630 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30631 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30632 computation is not scheduled after fetestexcept. Fix value
30633 of minimum denormal long double.
30635 2010-10-14 Jakub Jelinek <jakub@redhat.com>
30638 * math/libm-test.inc (fma_test): Add some more tests.
30639 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30642 2010-10-15 Andreas Schwab <schwab@redhat.com>
30644 * scripts/data/localplt-s390-linux-gnu.data: New file.
30645 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30647 2010-10-13 Jakub Jelinek <jakub@redhat.com>
30650 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30651 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30653 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30655 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30656 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30657 if one of x and y is very large and the other is subnormal.
30658 * sysdeps/s390/fpu/s_fmaf.c: New file.
30659 * sysdeps/s390/fpu/s_fma.c: New file.
30660 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30661 * sysdeps/powerpc/fpu/s_fma.S: New file.
30662 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30663 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30664 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30666 2010-10-12 Jakub Jelinek <jakub@redhat.com>
30669 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30671 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30672 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30673 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30674 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30675 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30676 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30677 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30679 2010-10-12 Ulrich Drepper <drepper@redhat.com>
30682 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30683 * posix/bug-regex31.input: Add test case.
30685 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30687 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30688 * posix/bug-regex31.input: New file.
30691 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30692 (parse_sub_exp): Fix last change, use postorder.
30694 * posix/bug-regex31.c: New file.
30695 * posix/Makefile: Add rules to build and run bug-regex31.
30697 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30700 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30703 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30704 to have entries in sys_siglist.
30707 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30710 2010-10-07 Jakub Jelinek <jakub@redhat.com>
30713 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30714 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30715 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30716 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30717 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30718 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30719 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30720 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30721 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30722 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30723 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30724 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30725 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30726 * math/ftestexcept.c (fetestexcept): Likewise.
30727 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30728 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30729 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30730 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30731 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30732 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30733 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30735 2010-10-11 Ulrich Drepper <drepper@gmail.com>
30738 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30741 2010-10-06 Ulrich Drepper <drepper@gmail.com>
30743 * string/bug-strstr1.c: New file.
30744 * string/Makefile: Add rules to build and run bug-strstr1.
30746 2010-10-05 Eric Blake <eblake@redhat.com>
30749 * string/str-two-way.h (two_way_long_needle): Always clear memory
30750 when skipping input due to the shift table.
30752 2010-10-03 Ulrich Drepper <drepper@gmail.com>
30755 * malloc/mcheck.c: Handle large requests.
30758 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30759 for strncmp and strncasecmp.
30760 * string/stratcliff.c: Add tests for strcmp and strncmp.
30761 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30763 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30765 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30768 2010-09-30 Andreas Jaeger <aj@suse.de>
30770 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30771 (CGROUP_SUPER_MAGIC): Define.
30772 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30773 Handle btrfs and cgroup file systems.
30774 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30777 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
30779 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30780 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30782 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30785 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30786 trying to locate the ELF header.
30788 2010-09-27 Andreas Schwab <schwab@redhat.com>
30791 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30792 Mask out sign-bit copies when constructing f_fsid.
30794 2010-09-24 Petr Baudis <pasky@suse.cz>
30796 * debug/stack_chk_fail_local.c: Add missing licence exception.
30797 * debug/warning-nop.c: Likewise.
30799 2010-09-15 Joseph Myers <joseph@codesourcery.com>
30801 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30802 implementing getdents64 using getdents syscall, set d_type if
30803 __ASSUME_GETDENTS32_D_TYPE.
30805 2010-09-16 Andreas Schwab <schwab@redhat.com>
30807 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30808 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30810 2010-09-21 Ulrich Drepper <drepper@redhat.com>
30813 * posix/unistd.h: Undo change of feature selection for ftruncate from
30816 2010-09-20 Ulrich Drepper <drepper@redhat.com>
30818 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
30821 2010-09-20 Andreas Schwab <schwab@redhat.com>
30823 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30825 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30827 2010-09-14 Andreas Schwab <schwab@redhat.com>
30829 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30830 variables after CHECK_SP call.
30831 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30833 2010-09-13 Andreas Schwab <schwab@redhat.com>
30834 Ulrich Drepper <drepper@redhat.com>
30836 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30837 re-relocationg ld.so.
30838 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30839 _dl_init_paths call.
30840 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30843 2010-09-14 Ulrich Drepper <drepper@redhat.com>
30845 * resolv/res_init.c (__res_vinit): Count the default server we added.
30847 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30848 Ulrich Drepper <drepper@redhat.com>
30851 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30852 (____longjmp_chk): Use %ebx for saving value across system call.
30855 2010-09-06 Andreas Schwab <schwab@redhat.com>
30857 * manual/Makefile: Don't mix pattern rules with normal rules.
30859 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30861 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30863 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30864 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30865 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30866 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30867 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30870 2010-09-04 Ulrich Drepper <drepper@redhat.com>
30873 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30874 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30876 2010-09-02 Ulrich Drepper <drepper@redhat.com>
30878 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30879 * sysdeps/x86_64/addmul_1.S: Likewise.
30880 * sysdeps/x86_64/lshift.S: Likewise.
30881 * sysdeps/x86_64/mul_1.S: Likewise.
30882 * sysdeps/x86_64/rshift.S: Likewise.
30883 * sysdeps/x86_64/sub_n.S: Likewise.
30884 * sysdeps/x86_64/submul_1.S: Likewise.
30886 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30888 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30889 Define __sched_param instead of SCHED_* and sched_param when
30890 <bits/sched.h> is included with __need_schedparam defined.
30891 * bits/sched.h [__need_schedparam]
30892 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
30893 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30894 (__defined_schedparam): Define to 1.
30895 (__sched_param): New structure, identical to sched_param.
30896 (__need_schedparam): Undefine.
30898 2010-08-31 Mike Frysinger <vapier@gentoo.org>
30900 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30901 (epoll_create1): Declare.
30903 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30905 2010-08-31 Andreas Schwab <schwab@redhat.com>
30908 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30909 shifting retval into place.
30911 2010-09-01 Ulrich Drepper <drepper@redhat.com>
30913 * nis/rpcsvc/nis.h: Update copyright notice.
30914 * nis/rpcsvc/nis.x: Likewise.
30915 * nis/rpcsvc/nis_callback.h: Likewise.
30916 * nis/rpcsvc/nis_callback.x: Likewise.
30917 * nis/rpcsvc/nis_object.x: Likewise.
30918 * nis/rpcsvc/nis_tags.h: Likewise.
30919 * nis/rpcsvc/yp.h: Likewise.
30920 * nis/rpcsvc/yp.x: Likewise.
30921 * nis/rpcsvc/ypupd.h: Likewise.
30922 * nis/yp_xdr.c: Likewise.
30923 * nis/ypupdate_xdr.c: Likewise.
30925 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30926 mainly the body of pmap_getport. Add parameters to specify timeouts.
30927 (pmap_getport): Use __libc_rpc_getport.
30928 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30929 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30930 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30932 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30937 2010-08-27 Roland McGrath <roland@redhat.com>
30939 * sysdeps/i386/i686/multiarch/Makefile
30940 (CFLAGS-varshift.c): New variable.
30942 2010-08-27 Ulrich Drepper <drepper@redhat.com>
30944 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30945 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30947 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30949 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30951 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30953 * sysdeps/x86_64/strlen.S: Unroll the loop.
30954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30955 strlen-sse2 strlen-sse2-bsf.
30956 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30957 __strlen_no_bsf if bit_Slow_BSF is set.
30958 (__strlen_sse42): Removed.
30959 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30960 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30962 2010-08-25 Roland McGrath <roland@redhat.com>
30964 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30965 * sysdeps/x86_64/multiarch/varshift.c: New file.
30966 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30967 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30968 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30969 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30971 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30973 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30974 strlen-sse2 strlen-sse2-bsf.
30975 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30976 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30977 (__strlen_sse2): Removed.
30978 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30979 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30980 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30981 bit_Slow_BSF for Atom.
30982 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30983 (index_Slow_BSF): Define.
30984 (HAS_SLOW_BSF): Define.
30986 2010-08-25 Ulrich Drepper <drepper@redhat.com>
30989 * resolv/res_init.c (__res_vinit): When no server address at all
30990 is given default to loopback.
30992 2010-08-24 Roland McGrath <roland@redhat.com>
30994 * configure.in: Remove config-name.h generation.
30995 * configure: Regenerated.
30996 * config-name.in: File removed.
30997 * scripts/config-uname.sh: New file.
30998 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30999 ($(objdir)config-name.h): New target.
31001 * sunrpc/rpc_parse.h: Avoid nested comment.
31003 2010-08-24 Richard Henderson <rth@redhat.com>
31004 Ulrich Drepper <drepper@redhat.com>
31005 H.J. Lu <hongjiu.lu@intel.com>
31007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31008 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31009 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31010 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31011 _mm_alignr_epi8 with _mm_loadu_si128.
31012 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31013 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31014 (__m128i_shift_right): Removed.
31015 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31016 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31017 * sysdeps/x86_64/multiarch/varshift.h: New file.
31018 * sysdeps/x86_64/multiarch/varshift.S: New file.
31020 2010-08-21 Mike Frysinger <vapier@gentoo.org>
31022 * configure.in: Move assembler checks to before sysdep dir checking.
31024 2010-08-20 Petr Baudis <pasky@suse.cz>
31026 * LICENSES: Sync the sunrpc license.
31028 2010-08-19 Ulrich Drepper <drepper@redhat.com>
31030 * sunrpc/auth_des.c: Update copyright notice once again.
31031 * sunrpc/auth_none.c: Likewise.
31032 * sunrpc/auth_unix.c: Likewise.
31033 * sunrpc/authdes_prot.c: Likewise.
31034 * sunrpc/authuxprot.c: Likewise.
31035 * sunrpc/bindrsvprt.c: Likewise.
31036 * sunrpc/clnt_gen.c: Likewise.
31037 * sunrpc/clnt_perr.c: Likewise.
31038 * sunrpc/clnt_raw.c: Likewise.
31039 * sunrpc/clnt_simp.c: Likewise.
31040 * sunrpc/clnt_tcp.c: Likewise.
31041 * sunrpc/clnt_udp.c: Likewise.
31042 * sunrpc/clnt_unix.c: Likewise.
31043 * sunrpc/des_crypt.c: Likewise.
31044 * sunrpc/des_soft.c: Likewise.
31045 * sunrpc/get_myaddr.c: Likewise.
31046 * sunrpc/getrpcport.c: Likewise.
31047 * sunrpc/key_call.c: Likewise.
31048 * sunrpc/key_prot.c: Likewise.
31049 * sunrpc/openchild.c: Likewise.
31050 * sunrpc/pm_getmaps.c: Likewise.
31051 * sunrpc/pm_getport.c: Likewise.
31052 * sunrpc/pmap_clnt.c: Likewise.
31053 * sunrpc/pmap_prot.c: Likewise.
31054 * sunrpc/pmap_prot2.c: Likewise.
31055 * sunrpc/pmap_rmt.c: Likewise.
31056 * sunrpc/rpc/auth.h: Likewise.
31057 * sunrpc/rpc/auth_unix.h: Likewise.
31058 * sunrpc/rpc/clnt.h: Likewise.
31059 * sunrpc/rpc/des_crypt.h: Likewise.
31060 * sunrpc/rpc/key_prot.h: Likewise.
31061 * sunrpc/rpc/netdb.h: Likewise.
31062 * sunrpc/rpc/pmap_clnt.h: Likewise.
31063 * sunrpc/rpc/pmap_prot.h: Likewise.
31064 * sunrpc/rpc/pmap_rmt.h: Likewise.
31065 * sunrpc/rpc/rpc.h: Likewise.
31066 * sunrpc/rpc/rpc_des.h: Likewise.
31067 * sunrpc/rpc/rpc_msg.h: Likewise.
31068 * sunrpc/rpc/svc.h: Likewise.
31069 * sunrpc/rpc/svc_auth.h: Likewise.
31070 * sunrpc/rpc/types.h: Likewise.
31071 * sunrpc/rpc/xdr.h: Likewise.
31072 * sunrpc/rpc_clntout.c: Likewise.
31073 * sunrpc/rpc_cmsg.c: Likewise.
31074 * sunrpc/rpc_common.c: Likewise.
31075 * sunrpc/rpc_cout.c: Likewise.
31076 * sunrpc/rpc_dtable.c: Likewise.
31077 * sunrpc/rpc_hout.c: Likewise.
31078 * sunrpc/rpc_main.c: Likewise.
31079 * sunrpc/rpc_parse.c: Likewise.
31080 * sunrpc/rpc_parse.h: Likewise.
31081 * sunrpc/rpc_prot.c: Likewise.
31082 * sunrpc/rpc_sample.c: Likewise.
31083 * sunrpc/rpc_scan.c: Likewise.
31084 * sunrpc/rpc_scan.h: Likewise.
31085 * sunrpc/rpc_svcout.c: Likewise.
31086 * sunrpc/rpc_tblout.c: Likewise.
31087 * sunrpc/rpc_util.c: Likewise.
31088 * sunrpc/rpc_util.h: Likewise.
31089 * sunrpc/rpcinfo.c: Likewise.
31090 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31091 * sunrpc/rpcsvc/key_prot.x: Likewise.
31092 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31093 * sunrpc/rpcsvc/mount.x: Likewise.
31094 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31095 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31096 * sunrpc/rpcsvc/rex.x: Likewise.
31097 * sunrpc/rpcsvc/rstat.x: Likewise.
31098 * sunrpc/rpcsvc/rusers.x: Likewise.
31099 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31100 * sunrpc/rpcsvc/spray.x: Likewise.
31101 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31102 * sunrpc/rtime.c: Likewise.
31103 * sunrpc/svc.c: Likewise.
31104 * sunrpc/svc_auth.c: Likewise.
31105 * sunrpc/svc_authux.c: Likewise.
31106 * sunrpc/svc_raw.c: Likewise.
31107 * sunrpc/svc_run.c: Likewise.
31108 * sunrpc/svc_simple.c: Likewise.
31109 * sunrpc/svc_tcp.c: Likewise.
31110 * sunrpc/svc_udp.c: Likewise.
31111 * sunrpc/svc_unix.c: Likewise.
31112 * sunrpc/svcauth_des.c: Likewise.
31113 * sunrpc/xcrypt.c: Likewise.
31114 * sunrpc/xdr.c: Likewise.
31115 * sunrpc/xdr_array.c: Likewise.
31116 * sunrpc/xdr_float.c: Likewise.
31117 * sunrpc/xdr_mem.c: Likewise.
31118 * sunrpc/xdr_rec.c: Likewise.
31119 * sunrpc/xdr_ref.c: Likewise.
31120 * sunrpc/xdr_sizeof.c: Likewise.
31121 * sunrpc/xdr_stdio.c: Likewise.
31123 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31126 2010-08-19 Andreas Schwab <schwab@redhat.com>
31128 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31130 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
31132 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31133 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31134 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31135 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31136 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31137 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31138 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31139 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31140 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31141 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31142 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31143 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31144 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31145 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31147 2010-07-26 Anton Blanchard <anton@samba.org>
31149 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31150 * malloc/arena.c (heap_trim): Likewise.
31152 2010-08-16 Ulrich Drepper <drepper@redhat.com>
31154 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31156 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31157 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31159 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31161 * sysdeps/i386/elf/Makefile: New file.
31163 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31165 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31166 from fanotify_init.
31167 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31170 2010-08-15 Ulrich Drepper <drepper@redhat.com>
31172 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31174 * sysdeps/multiarch/strcmp.S: Likewise.
31176 2010-08-14 Ulrich Drepper <drepper@redhat.com>
31178 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31179 strncase_l-nonascii.
31180 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31181 Add strncase_l-ssse3.
31182 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31183 * sysdeps/x86_64/strcmp.S: Likewise.
31184 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31185 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31186 * sysdeps/x86_64/strncase.S: New file.
31187 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31188 * sysdeps/x86_64/strncase_l.S: New file.
31189 * string/Makefile (strop-tests): Add strncasecmp.
31190 * string/test-strncasecmp.c: New file.
31192 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31195 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31196 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31198 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31200 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31202 2010-08-12 Ulrich Drepper <drepper@redhat.com>
31204 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31205 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31206 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31208 2010-05-01 Alan Modra <amodra@gmail.com>
31210 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31211 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31212 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31213 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31214 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31215 tidying. Don't tail-call __sigjmp_save for static lib.
31216 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31218 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31219 (CALL_MCOUNT): Add eh info, and nop after bl.
31220 (TAIL_CALL_SYSCALL_ERROR): New macro.
31221 (PSEUDO_RET): Use it.
31222 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31223 Correct save location of integer regs and cr.
31224 (_dl_profile_resolve): Correct cr save location. Delete nops
31225 after bl when SHARED. Reduce cfi size a little by better
31226 placement of cfi directives.
31227 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31228 make a stack frame. Instead use parm save area as a temp.
31229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31230 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31232 Don't make a stack frame for parent, use parm save area.
31233 Increase child stack frame to 112 bytes. Don't save unused reg,
31234 and adjust reg usage. Set up cfi on error recovery and
31235 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31237 (__makecontext): Add dummy nop after jump to exit.
31238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31239 Use correct parm save area and cr save, reduce stack frame.
31240 Correct cfi for possible PSEUDO_RET frame setup.
31241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31242 Branch to local label emitted by PSEUDO_RET rather than
31245 2010-08-12 Andreas Schwab <schwab@redhat.com>
31248 * locale/programs/locale.c (print_assignment): New function.
31249 (show_locale_vars): Use it.
31251 2010-08-11 Ulrich Drepper <drepper@redhat.com>
31253 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31255 (struct statfs64): Likewise.
31256 (_STATFS_F_FLAGS): Define.
31257 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31258 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31259 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31260 (ST_VALID): Define locally.
31261 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31262 __statvfs_getflags, use the provided value.
31263 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31264 __ASSUME_STATFS_F_FLAGS.
31266 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31268 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31269 Add sys/fanotify.h.
31270 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31271 fanotify_mask for GLIBC_2.13.
31272 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31273 fanotify_init and fanotify_mark.
31274 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31275 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31277 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31279 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31280 prlimit64 for GLIBC_2.13.
31281 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31283 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31286 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31287 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31288 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31289 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31291 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31294 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31295 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31297 * nss/Makefile: Add rules to build and run tst-nss-test1.
31298 * shlib-versions: Add entry for libnss_test1.
31299 * nss/nss_test1.c: New file.
31300 * nss/tst-nss-test1.c: New file.
31302 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31303 (__nss_configure_lookup): Set appropriate entry in
31304 __nss_configure_lookup to true.
31305 * nss/nsswitch.h: Define enum with indeces of databases in
31306 databases and __nss_database_custom arrays. Declare
31307 __nss_database_custom.
31308 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31309 to avoid using nscd when custom rules are installed.
31310 * nss/getXXbyYY_r.c: Likewise.
31311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31313 * nss/nss_files/files-parse.c: Whitespace fixes.
31315 2010-08-09 Ulrich Drepper <drepper@redhat.com>
31318 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31319 * posix/fnmatch_loop.c: Likewise.
31321 2010-07-17 Andi Kleen <ak@linux.intel.com>
31323 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31324 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31325 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31326 * Versions.def [GLIBC_2.13]: Add.
31328 2010-08-06 Ulrich Drepper <drepper@redhat.com>
31330 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31331 Also fail if tpwd after pwuid call is NULL.
31333 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31335 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31336 when converting to ms.
31338 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31340 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31341 EOPNOTSUPP errors with ENOTTY.
31342 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31343 EOPNOTSUPP errors with ENOTTY.
31345 2010-07-31 Ulrich Drepper <drepper@redhat.com>
31347 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31348 Add strcasecmp_l-ssse3.
31349 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31351 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31352 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31353 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31355 2010-07-30 Ulrich Drepper <drepper@redhat.com>
31357 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31359 * string/Makefile (strop-tests): Add strcasecmp.
31360 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31361 strcasecmp_l-nonascii.
31362 (gen-as-const-headers): Add locale-defines.sym.
31363 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31364 * sysdeps/x86_64/strcasecmp.S: New file.
31365 * sysdeps/x86_64/strcasecmp_l.S: New file.
31366 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31367 * sysdeps/x86_64/locale-defines.sym: New file.
31368 * string/test-strcasecmp.c: New file.
31370 * string/test-strcasestr.c: Test both ends of the range of characters.
31371 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31373 2010-07-29 Roland McGrath <roland@redhat.com>
31376 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31378 2010-07-27 Ulrich Drepper <drepper@redhat.com>
31380 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31383 2010-07-27 Andreas Schwab <schwab@redhat.com>
31385 * manual/memory.texi (Malloc Tunable Parameters): Document
31388 2010-07-26 Roland McGrath <roland@redhat.com>
31391 * configure.in (-fgnu89-inline check): Set and substitute
31392 gnu89_inline, not libc_cv_gnu89_inline.
31393 * configure: Regenerated.
31394 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31396 2010-07-26 Ulrich Drepper <drepper@redhat.com>
31398 * string/test-strnlen.c: New file.
31399 * string/Makefile (strop-tests): Add strnlen.
31400 * string/tester.c (test_strnlen): Add a few more test cases.
31401 * string/tst-strlen.c: Better error reporting.
31403 * sysdeps/x86_64/strnlen.S: New file.
31405 2010-07-24 Ulrich Drepper <drepper@redhat.com>
31407 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31408 lower-latency instructions.
31410 2010-07-23 Ulrich Drepper <drepper@redhat.com>
31412 * string/test-strcasestr.c: New file.
31413 * string/test-strstr.c: New file.
31414 * string/Makefile (strop-tests): Add strstr and strcasestr.
31415 * string/str-two-way.h: Don't undefine MAX.
31416 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31418 2010-07-21 Andreas Schwab <schwab@redhat.com>
31420 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31421 strcasestr-nonascii.
31422 (CFLAGS-strcasestr-nonascii.c): Define.
31423 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31424 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31425 Remove unused attribute.
31427 2010-07-20 Roland McGrath <roland@redhat.com>
31429 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31430 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31431 ld.so.cache was broken. With it, there is no way to disable dsocaps
31432 like LD_HWCAP_MASK can disable hwcaps.
31434 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31436 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31438 2010-07-16 Ulrich Drepper <drepper@redhat.com>
31440 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31441 call in strcasestr.
31442 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31443 __strcasestr_sse42_nonascii.
31444 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31445 strcasestr-nonascii.c.
31446 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31448 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
31450 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31451 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31452 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31453 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31455 2010-07-09 Ulrich Drepper <drepper@redhat.com>
31457 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31460 2010-07-06 Andreas Schwab <schwab@redhat.com>
31463 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31466 2010-07-06 Ulrich Drepper <drepper@redhat.com>
31468 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31469 _PC_PIPE_BUF using F_GETPIPE_SZ.
31471 2010-07-05 Roland McGrath <roland@redhat.com>
31473 * manual/arith.texi (Rounding Functions): Fix rint description
31474 implicit in round description.
31476 2010-07-02 Ulrich Drepper <drepper@redhat.com>
31478 * elf/Makefile: Fix linking for a few tests to make recent linker
31481 2010-06-30 Andreas Schwab <schwab@redhat.com>
31483 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31484 $(common-objpfx)libc_nonshared.a.
31486 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
31488 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31489 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31490 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31491 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31492 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31493 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31494 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31495 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31510 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31511 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31512 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31513 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31514 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31515 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31516 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31517 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31518 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31519 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31520 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31521 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31537 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31539 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31540 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31541 * string/memmove.c (memmove): Renamed to ...
31542 (MEMMOVE): ...this. Default to memmove.
31543 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31544 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31547 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31548 mempcpy-ssse3-back memmove-ssse3-back.
31549 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31550 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31551 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31552 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31553 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31554 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31555 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31556 * sysdeps/x86_64/multiarch/memmove.c: New file.
31557 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31558 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31559 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31560 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31561 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31562 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31564 (index_Fast_Copy_Backward): Define.
31565 (HAS_ARCH_FEATURE): Define.
31566 (HAS_FAST_REP_STRING): Define.
31567 (HAS_FAST_COPY_BACKWARD): Define.
31569 2010-06-21 Andreas Schwab <schwab@redhat.com>
31571 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31572 Restore proper fallback handling.
31574 2010-06-19 Ulrich Drepper <drepper@redhat.com>
31577 * posix/group_member.c (__group_member): Correct checking loop.
31579 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31580 OOM in getpwuid_r correctly. Return error number when the caller
31581 should return, otherwise -1.
31582 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31583 call returning > 0 value.
31584 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31586 2010-06-07 Andreas Schwab <schwab@redhat.com>
31588 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31589 libc_nonshared.a from targets in modules-names.
31591 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31593 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31596 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
31598 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31599 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31600 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31601 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31603 2010-06-02 Andreas Schwab <schwab@redhat.com>
31605 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31607 2010-06-14 Ulrich Drepper <drepper@redhat.com>
31609 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31611 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31612 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31613 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31614 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31615 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31616 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31618 2010-06-14 Roland McGrath <roland@redhat.com>
31620 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31622 2010-06-07 Jakub Jelinek <jakub@redhat.com>
31624 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31625 __REDIRECT followed by __THROW.
31626 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31627 * posix/getopt.h (getopt): Likewise.
31629 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31631 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31632 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31633 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31635 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31636 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31638 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
31640 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31642 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31646 Properly check family and model.
31648 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31650 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31652 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
31654 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31656 2010-05-21 Ulrich Drepper <drepper@redhat.com>
31658 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31661 2010-05-19 Andreas Schwab <schwab@redhat.com>
31663 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31666 2010-05-21 Andreas Schwab <schwab@redhat.com>
31668 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31669 and internal_recvmmsg.
31670 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31671 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31672 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31673 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31675 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31676 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31677 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31679 2010-05-20 Andreas Schwab <schwab@redhat.com>
31681 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31683 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
31685 POWER7 optimizations.
31686 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31687 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31689 2010-05-19 Ulrich Drepper <drepper@redhat.com>
31691 * version.h: Update for 2.13 development version.
31693 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
31695 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31696 exceptions. Return 0.
31698 2010-05-07 Roland McGrath <roland@redhat.com>
31700 * elf/ldconfig.c (main): Add a const.
31702 2010-05-06 Ulrich Drepper <drepper@redhat.com>
31704 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31705 (args_options): Add no-idn option.
31706 (ahosts_keys_int): Add idn_flags to ai_flags.
31707 (parse_option): Handle 'i' option to clear idn_flags.
31709 * malloc/malloc.c (_int_free): Possible race in the most recently
31710 added check. Only act on the data if no current modification
31713 See ChangeLog.17 for earlier changes.