1 2014-03-19 Joseph Myers <joseph@codesourcery.com>
4 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8 (__ASSUME_PREADV): Undefine.
9 (__ASSUME_PWRITEV): Likewise.
11 2014-03-18 Roland McGrath <roland@hack.frob.com>
13 * bits/mman-linux.h: Add comment about non-Linux use.
14 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15 bits/mman-linux.h resting place.
17 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18 * bits/mman-linux.h: ... here.
20 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22 * conform/conformtest.pl: Add standard definition when calling C
23 preprocessor on data files.
24 (checknamespace): Remove unused variable.
26 2014-03-18 Joseph Myers <joseph@codesourcery.com>
28 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
29 minus_oflow, plus_uflow and minus_uflow in expected results.
30 * math/libm-test.inc (scalbn_test_data): Add more tests of
31 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
33 (scalbn_test): Use ALL_RM_TEST.
34 (scalbln_test_data): Add more tests of negative arguments. Use
35 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36 (scalbln_test): Use ALL_RM_TEST.
38 2014-03-18 Roland McGrath <roland@hack.frob.com>
40 * scripts/abilist.awk: Ignore symbols marked with .hidden.
42 2014-03-18 Will Newton <will.newton@linaro.org>
44 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47 2014-03-18 Joseph Myers <joseph@codesourcery.com>
49 * Makerules [!subdir] (check-abi): Exit with error status if a
52 2014-03-17 Joseph Myers <joseph@codesourcery.com>
54 * math/libm-test.inc (nearbyint_test_data): Include all tests used
55 for rint. Include results for all rounding modes.
56 (nearbyint_test): Use ALL_RM_TEST.
57 (rint_test_data): Include all tests used for nearbyint.
59 2014-03-17 Will Newton <will.newton@linaro.org>
61 * nptl/sysdeps/pthread/pthread.h: Revert previous
64 * sysdeps/generic/ldsodefs.h: Revert previous
67 * libio/genops.c: Revert previous change.
68 * libio/libioP.h: Likewise.
69 * stdio-common/vfprintf.c: Likewise.
71 * sysdeps/generic/math_private.h: Revert previous
74 * sysdeps/generic/math_private.h: Check whether
75 HAVE_RM_CTX is defined with #ifdef rather
78 * argp/argp-fmtstream.h: Check whether
79 __STRICT_ANSI__ is defined with #ifdef rather
81 * argp/argp.h: Likewise.
83 * libio/genops.c: Check whether
84 _IO_JUMPS_OFFSET is defined with #ifdef rather
86 * libio/libioP.h: Likewise.
87 * stdio-common/vfprintf.c: Likewise.
89 * sysdeps/generic/ldsodefs.h: Check whether
90 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
93 * nptl/sysdeps/pthread/pthread.h: Check
94 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
97 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
99 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
101 * libio/tst-ftell-active-handler.c (do_append_test): Add a
105 * libio/fileops.c (_IO_file_open): Seek to end of file but
106 don't cache the offset.
107 (get_file_offset): Remove function.
108 (do_ftell): Use cached offset when available.
109 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
110 don't cache the offset.
111 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
113 (do_one_test): Call it.
114 (do_ftell_test): Fix up expected old offset for a+ mode.
115 * libio/wfileops.c (do_ftell_wide): Used cached offset when
118 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
119 up test status with function return status.
120 (do_write_test): Likewise.
121 (do_append_test): Likewise.
123 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
124 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
127 2014-03-17 Joseph Myers <joseph@codesourcery.com>
129 * math/gen-libm-test.pl (parse_args): Handle results specified for
130 each rounding mode separately.
131 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
132 tests and results from lrint_tonearest_test_data,
133 lrint_towardzero_test_data, lrint_downward_test_data and
134 lrint_upward_test_data.
135 (lrint_test): Use ALL_RM_TEST.
136 (lrint_tonearest_test_data): Remove.
137 (lrint_test_tonearest): Likewise.
138 (lrint_towardzero_test_data): Likewise.
139 (lrint_test_towardzero): Likewise.
140 (lrint_downward_test_data): Likewise.
141 (lrint_test_downward): Likewise.
142 (lrint_upward_test_data): Likewise.
143 (lrint_test_upward): Likewise.
144 (llrint_test_data): Merge in per-rounding-mode tests and results
145 from llrint_tonearest_test_data, llrint_towardzero_test_data,
146 llrint_downward_test_data and llrint_upward_test_data.
147 (llrint_test): Use ALL_RM_TEST.
148 (llrint_tonearest_test_data): Remove.
149 (llrint_test_tonearest): Likewise.
150 (llrint_towardzero_test_data): Likewise.
151 (llrint_test_towardzero): Likewise.
152 (llrint_downward_test_data): Likewise.
153 (llrint_test_downward): Likewise.
154 (llrint_upward_test_data): Likewise.
155 (llrint_test_upward): Likewise.
156 (rint_test_data): Merge in per-rounding-mode tests and results
157 from rint_tonearest_test_data, rint_towardzero_test_data,
158 rint_downward_test_data and rint_upward_test_data. Add
159 per-rounding-mode results for tests not in those arrays.
160 (rint_test): Use ALL_RM_TEST.
161 (rint_tonearest_test_data): Remove.
162 (rint_test_tonearest): Likewise.
163 (rint_towardzero_test_data): Likewise.
164 (rint_test_towardzero): Likewise.
165 (rint_downward_test_data): Likewise.
166 (rint_test_downward): Likewise.
167 (rint_upward_test_data): Likewise.
168 (rint_test_upward): Likewise.
169 (main): Don't call removed functions.
171 2014-03-14 Roland McGrath <roland@hack.frob.com>
173 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
174 "Compiled on ..." crapola. It is anti-useful.
176 2014-03-14 Joseph Myers <joseph@codesourcery.com>
178 * scripts/evaluate-test.sh: Handle fourth argument to determine
179 whether test run should stop on failure.
180 * Makeconfig (stop-on-test-failure): New variable.
181 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
182 $(stop-on-test-failure).
183 * Makefile (tests): Give a summary of results from testing and
184 exit with failure status if they include an ERROR or FAIL.
186 * manual/install.texi (Configuring and compiling): Mention
187 stop-on-test-failure=y.
188 * INSTALL: Regenerated.
190 2014-03-14 Roland McGrath <roland@hack.frob.com>
192 * scripts/versionlist.awk: New file.
193 * Makerules [$(build-shared) = yes]
194 (postclean-generated): Add Versions.def, not Versions.def.v and
196 ($(common-objpfx)Versions.def.v.i): Target removed.
197 ($(common-objpfx)Versions.def): New target.
198 ($(common-objpfx)Versions.all): Depend on that rather that
199 $(common-objpfx)Versions.def.v.
200 * Versions.def: File removed.
202 * Makeconfig (+gccwarn): Add -Wundef.
203 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
204 a dl-sysdep.h breaking its contract.
205 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
206 * include/stackinfo.h: New file.
207 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
208 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
209 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
210 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
211 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
212 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
213 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
214 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
215 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
216 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
217 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
218 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
219 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
220 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
221 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
223 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
226 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
228 * math/libm-test.inc (round_test_data): Add more tests.
230 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
233 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
235 * math/libm-test.inc (nearbyint_test_data): Add more tests.
237 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
240 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
242 * math/libm-test.inc (ceil_test_data): Add more tests.
244 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
246 * math/libm-test.inc (trunc_test_data): Add more tests related to
249 2014-03-14 Roland McGrath <roland@hack.frob.com>
251 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
252 with #if rather than #ifdef.
253 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
255 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
257 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
258 first. Disable AVX-512 GCC support if assembler doesn't support
260 * sysdeps/x86_64/configure: Regenerated.
262 2014-03-13 Carlos O'Donell <carlos@redhat.com>
264 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
265 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
266 (__old_pthread_attr_setstack): Likewise.
267 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
268 [!_STACK_GROWS_DOWN]: Likewise.
270 2014-03-13 Mike Frysinger <vapier@gentoo.org>
272 * config.make.in (have-bash2): Delete.
273 * configure.ac (libc_cv_have_bash2): Delete.
274 * configure: Regenerate.
275 * elf/Makefile (common-ldd-rewrite): Rename to ...
276 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
277 (sh-ldd-rewrite): Delete.
278 (bash-ldd-rewrite): Delete.
279 (have-bash2): Delete checks.
280 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
282 2014-03-13 Mike Frysinger <vapier@gentoo.org>
284 * config.make.in (have-ksh): Delete.
286 * configure.ac (libc_cv_have_ksh): Delete.
287 * configure: Regenerate.
289 2014-03-13 Mike Frysinger <vapier@gentoo.org>
291 * elf/Makefile: Delete $(have-ksh) check.
292 ($(objpfx)sotruss): Change KSH to BASH.
293 * elf/sotruss.ksh: Rename to ...
294 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
295 function style to match POSIX. Drop ksh vim mode setting.
297 2014-03-13 Mike Frysinger <vapier@gentoo.org>
299 * manual/time.texi (Specifying the Time Zone with TZ): Change
302 2014-03-13 Mike Frysinger <vapier@gentoo.org>
304 * debug/tst-longjmp_chk2.c: Update header comment.
305 (stackoverflow_handler): Add comment. Call assert on pass value.
307 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
309 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
310 (HAVE_AVX512_ASM_SUPPORT): Likewise.
311 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
312 (La_x86_64_vector): Add zmm.
313 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
314 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
315 ($(objpfx)tst-audit10): New target.
316 ($(objpfx)tst-audit10.out): Likewise.
317 (tst-audit10-ENV): New.
318 (AVX512-CFLAGS): Likewise.
319 (CFLAGS-tst-audit10.c): Likewise.
320 (CFLAGS-tst-auditmod10a.c): Likewise.
321 (CFLAGS-tst-auditmod10b.c): Likewise.
322 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
323 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
324 * sysdeps/x86_64/configure: Regenerated.
325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
326 AVX-512 zmm register support.
327 (_dl_x86_64_save_sse): Likewise.
328 (_dl_x86_64_restore_sse): Likewise.
329 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
330 size vector registers.
331 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
332 (ZMM_SIZE): Likewise.
333 * sysdeps/x86_64/tst-audit10.c: New file.
334 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
335 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
337 2014-03-13 Roland McGrath <roland@hack.frob.com>
339 * configure.ac (HAVE_EHDR_START): New check.
340 * configure: Regenerated.
341 * config.h.in (HAVE_EHDR_START): New #undef.
342 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
343 assuming the lowest-addressed segment maps the start of the file.
345 2014-03-13 Joseph Myers <joseph@codesourcery.com>
347 * INSTALL: Regenerated.
349 2014-03-13 Will Newton <will.newton@linaro.org>
351 * manual/setjmp.texi (System V contexts): Improve
352 clarity and grammar of documentation.
354 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
357 * elf/Makefile (tests): Add tst-pie2.
358 (tests-pie): Add tst-pie2.
359 * elf/tst-pie2.c: New file.
360 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
362 * elf/rtld.c (map_doit): Load executable as lt_executable.
365 2014-03-12 Joseph Myers <joseph@codesourcery.com>
368 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
369 (__ASSUME_PSELECT): Undefine.
371 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
374 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
375 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
377 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
378 selector for static builds.
380 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
383 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
386 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
388 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
389 selector for static builds.
391 2014-03-11 Joseph Myers <joseph@codesourcery.com>
393 * sysdeps/mips/math_private.h [__mips_hard_float]
394 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
395 libc_feresetround_mips_ctx.
396 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
397 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
398 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
401 * math/s_nextafter.c (__nextafter): Do not return value from
402 overflowing computation.
403 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
404 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
405 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
407 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
409 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
410 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
412 2014-03-11 Roland McGrath <roland@hack.frob.com>
414 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
415 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
416 Move sfi_sp use from the load-multiple (that no longer sets sp) to
417 the new mov targetting sp.
419 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
422 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
423 Define it for static builds as well.
424 (NO_BZERO_IMPL): Likewise.
426 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
428 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
429 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
430 multiarch strspn for PPC64.
431 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
432 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
433 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
434 (__libc_ifunc_impl_list): Likewise.
435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
436 multiarch optimizations
437 * string/strspn.c (strspn): Using macro to redefine symbol name.
439 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
440 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
442 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
443 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
444 multiarch strncat for PPC64.
445 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
446 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
448 (__libc_ifunc_impl_list): Likewise.
449 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
450 multiarch optimizations
452 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
455 * nscd/nscd.service: Make service type forking.
457 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
459 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
460 sign in non default rounding modes.
461 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
463 2014-03-08 Joseph Myers <joseph@codesourcery.com>
465 * math/libm-test.inc (ALL_RM_TEST): New macro.
466 (ceil_test): Use ALL_RM_TEST.
467 (cimag_test): Likewise.
468 (conj_test): Likewise.
469 (copysign_test): Likewise.
470 (cproj_test): Likewise.
471 (creal_test): Likewise.
472 (fabs_test): Likewise.
473 (floor_test): Likewise.
474 (fmax_test): Likewise.
475 (fmin_test): Likewise.
476 (fmod_test): Likewise.
477 (fpclassify_test): Likewise.
478 (frexp_test): Likewise.
479 (ilogb_test): Likewise.
480 (isfinite_test): Likewise.
481 (finite_test): Likewise.
482 (isgreater_test): Likewise.
483 (isgreaterequal_test): Likewise.
484 (isinf_test): Likewise.
485 (isless_test): Likewise.
486 (islessequal_test): Likewise.
487 (islessgreater_test): Likewise.
488 (isnan_test): Likewise.
489 (isnormal_test): Likewise.
490 (issignaling_test): Likewise.
491 (isunordered_test): Likewise.
492 (logb_test): Likewise.
493 (logb_downward_test_data): Remove.
494 (logb_test_downward): Likewise.
495 (lround_test): Use ALL_RM_TEST.
496 (llround_test): Likewise.
497 (modf_test): Likewise.
498 (nexttoward_test): Likewise.
499 (remainder_test): Likewise.
500 (drem_test): Likewise.
501 (remainder_tonearest_test_data): Likewise.
502 (remainder_test_tonearest): Likewise.
503 (drem_test_tonearest): Likewise.
504 (remainder_towardzero_test_data): Likewise.
505 (remainder_test_towardzero): Likewise.
506 (drem_test_towardzero): Likewise.
507 (remainder_downward_test_data): Likewise.
508 (remainder_test_downward): Likewise.
509 (drem_test_downward): Likewise.
510 (remainder_upward_test_data): Likewise.
511 (remainder_test_upward): Likewise.
512 (drem_test_upward): Likewise.
513 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
514 (round_test): Use ALL_RM_TEST.
515 (signbit_test): Likewise.
516 (trunc_test): Likewise.
517 (significand_test): Likewise.
518 (main): Don't call removed functions.
520 2014-03-07 Joseph Myers <joseph@codesourcery.com>
523 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
525 (ILL_ILLOPN): Likewise.
526 (ILL_ILLADR): Likewise.
527 (ILL_ILLTRP): Likewise.
528 (ILL_PRVOPC): Likewise.
529 (ILL_PRVREG): Likewise.
530 (ILL_COPROC): Likewise.
531 (ILL_BADSTK): Likewise.
532 (FPE_INTDIV): Likewise.
533 (FPE_INTOVF): Likewise.
534 (FPE_FLTDIV): Likewise.
535 (FPE_FLTOVF): Likewise.
536 (FPE_FLTUND): Likewise.
537 (FPE_FLTRES): Likewise.
538 (FPE_FLTINV): Likewise.
539 (FPE_FLTSUB): Likewise.
540 (SEGV_MAPERR): Likewise.
541 (SEGV_ACCERR): Likewise.
542 (BUS_ADRALN): Likewise.
543 (BUS_ADRERR): Likewise.
544 (BUS_OBJERR): Likewise.
545 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
546 (TRAP_TRACE): Likewise.
547 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
549 (CLD_KILLED): Likewise.
550 (CLD_DUMPED): Likewise.
551 (CLD_TRAPPED): Likewise.
552 (CLD_STOPPED): Likewise.
553 (CLD_CONTINUED): Likewise.
555 (POLL_OUT): Likewise.
556 (POLL_MSG): Likewise.
557 (POLL_ERR): Likewise.
558 (POLL_PRI): Likewise.
559 (POLL_HUP): Likewise.
560 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
562 (ILL_ILLOPN): Likewise.
563 (ILL_ILLADR): Likewise.
564 (ILL_ILLTRP): Likewise.
565 (ILL_PRVOPC): Likewise.
566 (ILL_PRVREG): Likewise.
567 (ILL_COPROC): Likewise.
568 (ILL_BADSTK): Likewise.
569 (FPE_INTDIV): Likewise.
570 (FPE_INTOVF): Likewise.
571 (FPE_FLTDIV): Likewise.
572 (FPE_FLTOVF): Likewise.
573 (FPE_FLTUND): Likewise.
574 (FPE_FLTRES): Likewise.
575 (FPE_FLTINV): Likewise.
576 (FPE_FLTSUB): Likewise.
577 (SEGV_MAPERR): Likewise.
578 (SEGV_ACCERR): Likewise.
579 (BUS_ADRALN): Likewise.
580 (BUS_ADRERR): Likewise.
581 (BUS_OBJERR): Likewise.
582 (BUS_MCEERR_AR): Likewise.
583 (BUS_MCEERR_AO): Likewise.
584 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
585 (TRAP_TRACE): Likewise.
586 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
588 (CLD_KILLED): Likewise.
589 (CLD_DUMPED): Likewise.
590 (CLD_TRAPPED): Likewise.
591 (CLD_STOPPED): Likewise.
592 (CLD_CONTINUED): Likewise.
594 (POLL_OUT): Likewise.
595 (POLL_MSG): Likewise.
596 (POLL_ERR): Likewise.
597 (POLL_PRI): Likewise.
598 (POLL_HUP): Likewise.
599 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
600 (ILL_ILLOPN): Likewise.
601 (ILL_ILLADR): Likewise.
602 (ILL_ILLTRP): Likewise.
603 (ILL_PRVOPC): Likewise.
604 (ILL_PRVREG): Likewise.
605 (ILL_COPROC): Likewise.
606 (ILL_BADSTK): Likewise.
607 (FPE_INTDIV): Likewise.
608 (FPE_INTOVF): Likewise.
609 (FPE_FLTDIV): Likewise.
610 (FPE_FLTOVF): Likewise.
611 (FPE_FLTUND): Likewise.
612 (FPE_FLTRES): Likewise.
613 (FPE_FLTINV): Likewise.
614 (FPE_FLTSUB): Likewise.
615 (SEGV_MAPERR): Likewise.
616 (SEGV_ACCERR): Likewise.
617 (BUS_ADRALN): Likewise.
618 (BUS_ADRERR): Likewise.
619 (BUS_OBJERR): Likewise.
620 (BUS_MCEERR_AR): Likewise.
621 (BUS_MCEERR_AO): Likewise.
622 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
623 (TRAP_TRACE): Likewise.
624 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
626 (CLD_KILLED): Likewise.
627 (CLD_DUMPED): Likewise.
628 (CLD_TRAPPED): Likewise.
629 (CLD_STOPPED): Likewise.
630 (CLD_CONTINUED): Likewise.
632 (POLL_OUT): Likewise.
633 (POLL_MSG): Likewise.
634 (POLL_ERR): Likewise.
635 (POLL_PRI): Likewise.
636 (POLL_HUP): Likewise.
637 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
639 (ILL_ILLOPN): Likewise.
640 (ILL_ILLADR): Likewise.
641 (ILL_ILLTRP): Likewise.
642 (ILL_PRVOPC): Likewise.
643 (ILL_PRVREG): Likewise.
644 (ILL_COPROC): Likewise.
645 (ILL_BADSTK): Likewise.
646 (ILL_BADIADDR): Likewise.
647 (ILL_BREAK): Likewise.
648 (FPE_INTDIV): Likewise.
649 (FPE_INTOVF): Likewise.
650 (FPE_FLTDIV): Likewise.
651 (FPE_FLTOVF): Likewise.
652 (FPE_FLTUND): Likewise.
653 (FPE_FLTRES): Likewise.
654 (FPE_FLTINV): Likewise.
655 (FPE_FLTSUB): Likewise.
656 (FPE_DECOVF): Likewise.
657 (FPE_DECDIV): Likewise.
658 (FPE_DECERR): Likewise.
659 (FPE_INVASC): Likewise.
660 (FPE_INVDEC): Likewise.
661 (SEGV_MAPERR): Likewise.
662 (SEGV_ACCERR): Likewise.
663 (SEGV_PSTKOVF): Likewise.
664 (BUS_ADRALN): Likewise.
665 (BUS_ADRERR): Likewise.
666 (BUS_OBJERR): Likewise.
667 (BUS_MCEERR_AR): Likewise.
668 (BUS_MCEERR_AO): Likewise.
669 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
670 (TRAP_TRACE): Likewise.
671 (TRAP_BRANCH): Likewise.
672 (TRAP_HWBKPT): Likewise.
673 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
675 (CLD_KILLED): Likewise.
676 (CLD_DUMPED): Likewise.
677 (CLD_TRAPPED): Likewise.
678 (CLD_STOPPED): Likewise.
679 (CLD_CONTINUED): Likewise.
681 (POLL_OUT): Likewise.
682 (POLL_MSG): Likewise.
683 (POLL_ERR): Likewise.
684 (POLL_PRI): Likewise.
685 (POLL_HUP): Likewise.
686 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
687 (ILL_ILLOPN): Likewise.
688 (ILL_ILLADR): Likewise.
689 (ILL_ILLTRP): Likewise.
690 (ILL_PRVOPC): Likewise.
691 (ILL_PRVREG): Likewise.
692 (ILL_COPROC): Likewise.
693 (ILL_BADSTK): Likewise.
694 (FPE_INTDIV): Likewise.
695 (FPE_INTOVF): Likewise.
696 (FPE_FLTDIV): Likewise.
697 (FPE_FLTOVF): Likewise.
698 (FPE_FLTUND): Likewise.
699 (FPE_FLTRES): Likewise.
700 (FPE_FLTINV): Likewise.
701 (FPE_FLTSUB): Likewise.
702 (SEGV_MAPERR): Likewise.
703 (SEGV_ACCERR): Likewise.
704 (BUS_ADRALN): Likewise.
705 (BUS_ADRERR): Likewise.
706 (BUS_OBJERR): Likewise.
707 (BUS_MCEERR_AR): Likewise.
708 (BUS_MCEERR_AO): Likewise.
709 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
710 (TRAP_TRACE): Likewise.
711 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
713 (CLD_KILLED): Likewise.
714 (CLD_DUMPED): Likewise.
715 (CLD_TRAPPED): Likewise.
716 (CLD_STOPPED): Likewise.
717 (CLD_CONTINUED): Likewise.
719 (POLL_OUT): Likewise.
720 (POLL_MSG): Likewise.
721 (POLL_ERR): Likewise.
722 (POLL_PRI): Likewise.
723 (POLL_HUP): Likewise.
724 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
725 (ILL_ILLOPN): Likewise.
726 (ILL_ILLADR): Likewise.
727 (ILL_ILLTRP): Likewise.
728 (ILL_PRVOPC): Likewise.
729 (ILL_PRVREG): Likewise.
730 (ILL_COPROC): Likewise.
731 (ILL_BADSTK): Likewise.
732 (FPE_INTDIV): Likewise.
733 (FPE_INTOVF): Likewise.
734 (FPE_FLTDIV): Likewise.
735 (FPE_FLTOVF): Likewise.
736 (FPE_FLTUND): Likewise.
737 (FPE_FLTRES): Likewise.
738 (FPE_FLTINV): Likewise.
739 (FPE_FLTSUB): Likewise.
740 (SEGV_MAPERR): Likewise.
741 (SEGV_ACCERR): Likewise.
742 (BUS_ADRALN): Likewise.
743 (BUS_ADRERR): Likewise.
744 (BUS_OBJERR): Likewise.
745 (BUS_MCEERR_AR): Likewise.
746 (BUS_MCEERR_AO): Likewise.
747 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
748 (TRAP_TRACE): Likewise.
749 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
751 (CLD_KILLED): Likewise.
752 (CLD_DUMPED): Likewise.
753 (CLD_TRAPPED): Likewise.
754 (CLD_STOPPED): Likewise.
755 (CLD_CONTINUED): Likewise.
757 (POLL_OUT): Likewise.
758 (POLL_MSG): Likewise.
759 (POLL_ERR): Likewise.
760 (POLL_PRI): Likewise.
761 (POLL_HUP): Likewise.
762 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
763 (ILL_ILLOPN): Likewise.
764 (ILL_ILLADR): Likewise.
765 (ILL_ILLTRP): Likewise.
766 (ILL_PRVOPC): Likewise.
767 (ILL_PRVREG): Likewise.
768 (ILL_COPROC): Likewise.
769 (ILL_BADSTK): Likewise.
770 (FPE_INTDIV): Likewise.
771 (FPE_INTOVF): Likewise.
772 (FPE_FLTDIV): Likewise.
773 (FPE_FLTOVF): Likewise.
774 (FPE_FLTUND): Likewise.
775 (FPE_FLTRES): Likewise.
776 (FPE_FLTINV): Likewise.
777 (FPE_FLTSUB): Likewise.
778 (SEGV_MAPERR): Likewise.
779 (SEGV_ACCERR): Likewise.
780 (BUS_ADRALN): Likewise.
781 (BUS_ADRERR): Likewise.
782 (BUS_OBJERR): Likewise.
783 (BUS_MCEERR_AR): Likewise.
784 (BUS_MCEERR_AO): Likewise.
785 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
786 (TRAP_TRACE): Likewise.
787 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
789 (CLD_KILLED): Likewise.
790 (CLD_DUMPED): Likewise.
791 (CLD_TRAPPED): Likewise.
792 (CLD_STOPPED): Likewise.
793 (CLD_CONTINUED): Likewise.
795 (POLL_OUT): Likewise.
796 (POLL_MSG): Likewise.
797 (POLL_ERR): Likewise.
798 (POLL_PRI): Likewise.
799 (POLL_HUP): Likewise.
800 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
801 (ILL_ILLOPN): Likewise.
802 (ILL_ILLADR): Likewise.
803 (ILL_ILLTRP): Likewise.
804 (ILL_PRVOPC): Likewise.
805 (ILL_PRVREG): Likewise.
806 (ILL_COPROC): Likewise.
807 (ILL_BADSTK): Likewise.
808 (ILL_DBLFLT): Likewise.
809 (ILL_HARDWALL): Likewise.
810 (FPE_INTDIV): Likewise.
811 (FPE_INTOVF): Likewise.
812 (FPE_FLTDIV): Likewise.
813 (FPE_FLTOVF): Likewise.
814 (FPE_FLTUND): Likewise.
815 (FPE_FLTRES): Likewise.
816 (FPE_FLTINV): Likewise.
817 (FPE_FLTSUB): Likewise.
818 (SEGV_MAPERR): Likewise.
819 (SEGV_ACCERR): Likewise.
820 (BUS_ADRALN): Likewise.
821 (BUS_ADRERR): Likewise.
822 (BUS_OBJERR): Likewise.
823 (BUS_MCEERR_AR): Likewise.
824 (BUS_MCEERR_AO): Likewise.
825 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
826 (TRAP_TRACE): Likewise.
827 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
829 (CLD_KILLED): Likewise.
830 (CLD_DUMPED): Likewise.
831 (CLD_TRAPPED): Likewise.
832 (CLD_STOPPED): Likewise.
833 (CLD_CONTINUED): Likewise.
835 (POLL_OUT): Likewise.
836 (POLL_MSG): Likewise.
837 (POLL_ERR): Likewise.
838 (POLL_PRI): Likewise.
839 (POLL_HUP): Likewise.
840 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
841 (ILL_ILLOPN): Likewise.
842 (ILL_ILLADR): Likewise.
843 (ILL_ILLTRP): Likewise.
844 (ILL_PRVOPC): Likewise.
845 (ILL_PRVREG): Likewise.
846 (ILL_COPROC): Likewise.
847 (ILL_BADSTK): Likewise.
848 (FPE_INTDIV): Likewise.
849 (FPE_INTOVF): Likewise.
850 (FPE_FLTDIV): Likewise.
851 (FPE_FLTOVF): Likewise.
852 (FPE_FLTUND): Likewise.
853 (FPE_FLTRES): Likewise.
854 (FPE_FLTINV): Likewise.
855 (FPE_FLTSUB): Likewise.
856 (SEGV_MAPERR): Likewise.
857 (SEGV_ACCERR): Likewise.
858 (BUS_ADRALN): Likewise.
859 (BUS_ADRERR): Likewise.
860 (BUS_OBJERR): Likewise.
861 (BUS_MCEERR_AR): Likewise.
862 (BUS_MCEERR_AO): Likewise.
863 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
864 (TRAP_TRACE): Likewise.
865 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
867 (CLD_KILLED): Likewise.
868 (CLD_DUMPED): Likewise.
869 (CLD_TRAPPED): Likewise.
870 (CLD_STOPPED): Likewise.
871 (CLD_CONTINUED): Likewise.
873 (POLL_OUT): Likewise.
874 (POLL_MSG): Likewise.
875 (POLL_ERR): Likewise.
876 (POLL_PRI): Likewise.
877 (POLL_HUP): Likewise.
878 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
879 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
882 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
883 before #include of <time.h>.
884 [!__USE_XOPEN2K] (__need_timespec): Likewise.
885 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
886 (test-xfail-UNIX98/sched.h/conform): Likewise.
888 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
890 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
891 error absence of trapping exception support.
892 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
894 2014-03-07 Joseph Myers <joseph@codesourcery.com>
896 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
897 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
898 * timezone/Makefile (testdata): Move definition above include of
900 (test-zones): New variable.
901 (tests-special): Add zone files.
902 (build-testdata): Use $(evaluate-test).
904 * elf/Makefile (tests-special): Rename tests to end with .out.
905 ($(objpfx)noload-mem): Likewise.
906 ($(objpfx)tst-leaks1-mem): Likewise.
907 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
908 * iconv/Makefile (xtests-special): Change test-iconvconfig to
909 $(objpfx)test-iconvconfig.out.
910 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
911 set -e inside subshell and redirect output to file.
912 * iconvdata/Makefile (generated): Rename tests to end with .out.
914 (tests-special): Rename tests to end with .out.
915 ($(objpfx)mtrace-tst-loading): Likewise.
916 * intl/Makefile (generated): Likewise.
917 (tests-special): Likewise.
918 ($(objpfx)mtrace-tst-gettext): Likewise.
919 * misc/Makefile (generated): Likewise.
920 (tests-special): Likewise.
921 ($(objpfx)tst-error1-mem): Likewise.
922 * nptl/Makefile (tests-special): Likewise.
923 ($(objpfx)tst-stack3-mem): Likewise.
924 (generated): Likewise.
925 * posix/Makefile (generated): Likewise.
926 (tests-special): Likewise.
927 (xtests-special): Likewise.
928 ($(objpfx)tst-fnmatch-mem): Likewise.
929 ($(objpfx)bug-regex2-mem): Likewise.
930 ($(objpfx)bug-regex14-mem): Likewise.
931 ($(objpfx)bug-regex21-mem): Likewise.
932 ($(objpfx)bug-regex31-mem): Likewise.
933 ($(objpfx)tst-vfork3-mem): Likewise.
934 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
935 ($(objpfx)tst-pcre-mem): Likewise.
936 ($(objpfx)tst-boost-mem): Likewise.
937 ($(objpfx)bug-ga2-mem): Likewise.
938 ($(objpfx)bug-glob2-mem): Likewise.
939 * resolv/Makefile (generate): Likewise.
940 (tests-special): Likewise.
941 (xtests-special): Likewise.
942 (generated): Likewise.
943 ($(objpfx)mtrace-tst-leaks): Likewise.
944 ($(objpfx)mtrace-tst-leaks2): Likewise.
946 * scripts/merge-test-results.sh: New file.
947 * Makefile (tests-special-notdir): New variable.
948 (tests): Run merge-test-results.sh.
950 * Rules (tests-special-notdir): New variable.
951 (xtests-special-notdir): Likewise.
952 (tests): Run merge-test-results.sh
955 * Makeconfig (test-xfail-name): New variable.
956 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
957 compute variable name for expected failures.
958 * conform/Makefile (conformtest-headers-data): New variable.
959 (conformtest-standards): Likewise.
960 (conformtest-headers-ISO): Likewise.
961 (conformtest-headers-ISO99): Likewise.
962 (conformtest-headers-ISO11): Likewise.
963 (conformtest-headers-POSIX): Likewise.
964 (conformtest-headers-XPG3): Likewise.
965 (conformtest-headers-XPG4): Likewise.
966 (conformtest-headers-UNIX98): Likewise.
967 (conformtest-headers-XOPEN2K): Likewise.
968 (conformtest-headers-POSIX2008): Likewise.
969 (conformtest-headers-XOPEN2K8): Likewise.
970 (conformtest-header-list-base): Likewise.
971 (conformtest-header-list-tests): Likewise.
972 (conformtest-header-base): Likewise.
973 (conformtest-header-tests): Likewise.
974 (tests-special): Add $(conformtest-header-list-tests). If
975 [$(fast-check) && !$(cross-compiling)], add
976 $(conformtest-header-tests) instead of
977 $(objpfx)run-conformtest.out.
978 (generated): Add $(conformtest-header-list-base). If
979 [$(fast-check) && !$(cross-compiling)], add
980 $(conformtest-header-base). Remove previous setting.
981 ($(conformtest-header-list-tests)): New target.
982 (test-xfail-run-conformtest): Remove variable.
983 ($(objpfx)run-conformtest.out): Remove target.
984 (test-xfail-ISO11/complex.h/conform): New variable.
985 (test-xfail-ISO11/stdalign.h/conform): Likewise.
986 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
987 (test-xfail-XPG3/varargs.h/conform): Likewise.
988 (test-xfail-XPG4/varargs.h/conform): Likewise.
989 (test-xfail-UNIX98/varargs.h/conform): Likewise.
990 (test-xfail-XPG4/ndbm.h/conform): Likewise.
991 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
992 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
993 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
994 (test-xfail-XPG3/fcntl.h/conform): Likewise.
995 (test-xfail-XPG3/ftw.h/conform): Likewise.
996 (test-xfail-XPG3/grp.h/conform): Likewise.
997 (test-xfail-XPG3/langinfo.h/conform): Likewise.
998 (test-xfail-XPG3/limits.h/conform): Likewise.
999 (test-xfail-XPG3/pwd.h/conform): Likewise.
1000 (test-xfail-XPG3/search.h/conform): Likewise.
1001 (test-xfail-XPG3/signal.h/conform): Likewise.
1002 (test-xfail-XPG3/stdio.h/conform): Likewise.
1003 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1004 (test-xfail-XPG3/string.h/conform): Likewise.
1005 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1006 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1007 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1008 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1009 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1010 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1011 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1012 (test-xfail-XPG3/termios.h/conform): Likewise.
1013 (test-xfail-XPG3/time.h/conform): Likewise.
1014 (test-xfail-XPG3/unistd.h/conform): Likewise.
1015 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1016 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1017 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1018 (test-xfail-XPG4/netdb.h/conform): Likewise.
1019 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1020 (test-xfail-XPG4/signal.h/conform): Likewise.
1021 (test-xfail-XPG4/stdio.h/conform): Likewise.
1022 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1023 (test-xfail-XPG4/stropts.h/conform): Likewise.
1024 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1025 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1026 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1027 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1028 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1029 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1030 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1031 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1032 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1033 (test-xfail-XPG4/termios.h/conform): Likewise.
1034 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1035 (test-xfail-XPG4/unistd.h/conform): Likewise.
1036 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1037 (test-xfail-POSIX/sched.h/conform): Likewise.
1038 (test-xfail-POSIX/signal.h/conform): Likewise.
1039 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1040 (test-xfail-POSIX/tar.h/conform): Likewise.
1041 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1042 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1043 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1044 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1045 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1046 (test-xfail-UNIX98/sched.h/conform): Likewise.
1047 (test-xfail-UNIX98/signal.h/conform): Likewise.
1048 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1049 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1050 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1051 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1052 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1053 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1054 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1055 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1056 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1057 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1058 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1059 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1060 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1061 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1062 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1063 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1064 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1065 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1066 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1067 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1068 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1069 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1070 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1071 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1072 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
1073 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
1074 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
1075 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1076 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
1077 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1078 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
1079 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
1080 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
1081 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1082 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
1083 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
1084 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
1085 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
1086 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
1087 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
1088 (test-xfail-POSIX2008/signal.h/conform): Likewise.
1089 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
1090 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
1091 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
1092 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1093 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
1094 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
1095 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1096 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1097 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1098 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
1099 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
1100 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
1101 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
1102 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1103 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
1104 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
1105 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1106 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
1107 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
1108 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
1109 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
1110 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1111 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
1112 (conformtest-cc-flags): Likewise.
1113 ($(conformtest-header-tests): New target.
1114 * conform/check-header-lists.sh: New file.
1115 * conform/run-conformtest.sh: Remove.
1117 * conform/conformtest.pl: Allow ' and \ in values given for
1119 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
1121 [POSIX] (sys/types.h): Likewise.
1122 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
1124 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
1126 * conform/data/signal.h-data (SIGIO): Remove expectation.
1127 [XPG3] (SIGBUS): Do not expect.
1128 [POSIX || XPG3] (SIGPOLL): Likewise.
1129 [POSIX || XPG3] (SIGPROF): Likewise.
1130 [POSIX || XPG3] (SIGSYS): Likewise.
1131 [XPG3] (SIGTRAP): Likewise.
1132 [POSIX || XPG3] (SIGURG): Likewise.
1133 [POSIX || XPG3] (SIGVTALRM): Likewise.
1134 [POSIX || XPG3] (SIGXCPU): Likewise.
1135 [POSIX || XPG3] (SIGXFSZ): Likewise.
1136 [POSIX] (SA_SIGINFO): Expect.
1137 [XPG3] (siginfo_t): Do not expect type or contents.
1138 [POSIX] (si_pid): Do not expect element.
1139 [POSIX] (si_uid): Likewise.
1140 [POSIX] (si_addr): Likewise.
1141 [POSIX] (si_status): Likewise.
1142 [POSIX] (si_band): Likewise.
1143 [XPG4] (si_value): Likewise.
1144 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
1145 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
1146 [POSIX || XPG3] (ILL_ILLADR): Likewise.
1147 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
1148 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
1149 [POSIX || XPG3] (ILL_PRVREG): Likewise.
1150 [POSIX || XPG3] (ILL_COPROC): Likewise.
1151 [POSIX || XPG3] (ILL_BADSTK): Likewise.
1152 [POSIX || XPG3] (FPE_INTDIV): Likewise.
1153 [POSIX || XPG3] (FPE_INTOVF): Likewise.
1154 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
1155 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
1156 [POSIX || XPG3] (FPE_FLTUND): Likewise.
1157 [POSIX || XPG3] (FPE_FLTRES): Likewise.
1158 [POSIX || XPG3] (FPE_FLTINV): Likewise.
1159 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
1160 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
1161 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
1162 [POSIX || XPG3] (BUS_ADRALN): Likewise.
1163 [POSIX || XPG3] (BUS_ADRERR): Likewise.
1164 [POSIX || XPG3] (BUS_OBJERR): Likewise.
1165 [POSIX || XPG3] (CLD_EXITED): Likewise.
1166 [POSIX || XPG3] (CLD_KILLED): Likewise.
1167 [POSIX || XPG3] (CLD_DUMPED): Likewise.
1168 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
1169 [POSIX || XPG3] (CLD_STOPPED): Likewise.
1170 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
1171 [POSIX || XPG3] (POLL_IN): Likewise.
1172 [POSIX || XPG3] (POLL_OUT): Likewise.
1173 [POSIX || XPG3] (POLL_MSG): Likewise.
1174 [POSIX || XPG3] (POLL_ERR): Likewise.
1175 [POSIX || XPG3] (POLL_PRI): Likewise.
1176 [POSIX || XPG3] (POLL_HUP): Likewise.
1177 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
1178 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
1179 (SIG*): Do not allow.
1180 [XPG3] (si_*): Likewise.
1181 [XPG3] (SI_*): Likewise.
1182 [XPG3 || XPG4] (sigev_*): Likewise.
1183 [XPG3 || XPG4] (SIGEV_*): Likewise.
1184 [XPG3 || XPG4] (sival_*): Likewise.
1185 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
1186 [POSIX || XPG3] (BUS_*): Likewise.
1187 [POSIX || XPG3] (CLD_*): Likewise.
1188 [POSIX || XPG3] (FPE_*): Likewise.
1189 [POSIX || XPG3] (ILL_*): Likewise.
1190 [POSIX || XPG3] (POLL_*): Likewise.
1191 [POSIX || XPG3] (SEGV_*): Likewise.
1192 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1193 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1194 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1195 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1196 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1197 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1198 Specify type and value.
1199 (TVERSLEN): Likewise.
1200 (REGTYPE): Likewise.
1201 (AREGTYPE): Likewise.
1202 (LNKTYPE): Likewise.
1203 (SYMTYPE): Likewise.
1204 (CHRTYPE): Likewise.
1205 (BLKTYPE): Likewise.
1206 (DIRTYPE): Likewise.
1207 (FIFOTYPE): Likewise.
1208 (CONTTYPE): Likewise.
1213 (TUWRITE): Likewise.
1216 (TGWRITE): Likewise.
1219 (TOWRITE): Likewise.
1221 [POSIX] (TSVTX): Expect constant.
1223 2014-03-06 Joseph Myers <joseph@codesourcery.com>
1225 * Makefile (tests): Change dependencies to ....
1226 (tests-special): ... additions to this variable.
1227 (tests): Depend on $(tests-special).
1228 * Makerules (check-abi-list): New variable.
1229 (check-abi): Depend on $(check-abi-list).
1230 [$(subdir) = elf] (tests-special): Add
1231 $(objpfx)check-abi-libc.out.
1232 [$(build-shared) = yes && subdir] (tests-special): Add
1234 [$(build-shared) = yes && subdir] (tests): Do not depend on
1236 * Rules (tests): Depend on $(tests-special).
1237 (xtests): Depend on $(xtests-special).
1238 * catgets/Makefile (tests): Change dependencies to ....
1239 (tests-special): ... additions to this variable.
1240 * conform/Makefile (tests): Change dependencies to ....
1241 (tests-special): ... additions to this variable.
1242 * elf/Makefile (tests): Change dependencies to ....
1243 (tests-special): ... additions to this variable.
1244 * grp/Makefile (tests): Change dependencies to ....
1245 (tests-special): ... additions to this variable.
1246 * iconv/Makefile (xtests): Change dependencies to ....
1247 (xtests-special): ... additions to this variable.
1248 * iconvdata/Makefile (tests): Change dependencies to ....
1249 (tests-special): ... additions to this variable.
1250 * intl/Makefile (tests): Change dependencies to ....
1251 (tests-special): ... additions to this variable. Also add
1252 $(objpfx)tst-gettext.out.
1253 * io/Makefile (tests): Change dependencies to ....
1254 (tests-special): ... additions to this variable.
1255 * libio/Makefile (tests): Change dependencies to ....
1256 (tests-special): ... additions to this variable.
1257 * malloc/Makefile (tests): Change dependencies to ....
1258 (tests-special): ... additions to this variable.
1259 * misc/Makefile (tests): Change dependencies to ....
1260 (tests-special): ... additions to this variable.
1261 * nptl/Makefile (tests): Change dependencies to ....
1262 (tests-special): ... additions to this variable.
1263 * nptl_db/Makefile (tests): Change dependencies to ....
1264 (tests-special): ... additions to this variable.
1265 * posix/Makefile (tests): Change dependencies to ....
1266 (tests-special): ... additions to this variable.
1267 (xtests): Change dependencies to ....
1268 (xtests-special): ... additions to this variable.
1269 * resolv/Makefile (tests): Change dependencies to ....
1270 (tests-special): ... additions to this variable.
1271 (xtests): Change dependencies to ....
1272 (xtests-special): ... additions to this variable.
1273 * stdio-common/Makefile (tests): Change dependencies to ....
1274 (tests-special): ... additions to this variable.
1275 (do-tst-unbputc): Remove target.
1276 (do-tst-printf): Likewise.
1277 * stdlib/Makefile (tests): Change dependencies to ....
1278 (tests-special): ... additions to this variable.
1279 * string/Makefile (tests): Change dependencies to ....
1280 (tests-special): ... additions to this variable.
1281 * sysdeps/x86/Makefile (tests): Change dependencies to ....
1282 (tests-special): ... additions to this variable.
1284 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1286 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1288 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1289 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1291 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1292 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1293 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1294 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1295 * conform/data/libgen.h-data [XPG3]: Likewise.
1296 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1297 * conform/data/ndbm.h-data [XPG3]: Likewise.
1298 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1299 * conform/data/netdb.h-data [XPG3]: Likewise.
1300 * conform/data/netinet/in.h-data [XPG3]: Likewise.
1301 * conform/data/poll.h-data [XPG3]: Likewise.
1302 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1303 * conform/data/strings.h-data [XPG3]: Likewise.
1304 * conform/data/stropts.h-data [XPG3]: Likewise.
1305 * conform/data/sys/mman.h-data [XPG3]: Likewise.
1306 * conform/data/sys/resource.h-data [XPG3]: Likewise.
1307 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1309 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1310 * conform/data/sys/time.h-data [XPG3]: Likewise.
1311 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1312 * conform/data/sys/uio.h-data [XPG3]: Likewise.
1313 * conform/data/sys/un.h-data [XPG3]: Likewise.
1314 * conform/data/syslog.h-data [XPG3]: Likewise.
1315 * conform/data/ucontext.h-data [XPG3]: Likewise.
1316 * conform/data/utmpx.h-data [XPG3]: Likewise.
1317 * conform/data/varargs.h-data [UNIX98]: Enable file.
1319 * manual/Makefile (INSTALL_INFO): Remove variable setting.
1321 * math/libm-test.inc (struct test_f_f_data): Move expected results
1322 into structure for each rounding mode.
1323 (struct test_ff_f_data): Likewise.
1324 (struct test_ff_f_data_nexttoward): Likewise.
1325 (struct test_fi_f_data): Likewise.
1326 (struct test_fl_f_data): Likewise.
1327 (struct test_if_f_data): Likewise.
1328 (struct test_fff_f_data): Likewise.
1329 (struct test_c_f_data): Likewise.
1330 (struct test_f_f1_data): Likewise.
1331 (struct test_fF_f1_data): Likewise.
1332 (struct test_ffI_f1_data): Likewise.
1333 (struct test_c_c_data): Likewise.
1334 (struct test_cc_c_data): Likewise.
1335 (struct test_f_i_data): Likewise.
1336 (struct test_ff_i_data): Likewise.
1337 (struct test_f_l_data): Likewise.
1338 (struct test_f_L_data): Likewise.
1339 (struct test_fFF_11_data): Likewise.
1341 (RM_FE_DOWNWARD): Likewise.
1342 (RM_FE_TONEAREST): Likewise.
1343 (RM_FE_TOWARDZERO): Likewise.
1344 (RM_FE_UPWARD): Likewise.
1345 (RUN_TEST_LOOP_f_f): Update references to expected results.
1346 (RUN_TEST_LOOP_2_f): Likewise.
1347 (RUN_TEST_LOOP_fff_f): Likewise.
1348 (RUN_TEST_LOOP_c_f): Likewise.
1349 (RUN_TEST_LOOP_f_f1): Likewise.
1350 (RUN_TEST_LOOP_fF_f1): Likewise.
1351 (RUN_TEST_LOOP_fI_f1): Likewise.
1352 (RUN_TEST_LOOP_ffI_f1): Likewise.
1353 (RUN_TEST_LOOP_c_c): Likewise.
1354 (RUN_TEST_LOOP_cc_c): Likewise.
1355 (RUN_TEST_LOOP_f_i): Likewise.
1356 (RUN_TEST_LOOP_f_i_tg): Likewise.
1357 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1358 (RUN_TEST_LOOP_f_b): Likewise.
1359 (RUN_TEST_LOOP_f_b_tg): Likewise.
1360 (RUN_TEST_LOOP_f_l): Likewise.
1361 (RUN_TEST_LOOP_f_L): Likewise.
1362 (RUN_TEST_LOOP_fFF_11): Likewise.
1363 * math/gen-libm-test.pl (parse_args): Output four copies of
1364 expected results for each test.
1366 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1367 (__ASSUME_UTIMES): Remove.
1368 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1369 (__ASSUME_UTIMES): Likewise.
1371 * math/gen-auto-libm-tests.c: Update comment on output format.
1372 (output_for_one_input_case): Generate before-rounding and
1373 after-rounding information as conditions on output flags not
1374 floating-point format.
1375 * math/auto-libm-test-out: Regenerated.
1376 * math/gen-libm-test.pl (cond_value): New function.
1377 (or_cond_value): Use cond_value.
1378 (generate_testfile): Handle conditional exceptions.
1380 2014-03-05 Joseph Myers <joseph@codesourcery.com>
1382 * math/libm-test.inc (max_valid_error): New variable.
1383 (init_max_error): Take new argument specifying whether function
1384 results are exactly determined. Set max_valid_error and bound
1385 other variables for errors based on this argument.
1386 (set_max_error): Do not record results above max_valid_error.
1387 (check_float_internal): Only accept errors of up to 0.5ulps if
1388 also at most max_valid_error.
1389 (START): Take new argument EXACT and pass it to init_max_error.
1390 (acos_test): Update call to START.
1391 (acos_test_tonearest): Likewise.
1392 (acos_test_towardzero): Likewise.
1393 (acos_test_downward): Likewise.
1394 (acos_test_upward): Likewise.
1395 (acosh_test): Likewise.
1396 (asin_test): Likewise.
1397 (asin_test_tonearest): Likewise.
1398 (asin_test_towardzero): Likewise.
1399 (asin_test_downward): Likewise.
1400 (asin_test_upward): Likewise.
1401 (asinh_test): Likewise.
1402 (atan_test): Likewise.
1403 (atanh_test): Likewise.
1404 (atan2_test): Likewise.
1405 (cabs_test): Likewise.
1406 (cacos_test): Likewise.
1407 (cacosh_test): Likewise.
1408 (carg_test): Likewise.
1409 (casin_test): Likewise.
1410 (casinh_test): Likewise.
1411 (catan_test): Likewise.
1412 (catanh_test): Likewise.
1413 (cbrt_test): Likewise.
1414 (ccos_test): Likewise.
1415 (ccosh_test): Likewise.
1416 (ceil_test): Likewise.
1417 (cexp_test): Likewise.
1418 (cimag_test): Likewise.
1419 (clog_test): Likewise.
1420 (clog10_test): Likewise.
1421 (conj_test): Likewise.
1422 (copysign_test): Likewise.
1423 (cos_test): Likewise.
1424 (cos_test_tonearest): Likewise.
1425 (cos_test_towardzero): Likewise.
1426 (cos_test_downward): Likewise.
1427 (cos_test_upward): Likewise.
1428 (cosh_test): Likewise.
1429 (cosh_test_tonearest): Likewise.
1430 (cosh_test_towardzero): Likewise.
1431 (cosh_test_downward): Likewise.
1432 (cosh_test_upward): Likewise.
1433 (cpow_test): Likewise.
1434 (cproj_test): Likewise.
1435 (creal_test): Likewise.
1436 (csin_test): Likewise.
1437 (csinh_test): Likewise.
1438 (csqrt_test): Likewise.
1439 (ctan_test): Likewise.
1440 (ctan_test_tonearest): Likewise.
1441 (ctan_test_towardzero): Likewise.
1442 (ctan_test_downward): Likewise.
1443 (ctan_test_upward): Likewise.
1444 (ctanh_test): Likewise.
1445 (ctanh_test_tonearest): Likewise.
1446 (ctanh_test_towardzero): Likewise.
1447 (ctanh_test_downward): Likewise.
1448 (ctanh_test_upward): Likewise.
1449 (erf_test): Likewise.
1450 (erfc_test): Likewise.
1451 (exp_test): Likewise.
1452 (exp_test_tonearest): Likewise.
1453 (exp_test_towardzero): Likewise.
1454 (exp_test_downward): Likewise.
1455 (exp_test_upward): Likewise.
1456 (exp10_test): Likewise.
1457 (exp10_test_tonearest): Likewise.
1458 (exp10_test_towardzero): Likewise.
1459 (exp10_test_downward): Likewise.
1460 (exp10_test_upward): Likewise.
1461 (pow10_test): Likewise.
1462 (exp2_test): Likewise.
1463 (expm1_test): Likewise.
1464 (expm1_test_tonearest): Likewise.
1465 (expm1_test_towardzero): Likewise.
1466 (expm1_test_downward): Likewise.
1467 (expm1_test_upward): Likewise.
1468 (fabs_test): Likewise.
1469 (fdim_test): Likewise.
1470 (floor_test): Likewise.
1471 (fma_test): Likewise.
1472 (fma_test_towardzero): Likewise.
1473 (fma_test_downward): Likewise.
1474 (fma_test_upward): Likewise.
1475 (fmax_test): Likewise.
1476 (fmin_test): Likewise.
1477 (fmod_test): Likewise.
1478 (fpclassify_test): Likewise.
1479 (frexp_test): Likewise.
1480 (hypot_test): Likewise.
1481 (ilogb_test): Likewise.
1482 (isfinite_test): Likewise.
1483 (finite_test): Likewise.
1484 (isgreater_test): Likewise.
1485 (isgreaterequal_test): Likewise.
1486 (isinf_test): Likewise.
1487 (isless_test): Likewise.
1488 (islessequal_test): Likewise.
1489 (islessgreater_test): Likewise.
1490 (isnan_test): Likewise.
1491 (isnormal_test): Likewise.
1492 (issignaling_test): Likewise.
1493 (isunordered_test): Likewise.
1494 (j0_test): Likewise.
1495 (j1_test): Likewise.
1496 (jn_test): Likewise.
1497 (ldexp_test): Likewise.
1498 (lgamma_test): Likewise.
1499 (gamma_test): Likewise.
1500 (lrint_test): Likewise.
1501 (lrint_test_tonearest): Likewise.
1502 (lrint_test_towardzero): Likewise.
1503 (lrint_test_downward): Likewise.
1504 (lrint_test_upward): Likewise.
1505 (llrint_test): Likewise.
1506 (llrint_test_tonearest): Likewise.
1507 (llrint_test_towardzero): Likewise.
1508 (llrint_test_downward): Likewise.
1509 (llrint_test_upward): Likewise.
1510 (log_test): Likewise.
1511 (log10_test): Likewise.
1512 (log1p_test): Likewise.
1513 (log2_test): Likewise.
1514 (logb_test): Likewise.
1515 (logb_test_downward): Likewise.
1516 (lround_test): Likewise.
1517 (llround_test): Likewise.
1518 (modf_test): Likewise.
1519 (nearbyint_test): Likewise.
1520 (nextafter_test): Likewise.
1521 (nexttoward_test): Likewise.
1522 (pow_test): Likewise.
1523 (pow_test_tonearest): Likewise.
1524 (pow_test_towardzero): Likewise.
1525 (pow_test_downward): Likewise.
1526 (pow_test_upward): Likewise.
1527 (remainder_test): Likewise.
1528 (drem_test): Likewise.
1529 (remainder_test_tonearest): Likewise.
1530 (drem_test_tonearest): Likewise.
1531 (remainder_test_towardzero): Likewise.
1532 (drem_test_towardzero): Likewise.
1533 (remainder_test_downward): Likewise.
1534 (drem_test_downward): Likewise.
1535 (remainder_test_upward): Likewise.
1536 (drem_test_upward): Likewise.
1537 (remquo_test): Likewise.
1538 (rint_test): Likewise.
1539 (rint_test_tonearest): Likewise.
1540 (rint_test_towardzero): Likewise.
1541 (rint_test_downward): Likewise.
1542 (rint_test_upward): Likewise.
1543 (round_test): Likewise.
1544 (scalb_test): Likewise.
1545 (scalbn_test): Likewise.
1546 (scalbln_test): Likewise.
1547 (signbit_test): Likewise.
1548 (sin_test): Likewise.
1549 (sin_test_tonearest): Likewise.
1550 (sin_test_towardzero): Likewise.
1551 (sin_test_downward): Likewise.
1552 (sin_test_upward): Likewise.
1553 (sincos_test): Likewise.
1554 (sinh_test): Likewise.
1555 (sinh_test_tonearest): Likewise.
1556 (sinh_test_towardzero): Likewise.
1557 (sinh_test_downward): Likewise.
1558 (sinh_test_upward): Likewise.
1559 (sqrt_test): Likewise.
1560 (sqrt_test_tonearest): Likewise.
1561 (sqrt_test_towardzero): Likewise.
1562 (sqrt_test_downward): Likewise.
1563 (sqrt_test_upward): Likewise.
1564 (tan_test): Likewise.
1565 (tan_test_tonearest): Likewise.
1566 (tan_test_towardzero): Likewise.
1567 (tan_test_downward): Likewise.
1568 (tan_test_upward): Likewise.
1569 (tanh_test): Likewise.
1570 (tgamma_test): Likewise.
1571 (trunc_test): Likewise.
1572 (y0_test): Likewise.
1573 (y1_test): Likewise.
1574 (yn_test): Likewise.
1575 (significand_test): Likewise.
1577 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1578 individual tests in comment.
1579 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1580 (prev_max_error): New variable.
1581 (prev_real_max_error): Likewise.
1582 (prev_imag_max_error): Likewise.
1583 (compare_ulp_data): Don't refer to test names in comment.
1584 (find_test_ulps): Remove function.
1585 (find_function_ulps): Likewise.
1586 (find_complex_function_ulps): Likewise.
1587 (init_max_error): Take function name as argument. Look up ulps
1589 (print_ulps): Remove function.
1590 (print_max_error): Use prev_max_error instead of calling
1592 (print_complex_max_error): Use prev_real_max_error and
1593 prev_imag_max_error instead of calling find_complex_function_ulps.
1594 (check_float_internal): Take max_ulp parameter instead of calling
1595 find_test_ulps. Don't call print_ulps.
1596 (check_float): Update call to check_float_internal.
1597 (check_complex): Update calls to check_float_internal.
1598 (START): Pass argument to init_max_error.
1599 * math/gen-libm-test.pl (%results): Don't include "kind"
1601 (parse_ulps): Don't handle ulps of individual tests.
1602 (print_ulps_file): Likewise.
1603 (output_ulps): Likewise.
1604 * math/README.libm-test: Update.
1605 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1607 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1608 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1609 * sysdeps/arm/libm-test-ulps: Likewise.
1610 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1611 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1612 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1613 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1614 * sysdeps/microblaze/libm-test-ulps: Likewise.
1615 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1616 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1617 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1618 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1619 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1620 * sysdeps/sh/libm-test-ulps: Likewise.
1621 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1622 * sysdeps/tile/libm-test-ulps: Likewise.
1623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1625 2014-03-04 Joseph Myers <joseph@codesourcery.com>
1627 * math/libm-test.inc (print_complex_max_error): Check separately
1628 whether real and imaginary errors are within allowed range and
1629 pass 0 to print_complex_function_ulps instead of value within
1632 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1634 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1636 (get_handles_fopen): Likewise.
1637 (do_write_test): Likewise.
1639 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1641 * libio/fileops.c (do_ftell): Use cached offset when
1643 * libio/iofwide.c (do_ftell_wide): Likewise.
1644 * libio/iofdopen.c (_IO_new_fdopen): Don't use
1646 * libio/wfileops.c (_IO_fwide): Don't cache offset.
1649 * libio/libioP.h (get_file_offset): New function.
1650 * libio/fileops.c (get_file_offset): Likewise.
1651 (do_ftell): Likewise.
1652 (_IO_new_file_seekoff): Split out ftell logic.
1653 * libio/wfileops.c (do_ftell_wide): Likewise.
1654 (_IO_wfile_seekoff): Split out ftell logic.
1655 * libio/tst-ftell-active-handler.c: New test case.
1656 * libio/Makefile (tests): Add it.
1658 2014-03-03 Roland McGrath <roland@hack.frob.com>
1660 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1661 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1663 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1666 * nscd/connections.c (nscd_init): Call do_exit.
1667 (start_threads): Call do_exit and notify_parent.
1668 (begin_drop_privileges): Call do_exit.
1669 (finish_drop_privileges): Likewise.
1670 * nscd/selinux.c (preserve_capabilities): Likewise.
1671 (install_real_capabilities): Likewise.
1672 (nscd_selinux_enabled): Likewise.
1673 (avc_create_thread): Likewise.
1674 (avc_alloc_lock): Likewise.
1675 (nscd_avc_init): Likewise.
1676 * nscd/nscd.c (parent_fd): New static variable.
1677 (main): Create a pipe between parent and child processes.
1678 Skip closing parent_fd.
1679 (monitor_child): New function.
1680 (do_exit): Likewise.
1681 (notify_parent): Likewise.
1682 * nscd/nscd.h (notify_parent): Likewise.
1683 (do_exit): Likewise.
1685 2014-03-03 Carlos O'Donell <carlos@redhat.com>
1687 * malloc/malloc.c (__libc_calloc): Revert last change.
1689 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1693 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1695 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1696 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1698 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1699 (__libc_ifunc_impl_list): Likewise.
1700 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1701 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1702 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1703 * string/strrchr.c: Define STRRCHR.
1705 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
1707 * benchtest/bench-strtok.c (simple_strtok): Delete.
1708 (strtok_string): Use as benchmark.
1709 * string/strtok (STRTOK): New macro.
1711 2014-02-28 Carlos O'Donell <carlos@redhat.com>
1713 * manual/threads.texi: Add header and standard comments to all
1716 * elf/dl-lookup.c (check_match): New function.
1717 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1718 (do_lookup_x): Remove nested function check_match. Use non-nested
1719 function check_match.
1721 2014-02-28 Roland McGrath <roland@hack.frob.com>
1723 * csu/Makefile (generated, before-compile): Use += rather than =.
1724 * catgets/Makefile (generated, generated-dirs): Likewise.
1725 * debug/Makefile (generated): Likewise.
1726 * dlfcn/Makefile (generated): Likewise.
1727 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1728 * iconvdata/Makefile (before-compile, generated): Likewise.
1729 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1730 * libio/Makefile (generated): Likewise.
1731 * malloc/Makefile (generated): Likewise.
1732 * manual/Makefile (generated, generated-dirs): Likewise.
1733 * misc/Makefile (generated): Likewise.
1734 * posix/Makefile (generated): Likewise.
1735 * resolv/Makefile (generated): Likewise.
1736 * sunrpc/Makefile (generated, generated-dirs): Likewise.
1737 * timezone/Makefile (generated, generated-dirs): Likewise.
1739 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1741 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1746 POWER8 llround ifunc implementation.
1747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1748 POWER8 implementation.
1749 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1750 POWER8 llround implementation.
1752 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1754 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1757 POWER8 llrint ifunc implementation.
1758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1759 POWER8 implementation.
1760 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1761 POWER8 llrint implementation.
1763 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1765 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1768 POWER8 finite ifunc implementation.
1769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1770 POWER8 implementation.
1771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1773 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1774 POWER8 finite implementation.
1775 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1777 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1782 POWER8 isinf ifunc implementation.
1783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1784 POWER8 implementation.
1785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1787 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1788 POWER8 isinf implementation.
1789 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1791 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1793 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1794 Add hwcap2 initialization.
1795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1798 POWER8 isnan ifunc implementation.
1799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1800 POWER8 implementation.
1801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1803 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1804 POWER8 isnan implementation.
1805 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1807 2014-02-27 Joey Ye <joey.ye@arm.com>
1809 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1810 (_FP_NANFRAC_Q): Set to zero.
1812 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1815 * math/auto-libm-test-in: New test inputs.
1816 * math/auto-libm-test-out: Regenerate.
1817 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1820 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1822 2014-02-27 Joseph Myers <joseph@codesourcery.com>
1824 * scripts/evaluate-test.sh: Take new argument indicating whether
1825 failure is expected.
1826 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1827 indicating whether failure is expected.
1828 * conform/Makefile (test-xfail-run-conformtest): New variable.
1829 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1831 * posix/Makefile (test-xfail-annexc): New variable.
1832 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1834 2014-02-26 Joseph Myers <joseph@codesourcery.com>
1836 * argp/Makefile: Include Makeconfig immediately after defining
1838 * assert/Makefile: Likewise.
1839 * benchtests/Makefile: Likewise.
1840 * catgets/Makefile: Likewise.
1841 * conform/Makefile: Likewise.
1842 * crypt/Makefile: Likewise.
1843 * csu/Makefile: Likewise.
1844 (all): Remove target.
1845 * ctype/Makefile: Include Makeconfig immediately after defining
1847 * debug/Makefile: Likewise.
1848 * dirent/Makefile: Likewise.
1849 * dlfcn/Makefile: Likewise.
1850 * gmon/Makefile: Likewise.
1851 * gnulib/Makefile: Likewise.
1852 * grp/Makefile: Likewise.
1853 * gshadow/Makefile: Likewise.
1854 * hesiod/Makefile: Likewise.
1855 * hurd/Makefile: Likewise.
1856 (all): Remove target.
1857 * iconvdata/Makefile: Include Makeconfig immediately after
1859 * inet/Makefile: Likewise.
1860 * intl/Makefile: Likewise.
1861 * io/Makefile: Likewise.
1862 * libio/Makefile: Likewise.
1863 (all): Remove target.
1864 * locale/Makefile: Include Makeconfig immediately after defining
1866 * login/Makefile: Likewise.
1867 * mach/Makefile: Likewise.
1868 (all): Remove target.
1869 * malloc/Makefile: Include Makeconfig immediately after defining
1871 (all): Remove target.
1872 * manual/Makefile: Include Makeconfig immediately after defining
1874 * math/Makefile: Likewise.
1875 * misc/Makefile: Likewise.
1876 * nis/Makefile: Likewise.
1877 * nss/Makefile: Likewise.
1878 * po/Makefile: Likewise.
1879 (all): Remove target.
1880 * posix/Makefile: Include Makeconfig immediately after defining
1882 * pwd/Makefile: Likewise.
1883 * resolv/Makefile: Likewise.
1884 * resource/Makefile: Likewise.
1885 * rt/Makefile: Likewise.
1886 * setjmp/Makefile: Likewise.
1887 * shadow/Makefile: Likewise.
1888 * signal/Makefile: Likewise.
1889 * socket/Makefile: Likewise.
1890 * soft-fp/Makefile: Likewise.
1891 * stdio-common/Makefile: Likewise.
1892 * stdlib/Makefile: Likewise.
1893 * streams/Makefile: Likewise.
1894 * string/Makefile: Likewise.
1895 * sunrpc/Makefile: Likewise.
1896 (all): Remove target.
1897 * sysvipc/Makefile: Include Makeconfig immediately after defining
1899 * termios/Makefile: Likewise.
1900 * time/Makefile: Likewise.
1901 * timezone/Makefile: Likewise.
1902 (all): Remove target.
1903 * wcsmbs/Makefile: Include Makeconfig immediately after defining
1905 * wctype/Makefile: Likewise.
1907 2014-02-26 Steve Ellcey <sellcey@mips.com>
1909 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1910 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1911 (libc_feholdexcept_setround_mips): Ditto.
1912 (libc_feholdsetround): New.
1913 (libc_feholdsetroundf): New.
1914 (libc_feholdsetroundl): New.
1915 (libc_feupdateenv_test_mips): New.
1916 (libc_feupdateenv_test): New.
1917 (libc_feupdateenv_testf): New.
1918 (libc_feupdateenv_testl): New.
1919 (libc_feresetround): New.
1920 (libc_feresetroundf): New.
1921 (libc_feresetroundl): New.
1922 (libc_fetestexcept_mips): New.
1923 (libc_fetestexcept): New.
1924 (libc_fetestexceptf): New.
1925 (libc_fetestexceptl): New.
1927 (libc_feholdexcept_setround_mips_ctx): New.
1928 (libc_feholdexcept_setround_ctx): New.
1929 (libc_feholdexcept_setroundf_ctx): New.
1930 (libc_feholdexcept_setroundl_ctx): New.
1931 (libc_fesetenv_mips_ctx): New.
1932 (libc_fesetenv_ctx): New.
1933 (libc_fesetenv_ctxf): New.
1934 (libc_fesetenv_ctxl): New.
1935 (libc_feupdateenv_mips_ctx): New.
1936 (libc_feupdateenv_ctx): New.
1937 (libc_feupdateenvf_ctx): New.
1938 (libc_feupdateenvl_ctx): New.
1939 (libc_feholdsetround_mips_ctx): New.
1940 (libc_feholdsetround_ctx): New.
1941 (libc_feholdsetroundf_ctx): New.
1942 (libc_feholdsetroundl_ctx): New.
1943 (libc_feresetround_mips_ctx): New.
1944 (libc_feresetround_ctx): New.
1945 (libc_feresetroundf_ctx): New.
1946 (libc_feresetroundl_ctx): New.
1948 2014-02-26 Carlos O'Donell <carlos@redhat.com>
1950 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1952 * manual/ipc.texi: New file.
1953 * manual/Makefile (chapters): Add ipc.
1954 * manual/job.texi: Add "Inter-Process Communication" to next.
1955 * manual/process.texi: Add "Inter-Process Communication" to prev.
1957 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1961 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
1963 * malloc/malloc.c (__libc_calloc): Simplify implementation.
1965 * manual/arith.texi: Fix spaces after sentences.
1966 * manual/charset.texi: Likewise.
1967 * manual/errno.texi: Likewise.
1968 * manual/install.texi: Likewise.
1969 * manual/llio.texi: Likewise.
1970 * manual/locale.texi: Likewise.
1971 * manual/maint.texi: Likewise.
1972 * manual/math.texi: Likewise.
1973 * manual/memory.texi: Likewise.
1974 * manual/message.texi: Likewise.
1975 * manual/probes.texi: Likewise.
1976 * manual/resource.texi: Likewise.
1977 * manual/signal.texi: Likewise.
1978 * manual/socket.texi: Likewise.
1979 * manual/stdio.texi: Likewise.
1980 * manual/string.texi: Likewise.
1981 * manual/time.texi: Likewise.
1982 * manual/users.texi: Likewise.
1984 2014-02-25 Carlos O'Donell <carlos@redhat.com>
1987 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1988 _DEFAULT_SOURCE is defined.
1990 2014-02-25 Ulrich Drepper <drepper@gmail.com>
1991 Carlos O'Donell <carlos@redhat.com>
1994 * elf/dl-tls.c (_dl_count_modids): New function.
1995 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1996 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1997 audit library and increment generation counter.
1998 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1999 * elf/tst-audit9.c: New file.
2000 * elf/tst-auditmod9a.c: New file.
2001 * elf/tst-auditmod9b.c: New file.
2002 * elf/Makefile: Add rules to build and run tst-audit9.
2004 2014-02-25 Florian Weimer <fweimer@redhat.com>
2007 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2009 2014-02-25 Will Newton <will.newton@linaro.org>
2011 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2012 (__longjmp): Restore sp and lr before restoring callee
2013 saved registers. Add longjmp and longjmp_target
2014 SystemTap probe point.
2015 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2016 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2017 Define to zero to match jmpbuf layout.
2018 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2019 (__sigsetjmp): Save sp and lr before saving callee
2020 saved registers. Add setjmp SystemTap probe point.
2022 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2024 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2026 2014-02-24 Andreas Schwab <schwab@suse.de>
2029 * elf/pldd.c (wait_for_ptrace_stop): New function.
2030 (main): Call it after attaching.
2032 2014-02-22 Roland McGrath <roland@hack.frob.com>
2034 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2035 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2036 Versions files is now verboten.
2037 * hurd/Versions (libc: GLIBC_2.0):
2038 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2039 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2040 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2041 * mach/Versions: Likewise.
2043 * csu/Versions: Remove unused %include.
2044 * resolv/Versions: Likewise.
2046 2014-02-21 Joseph Myers <joseph@codesourcery.com>
2048 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2049 ($(objpfx)check-local-headers.out): Likewise.
2050 ($(objpfx)begin-end-check.out): Likewise.
2051 * Makerules (check-abi-%.out): Likewise.
2052 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2053 ($(objpfx)test2.cat): Likewise.
2054 ($(objpfx)de/libc.cat): Likewise.
2055 ($(objpfx)test-gencat.out): Likewise.
2056 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2057 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2058 ($(objpfx)noload-mem): Likewise.
2059 ($(objpfx)tst-pathopt.out): Likewise.
2060 ($(objpfx)tst-rtld-load-self.out): Likewise.
2061 ($(objpfx)tst-array1-cmp.out): Likewise.
2062 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2063 ($(objpfx)tst-array2-cmp.out): Likewise.
2064 ($(objpfx)tst-array3-cmp.out): Likewise.
2065 ($(objpfx)tst-array4-cmp.out): Likewise.
2066 ($(objpfx)tst-array5-cmp.out): Likewise.
2067 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2068 ($(objpfx)check-textrel.out): Likewise.
2069 ($(objpfx)check-execstack.out): Likewise.
2070 ($(objpfx)check-localplt.out): Likewise.
2071 ($(objpfx)order2-cmp.out): Likewise.
2072 ($(objpfx)tst-leaks1-mem): Likewise.
2073 ($(objpfx)tst-leaks1-static-mem): Likewise.
2074 ($(objpfx)tst-initorder-cmp.out): Likewise.
2075 ($(objpfx)tst-initorder2-cmp.out): Likewise.
2076 ($(objpfx)tst-unused-dep.out): Likewise.
2077 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
2078 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
2079 * iconv/Makefile (test-iconvconfig): Likewise.
2080 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
2081 ($(objpfx)iconv-test.out): Likewise.
2082 ($(objpfx)tst-tables.out): Likewise.
2083 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
2084 ($(objpfx)tst-gettext.out): Likewise.
2085 ($(objpfx)tst-translit.out): Likewise.
2086 ($(objpfx)tst-gettext2.out): Likewise.
2087 ($(objpfx)tst-gettext4.out): Likewise.
2088 ($(objpfx)tst-gettext6.out): Likewise.
2089 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
2090 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
2091 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
2092 ($(objpfx)tst-fopenloc-mem.out): Likewise.
2093 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
2094 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
2095 * posix/Makefile ($(objpfx)globtest.out): Likewise.
2096 ($(objpfx)wordexp-tst.out): Likewise.
2097 ($(objpfx)annexc.out): Likewise.
2098 ($(objpfx)tst-fnmatch-mem): Likewise.
2099 ($(objpfx)bug-regex2-mem): Likewise.
2100 ($(objpfx)bug-regex14-mem): Likewise.
2101 ($(objpfx)bug-regex21-mem): Likewise.
2102 ($(objpfx)bug-regex31-mem): Likewise.
2103 ($(objpfx)tst-vfork3-mem): Likewise.
2104 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2105 ($(objpfx)tst-pcre-mem): Likewise.
2106 ($(objpfx)tst-boost-mem): Likewise.
2107 ($(objpfx)tst-getconf.out): Likewise.
2108 ($(objpfx)bug-ga2-mem): Likewise.
2109 ($(objpfx)bug-glob2-mem): Likewise.
2110 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
2111 ($(objpfx)mtrace-tst-leaks2): Likewise.
2112 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
2113 ($(objpfx)tst-printf.out): Likewise.
2114 ($(objpfx)tst-setvbuf1.out): Likewise.
2115 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
2116 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
2117 ($(objpfx)tst-fmtmsg.out): Likewise.
2118 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
2119 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
2121 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
2122 * bits/sigaction.h [__USE_MISC]: Likewise.
2123 * bits/waitstatus.h: Update #endif comments.
2124 * ctype/ctype.h: Likewise.
2125 * dirent/dirent.h: Likewise.
2126 [__USE_MISC]: Remove redundant conditionals.
2127 * grp/grp.h: Update #endif comments.
2128 [__USE_GNU]: Remove redundant conditionals.
2129 [__USE_MISC]: Likewise.
2130 * inet/netinet/in.h [__USE_GNU]: Likewise.
2131 * io/sys/stat.h [__USE_MISC]: Likewise.
2132 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
2133 * libio/bits/stdio.h: Update #endif comments.
2134 [__USE_MISC]: Remove redundant conditionals.
2135 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
2136 * libio/stdio.h: Update #endif comments.
2137 [__USE_MISC]: Remove redundant conditionals.
2138 * math/bits/math-finite.h [__USE_MISC]: Likewise.
2139 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
2140 * math/math.h: Update #else and #endif comments.
2141 [__USE_MISC]: Remove redundant conditionals.
2142 * misc/sys/uio.h: Update #endif comments.
2143 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
2144 * posix/glob.h [__USE_MISC]: Likewise.
2145 * posix/sys/types.h: Update #endif comments.
2146 [__USE_MISC]: Remove redundant conditionals.
2147 * posix/sys/wait.h: Update #endif comments.
2148 [__USE_MISC]: Remove redundant conditionals.
2149 * posix/unistd.h: Update #endif comments.
2150 [__USE_MISC]: Remove redundant conditionals.
2151 * pwd/pwd.h [__USE_GNU]: Likewise.
2152 [__USE_MISC]: Likewise.
2153 * resolv/netdb.h [__USE_GNU]: Likewise.
2154 * signal/signal.h: Update #endif comments.
2155 [__USE_MISC]: Remove redundant conditionals.
2156 * stdlib/stdlib.h: Update #else and #endif comments.
2157 [__USE_MISC]: Remove redundant conditionals.
2158 [__USE_GNU]: Likewise.
2159 * string/bits/string2.h [__USE_MISC]: Likewise.
2160 * string/string.h: Update #endif comments.
2161 [__USE_MISC]: Remove redundant conditionals.
2162 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
2164 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
2165 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
2166 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
2168 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
2170 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
2172 [__USE_MISC]: Remove redundant conditionals.
2173 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
2174 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
2175 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
2176 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
2177 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
2179 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
2180 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
2182 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
2183 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
2185 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
2187 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
2188 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2190 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2192 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2193 * sysdeps/x86/bits/string.h: Update #endif comments.
2194 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2196 * time/sys/time.h: Update #endif comments.
2197 * time/time.h: Likewise.
2198 [__USE_MISC]: Remove redundant conditionals.
2200 2014-02-21 Yury Gribov <y.gribov@samsung.com>
2203 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2205 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
2207 * Versions.def (librt): Add GLIBC_2.17.
2209 2014-02-21 Adam Conrad <adconrad@0c3.net>
2211 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2212 synonym for _SYS_AUXV_H to allow direct inclusion.
2213 * sysdeps/sparc/bits/hwcap.h: Likewise.
2214 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2215 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2216 * sysdeps/sparc/sysdep.h: Likewise.
2218 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2220 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2222 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2224 * benchtests/bench-strrchr.c: Print length instead of position.
2226 2014-02-20 Joseph Myers <joseph@codesourcery.com>
2229 * sysdeps/unix/sysv/linux/kernel-features.h
2230 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2231 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2232 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2233 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2235 [__i386__ || __powerpc__ || __sh__ || __sparc__]
2236 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2237 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2238 (__ASSUME_SENDMMSG): Define instead of using previous
2239 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2240 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2241 (__ASSUME_SENDMMSG_SYSCALL): Define.
2242 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2243 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2245 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2246 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2248 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2249 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2251 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2252 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2253 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2254 [__ASSUME_SENDMMSG]: Change conditionals to
2255 [__ASSUME_SENDMMSG_SOCKETCALL].
2256 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2257 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2259 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2260 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2262 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2263 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2264 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2265 [!__ASSUME_SENDMMSG]: Change conditional to
2266 [!__ASSUME_SENDMMSG_SOCKETCALL].
2267 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2268 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2272 * sysdeps/unix/sysv/linux/kernel-features.h
2273 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2274 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2275 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2276 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2277 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2278 [__i386__ || __sparc__]
2279 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2280 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2281 (__ASSUME_RECVMMSG): Define instead of using previous
2282 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2283 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2284 (__ASSUME_RECVMMSG_SYSCALL): Define.
2285 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2286 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2288 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2289 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2291 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2292 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2294 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2295 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2296 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2297 [__ASSUME_RECVMMSG]: Change condition to
2298 [__ASSUME_RECVMMSG_SOCKETCALL].
2299 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2300 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2302 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2303 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2304 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2306 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2307 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2308 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2309 [!__ASSUME_RECVMMSG]: Change condition to
2310 [!__ASSUME_RECVMMSG_SOCKETCALL].
2311 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2312 (__ASSUME_RECVMMSG_SYSCALL): Define.
2315 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2316 __powerpc__ || __s390__ || __sh__ || __sparc__]
2317 (__ASSUME_SOCKETCALL): Define.
2318 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2319 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2320 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2321 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2322 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2323 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2324 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2325 (__ASSUME_ACCEPT4): Define instead of using previous
2326 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2327 __powerpc__ || __sparc__ || __s390__)] condition.
2328 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2329 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2330 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2331 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2332 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2333 [!__ASSUME_ACCEPT4]: Change condition to
2334 [!__ASSUME_ACCEPT4_SOCKETCALL].
2335 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2336 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
2337 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2338 * sysdeps/unix/sysv/linux/arm/kernel-features.h
2339 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2340 __ASSUME_ACCEPT4_SYSCALL.
2341 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2342 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2343 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2344 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2345 __ASSUME_ACCEPT4_SYSCALL.
2346 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2347 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2348 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2349 [__ASSUME_ACCEPT4]: Change condition to
2350 [__ASSUME_ACCEPT4_SOCKETCALL].
2351 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2352 (__ASSUME_SOCKETCALL): Define.
2353 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2354 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2355 (__ASSUME_SOCKETCALL): Define.
2356 (__ASSUME_ACCEPT4): Remove.
2357 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2359 * sysdeps/unix/sysv/linux/mips/kernel-features.h
2360 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2362 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2363 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2365 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2367 (HWCAP_ARM_LPAE): Likewise.
2368 (HWCAP_ARM_EVTSTRM): Likewise.
2369 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2370 Add vpfd32, lpae and evtstrm.
2371 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2374 2014-02-19 Joseph Myers <joseph@codesourcery.com>
2376 * math/auto-libm-test-in: Add tests of clog10.
2377 * math/auto-libm-test-out: Regenerated.
2378 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2379 * sysdeps/i386/fpu/libm-test-ulps: Update.
2380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2382 2014-02-18 Andreas Schwab <schwab@suse.de>
2385 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2386 Store non-zero if the second buffer was newly allocated.
2387 (send_dg): Likewise.
2388 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2389 to send_vc and send_dg.
2390 (res_nsend): Pass NULL for ansp2_malloced.
2391 * resolv/res_query.c (__libc_res_nquery): Add parameter
2392 answerp2_malloced and pass it down to __libc_res_nsend.
2393 (res_nquery): Pass additional NULL to __libc_res_nquery.
2394 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2395 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
2396 second answer buffer if answerp2_malloced was set.
2397 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2398 (__libc_res_nquerydomain): Add parameter
2399 answerp2_malloced and pass it down to __libc_res_nquery.
2400 (res_nquerydomain): Pass additional NULL to
2401 __libc_res_nquerydomain.
2402 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2403 additional NULL to __libc_res_nsend and __libc_res_nquery.
2404 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2405 additional NULL to __libc_res_nsearch.
2406 (_nss_dns_gethostbyname4_r): Revert last change. Use new
2407 parameter of __libc_res_nsearch to check for separately allocated
2409 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2411 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2412 additional NULL to __libc_res_nquery.
2413 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2415 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2416 * include/resolv.h: Update prototypes of __libc_res_nquery,
2417 __libc_res_nsearch, __libc_res_nsend.
2419 2014-02-18 Joseph Myers <joseph@codesourcery.com>
2421 * math/auto-libm-test-in: Add tests of fma.
2422 * math/auto-libm-test-out: Regenerated.
2423 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2424 (fma_towardzero_test_data): Likewise.
2425 (fma_downward_test_data): Likewise.
2426 (fma_upward_test_data): Likewise.
2427 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2429 (rounding_modes): Add values for new field.
2430 (func_calc_method): Add value mpfr_fff_f.
2431 (func_calc_desc): Add mpfr_fff_f union field.
2432 (test_function): Add field exact_args.
2433 (FUNC): Add macro argument EXACT_ARGS.
2434 (FUNC_mpfr_f_f): Update call to FUNC.
2435 (FUNC_mpfr_f_f): Likewise.
2436 (FUNC_mpfr_ff_f): Likewise.
2437 (FUNC_mpfr_if_f): Likewise.
2438 (FUNC_mpc_c_f): Likewise.
2439 (FUNC_mpc_c_c): Likewise.
2440 (test_functions): Add fma. Update calls to FUNC.
2441 (handle_input_arg): Add argument exact_args.
2442 (add_test): Update call to handle_input_arg.
2443 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
2444 (output_for_one_input_case): Update call to calc_generic_results.
2445 Recalculate exact zero results in each rounding mode.
2447 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2448 non-negative before setting low bit.
2449 * math/auto-libm-test-in: Mark one asin test possibly having
2451 * math/auto-libm-test-out: Regenerated.
2452 * sysdeps/i386/fpu/libm-test-ulps: Update.
2453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2455 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
2457 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2458 * sysdeps/unix/sysv/linux/microblaze: Move directory from
2459 ports/sysdeps/unix/sysv/linux/microblaze.
2460 * README: Add missing listing for microblaze*-*-linux-gnu.
2462 2014-02-16 Mike Frysinger <vapier@gentoo.org>
2464 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2465 * sysdeps/unix/sysv/linux/ia64: Move directory from
2466 ports/sysdeps/unix/sysv/linux/ia64.
2467 * README: Update listing for ia64-*-linux-gnu.
2469 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
2470 Joseph Myers <joseph@codesourcery.com>
2472 * Makeconfig (test-name): New variable.
2473 (evaluate-test): Likewise.
2474 * Makerules (do-test-clean): Remove .test-result files.
2475 (common-mostlyclean): Likewise.
2476 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2477 * scripts/evaluate-test.sh: New file.
2479 2014-02-14 Joseph Myers <joseph@codesourcery.com>
2481 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2482 separate $(objpfx)tst-fopenloc-cmp.out and
2483 $(objpfx)tst-fopenloc-mem.out targets.
2484 (tests): Update dependencies.
2485 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2486 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2487 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2488 (tst-rxspencer-no-utf8-ARGS): New variable.
2489 (tst-rxspencer-no-utf8-ENV): Likewise.
2490 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2491 instead of $(objpfx)tst-rxspencer-mem.
2492 ($(objpfx)tst-rxspencer-mem): Change target to
2493 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
2494 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2495 * posix/tst-rxspencer-no-utf8.c: New file.
2497 * elf/Makefile ($(objpfx)order.out): Remove rule.
2498 [$(run-built-tests) = yes] (tests): Depend on
2499 $(objpfx)order-cmp.out.
2500 ($(objpfx)order-cmp.out): New rule.
2501 [$(run-built-tests) = yes] (tests): Depend on
2502 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2503 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2504 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2505 $(objpfx)tst-array5-static-cmp.out.
2506 ($(objpfx)tst-array1.out): Remove rule.
2507 ($(objpfx)tst-array1-cmp.out): New rule.
2508 ($(objpfx)tst-array1-static.out): Remove rule.
2509 ($(objpfx)tst-array1-static-cmp.out): New rule.
2510 ($(objpfx)tst-array2.out): Remove rule.
2511 ($(objpfx)tst-array2-cmp.out): New rule.
2512 ($(objpfx)tst-array3.out): Remove rule.
2513 ($(objpfx)tst-array3-cmp.out): New rule.
2514 ($(objpfx)tst-array4.out): Remove rule.
2515 ($(objpfx)tst-array4-cmp.out): New rule.
2516 ($(objpfx)tst-array5.out): Remove rule.
2517 ($(objpfx)tst-array5-cmp.out): New rule.
2518 ($(objpfx)tst-array5-static.out): Remove rule.
2519 ($(objpfx)tst-array5-static-cmp.out): New rule.
2520 [$(run-built-tests) = yes] (tests): Depend on
2521 $(objpfx)order2-cmp.out.
2522 ($(objpfx)order2.out): Remove rule.
2523 ($(objpfx)order2-cmp.out): New rule.
2524 ($(objpfx)tst-initorder.out): Remove rule.
2525 [$(run-built-tests) = yes] (tests): Depend on
2526 $(objpfx)tst-initorder-cmp.out.
2527 ($(objpfx)tst-initorder-cmp.out): New rule.
2528 ($(objpfx)tst-initorder2.out): Remove rule.
2529 [$(run-built-tests) = yes] (tests): Depend on
2530 $(objpfx)tst-initorder2-cmp.out.
2531 ($(objpfx)tst-initorder2-cmp.out): New rule.
2532 [$(run-built-tests) = yes] (tests): Depend on
2533 $(objpfx)tst-unused-dep-cmp.out.
2534 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2535 ($(objpfx)tst-unused-dep-cmp.out): New rule.
2536 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2537 on $(objpfx)tst-setvbuf1-cmp.out.
2538 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2539 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2540 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2541 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2542 ($(objpfx)tst-svc.out): Remove rule.
2543 ($(objpfx)tst-svc-cmp.out): New rule.
2545 2014-02-13 Joseph Myers <joseph@codesourcery.com>
2547 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2548 * ctype/ctype.h [__USE_MISC]: Likewise.
2549 * dirent/dirent.h [__USE_MISC]: Likewise.
2550 * grp/grp.h [__USE_MISC]: Likewise.
2551 * io/fcntl.h [__USE_MISC]: Likewise.
2552 * io/sys/stat.h [__USE_MISC]: Likewise.
2553 * libio/stdio.h [__USE_MISC]: Likewise.
2554 * posix/unistd.h [__USE_MISC]: Likewise.
2555 * pwd/pwd.h [__USE_MISC]: Likewise.
2556 * stdlib.h [__USE_MISC]: Likewise.
2557 * string/bits/string2.h [__USE_MISC]: Likewise.
2558 * string/string.h [__USE_MISC]: Likewise.
2559 * time/time.h [__USE_MISC]: Likewise.
2561 2014-02-13 Andreas Schwab <schwab@suse.de>
2564 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2565 second answer buffer if it was separately allocated.
2567 2014-02-12 Joseph Myers <joseph@codesourcery.com>
2569 * sysdeps/mips/math-tests.h: Include <features.h>.
2570 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2571 (ROUNDING_TESTS_long_double): Do not define.
2572 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2573 (EXCEPTION_TESTS_long_double): Likewise.
2574 * sysdeps/mips/mips64/libm-test-ulps: Update.
2576 * include/features.h (__USE_BSD): Remove macro definitions.
2577 (__USE_SVID): Likewise.
2578 (_BSD_SOURCE): Likewise.
2579 (_SVID_SOURCE): Likewise.
2580 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2581 from definition of _DEFAULT_SOURCE.
2582 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2584 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2585 * bits/mman.h [__USE_BSD]: Likewise.
2586 * bits/termios.h [__USE_BSD]: Likewise.
2587 * bits/waitstatus.h [__USE_BSD]: Likewise.
2588 * ctype/ctype.h [__USE_SVID]: Likewise.
2589 * dirent/dirent.h [__USE_BSD]: Likewise.
2590 * grp/grp.h [__USE_SVID]: Likewise.
2591 [__USE_BSD]: Likewise.
2592 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2593 * io/fcntl.h [__USE_BSD]: Likewise.
2594 * io/ftw.h [__USE_BSD]: Likewise.
2595 * io/sys/stat.h [__USE_BSD]: Likewise.
2596 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2597 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2598 * libio/stdio.h [__USE_SVID]: Likewise.
2599 [__USE_BSD]: Likewise.
2600 * math/math.h [__USE_SVID]: Likewise.
2601 [__USE_BSD]: Likewise.
2602 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2603 * misc/bits/syslog.h [__USE_BSD]: Likewise.
2604 * misc/search.h [__USE_SVID]: Likewise.
2605 * misc/sys/mman.h [__USE_BSD]: Likewise.
2606 * misc/sys/syslog.h [__USE_BSD]: Likewise.
2607 * misc/sys/uio.h [__USE_BSD]: Likewise.
2608 * posix/bits/unistd.h [__USE_BSD]: Likewise.
2609 * posix/glob.h [__USE_BSD]: Likewise.
2610 * posix/regex.h [__USE_BSD]: Likewise.
2611 * posix/sys/types.h [__USE_BSD]: Likewise.
2612 [__USE_SVID]: Likewise.
2613 * posix/sys/utsname.h [__USE_SVID]: Likewise.
2614 * posix/sys/wait.h [__USE_BSD]: Likewise.
2615 [__USE_SVID]: Likewise.
2616 * posix/unistd.h [__USE_BSD]: Likewise.
2617 [__USE_SVID]: Likewise.
2618 * pwd/pwd.h [__USE_SVID]: Likewise.
2619 * resolv/netdb.h [__USE_BSD]: Likewise.
2620 * setjmp/setjmp.h [__USE_BSD]: Likewise.
2621 * signal/signal.h [__USE_BSD]: Likewise.
2622 [__USE_SVID]: Likewise.
2623 * socket/sys/socket.h [__USE_BSD]: Likewise.
2624 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2625 * stdlib/stdlib.h [__USE_BSD]: Likewise.
2626 [__USE_SVID]: Likewise.
2627 * string/bits/string2.h [__USE_BSD]: Likewise.
2628 [__USE_SVID]: Likewise.
2629 * string/bits/string3.h [__USE_BSD]: Likewise.
2630 * string/endian.h [__USE_BSD]: Likewise.
2631 * string/string.h [__USE_SVID]: Likewise.
2632 [__USE_BSD]: Likewise.
2633 * string/strings.h [__USE_BSD]: Likewise.
2634 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2635 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2636 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2637 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2638 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2639 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2641 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2643 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2644 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2646 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2647 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2649 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2651 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2652 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2653 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2655 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2657 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2658 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2659 * termios/termios.h [__USE_BSD]: Likewise.
2660 * time/sys/time.h [__USE_BSD]: Likewise.
2661 * time/time.h [__USE_BSD]: Likewise.
2662 [__USE_SVID]: Likewise.
2664 * Makefile (subdir_targets): Remove subdir_lint.out.
2666 * stdio-common/Makefile (do-tst-unbputc): Remove target.
2667 (do-tst-printf): Likewise.
2668 (tests): Depend directly on $(objpfx)tst-unbputc.out and
2669 $(objpfx)tst-printf.out.
2671 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2673 * Makerules (check-abi-%): Change target to
2674 $(objpfx)check-abi-%.out.
2675 (check-abi target): Update dependencies.
2676 (check-abi-pattern variable): Redirect output of diff to $@.
2677 (check-abi variable): Likewise.
2678 * elf/Makefile (check-abi): Update dependencies.
2680 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2682 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2683 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2685 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2686 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2687 value has largest subnormal exponent.
2688 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2689 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2690 * sysdeps/aarch64/soft-fp/sfp-machine.h
2691 (_FP_TININESS_AFTER_ROUNDING): New macro.
2692 * sysdeps/alpha/soft-fp/sfp-machine.h
2693 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2694 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2696 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2697 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2698 * sysdeps/mips/soft-fp/sfp-machine.h
2699 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2700 * sysdeps/powerpc/soft-fp/sfp-machine.h
2701 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2702 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2704 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2705 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2706 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2707 (_FP_TININESS_AFTER_ROUNDING): Likewise.
2708 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2711 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
2714 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2717 2014-02-12 Richard Henderson <rth@redhat.com>
2719 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2720 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2721 * sysdeps/unix/sysv/linux/alpha: Move directory from
2722 ports/sysdeps/unix/sysv/linux/alpha.
2723 * README: Update listing for alpha-*-linux-gnu.
2725 2014-02-11 Joseph Myers <joseph@codesourcery.com>
2727 * include/features.h: Update comment documenting feature test
2729 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
2731 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2732 (_SVID_SOURCE): Likewise.
2733 (_DEFAULT_SOURCE): Update description of default features.
2734 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2736 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2737 (S_ISVTX): Likewise.
2738 * manual/math.texi (Mathematical Constants): Likewise.
2739 * manual/signal.texi (Interrupted Primitives): Likewise.
2740 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2741 * math/test-matherr.c (_SVID_SOURCE): Do not define.
2742 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2743 Don't refer to _SVID_SOURCE in warning text.
2745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2747 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2749 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2750 * sysdeps/mips/dl-lookup.c: Remove.
2751 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2753 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2756 * math/auto-libm-test-in: Add testcase for expl.
2757 * math/auto-libm-test-out: Regenerate.
2758 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2759 calculation of unsafe.
2760 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2762 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
2764 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2765 * sysdeps/unix/sysv/linux/aarch64: Move directory from
2766 ports/sysdeps/unix/sysv/linux/aarch64.
2767 * README: Update listing for aarch64*-*-linux-gnu.
2769 2014-02-11 Will Newton <will.newton@linaro.org>
2771 * manual/probes.texi (Mathematical Function Probes): Use
2772 "triggered" instead of "hit".
2774 2014-02-11 Will Newton <will.newton@linaro.org>
2776 * manual/probes.texi (Internal Probes): Add documentation
2777 of setjmp, longjmp and longjmp_target probes.
2779 2014-02-11 Will Newton <will.newton@linaro.org>
2781 * include/stap-probe.h: Add comment about probe argument
2784 2014-02-11 Will Newton <will.newton@linaro.org>
2786 * malloc/mtrace.c (attribute_hidden): Remove unused macro
2787 definition. (tr_where, tr_freehook, tr_mallochook,
2788 tr_reallochook, tr_memalignhook): Use ANSI protoype.
2790 2014-02-11 David S. Miller <davem@davemloft.net>
2792 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2793 processing int_tests.
2795 2014-02-10 Joseph Myers <joseph@codesourcery.com>
2797 * sysdeps/mips: Move directory from ports/sysdeps/mips.
2798 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2799 * sysdeps/unix/sysv/linux/mips: Move directory from
2800 ports/sysdeps/unix/sysv/linux/mips.
2801 * README: Update listing for mips-*-linux-gnu and
2804 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
2806 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2807 * sysdeps/unix/sysv/linux/m68k: Move directory from
2808 ports/sysdeps/unix/sysv/linux/m68k.
2809 * README: Update listing for m68k-*-linux-gnu.
2811 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
2813 * sysdeps/tile: Move directory from ports/sysdeps/tile.
2814 * sysdeps/unix/sysv/linux/generic: Move directory from
2815 ports/sysdeps/unix/sysv/linux/generic.
2816 * sysdeps/unix/sysv/linux/tile: Move directory from
2817 ports/sysdeps/unix/sysv/linux/tile.
2818 * README: Update listing for tile*-*-linux-gnu.
2820 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
2822 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2823 * benchtests/bench-memmem.c (simple_memmem): Likewise.
2824 * catgets/open_catalog.c (__open_catalog): Likewise.
2825 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2826 * debug/confstr_chk.c: Likewise.
2827 * debug/fread_chk.c (__fread_chk): Likewise.
2828 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2829 * debug/getgroups_chk.c: Likewise.
2830 * debug/mbsnrtowcs_chk.c: Likewise.
2831 * debug/mbsrtowcs_chk.c: Likewise.
2832 * debug/mbstowcs_chk.c: Likewise.
2833 * debug/memcpy_chk.c: Likewise.
2834 * debug/memmove_chk.c: Likewise.
2835 * debug/mempcpy_chk.c: Likewise.
2836 * debug/memset_chk.c: Likewise.
2837 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2838 * debug/strcat_chk.c (__strcat_chk): Likewise.
2839 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2840 * debug/strncat_chk.c (__strncat_chk): Likewise.
2841 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2842 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2843 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2844 * debug/wcpncpy_chk.c: Likewise.
2845 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2846 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2847 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2848 * debug/wcsncpy_chk.c: Likewise.
2849 * debug/wcsnrtombs_chk.c: Likewise.
2850 * debug/wcsrtombs_chk.c: Likewise.
2851 * debug/wcstombs_chk.c: Likewise.
2852 * debug/wmemcpy_chk.c: Likewise.
2853 * debug/wmemmove_chk.c: Likewise.
2854 * debug/wmempcpy_chk.c: Likewise.
2855 * debug/wmemset_chk.c: Likewise.
2856 * dirent/scandirat.c (SCANDIRAT): Likewise.
2857 * dlfcn/dladdr1.c (dladdr1): Likewise.
2858 * dlfcn/dladdr.c (dladdr): Likewise.
2859 * dlfcn/dlclose.c (dlclose_doit): Likewise.
2860 * dlfcn/dlerror.c (__dlerror): Likewise.
2861 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2862 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2863 * dlfcn/dlopen.c (dlopen_doit): Likewise.
2864 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2865 * dlfcn/dlsym.c (dlsym_doit): Likewise.
2866 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2867 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2868 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2870 * elf/dl-conflict.c: Likewise.
2871 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2872 * elf/dl-dst.h: Likewise.
2873 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2874 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2875 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2876 * elf/dl-init.c (call_init, _dl_init): Likewise.
2877 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2878 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2879 _dl_map_object_from_fd, open_verify, open_path,
2880 _dl_map_object): Likewise.
2881 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2883 * elf/dl-minimal.c (__libc_memalign): Likewise.
2884 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2885 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2886 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2887 * elf/dl-sym.c (do_sym): Likewise.
2888 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2889 _dl_tls_get_addr_soft): Likewise.
2890 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2891 * elf/dl-writev.h (_dl_writev): Likewise.
2892 * elf/ldconfig.c (search_dir): Likewise.
2893 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2895 * elf/setup-vdso.h (setup_vdso): Likewise.
2896 * grp/compat-initgroups.c (compat_call): Likewise.
2897 * grp/fgetgrent.c (fgetgrent): Likewise.
2898 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2899 * grp/putgrent.c (putgrent): Likewise.
2900 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2902 * hurd/hurdinit.c: Likewise.
2903 * iconvdata/8bit-gap.c (struct): Likewise.
2904 * iconvdata/ansi_x3.110.c : Likewise.
2905 * iconvdata/big5.c : Likewise.
2906 * iconvdata/big5hkscs.c : Likewise.
2907 * iconvdata/cp1255.c: Likewise.
2908 * iconvdata/cp1258.c : Likewise.
2909 * iconvdata/cp932.c : Likewise.
2910 * iconvdata/euc-cn.c: Likewise.
2911 * iconvdata/euc-jisx0213.c : Likewise.
2912 * iconvdata/euc-jp.c: Likewise.
2913 * iconvdata/euc-jp-ms.c : Likewise.
2914 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2915 * iconvdata/gb18030.c : Likewise.
2916 * iconvdata/gbbig5.c (const): Likewise.
2917 * iconvdata/gbgbk.c: Likewise.
2918 * iconvdata/gbk.c : Likewise.
2919 * iconvdata/ibm1364.c : Likewise.
2920 * iconvdata/ibm930.c : Likewise.
2921 * iconvdata/ibm932.c: Likewise.
2922 * iconvdata/ibm933.c : Likewise.
2923 * iconvdata/ibm935.c : Likewise.
2924 * iconvdata/ibm937.c : Likewise.
2925 * iconvdata/ibm939.c : Likewise.
2926 * iconvdata/ibm943.c: Likewise.
2927 * iconvdata/iso_11548-1.c: Likewise.
2928 * iconvdata/iso-2022-cn.c : Likewise.
2929 * iconvdata/iso-2022-cn-ext.c : Likewise.
2930 * iconvdata/iso-2022-jp-3.c: Likewise.
2931 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2932 * iconvdata/iso-2022-kr.c : Likewise.
2933 * iconvdata/iso646.c (gconv_end): Likewise.
2934 * iconvdata/iso_6937-2.c : Likewise.
2935 * iconvdata/iso_6937.c : Likewise.
2936 * iconvdata/iso8859-1.c: Likewise.
2937 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2938 * iconvdata/shift_jisx0213.c : Likewise.
2939 * iconvdata/sjis.c : Likewise.
2940 * iconvdata/t.61.c : Likewise.
2941 * iconvdata/tcvn5712-1.c : Likewise.
2942 * iconvdata/tscii.c: Likewise.
2943 * iconvdata/uhc.c : Likewise.
2944 * iconvdata/unicode.c (gconv_end): Likewise.
2945 * iconvdata/utf-16.c (gconv_end): Likewise.
2946 * iconvdata/utf-32.c (gconv_end): Likewise.
2947 * iconvdata/utf-7.c (base64): Likewise.
2948 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2949 * iconv/gconv_close.c (__gconv_close): Likewise.
2950 * iconv/gconv_open.c (__gconv_open): Likewise.
2951 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2952 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2953 internal_ucs4le_loop_single, ucs4le_internal_loop,
2954 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2955 * iconv/iconv.c (iconv): Likewise.
2956 * iconv/iconv_close.c: Likewise.
2957 * iconv/loop.c (SINGLE): Likewise.
2958 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2959 * include/atomic.h: Likewise.
2960 * inet/inet6_option.c (option_alloc): Likewise.
2961 * intl/bindtextdom.c (set_binding_values): Likewise.
2962 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2963 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2964 * intl/localealias.c (read_alias_file): Likewise.
2965 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2966 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2967 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2968 * libio/fmemopen.c (fmemopen): Likewise.
2969 * libio/iofgets.c (_IO_fgets): Likewise.
2970 * libio/iofgets_u.c (fgets_unlocked): Likewise.
2971 * libio/iofgetws.c (fgetws): Likewise.
2972 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2973 * libio/iogetdelim.c (_IO_getdelim): Likewise.
2974 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2975 adjust_wide_data, _IO_wfile_seekoff): Likewise.
2976 * locale/findlocale.c (_nl_find_locale): Likewise.
2977 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2978 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2980 * locale/setlocale.c (setlocale): Likewise.
2981 * login/programs/pt_chown.c (main): Likewise.
2982 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2983 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2984 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2985 mmap, mmap64, mremap, munmap): Likewise.
2986 * math/e_exp2l.c: Likewise.
2987 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2988 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2989 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2990 * math/s_catan.c (__catan): Likewise.
2991 * math/s_catanf.c (__catanf): Likewise.
2992 * math/s_catanh.c (__catanh): Likewise.
2993 * math/s_catanhf.c (__catanhf): Likewise.
2994 * math/s_catanhl.c (__catanhl): Likewise.
2995 * math/s_catanl.c (__catanl): Likewise.
2996 * math/s_ccosh.c (__ccosh): Likewise.
2997 * math/s_ccoshf.c (__ccoshf): Likewise.
2998 * math/s_ccoshl.c (__ccoshl): Likewise.
2999 * math/s_cexp.c (__cexp): Likewise.
3000 * math/s_cexpf.c (__cexpf): Likewise.
3001 * math/s_cexpl.c (__cexpl): Likewise.
3002 * math/s_clog10.c (__clog10): Likewise.
3003 * math/s_clog10f.c (__clog10f): Likewise.
3004 * math/s_clog10l.c (__clog10l): Likewise.
3005 * math/s_clog.c (__clog): Likewise.
3006 * math/s_clogf.c (__clogf): Likewise.
3007 * math/s_clogl.c (__clogl): Likewise.
3008 * math/s_csin.c (__csin): Likewise.
3009 * math/s_csinf.c (__csinf): Likewise.
3010 * math/s_csinh.c (__csinh): Likewise.
3011 * math/s_csinhf.c (__csinhf): Likewise.
3012 * math/s_csinhl.c (__csinhl): Likewise.
3013 * math/s_csinl.c (__csinl): Likewise.
3014 * math/s_csqrt.c (__csqrt): Likewise.
3015 * math/s_csqrtf.c (__csqrtf): Likewise.
3016 * math/s_csqrtl.c (__csqrtl): Likewise.
3017 * math/s_ctan.c (__ctan): Likewise.
3018 * math/s_ctanf.c (__ctanf): Likewise.
3019 * math/s_ctanh.c (__ctanh): Likewise.
3020 * math/s_ctanhf.c (__ctanhf): Likewise.
3021 * math/s_ctanhl.c (__ctanhl): Likewise.
3022 * math/s_ctanl.c (__ctanl): Likewise.
3023 * math/w_pow.c: Likewise.
3024 * math/w_powf.c: Likewise.
3025 * math/w_powl.c: Likewise.
3026 * math/w_scalb.c (sysv_scalb): Likewise.
3027 * math/w_scalbf.c (sysv_scalbf): Likewise.
3028 * math/w_scalbl.c (sysv_scalbl): Likewise.
3029 * misc/error.c (error_tail): Likewise.
3030 * misc/pselect.c (__pselect): Likewise.
3031 * nis/nis_callback.c (__nis_create_callback): Likewise.
3032 * nis/nis_call.c (__nisfind_server): Likewise.
3033 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3034 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3035 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3036 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3037 * nis/nis_lookup.c (nis_lookup): Likewise.
3038 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3039 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3040 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3041 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3042 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3043 internal_getgrgid_r): Likewise.
3044 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3046 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3047 internal_getpwuid_r): Likewise.
3048 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3049 internal_getspnam_r): Likewise.
3050 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3051 _nss_nis_getaliasbyname_r): Likewise.
3052 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3053 _nss_nis_getntohost_r): Likewise.
3054 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3055 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3057 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3058 internal_nis_gethostent_r, internal_gethostbyname2_r,
3059 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3060 _nss_nis_gethostbyname4_r): Likewise.
3061 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3062 initgroups_netid): Likewise.
3063 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3064 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3065 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3066 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3067 _nss_nis_getprotobynumber_r): Likewise.
3068 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3069 _nss_nis_getsecretkey): Likewise.
3070 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3071 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3073 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
3074 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
3075 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
3076 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
3077 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
3078 _nss_nis_getspnam_r): Likewise.
3079 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
3081 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
3082 _nss_nisplus_getntohost_r): Likewise.
3083 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
3084 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
3085 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
3086 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
3087 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
3089 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
3090 _nss_nisplus_getnetbyaddr_r): Likewise.
3091 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
3092 _nss_nisplus_getprotobynumber_r): Likewise.
3093 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
3094 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
3095 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
3097 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
3098 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
3099 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
3100 _nss_nisplus_getspnam_r): Likewise.
3101 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
3102 * nscd/aicache.c (addhstaiX): Likewise.
3103 * nscd/cache.c (cache_search, prune_cache): Likewise.
3104 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
3105 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
3106 * nscd/grpcache.c (addgrbyX): Likewise.
3107 * nscd/hstcache.c (addhstbyX): Likewise.
3108 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3109 * nscd/mem.c (gc, mempool_alloc): Likewise.
3110 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
3112 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
3114 * nscd/nscd_getai.c (__nscd_getai): Likewise.
3115 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3116 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
3118 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
3119 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
3120 * nscd/nscd_helper.c (__readvall, open_socket,
3121 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
3122 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
3123 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
3124 * nscd/pwdcache.c (addpwbyX): Likewise.
3125 * nscd/selinux.c (preserve_capabilities): Likewise.
3126 * nscd/servicescache.c (addservbyX): Likewise.
3127 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
3128 * posix/fnmatch.c (fnmatch): Likewise.
3129 * posix/getopt.c (_getopt_internal_r): Likewise.
3130 * posix/glob.c (glob, glob_in_dir): Likewise.
3131 * posix/wordexp.c (exec_comm_child): Likewise.
3132 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
3133 gaih_getanswer_slice): Likewise.
3134 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
3135 * resolv/res_init.c: Likewise.
3136 * resolv/res_mkquery.c (res_nmkquery): Likewise.
3137 * resolv/res_query.c (__libc_res_nquery): Likewise.
3138 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
3140 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
3141 * stdio-common/perror.c (perror): Likewise.
3142 * stdio-common/printf_fp.c (___printf_fp): Likewise.
3143 * stdio-common/tmpnam.c (tmpnam): Likewise.
3144 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3145 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
3146 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
3147 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
3148 * stdlib/putenv.c (putenv): Likewise.
3149 * stdlib/setenv.c (__add_to_environ): Likewise.
3150 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3151 * stdlib/strtol_l.c (INTERNAL): Likewise.
3152 * string/memmem.c (memmem): Likewise.
3153 * string/strerror.c (strerror): Likewise.
3154 * string/strnlen.c (__strnlen): Likewise.
3155 * string/test-memmem.c (simple_memmem): Likewise.
3156 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
3157 * sunrpc/pm_getport.c (__get_socket): Likewise.
3158 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
3159 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
3160 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
3161 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
3163 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
3164 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3165 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
3166 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
3167 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
3168 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
3169 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
3170 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
3171 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3172 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
3173 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
3174 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
3175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
3176 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3177 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
3178 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
3179 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
3180 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3181 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
3183 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
3185 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
3187 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
3188 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3189 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3190 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3191 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3192 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3193 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3195 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3196 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3197 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3198 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3199 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3200 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3201 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3202 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3203 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3205 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3207 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3209 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3210 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3211 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3213 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3214 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3215 * sysdeps/posix/opendir.c (__opendirat): Likewise.
3216 * sysdeps/posix/sleep.c: Likewise.
3217 * sysdeps/posix/tempname.c: Likewise.
3218 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3219 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3221 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3222 elf_machine_rela): Likewise.
3223 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3224 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3225 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3226 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3228 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3229 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3230 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3231 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3232 elf_machine_rela, elf_machine_lazy_rel): Likewise.
3233 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3234 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3235 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3236 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3237 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3238 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3239 elf_machine_lazy_rel): Likewise.
3240 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3241 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3242 elf_machine_lazy_rel): Likewise.
3243 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3244 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3245 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3246 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3247 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3248 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3249 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3252 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3253 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3254 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3255 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3256 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3257 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3258 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3259 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3260 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3261 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3262 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3264 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3265 (__posix_fallocate64_l64): Likewise.
3266 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3267 (posix_fallocate): Likewise.
3268 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3269 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3270 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3271 getifaddrs_internal): Likewise.
3272 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3273 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3274 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3275 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3276 * sysdeps/unix/sysv/linux/posix_fallocate64.c
3277 (__posix_fallocate64_l64): Likewise.
3278 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3280 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3281 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3283 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3284 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3285 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3287 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3288 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3289 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3290 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3292 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3293 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3294 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3295 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3296 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3297 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3298 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3300 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3301 (posix_fallocate): Likewise.
3302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3303 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3304 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3305 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3306 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3308 * time/asctime.c (asctime_internal): Likewise.
3309 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3310 * time/tzset.c (__tzset_parse_tz): Likewise.
3311 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3312 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3313 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3314 * wcsmbs/wcsmbsload.h: Likewise.
3316 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3319 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3321 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3323 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3324 arena_get2): Remove THREAD_STATS conditionals.
3325 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3326 __malloc_stats, int): Likewise.
3328 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3330 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3331 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
3333 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3335 * manual/setjmp.texi: Fix typos/grammar errors.
3337 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3339 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3340 Only return early when n is <= 0. Delete unused return statement.
3342 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3344 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3345 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3346 * debug/tst-longjmp_chk3.c: New file.
3348 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3350 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3351 (test_main): Replace code with set_fortify_handler call.
3352 * debug/test-strcpy_chk.c: Likewise.
3353 * debug/tst-chk1.c: Likewise.
3354 * debug/tst-longjmp_chk.c: Likewise.
3355 * test-skeleton.c: Include fcntl.h & paths.h
3356 (set_fortify_handler): Define.
3358 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3360 * debug/tst-longjmp_chk.c: Add header comment and include
3362 (do_test): Mark static.
3363 (TEST_FUNCTION): Define.
3365 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3367 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3368 (IP_PMTUDISC_INTERFACE): Likewise.
3369 (IP_MULTICAST_IF): Likewise.
3370 (IP_MULTICAST_TTL): Likewise.
3371 (IP_MULTICAST_LOOP): Likewise.
3372 (IP_ADD_MEMBERSHIP): Likewise.
3373 (IP_DROP_MEMBERSHIP): Likewise.
3374 (IP_UNBLOCK_SOURCE): Likewise.
3375 (IP_BLOCK_SOURCE): Likewise.
3376 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3377 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3378 (IP_MSFILTER): Likewise.
3379 (MCAST_JOIN_GROUP): Likewise.
3380 (MCAST_BLOCK_SOURCE): Likewise.
3381 (MCAST_UNBLOCK_SOURCE): Likewise.
3382 (MCAST_LEAVE_GROUP): Likewise.
3383 (MCAST_JOIN_SOURCE_GROUP): Likewise.
3384 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3385 (MCAST_MSFILTER): Likewise.
3386 (IP_MULTICAST_ALL): Likewise.
3387 (IP_UNICAST_IF): Likewise.
3389 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3391 * timezone/Makefile: Delete $(have-ksh) check.
3392 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3393 * timezone/tzselect.ksh: Add +x mode bits.
3395 2014-02-08 Mike Frysinger <vapier@gentoo.org>
3397 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3398 (ANON_INODE_FS_MAGIC): Likewise.
3399 (BDEVFS_MAGIC): Likewise.
3400 (BINFMTFS_MAGIC): Likewise.
3401 (BTRFS_TEST_MAGIC): Likewise.
3402 (CRAMFS_MAGIC_WEND): Likewise.
3403 (DEBUGFS_MAGIC): Likewise.
3404 (ECRYPTFS_SUPER_MAGIC): Likewise.
3405 (EXT3_SUPER_MAGIC): Likewise.
3406 (EXT4_SUPER_MAGIC): Likewise.
3407 (FUTEXFS_SUPER_MAGIC): Likewise.
3408 (HOSTFS_SUPER_MAGIC): Likewise.
3409 (HUGETLBFS_MAGIC): Likewise.
3410 (MINIX3_SUPER_MAGIC): Likewise.
3411 (MTD_INODE_FS_MAGIC): Likewise.
3412 (NILFS_SUPER_MAGIC): Likewise.
3413 (OPENPROM_SUPER_MAGIC): Likewise.
3414 (PIPEFS_MAGIC): Likewise.
3415 (PSTOREFS_MAGIC): Likewise.
3416 (QNX6_SUPER_MAGIC): Likewise.
3417 (RAMFS_MAGIC): Likewise.
3418 (REISERFS_SUPER_MAGIC_STRING): Likewise.
3419 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3420 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3421 (SECURITYFS_MAGIC): Likewise.
3422 (SELINUX_MAGIC): Likewise.
3423 (SMACK_MAGIC): Likewise.
3424 (SOCKFS_MAGIC): Likewise.
3425 (SQUASHFS_MAGIC): Likewise.
3426 (STACK_END_MAGIC): Likewise.
3427 (TMPFS_MAGIC): Likewise.
3428 (USBDEVICE_SUPER_MAGIC): Likewise.
3429 (V9FS_MAGIC): Likewise.
3430 (XENFS_SUPER_MAGIC): Likewise.
3431 (CRAMFS_MAGIC): Fix typo in comment.
3432 (EXT2_SUPER_MAGIC): Update comment.
3433 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3435 2014-02-08 Joseph Myers <joseph@codesourcery.com>
3437 * sysdeps/arm: Move directory from ports/sysdeps/arm.
3438 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3439 * sysdeps/unix/sysv/linux/arm: Move directory from
3440 ports/sysdeps/unix/sysv/linux/arm.
3441 * README: Update listing for arm-*-linux-gnueabi.
3443 * README: Remove mention of am33.
3445 2014-02-07 Roland McGrath <roland@hack.frob.com>
3447 * bits/sigset.h (__sigemptyset): Use a statement expression rather
3448 than the comma operator, to avoid "rhs of comma has no effect"
3450 (__sigfillset, __sigandset, __sigorset): Likewise.
3451 * include/signal.h (__sigemptyset): Likewise.
3452 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3454 2014-02-07 Allan McRae <allan@archlinux.org>
3456 * version.h (RELEASE): Set to "development".
3457 (VERSION): Set to "2.19.90"
3458 * NEWS: Add 2.20 section.
3460 2014-02-06 Carlos O'Donell <carlos@redhat.com>
3463 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3465 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3467 * manual/contrib.texi: Update entry for Carlos O'Donell,
3468 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3470 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
3472 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3474 * sysdeps/unix/sysv/linux/kernel-features.h
3475 [__LINUX_KERNEL_VERSION >= 0x020621]
3476 (__ASSUME_PROC_PID_TASK_COMM): Define.
3478 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
3481 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3482 conversion when destination buffer does not have enough space.
3483 * libio/tst-ftell-partial-wide.c: New test case.
3484 * libio/Makefile (tests): Add tst-ftell-partial-wide.
3486 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3487 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
3488 Leonard and Allan McRae.
3490 2014-02-04 David S. Miller <davem@davemloft.net>
3492 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3495 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3524 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3526 * nptl/shlib-versions: Change powerpc*le start to 2.17.
3527 * shlib-versions: Likewise.
3529 2014-02-04 Roland McGrath <roland@hack.frob.com>
3530 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3532 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3533 (abilist-pattern): New variable, set to %-le.abilist.
3535 * Makerules (abilist-pattern): New variable.
3536 (vpath): Use $(abilist-pattern) in place of %.abilist.
3537 (check-abi-% pattern rule): Likewise.
3538 (check-abi, update-abi): Likewise.
3540 2014-02-04 Eric Wong <normalperson@yhbt.net>
3542 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3544 2014-02-04 Eric Wong <normalperson@yhbt.net>
3546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3548 2014-02-03 Carlos O'Donell <carlos@redhat.com>
3550 * manual/startup.texi: Add next, previous, and top entries for
3551 the `Program Arguments' and `Environment Variables' nodes.
3553 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
3555 * manual/macros.texi: Add comments before MTASC-safety macros.
3557 * manual/users.texi: Document MTASC-safety properties.
3559 * manual/threads.texi (pthread_key_create, pthread_key_delete,
3560 pthread_getspecific, pthread_setspecific): Format with
3561 @deftypefun, and add @safety note.
3562 * manual/signal.texi: Move comments that analyze the above
3563 functions to their home place.
3565 2014-02-03 Allan McRae <allan@archlinux.org>
3567 * po/sl.po: Update Slovenian translation from translation project.
3569 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
3571 * manual/time.texi (timegm): Add missing blank after @c.
3572 Reported by Joseph Myers <joseph@codesourcery.com>.
3574 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
3576 * manual/check-safety.sh: New.
3577 * manual/Makefile ($(objpfx)stamp-summary): Run it.
3579 * manual/terminal.texi: Document MTASC-safety properties.
3581 * manual/filesys.texi: Document MTASC-safety properties.
3583 * manual/errno.texi: Document MTASC-safety properties.
3585 * manual/intro.texi: Document safety identifiers and
3588 * manual/string.texi (wcstok): Fix prototype.
3589 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3591 * manual/time.texi: Document MTASC-safety properties.
3593 * manual/string.texi: Document MTASC-safety properties.
3595 * manual/threads.texi: Document MTASC-safety properties.
3597 * manual/stdio.texi: Document MTASC-safety properties.
3599 * manual/syslog.texi: Document MTASC-safety properties.
3601 * manual/sysinfo.texi: Document MTASC-safety properties.
3603 * manual/startup.texi: Document MTASC-safety properties.
3605 * manual/socket.texi: Document MTASC-safety properties.
3607 * manual/signal.texi: Document MTASC-safety properties.
3609 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
3611 * manual/setjmp.texi: Document MTASC-safety properties.
3613 * manual/search.texi: Document MTASC-safety properties.
3615 * manual/resource.texi: Document MTASC-safety properties.
3617 * manual/process.texi: Document MTASC-safety properties.
3619 * manual/platform.texi: Document MTASC-safety properties.
3621 * manual/pipe.texi: Document MTASC-safety properties.
3623 * manual/pattern.texi: Document MTASC-safety properties.
3625 * manual/message.texi: Document MTASC-safety properties.
3628 * manual/memory.texi: Document MTASC-safety properties.
3630 * manual/math.texi: Document MTASC-safety properties.
3632 * manual/locale.texi: Document MTASC-safety properties.
3634 * manual/llio.texi: Document MTASC-safety properties.
3636 * manual/libdl.texi: New.
3638 * manual/lang.texi: Document MTASC-safety properties.
3640 * manual/job.texi: Document MTASC-safety properties.
3642 * manual/getopt.texi: Document MTASC-safety properties.
3644 * manual/ctype.texi: Document MTASC-safety properties.
3646 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
3649 * csu/libc-tls.c (static_map): Remove variable.
3650 (__libc_setup_tls): Use main executable's link map for TLS data.
3651 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3652 casing for LM_ID_BASE and GL(dl_nns).
3653 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3654 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
3655 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3656 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3657 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3659 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3662 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
3664 * manual/debug.texi: Document MTASC-safety properties.
3666 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
3669 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3670 of __x86_64__ when disabling x87 inline functions.
3672 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
3674 * manual/charset.texi: Document MTASC-safety properties.
3676 * manual/crypt.texi: Document MTASC-safety properties.
3678 * manual/conf.texi: Document MTASC-safety properties.
3680 * manual/arith.texi: Document MTASC-safety properties.
3682 * manual/argp.texi: Document MTASC-safety properties.
3684 * manual/macros.texi: Introduce macros to document multi
3685 thread, asynchronous signal and asynchronous cancellation
3687 * manual/intro.texi: Introduce the properties themselves.
3689 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3691 * sysdeps/sh/sh4/Makefile: New file.
3693 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
3695 * math/gen-libm-test.pl ($srcdir): New variable.
3696 ($auto_input): Use it.
3698 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3701 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3702 access beyond array bounds when parsing netgroups file.
3704 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3705 the old buffer before realloc.
3707 2014-01-27 Allan McRae <allan@archlinux.org>
3709 * po/fr.po: Update French translation from translation project.
3711 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3713 * sysdeps/sh/libm-test-ulps: Regenerate.
3715 2014-01-24 David S. Miller <davem@davemloft.net>
3717 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3719 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3721 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3722 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3724 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3727 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3728 string pointers after reallocation.
3730 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3732 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3733 __SH4A__ instead of __SH_FPU_ANY__.
3735 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3737 * sysdeps/sh/fpu_control.h: New file.
3738 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3739 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3740 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3741 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3742 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3743 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3744 * sysdeps/sh/sys/ucontext.h: Remove.
3745 * sysdeps/sh/sys: Remove directory.
3747 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3749 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3750 s390/sys/ucontext.h.
3751 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3752 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3754 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
3757 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3759 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3762 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3763 Adjust the vDSO correctly for internal calls.
3764 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3766 2014-01-20 Allan McRae <allan@archlinux.org>
3768 * po/ca.po: Update Catalan translation from translation project.
3770 2014-01-16 Mike Frysinger <vapier@gentoo.org>
3772 * sysdeps/s390/sotruss-lib.c: New file.
3774 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
3778 (__GI___gettimeofday): Alias for a different internal symbol to avoid
3779 local calls issues by not having a PLT stub required for IFUNC calls.
3780 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3782 2014-01-16 Joseph Myers <joseph@codesourcery.com>
3784 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3785 * math/test-fpucw-static.c: Likewise.
3787 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3790 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3792 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3794 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3795 implementation for powerpc.
3797 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
3800 * sysdeps/posix/system.c (__libc_system): Do not enable
3801 asynchronous cancellation.
3803 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3806 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3807 handling only for numbers special also in the IEEE case.
3809 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3811 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3813 2014-01-11 Allan McRae <allan@archlinux.org>
3815 * po/bg.po: Update Bulgarian translation from translation project.
3817 * po/de.po: Update German translation from translation project.
3819 2014-01-10 Roland McGrath <roland@hack.frob.com>
3821 * sysdeps/generic/gcc-compat.h: New file.
3823 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3825 * benchtests/asin-inputs: Correct slow inputs.
3826 * benchtests/acos-inputs: Likewise.
3828 2014-01-10 Allan McRae <allan@archlinux.org>
3830 * po:sv.po: Update Swedish translation from translation project.
3832 * po/vi.po: Update Vietnamese translation from translation project.
3834 * po/eo.po: Update Esperanto translation from translation project.
3836 * po/cs.po: Update Czech translation from translation project.
3838 * po/nl.po: Update Dutch translation from translation project.
3840 * po/pl.po: Update Polish translation from translation project.
3842 * po/ru.po: Update Russian translation from translation project.
3844 * po/uk.po: Update Ukrainian translation from translation project.
3846 2014-01-08 Brooks Moses <bmoses@google.com>
3848 * elf/dl-load.c: Fix comment typo.
3850 2014-01-08 Carlos O'Donell <carlos@redhat.com>
3852 * po/header.pot: Rename to...
3853 * po/pot.header: ... this.
3854 * po/Makefile: Use pot.header.
3856 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
3857 Maxim Kuvyrkov <maxim@kugelworks.com>
3860 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3861 SRC and DEST against LEN.
3863 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3866 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3868 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3870 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3874 2014-01-08 Joseph Myers <joseph@codesourcery.com>
3877 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3878 for large positive arguments.
3880 2014-01-07 Joseph Myers <joseph@codesourcery.com>
3882 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3884 * math/auto-libm-test-in: Mark various tests with
3885 xfail-rounding:ldbl-128ibm.
3886 * math/auto-libm-test-out: Regenerated.
3889 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3890 Increase overflow threshold.
3892 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
3895 * stdio-common/vfprintf.c: Check for integer overflow.
3897 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3899 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3900 the first argument and return value of __tls_get_addr_internal.
3902 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3904 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3905 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3907 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3909 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3910 * sysdeps/s390/rtld-global-offsets.sym: New file.
3911 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3913 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3914 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3915 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3917 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3918 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3924 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3925 halfs of GPRs for high_gprs contexts.
3926 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3927 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
3929 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3931 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3933 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3934 for high GPRs (uc_high_gprs) and for future extensions
3936 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3937 for future extensions (__reserved).
3938 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3940 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3941 SC_HIGHGPRS offset definition.
3942 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3943 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3945 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3947 * Versions.def: Add GLIBC_2.19 for libpthread.
3948 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3949 siglongjmp for libpthread with GLIBC_2.19 symver.
3950 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3951 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3952 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3953 * sysdeps/s390/__longjmp.c: New file.
3954 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3955 * sysdeps/s390/longjmp.c: New file.
3956 * sysdeps/s390/setjmp.S: New file.
3957 * sysdeps/s390/sigjmp.S: New file.
3958 * sysdeps/s390/v1-longjmp.c: New file.
3959 * sysdeps/s390/v1-setjmp.h: New file.
3960 * sysdeps/s390/v1-sigjmp.c: New file.
3961 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3962 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3964 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3965 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3966 versioned symbols for ____longjmp_chk.
3967 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3973 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3977 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3978 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3979 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3980 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3981 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3982 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3983 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3984 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3985 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3986 * sysdeps/s390/rtld-__longjmp.c: New file.
3987 * sysdeps/s390/rtld-setjmp.S: New file.
3989 2014-01-06 Joseph Myers <joseph@codesourcery.com>
3992 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3993 Return -__logl (x) for small positive arguments without evaluating
3996 2014-01-06 Mike Frysinger <vapier@gentoo.org>
3998 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4000 (__ptrace_peeksiginfo_args): ... this.
4001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4002 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4003 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4005 2014-01-06 Allan McRae <allan@archlinux.org>
4007 * inet/netinet/in.h: Fix typo in comment.
4009 2014-01-05 Andreas Jaeger <aj@suse.de>
4011 * sysdeps/i386/fpu/libm-test-ulps: Update.
4013 2014-01-05 Allan McRae <allan@archlinux.org>
4015 * po/libc.pot: Regenerated.
4017 * malloc/memusagestat.c: Fix gettext call formatting.
4019 2014-01-04 Sami Kerola <kerolasa@iki.fi>
4021 * nscd/nscd.c: Improve usage() output.
4023 2014-01-04 Mike Frysinger <vapier@gentoo.org>
4025 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4026 * sysdeps/unix/sysv/linux/configure: Regenerated.
4027 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4028 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4030 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4033 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4034 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4036 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4038 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4039 extra tokens at end of #undef directive.
4040 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4041 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4042 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4044 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4046 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4048 * math/auto-libm-test-in: Mark various tests with
4049 xfail-rounding:ldbl-128ibm.
4050 * math/auto-libm-test-out: Regenerated.
4052 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4055 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4056 numbers with subnormal high part when calculating exponent.
4059 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4063 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4065 (__ieee754_acoshl): Use __log1pl not __log1p.
4067 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
4069 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4070 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4071 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4072 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
4073 Convert to GNU style.
4074 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
4075 mem2mem_check, mem2chunk_check, top_check, realloc_check,
4076 memalign_check, __malloc_set_state): Likewise.
4077 * malloc/mallocbug.c (main): Likewise.
4078 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
4079 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
4080 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
4081 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
4082 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
4083 * malloc/malloc.h: Likewise.
4084 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
4085 memalignhook, reallochook, mabort): Likewise.
4086 * malloc/mcheck.h: Likewise.
4087 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
4088 mmap64, mremap, munmap, dest): Likewise.
4089 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
4090 * malloc/morecore.c (__default_morecore): Likewise.
4091 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
4092 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
4093 _obstack_allocated_p, obstack_free, _obstack_memory_used,
4094 print_and_abort): Likewise.
4095 * malloc/obstack.h: Likewise.
4096 * malloc/set-freeres.c (__libc_freeres): Likewise.
4097 * malloc/tst-mallocstate.c (main): Likewise.
4098 * malloc/tst-mtrace.c (main): Likewise.
4099 * malloc/tst-realloc.c (do_test): Likewise.
4101 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4104 * nscd/netgroupcache.c (do_notfound): New function.
4105 (addgetnetgrentX): Use it.
4108 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
4109 NSS_STATUS_NOTFOUND.
4111 2014-01-01 Joseph Myers <joseph@codesourcery.com>
4113 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4116 2014-01-01 Allan McRae <allan@archlinux.org>
4118 * scripts/update-copyrights: Update configure input file suffix.
4120 * NEWS: Update copyright year.
4121 * catgets/gencat.c: Likewise.
4122 * csu/version.c: Likewise.
4123 * debug/catchsegv.sh: Likewise.
4124 * debug/pcprofiledump.c: Likewise.
4125 * debug/xtrace.sh: Likewise.
4126 * elf/ldconfig.c: Likewise.
4127 * elf/ldd.bash.in: Likewise.
4128 * elf/pldd.c: Likewise.
4129 * elf/sotruss.ksh: Likewise.
4130 * elf/sprof.c: Likewise.
4131 * iconv/iconv_prog.c: Likewise.
4132 * iconv/iconvconfig.c: Likewise.
4133 * locale/programs/locale.c: Likewise.
4134 * locale/programs/localedef.c: Likewise.
4135 * login/programs/pt_chown.c: Likewise.
4136 * malloc/memusage.sh: Likewise.
4137 * malloc/memusagestat.c: Likewise.
4138 * malloc/mtrace.pl: Likewise.
4139 * manual/libc.texinfo: Likewise.
4140 * nscd/nscd.c: Likewise.
4141 * nss/getent.c: Likewise.
4142 * nss/makedb.c: Likewise.
4143 * posix/getconf.c: Likewise.
4144 * scripts/test-installation.pl: Likewise.
4146 * All files with FSF copyright notices: Update copyright dates
4147 using scripts/update-copyrights.
4148 * intl/plural.c: Regenerated.
4149 * locale/programs/charmap-kw.h: Likewise.
4150 * locale/programs/locfile-kw.h: Likewise.
4152 2013-12-31 Mike Frysinger <vapier@gentoo.org>
4154 * sysdeps/unix/sysv/linux/configure: Regenerated.
4155 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
4156 the linux/fanotify.h header.
4157 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
4158 HAVE_LINUX_FANOTIFY_H is defined.
4160 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4162 * benchtests/cos-inputs: New inputs.
4163 * benchtests/sin-inputs: Likewise.
4165 * benchtests/atan-inputs: New inputs. Fix name of multiple
4166 precision fallback inputs.
4168 * benchtests/atanh-inputs: New inputs.
4169 * benchtests/tanh-inputs: Likewise.
4171 * benchtests/acosh-inputs: New inputs.
4172 * benchtests/asinh-inputs: Likewise.
4174 * benchtests/cosh-inputs: New inputs.
4175 * benchtests/sinh-inputs: Likewise.
4177 * benchtests/acos-inputs: Add more inputs.
4178 * benchtests/asin-inputs: Likewise.
4180 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
4183 * manual/arith.texi: Fix spelling.
4184 * manual/charset.texi: Likewise.
4185 * manual/errno.texi: Likewise.
4186 * manual/filesys.texi: Likewise.
4187 * manual/lang.texi: Likewise.
4188 * manual/llio.texi: Likewise.
4189 * manual/locale.texi: Likewise.
4190 * manual/message.texi: Likewise.
4191 * manual/resource.texi: Likewise.
4192 * manual/search.texi: Likewise.
4193 * manual/setjmp.texi: Likewise.
4194 * manual/stdio.texi: Likewise.
4195 * manual/string.texi: Likewise.
4196 * manual/sysinfo.texi: Likewise.
4197 * manual/time.texi: Likewise.
4199 2013-12-27 Carlos O'Donell <carlos@redhat.com>
4201 * po/sl.po: New file.
4203 2013-12-27 Mike Frysinger <vapier@gentoo.org>
4205 * .gitignore: Add core/.gdbinit/.gdb_history.
4207 2013-12-27 Allan McRae <allan@archlinux.org>
4210 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4211 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4213 2013-12-24 Brooks Moses <bmoses@google.com>
4215 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4216 all compilers that claim C++98 compliance, not just GCC.
4217 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4220 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4222 * NEWS: Restore accidentally deleted bug-fix entries.
4224 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
4225 Ondřej Bílka <neleai@seznam.cz>
4228 * malloc/malloc.c (_int_free): Perform sanity check only if we
4231 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
4234 * manual/stdio.texi (String Input Conversions): Clarify that character
4235 classes are not supported.
4237 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4241 2013-12-22 Joseph Myers <joseph@codesourcery.com>
4244 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4245 Calculate results for small negative arguments directly rather
4246 than using reflection formula with special underflow handling.
4248 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4249 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4250 sysdeps/unix/bsd/bsd4.4/syscalls.list.
4251 (fchflags): Likewise.
4253 (setlogin): Likewise.
4254 (sigaltstack): Likewise.
4257 (sigsetmask): Likewise.
4259 (waitpid): Likewise.
4260 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4261 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4263 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4264 * sysdeps/unix/bsd/Makefile: ... here.
4265 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4266 * sysdeps/unix/bsd/Versions: ... here.
4267 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4268 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4269 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4270 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4271 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4272 * sysdeps/unix/bsd/sigblock.c: ... here.
4273 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4274 * sysdeps/unix/bsd/sigsetmask.c: ... here.
4275 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4276 * sysdeps/unix/bsd/sigvec.c: ... here.
4277 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4278 * sysdeps/unix/bsd/tcdrain.c: ... here.
4279 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4280 * sysdeps/unix/bsd/tcgetattr.c: ... here.
4281 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4282 * sysdeps/unix/bsd/tcsetattr.c: ... here.
4283 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4284 * sysdeps/unix/bsd/wait.c: ... here.
4285 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4286 * sysdeps/unix/bsd/wait3.c: ... here.
4287 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4288 * sysdeps/unix/bsd/waitpid.c: ... here.
4290 2013-12-21 Joseph Myers <joseph@codesourcery.com>
4293 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4294 round-to-nearest for [!USE_AS_EXPM1L].
4295 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4296 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
4297 more tests of exp and exp10. Expect some exp10 tests to miss
4298 exceptions or fail in directed rounding modes.
4299 * math/auto-libm-test-out: Regenerated.
4300 * math/libm-test.inc (exp10_tonearest_test_data): New array.
4301 (exp10_test_tonearest): New function.
4302 (exp10_towardzero_test_data): New array.
4303 (exp10_test_towardzero): New function.
4304 (exp10_downward_test_data): New array.
4305 (exp10_test_downward): New function.
4306 (exp10_upward_test_data): New array.
4307 (exp10_test_upward): New function.
4308 (main): Call the new functions.
4309 * sysdeps/i386/fpu/libm-test-ulps: Update.
4310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4312 2013-12-20 Joseph Myers <joseph@codesourcery.com>
4314 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4315 asinh, atan, atan2, atanh, cbrt, cos and cosh.
4316 * math/auto-libm-test-out: Regenerated.
4317 * math/libm-test.inc (acosh_test_data): Add more tests.
4318 (atanh_test_data): Likewise.
4319 (ceil_test_data): Likewise.
4320 (copysign_test_data): Likewise.
4321 * sysdeps/i386/fpu/libm-test-ulps: Update.
4322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4324 * timezone/checktab.awk: Update from tzcode 2013i.
4325 * timezone/private.h: Likewise.
4326 * timezone/scheck.c: Likewise.
4327 * timezone/tzfile.h: Likewise.
4328 * timezone/tzselect.ksh: Likewise.
4329 * timezone/zdump.c: Likewise.
4330 * timezone/zic.c: Likewise.
4332 * math/auto-libm-test-in: Add tests of cpow.
4333 * math/auto-libm-test-out: Regenerated.
4334 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4335 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4337 (func_calc_desc): Add mpc_cc_c union field.
4338 (test_functions): Add cpow.
4339 (special_fill_2pi): New function.
4340 (special_real_inputs): Add 2pi.
4341 (calc_generic_results): Handle mpc_cc_c.
4342 * sysdeps/i386/fpu/libm-test-ulps: Update.
4343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4345 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4346 csqrt, ctan and ctanh.
4347 * math/auto-libm-test-out: Regenerated.
4348 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4349 (TEST_COND_x86): Likewise.
4350 (ccos_test_data): Use AUTO_TESTS_c_c.
4351 (ccosh_test_data): Likewise.
4352 (cexp_test_data): Likewise.
4353 (clog_test_data): Likewise.
4354 (csqrt_test_data): Likewise.
4355 (ctan_test_data): Likewise.
4356 (ctan_tonearest_test_data): Likewise.
4357 (ctan_towardzero_test_data): Likewise.
4358 (ctan_downward_test_data): Likewise.
4359 (ctan_upward_test_data): Likewise.
4360 (ctanh_test_data): Likewise.
4361 (ctanh_tonearest_test_data): Likewise.
4362 (ctanh_towardzero_test_data): Likewise.
4363 (ctanh_downward_test_data): Likewise.
4364 (ctanh_upward_test_data): Likewise.
4365 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4367 (func_calc_desc): Add mpc_c_c union field.
4368 (FUNC_mpc_c_c): New macro.
4369 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4370 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4372 (special_fill_min_subnorm_p120): New function.
4373 (special_real_inputs): Add min_subnorm_p120.
4374 (calc_generic_results): Handle mpc_c_c.
4375 * sysdeps/i386/fpu/libm-test-ulps: Update.
4376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4378 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4380 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4381 do_sin_slow): New functions.
4382 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4383 cslow2, csloww1, csloww2): Use the new functions.
4385 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4386 Use M to change sign of result instead of X. Assume X is
4388 (csloww1): Likewise.
4392 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4397 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4399 (sloww1): Don't adjust sign of DX.
4400 (csloww1): Likewise.
4401 (sloww2): Use X directly and don't adjust sign of DX.
4402 (csloww2): Likewise.
4404 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4406 * math/auto-libm-test-in: Add tests of cabs and carg.
4407 * math/auto-libm-test-out: Regenerated.
4408 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4409 (carg_test_data): Likewise.
4410 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4412 (func_calc_desc): Add mpc_c_f union field.
4413 (test_functions): Add cabs and carg.
4414 (calc_generic_results): Handle mpc_c_f.
4416 * sysdeps/powerpc/powerpc32/libgcc-compat.S
4417 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4418 as a macro and a compat symbol.
4419 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4420 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4421 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4422 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4423 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4424 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4426 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4428 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4430 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4432 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4434 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4436 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4437 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4440 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4444 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4446 * manual/texinfo.tex: Update to version 2013-11-26.10 with
4447 trailing whitespace removed.
4448 * scripts/config.guess: Update to version 2013-11-29.
4449 * scripts/config.sub: Update to version 2013-10-01.
4451 * math/auto-libm-test-in: Add tests of sincos.
4452 * math/auto-libm-test-out: Regenerated.
4453 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4454 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4456 (func_calc_desc): Add mpfr_f_11 union field.
4457 (test_functions): Add sincos.
4458 (calc_generic_results): Handle mpfr_f_11.
4459 * sysdeps/i386/fpu/libm-test-ulps: Update.
4460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4462 2013-12-19 Andreas Schwab <schwab@suse.de>
4464 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4466 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4468 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4470 2013-12-19 Joseph Myers <joseph@codesourcery.com>
4472 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4473 * sysdeps/i386/fpu/libm-test-ulps: Update.
4474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4477 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4478 round-to-nearest mode when using frndint.
4479 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4480 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4481 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4483 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
4485 * math/auto-libm-test-out: Regenerated.
4486 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4487 (TEST_COND_x86): Likewise.
4488 (expm1_tonearest_test_data): New array.
4489 (expm1_test_tonearest): New function.
4490 (expm1_towardzero_test_data): New array.
4491 (expm1_test_towardzero): New function.
4492 (expm1_downward_test_data): New array.
4493 (expm1_test_downward): New function.
4494 (expm1_upward_test_data): New array.
4495 (expm1_test_upward): New function.
4496 (main): Run the new test functions.
4497 * sysdeps/i386/fpu/libm-test-ulps: Update.
4498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4500 * include/features.h: Update comment documenting feature test
4501 macros. Mention _DEFAULT_SOURCE in comment.
4502 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4503 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4504 _BSD_SOURCE and _SVID_SOURCE.
4505 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4506 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4507 !_SVID_SOURCE]: Likewise.
4508 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4509 (__USE_POSIX_IMPLICITLY): Define.
4510 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4511 (_POSIX_SOURCE): Undefine and redefine.
4512 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4513 (_POSIX_C_SOURCE): Likewise.
4514 * manual/creature.texi (_DEFAULT_SOURCE): Document.
4515 (Feature Test Macros): Update documentation of default features.
4517 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4519 * benchtests/Makefile: Add bench-strtok.
4520 * benchtests/bench-strtok.c: New file: strtok benchtest.
4522 2013-12-19 Allan McRae <allan@archlinux.org>
4524 * manual/install.texi: Suppress menu for plain text output.
4525 * INSTALL: Regenerated.
4527 2013-12-18 Brooks Moses <bmoses@google.com>
4530 * misc/getauxval.c: Include errno.h.
4531 (__getauxval): Set errno to ENOENT if the requested type is not
4533 * misc/sys/auxv.h (getauxval): Document that it may set errno;
4534 don't declare with __attribute_const__.
4535 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4536 * manual/startup.texi: Document that getauxval sets errno.
4538 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4540 * math/auto-libm-test-in: Add tests of jn and yn.
4541 * math/auto-libm-test-out: Regenerated.
4542 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4543 (yn_test_data): Likewise.
4544 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4546 (func_calc_desc): Add mpfr_if_f union field.
4547 (FUNC_mpfr_if_f): New macro.
4548 (test_functions): Add jn and yn.
4549 (calc_generic_results): Assert type of second input for
4550 mpfr_ff_f. Handle mpfr_if_f.
4551 (output_for_one_input_case): Disable all checking for arguments
4552 fitting floating-point types in case of an integer argument.
4553 * sysdeps/i386/fpu/libm-test-ulps: Update.
4554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4557 Don't expect fegetround reference in libm.so.
4559 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4561 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4562 $(config-cflags-nofma).
4564 2013-12-18 Joseph Myers <joseph@codesourcery.com>
4566 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4567 * math/auto-libm-test-out: Regenerated.
4570 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4571 to determine exponent and adjust argument to have exponent of -1.
4572 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4574 * math/auto-libm-test-out: Regenerated.
4575 * sysdeps/i386/fpu/libm-test-ulps: Update.
4576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4578 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
4580 * manual/probes.texi: Remove cases when per-thread arenas are
4583 2013-12-18 Andreas Schwab <schwab@suse.de>
4585 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4586 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4587 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4588 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4589 * sysdeps/i386/i686/multiarch/Makefile: Update.
4590 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4592 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4594 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4595 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4597 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
4600 Support TZ transition times < 00:00:00.
4601 This is needed for version-3 tz-format files; it supports time
4602 stamps past 2037 for America/Godthab (the only entry in the tz
4603 database for which this change is relevant).
4604 * manual/time.texi (TZ Variable): Document transition times
4605 from -167:59:59 through -00:00:01.
4606 * time/tzset.c (tz_rule): Time of day is now signed.
4607 (__tzset_parse_tz): Parse negative time of day.
4609 Document TZ transition times >= 25:00:00.
4610 * manual/time.texi (TZ Variable): Document transition times from
4611 25:00:00 through 167:59:59. These are already supported, and this
4612 support will help with version-3 tz-format files.
4614 * manual/time.texi (TZ Variable): Modernize North America example
4615 to reflect current (i.e., 2007-and-later) daylight saving rules.
4617 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4619 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4621 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4622 * sysdeps/unix/bsd/bits/stat.h: Likewise.
4623 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4625 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4626 * sysdeps/unix/bsd/bsdstat.h: Likewise.
4627 * sysdeps/unix/bsd/clock.c: Likewise.
4628 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4629 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4630 * sysdeps/unix/bsd/init-posix.c: Likewise.
4631 * sysdeps/unix/bsd/poll.c: Likewise.
4632 * sysdeps/unix/bsd/ptsname.c: Likewise.
4633 * sysdeps/unix/bsd/seekdir.c: Likewise.
4634 * sysdeps/unix/bsd/setegid.c: Likewise.
4635 * sysdeps/unix/bsd/seteuid.c: Likewise.
4636 * sysdeps/unix/bsd/setgid.c: Likewise.
4637 * sysdeps/unix/bsd/setrgid.c: Likewise.
4638 * sysdeps/unix/bsd/setruid.c: Likewise.
4639 * sysdeps/unix/bsd/setsid.c: Likewise.
4640 * sysdeps/unix/bsd/setuid.c: Likewise.
4641 * sysdeps/unix/bsd/sigaction.c: Likewise.
4642 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4643 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4644 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4645 * sysdeps/unix/bsd/telldir.c: Likewise.
4646 * sysdeps/unix/bsd/times.c: Likewise.
4647 * sysdeps/unix/bsd/usleep.c: Likewise.
4649 * misc/Makefile (install-lib): Remove libbsd-compat.a.
4650 ($(objpfx)libbsd-compat.a): Remove rule.
4652 * include/features.h (__FAVOR_BSD): Do not define.
4653 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4654 features conflicting with POSIX.
4655 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4656 (_BSD_SOURCE): Remove description of not being a subset of other
4657 feature test macros.
4658 * manual/job.texi (getpgrp): Do not document BSD version.
4659 (getpgid): Do not document by reference to BSD getpgrp.
4660 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4661 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4662 * signal/signal.h [__FAVOR_BSD]: Likewise.
4663 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4664 instead of making contents conditional on [__FAVOR_BSD].
4665 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4667 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4671 2013-12-17 Joseph Myers <joseph@codesourcery.com>
4674 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4675 values below 2**-450, not 2**-500.
4676 * math/auto-libm-test-in: Don't allow spurious underflow from
4678 * math/auto-libm-test-out: Regenerated.
4682 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4683 values of ha and hb and sort them after adjusting subnormal
4685 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4687 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4688 values of ea and eb and sort them after adjusting subnormal
4690 * math/auto-libm-test-in: Do not expect some hypot tests of
4691 subnormals to fail. Add more hypot tests.
4692 * math/auto-libm-test-out: Regenerated.
4694 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4697 * sysdeps/sh/s_fma.c: New file.
4698 * sysdeps/sh/s_fmaf.c: New file.
4699 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
4701 * sysdeps/sh/Implies: Add sh/soft-fp.
4703 2013-12-16 Roland McGrath <roland@hack.frob.com>
4705 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
4706 level of indirection to members `objname', `errstring', `malloced'.
4707 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4708 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
4709 it as the __longjmp argument (just pass 1 instead).
4710 (_dl_catch_error): Initialize C with argument pointers and address of
4711 volatile local ERRCODE rather than copying values out of C at return.
4713 2013-12-16 Joseph Myers <joseph@codesourcery.com>
4715 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4716 * math/auto-libm-test-out: Regenerated.
4717 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4718 (hypot_test_data): Likewise.
4719 (pow_test_data): Likewise.
4720 (pow_tonearest_test_data): Likewise.
4721 * math/gen-auto-libm-tests.c (func_calc_method): Add value
4723 (func_calc_desc): Add mpfr_ff_f union field.
4724 (FUNC_mpfr_ff_f): New macro.
4725 (test_functions): Add atan2, hypot and pow.
4726 (special_fill_min): New function.
4727 (special_fill_minus_min): Likewise.
4728 (special_fill_min_subnorm): Likewise.
4729 (special_fill_minus_min_subnorm): Likewise.
4730 (special_real_inputs): Add min, -min, min_subnorm and
4732 (calc_generic_results): Handle mpfr_ff_f.
4733 * sysdeps/i386/fpu/libm-test-ulps: Update.
4734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4736 2013-12-16 Will Newton <will.newton@linaro.org>
4738 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4739 (Aligned Memory Blocks): Add documentation for aligned_alloc
4740 and suggest it as an alternative to posix_memalign.
4741 (Hooks for Malloc): Document __memalign_hook is also called
4742 for aligned_alloc. (Summary of Malloc): Add summary for
4743 aligned alloc. Document __memalign_hook is also called
4746 2013-12-16 Will Newton <will.newton@linaro.org>
4748 * manual/memory.texi (Malloc Examples): Clarify default
4749 alignment documentation. Suggest posix_memalign rather
4750 than memalign or valloc.
4751 (Aligned Memory Blocks): Remove suggestion to use memalign
4752 or valloc. Remove obsolete comment about BSD.
4753 Document memalign errno values and mark the function obsolete.
4754 Document posix_memalign returned error codes. Mark valloc
4755 as obsolete. (Hooks for Malloc): __memalign_hook is also
4756 called for posix_memalign and valloc.
4757 (Summary of Malloc): Add posix_memalign to function summary.
4758 __memalign_hook is also called for posix_memalign and valloc.
4760 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4762 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4766 (sloww): Use mynumber union. Expand ternary operator into
4768 (cslow): use mynumber union.
4770 2013-12-16 Allan McRae <allan@archlinux.org>
4772 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4773 * configure: Regenerated.
4775 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4778 * configure.ac: Added --enable-maintainer-mode. Check for
4779 autoconf when enabled.
4780 * configure: Regenerated.
4782 * nscd/nscd.service: New file.
4783 * nscd/nscd.tmpfiles: New file.
4785 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
4788 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4789 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4790 * sysdeps/x86_64/multiarch/strstr.c: ... here.
4791 (strstr): Add __strstr_sse2_unaligned ifunc.
4792 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4793 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4794 (strcasestr): Remove __strcasestr_sse42 ifunc.
4795 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4796 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4797 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4799 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4801 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4802 * sysdeps/sh/bits/fenv.h: ... here.
4803 * sysdeps/sh/sh4/fpu/bits: Remove directory.
4805 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4807 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4809 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4811 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4812 hypotf multiarch implementations.
4813 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4814 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4815 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4816 multiarch hypot for PPC64.
4817 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4818 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4819 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4820 multiarch hypotf for PPC64.
4822 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4825 modff multiarch implementations.
4826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4829 multiarch modf for PPC64.
4830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4833 multiarch modff for PPC64.
4835 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4837 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4838 and logl multiarch implementations.
4839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4842 multiarch logb for PPC64.
4843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4846 multiarch logb for PPC64.
4847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4850 multiarch logb for PPC64.
4852 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4855 isinff multiarch implementation.
4856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4860 multiarch isinf for PPC64.
4861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4864 multiarch isinff for PPC64.
4866 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4868 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4869 finitef multiarch implementation.
4870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4874 multiarch finite for PPC64.
4875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4878 multiarch finitef for PPC64.
4880 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4882 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4883 lrint multiarch implementation.
4884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4888 multiarch llrint for PPC64.
4889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4890 multiarch lrint for PPC64.
4892 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4894 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4895 copysignf multiarch implementation.
4896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4901 multiarch copysign for PPC64.
4902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4903 multiarch copysignf for PPC64.
4905 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4907 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4908 multiarch implementation.
4909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4917 multiarch llround for PPC64.
4918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4919 multiarch trunc for PPC64.
4920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4921 multiarch truncf for PPC64.
4923 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4925 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4926 multiarch implementation.
4927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4935 multiarch llround for PPC64.
4936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4937 multiarch round for PPC64.
4938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4939 multiarch roundf for PPC64.
4941 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4943 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4944 multiarch implementation.
4945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4953 multiarch llround for PPC64.
4954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4955 multiarch floor for PPC64.
4956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4957 multiarch floorf for PPC64.
4959 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4961 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4962 multiarch implementation.
4963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4967 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4969 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4971 multiarch llround for PPC64.
4972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4973 multiarch ceil for PPC64.
4974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4975 multiarch ceilf for PPC64.
4977 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4979 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4980 multiarch implementation.
4981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4988 multiarch llround for PPC64.
4989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4990 multiarch lround for PPC64.
4992 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4994 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4995 multiarch implementation.
4996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4998 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5003 multiarch isnan for PPC64.
5004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5005 multiarch isnanf for PPC64.
5007 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5009 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5010 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5011 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5012 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5013 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5016 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5018 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5019 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5020 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5021 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5023 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5026 multiarch implementations.
5027 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5028 (__libc_ifunc_impl_list): Likewise.
5029 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5030 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5031 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5032 multiarch stpcpy for PPC64.
5034 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5037 multiarch implementations.
5038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5039 (__libc_ifunc_impl_list): Likewise.
5040 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5041 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5042 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5043 multiarch strcpy for PPC64.
5045 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5047 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5048 redefine function name.
5049 (_wordcopy_fwd_dest_aligned): Likewise.
5050 (_wordcopy_bwd_aligned): Likewise.
5051 (_wordcopy_bwd_dest_aligned): Likewise.
5052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5053 multiarch implementations.
5054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5055 (__libc_ifunc_impl_list): Likewise.
5056 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5057 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5058 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5059 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5060 multiarch wcscpy for PPC64.
5062 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5064 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5065 multiarch implementations.
5066 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5067 (__libc_ifunc_impl_list): Likewise.
5068 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5069 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5070 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5071 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5072 multiarch wcscpy for PPC64.
5074 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5076 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
5077 multiarch implementations.
5078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5079 (__libc_ifunc_impl_list): Likewise.
5080 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
5081 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
5082 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
5083 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
5084 multiarch wcsrchr for PPC64.
5086 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
5089 multiarch implementations.
5090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5091 (__libc_ifunc_impl_list): Likewise.
5092 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
5093 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
5094 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
5095 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
5096 multiarch wcschr for PPC64.
5098 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
5101 multiarch implementations.
5102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5103 (__libc_ifunc_impl_list): Likewise.
5104 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
5105 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
5106 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
5107 multiarch strchrnul for PPC64.
5109 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
5113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5114 (__libc_ifunc_impl_list): Likewise.
5115 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
5116 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
5117 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
5118 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
5121 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5123 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
5125 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5126 (__libc_ifunc_impl_list): Likewise.
5127 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
5128 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
5129 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
5130 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
5133 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
5136 multiarch implementations.
5137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5138 (__libc_ifunc_impl_list): Likewise.
5139 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
5140 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
5141 strncasecmp for PPC64.
5142 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
5143 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
5144 multiarch strncasecmp_l for PPC64.
5146 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5148 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
5149 multiarch implementations.
5150 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5151 (__libc_ifunc_impl_list): Likewise.
5152 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
5153 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
5154 multiarch strcasecmp for PPC64.
5155 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
5157 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
5158 multiarch strcasecmp_l for PPC64.
5160 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5162 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
5164 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5165 (__libc_ifunc_impl_list): Likewise.
5166 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
5167 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
5168 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
5171 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5173 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
5175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5176 (__libc_ifunc_impl_list): Likewise.
5177 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
5178 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
5179 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
5182 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
5186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5187 (__libc_ifunc_impl_list): Likewise.
5188 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5189 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5190 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5191 rawmemrchr for PPC64.
5193 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5198 (__libc_ifunc_impl_list): Likewise.
5199 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5200 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5201 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5204 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5206 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5208 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5209 (__libc_ifunc_impl_list): Likewise.
5210 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5211 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5212 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5215 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5217 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5219 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5220 (__libc_ifunc_impl_list): Likewise.
5221 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5222 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5223 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5226 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5228 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5229 avoid cretion of __bzero symbol.
5230 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5232 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5234 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5237 multiarch implementations.
5238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5239 (__libc_ifunc_impl_list): Likewise.
5240 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5241 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5242 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5243 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5245 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5246 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5247 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5248 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5249 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5251 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5253 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5255 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5256 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5258 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5259 (__libc_ifunc_impl_list): Likewise.
5260 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5261 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5262 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5263 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5266 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5269 multiarch for POWER/PPC64.
5270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5271 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5272 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5273 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5274 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5275 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5276 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5277 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5278 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5281 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5283 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5284 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5285 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5286 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5287 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5288 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5289 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5290 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5291 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5292 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5293 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5294 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5295 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5296 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5297 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5306 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5308 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5310 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5312 * benchtests/Makefile (bench): Add exp2 and log2.
5313 (LDLIBS-bench-exp2): Add -lm.
5314 (LDLIBS-bench-log2): Likewise.
5315 * benchtests/exp2-inputs: New inputs file.
5316 * benchtests/log2-inputs: New inputs file.
5317 * benchtests/log-inputs: Add new inputs.
5318 * benchtests/tan-inputs: Likewise.
5320 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5322 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5324 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5325 csloww1, csloww2): ... from here.
5327 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5328 instead of structures.
5329 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5330 (POLYNOMIAL): Likewise.
5331 (TAYLOR_SLOW): Likewise.
5339 (bsloww1): Likewise.
5340 (bsloww2): Likewise.
5343 (csloww1): Likewise.
5344 (csloww2): Likewise.
5346 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5348 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5349 (__malloc_assert, __libc_realloc, __libc_calloc,
5350 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5352 * malloc/hooks.c (realloc_check): Likewise.
5354 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
5356 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5357 * malloc/arena.c: Remove PER_THREAD conditional.
5358 [!PER_THREAD]: Remove code.
5359 (ptmalloc_unlock_all2): Likewise.
5360 (ptmalloc_init): Likewise.
5361 (_int_new_arena): Likewise.
5362 (arena_get2): Likewise.
5363 * malloc/hooks.c (__malloc_get_state): Likewise.
5364 (__malloc_set_state): Likewise.
5365 * malloc/malloc.c: Likewise.
5366 (struct malloc_state): Likewise.
5367 (struct malloc_par): Likewise.
5368 (__libc_realloc): Likewise.
5369 (__libc_mallopt): Likewise.
5371 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5373 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5375 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5377 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5378 macro to a function. Check for zero perturb_byte.
5379 (_int_malloc, _int_free): Remove zero perturb_byte checks.
5381 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
5383 * malloc/malloc.c: (force_reg): Remove.
5384 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5385 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5386 force_reg by atomic_forced_read.
5387 * malloc/arena.c (ptmalloc_init): Likewise.
5388 * malloc/hooks.c (top_check): Likewise.
5390 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5394 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
5396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5398 2013-12-08 Joseph Myers <joseph@codesourcery.com>
5400 * math/auto-libm-test-in: Add tests of lgamma.
5401 * math/auto-libm-test-out: Regenerated.
5402 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5403 (M_LOG_2_SQRT_PIl): Likewise.
5404 (lgamma_test_data): Use AUTO_TESTS_f_f1.
5405 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5407 (func_calc_desc): Add mpfr_f_f1 union field.
5416 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5417 (test_functions): Add lgamma.
5418 (calc_generic_results): Handle mpfr_f_f1.
5419 * sysdeps/i386/fpu/libm-test-ulps: Update.
5420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5422 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5424 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5425 __mpn_add_n for PowerPC64/POWER7.
5426 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5427 __mpn_sub_n for PowerPC64/POWER7.
5429 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5431 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5432 __mpn_addmul_1 for PowerPC64.
5433 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5434 __mpn_submul_1 for PowerPC64.
5435 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5437 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5440 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
5443 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5445 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5447 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5449 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5451 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5452 add multiarch folders.
5453 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5454 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5455 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5456 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5457 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5458 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5459 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5460 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5461 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5462 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5463 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5471 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5474 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5480 multiarch __ieee754_hypot for PowerPC32.
5481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5486 multiarch __ieee754_hypotf for PowerPC32.
5488 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5490 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5491 long_double_symbol only if __logbl is defined.
5492 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5493 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5494 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5495 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5497 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5498 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5499 path for implementation.
5500 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5501 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5503 logb, and logbl multiarch implementations for PowerPC32.
5504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5509 multiarch logb for PowerPC32.
5510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5515 multiarch logbf for PowerPC32.
5516 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5520 multiarch logbl implementation for PowerPC32.
5522 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5525 and modff multiarch implementations.
5526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5531 multiarch modf for PowerPC32.
5532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5537 multiarch modff for PowerPC32.
5539 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5542 and lrintf multiarch implementations.
5543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5548 multiarch lrint for PowerPC32.
5549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5550 file: multiarch lrintf for PowerPC32.
5552 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5555 and lroundf multiarch implementations.
5556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5563 multiarch lround for PowerPC32.
5564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5565 file: multiarch lroundf for PowerPC32.
5567 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5570 copysign and copysignf multiarch implementations.
5571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5576 file: multiarch copysign for PowerPC32.
5577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5578 file: multiarch copysignf for PowerPC32.
5580 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5583 and truncf multiarch implementations.
5584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5589 multiarch trunc for PowerPC32.
5590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5595 multiarch truncf for PowerPC32.
5597 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5600 and roundf multiarch implementations.
5601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5606 multiarch round for PowerPC32.
5607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5612 multiarch roundf for PowerPC32.
5614 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5617 and floorf multiarch implementations.
5618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5623 multiarch floor for PowerPC32.
5624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5629 multiarch floorf for PowerPC32.
5631 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5634 and ceilf multiarch implementations.
5635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5640 multiarch ceil for PowerPC32.
5641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5643 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5646 multiarch ceilf for PowerPC32.
5648 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5650 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5652 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5654 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5655 and finitef multiarch implementations.
5656 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5658 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5661 multiarch finite for PowerPC32.
5662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5665 file: multiarch finitef for PowerPC32.
5667 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5669 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5670 and isinff multiarch implementations.
5671 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5673 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5676 multiarch isinf for PowerPC32.
5677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5680 multiarch isinff for PowerPC32.
5682 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5684 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5685 alias when __isnan is defined.
5686 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5687 and isnanf multiarch implementations.
5688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5697 multiarch isnan for PowerPC32.
5698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5703 multiarch isnanf for PowerPC32.
5705 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5708 and sqrtf multiarch implementations.
5709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5714 multiarch sqrt for PowerPC32.
5715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5720 multiarch sqrtf for PowerPC32.
5722 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5725 and llroundf multiarch implementations.
5726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5733 file: multiarch llround for PowerPC32.
5734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5735 file: multiarch llroundf for PowerPC32.
5737 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5740 multiarch PowerPC32 fpu implementations.
5741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5746 multiarch llrint for PowerPC32.
5747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5751 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5754 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5758 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5760 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5762 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5764 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5766 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5767 multiarch wordcopy for PPC32.
5768 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5770 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5771 (__libc_ifunc_impl_list): Likewise.
5772 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5773 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5774 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5775 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5776 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5777 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5779 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5781 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5782 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5784 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5786 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5788 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5789 multiarch wcscpy for PPC32.
5790 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5792 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5793 (__libc_ifunc_impl_list): Likewise.
5794 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5795 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5796 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5797 sysdeps/powerpc/power6/wcscpy.c.
5799 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5801 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5802 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5804 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5808 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5809 multiarch wcsrchr for PPC32.
5810 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5812 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5813 (__libc_ifunc_impl_list): Likewise.
5814 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5815 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5816 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5817 sysdeps/powerpc/power6/wcsrchr.c.
5819 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5823 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5825 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5826 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5827 multiarch wcschr for PPc32.
5828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5831 (__libc_ifunc_impl_list): Likewise.
5832 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5833 * sysdeps/powerpc/power6/wcschr.c: ... to here.
5834 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5835 sysdeps/powerpc/power6/wcschr.c.
5837 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5839 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5840 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5842 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5843 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5844 file: multiarch strchr for PPC32.
5845 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5847 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5848 (__libc_ifunc_impl_list): Likewise.
5850 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5852 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5854 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5856 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5858 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5859 multiarch strchrnul for PPC32.
5860 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5862 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5863 (__libc_ifunc_impl_list): Likewise.
5865 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5867 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5869 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5870 multiarch strncasecmp for PPC32.
5871 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5873 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5874 multiarch strncasecmp_l for PPC32.
5875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5876 strncasecmp multiarch objects.
5877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5878 (__libc_ifunc_impl_list): Likewise.
5880 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5882 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5884 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5885 multiarch strncasecmp for PPC32.
5886 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5888 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5889 multiarch strcasecmp_l for PPC32.
5890 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5892 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5893 (__libc_ifunc_impl_list): Likewise.
5895 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5897 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5899 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5901 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5902 multiarch strncmp for PPC32.
5903 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5905 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5906 (__libc_ifunc_impl_list): Likewise.
5908 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5910 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5911 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5913 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5914 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5915 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5917 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5918 (__libc_ifunc_impl_list): Likewise.
5920 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5922 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5924 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5926 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5927 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5929 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5930 (__libc_ifunc_impl_list): Likewise.
5932 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5934 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5936 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5938 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5939 multiarch rawmemchr for PPC32.
5940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5943 (__libc_ifunc_impl_list): Likewise.
5945 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5947 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5949 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5951 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5952 file: memrchr multiarch for PPC32.
5953 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5955 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5956 (__libc_ifunc_impl_list): Likewise.
5958 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5960 * string/memchr.c (__memchr): Using macro to redefine symbol name.
5961 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5963 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5964 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5965 multiarch memchr for PPC32.
5966 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5968 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5969 (__libc_ifunc_impl_list): Likewise.
5971 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5973 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5974 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5976 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5978 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5979 file: multiarch mempcpy for PPC32.
5980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5982 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5983 (__libc_ifunc_impl_list): Likewise.
5985 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5987 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5988 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5989 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5990 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5991 multiarch bzero for PPC32.
5992 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5994 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5996 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5997 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5998 file: multiarch memset for PPC32.
5999 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6000 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6001 memset multiarch objects.
6002 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6003 (__libc_ifunc_impl_list): Likewise.
6005 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6007 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6009 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6010 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6012 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6016 (__libc_ifunc_impl_list): Likewise.
6018 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6020 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6021 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6022 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6024 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6026 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6028 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6029 multiarch memcpy for PPC32.
6030 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6032 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6033 (__libc_ifunc_impl_list): Likewise.
6035 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6037 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6038 support multiarch for POWER/PPC32.
6039 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6041 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6043 Implies file to make multiarch folder appers before the fpu and
6044 default folder for power4 configuration.
6046 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6048 * scripts/bench.pl: Append volatile keyword to type.
6050 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6052 * sysdeps/sh/sotruss-lib.c: New file.
6053 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6055 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6059 2013-12-05 Joseph Myers <joseph@codesourcery.com>
6062 * math/w_tgamma.c: Include <errno.h>.
6063 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6064 * math/w_tgammaf.c: Include <errno.h>.
6065 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6066 * math/w_tgammal.c: Include <errno.h>.
6067 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6068 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6069 underflow. Add more tgamma tests.
6070 * math/auto-libm-test-out: Regenerated.
6071 * sysdeps/i386/fpu/libm-test-ulps: Update.
6072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6074 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
6075 sin, sinh, tan, tanh, tgamma, y0 and y1.
6076 * math/auto-libm-test-out: Regenerated.
6077 * math/libm-test.inc (TEST_COND_x86_64): New macro.
6078 (TEST_COND_x86): Likewise.
6079 (M_E2l): Remove macro.
6081 (M_2_SQRT_PIl): Likewise.
6082 (M_SQRT_PIl): Likewise.
6083 (M_1_DIV_El): Likewise.
6084 (log_test_data): Use AUTO_TESTS_f_f.
6085 (log10_test_data): Likewise.
6086 (log1p_test_data): Likewise.
6087 (log2_test_data): Likewise.
6088 (sin_test_data): Likewise.
6089 (sin_tonearest_test_data): Likewise.
6090 (sin_towardzero_test_data): Likewise.
6091 (sin_downward_test_data): Likewise.
6092 (sin_upward_test_data): Likewise.
6093 (sinh_test_data): Likewise.
6094 (sinh_tonearest_test_data): Likewise.
6095 (sinh_towardzero_test_data): Likewise.
6096 (sinh_downward_test_data): Likewise.
6097 (sinh_upward_test_data): Likewise.
6098 (tan_test_data): Likewise.
6099 (tan_tonearest_test_data): Likewise.
6100 (tan_towardzero_test_data): Likewise.
6101 (tan_downward_test_data): Likewise.
6102 (tan_upward_test_data): Likewise.
6103 (tanh_test_data): Likewise.
6104 (tgamma_test_data): Likewise.
6105 (y0_test_data): Likewise.
6106 (y1_test_data): Likewise.
6107 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
6108 (special_real_inputs): Add pi/4.
6109 * sysdeps/i386/fpu/libm-test-ulps: Update.
6110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6112 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6114 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
6115 "longjmp_target" static probes.
6116 (__longjmp): Rename to __longjmp_symbol.
6117 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6118 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
6119 on which longjmp to generate.
6120 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6121 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
6123 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6124 (__sigjmp_save): Rename to __sigjmp_save_symbol.
6125 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6126 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
6127 and __sigjmp_save_symbol based on which sigsetjmp to generated.
6128 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
6129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
6130 __longjmp_symbol based on which __longjmp to generate.
6131 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
6133 (setjmp): Rename to setjmp_symbol.
6134 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6135 (_setjmp): Rename to _setjmp_symbol.
6136 (__sigsetjmp): Rename to __sigsetjmp_symbol.
6137 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
6138 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
6139 which setjmp to generate.
6140 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
6141 "longjmp_target" static probes.
6143 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
6145 * benchtests/README: Add note about output arguments.
6146 * benchtests/bench-sincos.c: Remove file.
6147 * benchtests/sincos-inputs: New file.
6148 * scripts/bench.pl: Identify output arguments and define
6149 static variables for them.
6151 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
6154 * Makefile (INSTALL): Add install-plain.texi as the primary
6156 * manual/install-plain.texi: New file.
6157 * manual/install.texi: Include node directive only for
6158 non-plaintext output.
6160 2013-12-04 Joseph Myers <joseph@codesourcery.com>
6162 * stdlib/longlong.h: Update from GCC.
6166 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
6167 * math/w_j0f.c (y0f): Likewise.
6168 * math/w_j0l.c (__y0l): Likewise.
6169 * math/w_j1.c (y1): Likewise.
6170 * math/w_j1f.c (y1f): Likewise.
6171 * math/w_j1l.c (__y1l): Likewise
6172 * math/w_jn.c (yn): Likewise.
6173 * math/w_jnf.c (ynf): Likewise.
6174 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
6175 Bessel function pole errors in _POSIX_ mode. Use NAN as return
6176 value for Bessel function domain errors outside _SVID_ mode.
6177 Adjust sign of return value for yn (negative integer, 0).
6178 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
6179 by zero in return for negative x and set sign appropriately for
6181 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
6182 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6183 * math/libm-test.inc (y0_test_data): Add more tests and adjust
6184 expectations in error cases.
6185 (y1_test_data): Likewise.
6186 (yn_test_data): Likewise.
6187 * sysdeps/i386/fpu/libm-test-ulps: Update.
6188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6190 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6192 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6193 "64" to "64-v1". Add "64-v2".
6194 (abi-64-options): Rename to ...
6195 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
6196 (abi-64-condition): Rename to ...
6197 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
6198 (abi-64-ld-soname): Rename to ...
6199 (abi-64-v1-ld-soname): ... this.
6200 (abi-64-v2-options): Define.
6201 (abi-64-v2-condition): Likewise.
6202 (abi-64-v2-ld-soname): Likewise.
6203 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6204 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6209 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6210 Alan Modra <amodra@gmail.com>
6212 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6213 New versions for use with the ELFv2 ABI.
6214 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6215 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6217 (struct La_ppc64v2_retval): Likewise.
6218 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6219 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6220 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6221 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6222 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6223 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6224 Do not save or restore CR.
6225 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6226 (_dl_profile_resolve): Do no save or restore CR. Support extended
6227 return values for ELFv2 ABI. Fix location of FPR return registers.
6228 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6229 updated values for _CALL_ELF == 2.
6230 (La_regs, La_retval, int_retval): Likewise.
6232 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6234 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6235 (FRAME_MIN_SIZE_PARM): Likewise.
6236 (FRAME_BACKCHAIN): Likewise.
6237 (FRAME_CR_SAVE): Likewise.
6238 (FRAME_LR_SAVE): Likewise.
6239 (FRAME_TOC_SAVE): Likewise.
6240 (FRAME_PARM_SAVE): Likewise.
6241 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6242 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6243 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6244 (call_mcount_parm_offset): New macro.
6245 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6246 (PROF): Use symbolic stack frame offsets.
6247 (TAIL_CALL_SYSCALL_ERROR): Likewise.
6248 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6249 Redefine in terms of FRAME_MIN_SIZE.
6250 (_dl_runtime_resolve): Use symbolic stack frame offsets.
6251 (_dl_profile_resolve): Likewise. Update comment.
6252 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6253 symbols stack frame offsets.
6254 (__sigsetjmp): Likewise.
6255 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6256 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6257 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6258 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6261 (FRAME_BACKCHAIN): Remove.
6262 (FRAME_CR_SAVE): Likewise.
6263 (FRAME_LR_SAVE): Likewise.
6264 (FRAME_COMPILER_DW): Likewise.
6265 (FRAME_LINKER_DW): Likewise.
6266 (FRAME_TOC_SAVE): Likewise.
6267 (FRAME_PARM_SAVE): Likewise.
6268 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6269 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6270 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6272 (CHECK_SP): Use symbolic stack frame offsets.
6273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6274 zone" instead of caller's parameter save area for temp storage.
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6276 Likewise. Also, use symbolic stack frame offsets.
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6278 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6279 our own stack frame instead of the caller's.
6280 (__socket): Use symbolic stack frame offsets.
6282 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6283 Alan Modra <amodra@gmail.com>
6285 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6287 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6288 PPC64_LOCAL_ENTRY_OFFSET): Define.
6289 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6291 (elf_machine_fixup_plt): Call it.
6292 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
6294 (elf_machine_rela): Update call to elf_machine_plt_conflict.
6295 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6296 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6297 r2 before calling target.
6299 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6300 Alan Modra <amodra@gmail.com>
6302 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6303 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6304 versions of macros to support ELFv2 ABI.
6305 (LOCALENTRY): New macro.
6306 (ENTRY, EALIGN): Use it.
6307 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6308 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6309 fall through into ENTRY entry point.
6310 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6311 Only define if _CALL_ELF != 2.
6313 (elf_machine_matches_host): Verify ABI version matches.
6314 (RTLD_START): Use LOCALENTRY.
6315 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6316 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6317 (PLT_ENTRY_WORDS): New macro.
6318 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6319 (elf_machine_runtime_setup): Support ELFv2 ABI.
6320 (elf_machine_fixup_plt): Likewise.
6321 (elf_machine_plt_conflict): Likewise.
6322 (resolve_ifunc): Likewise.
6323 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6324 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6327 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6329 (makecontext): Support ELFv2 ABI.
6330 * elf/elf.h (EF_PPC64_ABI): Define.
6332 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6334 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6335 New assembler macro.
6336 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6337 [ASSEMBLER] (ENTRY): ... but instead here ...
6338 [ASSEMBLER] (EALIGN): ... and here.
6339 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6340 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6341 [!ASSEMBLER] (ENTRY_2): Use it.
6342 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6343 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
6344 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6345 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6346 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6348 Use PPC64_LOAD_FUNCPTR.
6350 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6352 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6354 2013-12-04 Alan Modra <amodra@gmail.com>
6356 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6357 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6358 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6359 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6362 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6363 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6364 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6365 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6366 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6368 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
6370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6371 (__makecontext): Fix incorrect CFI when backtracing out of
6372 context created via makecontext.
6373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6374 (__setcontext): Fix incorrect CFI during switch to new context.
6375 (__novec_setcontext): Likewise.
6377 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6380 * time/strptime_l.c (__strptime_internal): Allow modifiers
6382 * time/tst-strptime.c (day_tests): Add testcase.
6385 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6387 * scripts/bench.pl: Skip over blank lines.
6389 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
6392 * manual/time.texi (Calendar Time): Clarify what timezone functions
6395 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6399 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
6401 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6403 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6404 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6405 * debug/memset_chk.c (__memset_chk): Likewise.
6406 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6407 * debug/strncpy_chk.c: Likewise.
6409 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6413 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6414 (__ieee754_exp): For possibly underflowing results, check size of
6415 result and force underflow exception if required.
6416 * math/auto-libm-test-in: Add more tests of exp.
6417 * math/auto-libm-test-out: Regenerated.
6418 * sysdeps/i386/fpu/libm-test-ulps: Update.
6419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6422 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6423 * math/w_exp2f.c (__exp2f): Likewise.
6424 * math/w_exp2l.c (__exp2l): Likewise.
6425 * math/auto-libm-test-in: Do not allow missing errno on exp2
6427 * math/auto-libm-test-out: Regenerated.
6429 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
6432 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6433 handle filename validation.
6434 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6437 2013-12-03 Joseph Myers <joseph@codesourcery.com>
6440 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6441 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6442 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6444 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6445 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6446 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6447 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6448 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6449 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6450 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6451 * math/auto-libm-test-in: Don't allow missing errno from erfc.
6452 Add more erfc tests.
6453 * math/auto-libm-test-out: Regenerated.
6454 * sysdeps/i386/fpu/libm-test-ulps: Update.
6455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6457 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6458 exp2, expm1, j0 and j1.
6459 * math/auto-libm-test-out: Regenerated.
6460 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6461 (erfc_test_data): Likewise.
6462 (exp_test_data): Likewise.
6463 (exp_tonearest_test_data): Likewise.
6464 (exp_towardzero_test_data): Likewise.
6465 (exp_downward_test_data): Likewise.
6466 (exp_upward_test_data): Likewise.
6467 (exp10_test_data): Likewise.
6468 (exp2_test_data): Likewise.
6469 (expm1_test_data): Likewise.
6470 (j0_test_data): Likewise.
6471 (j1_test_data): Likewise.
6472 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6473 (input_flag_type): Add flag_xfail_rounding.
6474 (input_flags): Add xfail-rounding.
6475 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6476 (output_for_one_input_case): Handle flag_xfail_rounding.
6477 * sysdeps/i386/fpu/libm-test-ulps: Update.
6478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6480 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
6483 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6486 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
6489 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6490 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6491 (STAP_PROBE0): New macro.
6492 (STAP_PROBE1): Likewise.
6493 (STAP_PROBE2): Likewise.
6494 (STAP_PROBE3): Likewise.
6495 (STAP_PROBE4): Likewise.
6497 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
6499 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6501 2013-12-02 Steve Ellcey <sellcey@mips.com>
6503 * benchtests/Makefile (bench): Add sqrt.
6504 (LDLIBS-bench-sqrt): New.
6505 * benchtests/sqrt-input: New.
6507 2013-12-02 Pavel Simerda <psimerda@redhat.com>
6509 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6510 (GAIH_EAI): Likewise.
6511 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6512 (gaih_inet): Likewise.
6513 (getaddrinfo): Don't use GAIH_EAI.
6515 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6516 (struct gaih): Remove definition.
6518 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6520 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6521 Use HERRNOP directly.
6523 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6527 2013-11-30 Joseph Myers <joseph@codesourcery.com>
6529 * math/gen-auto-libm-tests.c (test_functions): Add more
6530 single-argument functions.
6531 (special_fill_pi_2): New function.
6532 (special_fill_minus_pi_2): Likewise.
6533 (special_fill_pi_6): Likewise.
6534 (special_fill_minus_pi_6): Likewise.
6535 (special_fill_pi_3): Likewise.
6536 (special_fill_2pi_3): Likewise.
6537 (special_fill_e): Likewise.
6538 (special_fill_1_e): Likewise.
6539 (special_fill_e_minus_1): Likewise.
6540 (special_real_inputs): Add more special inputs.
6541 (output_for_one_input_case): Do not require ERANGE on underflow to
6542 zero if round-to-nearest result does not underflow to zero, unless
6543 exact results required.
6544 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6545 atan, atanh, cbrt, cos and cosh.
6546 * math/auto-libm-test-out: Regenerated.
6547 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6548 (acos_tonearest_test_data): Likewise.
6549 (acos_towardzero_test_data): Likewise.
6550 (acos_downward_test_data): Likewise.
6551 (acos_upward_test_data): Likewise.
6552 (acosh_test_data): Likewise.
6553 (asin_test_data): Likewise.
6554 (asin_tonearest_test_data): Likewise.
6555 (asin_towardzero_test_data): Likewise.
6556 (asin_upward_test_data): Likewise.
6557 (asinh_test_data): Likewise.
6558 (atan_test_data): Likewise.
6559 (atanh_test_data): Likewise.
6560 (cbrt_test_data): Likewise.
6561 (cos_test_data): Likewise.
6562 (cos_tonearest_test_data): Likewise.
6563 (cos_towardzero_test_data): Likewise.
6564 (cos_downward_test_data): Likewise.
6565 (cos_upward_test_data): Likewise.
6566 (cosh_test_data): Likewise.
6567 (cosh_tonearest_test_data): Likewise.
6568 (cosh_towardzero_test_data): Likewise.
6569 (cosh_downward_test_data): Likewise.
6570 (cosh_upward_test_data): Likewise.
6571 * sysdeps/i386/fpu/libm-test-ulps: Update.
6572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6574 2013-11-29 Joseph Myers <joseph@codesourcery.com>
6577 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6578 * math/w_exp10f.c (__exp10f): Likewise.
6579 * math/w_exp10l.c (__exp10l): Likewise.
6580 * math/libm-test.inc (exp10_test_data): Add more tests and expect
6581 errno settings in existing tests.
6584 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6585 precision control set to double precision.
6586 * sysdeps/i386/fpu/w_sqrt.c: New file.
6587 * math/auto-libm-test-in: Add more tests.
6588 * math/auto-libm-test-out: Update.
6590 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6591 (sqrt_test_tonearest): New function.
6592 (sqrt_towardzero_test_data): New variable.
6593 (sqrt_test_towardzero): New function.
6594 (sqrt_downward_test_data): New variable.
6595 (sqrt_test_downward): New function.
6596 (sqrt_upward_test_data): New variable.
6597 (sqrt_test_upward): New function.
6598 (main): Call the new functions.
6600 * math/gen-auto-libm-tests.c: New file.
6601 * math/auto-libm-test-in: Likewise.
6602 * math/auto-libm-test-out: New generated file.
6603 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6605 (%beautify): Add generated representations of zero.
6606 (top level): Set $auto_input and call parse_auto_input.
6607 (beautify): Remove trailing "f" from hex float constants.
6608 (parse_args): Handle XFAIL_TEST.
6609 (convert_condition): New function.
6610 (or_value): Likewise.
6611 (or_cond_value): Likewise.
6612 (generate_testfile): Handle AUTO_TESTS_* lines.
6613 (parse_auto_input): New function.
6614 * math/libm-test.inc (XFAIL_TEST): New macro.
6615 (ERRNO_UNCHANGED): Update value.
6616 (ERRNO_EDOM): Likewise.
6617 (ERRNO_ERANGE): Likewise.
6618 (IGNORE_RESULT): Likewise.
6619 (TEST_COND_flt_32): New macro.
6620 (TEST_COND_dbl_64): Likewise.
6621 (TEST_COND_ldbl_96_intel): Likewise.
6622 (TEST_COND_ldbl_96_m68k): Likewise.
6623 (TEST_COND_ldbl_128): Likewise.
6624 (TEST_COND_ldbl_128ibm): Likewise.
6625 (TEST_COND_long32): Likewise.
6626 (TEST_COND_long64): Likewise.
6627 (TEST_COND_before_rounding): Likewise.
6628 (TEST_COND_after_rounding): Likewise.
6629 (enable_test): Handle XFAIL_TEST flag.
6630 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6631 with finite results.
6632 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6635 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
6636 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6639 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6640 __tls_get_addr_internal instead of __tls_get_offset in order to
6641 avoid GOT pointer dependency. Make rtld export
6642 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6643 __tls_get_addr since we are a __tls_get_offset platform.
6644 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6645 GOT pointer being set up before.
6646 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6648 2013-11-28 Joseph Myers <joseph@codesourcery.com>
6650 * manual/math.texi (Errors in Math Functions): Document accuracy
6654 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6655 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6658 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6660 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6671 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6672 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6673 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6674 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6675 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6677 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6679 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6681 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6682 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6683 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6684 atomic-feupdateenv and flt-rounds.
6685 * sysdeps/powerpc/nofpu/Versions (libc): Add
6686 __atomic_feholdexcept, __atomic_feclearexcept,
6687 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6688 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6689 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6690 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6691 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6696 * manual/arith.texi (FP Exceptions): Document that exceptions may
6697 not be raised when matherr is used.
6698 (Math Error Reporting): Document overflow in directed rounding
6699 modes. Document that errno may not be set when finite values are
6700 returned on overflow. Document intent to set errno on underflow
6701 only for underflow to zero.
6704 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6705 round-to-nearest then adjust result for other rounding modes.
6706 * include/fenv.h (fegetround): Use libm_hidden_proto.
6707 * math/fegetround.c (fegetround): Use libm_hidden_def.
6708 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6709 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6710 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6711 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6713 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6714 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6715 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6716 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6718 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6721 * nss/Versions (libnss_files): Add
6722 _nss_files_gethostbyname3_r.
6723 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6725 (HOST_DB_LOOKUP): Remove macro.
6726 (_nss_files_gethostbyname_r): Implement function without the
6727 HOST_DB_LOOKUP macro.
6728 (_nss_files_gethostbyname2_r): Likewise.
6730 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
6732 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6734 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
6736 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6737 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6740 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6742 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6743 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6744 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6745 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6746 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6747 __fe_nomask_env_priv and attribute_hidden.
6748 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6749 (libc_feupdateenv_test_ppc): Likewise.
6750 (libc_feresetround_ppc): Likewise.
6751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6752 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6753 compat_symbol macro.
6754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6755 (__fe_nomask_env): Likewise.
6756 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6758 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6760 * string/Makefile: Remove ifunc tests.
6761 * string/test-string.h: Define TEST_IFUNC.
6762 * string/test-bcopy-ifunc.c: Remove.
6763 * string/test-bzero-ifunc.c: Likewise.
6764 * string/test-memccpy-ifunc.c: Likewise.
6765 * string/test-memchr-ifunc.c: Likewise.
6766 * string/test-memcmp-ifunc.c: Likewise.
6767 * string/test-memcpy-ifunc.c: Likewise.
6768 * string/test-memmem-ifunc.c: Likewise.
6769 * string/test-memmove-ifunc.c: Likewise.
6770 * string/test-mempcpy-ifunc.c: Likewise.
6771 * string/test-memrchr-ifunc.c: Likewise.
6772 * string/test-memset-ifunc.c: Likewise.
6773 * string/test-rawmemchr-ifunc.c: Likewise.
6774 * string/test-stpcpy-ifunc.c: Likewise.
6775 * string/test-stpncpy-ifunc.c: Likewise.
6776 * string/test-strcasecmp-ifunc.c: Likewise.
6777 * string/test-strcasestr-ifunc.c: Likewise.
6778 * string/test-strcat-ifunc.c: Likewise.
6779 * string/test-strchr-ifunc.c: Likewise.
6780 * string/test-strchrnul-ifunc.c: Likewise.
6781 * string/test-strcmp-ifunc.c: Likewise.
6782 * string/test-strcpy-ifunc.c: Likewise.
6783 * string/test-strcspn-ifunc.c: Likewise.
6784 * string/test-strlen-ifunc.c: Likewise.
6785 * string/test-strncasecmp-ifunc.c: Likewise.
6786 * string/test-strncat-ifunc.c: Likewise.
6787 * string/test-strncmp-ifunc.c: Likewise.
6788 * string/test-strncpy-ifunc.c: Likewise.
6789 * string/test-strnlen-ifunc.c: Likewise.
6790 * string/test-strpbrk-ifunc.c: Likewise.
6791 * string/test-strrchr-ifunc.c: Likewise.
6792 * string/test-strspn-ifunc.c: Likewise.
6793 * string/test-strstr-ifunc.c: Likewise.
6795 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6797 * benchtests/Makefile: Remove ifunc tests.
6798 * benchtests/bench-string.h: Define TEST_IFUNC.
6799 * benchtests/bench-bcopy-ifunc.c: Remove.
6800 * benchtests/bench-bzero-ifunc.c: Likewise.
6801 * benchtests/bench-memccpy-ifunc.c: Likewise.
6802 * benchtests/bench-memchr-ifunc.c: Likewise.
6803 * benchtests/bench-memcmp-ifunc.c: Likewise.
6804 * benchtests/bench-memcpy-ifunc.c: Likewise.
6805 * benchtests/bench-memmem-ifunc.c: Likewise.
6806 * benchtests/bench-memmove-ifunc.c: Likewise.
6807 * benchtests/bench-mempcpy-ifunc.c: Likewise.
6808 * benchtests/bench-memrchr-ifunc.c: Likewise.
6809 * benchtests/bench-memset-ifunc.c: Likewise.
6810 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6811 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6812 * benchtests/bench-stpcpy-ifunc.c: Likewise.
6813 * benchtests/bench-stpncpy-ifunc.c: Likewise.
6814 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6815 * benchtests/bench-strcasestr-ifunc.c: Likewise.
6816 * benchtests/bench-strcat-ifunc.c: Likewise.
6817 * benchtests/bench-strchr-ifunc.c: Likewise.
6818 * benchtests/bench-strchrnul-ifunc.c: Likewise.
6819 * benchtests/bench-strcmp-ifunc.c: Likewise.
6820 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6821 * benchtests/bench-strcpy-ifunc.c: Likewise.
6822 * benchtests/bench-strcspn-ifunc.c: Likewise.
6823 * benchtests/bench-strlen-ifunc.c: Likewise.
6824 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6825 * benchtests/bench-strncat-ifunc.c: Likewise.
6826 * benchtests/bench-strncmp-ifunc.c: Likewise.
6827 * benchtests/bench-strncpy-ifunc.c: Likewise.
6828 * benchtests/bench-strnlen-ifunc.c: Likewise.
6829 * benchtests/bench-strpbrk-ifunc.c: Likewise.
6830 * benchtests/bench-strrchr-ifunc.c: Likewise.
6831 * benchtests/bench-strsep-ifunc.c: Likewise.
6832 * benchtests/bench-strspn-ifunc.c: Likewise.
6833 * benchtests/bench-strstr-ifunc.c: Likewise.
6835 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6837 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6839 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
6841 * resolv/netdb.h: Use __glibc_reserved instead __unused.
6842 * rt/aio.h: Likewise.
6843 * sysdeps/gnu/bits/utmp.h: Likewise.
6844 * sysdeps/gnu/bits/utmpx.h: Likewise.
6845 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6846 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6847 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6848 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6849 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6850 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6851 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6852 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6853 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6854 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6855 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6856 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6857 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6859 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6860 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6861 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6862 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6863 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6864 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6865 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6866 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6867 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6868 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6869 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6871 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6872 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6873 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6874 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6875 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6876 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6877 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6878 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6879 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6880 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6881 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6882 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6883 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6884 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6885 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6886 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6888 2013-11-25 Carlos O'Donell <carlos@redhat.com>
6891 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6892 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6894 2013-11-25 Joseph Myers <joseph@codesourcery.com>
6896 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6897 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6900 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6902 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6903 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6904 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6905 (__fesetround): Remove define.
6906 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6907 rounding and exceptions handling.
6908 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6909 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6910 (__fe_nomask_env): Likewise.
6911 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6912 __fegetround instead of fegetround.
6913 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6916 2013-11-21 Roland McGrath <roland@hack.frob.com>
6918 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6921 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6923 2013-11-21 Meador Inge <meadori@codesourcery.com>
6926 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6927 (encrypt_r): Likewise.
6928 * malloc/obstack.h (obstack_free): Likewise.
6929 * posix/unistd.h (encrypt): Likewise.
6931 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
6933 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6934 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6935 DL_CALL_DT_FINI() that call the functions directly.
6936 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6937 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6938 * elf/dl-fini.c: Likewise.
6940 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
6942 * malloc/hooks.c (memalign_check): Add alignment rounding.
6943 * malloc/malloc.c (_mid_memalign): New function.
6944 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6945 Implement by calling _mid_memalign.
6946 * manual/probes.texi (Memory Allocation Probes): Remove
6947 memory_valloc_retry and memory_pvalloc_retry.
6949 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6951 * locale/programs/locarchive.c (open_archive): Add const
6952 qualifier to ARCHIVEFNAME and copy default fname to
6956 * libio/tst-widetext.input: Rename Oriya to Odia.
6957 * locale/iso-639.def: Likewise.
6959 * manual/probes.texi (Mathematical Function Probes): Add
6960 documentation for sin, cos, asin and acos probes.
6961 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6962 (__sin32): Add slowasin probe.
6963 (__cos32): Add slowacos probe.
6964 (__mpsin): Add slowsin probe.
6965 (__mpcos): Add slowcos probe.
6967 2013-11-19 Joseph Myers <joseph@codesourcery.com>
6970 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6971 thread-local __sim_exceptions_thread and global
6972 __sim_exceptions_global.
6973 (__sim_disabled_exceptions): Change to thread-local
6974 __sim_disabled_exceptions_thread and global
6975 __sim_disabled_exceptions_global.
6976 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6977 and global __sim_round_mode_global.
6978 (__simulate_exceptions): Use thread-local floating-point state and
6979 set global state from it as needed.
6980 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6981 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6982 __sim_round_mode_thread.
6983 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6984 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6985 and global __sim_exceptions_global.
6986 (__sim_disabled_exceptions): Change to thread-local
6987 __sim_disabled_exceptions_thread and global
6988 __sim_disabled_exceptions_global.
6989 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6990 and global __sim_round_mode_global.
6991 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6992 (SIM_SET_GLOBAL): Likewise.
6993 * sysdeps/powerpc/soft-fp/sfp-machine.h
6994 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6995 __sim_round_mode_thread.
6996 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6997 __sim_disabled_exceptions_thread.
6998 (__sim_exceptions): Change to __sim_exceptions_thread.
6999 (__sim_disabled_exceptions): Change to
7000 __sim_disabled_exceptions_thread.
7001 (__sim_round_mode): Change to __sim_round_mode_thread.
7002 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7003 thread-local floating-point state and set global state from it as
7005 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7006 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7007 (__sim_disabled_exceptions): Remove extern declaration.
7008 (feenableexcept): Use thread-local floating-point state and set
7009 global state from it as needed.
7010 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7012 (__sim_disabled_exceptions): Likewise.
7013 (__sim_round_mode): Likewise.
7014 (__fegetenv): Use thread-local floating-point state.
7015 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7016 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7017 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7018 floating-point state and set global state from it as needed.
7019 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7020 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7021 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7023 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7024 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7026 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7027 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7028 Use __sim_round_mode_thread.
7029 * math/test-fenv-tls.c: New file.
7030 * math/Makefile (tests): Add test-fenv-tls.
7031 ($(objpfx)test-fenv-tls): Depend on
7032 $(common-objpfx)nptl/libpthread.so.
7034 2013-11-19 Andreas Schwab <schwab@suse.de>
7036 * locale/programs/locale.c (show_info): Decode wordarray elements.
7037 * locale/categories.def (LC_MONETARY): Add element for
7038 _NL_MONETARY_CRNCYSTR.
7039 * locale/C-monetary.c (conversion_rate): New variable.
7040 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7043 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7045 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7046 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7048 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7050 * elf/Makefile (tst-auxv): New test.
7051 * elf/tst-auxv.c: New
7052 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7054 2013-11-18 Joseph Myers <joseph@codesourcery.com>
7056 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7057 (hidden_proto): Caller changed.
7058 (hidden_tls_proto): New macro.
7059 (libc_hidden_tls_proto): Likewise.
7060 (rtld_hidden_tls_proto): Likewise.
7061 (libm_hidden_tls_proto): Likewise.
7062 (libresolv_hidden_tls_proto): Likewise.
7063 (librt_hidden_tls_proto): Likewise.
7064 (libdl_hidden_tls_proto): Likewise.
7065 (libnss_files_hidden_tls_proto): Likewise.
7066 (libnsl_hidden_tls_proto): Likewise.
7067 (libnss_nisplus_hidden_tls_proto): Likewise.
7068 (libutil_hidden_tls_proto): Likewise.
7070 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
7073 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
7074 (decompose_rpath): Defer expansion to fillin_rpath.
7075 (_dl_init_paths): Pass linkmap to fillin_rpath.
7077 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7079 * benchtests/Makefile: Add strsep.
7080 * benchtests/bench-strsep.c: New file: strsep benchtest.
7081 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
7083 2013-11-18 Andreas Schwab <schwab@suse.de>
7085 * locale/programs/locale.c (show_info) [case byte]: Check for
7086 '\377' instead of '\177'.
7087 * locale/C-monetary.c (not_available): Always use "\377".
7088 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
7089 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
7090 detect unavailable sign_posn locale elements.
7091 * locale/localeconv.c (__localeconv): For grouping and
7092 mon_grouping handle "\177" and "\377" like no grouping.
7093 (INT_ELEM): New macro. Use it to set all numeric members.
7094 * locale/programs/ld-monetary.c (monetary_read)
7095 <tok_mon_grouping>: Normalize single -1 to the empty string.
7096 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
7099 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7102 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
7103 when we match (nil).
7104 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7106 2013-11-16 Joseph Myers <joseph@codesourcery.com>
7108 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
7109 (NO_TEST_INLINE): Update value.
7110 (ERRNO_UNCHANGED): Likewise.
7111 (ERRNO_EDOM): Likewise.
7112 (ERRNO_ERANGE): Likewise.
7113 (IGNORE_RESULT): Likewise.
7114 (check_float_internal): Check signs of NaN results if
7116 (check_complex): Pass TEST_NAN_SIGN flag through to second
7117 check_float_internal call.
7118 (copysign_test_data): Add tests with quiet NaNs as second
7119 argument. Use TEST_NAN_SIGN.
7120 (fabs_test_data): Add test of negative quiet NaN argument. Use
7122 (signbit_test_data): Add tests of quiet NaN argument.
7123 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
7125 * math/gen-libm-test.pl (show_exceptions): Take extra argument
7127 (parse_args): Handle function results specified as IGNORE.
7128 * math/libm-test.inc (IGNORE_RESULT): New macro.
7129 (check_float_internal): Do not check numerical result if flag
7131 (check_complex): Pass through IGNORE_RESULT to second
7132 check_float_internal call.
7133 (check_int): Do not check numerical result if flag IGNORE_RESULT
7135 (check_long): Likewise.
7136 (check_bool): Likewise.
7137 (check_longlong): Likewise.
7138 (lrint_test_data): Add tests of infinite and NaN arguments.
7139 (lrint_tonearest_test_data): Likewise.
7140 (lrint_towardzero_test_data): Likewise.
7141 (lrint_downward_test_data): Likewise.
7142 (lrint_upward_test_data): Likewise.
7143 (llrint_test_data): Likewise.
7144 (llrint_tonearest_test_data): Likewise.
7145 (llrint_towardzero_test_data): Likewise.
7146 (llrint_downward_test_data): Likewise.
7147 (llrint_upward_test_data): Likewise.
7148 (lround_test_data): Likewise.
7149 (llround_test_data): Likewise.
7151 * math/libm-test.inc (NO_TEST_INLINE): New macro.
7152 (ERRNO_UNCHANGED): Update value.
7153 (ERRNO_EDOM): Likewise.
7154 (ERRNO_ERANGE): Likewise.
7155 (NO_TEST_INLINE_FLOAT): New macro.
7156 (NO_TEST_INLINE_DOUBLE): Likewise.
7157 (enable_test): New function.
7158 (RUN_TEST_f_f): Check enable_test before running test.
7159 (RUN_TEST_2_f): Likewise.
7160 (RUN_TEST_fff_f): Likewise.
7161 (RUN_TEST_c_f): Likewise.
7162 (RUN_TEST_f_f1): Likewise.
7163 (RUN_TEST_fF_f1): Likewise.
7164 (RUN_TEST_fI_f1): Likewise.
7165 (RUN_TEST_ffI_f1): Likewise.
7166 (RUN_TEST_c_c): Likewise.
7167 (RUN_TEST_cc_c): Likewise.
7168 (RUN_TEST_f_i): Likewise.
7169 (RUN_TEST_f_i_tg): Likewise.
7170 (RUN_TEST_ff_i_tg): Likewise.
7171 (RUN_TEST_f_b): Likewise.
7172 (RUN_TEST_f_b_tg): Likewise.
7173 (RUN_TEST_f_l): Likewise.
7174 (RUN_TEST_f_L): Likewise.
7175 (RUN_TEST_fFF_11): Likewise.
7176 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
7178 (cosh_test_data): Likewise.
7179 (exp_test_data): Likewise.
7180 (expm1_test_data): Likewise.
7181 (hypot_test_data): Likewise.
7182 (pow_test_data): Likewise.
7183 (sinh_test_data): Likewise.
7184 (tanh_test_data): Likewise.
7185 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
7188 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7189 tests with quiet NaN input and output.
7190 (acosh_test_data): Likewise.
7191 (asin_test_data): Likewise.
7192 (asinh_test_data): Likewise.
7193 (atan_test_data): Likewise.
7194 (atanh_test_data): Likewise.
7195 (atan2_test_data): Likewise.
7196 (cbrt_test_data): Likewise.
7197 (cos_test_data): Likewise.
7198 (cosh_test_data): Likewise.
7199 (erf_test_data): Likewise.
7200 (erfc_test_data): Likewise.
7201 (exp_test_data): Likewise.
7202 (exp10_test_data): Likewise.
7203 (exp2_test_data): Likewise.
7204 (expm1_test_data): Likewise.
7205 (hypot_test_data): Likewise.
7206 (j0_test_data): Likewise.
7207 (j1_test_data): Likewise.
7208 (jn_test_data): Likewise.
7209 (lgamma_test_data): Likewise.
7210 (log_test_data): Likewise.
7211 (log10_test_data): Likewise.
7212 (log1p_test_data): Likewise.
7213 (log2_test_data): Likewise.
7214 (pow_test_data): Likewise.
7215 (scalb_test_data): Likewise.
7216 (sin_test_data): Likewise.
7217 (sincos_test_data): Likewise.
7218 (sinh_test_data): Likewise.
7219 (tan_test_data): Likewise.
7220 (tanh_test_data): Likewise.
7221 (tgamma_test_data): Likewise.
7222 (y0_test_data): Likewise.
7223 (y1_test_data): Likewise.
7224 (yn_test_data): Likewise.
7227 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7228 argument being NaN and avoid computations with second argument in
7230 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7231 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7232 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7234 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
7236 * locale/iso-639.def: Add Chitwani Tharu (the).
7238 2013-11-14 Andreas Schwab <schwab@suse.de>
7240 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7241 word instead of empty string.
7243 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7246 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7248 (__fe_nomask_env): Likewise.
7250 2013-11-13 Steve Ellcey <sellcey@mips.com>
7252 * benchtests/bench-timing.h: Include time.h.
7254 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
7257 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7259 * sysdeps/unix/sysv/linux/configure: Regenerated.
7261 2013-11-13 Joseph Myers <joseph@codesourcery.com>
7264 * stdlib/strtod_l.c (round_and_return): Do not consider
7265 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7266 exponent one less than half the least subnormal exponent.
7267 * stdlib/test-strtod-round-data: Add more tests.
7268 * stdlib/tst-strtod-round.c (tests): Regenerated.
7270 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7273 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7274 (__fe_mask_env): Likewise.
7275 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7276 libm_hidden_proto and add function prototype.
7277 (__fe_mask_env): Add function prototype.
7278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7279 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7281 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7283 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7285 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7287 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7288 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7290 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7292 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7293 of htab_find_slot().
7295 2013-11-11 David S. Miller <davem@davemloft.net>
7298 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7299 symbol in the non-vis3 case in static builds.
7300 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7301 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7302 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7303 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7305 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
7308 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7311 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7313 * benchtests/Makefile: Add bench-strtod.
7314 * benchtests/bench-strtod.c: New file: strtod benchtest
7316 2013-11-11 Andreas Schwab <schwab@suse.de>
7319 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7320 terminating NUL in key length.
7322 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7324 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7325 Add artificial ODP entry for vDSO symbol for PPC64.
7326 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7327 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7329 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
7332 * nss/getent.c (services_keys): Recognize services starting with digit.
7334 2013-11-06 David S. Miller <davem@davemloft.net>
7337 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7338 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7340 2013-11-06 Will Newton <will.newton@linaro.org>
7342 * manual/memory.texi (Malloc Examples): Remove register
7343 keyword from examples.
7345 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
7347 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7349 2013-11-04 Joseph Myers <joseph@codesourcery.com>
7352 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7353 depending on [__GCC_IEC_559 > 0].
7354 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7355 depending on [__GCC_IEC_559_COMPLEX > 0].
7357 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
7359 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7362 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
7364 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7366 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
7369 * malloc/malloc (malloc_info): Do not handle first bin as
7372 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
7374 * locale/iso-639.def: Add Central Nahuatl (nhn).
7376 2013-11-01 Bruno Haible <bruno@clisp.org>
7379 * manual/math.texi (BSD Random): Specify range upper bound as
7382 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
7384 * locale/iso-639.def: Add Meadow Mari (mhr).
7386 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
7388 [BZ #14752], [BZ #15763]
7389 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7391 * rt/tst_shm.c: Add test for escaping directory.
7393 2013-10-31 Andreas Schwab <schwab@suse.de>
7396 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7397 followed by 'x' as part of digit sequence.
7398 * stdio-common/tst-sscanf.c (double_tests2): New tests.
7400 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7403 * configure.ac: allow GNU Make 4.0 and greater.
7404 * configure: Regenerated.
7406 2013-10-30 Will Newton <will.newton@linaro.org>
7409 * malloc/hooks.c (memalign_check): Limit alignment to the
7410 maximum representable power of two.
7411 * malloc/malloc.c (__libc_memalign): Likewise.
7412 * malloc/tst-memalign.c (do_test): Add test for very
7413 large alignment values.
7414 * malloc/tst-posix_memalign.c (do_test): Likewise.
7416 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7419 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7420 (munmap_chunk): Likewise.
7421 (mremap_chunk): Likewise.
7423 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
7426 * stdlib/div.c (div): Remove obsolete code.
7427 * stdlib/ldiv.c (ldiv): Likewise.
7428 * stdlib/lldiv.c (lldiv): Likewise.
7430 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7433 * nss/nss_files/files-XXX.c (get_contents_ret): New
7435 (get_contents): New function.
7436 (internal_getent): Use it. Expand size of LINEBUFLEN.
7438 2013-10-30 Mike Frysinger <vapier@gentoo.org>
7440 * configure.in: Moved to ...
7441 * configure.ac: ... here. Change reference to configure.in
7443 * sysdeps/arm/preconfigure.ac: ... here.
7444 configure.in to configure.ac.
7445 * sysdeps/gnu/configure.in: Moved to ...
7446 * sysdeps/gnu/configure.ac: ... here.
7447 * sysdeps/i386/configure.in: Moved to ...
7448 * sysdeps/i386/configure.ac: ... here.
7449 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7450 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7451 * sysdeps/mach/configure.in: Moved to ...
7452 * sysdeps/mach/configure.ac: ... here.
7453 * sysdeps/mach/hurd/configure.in: Moved to ...
7454 * sysdeps/mach/hurd/configure.ac: ... here.
7455 * sysdeps/powerpc/configure.in: Moved to ...
7456 * sysdeps/powerpc/configure.ac: ... here.
7457 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7458 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7459 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7460 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7461 * sysdeps/s390/s390-32/configure.in: Moved to ...
7462 * sysdeps/s390/s390-32/configure.ac: ... here.
7463 * sysdeps/s390/s390-64/configure.in: Moved to ...
7464 * sysdeps/s390/s390-64/configure.ac: ... here.
7465 * sysdeps/sh/configure.in: Moved to ...
7466 * sysdeps/sh/configure.ac: ... here.
7467 * sysdeps/sparc/configure.in: Moved to ...
7468 * sysdeps/sparc/configure.ac: ... here.
7469 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7470 * sysdeps/unix/sysv/linux/configure.ac: ... here.
7471 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7472 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7473 * sysdeps/x86_64/configure.in: Moved to ...
7474 * sysdeps/x86_64/configure.ac: ... here.
7475 * sysdeps/x86_64/preconfigure.in: Moved to ...
7476 * sysdeps/x86_64/preconfigure.ac: ... here.
7477 * aclocal.m4: Change reference to configure.in to configure.ac.
7478 * config.h.in: Likewise.
7479 * manual/install.texi: Likewise.
7480 * manual/maint.texi: Likewise.
7481 * Makefile: Likewise.
7482 * malloc/Makefile: Likewise.
7483 * nscd/Makefile: Likewise.
7484 * Makeconfig: Change reference to configure.in and
7485 preconfigure.in to configure.ac and preconfigure.ac
7487 * INSTALL: Regenerated.
7488 * configure: Likewise.
7489 * sysdeps/gnu/configure: Likewise.
7490 * sysdeps/i386/configure: Likewise.
7491 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7492 * sysdeps/mach/configure: Likewise.
7493 * sysdeps/mach/hurd/configure: Likewise.
7494 * sysdeps/powerpc/configure: Likewise.
7495 * sysdeps/powerpc/powerpc32/configure: Likewise.
7496 * sysdeps/powerpc/powerpc64/configure: Likewise.
7497 * sysdeps/s390/s390-32/configure: Likewise.
7498 * sysdeps/s390/s390-64/configure: Likewise.
7499 * sysdeps/sh/configure: Likewise.
7500 * sysdeps/sparc/configure: Likewise.
7501 * sysdeps/unix/sysv/linux/configure: Likewise.
7502 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7503 * sysdeps/x86_64/configure: Likewise.
7504 * sysdeps/x86_64/preconfigure: Likewise.
7506 2013-10-29 Andreas Schwab <schwab@suse.de>
7508 * stdio-common/Makefile (tst-swscanf-ENV): Define.
7510 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7512 * benchtests/pow-inputs: Add new inputs.
7514 * benchtests/exp-inputs: Add new inputs.
7516 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7517 conditional check for return value.
7518 (__cos32): Likewise.
7520 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7522 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7523 to provide a boost for large inputs with word alignment.
7524 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7525 implementation based on optimized PPC64 strcpy.
7526 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7527 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7528 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7529 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7531 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7534 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7536 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7539 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7540 * time/tst-strptime.c (day_tests): Add testcase.
7542 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
7545 * manual/pattern.texi: Acknowledge that fnmatch can fail.
7547 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
7550 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7551 MAP_FAILED on error.
7553 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7556 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7557 heap for large requests.
7559 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
7562 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7563 result if the result has no associated interface.
7564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7565 interface for all 127.X.Y.Z addresses.
7567 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
7569 * locale/iso-639.def: Add Ligurian (lij)
7571 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
7574 * sunrpc/rpc_main.c: Document rpcgen -5.
7576 2013-10-19 Michael Stahl <mstahl@redhat.com>
7578 * elf/rtld.c (do_preload): Print the reason why preloading failed.
7580 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7583 * posix/glob.c: Match only directories when trailing slash is present.
7584 * posix/tst-gnuglob.c (my_opendir): Do not open files.
7585 (main): Add testcase.
7587 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
7590 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7592 2013-10-18 Carlos O'Donell <carlos@redhat.com>
7594 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7595 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7596 AUTH_DES and cindex for FIPS 140-2.
7597 (DES Encryption): Add cindex FIPS 46-3.
7599 * locale/locarchive.h (struct locarhandle): Add fname.
7600 * locale/programs/localedef.c (main): Pass ARGV[remaining]
7601 if an optional argument was specified to --list-archive,
7603 * locale/programs/locarchive.c (show_archive_content): Take new
7604 argument fname and pass it via ah.fname to open_archive.
7605 * locale/programs/localedef.h: Update decl.
7606 (open_archive): If AH->fname is non-null, open that file
7607 rather than the default file name, and don't ignore ENOENT.
7608 (create_archive): Set AH.fname to NULL.
7609 (delete_locales_from_archive): Likewise.
7610 (add_locales_to_archive): Likewise.
7611 * locale/programs/locfile.c (write_all_categories): Likewise.
7613 2013-10-18 Joseph Myers <joseph@codesourcery.com>
7614 Aldy Hernandez <aldyh@redhat.com>
7616 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7617 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7618 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7619 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7620 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7621 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7622 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7623 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7624 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7625 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7626 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7627 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7628 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7629 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7630 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7632 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7634 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7636 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7638 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7639 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7641 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7642 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7643 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7644 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7646 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7647 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7648 * sysdeps/powerpc/preconfigure: Likewise.
7649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7651 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7652 Replace contents of file by #include of <fenv_libc.h>.
7653 * sysdeps/powerpc/soft-fp/sfp-machine.h
7654 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7656 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7659 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7660 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7661 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7663 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7664 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7665 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7666 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7667 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7669 Allow copysignl PLT reference to be missing.
7671 2013-10-18 Richard Sandiford <richard@codesourcery.com>
7672 Joseph Myers <joseph@codesourcery.com
7675 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7677 (add_to_tablewc): Assert sequence of wide characters is nonempty.
7679 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7681 * elf/tst-tls-dlinfo.c: Don't include tls.h.
7682 * elf/tst-tls1.c: Likewise.
7683 * elf/tst-tls10.h: Likewise.
7684 * elf/tst-tls14.c: Likewise.
7685 * elf/tst-tls2.c: Likewise.
7686 * elf/tst-tls3.c: Likewise.
7687 * elf/tst-tls4.c: Likewise.
7688 * elf/tst-tls5.c: Likewise.
7689 * elf/tst-tls6.c: Likewise.
7690 * elf/tst-tls7.c: Likewise.
7691 * elf/tst-tls8.c: Likewise.
7692 * elf/tst-tls9.c: Likewise.
7693 * elf/tst-tlsmod1.c: Likewise.
7694 * elf/tst-tlsmod13.c: Likewise.
7695 * elf/tst-tlsmod13a.c: Likewise.
7696 * elf/tst-tlsmod14a.c: Likewise.
7697 * elf/tst-tlsmod16a.c: Likewise.
7698 * elf/tst-tlsmod16b.c: Likewise.
7699 * elf/tst-tlsmod2.c: Likewise.
7700 * elf/tst-tlsmod3.c: Likewise.
7701 * elf/tst-tlsmod4.c: Likewise.
7702 * elf/tst-tlsmod5.c: Likewise.
7703 * elf/tst-tlsmod6.c: Likewise.
7705 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
7708 * malloc/malloc.c: remove checks for statistics.
7710 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7713 * inet/inet_net.c (inet_network): Detect additional invalid strings.
7714 * inet/tst-network.c: Add testcase.
7716 2013-10-17 Andreas Schwab <schwab@suse.de>
7719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7720 to determine canonical name.
7722 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
7724 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7725 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7726 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7727 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7728 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7729 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7730 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7731 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7732 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7733 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7734 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7735 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7736 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7737 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7738 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7739 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7741 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7742 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7743 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7744 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7745 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7746 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7747 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7748 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7749 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7750 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7751 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7752 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7753 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7754 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7755 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7756 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7757 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7758 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7759 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7760 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7761 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7762 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7763 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7764 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7765 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7766 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7767 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7768 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7769 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7770 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7771 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7772 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7773 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7774 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7775 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7776 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7777 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7778 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7779 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7781 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7783 2013-10-17 Joseph Myers <joseph@codesourcery.com>
7786 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7787 make result into a quiet NaN.
7789 2013-10-16 Joseph Myers <joseph@codesourcery.com>
7791 * soft-fp/adddf3.c: Fix horizontal whitespace.
7792 * soft-fp/addsf3.c: Likewise.
7793 * soft-fp/addtf3.c: Likewise.
7794 * soft-fp/divdf3.c: Likewise.
7795 * soft-fp/divsf3.c: Likewise.
7796 * soft-fp/divtf3.c: Likewise.
7797 * soft-fp/double.h: Likewise.
7798 * soft-fp/eqdf2.c: Likewise.
7799 * soft-fp/eqsf2.c: Likewise.
7800 * soft-fp/eqtf2.c: Likewise.
7801 * soft-fp/extenddftf2.c: Likewise.
7802 * soft-fp/extended.h: Likewise.
7803 * soft-fp/extendsfdf2.c: Likewise.
7804 * soft-fp/extendsftf2.c: Likewise.
7805 * soft-fp/extendxftf2.c: Likewise.
7806 * soft-fp/fixdfdi.c: Likewise.
7807 * soft-fp/fixdfsi.c: Likewise.
7808 * soft-fp/fixdfti.c: Likewise.
7809 * soft-fp/fixsfdi.c: Likewise.
7810 * soft-fp/fixsfsi.c: Likewise.
7811 * soft-fp/fixsfti.c: Likewise.
7812 * soft-fp/fixtfdi.c: Likewise.
7813 * soft-fp/fixtfsi.c: Likewise.
7814 * soft-fp/fixtfti.c: Likewise.
7815 * soft-fp/fixunsdfdi.c: Likewise.
7816 * soft-fp/fixunsdfsi.c: Likewise.
7817 * soft-fp/fixunsdfti.c: Likewise.
7818 * soft-fp/fixunssfdi.c: Likewise.
7819 * soft-fp/fixunssfsi.c: Likewise.
7820 * soft-fp/fixunssfti.c: Likewise.
7821 * soft-fp/fixunstfdi.c: Likewise.
7822 * soft-fp/fixunstfsi.c: Likewise.
7823 * soft-fp/fixunstfti.c: Likewise.
7824 * soft-fp/floatdidf.c: Likewise.
7825 * soft-fp/floatdisf.c: Likewise.
7826 * soft-fp/floatditf.c: Likewise.
7827 * soft-fp/floatsidf.c: Likewise.
7828 * soft-fp/floatsisf.c: Likewise.
7829 * soft-fp/floatsitf.c: Likewise.
7830 * soft-fp/floattidf.c: Likewise.
7831 * soft-fp/floattisf.c: Likewise.
7832 * soft-fp/floattitf.c: Likewise.
7833 * soft-fp/floatundidf.c: Likewise.
7834 * soft-fp/floatundisf.c: Likewise.
7835 * soft-fp/floatunditf.c: Likewise.
7836 * soft-fp/floatunsidf.c: Likewise.
7837 * soft-fp/floatunsisf.c: Likewise.
7838 * soft-fp/floatunsitf.c: Likewise.
7839 * soft-fp/floatuntidf.c: Likewise.
7840 * soft-fp/floatuntisf.c: Likewise.
7841 * soft-fp/floatuntitf.c: Likewise.
7842 * soft-fp/fmadf4.c: Likewise.
7843 * soft-fp/fmasf4.c: Likewise.
7844 * soft-fp/fmatf4.c: Likewise.
7845 * soft-fp/gedf2.c: Likewise.
7846 * soft-fp/gesf2.c: Likewise.
7847 * soft-fp/getf2.c: Likewise.
7848 * soft-fp/ledf2.c: Likewise.
7849 * soft-fp/lesf2.c: Likewise.
7850 * soft-fp/letf2.c: Likewise.
7851 * soft-fp/muldf3.c: Likewise.
7852 * soft-fp/mulsf3.c: Likewise.
7853 * soft-fp/multf3.c: Likewise.
7854 * soft-fp/negdf2.c: Likewise.
7855 * soft-fp/negsf2.c: Likewise.
7856 * soft-fp/negtf2.c: Likewise.
7857 * soft-fp/op-1.h: Likewise.
7858 * soft-fp/op-2.h: Likewise.
7859 * soft-fp/op-4.h: Likewise.
7860 * soft-fp/op-8.h: Likewise.
7861 * soft-fp/op-common.h: Likewise.
7862 * soft-fp/quad.h: Likewise.
7863 * soft-fp/single.h: Likewise.
7864 * soft-fp/soft-fp.h: Likewise.
7865 * soft-fp/sqrtdf2.c: Likewise.
7866 * soft-fp/sqrtsf2.c: Likewise.
7867 * soft-fp/sqrttf2.c: Likewise.
7868 * soft-fp/subdf3.c: Likewise.
7869 * soft-fp/subsf3.c: Likewise.
7870 * soft-fp/subtf3.c: Likewise.
7871 * soft-fp/truncdfsf2.c: Likewise.
7872 * soft-fp/trunctfdf2.c: Likewise.
7873 * soft-fp/trunctfsf2.c: Likewise.
7874 * soft-fp/trunctfxf2.c: Likewise.
7875 * soft-fp/unorddf2.c: Likewise.
7876 * soft-fp/unordsf2.c: Likewise.
7877 * soft-fp/unordtf2.c: Likewise.
7879 2013-10-15 Joseph Myers <joseph@codesourcery.com>
7881 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7882 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7884 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
7886 * elf/dl-libc.c: Clear initfini list after freeing.
7888 2013-10-14 Joseph Myers <joseph@codesourcery.com>
7890 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7891 * soft-fp/addsf3.c: Likewise.
7892 * soft-fp/addtf3.c: Likewise.
7893 * soft-fp/divdf3.c: Likewise.
7894 * soft-fp/divsf3.c: Likewise.
7895 * soft-fp/divtf3.c: Likewise.
7896 * soft-fp/double.h: Likewise.
7897 * soft-fp/eqdf2.c: Likewise.
7898 * soft-fp/eqsf2.c: Likewise.
7899 * soft-fp/eqtf2.c: Likewise.
7900 * soft-fp/extenddftf2.c: Likewise.
7901 * soft-fp/extended.h: Likewise.
7902 * soft-fp/extendsfdf2.c: Likewise.
7903 * soft-fp/extendsftf2.c: Likewise.
7904 * soft-fp/extendxftf2.c: Likewise.
7905 * soft-fp/fixdfdi.c: Likewise.
7906 * soft-fp/fixdfsi.c: Likewise.
7907 * soft-fp/fixdfti.c: Likewise.
7908 * soft-fp/fixsfdi.c: Likewise.
7909 * soft-fp/fixsfsi.c: Likewise.
7910 * soft-fp/fixsfti.c: Likewise.
7911 * soft-fp/fixtfdi.c: Likewise.
7912 * soft-fp/fixtfsi.c: Likewise.
7913 * soft-fp/fixtfti.c: Likewise.
7914 * soft-fp/fixunsdfdi.c: Likewise.
7915 * soft-fp/fixunsdfsi.c: Likewise.
7916 * soft-fp/fixunsdfti.c: Likewise.
7917 * soft-fp/fixunssfdi.c: Likewise.
7918 * soft-fp/fixunssfsi.c: Likewise.
7919 * soft-fp/fixunssfti.c: Likewise.
7920 * soft-fp/fixunstfdi.c: Likewise.
7921 * soft-fp/fixunstfsi.c: Likewise.
7922 * soft-fp/fixunstfti.c: Likewise.
7923 * soft-fp/floatdidf.c: Likewise.
7924 * soft-fp/floatdisf.c: Likewise.
7925 * soft-fp/floatditf.c: Likewise.
7926 * soft-fp/floatsidf.c: Likewise.
7927 * soft-fp/floatsisf.c: Likewise.
7928 * soft-fp/floatsitf.c: Likewise.
7929 * soft-fp/floattidf.c: Likewise.
7930 * soft-fp/floattisf.c: Likewise.
7931 * soft-fp/floattitf.c: Likewise.
7932 * soft-fp/floatundidf.c: Likewise.
7933 * soft-fp/floatundisf.c: Likewise.
7934 * soft-fp/floatunsidf.c: Likewise.
7935 * soft-fp/floatunsisf.c: Likewise.
7936 * soft-fp/floatuntidf.c: Likewise.
7937 * soft-fp/floatuntisf.c: Likewise.
7938 * soft-fp/floatuntitf.c: Likewise.
7939 * soft-fp/fmadf4.c: Likewise.
7940 * soft-fp/fmasf4.c: Likewise.
7941 * soft-fp/fmatf4.c: Likewise.
7942 * soft-fp/gedf2.c: Likewise.
7943 * soft-fp/gesf2.c: Likewise.
7944 * soft-fp/getf2.c: Likewise.
7945 * soft-fp/ledf2.c: Likewise.
7946 * soft-fp/lesf2.c: Likewise.
7947 * soft-fp/letf2.c: Likewise.
7948 * soft-fp/muldf3.c: Likewise.
7949 * soft-fp/mulsf3.c: Likewise.
7950 * soft-fp/multf3.c: Likewise.
7951 * soft-fp/negdf2.c: Likewise.
7952 * soft-fp/negsf2.c: Likewise.
7953 * soft-fp/negtf2.c: Likewise.
7954 * soft-fp/op-1.h: Likewise.
7955 * soft-fp/op-2.h: Likewise.
7956 * soft-fp/op-4.h: Likewise.
7957 * soft-fp/op-8.h: Likewise.
7958 * soft-fp/op-common.h: Likewise.
7959 * soft-fp/quad.h: Likewise.
7960 * soft-fp/single.h: Likewise.
7961 * soft-fp/soft-fp.h: Likewise.
7962 * soft-fp/sqrtdf2.c: Likewise.
7963 * soft-fp/sqrtsf2.c: Likewise.
7964 * soft-fp/sqrttf2.c: Likewise.
7965 * soft-fp/subdf3.c: Likewise.
7966 * soft-fp/subsf3.c: Likewise.
7967 * soft-fp/subtf3.c: Likewise.
7968 * soft-fp/truncdfsf2.c: Likewise.
7969 * soft-fp/trunctfdf2.c: Likewise.
7970 * soft-fp/trunctfsf2.c: Likewise.
7971 * soft-fp/trunctfxf2.c: Likewise.
7972 * soft-fp/unorddf2.c: Likewise.
7973 * soft-fp/unordsf2.c: Likewise.
7974 * soft-fp/unordtf2.c: Likewise.
7976 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
7979 * misc/error.c (error_tail): Fix possible buffer overflow.
7981 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
7984 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7987 2013-10-14 P. J. McDermott <pj@pehjota.net>
7990 * elf/ldd.bash.in (try_trace): New function. Delete previous code
7991 testing pipefail option.
7993 2013-10-12 Joseph Myers <joseph@codesourcery.com>
7995 * soft-fp/double.h: Indent preprocessor directives inside #if.
7996 * soft-fp/extended.h: Likewise.
7997 * soft-fp/op-2.h: Likewise.
7998 * soft-fp/op-4.h: Likewise.
7999 * soft-fp/op-common.h: Likewise.
8000 * soft-fp/quad.h: Likewise.
8001 * soft-fp/single.h: Likewise.
8002 * soft-fp/soft-fp.h: Likewise.
8004 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8006 * iconv/iconv_prog.c: Fix typos.
8007 * stdio-common/psiginfo-data.h: Likewise.
8009 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8012 * locale/setlocale.c: Fix typo.
8014 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8017 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8018 signaling NaN arguments.
8019 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8020 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8023 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8025 * soft-fp/gesf2.c (__gesf2): Likewise.
8026 * soft-fp/getf2.c (__getf2): Likewise.
8027 * soft-fp/ledf2.c (__ledf2): Likewise.
8028 * soft-fp/lesf2.c (__lesf2): Likewise.
8029 * soft-fp/letf2.c (__letf2): Likewise.
8031 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8032 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8033 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8034 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8035 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8036 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8037 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8038 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8039 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8040 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8041 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8042 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8043 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8044 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8045 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8046 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8047 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8048 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8049 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8050 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8051 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8052 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8053 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8054 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8055 * soft-fp/floattidf.c (__floattidf): Likewise.
8056 * soft-fp/floattisf.c (__floattisf): Likewise.
8057 * soft-fp/floattitf.c (__floattitf): Likewise.
8058 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8059 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8060 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8061 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8062 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8063 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8064 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8065 * soft-fp/gesf2.c (__gesf2): Likewise.
8066 * soft-fp/getf2.c (__getf2): Likewise.
8067 * soft-fp/ledf2.c (__ledf2): Likewise.
8068 * soft-fp/lesf2.c (__lesf2): Likewise.
8069 * soft-fp/letf2.c (__letf2): Likewise.
8071 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8072 Undefine and redefine.
8073 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
8074 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
8075 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
8076 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
8077 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8078 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
8079 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8080 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
8081 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8082 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
8083 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8084 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
8085 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8086 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
8087 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
8090 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
8091 without decrementing exponent if mantissa >= that for the
8093 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
8094 denominator, not >. Decrement exponent in < case instead of
8095 incrementing in >= case.
8096 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
8097 without decrementing exponent if mantissa >= that for the
8100 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
8101 computing saturated result for unsigned overflow.
8103 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8104 Jeff Law <law@redhat.com>
8106 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
8107 (atan2Mp): Add systemtap probe marker.
8108 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
8109 (__ieee754_log): Add systemtap probe marker.
8110 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
8111 (atanMp): Add systemtap probe marker.
8112 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
8113 (tanMp): Add systemtap probe marker.
8114 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
8115 (__slowexp): Add systemtap probe marker.
8116 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
8117 (__slowpow): Add systemtap probe marker.
8118 * manual/probes.texi: Document probes.
8120 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
8123 * libio/fileops.c (_IO_new_file_write): Return count of bytes
8125 (_IO_new_file_xsputn): Don't return EOF if nothing has been
8127 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
8128 written to buffer but not flushed.
8129 * libio/iofwrite_u.c: Likewise.
8130 * libio/iopadn.c: Return bytes returned even if EOF was
8132 * libio/iowpadn.c: Likewise.
8133 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
8134 if _IO_padn does not write the whole buffer.
8135 [!COMPILE_WPRINTF] (PAD): Likewise.
8137 2013-10-10 David S. Miller <davem@davemloft.net>
8139 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
8142 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8144 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
8145 instead of FSF address.
8146 * soft-fp/fixdfti.c: Likewise.
8147 * soft-fp/fixsfti.c: Likewise.
8148 * soft-fp/fixtfti.c: Likewise.
8149 * soft-fp/fixunsdfti.c: Likewise.
8150 * soft-fp/fixunssfti.c: Likewise.
8151 * soft-fp/fixunstfti.c: Likewise.
8152 * soft-fp/floattidf.c: Likewise.
8153 * soft-fp/floattisf.c: Likewise.
8154 * soft-fp/floattitf.c: Likewise.
8155 * soft-fp/floatuntidf.c: Likewise.
8156 * soft-fp/floatuntisf.c: Likewise.
8157 * soft-fp/floatuntitf.c: Likewise.
8158 * soft-fp/trunctfxf2.c: Likewise.
8160 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
8161 * soft-fp/fixdfti.c: Likewise.
8162 * soft-fp/fixsfti.c: Likewise.
8163 * soft-fp/fixtfti.c: Likewise.
8164 * soft-fp/fixunsdfti.c: Likewise.
8165 * soft-fp/fixunssfti.c: Likewise.
8166 * soft-fp/fixunstfti.c: Likewise.
8167 * soft-fp/floattidf.c: Likewise.
8168 * soft-fp/floattisf.c: Likewise.
8169 * soft-fp/floattitf.c: Likewise.
8170 * soft-fp/floatuntidf.c: Likewise.
8171 * soft-fp/floatuntisf.c: Likewise.
8172 * soft-fp/floatuntitf.c: Likewise.
8173 * soft-fp/trunctfxf2.c: Likewise.
8175 2013-10-10 David S. Miller <davem@davemloft.net>
8177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8179 2013-10-10 Joseph Myers <joseph@codsourcery.com>
8181 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8182 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
8183 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
8184 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
8185 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
8186 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
8187 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8190 for NaNs before doing comparisons on argument.
8191 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8194 2013-10-10 Will Newton <will.newton@linaro.org>
8196 * malloc/hooks.c (memalign_check): Ensure the value of bytes
8197 passed to _int_memalign does not overflow.
8199 2013-10-10 Torvald Riegel <triegel@redhat.com>
8201 * scripts/bench.pl: Add include-sources directive.
8202 * benchtests/README: Update documentation.
8204 2013-10-10 Joseph Myers <joseph@codesourcery.com>
8206 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8207 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8208 instead of FP_INIT_ROUNDMODE.
8209 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8210 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8213 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
8214 copy class of input value.
8215 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
8216 not handle exceptions.
8217 * soft-fp/negsf2.c (__negsf2): Likewise.
8218 * soft-fp/negtf2.c (__negtf2): Likewise.
8219 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8221 2013-10-09 Joseph Myers <joseph@codesourcery.com>
8223 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8224 semicolon. From Linux kernel.
8226 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
8228 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8230 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
8233 * manual/socket.texi: Added statement about buffer
8234 for gethostbyname2_r.
8236 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
8238 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8239 Use .p2align directive instead, throughout.
8240 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8241 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8242 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8243 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8245 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8246 * sysdeps/x86_64/strchr.S: Likewise.
8247 * sysdeps/x86_64/strrchr.S: Likewise.
8249 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8251 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8253 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8255 * sysdeps/generic/math_private.h (__mpsin1): Remove
8257 (__mpcos1): Likewise.
8258 (__mpsin): New argument __range_reduce.
8259 (__mpcos): Likewise.
8260 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8261 (slow): Use __mpsin and __mpcos.
8268 (bsloww1): Likewise.
8269 (bsloww2): Likewise.
8272 (csloww1): Likewise.
8273 (csloww2): Likewise.
8274 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8275 range_reduce. Merge in __mpsin1.
8276 (__mpcos): Likewise.
8278 (__mpcos1): Likewise.
8280 2013-10-07 Joseph Myers <joseph@codesourcery.com>
8282 * locale/loadlocale.c (_nl_intern_locale_data): Use
8284 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8285 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8286 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8287 obstack data is appropriately aligned.
8288 (obstack_int32_grow_fast): Likewise.
8289 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8290 * locale/programs/locfile.c (add_locale_uint32): Likewise.
8291 (add_locale_uint32_array): Likewise.
8293 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8295 * benchtests/Makefile: Remove ARGLIST and RET variables.
8296 ($(objpfx)bench-%.c): Pass only function name to the script.
8297 * benchtests/README: Update documentation.
8298 * benchtests/acos-inputs: Add new directives.
8299 * benchtests/acosh-inputs: Likewise.
8300 * benchtests/asin-inputs: Likewise.
8301 * benchtests/asinh-inputs: Likewise.
8302 * benchtests/atan-inputs: Likewise.
8303 * benchtests/atanh-inputs: Likewise.
8304 * benchtests/cos-inputs: Likewise.
8305 * benchtests/cosh-inputs: Likewise.
8306 * benchtests/exp-inputs: Likewise.
8307 * benchtests/log-inputs: Likewise.
8308 * benchtests/pow-inputs: Likewise.
8309 * benchtests/rint-inputs: Likewise.
8310 * benchtests/sin-inputs: Likewise.
8311 * benchtests/sinh-inputs: Likewise.
8312 * benchtests/tan-inputs: Likewise.
8313 * benchtests/tanh-inputs: Likewise.
8314 * scripts/bench.pl: Add support for new directives.
8316 2013-10-07 Alan Modra <amodra@gmail.com>
8318 * README: Fix careless merge.
8320 2013-10-05 Alan Modra <amodra@gmail.com>
8322 * NEWS: Mention powerpc64le support and bugs fixed.
8323 * README: Both big-endian and little-endian powerpc64 supported.
8325 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
8327 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8328 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8329 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8330 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8332 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
8334 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8337 2013-10-04 Joseph Myers <joseph@codesourcery.com>
8339 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8340 Move -mhard-float appending from
8341 ports/sysdeps/powerpc/powerpc32/Makefile.
8342 [$(with-fp) = yes] (ASFLAGS): Likewise.
8343 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8344 * sysdeps/powerpc/nofpu: Move directory from
8345 ports/sysdeps/powerpc/nofpu.
8346 * sysdeps/powerpc/soft-fp: Move directory from
8347 ports/sysdeps/powerpc/soft-fp.
8348 * sysdeps/powerpc/powerpc32/405: Move directory from
8349 ports/sysdeps/powerpc/powerpc32/405.
8350 * sysdeps/powerpc/powerpc32/440: Move directory from
8351 ports/sysdeps/powerpc/powerpc32/440.
8352 * sysdeps/powerpc/powerpc32/464: Move directory from
8353 ports/sysdeps/powerpc/powerpc32/464.
8354 * sysdeps/powerpc/powerpc32/476: Move directory from
8355 ports/sysdeps/powerpc/powerpc32/476.
8356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8357 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8359 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8361 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8363 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8365 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8366 * README: Update for powerpc-*-linux-gnu software floating point
8369 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8370 case to powerpc/powerpc32*.
8371 * sysdeps/unix/sysv/linux/configure: Regenerated.
8373 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8374 (_FPU_MASK_OM): Define as 0x04.
8375 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8376 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8378 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8380 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8383 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8386 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8389 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8390 and setcontext_e500.
8392 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
8394 * locale/iso-3166.def: Update iso-1366.def and related occurrences
8396 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8398 * manual/threads.texi (Default Thread Attributes): Fix typo.
8400 2013-10-04 Will Newton <will.newton@linaro.org>
8402 * malloc/Makefile: Add tst-memalign.
8403 * malloc/tst-memalign.c: New file.
8405 * malloc/tst-posix_memalign.c: Add comments.
8406 (do_test): Add comments and call free on all potentially
8407 allocated pointers. Add space after cast.
8409 * malloc/tst-pvalloc.c: Add comments.
8410 (do_test): Add comments and call free on all potentially
8411 allocated pointers. Remove duplicate check for NULL pointer.
8412 Add space after cast.
8414 * malloc/tst-valloc.c: Add comments.
8415 (do_test): Add comments and call free on all potentially
8416 allocated pointers. Remove duplicate check for NULL pointer.
8417 Add space after cast.
8419 2013-10-04 Alan Modra <amodra@gmail.com>
8421 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8422 Use stdint types in rather than __attribute__((mode())).
8423 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8425 2013-10-04 Alan Modra <amodra@gmail.com>
8427 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8428 Correct handling of unaligned relocs for little-endian.
8429 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8431 2013-10-04 Alan Modra <amodra@gmail.com>
8433 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8434 * configure: Regenerate.
8435 * nptl/shlib-versions: Powerpc*le starts at 2.18.
8436 * shlib-versions: Likewise.
8438 2013-10-04 Alan Modra <amodra@gmail.com>
8440 * string/tester.c (test_memrchr): Increment reported test cycle.
8442 2013-10-04 Alan Modra <amodra@gmail.com>
8444 * string/test-memcpy.c (do_one_test): When reporting errors, print
8445 string address and don't overrun end of string.
8447 2013-10-04 Alan Modra <amodra@gmail.com>
8449 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8450 insrdi. Make better use of reg selection to speed exit slightly.
8451 Schedule entry path a little better. Remove useless "are we done"
8452 checks on entry to main loop. Handle wrapping around zero address.
8453 Correct main loop count. Handle single left-over word from main
8454 loop inline rather than by using loop_small. Remove extra word
8455 case in loop_small caused by wrong loop count. Add little-endian
8457 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8458 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
8460 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8461 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8462 support. Avoid rlwimi.
8463 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8465 2013-10-04 Alan Modra <amodra@gmail.com>
8467 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8469 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8470 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8471 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8472 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8473 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8474 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8476 2013-10-04 Alan Modra <amodra@gmail.com>
8478 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8479 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8480 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8481 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8482 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8483 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8484 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8485 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8486 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
8487 use of regs. Use power7 mtocrf. Tidy function tails.
8489 2013-10-04 Alan Modra <amodra@gmail.com>
8491 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8492 Formatting. Consistently use rXXX register defines or rN defines.
8493 Use early exit labels that avoid restoring unused non-volatile regs.
8494 Make cr field use more consistent with rWORDn compares. Rename
8495 regs used as shift registers for unaligned loop, using rN defines
8496 for short lifetime/multiple use regs.
8497 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
8499 addi 1,1,64 to pop stack frame. Simplify return value code.
8500 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8502 2013-10-04 Alan Modra <amodra@gmail.com>
8504 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8505 support. Correct typos, formatting. Optimize tail. Use insrdi
8507 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8508 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8509 little-endian support. Correct typos.
8510 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
8512 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
8513 in loop and entry code to keep "and." results.
8514 (strchr): Add little-endian support. Comment. Move cntlzd
8516 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8518 2013-10-04 Alan Modra <amodra@gmail.com>
8520 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8521 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8522 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8523 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8525 2013-10-04 Alan Modra <amodra@gmail.com>
8527 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8528 (rTMP): Define as r11.
8529 (strcmp): Add little-endian support. Optimise tail.
8530 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8531 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8532 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8533 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8534 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8535 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8538 2013-10-04 Alan Modra <amodra@gmail.com>
8540 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8541 little-endian support. Remove unnecessary "are we done" tests.
8542 Handle "s" wrapping around zero and extremely large "size".
8543 Correct main loop count. Handle single left-over word from main
8544 loop inline rather than by using small_loop. Correct comments.
8545 Delete "zero" tail, use "end_max" instead.
8546 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8548 2013-10-04 Alan Modra <amodra@gmail.com>
8550 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8551 support. Don't branch over align.
8552 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8553 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8554 support. Rearrange tmp reg use to suit. Comment.
8555 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8557 2013-10-04 Alan Modra <amodra@gmail.com>
8559 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8561 2013-10-04 Alan Modra <amodra@gmail.com>
8563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8564 conditional form of branch and link when obtaining pc.
8565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8567 2013-10-04 Alan Modra <amodra@gmail.com>
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8574 2013-10-04 Alan Modra <amodra@gmail.com>
8576 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8577 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8578 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8579 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8580 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8581 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8582 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8583 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8584 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8585 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8587 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8588 Alistair Popple <alistair@ozlabs.au.ibm.com>
8589 Alan Modra <amodra@gmail.com>
8592 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8593 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8594 _dl_hwcap access for little-endian.
8595 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
8596 destroy vmx regs when saving unaligned.
8597 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8598 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
8599 destroy vmx regs when saving unaligned.
8601 2013-10-04 Alan Modra <amodra@gmail.com>
8603 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8604 Don't use a union to pack hi/low value.
8606 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8608 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8610 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8611 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8612 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8613 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8614 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8616 2013-10-04 Alan Modra <amodra@gmail.com>
8618 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8619 constants to usual value for .cst8 section, and remove redundant
8621 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8622 constant for 0x1p52. Load little-endian words of double from
8623 correct stack offsets.
8625 2013-10-04 Alan Modra <amodra@gmail.com>
8627 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8628 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8629 words of double from correct stack offsets.
8630 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8631 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8632 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8633 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8634 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8635 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8636 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8637 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8638 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8639 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8640 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8641 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8642 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8643 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8644 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8645 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8646 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8648 2013-10-04 Alan Modra <amodra@gmail.com>
8650 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8651 64-bit int/double union.
8652 (_FPU_SETCW): Likewise.
8653 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8654 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8656 2013-10-04 Alan Modra <amodra@gmail.com>
8658 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8659 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8661 2013-10-04 Alan Modra <amodra@gmail.com>
8663 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8664 use vector int constants.
8665 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8667 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8669 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8670 array with long long.
8671 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8672 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8673 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8674 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8675 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8676 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8677 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8678 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8679 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8680 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8681 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8682 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8683 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8685 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
8687 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8688 (__signbit): Likewise. Correct for little-endian.
8689 (__signbitl): Call __signbit.
8690 (lrint): Correct for little-endian.
8691 (lrintf): Call lrint.
8693 2013-10-04 Alan Modra <amodra@gmail.com>
8695 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8696 union 32-bit int array member with 64-bit int array.
8697 (t515, tm256): Double rather than long double.
8698 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8700 2013-10-04 Alan Modra <amodra@gmail.com>
8702 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8704 (IEEE854_LONG_DOUBLE_BIAS): Delete.
8705 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8706 version of math_ldbl.h.
8708 2013-10-04 Alan Modra <amodra@gmail.com>
8710 [BZ #15734], [BZ #15735]
8711 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8712 all uses of ieee875 long double macros and unions. Simplify test
8713 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
8714 ldbl_extract_mantissa value for ix,iy exponents. Properly
8715 normalize after ldbl_extract_mantissa, and don't add hidden bit
8716 already handled. Don't treat low word of ieee854 mantissa like
8717 low word of IBM long double and mask off bit when testing for
8719 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8720 all uses of ieee875 long double macros and unions. Simplify tests
8721 for 0.0L and inf. Correct double adjustment of k. Delete dead code
8722 adjusting ha,hb. Simplify code setting kld. Delete two600 and
8723 two1022, instead use their values. Recognise that tests for large
8724 "a" and small "b" are mutually exclusive. Rename vars. Comment.
8725 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8726 Rewrite all uses of ieee875 long double macros and unions. Simplify
8727 test for 0.0L and nan. Correct negation.
8728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8729 ieee875 long double macros and unions. Correct output for large
8730 magnitude x. Correct absolute value calculation.
8731 (__erfcl): Likewise.
8732 * math/libm-test.inc: Add tests for errors discovered in IBM long
8733 double versions of fmodl, remainderl, erfl and erfcl.
8735 2013-10-04 Alan Modra <amodra@gmail.com>
8737 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8738 all uses of ieee854 long double macros and unions. Simplify tests
8739 for long doubles that are fully specified by the high double.
8740 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8742 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8743 Remove dead code too.
8744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8745 (__ieee754_ynl): Likewise.
8746 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8747 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8748 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8749 Remove dead code too.
8750 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8751 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8755 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8757 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8758 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8759 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8760 Comment on variable precision.
8761 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8764 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8765 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8766 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8767 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8768 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8770 2013-10-04 Alan Modra <amodra@gmail.com>
8772 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8773 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8774 all uses of ieee854 long double macros and unions.
8775 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8776 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8778 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8779 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8780 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8783 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8784 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8785 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8786 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8788 Simplify sign and nan test too.
8789 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8790 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8791 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8792 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8794 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8795 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8797 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8798 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8799 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8800 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8801 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8804 2013-10-04 Alan Modra <amodra@gmail.com>
8806 * stdio-common/printf_size.c (__printf_size): Don't use
8807 union ieee854_long_double in fpnum union.
8808 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
8809 signbit macro to retrieve sign from long double.
8810 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8811 retrieve sign from long double.
8812 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8813 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8814 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8815 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8816 * math/test-misc.c (main): Don't use union ieee854_long_double.
8818 2013-10-04 Alan Modra <amodra@gmail.com>
8821 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8822 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8823 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8824 calculation. Remove unnecessary test for denormal exponent.
8825 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8826 Correct handling of denormals. Avoid undefined shift behaviour.
8827 Correct normalisation of low mantissa when low double is denormal.
8828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8829 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
8830 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8831 Correct normalisation of low mantissa. Test for overflow of high
8832 mantissa and normalise.
8833 (ldbl_nearbyint): Use more readable constant for two52.
8834 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8835 (__mpn_construct_long_double): Fix test for overflow of high
8836 mantissa and correct normalisation. Avoid undefined shift.
8838 2013-10-04 Alan Modra <amodra@gmail.com>
8840 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8841 (union ibm_extended_long_double): Define as an array of ieee754_double.
8842 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8843 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8844 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8845 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8847 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8848 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8849 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8850 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8852 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8854 2013-10-03 Joseph Myers <joseph@codesourcery.com>
8856 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8857 page size instead of calling getpagesize.
8859 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8860 (LOCFILE_ALIGN_MASK): Likewise.
8861 (LOCFILE_ALIGN_UP): Likewise.
8862 (LOCFILE_ALIGNED_P): Likewise.
8863 * locale/programs/ld-collate.c (collate_output): Use the new
8864 macros instead of __alignof__ (int32_t).
8865 * locale/weight.h (findidx): Likewise.
8867 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
8870 * manual/string.texi: Fix strncat and wcsncat.
8872 2013-10-03 Brooks Moses <bmoses@google.com>
8875 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8876 * Makerules: ...here, and adjust associated comments.
8878 2013-10-02 Will Newton <will.newton@linaro.org>
8880 * malloc/Makefile: Add tst-pvalloc.
8881 * malloc/tst-pvalloc.c: New file.
8883 2013-10-02 Will Newton <will.newton@linaro.org>
8885 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8886 improve test coverage.
8888 2013-10-02 Will Newton <will.newton@linaro.org>
8890 * malloc/Makefile: Add tst-posix_memalign.
8891 * malloc/tst-posix_memalign.c: New file.
8893 2013-10-01 Eric Blake <eblake@redhat.com>
8895 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8896 Use __THROWNL rather than __THROW on static functions.
8898 2013-09-30 Petr Machata <pmachata@redhat.com>
8900 * elf/elf.h (R_AARCH64_ABS16): New macro.
8901 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8902 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8903 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8904 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8905 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8906 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8907 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8908 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8909 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8910 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8911 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8912 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8913 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8914 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8915 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8916 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8917 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8918 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8919 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8920 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8921 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8922 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8923 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8924 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8925 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8926 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8927 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8928 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8929 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8930 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8931 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8932 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8933 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8934 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8935 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8936 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8937 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8938 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8939 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8940 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8941 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8942 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8943 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8944 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8945 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8946 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8947 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8948 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8949 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8950 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8951 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8952 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8953 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8954 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8955 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8956 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8957 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8958 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8959 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8960 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8961 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8962 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8963 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8964 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8965 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8966 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8967 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8968 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8969 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8970 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8971 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8972 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8973 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8974 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8975 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8976 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8977 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8978 (R_AARCH64_TLSDESC_LDR): Likewise.
8979 (R_AARCH64_TLSDESC_ADD): Likewise.
8980 (R_AARCH64_TLSDESC_CALL): Likewise.
8982 2013-09-30 Andreas Schwab <schwab@suse.de>
8985 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8986 the nss database lookup.
8987 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8988 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8990 2013-09-28 Mike Frysinger <vapier@gentoo.org>
8992 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8994 2013-09-28 P. J. McDermott <pj@pehjota.net>
8996 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8997 ${Bash-specific parameter/pattern/string} parameter expansion.
8998 * sysdeps/unix/make-syscalls.sh: Likewise.
9000 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9002 * sysdeps/sh/stackguard-macros.h: New file.
9004 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9007 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9008 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9009 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9010 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9011 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9013 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9015 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9016 Fix thread ID register.
9018 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9020 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9021 [POSIX || UNIX98]: Require rather than permitting all symbols from
9023 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9024 element of struct sched_param.
9025 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9026 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9027 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9028 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9031 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9033 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9034 argument calculation.
9036 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9038 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9040 [POSIX] (pthread_attr_t): Do not require type.
9041 [POSIX] (pthread_cond_t): Likewise.
9042 [POSIX] (pthread_condattr_t): Likewise.
9043 [POSIX] (pthread_key_t): Likewise.
9044 [POSIX] (pthread_mutex_t): Likewise.
9045 [POSIX] (pthread_mutexattr_t): Likewise.
9046 [POSIX] (pthread_once_t): Likewise.
9047 [POSIX] (pthread_t): Likewise.
9048 [POSIX-based standards] (pthread_atfork): Expect function.
9050 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9051 Richard Sandiford <richard@codesourcery.com>
9053 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9054 (swap_endianness_p): New extern variable.
9055 (set_big_endian): New inline function.
9056 (maybe_swap_uint32): Likewise.
9057 (maybe_swap_uint32_array): Likewise.
9058 (maybe_swap_uint32_obstack): Likewise.
9059 * locale/programs/locfile.c: Include <stdbool.h>.
9060 (swap_endianness_p): New variable.
9061 (add_locale_uint32): Call maybe_swap_uint32.
9062 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9063 (write_locale_data): Call maybe_swap_uint32_array.
9064 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9066 (obstack_int32_grow_fast): Likewise.
9067 (output_weightwc): Call maybe_swap_uint32_obstack.
9068 (collate_output): Likewise.
9069 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9070 (OPT_LITTLE_ENDIAN): Likewise.
9071 (options): Add --little-endian and --big-endian options.
9072 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
9073 * locale/programs/locarchive.c: Include "locfile.h".
9077 (create_archive): Use the new macros to access fields of
9078 structures directly mapped from or written to locale archives.
9079 (oldlocrecentcmp): Likewise.
9080 (enlarge_archive): Likewise.
9081 (insert_name): Likewise.
9082 (add_alias): Likewise.
9083 (add_locale): Likewise.
9084 (delete_locales_from_archive): Likewise.
9085 (show_archive_content): Likewise.
9086 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
9089 2013-09-24 Roland McGrath <roland@hack.frob.com>
9091 * manual/freemanuals.texi: Updated from (newly) canonical copy at
9092 http://www.gnu.org/doc/freemanuals.texi.
9093 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
9095 2013-09-24 Will Newton <will.newton@linaro.org>
9097 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
9100 2013-09-23 Joseph Myers <joseph@codesourcery.com>
9102 * locale/hashval.h (compute_hashval): Interpret bytes of key as
9105 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
9107 * manual/threads.texi (POSIX Threads): Fix a typo.
9109 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9112 * string/tst-strcoll-overflow.c: New test case.
9113 * string/Makefile (xtests): Add tst-strcoll-overflow.
9114 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
9115 cache if string sizes may cause integer overflow.
9118 * string/strcoll_l.c (coll_seq): New members rule, idx,
9119 save_idx and back_us.
9120 (get_next_seq_nocache): New function.
9121 (do_compare_nocache): New function.
9122 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
9125 2013-09-23 Carlos O'Donell <carlos@redhat.com>
9128 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
9129 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
9130 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
9133 * elf/Makefile (tests): Add tst-ptrguard1.
9134 (tests-static): Add tst-ptrguard1-static.
9135 (tst-ptrguard1-ARGS): Define.
9136 (tst-ptrguard1-static-ARGS): Define.
9137 * elf/tst-ptrguard1.c: New file.
9138 * elf/tst-ptrguard1-static.c: New file.
9139 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
9140 * sysdeps/i386/stackguard-macros.h: Likewise.
9141 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9142 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9143 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9144 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9145 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9146 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9148 2013-09-23 Hector Marco <hecmargi@upv.es>
9149 Ismael Ripoll <iripoll@disca.upv.es>
9150 Carlos O'Donell <carlos@redhat.com>
9153 * sysdeps/generic/stackguard-macros.h: Define
9154 __pointer_chk_guard_local and POINTER_CHK_GUARD.
9155 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
9156 Define __pointer_chk_guard_local.
9157 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
9158 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
9160 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
9163 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
9165 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
9167 * include/string.h (__ffs): Declare as hidden.
9168 * string/ffs.c (__ffs): Define as hidden.
9169 * sysdeps/i386/ffs.c (__ffs): Likewise.
9170 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
9171 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
9172 * sysdeps/s390/ffs.c (__ffs): Likewise.
9173 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
9175 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
9177 * NEWS: Mention malloc probes.
9179 * malloc/arena.c (new_heap): New memory_heap_new probe.
9180 (grow_heap): New memory_heap_more probe.
9181 (shrink_heap): New memory_heap_less probe.
9182 (heap_trim): New memory_heap_free probe.
9183 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
9184 (systrim): New memory_sbrk_less probe.
9185 * manual/probes.texi: Document them.
9187 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
9188 * manual/probes.texi: Document it.
9190 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9191 (__libc_realloc): Add memory_realloc_retry probe.
9192 (__libc_memalign): Add memory_memalign_retry probe.
9193 (__libc_valloc): Add memory_valloc_retry probe.
9194 (__libc_pvalloc): Add memory_pvalloc_retry probe.
9195 (__libc_calloc): Add memory_calloc_retry probe.
9196 * manual/probes.texi: Document them.
9198 * malloc/arena.c (get_free_list): Add probe
9199 memory_arena_reuse_free_list.
9200 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9201 and memory_arena_reuse.
9202 (arena_get2) [!PER_THREAD]: Likewise.
9203 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9204 memory_arena_reuse_realloc.
9205 * manual/probes.texi: Document them.
9207 * malloc/malloc.c (__libc_free): Add
9208 memory_mallopt_free_dyn_thresholds probe.
9209 (__libc_mallopt): Add multiple memory_mallopt probes.
9210 * manual/probes.texi: Document them.
9212 * malloc/malloc.c: Include stap-probe.h.
9213 (__libc_mallopt): Add memory_mallopt probe.
9214 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9215 * manual/probes.texi: New.
9216 * manual/Makefile (chapters): Add probes.
9217 * manual/threads.texi: Set next node.
9219 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
9222 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9223 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9224 Add `Chinese' to `nan' entry name.
9226 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9228 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9229 (POLYNOMIAL): Likewise.
9230 (TAYLOR_SINCOS): Likewise.
9231 (TAYLOR_SLOW): Likewise.
9232 (__sin): Use TAYLOR_SINCOS.
9234 (slow): Use TAYLOR_SLOW.
9239 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9241 * stdlib/strtod_l.c: Fix buffer overrun.
9243 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9245 * benchtests/Makefile (bench): Add sincos.
9246 * benchtests/bench-sincos.c: New file.
9248 * math/libm-test.inc (cos_test_data): New test inputs.
9249 (sin_test_data): Likewise.
9251 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9259 (bsloww1): Likewise.
9260 (bsloww2): Likewise.
9262 (csloww1): Likewise.
9263 (csloww2): Likewise.
9265 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9270 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9274 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
9276 * config.h.in (HAVE_MIPS_NAN2008): New macro.
9277 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9278 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9279 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9280 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9281 * elf/cache.c (print_entry): Handle the new cache flags.
9283 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9284 Aldy Hernandez <aldyh@redhat.com>
9286 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9287 Change condition to [_SOFT_FLOAT].
9288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9291 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9294 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9295 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9296 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9297 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9298 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9299 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9300 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9301 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9303 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9306 2013-09-18 Joseph Myers <joseph@codesourcery.com>
9308 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9309 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9310 (__longjmp): Use LOAD_GP to load saved GPRs.
9311 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9312 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9313 (__sigsetjmp): Use SAVE_GP to save GPRs.
9315 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9316 Do not append -msoft-float.
9317 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9319 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9321 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9323 2013-09-17 Joseph Myers <joseph@codesourcery.com>
9326 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9327 (_FPU_GETCW): Use initial "__" on variable and field names but not
9328 on macro parameter name.
9329 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
9330 parentheses around reference to macro parameter.
9332 2013-09-13 Richard Sandiford <richard@codesourcery.com>
9334 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9336 (ctype_startup): Use uint32_t in cast and sizeof for
9339 2013-09-11 Jia Liu <proljc@gmail.com>
9341 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9343 [__FreeBSD__]: Likewise.
9345 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
9347 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9348 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9349 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9350 (strchr): Remove __strchr_sse42 ifunc selection.
9351 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9352 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9354 2013-09-11 Will Newton <will.newton@linaro.org>
9356 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9357 parameter to RES. Remove hardcoded 1000 value.
9358 * benchtests/bench-skeleton.c (main): Pass RES parameter
9359 to TIMING_INIT and multiply result by 1000.
9361 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9363 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9365 2013-09-11 Andreas Schwab <schwab@suse.de>
9367 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9369 (O_TMPFILE) [__USE_GNU]: Define.
9370 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9373 2013-09-11 Will Newton <will.newton@linaro.org>
9376 * malloc/malloc.c (__libc_memalign): Check the value of bytes
9379 2013-09-11 Will Newton <will.newton@linaro.org>
9382 * malloc/malloc.c (__libc_valloc): Check the value of bytes
9385 2013-09-11 Will Newton <will.newton@linaro.org>
9388 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9391 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
9393 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9394 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9397 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9399 2013-09-10 Allan McRae <allan@archlinux.org>
9402 * manual/arith.texi (Parsing of Floats): Clarify
9406 * manual/install.texi (Running make install): Mention
9408 * INSTALL: Regenerated.
9410 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
9412 * csu/init-first.c (_init): Remove the !SHARED condition around
9413 FPU control word initialization.
9414 * elf/dl-support.c (_dl_fpu_control): New variable.
9415 (_dl_aux_init) <AT_FPUCW>: Initialize it.
9416 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9417 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9418 * math/test-fpucw-static.c: New file.
9419 * math/test-fpucw-ieee.c: New file.
9420 * math/test-fpucw-ieee-static.c: New file.
9421 * math/Makefile (tests): Add `test-fpucw-ieee' and
9423 (tests-static): New variable.
9424 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9426 [($(build-shared),yes)]
9427 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9429 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9432 2013-09-09 Allan McRae <allan@archlinux.org>
9435 * manual/string.texi (Collation Functions): Fix typo in
9437 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9440 * stdlib/isomac.c (get_null_defines): Fix memory leak.
9443 * libio/memstream.c (open_memstream): Fix memory leak.
9444 * libio/wmemstream.c (open_wmemstream): Likewise.
9447 * nscd/netgroupcache.c: Fix nesting of ifdefs.
9449 2013-09-09 Will Newton <will.newton@linaro.org>
9451 * malloc/Makefile: Add tst-realloc to tests.
9452 * malloc/tst-realloc.c: New file.
9454 2013-09-09 Allan McRae <allan@archlinux.org>
9457 * COPYING: Update from GNU website to fix FSF address.
9458 * COPYING.LIB: Likewise.
9460 2013-09-06 David S. Miller <davem@davemloft.net>
9462 * po/zh_TW.po: Update Chinese (traditional) translation from
9463 translation project.
9465 2013-09-06 Richard Sandiford <richard@codesourcery.com>
9466 Joseph Myers <joseph@codesourcery.com>
9468 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9470 (obstack_chunk_alloc): New macro.
9471 (obstack_chunk_free): Likewise.
9472 (record_offset): New function.
9473 (init_locale_data): Likewise.
9474 (align_locale_data): Likewise.
9475 (add_locale_empty): Likewise.
9476 (add_locale_raw_data): Likewise.
9477 (add_locale_raw_obstack): Likewise.
9478 (add_locale_string): Likewise.
9479 (add_locale_wstring): Likewise.
9480 (add_locale_uint32): Likewise.
9481 (add_locale_uint32_array): Likewise.
9482 (add_locale_char): Likewise.
9483 (start_locale_structure): Likewise.
9484 (end_locale_structure): Likewise.
9485 (start_locale_prelude): Likewise.
9486 (end_locale_prelude): Likewise.
9487 (write_locale_data): Take locale_file structure rather than an
9489 * locale/programs/locfile.h: Include "obstack.h".
9490 (struct locale_file): Change to store locale file contents instead
9492 (init_locale_data): New prototype.
9493 (align_locale_data): Likewise.
9494 (add_locale_empty): Likewise.
9495 (add_locale_raw_data): Likewise.
9496 (add_locale_raw_obstack): Likewise.
9497 (add_locale_string): Likewise.
9498 (add_locale_wstring): Likewise.
9499 (add_locale_uint32): Likewise.
9500 (add_locale_uint32_array): Likewise.
9501 (add_locale_char): Likewise.
9502 (start_locale_structure): Likewise.
9503 (end_locale_structure): Likewise.
9504 (start_locale_prelude): Likewise.
9505 (end_locale_prelude): Likewise.
9506 (write_locale_data): Update prototype.
9507 * locale/programs/3level.h (struct TABLE): Remove result field.
9508 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9509 Use new locale_file interface.
9510 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9511 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9512 * locale/programs/ld-address.c (address_output): Use new
9513 locale_file interface.
9514 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9516 (collate_finish): Don't call collseq_table_finalize.
9517 (collate_output): Use new locale_file interface.
9518 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9520 (NO_FINALIZE): Change to NO_ADD_LOCALE.
9521 (TABLE): Move defines earlier in file.
9522 (ELEMENT): Likewise.
9523 (DEFAULT): Likewise.
9524 (wctrans_table_add): Move macro and inline function earlier in
9526 (struct wctype_table): Move type earlier in file.
9527 (add_locale_wctype_table): New static prototype.
9528 (struct locale_ctype_t): Use logical types instead of struct iovec
9529 pointers for members.
9530 (ctype_output): Use new locale_file interface.
9531 (wctype_table_finalize): Change to add_locale_wctype_table. Use
9532 new locale_file interface.
9533 (allocate_arrays): Update for use of new locale_file interface.
9534 * locale/programs/ld-identification.c (identification_output): Use
9535 new locale_file interface.
9536 * locale/programs/ld-measurement.c (measurement_output): Likewise.
9537 * locale/programs/ld-messages.c (messages_output): Likewise.
9538 * locale/programs/ld-monetary.c (monetary_output): Likewise.
9539 * locale/programs/ld-name.c (name_output): Likewise.
9540 * locale/programs/ld-numeric.c (numeric_output): Likewise.
9541 * locale/programs/ld-paper.c (paper_output): Likewise.
9542 * locale/programs/ld-telephone.c (telephone_output): Likewise.
9543 * locale/programs/ld-time.c (time_output): Likewise.
9545 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9547 * benchtests/Makefile: Add memrchr benchmark.
9548 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9549 benchmark as memrchr.
9550 * benchtests/bench-memrchr-ifunc.c: New file.
9551 * benchtests/bench-memrchr.c: New file.
9553 2013-09-06 Will Newton <will.newton@linaro.org>
9555 * benchtests/Makefile (string-bench): Add memcpy.
9557 2013-09-05 Carlos O'Donell <carlos@redhat.com>
9558 Cong Wang <amwang@redhat.com>
9561 * sysdeps/unix/sysv/linux/bits/in.h
9562 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9563 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9564 before __USE_KERNEL_IPV6_DEFS uses.
9565 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9567 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9568 sockaddr_in6, or ipv6_mreq.
9570 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9572 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9573 memory access for final bytes in some large inputs.
9574 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9576 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9578 * string/test-memrchr.c: New file.
9579 * string/test-memrchr-ifunc.c: New file.
9580 * string/Makefile: Add new memrchr testcase.
9582 2013-09-05 Mike Frysinger <vapier@gentoo.org>
9584 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9585 fanotify_init returns EPERM.
9587 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9589 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9591 (top level): Treat second token from macro or constant entries for
9592 allowed headers as allowed.
9593 * include/complex.h: Condition internal declarations on
9595 * include/fenv.h: Condition include of <stdbool.h> and internal
9596 declarations on [!_ISOMAC].
9598 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
9601 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9603 2013-09-04 Joseph Myers <joseph@codesourcery.com>
9605 * configure.in (--enable-versioning): Remove configure option.
9606 (libc_cv_asm_symver_directive): Remove configure test.
9607 (libc_cv_ld_version_script_option): Likewise.
9608 (VERSIONING): Remove variable and AC_SUBST.
9609 (DO_VERSIONING): Remove AC_DEFINE.
9610 * configure: Regenerated.
9611 * config.h.in (DO_VERSIONING): Remove macro.
9612 * Makerules [$(versioning) = yes]: Change conditionals to
9613 [$(build-shared) = yes].
9614 * config.make.in (versioning): Remove variable.
9615 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9616 [$(build-shared) = yes].
9617 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9618 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9619 * elf/Makefile [$(versioning) = yes]: Change conditionals to
9620 [$(build-shared) = yes].
9621 * extra-lib.mk [$(versioning) = yes]: Likewise.
9622 * hurd/Makefile [$(versioning) = yes]: Likewise.
9623 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9625 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9627 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9628 [SHARED && !NO_HIDDEN].
9629 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9631 [SHARED && DO_VERSIONING]: Likewise..
9632 * libio/Makefile [$(versioning) = yes]: Change conditionals to
9633 [$(build-shared) = yes].
9634 * manual/install.texi (--disable-versioning): Remove
9636 * INSTALL: Regenerated.
9637 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9639 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9640 [$(build-shared) = yes].
9641 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9642 * sysdeps/i386/i686/multiarch/strstr-c.c
9643 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9644 [SHARED && !NO_HIDDEN].
9645 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9646 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9647 * sysdeps/powerpc/powerpc32/dl-machine.c
9648 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9649 * sysdeps/powerpc/powerpc32/sysdep.h
9650 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9651 to [SHARED && PIC && !NO_HIDDEN].
9652 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9653 conditional to [SHARED].
9655 2013-09-04 Will Newton <will.newton@linaro.org>
9657 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9658 * benchtests/bench-string.h: Include bench-timing.h instead
9659 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9660 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9661 call to HP_TIMING_DIFF_INIT.
9662 * benchtests/bench-memccpy.c: Use bench-timing.h macros
9663 instead of hp-timing.h macros.
9664 * benchtests/bench-memchr.c: Likewise.
9665 * benchtests/bench-memcmp.c: Likewise.
9666 * benchtests/bench-memcpy.c: Likewise.
9667 * benchtests/bench-memmem.c: Likewise.
9668 * benchtests/bench-memmove.c: Likewise.
9669 * benchtests/bench-memset.c: Likewise.
9670 * benchtests/bench-rawmemchr.c: Likewise.
9671 * benchtests/bench-strcasecmp.c: Likewise.
9672 * benchtests/bench-strcasestr.c: Likewise.
9673 * benchtests/bench-strcat.c: Likewise.
9674 * benchtests/bench-strchr.c: Likewise.
9675 * benchtests/bench-strcmp.c: Likewise.
9676 * benchtests/bench-strcpy.c: Likewise.
9677 * benchtests/bench-strcpy_chk.c: Likewise.
9678 * benchtests/bench-strlen.c: Likewise.
9679 * benchtests/bench-strncasecmp.c: Likewise.
9680 * benchtests/bench-strncat.c: Likewise.
9681 * benchtests/bench-strncmp.c: Likewise.
9682 * benchtests/bench-strncpy.c: Likewise.
9683 * benchtests/bench-strnlen.c: Likewise.
9684 * benchtests/bench-strpbrk.c: Likewise.
9685 * benchtests/bench-strrchr.c: Likewise.
9686 * benchtests/bench-strspn.c: Likewise.
9687 * benchtests/bench-strstr.c: Likewise.
9689 2013-09-04 Will Newton <will.newton@linaro.org>
9691 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9693 2013-09-03 Joseph Myers <joseph@codesourcery.com>
9696 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9697 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9698 * math/libm-test.inc (lgamma_test_data): Add more tests.
9699 * sysdeps/i386/fpu/libm-test-ulps: Update.
9700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9702 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
9704 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9708 Add strcmp-sse2-unaligned
9709 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9711 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9713 * Versions.def (libc): Add GLIBC_2.19.
9715 2013-09-02 Mike Frysinger <vapier@gentoo.org>
9717 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9718 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9720 2013-09-02 Joseph Myers <joseph@codesourcery.com>
9723 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9724 intermediate calculations in recurrence.
9725 (__ieee754_ynf): Likewise.
9726 * math/libm-test.inc (jn_test_data): Do not allow spurious
9727 underflow exception. Add more tests.
9728 (yn_test_data): Add more tests.
9729 * sysdeps/i386/fpu/libm-test-ulps: Update.
9730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9732 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
9734 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9736 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9738 * csu/init-first.c: Fix then/than typos.
9739 * locale/programs/ld-collate.c: Likewise.
9740 * locale/programs/linereader.h: Likewise.
9741 * manual/charset.texi: Likewise.
9742 * manual/filesys.texi: Likewise.
9743 * manual/stdio.texi: Likewise.
9744 * manual/string.texi: Likewise.
9745 * stdlib/fmtmsg.c: Likewise.
9746 * sysdeps/i386/stpncpy.S: Likewise.
9747 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9749 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9750 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9752 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9754 * elf/dl-open.c: Fix typos.
9755 * iconvdata/gbbig5.c: Likewise.
9756 * iconvdata/iso-2022-jp.c: Likewise.
9757 * iconv/gconv_int.h: Likewise.
9758 * iconv/loop.c: Likewise.
9759 * nis/rpcsvc/nis.h: Likewise.
9760 * resolv/ns_name.c: Likewise.
9761 * stdio-common/vfscanf.c: Likewise.
9762 * streams/stropts.h: Likewise.
9763 * sunrpc/rpc_thread.c: Likewise.
9764 * sysdeps/i386/strpbrk.S: Likewise.
9765 * sysdeps/ieee754/k_standard.c: Likewise.
9766 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9768 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9769 * sysdeps/mach/hurd/profil.c: Likewise.
9770 * sysdeps/s390/dl-procinfo.h: Likewise.
9771 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9772 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9773 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9774 * sysdeps/x86_64/dl-trampoline.S: Likewise.
9775 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9777 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
9779 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9782 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9784 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9786 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9787 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9788 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9789 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9790 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9791 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9792 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9793 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9795 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9796 Roland McGrath <roland@hack.frob.com>
9798 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9799 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9801 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
9803 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9804 __executable_start symbol instead of _start.
9806 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
9808 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9809 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9811 * sysdeps/gnu/ldsodefs.h: ... this new file.
9813 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9814 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9815 instead of ELFOSABI_LINUX.
9817 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
9818 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9819 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9820 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9822 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9823 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9824 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9826 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9827 (ibm_extended_long_double): Add ieee_nan member.
9828 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9829 (do_test): New function.
9831 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9833 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9834 functions, renamed from truncdfsf_test, trunctfsf_test,
9836 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9838 (do_test): Run all these.
9840 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
9842 * argp/argp-help.c: Fix typos.
9843 * argp/argp-parse.c: Likewise.
9844 * debug/backtracesyms.c: Likewise.
9845 * elf/elf.h: Likewise.
9846 * malloc/malloc.c: Likewise.
9847 * nis/nis_print.c: Likewise.
9848 * resolv/res_comp.c: Likewise.
9849 * stdlib/stdlib.h: Likewise.
9850 * sunrpc/clnt_tcp.c: Likewise.
9851 * sunrpc/clnt_udp.c: Likewise.
9852 * sunrpc/clnt_unix.c: Likewise.
9853 * sysdeps/unix/bsd/ptsname.c: Likewise.
9854 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9855 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
9856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9862 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9864 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9866 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9867 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9869 2013-08-27 Mike Frysinger <vapier@gentoo.org>
9872 * dlfcn/Makefile (tests): Add bug-dl-leaf.
9873 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9874 ($(objpfx)bug-dl-leaf): New rule.
9875 ($(objpfx)bug-dl-leaf.so): Likewise.
9876 ($(objpfx)bug-dl-leaf.out): Likewise.
9877 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9878 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9879 * dlfcn/bug-dl-leaf.c: New test.
9880 * dlfcn/bug-dl-leaf-lib.c: Likewise.
9881 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9882 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9883 (dlclose): Likewise.
9884 (dlmopen): Likewise.
9886 2013-08-27 Roland McGrath <roland@hack.frob.com>
9888 * include/netdb.h [!_ISOMAC]:
9889 Don't include <tls.h>.
9890 (h_errno, __libc_h_errno): Move declaration and macros out of
9893 * include/resolv.h [_RESOLV_H_]:
9894 Don't include <tls.h>.
9895 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9896 * resolv/res_libc.c: Don't include <tls.h>.
9897 (_res): Use __attribute__ ((nocommon)) in place of
9898 __attribute__ ((section (".bss"))).
9900 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9901 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9903 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9905 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9906 only under [SIOCGIFCONF && SIOCGIFNETMASK].
9908 * resolv/res_mkquery.c: Include <sys/time.h>.
9910 * inet/ifreq.c: Moved to ...
9911 * sysdeps/unix/ifreq.c: ... here.
9912 * inet/ifreq.c: New file, true stub version.
9914 * socket/sa_len.c: New file.
9915 * socket/Makefile (aux): Add it.
9916 * sysdeps/unix/sysv/linux/Makefile
9917 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9918 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9919 and #include <socket/sa_len.c>.
9920 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9921 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9923 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9924 * bits/socket.h: ... here.
9926 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9927 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9928 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9930 2013-08-27 Andreas Schwab <schwab@suse.de>
9933 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9934 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9935 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9936 * string/test-strcasecmp.c (test_main): Run tests in several
9938 * string/test-strncasecmp.c (test_main): Likewise.
9940 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9941 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9942 to __strcasecmp_nonascii and __strncasecmp_nonascii.
9943 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9944 (__strncasecmp_ssse3) [PIC]: Likewise.
9946 2013-08-26 Roland McGrath <roland@hack.frob.com>
9948 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9950 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9951 instead of explicitly declaring xdecrypt.
9952 * nis/nss_nis/nis-publickey.c: Likewise.
9954 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9957 * nscd/aicache.c: Include res_hconf.h.
9958 (addhstaiX): Initialize res_hconf.
9960 2013-08-26 Andreas Schwab <schwab@suse.de>
9962 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9963 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9965 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9967 * nscd/aicache.c (addhstaiX): Fix indentation.
9969 2013-08-25 Mike Frysinger <vapier@gentoo.org>
9971 * configure.ac: Quote $build_pt_chown test.
9972 * configure: Regenerated.
9974 2013-08-23 Joseph Myers <joseph@codesourcery.com>
9977 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9978 * math/s_cexpf.c (__cexpf): Likewise.
9979 * math/s_cexpl.c (__cexpl): Likewise.
9980 * math/libm-test.inc (cexp_test_data): Correct expected return
9981 value for NaN + i0. Add another test.
9983 2013-08-22 David S. Miller <davem@davemloft.net>
9985 * po/ca.po: Update Catalan translation from translation project.
9986 * po/uk.po: Add Ukrainian translations from translation project.
9988 2013-08-21 Joseph Myers <joseph@codesourcery.com>
9991 * math/s_fdim.c (__fdim): Check for infinite arguments if result
9992 is infinite, not alongside NaN test.
9993 * math/s_fdimf.c (__fdimf): Likewise.
9994 * math/s_fdiml.c (__fdiml): Likewise.
9995 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
9998 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10000 * argp/argp-help.c: Fix typos.
10001 * crypt/speeds.c: Likewise.
10002 * csu/check_fds.c: Likewise.
10003 * elf/dl-load.c: Likewise.
10004 * elf/dl-open.c: Likewise.
10005 * elf/reldep3.c: Likewise.
10006 * elf/reldep.c: Likewise.
10007 * elf/sprof.c: Likewise.
10008 * iconv/iconv_charmap.c: Likewise.
10009 * iconv/skeleton.c: Likewise.
10010 * iconv/strtab.c: Likewise.
10011 * io/lockf64.c: Likewise.
10012 * libio/libioP.h: Likewise.
10013 * resolv/gai_notify.c: Likewise.
10014 * resolv/ns_name.c: Likewise.
10015 * resolv/ns_samedomain.c: Likewise.
10016 * resolv/res_send.c: Likewise.
10017 * stdlib/random.c: Likewise.
10018 * sunrpc/rpc/xdr.h: Likewise.
10019 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10020 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10021 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10022 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10023 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10024 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10025 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10026 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10027 * sysdeps/mach/hurd/check_fds.c: Likewise.
10028 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10029 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10030 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10031 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10032 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10033 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10034 * sysdeps/pthread/aio_notify.c: Likewise.
10035 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10036 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10037 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10038 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10039 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10041 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10043 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10044 version if bit_Slow_SSE4_2 is set.
10045 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10046 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10048 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10051 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10052 trampoline stack frame information.
10053 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10054 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10055 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10056 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10057 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10058 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10059 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10060 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10062 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10063 interrupting a syscall and set with option SA_SIGINFO.
10065 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10068 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10069 argument is infinite.
10070 * math/s_cprojf.c (__cprojf): Likewise.
10071 * math/s_cprojl.c (__cprojl): Likewise.
10072 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
10073 * math/libm-test.inc (cproj_test_data): Add more tests.
10075 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
10077 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
10078 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
10079 size. Use __ffs to determine corresponding shift.
10081 2013-08-20 Joseph Myers <joseph@codesourcery.com>
10082 Roland McGrath <roland@hack.frob.com>
10084 * Makefile (INSTALL): Remove trailing blank lines from output of
10087 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10089 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
10090 Align 32 bit compat elf_greg to 8 bytes.
10092 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10094 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
10096 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10098 * string/strcoll_l.c (coll_seq): New structure.
10099 (get_next_seq_cached): New function.
10100 (get_next_seq): New function.
10101 (do_compare): New function.
10102 (STRCOLL): Use GNU style definition. Simplify implementation
10103 by using get_next_seq, get_next_seq_cached and do_compare.
10105 2013-08-16 Florian Weimer <fweimer@redhat.com>
10109 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
10111 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
10113 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
10114 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
10115 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
10117 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
10118 GETDENTS_64BIT_ALIGNED.
10119 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
10120 * manual/filesys.texi (Reading/Closing Directory): Document
10121 ENAMETOOLONG return value of readdir_r. Recommend readdir more
10123 * manual/conf.texi (Limits for Files): Add portability note to
10124 NAME_MAX, PATH_MAX.
10125 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
10127 2013-08-13 Andreas Schwab <schwab@suse.de>
10130 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
10132 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
10133 LDBL_MAX_EXP >= 16384]: Add tests for it.
10135 2013-08-12 David S. Miller <davem@davemloft.net>
10137 * version.h (RELEASE): Set to "development".
10138 (VERSION): Set to "2.18.90".
10139 * NEWS: Add 2.19 section.
10141 2013-08-03 David S. Miller <davem@davemloft.net>
10143 * po/ko.po: Update Korean translation from translation project.
10145 2013-08-01 David S. Miller <davem@davemloft.net>
10147 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
10148 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
10151 2013-07-30 David S. Miller <davem@davemloft.net>
10153 * po/fr.po: Update French translation from translation project.
10155 2013-07-28 David S. Miller <davem@davemloft.net>
10157 * po/cs.po: Update Czech translation from translation project.
10159 * po/sv.po: Update Swedish translation from translation project.
10161 2013-07-27 David S. Miller <davem@davemloft.net>
10163 * po/eo.po: Update Esperanto translation from translation project.
10165 * po/vi.po: Update Vietnamese translation from translation project.
10167 * po/de.po: Update German translation from translation project.
10169 2013-07-26 David S. Miller <davem@davemloft.net>
10171 * po/bg.po: Update Bulgarian translation from translation project.
10173 * po/nl.po: Update Dutch translation from translation project.
10174 * po/pl.po: Update Polish translation from translation project.
10175 * po/ru.po: Update Russian translation from translation project.
10177 2013-07-24 David S. Miller <davem@davemloft.net>
10179 * po/libc.pot: Update.
10181 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10183 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
10184 variable page size.
10185 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
10186 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
10187 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10189 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10191 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10193 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10194 Andreas Schwab <schwab@suse.de>
10195 Roland McGrath <roland@hack.frob.com>
10196 Joseph Myers <joseph@codesourcery.com>
10197 Carlos O'Donell <carlos@redhat.com>
10200 * config.h.in: Define HAVE_PT_CHOWN.
10201 * config.make.in (build-pt-chown): New variable.
10202 * configure.in (--enable-pt_chown): New configure option.
10203 * configure: Regenerate.
10204 * login/Makefile: Include Makeconfig. Build pt_chown only if
10205 build-pt-chown is enabled.
10206 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10207 pt_chown to fix pty ownership.
10208 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10210 * manual/install.texi (Configuring and compiling): Mention
10211 --enable-pt_chown. Add @findex for grantpt.
10212 * INSTALL: Regenerate.
10214 2013-07-20 David S. Miller <davem@davemloft.net>
10216 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10217 difference between 32-bit and 64-bit.
10219 2013-07-15 Carlos O'Donell <carlos@redhat.com>
10222 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10223 Avoid system header dependency with -ffreestanding.
10224 ($(objpfx)bits/syscall%d): Likewise.
10226 2013-07-13 David S. Miller <davem@davemloft.net>
10228 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10229 underflows from atanl/atan2l due to bug 15319.
10230 (casinh_test_data): Likewise.
10232 2013-07-07 David S. Miller <davem@davemloft.net>
10234 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10236 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
10238 * sysdeps/i386/fpu/libm-test-ulps: Update.
10239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10241 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10243 * configure.in (--enable-lock-elision): Fix message text.
10244 * INSTALL: Regenerate.
10245 * configure: Regenerate.
10247 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10251 2013-07-03 Andreas Jaeger <aj@suse.de>
10253 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10255 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10256 (ptrace_peeksiginfo_args): Add.
10257 (__ptrace_peeksiginfo_flags): Add.
10258 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10260 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10262 2013-07-03 Allan McRae <allan@archlinux.org>
10264 * sysdeps/i386/fpu/libm-test-ulps: Update.
10266 2013-07-02 David S. Miller <davem@davemloft.net>
10268 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10270 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
10272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10274 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10276 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10279 2013-07-02 Andi Kleen <ak@linux.intel.com>
10281 * config.h.in (ENABLE_LOCK_ELISION): Add.
10282 * configure.in (--enable-lock-elision): Add option.
10283 * manual/install.texi: Document --enable lock elision.
10284 * configure: Regenerate
10285 * INSTALL: Regenerate.
10287 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
10289 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10290 SSE4.2 strcasecmp for libc.a.
10291 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10293 2013-07-02 Joseph Myers <joseph@codesourcery.com>
10296 * soft-fp/op-common.h (_FP_FMA): New macro.
10297 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10298 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
10299 (_FP_MUL_MEAT_1_imm): ... here.
10300 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
10301 (_FP_MUL_MEAT_1_wide): ... here.
10302 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
10303 (_FP_MUL_MEAT_1_hard): ... here.
10304 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10305 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
10306 (_FP_MUL_MEAT_2_wide): ... here.
10307 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
10308 (_FP_MUL_MEAT_2_wide_3mul): ... here.
10309 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
10310 (_FP_MUL_MEAT_2_gmp): ... here.
10311 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10312 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
10313 (_FP_MUL_MEAT_4_wide): ... here.
10314 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
10315 (_FP_MUL_MEAT_4_gmp): ... here.
10316 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10317 (_FP_WFRACBITS_DW_S): Likewise.
10318 (_FP_WFRACXBITS_DW_S): Likewise.
10319 (_FP_HIGHBIT_DW_S): Likewise.
10320 (FP_FMA_S): Likewise.
10321 (_FP_FRAC_HIGH_DW_S): Likewise.
10322 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10323 (_FP_WFRACBITS_DW_D): Likewise.
10324 (_FP_WFRACXBITS_DW_D): Likewise.
10325 (_FP_HIGHBIT_DW_D): Likewise.
10326 (FP_FMA_D): Likewise.
10327 (_FP_FRAC_HIGH_DW_D): Likewise.
10328 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10329 (_FP_WFRACBITS_DW_E): Likewise.
10330 (_FP_WFRACXBITS_DW_E): Likewise.
10331 (_FP_HIGHBIT_DW_E): Likewise.
10332 (FP_FMA_E): Likewise.
10333 (_FP_FRAC_HIGH_DW_E): Likewise.
10334 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10335 (_FP_WFRACBITS_DW_Q): Likewise.
10336 (_FP_WFRACXBITS_DW_Q): Likewise.
10337 (_FP_HIGHBIT_DW_Q): Likewise.
10338 (FP_FMA_Q): Likewise.
10339 (_FP_FRAC_HIGH_DW_Q): Likewise.
10340 * soft-fp/fmasf4.c: New file.
10341 * soft-fp/fmadf4.c: Likewise.
10342 * soft-fp/fmatf4.c: Likewise.
10344 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10347 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10349 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10351 (index_Slow_SSE4_2): Likewise.
10352 (index_Prefer_PMINUB_for_stringop): Likewise.
10353 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10354 bit_Slow_SSE4_2 is set.
10355 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10356 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10358 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10360 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10361 rtld_global._dl_hwcap2.
10362 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10364 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10365 POWER8 feature descriptions defined in _dl_hwcap2.
10366 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10367 string handling for POWER8 feature bits.
10368 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10369 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10370 _dl_powerpc_cap_flags.
10371 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10372 * sysdeps/powerpc/rtld-global-offsets.sym
10373 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10374 _dl_hwcap2 in the rtld_global_ro structure.
10376 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10378 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10379 hardware capabilities in support of AT_HWCAP2.
10380 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10381 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10383 (_dl_show_auxv): Add support for calling _dl_procinfo to display
10384 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
10385 explicitly the unknown a_type display mechanism is used.
10386 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10387 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10389 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10390 to macro prototype for AT_HWCAP2 support.
10391 * sysdeps/i386/dl-procinfo.h: Likewise.
10392 * sysdeps/s390/dl-procinfo.h: Likewise.
10393 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10394 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
10395 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
10396 return -1 for unknown a_type display fallback.
10397 * sysdeps/sparc/dl-procinfo.h: Likewise.
10398 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10399 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10401 2013-06-28 Joseph Myers <joseph@codesourcery.com>
10403 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10404 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10406 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
10409 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10410 mprotect making __stack_prot writable.
10412 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
10413 Joseph Myers <joseph@codesourcery.com>
10415 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10416 as being properly aligned.
10418 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
10420 * dlfcn/modstatic5.c: New file.
10421 * dlfcn/tststatic5.c: New file.
10422 * dlfcn/Makefile (tests): Add tststatic5.
10423 (tests-static): Likewise.
10424 (modules-names): Add modstatic5.
10425 (tststatic5-ENV): New variable.
10426 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10429 * elf/dl-support.c (_dl_main_map): New variable.
10430 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10431 (_dl_nns, _dl_load_adds): Set to 1.
10432 (_dl_initial_searchlist): Refer to _dl_main_map.
10433 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10434 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10435 call to _dl_get_origin.
10436 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10438 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10439 * dlfcn/modstatic3.c: New file.
10440 * dlfcn/tststatic3.c: New file.
10441 * dlfcn/tststatic4.c: New file.
10442 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10443 (tests-static): Likewise.
10444 (modules-names): Add modstatic3.
10445 (tststatic3-ENV, tststatic4-ENV): New variables.
10446 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10447 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10449 2013-06-26 Joseph Myers <joseph@codesourcery.com>
10451 * configure.in (CC): Require GCC version 4.4 or later.
10452 * configure: Regenerated.
10453 * manual/install.texi (Tools for Compilation): Update GCC version
10455 * INSTALL: Regenerated.
10457 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10460 * string/test-memcmp.c (check2): New.
10461 (main): Call check2.
10463 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10465 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
10468 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10470 (dl_open_worker) [!SHARED]: ... here.
10472 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10474 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10476 2013-06-25 Richard Henderson <rth@redhat.com>
10478 * locale/programs/locarchive.c: Include <libc-internal.h>
10480 2013-06-25 Joseph Myers <joseph@codesourcery.com>
10482 * manual/texinfo.tex: Update to version 2013-06-21.17, with
10483 trailing whitespace removed.
10485 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10488 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10489 * locale/programs/locarchive.c: Include libc-mmap.h.
10490 (prepare_address_space): Take two new outputs (the mmap base and len).
10491 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
10493 (create_archive): Declare new mmap base and len values for
10494 prepare_address_space, and store the result in ah.
10495 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10496 (enlarge_archive): If ah->mmap_base is not NULL, use that and
10497 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10498 Declare new mmap base and len values for
10499 prepare_address_space, and store the result in new_ah.
10500 (open_archive): Declare new mmap base and len values for
10501 prepare_address_space, and store the result in ah.
10502 (close_archive): If ah->mmap_base is not NULL, use that and
10503 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10504 * sysdeps/generic/libc-mmap.h: New file.
10506 2013-06-24 Mike Frysinger <vapier@gentoo.org>
10508 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10509 (ALIGN_UP): Likewise.
10510 (PTR_ALIGN_DOWN): Likewise.
10511 (PTR_ALIGN_UP): Likewise.
10513 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10515 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10516 entry mapped to PPC_PLATFORM_POWER8.
10517 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10519 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10520 (_dl_string_platform): Add case for exporting platform position for
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10523 search path to sysdeps/powerpc/powerpc32/power8 directory.
10524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10525 search path to sysdeps/powerpc/powerpc64/power8 directory.
10526 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10527 power7 directories.
10528 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10529 power7 directories.
10531 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10533 * INSTALL: Regenerate.
10535 * nscd/connections.c (nscd_init): Fix comment.
10537 2013-06-22 Joseph Myers <joseph@codesourcery.com>
10539 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10542 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10543 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10545 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10547 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10549 (DL_DST_REQ_STATIC): Remove macro.
10551 2013-06-21 Joseph Myers <joseph@codesourcery.com>
10554 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10555 with a shift of 0 bits.
10557 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
10559 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10562 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10565 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10567 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10569 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10570 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10571 accepts -fno-tree-loop-distribute-patterns.
10572 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10573 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10575 * string/memset.c (memset): Likewise.
10576 * string/test-memmove.c (simple_memmove): Disable loop transformation
10578 * string/test-memset.c (simple_memset): Likewise.
10579 * benchtests/bench-memmove.c (simple_memmove): Likewise.
10580 * benchtests/bench-memset.c (simple_memset): Likewise.
10581 * configure: Regenerated.
10583 2013-06-20 Joseph Myers <joseph@codesourcery.com>
10585 * math/test-misc.c (main): Ignore fesetround failure when failures
10586 of subsequent rounding tests would be ignored.
10589 * math/fedisblxcpt.c (fedisableexcept): Return 0.
10590 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10591 * math/fegetenv.c (__fegetenv): Return 0.
10592 * math/fegetexcept.c (fegetexcept): Return 0.
10593 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10595 * math/feholdexcpt.c (feholdexcept): Return 0.
10596 * math/fesetenv.c (__fesetenv): Return 0.
10597 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10598 argument FE_TONEAREST.
10599 * math/feupdateenv.c (__feupdateenv): Return 0.
10600 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10602 2013-06-18 Roland McGrath <roland@hack.frob.com>
10604 * elf/rtld-Rules (rtld-compile-command.S): New variable.
10605 (rtld-compile-command.s, rtld-compile-command.c): New variables.
10606 ($(objpfx)rtld-%.os rules): Use them.
10608 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10610 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10613 2013-06-17 Roland McGrath <roland@hack.frob.com>
10615 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10616 length of target pattern, then descending length of dependency pattern.
10617 * configure.in (AWK): Require gawk 3.1.2 or newer.
10618 * manual/install.texi (Tools for Compilation): Say that we do.
10619 * configure: Regenerated.
10621 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10622 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10623 * scripts/sysd-rules.awk: ... this new script.
10624 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10625 than a glob-style pattern.
10627 2013-06-17 Joseph Myers <joseph@codesourcery.com>
10629 * math/test-misc.c (main): Do not treat incorrectly rounded
10630 conversions as failure unless ROUNDING_TESTS passes.
10632 2013-06-15 Joseph Myers <joseph@codesourcery.com>
10635 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10636 restore exception state around main square root computation, then
10637 check for inexactness explicitly.
10639 * math/libm-test.inc (fma_test_data): Add another test.
10641 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10643 * manual/threads.texi (Non-POSIX Extensions): New document
10644 node. Document pthread_getattr_default_np and
10645 pthread_setattr_default_np.
10647 * Versions.def (libpthread): Add GLIBC_2.18.
10648 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10657 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10661 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10668 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10671 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10673 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10674 H.J. Lu <hjl.tools@gmail.com>
10677 * sysdeps/x86_64/rtld-memset.c: Remove file.
10678 * sysdeps/x86_64/rtld-memset.S: New file.
10680 2013-06-14 Joseph Myers <joseph@codesourcery.com>
10682 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10683 (test_in_one_mode): Take arguments for whether the rounding mode
10684 is supported for each floating-point type.
10685 (do_test): Pass new arguments to test_in_one_mode using
10688 2013-06-13 Roland McGrath <roland@hack.frob.com>
10690 * posix/tst-waitid.c (do_test): Distinguish different instances of
10691 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
10692 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10693 before entering the kernel for waitpid.
10695 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10697 * NEWS: Fix note on clock function precision. Text by Roland
10700 2013-06-13 Roland McGrath <roland@hack.frob.com>
10702 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10703 it into place only when and if the sanity check passes.
10705 2013-06-13 Joseph Myers <joseph@codesourcery.com>
10707 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10708 output for whether conversion result is exact. Take argument
10709 indicating whether type is IBM long double.
10710 (round_for_all): Change need_exact field to ibm_ld.
10711 * stdlib/tst-strtod-round.c (struct exactness): New type.
10712 (struct test): Change bool ld_ok field to struct exactness exact.
10713 (TEST): Update all definitions for change to field.
10714 (tests): Regenerate array contents.
10715 (test_in_one_mode): Take pointer to new field instead of old ld_ok
10716 field value. Check for IBM long double here.
10717 (do_test): Update calls to test_in_one_mode.
10719 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10722 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10723 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10725 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10728 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10729 generated by the compiler on loop optimizations.
10730 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10731 general definitions.
10733 2013-06-12 Joseph Myers <joseph@codesourcery.com>
10735 * math/bug-nextafter.c: Include <math-tests.h>.
10736 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10738 * math/bug-nexttoward.c: Include <math-tests.h>.
10739 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10741 * math/test-misc.c: Include <math-tests.h>.
10742 (main): Only test for exceptions if EXCEPTION_TESTS is true for
10745 2013-06-12 Andreas Jaeger <aj@suse.de>
10747 * po/ia.po: Update Interlingua translation from translation
10750 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10752 * include/fenv.h: Include stdbool.h.
10753 (struct rm_ctx): New structure.
10754 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10756 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10757 (SET_RESTORE_ROUNDF): Likewise.
10758 (SET_RESTORE_ROUNDL): Likewise.
10759 (SET_RESTORE_ROUND_NOEX): Likewise.
10760 (SET_RESTORE_ROUND_NOEXF): Likewise.
10761 (SET_RESTORE_ROUND_NOEXL): Likewise.
10762 (SET_RESTORE_ROUND_53BIT): Likewise.
10763 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10764 (libc_feresetround_noexf_ctx): Likewise.
10765 (libc_feresetround_noexl_ctx): Likewise.
10766 (libc_feholdsetround_53bit_ctx): Likewise.
10767 (libc_feresetround_53bit_ctx): Likewise.
10768 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10769 (libc_feholdexcept_setround_sse_ctx): New function.
10770 (libc_fesetenv_sse_ctx): Likewise.
10771 (libc_feupdateenv_sse_ctx): Likewise.
10772 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10773 (libc_feholdexcept_setround_387_ctx): Likewise.
10774 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10775 (libc_feholdsetround_387_prec_ctx): Likewise.
10776 (libc_feholdsetround_387_ctx): Likewise.
10777 (libc_feholdsetround_387_53bit_ctx): Likewise.
10778 (libc_feholdsetround_sse_ctx): Likewise.
10779 (libc_feresetround_sse_ctx): Likewise.
10780 (libc_feresetround_387_ctx): Likewise.
10781 (libc_feupdateenv_387_ctx): Likewise.
10782 (libc_feholdexcept_setroundf_ctx): Define macro.
10783 (libc_fesetenvf_ctx): Likewise.
10784 (libc_feupdateenvf_ctx): Likewise.
10785 (libc_feholdsetroundf_ctx): Likewise.
10786 (libc_feresetroundf_ctx): Likewise.
10787 (libc_feholdexcept_setround_ctx): Likewise.
10788 (libc_fesetenv_ctx): Likewise.
10789 (libc_feupdateenv_ctx): Likewise.
10790 (libc_feholdsetround_ctx): Likewise.
10791 (libc_feresetround_ctx): Likewise.
10792 (libc_feholdexcept_setroundl_ctx): Likewise.
10793 (libc_feupdateenvl_ctx): Likewise.
10794 (libc_feholdsetroundl_ctx): Likewise.
10795 (libc_feresetroundl_ctx): Likewise.
10796 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10797 (libc_feresetround_53bit_ctx): Likewise.
10799 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10801 * locale/iso-639.def: Convert to UTF-8.
10803 2013-06-11 Joseph Myers <joseph@codesourcery.com>
10805 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10806 (EXCEPTION_TESTS_double): Likewise.
10807 (EXCEPTION_TESTS_long_double): Likewise.
10808 (EXCEPTION_TESTS): Likewise.
10809 * math/libm-test.inc (test_exceptions): Only test exceptions if
10810 EXCEPTION_TESTS (FLOAT).
10812 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10814 * benchtests/Makefile (string-bench): Add strcpy_chk and
10816 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10817 * benchtests/bench-stpcpy_chk.c: New file.
10818 * benchtests/bench-strcpy_chk-ifunc.c: New file.
10819 * benchtests/bench-strcpy_chk.c: New file.
10820 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10822 (do_test): Likewise.
10824 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10826 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10827 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10828 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10829 with tabs where appropriate.
10830 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10832 [PPC_PLATFORM_PPC440]: Likewise.
10833 [PPC_PLATFORM_PPC464]: Likewise.
10834 [PPC_PLATFORM_PPC476]: Likewise.
10835 (_dl_string_platform): Add support for detecting ppc405, ppc440,
10836 ppc464, and ppc476 platform strings merging from ports/
10839 2013-06-11 Andreas Schwab <schwab@suse.de>
10842 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10843 (from_ucs4_idx): Regenerate.
10844 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10845 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10846 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10847 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10848 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10849 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10850 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10851 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10852 from FROM_LOOP and TO_LOOP specific macros.
10853 (BODY): Handle combining characters.
10854 * iconvdata/BIG5HKSCS.irreversible: Update.
10855 * iconvdata/BIG5HKSCS.precomposed: New file.
10856 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10858 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10860 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10862 * include/sys/time.h: Fix indentation and add copyright header.
10864 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10865 (do_test): Likewise.
10866 * string/test-memchr.c (do_one_test): Likewise.
10867 (do_test): Likewise.
10868 * string/test-memcmp.c (do_one_test): Likewise.
10869 (do_test): Likewise.
10870 * string/test-memcpy.c (do_one_test): Likewise.
10871 (do_test): Likewise.
10872 * string/test-memmem.c (do_one_test): Likewise.
10873 (do_test): Likewise.
10874 (do_random_tests): Likewise.
10875 * string/test-memmove.c (do_one_test): Likewise.
10876 (do_test): Likewise.
10877 * string/test-memset.c (do_one_test): Likewise.
10878 (do_test): Likewise.
10879 * string/test-rawmemchr.c (do_one_test): Likewise.
10880 (do_test): Likewise.
10881 * string/test-strcasecmp.c (do_one_test): Likewise.
10882 (do_test): Likewise.
10883 * string/test-strcasestr.c (do_one_test): Likewise.
10884 (do_test): Likewise.
10885 * string/test-strcat.c (do_one_test): Likewise.
10886 (do_test): Likewise.
10887 * string/test-strchr.c (do_one_test): Likewise.
10888 (do_test): Likewise.
10889 * string/test-strcmp.c (do_one_test): Likewise.
10890 (do_test): Likewise.
10891 * string/test-strcpy.c (do_one_test): Likewise.
10892 (do_test): Likewise.
10893 * string/test-string.h: Likewise.
10894 (test_init): Likewise.
10895 * string/test-strlen.c (do_one_test): Likewise.
10896 (do_test): Likewise.
10897 * string/test-strncasecmp.c (do_one_test): Likewise.
10898 (do_test): Likewise.
10899 * string/test-strncat.c (do_one_test): Likewise.
10900 (do_test): Likewise.
10901 * string/test-strncmp.c (do_one_test): Likewise.
10902 (do_test_limit): Likewise.
10903 (do_test): Likewise.
10904 * string/test-strncpy.c (do_one_test): Likewise.
10905 (do_test): Likewise.
10906 * string/test-strnlen.c (do_one_test): Likewise.
10907 (do_test): Likewise.
10908 * string/test-strpbrk.c (do_one_test): Likewise.
10909 (do_test): Likewise.
10910 * string/test-strrchr.c (do_one_test): Likewise.
10911 (do_test): Likewise.
10912 * string/test-strspn.c (do_one_test): Likewise.
10913 (do_test): Likewise.
10914 * string/test-strstr.c (do_one_test): Likewise.
10915 (do_test): Likewise.
10917 * benchtests/Makefile (string-bench): Add string benchmarks.
10918 * benchtests/bench-bcopy-ifunc.c: New file.
10919 * benchtests/bench-bcopy.c: New file.
10920 * benchtests/bench-bzero-ifunc.c: New file.
10921 * benchtests/bench-bzero.c: New file.
10922 * benchtests/bench-memccpy-ifunc.c: New file.
10923 * benchtests/bench-memccpy.c: New file.
10924 * benchtests/bench-memchr-ifunc.c: New file.
10925 * benchtests/bench-memchr.c: New file.
10926 * benchtests/bench-memcmp-ifunc.c: New file.
10927 * benchtests/bench-memcmp.c: New file.
10928 * benchtests/bench-memmem-ifunc.c: New file.
10929 * benchtests/bench-memmem.c: New file.
10930 * benchtests/bench-memmove-ifunc.c: New file.
10931 * benchtests/bench-memmove.c: New file.
10932 * benchtests/bench-mempcpy-ifunc.c: New file.
10933 * benchtests/bench-mempcpy.c: New file.
10934 * benchtests/bench-memset-ifunc.c: New file.
10935 * benchtests/bench-memset.c: New file.
10936 * benchtests/bench-rawmemchr-ifunc.c: New file.
10937 * benchtests/bench-rawmemchr.c: New file.
10938 * benchtests/bench-stpcpy-ifunc.c: New file.
10939 * benchtests/bench-stpcpy.c: New file.
10940 * benchtests/bench-stpncpy-ifunc.c: New file.
10941 * benchtests/bench-stpncpy.c: New file.
10942 * benchtests/bench-strcasecmp-ifunc.c: New file.
10943 * benchtests/bench-strcasecmp.c: New file.
10944 * benchtests/bench-strcasestr-ifunc.c: New file.
10945 * benchtests/bench-strcasestr.c: New file.
10946 * benchtests/bench-strcat-ifunc.c: New file.
10947 * benchtests/bench-strcat.c: New file.
10948 * benchtests/bench-strchr-ifunc.c: New file.
10949 * benchtests/bench-strchr.c: New file.
10950 * benchtests/bench-strchrnul-ifunc.c: New file.
10951 * benchtests/bench-strchrnul.c: New file.
10952 * benchtests/bench-strcmp-ifunc.c: New file.
10953 * benchtests/bench-strcmp.c: New file.
10954 * benchtests/bench-strcpy-ifunc.c: New file.
10955 * benchtests/bench-strcpy.c: New file.
10956 * benchtests/bench-strcspn-ifunc.c: New file.
10957 * benchtests/bench-strcspn.c: New file.
10958 * benchtests/bench-strlen-ifunc.c: New file.
10959 * benchtests/bench-strlen.c: New file.
10960 * benchtests/bench-strncasecmp-ifunc.c: New file.
10961 * benchtests/bench-strncasecmp.c: New file.
10962 * benchtests/bench-strncat-ifunc.c: New file.
10963 * benchtests/bench-strncat.c: New file.
10964 * benchtests/bench-strncmp-ifunc.c: New file.
10965 * benchtests/bench-strncmp.c: New file.
10966 * benchtests/bench-strncpy-ifunc.c: New file.
10967 * benchtests/bench-strncpy.c: New file.
10968 * benchtests/bench-strnlen-ifunc.c: New file.
10969 * benchtests/bench-strnlen.c: New file.
10970 * benchtests/bench-strpbrk-ifunc.c: New file.
10971 * benchtests/bench-strpbrk.c: New file.
10972 * benchtests/bench-strrchr-ifunc.c: New file.
10973 * benchtests/bench-strrchr.c: New file.
10974 * benchtests/bench-strspn-ifunc.c: New file.
10975 * benchtests/bench-strspn.c: New file.
10976 * benchtests/bench-strstr-ifunc.c: New file.
10977 * benchtests/bench-strstr.c: New file.
10979 * benchtests/Makefile: Disable parallel execution of targets.
10980 (string-bench): Add memcpy.
10981 (benchset): New variable to store a list of benchmark sets.
10982 (bench-func): Renamed from bench.
10983 (bench-set): New target.
10984 (bench): Depend on bench-func and bench-set.
10985 * benchtests/README: Add section on benchmark sets.
10986 * benchtests/bench-memcpy-ifunc.c: New file.
10987 * benchtests/bench-memcpy.c: New file.
10988 * benchtests/bench-string.h: New file.
10990 2013-06-11 Andreas Schwab <schwab@suse.de>
10993 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10994 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10995 values in the triple.
10996 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10997 terminator in the group key.
10999 2013-06-11 Andreas Jaeger <aj@suse.de>
11001 * po/zh_TW.po: Update Chinese (traditional) translation from
11002 translation project.
11004 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11006 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11007 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11008 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11009 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11010 (clock_getcpuclockid): Likewise.
11011 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11012 Add weak_alias and libc_hidden_def.
11013 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11014 * rt/clock_gettime.c (clock_gettime): Rename to
11015 __clock_gettime. Add weak_alias and libc_hidden_def.
11016 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11017 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11018 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11019 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11020 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11022 * rt/clock_settime.c (clock_settime): Rename to
11023 __clock_settime. Add weak_alias and libc_hidden_def.
11024 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11026 2013-06-10 Joseph Myers <joseph@codesourcery.com>
11028 * mach/err_boot.sub: Remove trailing whitespace.
11029 * mach/err_ipc.sub: Likewise.
11030 * mach/err_mach.sub: Likewise.
11032 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11033 (ROUNDING_TESTS_double): Likewise.
11034 (ROUNDING_TESTS_long_double): Likewise.
11035 (ROUNDING_TESTS): Likewise.
11036 * math/libm-test.inc: Include <math-tests.h>.
11037 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11038 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11039 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11040 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11042 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11044 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11047 2013-06-08 Joseph Myers <joseph@codesourcery.com>
11049 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11050 otherwise empty TRANS lines.
11051 * sysdeps/gnu/errlist.c: Regenerated.
11053 * catgets/gencat.c (error_print): Use (void) in function
11055 * crypt/crypt_util.c (__init_des): Likewise.
11056 * crypt/speeds.c (Stop): Likewise.
11058 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11059 * inet/ruserpass.c (token): Likewise.
11060 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11061 * intl/localealias.c (extend_alias_table): Likewise.
11062 * intl/plural-exp.c (init_germanic_plural): Likewise.
11063 * libio/fcloseall.c (__fcloseall): Likewise.
11064 * libio/genops.c (_IO_flush_all): Likewise.
11065 (_IO_flush_all_linebuffered): Likewise.
11066 (_IO_cleanup): Likewise.
11067 (_IO_iter_begin): Likewise.
11068 (_IO_iter_end): Likewise.
11069 (_IO_list_lock): Likewise.
11070 (_IO_list_unlock): Likewise.
11071 (_IO_list_resetlock): Likewise.
11072 * libio/getchar.c (getchar): Likewise.
11073 * libio/getchar_u.c (getchar_unlocked): Likewise.
11074 * libio/getwchar.c (getwchar): Likewise.
11075 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
11076 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
11077 * login/getpt.c (__getpt): Likewise.
11078 * login/tst-utmp.c (main): Likewise.
11079 * malloc/hooks.c (__malloc_check_init): Likewise.
11080 * malloc/malloc.c (__malloc_stats): Likewise.
11081 * malloc/mtrace.c (tr_break): Likewise.
11082 (mtrace): Likewise.
11083 (muntrace): Likewise.
11084 * misc/fstab.c (endfsent): Likewise.
11085 * misc/getclktck.c (__getclktck): Likewise.
11086 * misc/getdtsz.c (__getdtablesize): Likewise.
11087 * misc/gethostid.c (gethostid): Likewise.
11088 * misc/getpagesize.c (__getpagesize): Likewise.
11089 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
11090 (__get_nprocs): Likewise.
11091 (__get_phys_pages): Likewise.
11092 (__get_avphys_pages): Likewise.
11093 * misc/getttyent.c (getttyent): Likewise.
11094 (setttyent): Likewise.
11095 (endttyent): Likewise.
11096 * misc/getusershell.c (getusershell): Likewise.
11097 (endusershell): Likewise.
11098 (setusershell): Likewise.
11099 (initshells): Likewise.
11100 * misc/hsearch.c (__hdestroy): Likewise.
11101 * misc/sync.c (sync): Likewise.
11102 * misc/syslog.c (closelog_internal): Likewise.
11103 (closelog): Likewise.
11104 * misc/ttyslot.c (ttyslot): Likewise.
11105 * misc/vhangup.c (vhangup): Likewise.
11106 * posix/fork.c (__fork): Likewise.
11107 * posix/getegid.c (__getegid): Likewise.
11108 * posix/geteuid.c (__geteuid): Likewise.
11109 * posix/getgid.c (__getgid): Likewise.
11110 * posix/getpid.c (__getpid): Likewise.
11111 * posix/getppid.c (__getppid): Likewise.
11112 * posix/getuid.c (__getuid): Likewise.
11113 * posix/pause.c (pause): Likewise.
11114 * posix/setpgrp.c (setpgrp): Likewise.
11115 * posix/setsid.c (__setsid): Likewise.
11116 * posix/test-vfork.c (noop): Likewise.
11117 * resolv/gethnamaddr.c (_endhtent): Likewise.
11118 (_gethtent): Likewise.
11119 (ht_endhostent): Likewise.
11120 (gethostent): Likewise.
11121 (dns_service): Likewise.
11122 * stdlib/drand48.c (drand48): Likewise.
11123 * stdlib/lrand48.c (lrand48): Likewise.
11124 * stdlib/mrand48.c (mrand48): Likewise.
11125 * stdlib/rand.c (rand): Likewise.
11126 * stdlib/random.c (__random): Likewise.
11127 * stdlib/setenv.c (clearenv): Likewise.
11128 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
11129 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
11130 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
11131 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
11132 (__get_nprocs): Likewise.
11133 (__get_phys_pages): Likewise.
11134 (__get_avphys_pages): Likewise.
11135 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
11136 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
11137 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
11138 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
11139 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
11140 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
11141 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
11142 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
11143 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
11144 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
11145 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
11146 * sysdeps/mach/hurd/sync.c (sync): Likewise.
11147 * sysdeps/posix/clock.c (clock): Likewise.
11148 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
11149 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
11150 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
11151 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
11152 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
11153 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
11154 (__get_nprocs_conf): Likewise.
11155 (__get_phys_pages): Likewise.
11156 (__get_avphys_pages): Likewise.
11157 * time/clock.c (clock): Likewise.
11158 * time/tzset.c (__tzname_max): Likewise.
11160 2013-06-07 Joseph Myers <joseph@codesourcery.com>
11162 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
11163 (__bswap_32): Do not use "register".
11164 * crypt/crypt.c (_ufc_doit_r): Likewise.
11165 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
11166 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
11167 * gmon/gmon.c (__monstartup): Likewise.
11168 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
11169 * hurd/hurdmalloc.c (more_memory): Likewise.
11170 (malloc): Likewise.
11172 (realloc): Likewise.
11173 (malloc_fork_prepare): Likewise.
11174 (malloc_fork_parent): Likewise.
11175 (malloc_fork_child): Likewise.
11176 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
11177 (_svcauth_des): Likewise.
11178 * inet/inet_lnaof.c (inet_lnaof): Likewise.
11179 * inet/inet_net.c (inet_network): Likewise.
11180 * inet/inet_netof.c (inet_netof): Likewise.
11181 * inet/rcmd.c (__validuser2_sa): Likewise.
11182 * io/fts.c (fts_open): Likewise.
11183 (fts_load): Likewise.
11184 (fts_close): Likewise.
11185 (fts_read): Likewise.
11186 (fts_children): Likewise.
11187 (fts_build): Likewise.
11188 (fts_stat): Likewise.
11189 (fts_sort): Likewise.
11190 (fts_alloc): Likewise.
11191 (fts_lfree): Likewise.
11192 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11193 (_IO_file_xsgetn): Likewise.
11194 (_IO_file_xsgetn_mmap): Likewise.
11195 * libio/iofopncook.c (_IO_cookie_read): Likewise.
11196 (_IO_cookie_write): Likewise.
11197 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11198 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11199 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11200 * malloc/obstack.c (_obstack_begin): Likewise.
11201 (_obstack_begin_1): Likewise.
11202 (_obstack_newchunk): Likewise.
11203 (_obstack_allocated_p): Likewise.
11204 (obstack_free): Likewise.
11205 (_obstack_memory_used): Likewise.
11206 * misc/getttyent.c (getttynam): Likewise.
11207 (getttyent): Likewise.
11210 * misc/getusershell.c (initshells): Likewise.
11211 * misc/syslog.c (__vsyslog_chk): Likewise.
11212 * misc/ttyslot.c (ttyslot): Likewise.
11213 * nis/nis_hash.c (__nis_hash): Likewise.
11214 * posix/fnmatch_loop.c (FCT): Likewise.
11215 * posix/getconf.c (print_all): Likewise.
11217 * posix/getopt.c (exchange): Likewise.
11218 * posix/glob.c (globfree): Likewise.
11219 (prefix_array): Likewise.
11220 (__glob_pattern_type): Likewise.
11221 * resolv/arpa/nameser.h (NS_GET16): Likewise.
11222 (NS_GET32): Likewise.
11223 (NS_PUT16): Likewise.
11224 (NS_PUT32): Likewise.
11225 * resolv/gethnamaddr.c (getanswer): Likewise.
11226 (gethostbyname2): Likewise.
11227 (gethostbyaddr): Likewise.
11228 (_gethtent): Likewise.
11229 (_gethtbyname2): Likewise.
11230 (_gethtbyaddr): Likewise.
11231 * resolv/ns_print.c (dst_s_get_int16): Likewise.
11232 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11233 * resolv/res_init.c (__res_vinit): Likewise.
11234 (net_mask): Likewise.
11235 * resolv/res_mkquery.c (outchar): Likewise.
11237 * stdio-common/printf_fp.c (outchar): Likewise.
11239 * stdio-common/printf_fphex.c (outchar): Likewise.
11241 * stdio-common/printf_size.c (outchar): Likewise.
11243 * stdio-common/test_rdwr.c (main): Likewise.
11244 * stdio-common/tfformat.c (matches): Likewise.
11245 * stdio-common/vfprintf.c (outchar): Likewise.
11246 (printf_unknown): Likewise.
11247 (buffered_vfprintf): Likewise.
11248 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11249 * stdio-common/xbug.c (AppendToBuffer): Likewise.
11250 (ReadFile): Likewise.
11251 * stdlib/qsort.c (SWAP): Likewise.
11252 (_quicksort): Likewise.
11253 * stdlib/setenv.c (__add_to_environ): Likewise.
11254 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11255 * stdlib/strtol_l.c (__strtol_l): Likewise.
11256 * stdlib/tst-strtod.c (main): Likewise.
11257 * stdlib/tst-strtol.c (main): Likewise.
11258 * stdlib/tst-strtoll.c (main): Likewise.
11259 * string/bits/string2.h (__strcmp_cc): Likewise.
11260 (__strcmp_cg): Likewise.
11261 (__strcspn_c1): Likewise.
11262 (__strcspn_c2): Likewise.
11263 (__strcspn_c3): Likewise.
11264 (__strspn_c1): Likewise.
11265 (__strspn_c2): Likewise.
11266 (__strspn_c3): Likewise.
11267 (__strsep_1c): Likewise.
11268 (__strsep_2c): Likewise.
11269 (__strsep_3c): Likewise.
11270 * string/memccpy.c (__memccpy): Likewise.
11271 * string/stpcpy.c (__stpcpy): Likewise.
11272 * string/strcmp.c (strcmp): Likewise.
11273 * string/strrchr.c (strrchr): Likewise.
11274 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11276 * sysdeps/mach/hurd/getcwd.c
11277 (_hurd_canonicalize_directory_name_internal): Likewise.
11278 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11279 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11280 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11281 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11282 Likewise, in both definitions.
11283 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11285 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11286 64] (__bswap_64): Likewise.
11287 * time/test_time.c (main): Likewise.
11288 * time/tzfile.c (__tzfile_read): Likewise.
11289 (__tzfile_compute): Likewise.
11290 * time/tzset.c (__tzset_parse_tz): Likewise.
11291 (tzset_internal): Likewise.
11292 (compute_change): Likewise.
11293 * wcsmbs/wcscat.c (__wcscat): Likewise.
11294 * wcsmbs/wcschr.c (wcschr): Likewise.
11295 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11296 * wcsmbs/wcscspn.c (wcscspn): Likewise.
11297 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11298 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11299 * wcsmbs/wcsspn.c (wcsspn): Likewise.
11300 * wcsmbs/wcsstr.c (wcsstr): Likewise.
11301 * wcsmbs/wmemchr.c (wmemchr): Likewise.
11302 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11303 * wcsmbs/wmemset.c (wmemset): Likewise.
11305 2013-06-06 Joseph Myers <joseph@codesourcery.com>
11307 * scripts/config.guess: Update to version 2013-05-16.
11308 * scripts/config.sub: Update to version 2013-04-24.
11309 * scripts/install-sh: Update to version 2011-11-20.07.
11310 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11311 * scripts/move-if-change: Update to version 2012-01-06 07:23.
11313 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
11315 * debug/fgetws_u_chk.c: Fix leading whitespaces.
11316 * elf/sln.c: Likewise.
11317 * hurd/hurd/ioctl.h: Likewise.
11318 * hurd/hurdmalloc.c: Likewise.
11319 * hurd/xattr.c: Likewise.
11320 * include/shlib-compat.h: Likewise.
11321 * inet/ruserpass.c: Likewise.
11322 * libio/iofgets_u.c: Likewise.
11323 * libio/iofgetws_u.c: Likewise.
11324 * locale/programs/ld-identification.c: Likewise.
11325 * locale/programs/ld-time.c: Likewise.
11326 * mach/msg-destroy.c: Likewise.
11327 * nss/nss_files/files-netgrp.c: Likewise.
11328 * resolv/res_data.c: Likewise.
11329 * soft-fp/op-1.h: Likewise.
11330 * soft-fp/op-2.h: Likewise.
11331 * soft-fp/op-4.h: Likewise.
11332 * soft-fp/op-common.h: Likewise.
11333 * stdio-common/printf_fphex.c: Likewise.
11334 * stdlib/strtod_l.c: Likewise.
11335 * sunrpc/rpc/clnt.h: Likewise.
11336 * sysdeps/generic/framestate.c: Likewise.
11337 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11338 * sysdeps/i386/bsd-setjmp.S: Likewise.
11339 * sysdeps/i386/__longjmp.S: Likewise.
11340 * sysdeps/i386/setjmp.S: Likewise.
11341 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11342 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11343 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11344 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11345 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11346 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11347 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11348 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11349 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11350 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11351 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11352 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11353 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11354 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11355 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11356 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11357 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11358 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11359 * sysdeps/ieee754/support.c: Likewise.
11360 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11361 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11362 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11363 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11364 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11365 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11366 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11367 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11368 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11369 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11370 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11371 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11372 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11373 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11374 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11375 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11376 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11379 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
11381 * posix/transbug.c: Remove executable mode.
11383 2013-06-05 Joseph Myers <joseph@codesourcery.com>
11385 * crypt/speeds.c: Remove trailing whitespace.
11386 * dlfcn/default.c: Likewise.
11387 * elf/ifuncdep2.c: Likewise.
11388 * elf/ifuncmain1.c: Likewise.
11389 * elf/ifuncmain1vis.c: Likewise.
11390 * elf/testobj.h: Likewise.
11391 * elf/tst-stackguard1.c: Likewise.
11392 * gmon/sys/gmon.h: Likewise.
11393 * hurd/hurdmsg.c: Likewise.
11394 * hurd/new-fd.c: Likewise.
11395 * hurd/ports-get.c: Likewise.
11396 * iconvdata/ibm1008_420.c: Likewise.
11397 * inet/tst-getni1.c: Likewise.
11398 * inet/tst-getni2.c: Likewise.
11399 * libio/ioungetc.c: Likewise.
11400 * libio/wfiledoalloc.c: Likewise.
11401 * manual/libm-err-tab.pl: Likewise.
11402 * math/w_dremf.c: Likewise.
11403 * misc/ftruncate.c: Likewise.
11404 * posix/bug-glob2.c: Likewise.
11405 * posix/tst-pcre.c: Likewise.
11406 * posix/wait4.c: Likewise.
11407 * resolv/README: Likewise.
11408 * resolv/res_debug.h: Likewise.
11409 * resolv/tst-inet_ntop.c: Likewise.
11410 * setjmp/bug269-setjmp.c: Likewise.
11411 * soft-fp/extended.h: Likewise.
11412 * soft-fp/op-1.h: Likewise.
11413 * soft-fp/op-2.h: Likewise.
11414 * soft-fp/op-4.h: Likewise.
11415 * soft-fp/op-8.h: Likewise.
11416 * soft-fp/testit.c: Likewise.
11417 * stdio-common/bug16.c: Likewise.
11418 * stdlib/random.c: Likewise.
11419 * sunrpc/rpcsvc/rquota.x: Likewise.
11420 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11421 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11423 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11424 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11425 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11426 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11427 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11428 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11429 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11430 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11431 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11432 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11433 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11434 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11435 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11436 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11437 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11438 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11439 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11440 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11441 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11442 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11443 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11444 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11445 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11446 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11448 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11449 * sysdeps/ieee754/s_lib_version.c: Likewise.
11450 * sysdeps/mach/hurd/check_fds.c: Likewise.
11451 * sysdeps/mach/hurd/getsockname.c: Likewise.
11452 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11453 * sysdeps/mach/hurd/recvfrom.c: Likewise.
11454 * sysdeps/powerpc/bits/link.h: Likewise.
11455 * sysdeps/powerpc/dl-procinfo.c: Likewise.
11456 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11457 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11458 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11459 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11460 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11461 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11462 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11463 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11464 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11465 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11466 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11467 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11468 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11469 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11470 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11471 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11472 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11473 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11474 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11475 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11476 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11477 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11478 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11479 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11480 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11481 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11482 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11483 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11484 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11485 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11486 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11487 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11488 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11489 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11490 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11491 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11492 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11493 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11494 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11495 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11496 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11497 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11498 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11499 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11500 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11501 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11502 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11503 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11504 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11506 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11507 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11508 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11509 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11510 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11511 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11512 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11513 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11514 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11515 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11516 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11517 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11518 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11519 * sysdeps/powerpc/sysdep.h: Likewise.
11520 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11521 * sysdeps/s390/s390-64/sub_n.S: Likewise.
11522 * sysdeps/sh/dl-trampoline.S: Likewise.
11523 * sysdeps/sh/memset.S: Likewise.
11524 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11525 * sysdeps/sh/strlen.S: Likewise.
11526 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11527 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11528 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11529 * sysdeps/sparc/sparc32/rem.S: Likewise.
11530 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11531 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11532 * sysdeps/sparc/sparc32/strchr.S: Likewise.
11533 * sysdeps/sparc/sparc32/udiv.S: Likewise.
11534 * sysdeps/sparc/sparc32/urem.S: Likewise.
11535 * sysdeps/sparc/sparc64/add_n.S: Likewise.
11536 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11537 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11538 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11539 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11540 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11541 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11542 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11543 * sysdeps/unix/bsd/times.c: Likewise.
11544 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11545 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11549 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11550 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11551 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11552 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11553 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11554 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11555 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11556 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11557 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11558 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11559 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11560 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11561 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11562 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11563 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11564 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11565 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11566 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11567 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11568 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11569 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11570 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11571 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11572 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11573 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11574 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11575 * sysdeps/x86_64/strcspn.S: Likewise.
11577 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11579 * locale/C-translit.h: Revert #include <stdint.h> because this is a
11580 generated file. Regenerate properly from gen-translit.pl.
11581 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
11582 locale/C-translit.h.
11584 2013-06-05 Andreas Schwab <schwab@suse.de>
11587 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11588 week as 6 instead of -1.
11589 * time/tst-strptime.c (day_tests): Add test case.
11591 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11593 * sysdeps/generic/math_private.h
11594 (libc_feholdexcept_setround_53bit): Replace with
11595 libc_feholdsetround_53bit.
11596 (libc_feupdateenv_53bit): Replace with
11597 libc_feresetround_53bit.
11598 (SET_RESTORE_ROUND_53BIT): Adjust.
11600 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
11602 * string/test-strchrnul.c: Add copyright header.
11604 * posix/tst-getaddrinfo4.c: Increase test timeout.
11606 2013-06-03 Carlos O'Donell <carlos@redhat.com>
11609 * math/libm-test.inc (MAX_EXP): Remove
11611 (ulp): Use MIN_EXP - MANT_DIG.
11612 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11614 2013-05-31 Carlos O'Donell <carlos@redhat.com>
11616 * po/be.po: Revert last change.
11617 * po/zh_CN.po: Likewise.
11618 * po/header.pot: Likewise.
11620 2013-05-31 Joseph Myers <joseph@codesourcery.com>
11622 * Makefile ($(common-objpfx)linkobj/libc.so): Define
11623 link-libc-deps to empty as target-specific variable.
11624 * Makerules (link-libc-args): New variable.
11625 (libc-for-link): Likewise.
11626 (link-libc-deps): Likewise.
11627 (lib%.so): Depend on $(link-libc-deps). Link with
11629 (build-module): Link with $(link-libc-args).
11630 (build-module-asneeded): Likewise.
11631 (build-module-helper-objlist): Filter out $(link-libc-deps) from
11633 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11634 target-specific variable.
11635 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11636 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11637 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11639 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11641 ($(objpfx)libpcprofile.so): Likewise.
11642 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11644 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11645 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11646 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11648 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11649 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11650 * login/Makefile ($(objpfx)libutil.so): Likewise.
11651 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11652 * math/Makefile ($(objpfx)libm.so): Likewise.
11653 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11654 $(objpfx)libnsl.so): Define libc-for-link as target-specific
11655 variable instead of depending directly on libc.
11656 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11657 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11659 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11661 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11662 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11663 ($(objpfx)libanl.so): Likewise.
11664 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11666 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11668 * sysdeps/i386/fpu/Makefile: Remove file.
11669 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11670 ($(objpfx)libm.so): Remove dependency on ld.so.
11672 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
11675 * nis/yp_xdr.c (XDRMAXNAME): Define.
11676 (XDRMAXRECORD): Define.
11677 (xdr_domainname): Use XDRMAXNAME.
11678 (xdr_mapname): Likewise.
11679 (xdr_peername): Likewise.
11680 (xdr_keydat): Use XDRMAXRECORD.
11681 (xdr_valdat): Likewise.
11683 2013-05-30 Jeff Law <law@redhat.com>
11686 * manual/errno.texi (ESTALE): Update to account for more than
11687 just NFS file systems.
11688 * sysdeps/gnu/errlist.c: Regenerated.
11690 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11693 * elf/Makefile (tests): Add tst-null-argv.
11694 (modules-names): Add tst-null-argv-lib.
11695 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11696 (tst-null-argv-ENV): Set environment for tst-null-argv.
11697 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11698 (RTLD_PROGNAME): New macro.
11699 * elf/tst-null-argv.c: New test case.
11700 * elf/tst-null-argv-lib.c: Library for test case.
11701 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11702 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11703 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11704 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11705 * elf/dl-init.c (call_init): Likewise.
11706 (_dl_init): Likewise.
11707 * elf/dl-load.c (print_search_path): Likewise.
11708 (_dl_map_object): Likewise.
11709 * elf/dl-lookup.c (do_lookup_x): Likewise.
11710 (add_dependency): Likewise.
11711 (_dl_lookup_symbol_x): Likewise.
11712 (_dl_debug_bindings): Likewise.
11713 * elf/dl-open.c (_dl_show_scope): Likewise.
11714 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11715 * elf/dl-version.c (match_symbol): Likewise.
11716 (_dl_check_map_versions): Likewise.
11717 * elf/rtld.c (dl_main): Likewise.
11718 (print_unresolved): Use RTLD_PROGNAME.
11719 (print_missing_version): Likewise.
11720 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11721 (elf_machine_rela): Likewise.
11722 * sysdeps/powerpc/powerpc32/dl-machine.c
11723 (__process_machine_rela): Likewise.
11724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11726 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11728 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11730 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11731 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11733 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11735 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11737 2013-05-28 Carlos O'Donell <carlos@redhat.com>
11739 * po/be.po: Add descriptive title.
11740 * po/zh_CN.po: Likewise.
11741 * po/header.pot: Likewise.
11743 2013-05-28 Mike Frysinger <vapier@gentoo.org>
11745 * locale/programs/locarchive.c (create_archive): Inlucde fname in
11747 (enlarge_archive): Likewise.
11749 2013-05-28 Ben North <ben@redfrontdoor.org>
11751 * manual/arith.texi (frexp): It is the magnitude of the return
11752 value which lies in [0.5, 1), not the return value itself.
11754 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11758 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
11760 * stdio-common/bug26.c (main): Correct fscanf template.
11762 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11763 declare _dl_skip_args.
11765 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11768 * manual/platform.texi: Add missing @end deftypefun.
11770 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11773 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11774 bit of mantissa of 2^16382.
11775 * math/libm-test.inc (hypot_test_data): Add more tests.
11777 * math/libm-test.inc: Add drem and pow10 to list of tested
11779 (pow10_test): New function.
11780 (drem_test): Likewise.
11781 (drem_test_tonearest): Likewise.
11782 (drem_test_towardzero): Likewise.
11783 (drem_test_downward): Likewise.
11784 (drem_test_upward): Likewise.
11785 (main): Call the new functions.
11787 * math/libm-test.inc (finite_test_data): Remove.
11788 (finite_test): Run tests from isfinite_test_data.
11789 (gamma_test_data): Remove.
11790 (gamma_test): Run tests from lgamma_test_data.
11791 * sysdeps/i386/fpu/libm-test-ulps: Update.
11792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11794 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11796 * manual/platform.texi: Add PowerPC PPR function set documentation.
11797 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11800 2013-05-24 Carlos O'Donell <carlos@redhat.com>
11802 * math/libm-test.inc (MAX_EXP): Define.
11804 (ulp): New function.
11805 (check_float_internal): Use ULPDIFF.
11806 (cpow_test): Disable failing test.
11807 (check_ulp): Test ulp() implemetnation.
11808 (main): Call check_ulp before starting tests.
11810 2013-05-24 Joseph Myers <joseph@codesourcery.com>
11812 * math/gen-libm-test.pl (generate_testfile): Do not handle
11813 START_DATA and END_DATA.
11814 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11816 (acos_tonearest_test_data): Likewise.
11817 (acos_towardzero_test_data): Likewise.
11818 (acos_downward_test_data): Likewise.
11819 (acos_upward_test_data): Likewise.
11820 (acosh_test_data): Likewise.
11821 (asin_test_data): Likewise.
11822 (asin_tonearest_test_data): Likewise.
11823 (asin_towardzero_test_data): Likewise.
11824 (asin_downward_test_data): Likewise.
11825 (asin_upward_test_data): Likewise.
11826 (asinh_test_data): Likewise.
11827 (atan_test_data): Likewise.
11828 (atanh_test_data): Likewise.
11829 (atan2_test_data): Likewise.
11830 (cabs_test_data): Likewise.
11831 (cacos_test_data): Likewise.
11832 (cacosh_test_data): Likewise.
11833 (carg_test_data): Likewise.
11834 (casin_test_data): Likewise.
11835 (casinh_test_data): Likewise.
11836 (catan_test_data): Likewise.
11837 (catanh_test_data): Likewise.
11838 (cbrt_test_data): Likewise.
11839 (ccos_test_data): Likewise.
11840 (ccosh_test_data): Likewise.
11841 (ceil_test_data): Likewise.
11842 (cexp_test_data): Likewise.
11843 (cimag_test_data): Likewise.
11844 (clog_test_data): Likewise.
11845 (clog10_test_data): Likewise.
11846 (conj_test_data): Likewise.
11847 (copysign_test_data): Likewise.
11848 (cos_test_data): Likewise.
11849 (cos_tonearest_test_data): Likewise.
11850 (cos_towardzero_test_data): Likewise.
11851 (cos_downward_test_data): Likewise.
11852 (cos_upward_test_data): Likewise.
11853 (cosh_test_data): Likewise.
11854 (cosh_tonearest_test_data): Likewise.
11855 (cosh_towardzero_test_data): Likewise.
11856 (cosh_downward_test_data): Likewise.
11857 (cosh_upward_test_data): Likewise.
11858 (cpow_test_data): Likewise.
11859 (cproj_test_data): Likewise.
11860 (creal_test_data): Likewise.
11861 (csin_test_data): Likewise.
11862 (csinh_test_data): Likewise.
11863 (csqrt_test_data): Likewise.
11864 (ctan_test_data): Likewise.
11865 (ctan_tonearest_test_data): Likewise.
11866 (ctan_towardzero_test_data): Likewise.
11867 (ctan_downward_test_data): Likewise.
11868 (ctan_upward_test_data): Likewise.
11869 (ctanh_test_data): Likewise.
11870 (ctanh_tonearest_test_data): Likewise.
11871 (ctanh_towardzero_test_data): Likewise.
11872 (ctanh_downward_test_data): Likewise.
11873 (ctanh_upward_test_data): Likewise.
11874 (erf_test_data): Likewise.
11875 (erfc_test_data): Likewise.
11876 (exp_test_data): Likewise.
11877 (exp_tonearest_test_data): Likewise.
11878 (exp_towardzero_test_data): Likewise.
11879 (exp_downward_test_data): Likewise.
11880 (exp_upward_test_data): Likewise.
11881 (exp10_test_data): Likewise.
11882 (exp2_test_data): Likewise.
11883 (expm1_test_data): Likewise.
11884 (fabs_test_data): Likewise.
11885 (fdim_test_data): Likewise.
11886 (finite_test_data): Likewise.
11887 (floor_test_data): Likewise.
11888 (fma_test_data): Likewise.
11889 (fma_towardzero_test_data): Likewise.
11890 (fma_downward_test_data): Likewise.
11891 (fma_upward_test_data): Likewise.
11892 (fmax_test_data): Likewise.
11893 (fmin_test_data): Likewise.
11894 (fmod_test_data): Likewise.
11895 (fpclassify_test_data): Likewise.
11896 (frexp_test_data): Likewise.
11897 (gamma_test_data): Likewise.
11898 (hypot_test_data): Likewise.
11899 (ilogb_test_data): Likewise.
11900 (isfinite_test_data): Likewise.
11901 (isgreater_test_data): Likewise.
11902 (isgreaterequal_test_data): Likewise.
11903 (isinf_test_data): Likewise.
11904 (isless_test_data): Likewise.
11905 (islessequal_test_data): Likewise.
11906 (islessgreater_test_data): Likewise.
11907 (isnan_test_data): Likewise.
11908 (isnormal_test_data): Likewise.
11909 (issignaling_test_data): Likewise.
11910 (isunordered_test_data): Likewise.
11911 (j0_test_data): Likewise.
11912 (j1_test_data): Likewise.
11913 (jn_test_data): Likewise.
11914 (ldexp_test_data): Likewise.
11915 (lgamma_test_data): Likewise.
11916 (lrint_test_data): Likewise.
11917 (lrint_tonearest_test_data): Likewise.
11918 (lrint_towardzero_test_data): Likewise.
11919 (lrint_downward_test_data): Likewise.
11920 (lrint_upward_test_data): Likewise.
11921 (llrint_test_data): Likewise.
11922 (llrint_tonearest_test_data): Likewise.
11923 (llrint_towardzero_test_data): Likewise.
11924 (llrint_downward_test_data): Likewise.
11925 (llrint_upward_test_data): Likewise.
11926 (log_test_data): Likewise.
11927 (log10_test_data): Likewise.
11928 (log1p_test_data): Likewise.
11929 (log2_test_data): Likewise.
11930 (logb_test_data): Likewise.
11931 (logb_downward_test_data): Likewise.
11932 (lround_test_data): Likewise.
11933 (llround_test_data): Likewise.
11934 (modf_test_data): Likewise.
11935 (nearbyint_test_data): Likewise.
11936 (nextafter_test_data): Likewise.
11937 (nexttoward_test_data): Likewise.
11938 (pow_test_data): Likewise.
11939 (pow_tonearest_test_data): Likewise.
11940 (pow_towardzero_test_data): Likewise.
11941 (pow_downward_test_data): Likewise.
11942 (pow_upward_test_data): Likewise.
11943 (remainder_test_data): Likewise.
11944 (remainder_tonearest_test_data): Likewise.
11945 (remainder_towardzero_test_data): Likewise.
11946 (remainder_downward_test_data): Likewise.
11947 (remainder_upward_test_data): Likewise.
11948 (remquo_test_data): Likewise.
11949 (rint_test_data): Likewise.
11950 (rint_tonearest_test_data): Likewise.
11951 (rint_towardzero_test_data): Likewise.
11952 (rint_downward_test_data): Likewise.
11953 (rint_upward_test_data): Likewise.
11954 (round_test_data): Likewise.
11955 (scalb_test_data): Likewise.
11956 (scalbn_test_data): Likewise.
11957 (scalbln_test_data): Likewise.
11958 (signbit_test_data): Likewise.
11959 (sin_test_data): Likewise.
11960 (sin_tonearest_test_data): Likewise.
11961 (sin_towardzero_test_data): Likewise.
11962 (sin_downward_test_data): Likewise.
11963 (sin_upward_test_data): Likewise.
11964 (sincos_test_data): Likewise.
11965 (sinh_test_data): Likewise.
11966 (sinh_tonearest_test_data): Likewise.
11967 (sinh_towardzero_test_data): Likewise.
11968 (sinh_downward_test_data): Likewise.
11969 (sinh_upward_test_data): Likewise.
11970 (sqrt_test_data): Likewise.
11971 (tan_test_data): Likewise.
11972 (tan_tonearest_test_data): Likewise.
11973 (tan_towardzero_test_data): Likewise.
11974 (tan_downward_test_data): Likewise.
11975 (tan_upward_test_data): Likewise.
11976 (tanh_test_data): Likewise.
11977 (tgamma_test_data): Likewise.
11978 (trunc_test_data): Likewise.
11979 (y0_test_data): Likewise.
11980 (y1_test_data): Likewise.
11981 (yn_test_data): Likewise.
11982 (significand_test_data): Likewise.
11984 * math/gen-libm-test.pl (@functions): Remove variable.
11985 (generate_testfile): Don't handle START and END lines.
11986 * math/libm-test.inc (START): New macro.
11988 (END_COMPLEX): Likewise.
11989 (acos_test): Use END macro without arguments.
11990 (acos_test_tonearest): Likewise.
11991 (acos_test_towardzero): Likewise.
11992 (acos_test_downward): Likewise.
11993 (acos_test_upward): Likewise.
11994 (acosh_test): Likewise.
11995 (asin_test): Likewise.
11996 (asin_test_tonearest): Likewise.
11997 (asin_test_towardzero): Likewise.
11998 (asin_test_downward): Likewise.
11999 (asin_test_upward): Likewise.
12000 (asinh_test): Likewise.
12001 (atan_test): Likewise.
12002 (atanh_test): Likewise.
12003 (atan2_test): Likewise.
12004 (cabs_test): Likewise.
12005 (cacos_test): Use END_COMPLEX macro without arguments.
12006 (cacosh_test): Likewise.
12007 (carg_test): Use END macro without arguments.
12008 (casin_test): Use END_COMPLEX macro without arguments.
12009 (casinh_test): Likewise.
12010 (catan_test): Likewise.
12011 (catanh_test): Likewise.
12012 (cbrt_test): Use END macro without arguments.
12013 (ccos_test): Use END_COMPLEX macro without arguments.
12014 (ccosh_test): Likewise.
12015 (ceil_test): Use END macro without arguments.
12016 (cexp_test): Use END_COMPLEX macro without arguments.
12017 (cimag_test): Use END macro without arguments.
12018 (clog_test): Use END_COMPLEX macro without arguments.
12019 (clog10_test): Likewise.
12020 (conj_test): Likewise.
12021 (copysign_test): Use END macro without arguments.
12022 (cos_test): Likewise.
12023 (cos_test_tonearest): Likewise.
12024 (cos_test_towardzero): Likewise.
12025 (cos_test_downward): Likewise.
12026 (cos_test_upward): Likewise.
12027 (cosh_test): Likewise.
12028 (cosh_test_tonearest): Likewise.
12029 (cosh_test_towardzero): Likewise.
12030 (cosh_test_downward): Likewise.
12031 (cosh_test_upward): Likewise.
12032 (cpow_test): Use END_COMPLEX macro without arguments.
12033 (cproj_test): Likewise.
12034 (creal_test): Use END macro without arguments.
12035 (csin_test): Use END_COMPLEX macro without arguments.
12036 (csinh_test): Likewise.
12037 (csqrt_test): Likewise.
12038 (ctan_test): Likewise.
12039 (ctan_test_tonearest): Likewise.
12040 (ctan_test_towardzero): Likewise.
12041 (ctan_test_downward): Likewise.
12042 (ctan_test_upward): Likewise.
12043 (ctanh_test): Likewise.
12044 (ctanh_test_tonearest): Likewise.
12045 (ctanh_test_towardzero): Likewise.
12046 (ctanh_test_downward): Likewise.
12047 (ctanh_test_upward): Likewise.
12048 (erf_test): Use END macro without arguments.
12049 (erfc_test): Likewise.
12050 (exp_test): Likewise.
12051 (exp_test_tonearest): Likewise.
12052 (exp_test_towardzero): Likewise.
12053 (exp_test_downward): Likewise.
12054 (exp_test_upward): Likewise.
12055 (exp10_test): Likewise.
12056 (exp2_test): Likewise.
12057 (expm1_test): Likewise.
12058 (fabs_test): Likewise.
12059 (fdim_test): Likewise.
12060 (finite_test): Likewise.
12061 (floor_test): Likewise.
12062 (fma_test): Likewise.
12063 (fma_test_towardzero): Likewise.
12064 (fma_test_downward): Likewise.
12065 (fma_test_upward): Likewise.
12066 (fmax_test): Likewise.
12067 (fmin_test): Likewise.
12068 (fmod_test): Likewise.
12069 (fpclassify_test): Likewise.
12070 (frexp_test): Likewise.
12071 (gamma_test): Likewise.
12072 (hypot_test): Likewise.
12073 (ilogb_test): Likewise.
12074 (isfinite_test): Likewise.
12075 (isgreater_test): Likewise.
12076 (isgreaterequal_test): Likewise.
12077 (isinf_test): Likewise.
12078 (isless_test): Likewise.
12079 (islessequal_test): Likewise.
12080 (islessgreater_test): Likewise.
12081 (isnan_test): Likewise.
12082 (isnormal_test): Likewise.
12083 (issignaling_test): Likewise.
12084 (isunordered_test): Likewise.
12085 (j0_test): Likewise.
12086 (j1_test): Likewise.
12087 (jn_test): Likewise.
12088 (ldexp_test): Likewise.
12089 (lgamma_test): Likewise.
12090 (lrint_test): Likewise.
12091 (lrint_test_tonearest): Likewise.
12092 (lrint_test_towardzero): Likewise.
12093 (lrint_test_downward): Likewise.
12094 (lrint_test_upward): Likewise.
12095 (llrint_test): Likewise.
12096 (llrint_test_tonearest): Likewise.
12097 (llrint_test_towardzero): Likewise.
12098 (llrint_test_downward): Likewise.
12099 (llrint_test_upward): Likewise.
12100 (log_test): Likewise.
12101 (log10_test): Likewise.
12102 (log1p_test): Likewise.
12103 (log2_test): Likewise.
12104 (logb_test): Likewise.
12105 (logb_test_downward): Likewise.
12106 (lround_test): Likewise.
12107 (llround_test): Likewise.
12108 (modf_test): Likewise.
12109 (nearbyint_test): Likewise.
12110 (nextafter_test): Likewise.
12111 (nexttoward_test): Likewise.
12112 (pow_test): Likewise.
12113 (pow_test_tonearest): Likewise.
12114 (pow_test_towardzero): Likewise.
12115 (pow_test_downward): Likewise.
12116 (pow_test_upward): Likewise.
12117 (remainder_test): Likewise.
12118 (remainder_test_tonearest): Likewise.
12119 (remainder_test_towardzero): Likewise.
12120 (remainder_test_downward): Likewise.
12121 (remainder_test_upward): Likewise.
12122 (remquo_test): Likewise.
12123 (rint_test): Likewise.
12124 (rint_test_tonearest): Likewise.
12125 (rint_test_towardzero): Likewise.
12126 (rint_test_downward): Likewise.
12127 (rint_test_upward): Likewise.
12128 (round_test): Likewise.
12129 (scalb_test): Likewise.
12130 (scalbn_test): Likewise.
12131 (scalbln_test): Likewise.
12132 (signbit_test): Likewise.
12133 (sin_test): Likewise.
12134 (sin_test_tonearest): Likewise.
12135 (sin_test_towardzero): Likewise.
12136 (sin_test_downward): Likewise.
12137 (sin_test_upward): Likewise.
12138 (sincos_test): Likewise.
12139 (sinh_test): Likewise.
12140 (sinh_test_tonearest): Likewise.
12141 (sinh_test_towardzero): Likewise.
12142 (sinh_test_downward): Likewise.
12143 (sinh_test_upward): Likewise.
12144 (sqrt_test): Likewise.
12145 (tan_test): Likewise.
12146 (tan_test_tonearest): Likewise.
12147 (tan_test_towardzero): Likewise.
12148 (tan_test_downward): Likewise.
12149 (tan_test_upward): Likewise.
12150 (tanh_test): Likewise.
12151 (tgamma_test): Likewise.
12152 (trunc_test): Likewise.
12153 (y0_test): Likewise.
12154 (y1_test): Likewise.
12155 (yn_test): Likewise.
12156 (significand_test): Likewise.
12158 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
12161 * libio/genops.c (_IO_no_init): Initialize wide struct info.
12163 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
12166 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
12167 __ppc_mdoio and __ppc_mdoom.
12168 * manual/platform.texi: Document new functions __ppc_yield,
12169 __ppc_mdoio and __ppc_mdoom.
12171 2013-05-22 Carlos O'Donell <carlos@redhat.com>
12173 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
12174 (main): Mention "tls" pseudo-hwcap is legacy.
12175 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
12177 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12179 * math/gen-libm-test.pl (parse_args): Output only string of
12180 arguments as text for test name, not full call or descriptions of
12181 tests for extra outputs.
12182 (generate_testfile): Do not pass function name to parse_args.
12183 Generate this_func variable from START.
12184 * math/libm-test.inc (struct test_f_f_data): Rename test_name
12186 (struct test_ff_f_data): Likewise.
12187 (test_ff_f_data_nexttoward): Likewise.
12188 (struct test_fi_f_data): Likewise.
12189 (struct test_fl_f_data): Likewise.
12190 (struct test_if_f_data): Likewise.
12191 (struct test_fff_f_data): Likewise.
12192 (struct test_c_f_data): Likewise.
12193 (struct test_f_f1_data): Likewise. Remove field extra_name.
12194 (struct test_fF_f1_data): Likewise.
12195 (struct test_ffI_f1_data): Likewise.
12196 (struct test_c_c_data): Rename test_name field to arg_str.
12197 (struct test_cc_c_data): Likewise.
12198 (struct test_f_i_data): Likewise.
12199 (struct test_ff_i_data): Likewise.
12200 (struct test_f_l_data): Likewise.
12201 (struct test_f_L_data): Likewise.
12202 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
12204 (COMMON_TEST_SETUP): New macro.
12205 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12206 (COMMON_TEST_CLEANUP): Likewise.
12207 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12208 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
12210 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12211 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
12213 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12214 (RUN_TEST_fff_f): Take argument string. Call new setup and
12216 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12217 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
12219 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12220 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
12222 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12223 (RUN_TEST_fF_f1): Take argument string. Call new setup and
12225 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12226 (RUN_TEST_fI_f1): Take argument string. Call new setup and
12228 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12229 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
12231 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12232 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
12234 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12235 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
12237 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12238 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
12240 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12241 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
12243 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12244 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
12246 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12247 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
12249 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12250 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
12252 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12253 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
12255 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12256 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
12258 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12259 (RUN_TEST_fFF_11): Take argument string. Call new setup and
12261 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12263 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12265 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12266 to _sifields.sigfault.
12267 (si_addr_lsb): Define new macro.
12268 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12270 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12272 2013-05-03 Carlos O'Donell <carlos at redhat.com>
12275 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12277 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12279 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12280 loading the domain.
12282 2013-05-22 Joseph Myers <joseph@codesourcery.com>
12284 * math/gen-libm-test.pl (parse_args): Do not include expected
12285 result in test name.
12286 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12288 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12289 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12290 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12293 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12295 * benchtests/Makefile: Sort function entries.
12297 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12298 tanh, asinh, acosh, atanh.
12299 * benchtests/acos-inputs: New file.
12300 * benchtests/acosh-inputs: New file.
12301 * benchtests/asin-inputs: New file.
12302 * benchtests/asinh-inputs: New file.
12303 * benchtests/atanh-inputs: New file.
12304 * benchtests/cosh-inputs: New file.
12305 * benchtests/log-inputs: New file.
12306 * benchtests/sinh-inputs: New file.
12307 * benchtests/tanh-inputs: New file.
12309 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
12312 * posix/tst-getaddrinfo4.c: New test.
12313 * posix/Makefile (tests): Add it.
12315 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12318 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12319 when no services were used.
12320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12321 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12323 2013-05-21 Andreas Schwab <schwab@suse.de>
12326 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12327 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12329 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12330 redundant variable declarations and reallocation of buffer when
12331 parsing as IPv6 address. Always set NSS status when called from
12332 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
12333 buffer too small. Correct computation of needed size.
12334 * nss/Makefile (tests): Add test-digits-dots.
12335 * nss/test-digits-dots.c: New test.
12337 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12339 * benchtests/Makefile: Remove instructions for adding
12341 * benchtests/README: New file to explain how to execute and
12342 enhance the benchmark tests.
12344 2013-05-21 Andreas Schwab <schwab@suse.de>
12347 * setjmp/Makefile (tests): Add tst-sigsetjmp.
12348 * setjmp/tst-sigsetjmp.c: New test.
12350 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12352 * sysdeps/x86_64/memset.S (memset): New implementation.
12353 (__bzero): Likewise.
12354 (__memset_tail): New function.
12356 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
12358 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12359 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12360 __memcpy_sse2_unaligned ifunc selection.
12361 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12362 Add memcpy-sse2-unaligned.S.
12363 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12364 Add: __memcpy_sse2_unaligned.
12366 2013-05-19 Joseph Myers <joseph@codesourcery.com>
12369 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12370 math_force_eval before restoring floating-point envrionment.
12371 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12374 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12376 (__nearbyintl): Use math_force_eval before restoring
12377 floating-point environment.
12378 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12380 * math/gen-libm-test.pl (special_functions): Remove.
12381 (parse_args): Don't handle TEST_extra. Handle functions with no
12383 * math/libm-test.inc (struct test_sincos_data): Replace with
12384 struct test_fFF_11_data.
12385 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12386 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12387 (sincos_test_data): Change element type to struct
12388 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
12389 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12390 RUN_TEST_LOOP_sincos.
12391 * math/README.libm-test: Don't mention special handling of
12392 individual functions.
12393 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12394 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12395 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12396 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12397 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12400 * math/gen-libm-test.pl (get_variable): Remove function.
12401 (parse_args): Don't show pointer parameters to call in test
12402 names. Use "extra output N" in test names for extra outputs
12403 rather than naming variables.
12405 2013-05-18 Joseph Myers <joseph@codesourcery.com>
12408 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12409 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12410 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12412 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12414 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12417 * math/gen-libm-test.pl (@tests): Remove variable.
12418 ($count): Likewise.
12419 (new_test): Remove function.
12420 (show_exceptions): New function.
12421 (special_functions): Use show_exceptions instead of new_test.
12422 (parse_args): Likewise.
12423 (generate_testfile): Pass only function name in generated call to
12424 print_max_error or print_complex_max_error.
12425 (get_ulps): Do not handle complex tests specially.
12426 (output_test): Rename to ...
12427 (get_all_ulps_for_test): ... this. Return a string rather than
12428 printing to a file. Require ulps to be present.
12429 (output_ulps): Generate arrays rather than #defines.
12430 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12431 (struct ulp_data): New type.
12432 (BUILD_COMPLEX_ULP): Remove macro.
12433 (compare_ulp_data): New function.
12434 (find_ulps): Likewise.
12435 (find_test_ulps): Likewise.
12436 (find_function_ulps): Likewise.
12437 (find_complex_function_ulps): Likewise.
12438 (print_max_error): Determine allowed ulps using
12439 find_function_ulps.
12440 (print_complex_max_error): Determine allowed ulps using
12441 find_complex_function_ulps.
12442 (check_float_internal): Determine max ulps using find_test_ulps.
12443 (check_float): Do not take max_ulp parameter. Update call to
12444 check_float_internal.
12445 (check_complex): Likewise.
12446 (check_int): Do not take max_ulp parameter.
12447 (check_long): Likewise.
12448 (check_bool): Likewise.
12449 (check_longlong): Likewise.
12450 (struct test_f_f_data): Remove max_ulp field.
12451 (struct test_ff_f_data): Likewise.
12452 (struct test_ff_f_data_nexttoward): Likewise.
12453 (struct test_fi_f_data): Likewise.
12454 (struct test_fl_f_data): Likewise.
12455 (struct test_if_f_data): Likewise.
12456 (struct test_fff_f_data): Likewise.
12457 (struct test_c_f_data): Likewise.
12458 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12459 (struct test_fF_f1_data): Likewise.
12460 (struct test_ffI_f1_data): Likewise.
12461 (struct test_c_c_data): Remove max_ulp field.
12462 (struct test_cc_c_data): Likewise.
12463 (struct test_f_i_data): Likewise.
12464 (struct test_ff_i_data): Likewise.
12465 (struct test_f_l_data): Likewise.
12466 (struct test_f_L_data): Likewise.
12467 (struct test_sincos_data): Likewise.
12468 (RUN_TEST_f_f): Do not handle ulps.
12469 (RUN_TEST_LOOP_f_f): Likewise.
12470 (RUN_TEST_2_f): Likewise.
12471 (RUN_TEST_LOOP_2_f): Likewise.
12472 (RUN_TEST_fff_f): Likewise.
12473 (RUN_TEST_LOOP_fff_f): Likewise.
12474 (RUN_TEST_c_f): Likewise.
12475 (RUN_TEST_LOOP_c_f): Likewise.
12476 (RUN_TEST_f_f1): Likewise.
12477 (RUN_TEST_LOOP_f_f1): Likewise.
12478 (RUN_TEST_fF_f1): Likewise.
12479 (RUN_TEST_LOOP_fF_f1): Likewise.
12480 (RUN_TEST_fI_f1): Likewise.
12481 (RUN_TEST_LOOP_fI_f1): Likewise.
12482 (RUN_TEST_ffI_f1): Likewise.
12483 (RUN_TEST_LOOP_ffI_f1): Likewise.
12484 (RUN_TEST_c_c): Likewise.
12485 (RUN_TEST_LOOP_c_c): Likewise.
12486 (RUN_TEST_cc_c): Likewise.
12487 (RUN_TEST_LOOP_cc_c): Likewise.
12488 (RUN_TEST_f_i): Likewise.
12489 (RUN_TEST_LOOP_f_i): Likewise.
12490 (RUN_TEST_f_i_tg): Likewise.
12491 (RUN_TEST_LOOP_f_i_tg): Likewise.
12492 (RUN_TEST_ff_i_tg): Likewise.
12493 (RUN_TEST_LOOP_ff_i_tg): Likewise.
12494 (RUN_TEST_f_b): Likewise.
12495 (RUN_TEST_LOOP_f_b): Likewise.
12496 (RUN_TEST_f_b_tg): Likewise.
12497 (RUN_TEST_LOOP_f_b_tg): Likewise.
12498 (RUN_TEST_f_l): Likewise.
12499 (RUN_TEST_LOOP_f_l): Likewise.
12500 (RUN_TEST_f_L): Likewise.
12501 (RUN_TEST_LOOP_f_L): Likewise.
12502 (RUN_TEST_sincos): Likewise.
12503 (RUN_TEST_LOOP_sincos): Likewise.
12505 2013-05-17 Joseph Myers <joseph@codesourcery.com>
12509 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12510 main case of finite arguments, set rounding mode to FE_TONEAREST
12511 and discard exceptions.
12512 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12514 (remainder_tonearest_test_data): New variable.
12515 (remainder_test_tonearest): New function.
12516 (remainder_towardzero_test_data): New variable.
12517 (remainder_test_towardzero): New function.
12518 (remainder_downward_test_data): New variable.
12519 (remainder_test_downward): New function.
12520 (remainder_upward_test_data): New variable.
12521 (remainder_test_upward): New function.
12522 (main): Call the new test functions.
12524 * math/libm-test.inc (struct test_f_f1_data): Remove field
12526 (struct test_fF_f1_data): Likewise.
12527 (struct test_ffI_f1_data): Likewise.
12528 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
12529 based on value of EXTRA_EXPECTED.
12530 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12531 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
12532 EXTRA_VAR based on value of EXTRA_EXPECTED.
12533 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12534 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
12535 EXTRA_VAR based on value of EXTRA_EXPECTED.
12536 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12537 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
12538 EXTRA_VAR based on value of EXTRA_EXPECTED.
12539 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12540 * math/gen-libm-test.pl (parse_args): Don't output initializers
12541 for extra output values.
12543 * math/libm-test.inc (check_int): Expect result to be exactly
12544 equal to expected value and do not handle ulps.
12545 (check_long): Likewise.
12546 (check_longlong): Likewise.
12548 * math/libm-test.inc (ceil_test_data): Test for "inexact"
12550 (cimag_test_data): Likewise.
12551 (conj_test_data): Likewise.
12552 (copysign_test_data): Likewise.
12553 (cproj_test_data): Likewise.
12554 (creal_test_data): Likewise.
12555 (fabs_test_data): Likewise.
12556 (fdim_test_data): Likewise.
12557 (finite_test_data): Likewise.
12558 (floor_test_data): Likewise.
12559 (fmax_test_data): Likewise.
12560 (fmin_test_data): Likewise.
12561 (fmod_test_data): Likewise.
12562 (fpclassify_test_data): Likewise.
12563 (frexp_test_data): Likewise.
12564 (ilogb_test_data): Likewise.
12565 (isfinite_test_data): Likewise.
12566 (isgreater_test_data): Likewise.
12567 (isgreaterequal_test_data): Likewise.
12568 (isinf_test_data): Likewise.
12569 (isless_test_data): Likewise.
12570 (islessequal_test_data): Likewise.
12571 (islessgreater_test_data): Likewise.
12572 (isnan_test_data): Likewise.
12573 (isnormal_test_data): Likewise.
12574 (issignaling_test_data): Likewise.
12575 (isunordered_test_data): Likewise.
12576 (ldexp_test_data): Likewise.
12577 (lrint_test_data): Likewise.
12578 (lrint_test_data) [TEST_FLOAT]: Disable one test.
12579 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12580 (lrint_tonearest_test_data): Test for "inexact" exceptions.
12581 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12582 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12583 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12585 (lrint_towardzero_test_data): Test for "inexact" exceptions.
12586 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12587 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12588 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12590 (lrint_downward_test_data): Test for "inexact" exceptions.
12591 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12592 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12593 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12595 (lrint_upward_test_data): Test for "inexact" exceptions.
12596 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12598 (llrint_test_data): Test for "inexact" exceptions.
12599 (llrint_test_data) [TEST_FLOAT]: Disable one test.
12600 (llrint_tonearest_test_data): Test for "inexact" exceptions.
12601 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12602 (llrint_towardzero_test_data): Test for "inexact" exceptions.
12603 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12604 (llrint_downward_test_data): Test for "inexact" exceptions.
12605 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12606 (llrint_upward_test_data): Test for "inexact" exceptions.
12607 (logb_test_data): Likewise.
12608 (logb_downward_test_data): Likewise.
12609 (nextafter_test_data): Likewise.
12610 (nexttoward_test_data): Likewise.
12611 (remainder_test_data): Likewise.
12612 (remquo_test_data): Likewise.
12613 (scalbn_test_data): Likewise.
12614 (scalbln_test_data): Likewise.
12615 (signbit_test_data): Likewise.
12616 (sqrt_test_data): Likewise.
12617 (significand_test_data): Likewise.
12619 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12622 * benchtests/bench-modf.c (struct args): Mark arg0 as
12624 * scripts/bench.pl: Mark members of struct args as volatile.
12626 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12629 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12630 negative infinity on POWER6 or lower.
12631 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12633 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12636 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12637 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12638 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12639 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12640 (_FP_SETQNAN): New macro.
12641 (_FP_SETQNAN_SEMIRAW): Likewise.
12642 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12643 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12644 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12645 (FP_EXTEND): Use _FP_FRAC_SNANP.
12646 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12647 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12649 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12651 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12654 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12656 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12657 with DIVIDE_BY_ZERO_EXCEPTION.
12658 (gamma_test_data): Likewise.
12659 (lgamma_test_data): Likewise.
12660 (log_test_data): Likewise.
12661 (log10_test_data): Likewise.
12662 (log2_test_data): Likewise.
12663 (tgamma_test_data): Likewise.
12665 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12666 (acos_test_tonearest): Likewise.
12667 (acos_test_towardzero): Likewise.
12668 (acos_test_downward): Likewise.
12669 (acos_test_upward): Likewise.
12670 (acosh_test): Likewise.
12671 (asin_test): Likewise.
12672 (asin_test_tonearest): Likewise.
12673 (asin_test_towardzero): Likewise.
12674 (asin_test_downward): Likewise.
12675 (asin_test_upward): Likewise.
12676 (asinh_test): Likewise.
12677 (atan_test): Likewise.
12678 (atanh_test): Likewise.
12679 (atan2_test): Likewise.
12680 (cabs_test): Likewise.
12681 (cacos_test): Likewise.
12682 (cacosh_test): Likewise.
12683 (casin_test): Likewise.
12684 (casinh_test): Likewise.
12685 (catan_test): Likewise.
12686 (catanh_test): Likewise.
12687 (cbrt_test): Likewise.
12688 (ccos_test): Likewise.
12689 (ccosh_test): Likewise.
12690 (cexp_test): Likewise.
12691 (clog_test): Likewise.
12692 (clog10_test): Likewise.
12693 (cos_test): Likewise.
12694 (cos_test_tonearest): Likewise.
12695 (cos_test_towardzero): Likewise.
12696 (cos_test_downward): Likewise.
12697 (cos_test_upward): Likewise.
12698 (cosh_test): Likewise.
12699 (cosh_test_tonearest): Likewise.
12700 (cosh_test_towardzero): Likewise.
12701 (cosh_test_downward): Likewise.
12702 (cosh_test_upward): Likewise.
12703 (cpow_test): Likewise.
12704 (csin_test): Likewise.
12705 (csinh_test): Likewise.
12706 (csqrt_test): Likewise.
12707 (ctan_test): Likewise.
12708 (ctan_test_tonearest): Likewise.
12709 (ctan_test_towardzero): Likewise.
12710 (ctan_test_downward): Likewise.
12711 (ctan_test_upward): Likewise.
12712 (ctanh_test): Likewise.
12713 (ctanh_test_tonearest): Likewise.
12714 (ctanh_test_towardzero): Likewise.
12715 (ctanh_test_downward): Likewise.
12716 (ctanh_test_upward): Likewise.
12717 (erf_test): Likewise.
12718 (erfc_test): Likewise.
12719 (exp_test): Likewise.
12720 (exp_test_tonearest): Likewise.
12721 (exp_test_towardzero): Likewise.
12722 (exp_test_downward): Likewise.
12723 (exp_test_upward): Likewise.
12724 (exp10_test): Likewise.
12725 (exp2_test): Likewise.
12726 (expm1_test): Likewise.
12727 (fmod_test): Likewise.
12728 (gamma_test): Likewise.
12729 (hypot_test): Likewise.
12730 (j0_test): Likewise.
12731 (j1_test): Likewise.
12732 (jn_test): Likewise.
12733 (lgamma_test): Likewise.
12734 (log_test): Likewise.
12735 (log10_test): Likewise.
12736 (log1p_test): Likewise.
12737 (log2_test): Likewise.
12738 (logb_test_downward): Likewise.
12739 (pow_test): Likewise.
12740 (pow_test_tonearest): Likewise.
12741 (pow_test_towardzero): Likewise.
12742 (pow_test_downward): Likewise.
12743 (pow_test_upward): Likewise.
12744 (remainder_test): Likewise.
12745 (remquo_test): Likewise.
12746 (sin_test): Likewise.
12747 (sin_test_tonearest): Likewise.
12748 (sin_test_towardzero): Likewise.
12749 (sin_test_downward): Likewise.
12750 (sin_test_upward): Likewise.
12751 (sincos_test): Likewise.
12752 (sinh_test): Likewise.
12753 (sinh_test_tonearest): Likewise.
12754 (sinh_test_towardzero): Likewise.
12755 (sinh_test_downward): Likewise.
12756 (sinh_test_upward): Likewise.
12757 (sqrt_test): Likewise.
12758 (tan_test): Likewise.
12759 (tan_test_tonearest): Likewise.
12760 (tan_test_towardzero): Likewise.
12761 (tan_test_downward): Likewise.
12762 (tan_test_upward): Likewise.
12763 (tanh_test): Likewise.
12764 (tgamma_test): Likewise.
12765 (y0_test): Likewise.
12766 (y1_test): Likewise.
12767 (yn_test): Likewise.
12769 * math/gen-libm-test.pl (adjust_arg): Remove function.
12770 (special_function): Remove argument $in_func. Only handle
12771 generating output for tables of tests, not inside functions.
12772 (parse_args): Likewise.
12773 (generate_testfile): Remove variable $in_func. Update call to
12775 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12776 (MINUS_ZERO_INIT): Rename macro to minus_zero.
12777 (PLUS_INFTY_INIT): Rename macro to plus_infty.
12778 (MINUS_INFTY_INIT): Rename macro to minus_infty.
12779 (QNAN_VALUE_INIT): Rename macro to qnan_value.
12780 (MAX_VALUE_INIT): Rename macro to max_value.
12781 (MIN_VALUE_INIT): Rename macro to min_value.
12782 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12783 (plus_zero): Remove variable.
12784 (minus_zero): Likewise.
12785 (plus_infty): Likewise.
12786 (minus_infty): Likewise.
12787 (qnan_value): Likewise.
12788 (max_value): Likewise.
12789 (min_value): Likewise.
12790 (min_subnorm_value): Likewise.
12792 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12794 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12795 uint64_t or uint32_t usage.
12796 * crypt/sha256-block.c: Likewise.
12797 * crypt/sha256-crypt.c: Likewise.
12798 * crypt/sha256.c: Likewise.
12799 * crypt/sha512-block.c: Likewise.
12800 * crypt/sha512-crypt.c: Likewise.
12801 * crypt/sha512.c: Likewise.
12802 * debug/backtrace-tst.c: Likewise.
12803 * debug/pcprofiledump.c: Likewise.
12804 * elf/cache.c: Likewise.
12805 * elf/dl-cache.c: Likewise.
12806 * elf/dl-misc.c: Likewise.
12807 * elf/dl-profile.c: Likewise.
12808 * elf/dl-support.c: Likewise.
12809 * elf/ldconfig.c: Likewise.
12810 * elf/sprof.c: Likewise.
12811 * iconv/dummy-repertoire.c: Likewise.
12812 * iconv/iconv_charmap.c: Likewise.
12813 * iconv/skeleton.c: Likewise.
12814 * iconvdata/8bit-generic.c: Likewise.
12815 * iconvdata/cp737.h: Likewise.
12816 * iconvdata/cp775.h: Likewise.
12817 * iconvdata/ibm1008.h: Likewise.
12818 * iconvdata/ibm1025.h: Likewise.
12819 * iconvdata/ibm1046.h: Likewise.
12820 * iconvdata/ibm1097.h: Likewise.
12821 * iconvdata/ibm1112.h: Likewise.
12822 * iconvdata/ibm1122.h: Likewise.
12823 * iconvdata/ibm1123.h: Likewise.
12824 * iconvdata/ibm1124.h: Likewise.
12825 * iconvdata/ibm1129.h: Likewise.
12826 * iconvdata/ibm1130.h: Likewise.
12827 * iconvdata/ibm1132.h: Likewise.
12828 * iconvdata/ibm1133.h: Likewise.
12829 * iconvdata/ibm1137.h: Likewise.
12830 * iconvdata/ibm1140.h: Likewise.
12831 * iconvdata/ibm1141.h: Likewise.
12832 * iconvdata/ibm1142.h: Likewise.
12833 * iconvdata/ibm1143.h: Likewise.
12834 * iconvdata/ibm1144.h: Likewise.
12835 * iconvdata/ibm1145.h: Likewise.
12836 * iconvdata/ibm1146.h: Likewise.
12837 * iconvdata/ibm1147.h: Likewise.
12838 * iconvdata/ibm1148.h: Likewise.
12839 * iconvdata/ibm1149.h: Likewise.
12840 * iconvdata/ibm1153.h: Likewise.
12841 * iconvdata/ibm1154.h: Likewise.
12842 * iconvdata/ibm1155.h: Likewise.
12843 * iconvdata/ibm1156.h: Likewise.
12844 * iconvdata/ibm1157.h: Likewise.
12845 * iconvdata/ibm1158.h: Likewise.
12846 * iconvdata/ibm1160.h: Likewise.
12847 * iconvdata/ibm1161.h: Likewise.
12848 * iconvdata/ibm1162.h: Likewise.
12849 * iconvdata/ibm1163.h: Likewise.
12850 * iconvdata/ibm1164.h: Likewise.
12851 * iconvdata/ibm1166.h: Likewise.
12852 * iconvdata/ibm1167.h: Likewise.
12853 * iconvdata/ibm12712.h: Likewise.
12854 * iconvdata/ibm1390.h: Likewise.
12855 * iconvdata/ibm1399.h: Likewise.
12856 * iconvdata/ibm16804.h: Likewise.
12857 * iconvdata/ibm4517.h: Likewise.
12858 * iconvdata/ibm4899.h: Likewise.
12859 * iconvdata/ibm4909.h: Likewise.
12860 * iconvdata/ibm4971.h: Likewise.
12861 * iconvdata/ibm5347.h: Likewise.
12862 * iconvdata/ibm803.h: Likewise.
12863 * iconvdata/ibm856.h: Likewise.
12864 * iconvdata/ibm901.h: Likewise.
12865 * iconvdata/ibm902.h: Likewise.
12866 * iconvdata/ibm9030.h: Likewise.
12867 * iconvdata/ibm9066.h: Likewise.
12868 * iconvdata/ibm921.h: Likewise.
12869 * iconvdata/ibm922.h: Likewise.
12870 * iconvdata/ibm9448.h: Likewise.
12871 * iconvdata/isiri-3342.h: Likewise.
12872 * iconvdata/jis0201.h: Likewise.
12873 * include/link.h: Likewise.
12874 * include/netdb.h: Likewise.
12875 * inet/check_native.c: Likewise.
12876 * inet/check_pf.c: Likewise.
12877 * inet/getipv4sourcefilter.c: Likewise.
12878 * inet/getnameinfo.c: Likewise.
12879 * inet/getsourcefilter.c: Likewise.
12880 * inet/htonl.c: Likewise.
12881 * inet/setipv4sourcefilter.c: Likewise.
12882 * inet/setsourcefilter.c: Likewise.
12883 * inet/test-inet6_opt.c: Likewise.
12884 * inet/tst-network.c: Likewise.
12885 * locale/C-collate.c: Likewise.
12886 * locale/C-ctype.c: Likewise.
12887 * locale/C-time.c: Likewise.
12888 * locale/C-translit.h: Likewise.
12889 * locale/loadarchive.c: Likewise.
12890 * locale/programs/3level.h: Likewise.
12891 * locale/programs/charmap.c: Likewise.
12892 * locale/programs/charmap.h: Likewise.
12893 * locale/programs/ld-address.c: Likewise.
12894 * locale/programs/ld-collate.c: Likewise.
12895 * locale/programs/ld-ctype.c: Likewise.
12896 * locale/programs/ld-identification.c: Likewise.
12897 * locale/programs/ld-measurement.c: Likewise.
12898 * locale/programs/ld-messages.c: Likewise.
12899 * locale/programs/ld-monetary.c: Likewise.
12900 * locale/programs/ld-name.c: Likewise.
12901 * locale/programs/ld-numeric.c: Likewise.
12902 * locale/programs/ld-paper.c: Likewise.
12903 * locale/programs/ld-telephone.c: Likewise.
12904 * locale/programs/ld-time.c: Likewise.
12905 * locale/programs/linereader.c: Likewise.
12906 * locale/programs/locale.c: Likewise.
12907 * locale/programs/locarchive.c: Likewise.
12908 * locale/programs/locfile.h: Likewise.
12909 * locale/programs/repertoire.c: Likewise.
12910 * locale/programs/simple-hash.c: Likewise.
12911 * locale/programs/simple-hash.h: Likewise.
12912 * malloc/memusage.c: Likewise.
12913 * malloc/memusagestat.c: Likewise.
12914 * nis/nis_defaults.c: Likewise.
12915 * nis/nis_hash.c: Likewise.
12916 * nis/nis_print.c: Likewise.
12917 * nis/nis_xdr.c: Likewise.
12918 * nscd/connections.c: Likewise.
12919 * nscd/hstcache.c: Likewise.
12920 * nscd/nscd_gethst_r.c: Likewise.
12921 * nscd/nscd_getserv_r.c: Likewise.
12922 * nscd/nscd_helper.c: Likewise.
12923 * nscd/servicescache.c: Likewise.
12924 * nss/makedb.c: Likewise.
12925 * nss/nss_db/db-XXX.c: Likewise.
12926 * nss/nss_db/db-initgroups.c: Likewise.
12927 * nss/nss_db/db-netgrp.c: Likewise.
12928 * nss/nss_files/files-network.c: Likewise.
12929 * nss/nss_files/files-parse.c: Likewise.
12930 * posix/bug-regex5.c: Likewise.
12931 * posix/fnmatch_loop.c: Likewise.
12932 * posix/regcomp.c: Likewise.
12933 * posix/regexec.c: Likewise.
12934 * posix/tst-rfc3484-2.c: Likewise.
12935 * posix/tst-rfc3484-3.c: Likewise.
12936 * posix/tst-rfc3484.c: Likewise.
12937 * resolv/nss_dns/dns-canon.c: Likewise.
12938 * resolv/nss_dns/dns-network.c: Likewise.
12939 * resolv/res_init.c: Likewise.
12940 * resolv/res_mkquery.c: Likewise.
12941 * resolv/tst-aton.c: Likewise.
12942 * stdlib/cxa_atexit.c: Likewise.
12943 * stdlib/cxa_finalize.c: Likewise.
12944 * stdlib/gen-fpioconst.c: Likewise.
12945 * stdlib/strtol_l.c: Likewise.
12946 * string/tst-endian.c: Likewise.
12947 * sunrpc/auth_des.c: Likewise.
12948 * sunrpc/clnt_udp.c: Likewise.
12949 * sunrpc/rtime.c: Likewise.
12950 * sunrpc/svcauth_des.c: Likewise.
12951 * sunrpc/xdr.c: Likewise.
12952 * sunrpc/xdr_intXX_t.c: Likewise.
12953 * sunrpc/xdr_rec.c: Likewise.
12954 * sysdeps/generic/ldconfig.h: Likewise.
12955 * sysdeps/generic/ldsodefs.h: Likewise.
12956 * sysdeps/generic/memusage.h: Likewise.
12957 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12958 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12959 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12960 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12961 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12963 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12964 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12965 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12966 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12967 * sysdeps/posix/getaddrinfo.c: Likewise.
12968 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12969 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12970 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12971 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12972 * sysdeps/powerpc/test-gettimebase.c: Likewise.
12973 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12974 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12975 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12976 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12977 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12978 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12979 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12980 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12981 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12982 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12983 * sysdeps/x86_64/dl-tls.h: Likewise.
12984 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12985 * time/alt_digit.c: Likewise.
12986 * time/era.c: Likewise.
12987 * wcsmbs/tst-c16c32-1.c: Likewise.
12989 2013-05-16 Joseph Myers <joseph@codesourcery.com>
12991 * math/libm-test.inc (struct test_sincos_data): New type.
12992 (RUN_TEST_LOOP_sincos): New macro.
12993 (sincos_test_data): New variable.
12994 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12996 2013-05-16 Richard Henderson <rth@redhat.com>
12998 * math/atest-exp2.c (LIMB64): New macro.
12999 (CONSTSZ): New macro.
13000 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13002 (print_mpn_fp): ... to function scope.
13003 (read_mpn_hex): Remove.
13004 (get_log2): Remove.
13005 (exp2_mpn): Use mp_log2.
13006 (main): Use mp_exp1.
13008 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13010 * math/libm-test.inc: Remove comment about not testing "inexact"
13012 (INEXACT_EXCEPTION): New macro.
13013 (NO_INEXACT_EXCEPTION): Likewise.
13014 (INVALID_EXCEPTION_OK): Update value.
13015 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13016 (OVERFLOW_EXCEPTION_OK): Likewise.
13017 (UNDERFLOW_EXCEPTION_OK): Likewise.
13018 (IGNORE_ZERO_INF_SIGN): Likewise.
13019 (ERRNO_UNCHANGED): Likewise.
13020 (ERRNO_EDOM): Likewise.
13021 (ERRNO_ERANGE): Likewise.
13022 (test_exceptions): Handle testing "inexact" exceptions.
13023 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13024 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13025 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13026 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13028 (rint_towardzero_test_data): Likewise.
13029 (rint_downward_test_data): Likewise.
13030 (rint_upward_test_data): Likewise.
13032 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13033 with OVERFLOW_EXCEPTION.
13034 (exp10_test_data): Likewise.
13035 (exp2_test_data): Likewise.
13036 (expm1_test_data): Likewise.
13037 (lgamma_test_data): Likewise.
13038 (pow_test_data): Likewise.
13039 (tgamma_test_data): Likewise.
13040 (yn_test_data): Remove duplicate test of overflow.
13042 * math/libm-test.inc (struct test_cc_c_data): New type.
13043 (RUN_TEST_LOOP_cc_c): New macro.
13044 (cpow_test_data): New variable.
13045 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13047 * math/libm-test.inc (struct test_f_L_data): New type.
13048 (RUN_TEST_LOOP_f_L): New macro.
13049 (llrint_test_data): New variable.
13050 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13051 (llrint_tonearest_test_data): New variable.
13052 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13053 (llrint_towardzero_test_data): New variable.
13054 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13055 (llrint_downward_test_data): New variable.
13056 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13057 (llrint_upward_test_data): New variable.
13058 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13059 (llround_test_data): New variable.
13060 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13062 2013-05-13 Peter Collingbourne <pcc@google.com>
13064 * math/atest-exp2.c (get_log2): Remove const attribute.
13066 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13068 * math/libm-test.inc (struct test_f_l_data): New type.
13069 (RUN_TEST_LOOP_f_l): New macro.
13070 (lrint_test_data): New variable.
13071 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13072 (lrint_tonearest_test_data): New variable.
13073 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
13074 (lrint_towardzero_test_data): New variable.
13075 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
13076 (lrint_downward_test_data): New variable.
13077 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
13078 (lrint_upward_test_data): New variable.
13079 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
13080 (lround_test_data): New variable.
13081 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
13083 2013-05-15 Peter Collingbourne <pcc@google.com>
13085 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
13086 (EXTRACT_WORDS64) Use where appropriate.
13087 (INSERT_WORDS64) Likewise.
13089 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
13090 constraints with x constraints.
13091 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
13093 * malloc/obstack.c (_obstack_compat): Add initializer.
13095 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
13097 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
13098 si_trapno and add si_addr_lsb to _sifields.sigfault.
13099 (si_trapno): Remove macro.
13100 (si_addr_lsb): Define new macro.
13101 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13103 2013-05-15 Joseph Myers <joseph@codesourcery.com>
13105 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
13106 instead of TEST_f_l.
13107 (llrint_test_tonearest): Likewise.
13108 (llrint_test_towardzero): Likewise.
13109 (llrint_test_downward): Likewise.
13110 (llrint_test_upward): Likewise.
13111 (llround_test): Likewise.
13113 * math/libm-test.inc (struct test_f_i_data): Add comment.
13114 (RUN_TEST_LOOP_f_b): New macro.
13115 (RUN_TEST_LOOP_f_b_tg): Likewise.
13116 (finite_test_data): New variable.
13117 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
13118 (isfinite_test_data): New variable.
13119 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13120 (isinf_test_data): New variable.
13121 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13122 (isnan_test_data): New variable.
13123 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13124 (isnormal_test_data): New variable.
13125 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13126 (issignaling_test_data): New variable.
13127 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13128 (signbit_test_data): New variable.
13129 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
13131 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
13132 with INVALID_EXCEPTION.
13133 (acosh_test_data): Likewise.
13134 (asin_test_data): Likewise.
13135 (atanh_test_data): Likewise.
13136 (fmod_test_data): Likewise.
13137 (log_test_data): Likewise.
13138 (log10_test_data): Likewise.
13139 (log2_test_data): Likewise.
13140 (pow_test_data): Likewise.
13141 (sqrt_test_data): Likewise.
13142 (y0_test_data): Likewise.
13143 (y1_test_data): Likewise.
13144 (yn_test_data): Likewise.
13146 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
13149 * math/libm-test.inc (struct test_ff_i_data): New type.
13150 (RUN_TEST_LOOP_ff_i_tg): New macro.
13151 (isgreater_test_data): New variable.
13152 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13153 (isgreaterequal_test_data): New variable.
13154 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13155 (isless_test_data): New variable.
13156 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13157 (islessequal_test_data): New variable.
13158 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13159 (islessgreater_test_data): New variable.
13160 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13161 (isunordered_test_data): New variable.
13162 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
13164 2013-05-14 David S. Miller <davem@davemloft.net>
13166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13168 2013-05-14 Joseph Myers <joseph@codesourcery.com>
13170 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
13172 * math/libm-test.inc (struct test_fF_f1_data): Change type of
13174 (struct test_f_i_data): Change type of max_ulp to int.
13176 * math/libm-test.inc (test_ffI_f1_data): New type.
13177 (RUN_TEST_LOOP_ffI_f1): New macro.
13178 (remquo_test_data): New variable.
13179 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
13181 * setjmp/tst-setjmp-fp.c: New file.
13182 * setjmp/Makefile (tests): Add tst-setjmp-fp.
13183 (link-libm): New variable.
13184 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
13186 * math/libm-test.inc (struct test_f_i_data): New type.
13187 (RUN_TEST_LOOP_f_i): New macro.
13188 (RUN_TEST_LOOP_f_i_tg): Likewise.
13189 (fpclassify_test_data): New variable.
13190 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13191 (ilogb_test_data): New variable.
13192 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13194 * math/libm-test.inc (scalbln_test): Correct function name in END
13197 * math/libm-test.inc (struct test_f_f1_data): Add comment.
13198 (RUN_TEST_LOOP_fI_f1): New macro.
13199 (frexp_test_data): New variable.
13200 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13202 * math/libm-test.inc (struct test_fF_f1_data): New type.
13203 (RUN_TEST_LOOP_fF_f1): New macro.
13204 (modf_test_data): New variable.
13205 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13207 * math/libm-test.inc (struct test_f_f1_data): New type.
13208 (RUN_TEST_LOOP_f_f1): New macro.
13209 (gamma_test_data): New variable.
13210 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13211 (lgamma_test_data): New variable.
13212 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13214 2013-05-13 Carlos O'Donell <carlos@redhat.com>
13216 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13217 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13218 (main): Comment "tls" pseudo-hwcap.
13220 2013-05-13 Joseph Myers <joseph@codesourcery.com>
13222 * math/libm-test.inc (struct test_fl_f_data): New type.
13223 (RUN_TEST_LOOP_fl_f): New variable.
13224 (scalbln_test_data): New variable.
13225 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13227 * math/libm-test.inc (struct test_fi_f_data): New type.
13228 (RUN_TEST_LOOP_fi_f): New macro.
13229 (ldexp_test_data): New variable.
13230 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13231 (scalbn_test_data): New variable.
13232 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13234 * math/libm-test.inc (struct test_c_f_data): New type.
13235 (RUN_TEST_LOOP_c_f): New macro.
13236 (cabs_test_data): New variable.
13237 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13238 (carg_test_data): New variable.
13239 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13240 (cimag_test_data): New variable.
13241 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13242 (creal_test_data): New variable.
13243 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13245 * math/libm-test.inc (struct test_if_f_data): New type.
13246 (RUN_TEST_LOOP_if_f): New macro.
13247 (jn_test_data): New variable.
13248 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13249 (yn_test_data): New variable.
13250 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13252 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13254 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13256 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13257 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13259 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
13261 * benchtests/Makefile (CPPFLAGS-nonlib): Add
13262 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13263 (bench-deps): Add bench-timing.h.
13264 * benchtests-bench-skeleton.c: Include bench-timing.h.
13265 (main): Use TIMING_* macros instead of clock_gettime.
13266 * benchtests/bench-timing.h: New file.
13269 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13270 Renamed from _LIB_VERSION.
13271 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13273 2013-05-12 Joseph Myers <joseph@codesourcery.com>
13275 * math/libm-test.inc (struct test_fff_f_data): New type.
13276 (RUN_TEST_LOOP_fff_f): New macro.
13277 (fma_test_data): New variable.
13278 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13279 (fma_towardzero_test_data): New variable.
13280 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13281 (fma_downward_test_data): New variable.
13282 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13283 (fma_upward_test_data): New variable.
13284 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13286 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13287 (struct test_c_c_data): New type.
13288 (RUN_TEST_LOOP_c_c): New macro.
13289 (cacos_test_data): New variable.
13290 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13291 (cacosh_test_data): New variable.
13292 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13293 (casin_test_data): New variable.
13294 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13295 (casinh_test_data): New variable.
13296 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13297 (catan_test_data): New variable.
13298 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13299 (catanh_test_data): New variable.
13300 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13301 (ccos_test_data): New variable.
13302 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13303 (ccosh_test_data): New variable.
13304 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13305 (cexp_test_data): New variable.
13306 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13307 (clog_test_data): New variable.
13308 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13309 (clog10_test_data): New variable.
13310 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13311 (conj_test_data): New variable.
13312 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13313 (cproj_test_data): New variable.
13314 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13315 (csin_test_data): New variable.
13316 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13317 (csinh_test_data): New variable.
13318 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13319 (csqrt_test_data): New variable.
13320 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13321 (ctan_test_data): New variable.
13322 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13323 (ctan_tonearest_test_data): New variable.
13324 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13325 (ctan_towardzero_test_data): New variable.
13326 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13327 (ctan_downward_test_data): New variable.
13328 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13329 (ctan_upward_test_data): New variable.
13330 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13331 (ctanh_test_data): New variable.
13332 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13333 (ctanh_tonearest_test_data): New variable.
13334 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13335 (ctanh_towardzero_test_data): New variable.
13336 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13337 (ctanh_downward_test_data): New variable.
13338 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13339 (ctanh_upward_test_data): New variable.
13340 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13341 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13344 * math/libm-test.inc (struct test_ff_f_data): New type.
13345 (struct test_ff_f_data_nexttoward): Likewise.
13346 (RUN_TEST_LOOP_2_f): New macro.
13347 (RUN_TEST_LOOP_ff_f): Likewise.
13348 (atan2_test_data): New variable.
13349 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13350 (copysign_test_data): New variable.
13351 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13352 (fdim_test_data): New variable.
13353 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13354 (fmax_test_data): New variable.
13355 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13356 (fmin_test_data): New variable.
13357 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13358 (fmod_test_data): New variable.
13359 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13360 (hypot_test_data): New variable.
13361 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13362 (nextafter_test_data): New variable.
13363 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13364 (nexttoward_test_data): New variable.
13365 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13366 (pow_test_data): New variable.
13367 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13368 (pow_tonearest_test_data): New variable.
13369 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13370 (pow_towardzero_test_data): New variable.
13371 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13372 (pow_downward_test_data): New variable.
13373 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13374 (pow_upward_test_data): New variable.
13375 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13376 (remainder_test_data): New variable.
13377 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13378 (scalb_test_data): New variable.
13379 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13380 * sysdeps/i386/fpu/libm-test-ulps: Update.
13382 2013-05-11 Joseph Myers <joseph@codesourcery.com>
13384 * math/libm-test.inc (fma_test): Use max_value instead of local
13386 (nextafter_test): Likewise.
13388 * math/libm-test.inc (acos_towardzero_test_data): New variable.
13389 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13390 (acos_downward_test_data): New variable.
13391 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13392 (acos_upward_test_data): New variable.
13393 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13394 (acosh_test_data): New variable.
13395 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13396 (asin_test_data): New variable.
13397 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13398 (asin_tonearest_test_data): New variable.
13399 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13400 (asin_towardzero_test_data): New variable.
13401 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13402 (asin_downward_test_data): New variable.
13403 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13404 (asin_upward_test_data): New variable.
13405 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13406 (asinh_test_data): New variable.
13407 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13408 (atan_test_data): New variable.
13409 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13410 (atanh_test_data): New variable.
13411 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13412 (cbrt_test_data): New variable.
13413 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13414 (ceil_test_data): New variable.
13415 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13416 (cos_test_data): New variable.
13417 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13418 (cos_tonearest_test_data): New variable.
13419 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13420 (cos_towardzero_test_data): New variable.
13421 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13422 (cos_downward_test_data): New variable.
13423 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13424 (cos_upward_test_data): New variable.
13425 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13426 (cosh_test_data): New variable.
13427 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13428 (cosh_tonearest_test_data): New variable.
13429 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13430 (cosh_towardzero_test_data): New variable.
13431 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13432 (cosh_downward_test_data): New variable.
13433 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13434 (cosh_upward_test_data): New variable.
13435 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13436 (erf_test_data): New variable.
13437 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13438 (erfc_test_data): New variable.
13439 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13440 (exp_test_data): New variable.
13441 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13442 (exp_tonearest_test_data): New variable.
13443 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13444 (exp_towardzero_test_data): New variable.
13445 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13446 (exp_downward_test_data): New variable.
13447 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13448 (exp_upward_test_data): New variable.
13449 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13450 (exp10_test_data): New variable.
13451 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13452 (exp2_test_data): New variable.
13453 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13454 (expm1_test_data): New variable.
13455 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13456 (fabs_test_data): New variable.
13457 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13458 (floor_test_data): New variable.
13459 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13460 (j0_test_data): New variable.
13461 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13462 (j1_test_data): New variable.
13463 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13464 (log_test_data): New variable.
13465 (log_test): Run tests with RUN_TEST_LOOP_f_f.
13466 (log10_test_data): New variable.
13467 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13468 (log1p_test_data): New variable.
13469 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13470 (log2_test_data): New variable.
13471 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13472 (logb_test_data): New variable.
13473 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13474 (logb_downward_test_data): New variable.
13475 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13476 (nearbyint_test_data): New variable.
13477 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13478 (rint_test_data): New variable.
13479 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13480 (rint_tonearest_test_data): New variable.
13481 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13482 (rint_towardzero_test_data): New variable.
13483 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13484 (rint_downward_test_data): New variable.
13485 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13486 (rint_upward_test_data): New variable.
13487 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13488 (round_test_data): New variable.
13489 (round_test): Run tests with RUN_TEST_LOOP_f_f.
13490 (sin_test_data): New variable.
13491 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13492 (sin_tonearest_test_data): New variable.
13493 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13494 (sin_towardzero_test_data): New variable.
13495 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13496 (sin_downward_test_data): New variable.
13497 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13498 (sin_upward_test_data): New variable.
13499 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13500 (sinh_test_data): New variable.
13501 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13502 (sinh_tonearest_test_data): New variable.
13503 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13504 (sinh_towardzero_test_data): New variable.
13505 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13506 (sinh_downward_test_data): New variable.
13507 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13508 (sinh_upward_test_data): New variable.
13509 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13510 (sqrt_test_data): New variable.
13511 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13512 (tan_test_data): New variable.
13513 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13514 (tan_tonearest_test_data): New variable.
13515 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13516 (tan_towardzero_test_data): New variable.
13517 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13518 (tan_downward_test_data): New variable.
13519 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13520 (tan_upward_test_data): New variable.
13521 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13522 (tanh_test_data): New variable.
13523 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13524 (tgamma_test_data): New variable.
13525 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13526 (trunc_test_data): New variable.
13527 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13528 (y0_test_data): New variable.
13529 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13530 (y1_test_data): New variable.
13531 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13532 (significand_test_data): New variable.
13533 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13535 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
13538 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13540 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
13542 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13544 2013-05-10 Andreas Jaeger <aj@suse.de>
13547 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13548 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13550 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13552 * math/gen-libm-test.pl (adjust_arg): New function.
13553 (special_functions): Handle generating output in both functions
13555 (parse_args): Likewise.
13556 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
13557 $in_func argument to parse_args.
13558 * math/libm-test.inc (struct test_f_f_data): New type.
13559 (IF_ROUND_INIT_): New macro.
13560 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13561 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13562 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13563 (IF_ROUND_INIT_FE_UPWARD): Likewise.
13564 (ROUND_RESTORE_): Likewise.
13565 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13566 (ROUND_RESTORE_FE_TONEAREST): Likewise.
13567 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13568 (ROUND_RESTORE_FE_UPWARD): Likewise.
13569 (RUN_TEST_LOOP_f_f): New macro.
13570 (acos_test_data): New variable.
13571 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13572 (acos_tonearest_test_data): New variable.
13573 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13575 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13577 * benchtests/bench-skeleton.c (startup): Fix coding style.
13579 2013-05-10 Joseph Myers <joseph@codesourcery.com>
13582 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13583 negative infinity argument.
13584 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13585 negative infinity argument.
13586 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13587 negative infinity argument.
13588 * math/libm-test.inc (tgamma_test): Expect errno to be set for
13591 2013-05-10 Florian Weimer <fweimer@redhat.com>
13593 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13594 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13595 * iconv/iconv_prog.c (main): Likewise.
13596 * locale/programs/charmap-dir.c (charmap_readdir)
13597 (fopen_uncompressed): Likewise.
13598 * locale/programs/locfile.c (siblings_uncached)
13599 (write_locale_data): Use lstat64 instead of lstat.
13600 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13603 2013-05-10 Andreas Jaeger <aj@suse.de>
13606 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13608 Include <locale.h>.
13610 2013-05-09 Carlos O'Donell <carlos@redhat.com>
13612 * elf/dl-close.c (_dl_close_worker): Add comments.
13614 2013-05-09 Joseph Myers <joseph@codesourcery.com>
13617 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13619 (__ieee754_rem_pio2l): Update comments.
13622 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13624 (__ieee754_rem_pio2l): Update comments.
13626 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13627 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13629 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13632 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13633 (M_PI_34_LOG10El): Likewise.
13634 (M_PI2_LOG10El): Likewise.
13635 (M_PI4_LOG10El): Likewise.
13636 (M_PI_LOG10El): Likewise.
13638 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13642 2013-05-08 Joseph Myers <joseph@codesourcery.com>
13644 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13645 (MINUS_ZERO_INIT): Likewise.
13646 (PLUS_INFTY_INIT): Likewise.
13647 (MINUS_INFTY_INIT): Likewise.
13648 (QNAN_VALUE_INIT): Likewise.
13649 (MAX_VALUE_INIT): Likewise.
13650 (MIN_VALUE_INIT): Likewise.
13651 (MIN_SUBNORM_VALUE_INIT): Likewise.
13652 (plus_zero): Initialize with PLUS_ZERO_INIT.
13653 (minus_zero): Initialize with MINUS_ZERO_INIT.
13654 (plus_infty): Initialize with PLUS_INFTY_INIT.
13655 (minus_infty): Initialize with MINUS_INFTY_INIT.
13656 (qnan_value): Initialize with QNAN_VALUE_INIT.
13657 (max_value): Initialize with MAX_VALUE_INIT.
13658 (min_value): Initialize with MIN_VALUE_INIT.
13659 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13661 * math/libm-test.inc (RUN_TEST_if_f): New macro.
13662 (jn_test): Use TEST_if_f instead of TEST_ff_f.
13663 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13664 (yn_test): Use TEST_if_f instead of TEST_ff_f.
13666 * math/libm-test.inc (RUN_TEST_f_f): New macro.
13667 (RUN_TEST_2_f): Likewise.
13668 (RUN_TEST_ff_f): Likewise.
13669 (RUN_TEST_fi_f): Likewise.
13670 (RUN_TEST_fl_f): Likewise.
13671 (RUN_TEST_fff_f): Likewise.
13672 (RUN_TEST_c_f): Likewise.
13673 (RUN_TEST_f_f1): Likewise.
13674 (RUN_TEST_fF_f1): Likewise.
13675 (RUN_TEST_fI_f1): Likewise.
13676 (RUN_TEST_ffI_f1): Likewise.
13677 (RUN_TEST_c_c): Likewise.
13678 (RUN_TEST_cc_c): Likewise.
13679 (RUN_TEST_f_i): Likewise.
13680 (RUN_TEST_f_i_tg): Likewise.
13681 (RUN_TEST_ff_i_tg): Likewise.
13682 (RUN_TEST_f_b): Likewise.
13683 (RUN_TEST_f_b_tg): Likewise.
13684 (RUN_TEST_f_l): Likewise.
13685 (RUN_TEST_f_L): Likewise.
13686 (RUN_TEST_sincos): Likewise.
13687 * math/gen-libm-test.pl (new_test): Take new argument to indicate
13688 whether to show exceptions. Do not include ");\n" in return
13690 (special_functions): Output call to RUN_TEST_sincos instead of
13691 check_float calls. Update calls to new_test.
13692 (parse_args): Output call to single RUN_TEST_* macro instead of
13693 check_* calls and other assignments. Update calls to new_test.
13699 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13700 input to result for tgamma overflow.
13701 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13702 (gamma_coeff): New variable.
13703 (NCOEFF): New macro.
13704 (gamma_positive): New function.
13705 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13706 underflow here. Use gamma_positive instead of exp (lgamma) for
13708 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13709 (gamma_coeff): New variable.
13710 (NCOEFF): New macro.
13711 (gammaf_positive): New function.
13712 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13713 underflow here. Use gamma_positive instead of exp (lgamma) for
13715 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13716 (gamma_coeff): New variable.
13717 (NCOEFF): New macro.
13718 (gammal_positive): New function.
13719 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13720 underflow here. Use gamma_positive instead of exp (lgamma) for
13722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13723 (gamma_coeff): New variable.
13724 (NCOEFF): New macro.
13725 (gammal_positive): New function.
13726 (__ieee754_gammal_r): Handle positive infinity, overflow and
13727 underflow here. Handle NaN the same as positive infinity. Remove
13728 check x < 0xffffffff for negative integers. Use gamma_positive
13729 instead of exp (lgamma) for other arguments.
13730 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13731 (gamma_coeff): New variable.
13732 (NCOEFF): New macro.
13733 (gammal_positive): New function.
13734 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13735 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13736 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13738 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13739 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13740 * sysdeps/generic/math_private.h (__gamma_productf): New
13742 (__gamma_product): Likewise.
13743 (__gamma_productl): Likewise.
13744 * math/Makefile (libm-calls): Add gamma_product.
13745 * math/libm-test.inc (tgamma_test): Add more tests.
13746 * sysdeps/i386/fpu/libm-test-ulps: Update.
13747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13749 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
13751 * benchtests/bench-skeleton.c (main): Preheat CPU.
13753 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
13755 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13757 2013-05-07 Roland McGrath <roland@hack.frob.com>
13759 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13760 and _dl_skip_args_internal.
13762 2013-05-07 Carlos O'Donell <carlos@redhat.com>
13764 * manual/message.texi (Message Translation): Talk about users.
13765 Message to key mapping impacts design.
13767 2013-05-06 Roland McGrath <roland@hack.frob.com>
13769 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13771 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13773 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13774 * sysdeps/wordsize-64/glob64.c: ... here.
13776 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13777 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13780 * debug/getlogin_r_chk.c: Moved to ...
13781 * login/getlogin_r_chk.c: ... here.
13782 * debug/Makefile (routines): Move getlogin_r_chk to ...
13783 * login/Makefile (routines): ... here.
13784 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13785 * login/Versions (libc: GLIBC_2.4): ... here.
13787 * io/poll.c (__poll): Renamed from poll.
13788 Add libc_hidden_def.
13789 (poll): Define as weak alias.
13791 * debug/ptsname_r_chk.c: Moved to ...
13792 * login/ptsname_r_chk.c: ... here.
13793 * debug/Makefile (routines): Move ptsname_r_chk to ...
13794 * login/Makefile (routines): ... here.
13795 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13796 * login/Versions (libc: GLIBC_2.4): ... here.
13798 * posix/getlogin.c: Moved to ...
13799 * login/getlogin.c: ... here.
13800 * posix/getlogin_r.c: Moved to ...
13801 * login/getlogin_r.c: ... here.
13802 * posix/getlogin_r.c: Moved to ...
13803 * login/getlogin_r.c: ... here.
13804 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13805 * login/Makefile (routines): ... here.
13806 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13807 * login/Versions (libc: GLIBC_2.0): ... here.
13809 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13810 (setrlimit): Define as weak alias.
13812 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13813 Call __ names for open, ftruncate, and close.
13814 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13815 (truncate): Define as weak alias.
13817 2013-05-06 Joseph Myers <joseph@codesourcery.com>
13819 * math/gen-libm-test.pl (parse_args): Initialize x before each
13820 test of frexp, modf and remquo.
13822 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13823 test signgam value.
13825 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13829 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13831 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13833 2013-05-06 Roland McGrath <roland@hack.frob.com>
13835 * elf/dl-writev.h: New file.
13836 * elf/dl-misc.c: Include it.
13837 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13838 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13840 2013-05-04 Joseph Myers <joseph@codesourcery.com>
13842 * math/libm-test.inc (noXFails): Remove variable.
13843 (noXPasses): Likewise.
13844 (BUILD_COMPLEX_INT): Remove macro.
13845 (print_screen): Remove xfail argument.
13846 (print_screen_max_error): Likewise.
13847 (update_stats): Likewise.
13848 (print_max_error): Likewise. Update calls to other affected
13850 (print_complex_max_error): Likewise.
13851 (test_single_exception): Update calls to print_screen.
13852 (test_single_errno): Likewise.
13853 (check_float_internal): Remove xfail argument. Update calls to
13854 other affected functions.
13855 (check_float): Likewise.
13856 (check_complex): Likewise.
13857 (check_int): Likewise.
13858 (check_long): Likewise.
13859 (check_bool): Likewise.
13860 (check_longlong): Likewise.
13861 (main): Don't print noXFails and noXPasses.
13862 * math/gen-libm-test.pl (top level): Don't mention expected
13863 failure handling in comment.
13864 (new_test): Don't handle expected failures.
13865 (parse_args): Don't mention expected failure handling in comment.
13866 (generate_testfile): Don't handle expected failures.
13867 (parse_ulps): Likewise.
13868 (print_ulps_file): Likewise.
13869 (get_failure): Remove function.
13870 (output_test): Don't handle expected failures.
13871 * make/README.libm-test: Don't mention expected failure handling.
13873 * math/libm-test.inc (plus_zero): Make const. Add initializer.
13874 (minus_zero): Likewise.
13875 (plus_infty): Likewise.
13876 (minus_infty): Likewise.
13877 (qnan_value): Likewise.
13878 (max_value): Likewise.
13879 (min_value): Likewise.
13880 (min_subnorm_value): Likewise.
13881 (initialize): Do not initialize those variables dynamically.
13883 2013-05-03 Roland McGrath <roland@hack.frob.com>
13885 * io/open.c (__open_2): Moved to ...
13886 * io/open_2.c: ... this new file.
13887 * io/open64.c (__open64_2): Moved to ...
13888 * io/open64_2.c: ... this new file.
13889 * io/openat.c (__openat_2): Moved to ...
13890 * io/openat_2.c: ... this new file.
13891 * io/openat64.c (__openat64_2): Moved to ...
13892 * io/openat64_2.c: ... this new file.
13893 * io/Makefile (routines): Add them.
13894 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13895 * sysdeps/unix/sysv/linux/open_2.c: File removed.
13896 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13897 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13898 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13899 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13900 (__openat64): Add hidden_ver.
13901 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13902 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13904 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13905 Separately conditionalize setting of GLRO(dl_sysinfo) so
13906 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13907 as well, but the actual setting is only under [NEED_DL_SYSINFO].
13909 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13911 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13912 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13914 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13915 * sysdeps/unix/sysv/linux/powerpc/init-first.c
13916 (_libc_vdso_platform_setup): Add __vdso_time initialization.
13917 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13918 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13920 2013-05-03 Joseph Myers <joseph@codesourcery.com>
13922 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13923 test signgam value.
13925 * math/libm-test.inc (hypot_test): Do not use
13926 IGNORE_ZERO_INF_SIGN.
13928 2013-05-03 Andreas Jaeger <aj@suse.de>
13930 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13932 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13933 (PF_MAX): Adjust for VSOCK change.
13935 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13939 2013-05-02 Carlos O'Donell <carlos@redhat.com>
13942 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13943 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13944 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13946 2013-05-02 David S. Miller <davem@davemloft.net>
13948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13950 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
13952 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13954 2013-05-01 Roland McGrath <roland@hack.frob.com>
13956 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13958 2013-05-01 Richard Smith <richard@metafoo.co.uk>
13961 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13962 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13963 Use __attribute__ ((__gnu_inline__)).
13964 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13965 Don't use __attribute__ ((__gnu_inline__)).
13967 2013-05-01 Joseph Myers <joseph@codesourcery.com>
13970 * math/s_catan.c (__catan): Handle small real or imaginary part of
13971 input specially to avoid spurious underflow.
13972 * math/s_catanf.c (__catanf): Likewise.
13973 * math/s_catanh.c (__catanh): Likewise.
13974 * math/s_catanhf.c (__catanhf): Likewise.
13975 * math/s_catanhl.c (__catanhl): Likewise.
13976 * math/s_catanl.c (__catanl): Likewise.
13977 * math/libm-test.inc (catan_test): Add more tests.
13978 (catanh_test): Likewise.
13979 * sysdeps/i386/fpu/libm-test-ulps: Update.
13980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13982 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13986 2013-04-30 Joseph Myers <joseph@codesourcery.com>
13989 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13990 accurately for denominator in atan2.
13991 * math/s_catanf.c (__catanf): Likewise.
13992 * math/s_catanh.c (__catanh): Likewise.
13993 * math/s_catanhf.c (__catanhf): Likewise.
13994 * math/s_catanhl.c (__catanhl): Likewise.
13995 * math/s_catanl.c (__catanl): Likewise.
13996 * math/libm-test.inc (catan_test): Add more tests.
13997 (catanh_test): Likewise.
13998 * sysdeps/i386/fpu/libm-test-ulps: Update.
13999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14001 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14003 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14005 * benchtests/Makefile (bench): Remove slow benchmarks.
14006 * benchtests/atan-inputs: Add slow benchmark inputs.
14007 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14008 (BENCH_FUNC): Accept variant offset.
14010 * benchtests/bench-skeleton.c (main): Run benchmark for each
14012 * benchtests/cos-inputs: Add slow benchmark inputs.
14013 * benchtests/exp-inputs: Likewise.
14014 * benchtests/pow-inputs: Likewise.
14015 * benchtests/sin-inputs: Likewise.
14016 * benchtests/slowatan-inputs: Remove.
14017 * benchtests/slowatan.c: Remove.
14018 * benchtests/slowcos-inputs: Remove.
14019 * benchtests/slowcos.c: Remove.
14020 * benchtests/slowexp-inputs: Remove.
14021 * benchtests/slowexp.c: Remove.
14022 * benchtests/slowpow-inputs: Remove.
14023 * benchtests/slowpow.c: Remove.
14024 * benchtests/slowsin-inputs: Remove.
14025 * benchtests/slowsin.c: Remove.
14026 * benchtests/slowtan-inputs: Remove.
14027 * benchtests/slowtan.c: Remove.
14028 * benchtests/tan-inputs: Add slow benchmark inputs.
14029 * scripts/bench.pl: Parse comments and directives.
14031 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14033 ($(objpfx)bench-%.c): Remove *-ITER.
14034 * benchtests/bench-modf.c: Remove definition of ITER.
14035 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14036 (main): Loop for DURATION seconds instead of fixed number of
14038 * scripts/bench.pl: Don't expect iterations in parameters.
14040 2013-04-29 Roland McGrath <roland@hack.frob.com>
14042 * io/fchdir.c (__fchdir): Renamed from fchdir.
14043 (fchdir): Define as weak alias.
14045 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14047 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14048 (ERRNO_EDOM): Likewise.
14049 (ERRNO_ERANGE): Likewise.
14050 (noErrnoTests): New variable.
14051 (init_max_error): Set errno to 0.
14052 (test_single_errno): New function.
14053 (test_errno): Likewise.
14054 (check_float_internal): Call test_errno. Set errno to 0.
14055 (check_complex): Refer to errno tests in comment.
14056 (check_int): Call test_errno. Set errno to 0.
14057 (check_long): Likewise.
14058 (check_bool): Likewise.
14059 (check_longlong): Likewise.
14060 (cos_test): Use ERRNO_* flags for errno tests instead of
14062 (expm1_test): Likewise.
14063 (fmod_test): Likewise.
14064 (ilogb_test): Likewise.
14065 (lgamma_test): Likewise.
14066 (pow_test): Likewise.
14067 (remainder_test): Likewise.
14068 (sin_test): Likewise.
14069 (tan_test): Likewise.
14070 (yn_test): Likewise.
14071 (initialize): Set errno to 0.
14072 (main): Print number of errno tests.
14073 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
14075 2013-04-29 Andreas Jaeger <aj@suse.de>
14078 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
14082 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
14083 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
14087 * stdlib/random.c (__initstate): Return NULL if
14091 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
14092 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
14095 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14099 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14101 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
14102 of individual tests.
14103 (casin_test): Likewise.
14104 (casinh_test): Likewise.
14106 2013-04-27 Joseph Myers <joseph@codesourcery.com>
14109 * math/s_catan.c (__catan): Handle arguments with large real or
14110 imaginary part separately without squaring.
14111 * math/s_catanf.c (__catanf): Likewise.
14112 * math/s_catanh.c (__catanh): Likewise.
14113 * math/s_catanhf.c (__catanhf): Likewise.
14114 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14116 (__catanhl): Handle arguments with large real or imaginary part
14117 separately without squaring.
14118 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14120 (__catanl): Handle arguments with large real or imaginary part
14121 separately without squaring.
14122 * math/libm-test.inc (catan_test): Add more tests.
14123 (catanh_test): Likewise.
14124 * sysdeps/i386/fpu/libm-test-ulps: Update.
14125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14127 2013-04-27 Andreas Jaeger <aj@suse.de>
14130 * stdlib/stdlib.h: Update guards for qecvt.
14131 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
14134 2013-04-27 Allan McRae <allan@archlinux.org>
14136 * sysdeps/i386/fpu/libm-test-ulps: Update.
14138 2013-04-26 Joseph Myers <joseph@codesourcery.com>
14141 * math/s_catan.c: Include <float.h>.
14142 (__catan): Ensure underflow exception occurs for underflowed
14144 * math/s_catanf.c: Include <float.h>.
14145 (__catanf): Ensure underflow exception occurs for underflowed
14147 * math/s_catanh.c: Include <float.h>.
14148 (__catanh): Ensure underflow exception occurs for underflowed
14150 * math/s_catanhf.c: Include <float.h>.
14151 (__catanhf): Ensure underflow exception occurs for underflowed
14153 * math/s_catanhl.c: Include <float.h>.
14154 (__catanhl): Ensure underflow exception occurs for underflowed
14156 * math/s_catanl.c: Include <float.h>.
14157 (__catanl): Ensure underflow exception occurs for underflowed
14159 * math/libm-test.inc (catan_test): Add more tests.
14160 (catanh_test): Likewise.
14163 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
14164 underflowed result.
14165 * math/s_ccoshf.c (__ccoshf): Likewise.
14166 * math/s_ccoshl.c (__ccoshl): Likewise.
14167 * math/s_csin.c (__csin): Likewise.
14168 * math/s_csinf.c (__csinf): Likewise.
14169 * math/s_csinh.c (__csinh): Likewise.
14170 * math/s_csinhf.c (__csinhf): Likewise.
14171 * math/s_csinhl.c (__csinhl): Likewise.
14172 * math/s_csinl.c (__csinl): Likewise.
14173 * math/libm-test.inc (ccos_test): Add more tests.
14174 (ccosh_test): Likewise.
14175 (csin_test): Likewise.
14176 (csinh_test): Likewise.
14178 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14180 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
14181 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
14182 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
14183 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
14184 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
14185 powerpc/power5+/fpu folders.
14186 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14189 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
14191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14193 2013-04-25 Joseph Myers <joseph@codesourcery.com>
14195 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14196 additions to variable.
14197 [$(config-machine) = x86_64] (modules-names): Likewise.
14198 ($(objpfx)tst-audit3): Remove dependency.
14199 ($(objpfx)tst-audit3.out): Likewise.
14200 ($(objpfx)tst-audit4): Likewise.
14201 ($(objpfx)tst-audit4.out): Likewise.
14202 ($(objpfx)tst-audit5): Likewise.
14203 ($(objpfx)tst-audit5.out): Likewise.
14204 ($(objpfx)tst-audit6): Likewise.
14205 ($(objpfx)tst-audit6.out): Likewise.
14206 ($(objpfx)tst-audit7): Likewise.
14207 ($(objpfx)tst-audit7.out): Likewise.
14208 (tst-audit3-ENV): Remove variable.
14209 (tst-audit4-ENV): Likewise.
14210 (tst-audit5-ENV): Likewise.
14211 (tst-audit6-ENV): Likewise.
14212 (tst-audit7-ENV): Likewise.
14213 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14214 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14215 addition to variable.
14216 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14217 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14218 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14219 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14220 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14221 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14222 tst-audit3, tst-audit4 and tst-audit5.
14223 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14224 tst-audit6 and tst-audit7.
14225 [$(subdir) = elf] (modules-names): Add audit modules for those
14227 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14228 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14229 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14230 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14231 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14232 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14233 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14234 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14235 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14236 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14237 [$(subdir) = elf] (tst-audit3-ENV): New variable.
14238 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14239 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14240 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14241 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14242 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14244 [$(subdir) = elf && $(config-cflags-avx) = yes]
14245 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14246 [$(subdir) = elf && $(config-cflags-avx) = yes]
14247 (CFLAGS-tst-auditmod4a.c): Likewise.
14248 [$(subdir) = elf && $(config-cflags-avx) = yes]
14249 (CFLAGS-tst-auditmod4b.c): Likewise.
14250 [$(subdir) = elf && $(config-cflags-avx) = yes]
14251 (CFLAGS-tst-auditmod6b.c): Likewise.
14252 [$(subdir) = elf && $(config-cflags-avx) = yes]
14253 (CFLAGS-tst-auditmod6c.c): Likewise.
14254 [$(subdir) = elf && $(config-cflags-avx) = yes]
14255 (CFLAGS-tst-auditmod7b.c): Likewise.
14256 * elf/tst-audit3.c: Move to ...
14257 * sysdeps/x86_64/tst-audit3.c: ... here.
14258 * elf/tst-audit4.c: Move to ...
14259 * sysdeps/x86_64/tst-audit4.c: ... here.
14260 * elf/tst-audit5.c: Move to ...
14261 * sysdeps/x86_64/tst-audit5.c: ... here.
14262 * elf/tst-audit6.c: Move to ...
14263 * sysdeps/x86_64/tst-audit6.c: ... here.
14264 * elf/tst-audit7.c: Move to ...
14265 * sysdeps/x86_64/tst-audit7.c: ... here.
14266 * elf/tst-auditmod3a.c: Move to ...
14267 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14268 * elf/tst-auditmod3b.c: Move to ...
14269 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14270 * elf/tst-auditmod4a.c: Move to ...
14271 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14272 * elf/tst-auditmod4b.c: Move to ...
14273 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14274 * elf/tst-auditmod5a.c: Move to ...
14275 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14276 * elf/tst-auditmod5b.c: Move to ...
14277 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14278 * elf/tst-auditmod6a.c: Move to ...
14279 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14280 * elf/tst-auditmod6b.c: Move to ...
14281 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14282 * elf/tst-auditmod6c.c: Move to ...
14283 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14284 * elf/tst-auditmod7a.c: Move to ...
14285 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14286 * elf/tst-auditmod7b.c: Move to ...
14287 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14289 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
14292 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14293 define unconditionally.
14294 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14295 define unconditionally.
14296 (INT8_C, INT16_C, etc.): Likewise.
14298 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
14300 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14301 __ehdr_start with hidden visibility.
14303 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14305 2013-04-24 Carlos O'Donell <carlos@redhat.com>
14307 * math/libm-test.inc (cos_test): Use accurate hex constants.
14308 (sincost_test): Likewise.
14310 2013-04-24 Joseph Myers <joseph@codesourcery.com>
14312 * math/libm-test.inc (catan_test): Add more tests.
14313 (catanh_test): Likewise.
14315 * math/s_catanf.c (__catanf): Use suffixed floating-point
14317 * math/s_catanhf.c (__catanhf): Likewise.
14318 * math/s_catanhl.c (__catanhl): Likewise.
14319 * math/s_catanl.c (__catanl): Likewise.
14322 * math/s_catan.c (__catan): Calculate imaginary part of result
14323 with log1p not log unless computing log of number close to 0.
14324 * math/s_catanf.c (__catanf): Likewise.
14325 * math/s_catanl.c (__catanl): Likewise.
14326 * math/s_catanh.c (__catanh): Calculate real part of result with
14327 log1p not log unless computing log of number close to 0.
14328 * math/s_catanhf.c (__catanhf): Likewise.
14329 * math/s_catanhl.c (__catanhl): Likewise.
14330 * math/libm-test.inc (catan_test): Add more tests.
14331 (catanh_test): Likewise.
14332 * sysdeps/i386/fpu/libm-test-ulps: Update.
14333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14335 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14337 * benchtests/Makefile: Mention files in which fast and slow
14338 paths of math functions are implemented.
14340 2013-04-23 Roland McGrath <roland@hack.frob.com>
14342 * sysdeps/posix/timespec_get.c: New file.
14344 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14346 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14348 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14350 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14351 powerpc/power5/fpu folders.
14352 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14353 * benchtests/Makefile: Add modf testcase.
14354 * benchtests/bench-modf.c: New file: Benchmark test for mo
14356 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14359 * time/Makefile (tests): Add tst-strptime-whitespace.
14360 * time/strptime_l.c (get_number): Use ISSPACE.
14361 (__strptime_internal): Likewise.
14362 * time/tst-strptime-whitespace.c: New test case.
14364 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
14366 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14368 (_nss_files_init): Set it here.
14370 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
14372 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14373 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14376 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
14378 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14380 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14385 2013-04-21 David S. Miller <davem@davemloft.net>
14387 * po/ru.po: Update Russion translation from translation project.
14389 2013-04-17 Adam Conrad <adconrad@0c3.net>
14391 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14394 2013-04-17 Carlos O'Donell <carlos@redhat.com>
14396 * configure.in: Remove i386 configure warning. Remove i386 case.
14397 * configure: Regenerate.
14398 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14399 Add example to error message.
14400 * sysdeps/i386/configure: Regenerate.
14402 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14404 * benchtests/Makefile (bench): Add cos, tan, slowcos and
14406 * benchtests/cos-inputs: New file.
14407 * benchtests/slowcos-inputs: New file.
14408 * benchtests/slowcos.c: New file.
14409 * benchtests/slowtan-inputs: New file.
14410 * benchtests/slowtan.c: New file.
14411 * benchtests/tan-inputs: New file.
14413 2013-04-16 Roland McGrath <roland@hack.frob.com>
14415 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14418 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14420 * benchtests/Makefile: Include cppflags-iterator.mk to add
14421 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14423 * Makefile.in (bench-clean): New target.
14424 * benchtests/Makefile (bench-clean): Likewise.
14426 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
14428 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14430 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
14432 * stdio-common/tstdiomisc.c: Fix coding-style violation.
14434 2013-04-15 Andreas Schwab <schwab@suse.de>
14436 * nscd/grpcache.c (cache_addgr): Properly check for short write.
14437 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14438 * nscd/pwdcache.c (cache_addpw): Likewise.
14439 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
14442 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14444 * benchtests/Makefile (bench): Write all output to
14445 bench-out.tmp together.
14447 2013-04-15 Andreas Schwab <schwab@suse.de>
14449 * nscd/nscd.c (main): Don't fork again after closing files.
14451 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14453 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14455 * benchtests/Rules (bench-deps): Collect dependencies into a
14456 single variable. Add Makefile to dependencies.
14457 ($(objpfx)bench-%.c): Depend on bench-deps.
14459 2013-04-12 Roland McGrath <roland@hack.frob.com>
14460 Xavier Roche <roche+kml2@exalead.com>
14463 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14464 just that it's a file descriptor.
14465 * manual/llio.texi (Synchronizing AIO Operations): Update description
14466 for EBADF error from aio_fsync.
14468 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14470 * Rules (bench): Move target definition...
14471 * benchtests/Makefile: ... here.
14473 2013-04-11 Carlos O'Donell <carlos@redhat.com>
14475 * math/libm-test.inc (cos_test): Fix PI/2 test.
14476 (sincos_test): Likewise.
14477 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14478 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14480 2013-04-11 Andreas Schwab <schwab@suse.de>
14483 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14484 accept exponent character only when digits were seen.
14485 * stdio-common/Makefile (tests): Add bug26.
14486 * stdio-common/bug26.c: New file.
14489 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14492 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14494 * Makeconfig (rtld-prefix): Define built linker prefix.
14495 * Rules (run-bench): Use it.
14496 * math/Makefile (run-regen-ulps): Likewise.
14498 * Rules (bench): Remove eval.
14500 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14501 Roland McGrath <roland@hack.frob.com>
14502 Ondrej Bilka <neleai@seznam.cz>
14505 * time/getdate.c: Include ctype.h and alloca.h.
14506 (__getdate_r): Trim leading and trailing spaces of input.
14507 * time/tst-getdate.c (tests): Add tests with leading and
14510 2013-04-08 Roland McGrath <roland@hack.frob.com>
14513 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14514 when computing value.
14516 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14518 * math/README.libm-test (How can I generate "libm-test-ulps"?):
14519 Use testrun.sh to run libm tests.
14522 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14524 2013-04-06 Marko Myllynen <myllynen@redhat.com>
14527 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14529 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14531 * Makefile.in (regen-ulps): New target.
14532 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14533 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14534 [ifneq (no,$(PERL)] (regen-ulps): New target.
14535 [ifeq (no,$(PERL)] (regen-ulps): New target.
14536 * math/libm-test.inc (ulps_file_name): Define.
14537 (output_dir): New variable.
14538 (options): Add "output-dir" option.
14539 (parse_opt): Handle 'o' case.
14540 (main): If output_dir is non-NULL use it as a prefix
14542 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14544 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14546 [BZ #10060, #10062]
14547 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14548 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14549 fail configure if __sync_val_compare_and_swap is not inlined.
14550 * sysdeps/i386/configure: Regenerate.
14551 * configure.in: Build for i686 when configured for i386.
14552 * configure: Regenerate.
14553 * README: Remove i386 reference.
14555 2013-04-06 Carlos O'Donell <carlos@redhat.com>
14557 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14558 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14560 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
14562 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14563 (lmsnanval): New variables.
14564 (F): Add conversion tests.
14565 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14566 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14568 * stdio-common/tstdiomisc.c (F): Properly collect individual
14571 [BZ #14686, #15336]
14572 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14573 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14574 Instead, use input NaN values or generate a qNaN by arithmetic
14575 operation. Also fix bugs to comply with the standard.
14576 * math/libm-test.inc (remainder_test): Add more tests.
14578 [BZ #15335, #15342]
14579 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14580 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14581 input NaN values or generate a qNaN by arithmetic operation.
14583 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14586 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14589 2013-04-03 Joseph Myers <joseph@codesourcery.com>
14592 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14593 underflowed result.
14594 * math/s_cexpf.c (__cexpf): Likewise.
14595 * math/s_cexpl.c (__cexpl): Likewise.
14596 * math/libm-test.inc (cexp_test): Add more tests.
14598 2013-04-03 Andreas Schwab <schwab@suse.de>
14601 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14602 order arrays from heap if bigger than alloca cutoff.
14604 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
14606 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14607 (SNAN_TESTS_double): Refer to GCC PR56831.
14608 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14611 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14613 * Rules (bench): Move bench.out after the run is complete.
14615 * Rules (bench): Echo currently running benchmark.
14617 * benchtests/Makefile (bench): Add atan and slowatan.
14618 * benchtests/atan-inputs: New file.
14619 * benchtests/slowatan-inputs: New file.
14620 * benchtests/slowatan.c: New file.
14622 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14623 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14627 * sysdeps/unix/sysv/linux/kernel-features.h
14628 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14629 __ASSUME_XFS_RESTRICTED_CHOWN.
14630 * sysdeps/unix/sysv/linux/pathconf.c
14631 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14632 Save and restore errno.
14634 2013-04-02 Joseph Myers <joseph@codesourcery.com>
14637 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14638 arguments using __kernel_casinh.
14639 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14640 arguments using __kernel_casinhf.
14641 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14642 arguments using __kernel_casinhl.
14643 * math/libm-test.inc (cacosh_test): Add more tests.
14644 * sysdeps/i386/fpu/libm-test-ulps: Update.
14645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14647 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14649 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14652 * bench/Makefile (bench): Add sin and slowsin.
14653 * benchtests/sin-inputs: New file.
14654 * benchtests/slowsin-inputs: New file.
14655 * benchtests/slowsin.c: New file.
14657 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14658 (bench): Add slowexp and slowpow.
14659 (exp-ITER): Increase iterations.
14660 (pow-ITER): Likewise.
14661 * benchtests/exp-inputs: Change input.
14662 * benchtests/pow-inputs: Likewise.
14663 * benchtests/slowexp-inputs: New file.
14664 * benchtests/slowexp.c: New file.
14665 * benchtests/slowpow-inputs: New file.
14666 * benchtests/slowpow.c: New file.
14668 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14670 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14672 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14673 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14674 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14675 * benchtests/Makefile: Add rint benchtest.
14676 * benchtests/rint-inputs: Input for rint benchtest.
14678 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
14680 * Versions.def (libm): Add GLIBC_2.18.
14681 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14682 hidden libm prototypes.
14683 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14684 * math/Makefile (libm-calls): Add s_issignaling.
14685 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14686 __issignalingf, __issignalingl. Adjust all libm.abilist files.
14687 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14689 * math/math.h [__USE_GNU] (issignaling): New macro.
14690 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14691 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14692 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14693 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14696 * manual/arith.texi (issignaling): New section.
14697 * manual/libm-err-tab.pl (@all_functions): Update comment.
14698 * math/gen-libm-test.pl (parse_args): Apply special handling for
14700 * math/libm-test.inc (print_float, issignaling_test): New
14702 (check_float_internal): Add issignaling checks.
14703 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14704 default definition.
14705 * sysdeps/powerpc/math-tests.h: New file.
14706 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14708 * math/test-snan.c (TEST_FUNC): Likewise.
14710 2013-03-30 David S. Miller <davem@davemloft.net>
14712 * po/de.po: Update from translation team.
14714 2013-03-30 Joseph Myers <joseph@codesourcery.com>
14717 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14718 imaginary part less than 1.0 and real part less than 0.5
14720 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14721 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14722 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14723 (cacos_test): Add more tests.
14724 (casin_test): Likewise.
14725 (casinh_test): Likewise.
14726 * sysdeps/i386/fpu/libm-test-ulps: Update.
14727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14729 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14731 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14732 ONE with its value.
14734 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14735 (__pow_mp): Replace ONE and MONE with their values.
14736 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14737 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14738 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14739 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14740 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14741 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14743 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14745 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14746 (__pow_mp): Replace ZERO and MZERO with their values.
14747 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14748 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14749 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14750 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14751 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14752 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14755 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14757 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14759 2013-03-28 Roland McGrath <roland@hack.frob.com>
14761 * include/stdlib.h [!SHARED] (__call_tls_dtors):
14762 Declare with __attribute__ ((weak)).
14763 * stdlib/exit.c (__libc_atexit) [!SHARED]:
14764 Call __call_tls_dtors only if it's not NULL.
14766 2013-03-28 Roland McGrath <roland@hack.frob.com>
14768 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14769 didn't do it already, then set _dl_phdr and _dl_phnum based on the
14770 magic __ehdr_start linker symbol if it's defined.
14771 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14772 them up here if it was already done.
14774 * elf/dl-support.c (_dl_phdr): Make pointer to const.
14775 (_dl_aux_init): Use const in cast when setting it.
14776 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14777 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14778 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14780 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14782 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14783 * csu/libc-tls.c: Nor here.
14784 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14786 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14787 (__libc_message): Never call vsyslog.
14789 2013-03-28 Alan Modra <amodra@gmail.com>
14791 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14793 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14796 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14799 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14803 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14806 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14807 Don't add gid passed as argument.
14809 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14811 2013-03-27 Joseph Myers <joseph@codesourcery.com>
14814 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14815 imaginary part between 1.0 and 1.5 and real part less than 0.5
14817 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14818 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14819 * math/libm-test.inc (cacos_test): Add more tests.
14820 (casin_test): Likewise.
14821 (casinh_test): Likewise.
14822 * sysdeps/i386/fpu/libm-test-ulps: Update.
14823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14825 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14827 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14830 (denorm): Likewise.
14831 (__dbl_mp): Likewise.
14832 (add_magnitudes): Likewise.
14833 (sub_magnitudes): Likewise.
14841 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14843 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14844 (__dubcos): Likewise.
14845 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14846 (__ieee754_acos): Likewise.
14847 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14848 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14849 (__exp1): Likewise.
14850 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14851 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14853 (my_log2): Likewise.
14854 (checkint): Likewise.
14855 * sysdeps/ieee754/dbl-64/e_remainder.c
14856 (__ieee754_remainder): Likewise.
14857 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14858 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14859 (bsloww): Likewise.
14860 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14862 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14863 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14864 MANTISSA_STORE_T to store computations on mantissa. Use
14865 macros for rounding and division.
14866 (denorm): Likewise.
14867 (__dbl_mp): Likewise.
14868 (add_magnitudes): Likewise.
14869 (sub_magnitudes): Likewise.
14872 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
14873 powers of two in terms of TWOPOW macro.
14874 (mp_no): Make type of mantissa as MANTISSA_T.
14875 [!RADIXI]: Define RADIXI.
14876 [!TWO52]: Define TWO52.
14877 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14879 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14881 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14882 llroundl symbol when building for PPC32.
14884 2013-03-24 Mark H Weaver <mhw@netris.org>
14886 * manual/arith.texi (Normalization Functions): Fix prototypes for
14887 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14889 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14892 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14893 high value to check if expl overflow.
14894 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14895 to check for underflow and overflow.
14896 * math/libm-test.inc: Add exp test.
14898 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
14901 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14904 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14906 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14909 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
14911 * math/gen-libm-test.pl (parse_args, special_functions): Properly
14912 wrap blocks consisting of several statements.
14914 * sysdeps/generic/math-tests.h: New file.
14915 * sysdeps/i386/fpu/math-tests.h: Likewise.
14916 * math/test-snan.c: Include it.
14917 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14919 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14922 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14923 (__ieee754_j0l): Do not improve calculations using cos of twice
14924 input for inputs above LDBL_MAX / 2.0L.
14925 (__ieee754_y0l): Likewise.
14926 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14927 (__ieee754_j1l): Do not improve calculations using cos of twice
14928 input for inputs above LDBL_MAX / 2.0L.
14929 (__ieee754_y1l): Likewise.
14930 * math/libm-test.inc (j0_test): Add another test.
14931 (j1_test): Likewise.
14932 (y0_test): Likewise.
14933 (y1_test): Likewise.
14934 * sysdeps/i386/fpu/libm-test-ulps: Update.
14936 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14938 * Rules ($(objpfx)bench-%.c): Include code from a C source
14941 2013-03-21 Joseph Myers <joseph@codesourcery.com>
14944 * math/k_casinh.c (__kernel_casinh): Handle arguments with
14945 imaginary part 1.0 and real part less than 0.5 specially.
14946 * math/k_casinhf.c (__kernel_casinhf): Likewise.
14947 * math/k_casinhl.c (__kernel_casinhl): Likewise.
14948 * math/libm-test.inc (cacos_test): Add more tests.
14949 (casin_test): Likewise.
14950 (casinh_test): Likewise.
14951 * sysdeps/i386/fpu/libm-test-ulps: Update.
14952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14954 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14956 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14957 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14959 2013-03-20 Joseph Myers <joseph@codesourcery.com>
14961 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14962 * config.make.in (config-cflags-sse4): Remove variable.
14963 (config-cflags-avx): Likewise.
14964 (config-cflags-sse2avx): Likewise.
14965 (config-cflags-novzeroupper): Likewise.
14966 (config-asflags-i686): Likewise.
14967 (have-mfma4): Likewise.
14968 (have-as-vis3): Likewise.
14970 * configure.in (MIG): Do not AC_SUBST.
14971 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14972 (libc_cv_cc_sse4): Do not AC_SUBST.
14973 (libc_cv_cc_avx): Likewise.
14974 (libc_cv_cc_sse2avx): Likewise.
14975 (libc_cv_cc_novzeroupper): Likewise.
14976 (libc_cv_cc_fma4): Likewise.
14977 (libc_cv_as_i686): Likewise.
14978 (libc_cv_sparc_as_vis3): Likewise.
14979 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14981 (config-asflags-i686): Likewise.
14982 (config-cflags-avx): Likewise.
14983 (config-cflags-sse2avx): Likewise.
14984 (have-mfma4): Likewise.
14985 (config-cflags-novzeroupper): Likewise.
14986 * sysdeps/mach/configure.in (MIG): Likewise.
14987 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14988 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14990 (config-cflags-avx): Likewise.
14991 (config-cflags-sse2avx): Likewise.
14992 (have-mfma4): Likewise.
14993 (config-cflags-novzeroupper): Likewise.
14994 * configure: Regenerated.
14995 * sysdeps/i386/configure: Likewise.
14996 * sysdeps/mach/configure: Likewise.
14997 * sysdeps/sparc/configure: Likewise.
14998 * sysdeps/x86_64/configure: Likewise.
15000 2013-03-20 Roland McGrath <roland@hack.frob.com>
15003 * locale/programs/localedef.c (options): Put N_ translation marker
15004 on argument names, not just descriptions.
15006 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15008 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15010 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15013 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15015 2013-03-19 Roland McGrath <roland@hack.frob.com>
15017 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15018 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15019 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15020 [!BEFORE_ABORT] (before_abort): New function.
15021 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15022 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15023 (writev_for_fatal): New function.
15024 (WRITEV_FOR_FATAL): New macro; call that.
15025 (backtrace_and_maps): New function.
15026 (BEFORE_ABORT): New macro; call that.
15027 (struct str_list): Type removed.
15028 (__libc_message, __libc_fatal): Functions removed.
15029 Include <sysdeps/posix/libc_fatal.c> instead.
15031 2013-03-19 Joseph Myers <joseph@codesourcery.com>
15033 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15035 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15038 2013-03-19 Andreas Schwab <schwab@suse.de>
15040 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15041 * sysdeps/gnu/configure: Regenerate.
15043 * configure.in: Substitute libc_cv_rtlddir.
15044 * configure: Regenerate.
15045 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15046 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15047 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15048 * elf/Makefile (install-others, CFLAGS-interp.c)
15049 (ldso_install, common-ldd-rewrite): Likewise.
15050 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15051 $(inst_slibdir)/$(rtld-installed-name).
15052 * scripts/rellns-sh: Add -p option.
15053 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15056 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15058 * manual/nptl.texi: Renamed to ...
15059 * manual/threads.texi: ... this.
15060 * manual/Makefile (chapters): Update.
15062 2013-03-18 Roland McGrath <roland@hack.frob.com>
15065 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15066 on argument names, not just descriptions.
15067 * malloc/memusagestat.c (options): Likewise.
15068 * nss/getent.c (options): Likewise.
15070 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
15073 * iconv/iconv_prog.c (options): Put N_ translation marker
15074 on argument names, not just descriptions.
15075 * iconv/iconvconfig.c (options): Likewise.
15077 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
15079 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
15080 implementation which is faster on all x86_64 architectures.
15081 Tested on AMD, Intel Nehalem, SNB, IVB.
15082 * sysdeps/x86_64/strnlen.S: Likewise.
15084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15085 Remove all multiarch strlen and strnlen versions.
15086 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15087 Remove strlen and strnlen related parts.
15089 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
15090 Inline strlen part.
15091 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
15093 * sysdeps/x86_64/multiarch/strlen.S: Remove.
15094 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
15095 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
15096 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
15097 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15098 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
15100 2013-03-17 Carlos O'Donell <carlos@redhat.com>
15102 * manual/memory.texi (Malloc Tunable Parameters):
15103 Sort parameters alphabetically. Add comments for missing entries.
15105 2013-03-17 David S. Miller <davem@davemloft.net>
15107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15109 2013-03-16 Joseph Myers <joseph@codesourcery.com>
15112 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
15113 for arguments at most half maximum finite value.
15114 * math/libm-test.inc (j0_test): Add more tests.
15115 (j1_test): Likewise.
15116 (y0_test): Likewise.
15117 (y1_test): Likewise.
15118 * sysdeps/i386/fpu/libm-test-ulps: Update.
15119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15122 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
15123 1 / x and functions P and Q for arguments above 0x1p256L.
15124 (__ieee754_y0l): Likewise.
15125 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15126 (__ieee754_y1l): Likewise.
15127 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
15128 (j1_test): Likewise.
15129 (y0_test): Likewise.
15130 (y1_test): Likewise.
15132 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
15134 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
15137 2013-03-15 Roland McGrath <roland@hack.frob.com>
15139 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
15140 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
15141 zero since it's initialized to EXEC_PAGESIZE.
15143 * sysdeps/unix/sysv/linux/ldsodefs.h
15144 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
15145 * sysdeps/generic/ldsodefs.h: ... here.
15147 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
15149 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
15151 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
15153 * math/test-snan.c: Renamed from
15154 sysdeps/powerpc/fpu/test-powerpc-snan.c.
15155 * math/Makefile (tests): Add test-snan.
15156 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
15159 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
15160 SUFFIX. Initialize qNaN_var with __builtin_nan family of
15162 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
15163 __builtin_nan family of functions.
15164 * math/libm-test.inc (initialize): Initialize qnan_value with
15165 __builtin_nan family of functions.
15166 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
15168 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
15170 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
15171 storage class. Initialize qNaN_var and sNaN_var with
15172 __builtin_nan and __builtin_nans families of functions,
15175 * math/libm-test.inc (acosh_test): Also test with qNaN input.
15176 (sqrt_test): Remove duplicate test with qNaN input.
15177 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
15178 (round_test, signbit_test, significand_test): Note missing +/-Inf
15179 as well as qNaN tests.
15181 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
15182 qNaN_var. Fix a few strings, too.
15183 * math/libm-test.inc (nan_value): Rename to qnan_value.
15184 * math/gen-libm-test.pl (%beautify): Adjust to that.
15185 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
15186 * math/test-misc.c (main): Likewise.
15187 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
15188 to __qnan_bytes, and __qnan_union, respectively.
15189 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15191 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15192 and lqnanval, respectively.
15193 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15194 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15195 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15196 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15198 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15199 * math/test-misc.c (main) [__x86_64__]: Enable test for long
15202 * math/test-misc.c (main): Fix copy'n'pastos.
15203 * misc/tst-efgcvt.c (special): Likewise.
15205 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15206 Remove declarations.
15208 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15210 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15211 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15212 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15213 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15215 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15217 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15218 macro to return vdso values correctly in IFUNC implementations.
15219 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15220 Optimization by using IFUNC.
15222 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15223 Richard Henderson <rth@redhat.com>
15224 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15226 * Makefile.in (bench): New target.
15227 * NEWS: Mention the benchmark framework.
15228 * Rules (bench): Likewise.
15229 (binaries-bench): Generate binaries for functions to
15231 * benchtests/Makefile: New makefile for benchmark tests.
15232 * benchtests/bench-skeleton.c: New skeleton file for benchmark
15234 * benchtests/exp-inputs: New input file for EXP function.
15235 * benchtests/pow-inputs: New input file for POW function.
15236 * scripts/bench.pl: New script to generate source files for
15237 benchmark programs.
15239 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15241 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15242 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15243 computations on mantissa. Use macros for rounding and
15245 (denorm): Likewise.
15246 (__dbl_mp): Likewise.
15247 (add_magnitudes): Likewise.
15248 (sub_magnitudes): Likewise.
15251 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15252 powers of two in terms of TWOPOW macro.
15253 (mp_no): Make type of mantissa as MANTISSA_T.
15254 [!RADIXI]: Define RADIXI.
15255 [!TWO52]: Define TWO52.
15256 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15258 * manual/nptl.texi (cindex): Modify threads to pthreads.
15260 2013-03-15 Joseph Myers <joseph@codesourcery.com>
15262 * sysdeps/x86_64/preconfigure: Regenerated.
15264 2013-03-14 Joseph Myers <joseph@codesourcery.com>
15267 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15269 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15270 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15272 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15273 * math/libm-test.inc (j0_test): Do not allow one spurious
15274 underflow exception.
15275 (y1_test): Likewise.
15277 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15279 * manual/Makefile (chapters): Add nptl.
15280 * manual/debug.texi (Debugging Support): Add link to Threads
15282 * manual/nptl.texi: New file.
15284 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15286 2013-03-14 Petr Baudis <pasky@ucw.cz>
15288 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15289 for non-NULL pointer before the memory validity test. Pointed
15290 out by Holger Brunck <holger.brunck@keymile.com>.
15292 2013-03-13 Andreas Schwab <schwab@suse.de>
15294 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15297 2013-03-13 Joseph Myers <joseph@codesourcery.com>
15299 * timezone/zic.c: Update from tzcode 2013b.
15301 2013-03-12 Carlos O'Donell <carlos@redhat.com>
15303 * manual/install.texi (Configuring and compiling):
15304 Mention i686 and i586.
15305 * INSTALL: Regenerate.
15307 2013-03-12 Roland McGrath <roland@hack.frob.com>
15309 * sysdeps/init_array/elf-init.c: New file.
15311 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15312 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15314 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15315 __gmon_start__ as global, but as static with a .preinit_array pointer.
15316 * sysdeps/init_array/gmon-start.c: New file. Use that.
15317 * sysdeps/init_array/crti.S: New file, empty except for comments.
15318 * sysdeps/init_array/crtn.S: Likewise.
15320 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
15322 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15325 Remove Prefer_SSE_for_memop.
15326 * sysdeps/x86_64/multiarch/init-arch.h: Remove
15327 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15328 HAS_PREFER_SSE_FOR_MEMOP.
15329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15331 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15332 Remove bzero, memset ifunc support.
15333 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15334 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15335 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15336 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15338 2013-03-11 Andreas Schwab <schwab@suse.de>
15341 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15344 (GLIBC_2.16): Remove pthread_atfork.
15346 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
15348 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15349 (ptestcases.h): Likewise.
15351 2013-03-08 Roland McGrath <roland@hack.frob.com>
15353 * Makeconfig ($(common-objpfx)config.status): Depend on
15354 sysdeps/*/preconfigure{,.in} too.
15356 2013-03-08 Joseph Myers <joseph@codesourcery.com>
15358 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15359 (__free_hook): Use void * instead of __malloc_ptr_t.
15360 (__malloc_hook): Likewise.
15361 (__realloc_hook): Likewise.
15362 (__memalign_hook): Likewise.
15363 (__after_morecore_hook): Likewise.
15364 * malloc/arena.c (save_malloc_hook): Likewise.
15365 (save_free_hook): Likewise.
15366 * malloc/hooks.c (malloc_hook_ini): Likewise.
15367 (realloc_hook_ini): Likewise.
15368 (memalign_hook_ini): Likewise.
15369 * malloc/malloc.c (malloc_hook_ini): Likewise.
15370 (realloc_hook_ini): Likewise.
15371 (memalign_hook_ini): Likewise.
15372 (__free_hook): Likewise.
15373 (__malloc_hook): Likewise.
15374 (__realloc_hook): Likewise.
15375 (__memalign_hook): Likewise.
15376 (__libc_malloc): Likewise.
15377 (__libc_free): Likewise.
15378 (__libc_realloc): Likewise.
15379 (__libc_memalign): Likewise.
15380 (__libc_valloc): Likewise.
15381 (__libc_pvalloc): Likewise.
15382 (__libc_calloc): Likewise.
15383 (__posix_memalign): Likewise.
15384 * malloc/morecore.c (__sbrk): Likewise.
15385 (__default_morecore): Likewise.
15387 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15389 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15390 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15391 __malloc_ptrdiff_t.
15393 * malloc/malloc.h (__malloc_size_t): Remove macro.
15394 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15396 (old_memalign_hook): Likewise.
15397 (old_realloc_hook): Likewise.
15398 (struct hdr): Likewise.
15400 (mallochook): Likewise.
15401 (memalignhook): Likewise.
15402 (reallochook): Likewise.
15403 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15404 (tr_old_realloc_hook): Likewise.
15405 (tr_old_memalign_hook): Likewise.
15406 (tr_mallochook): Likewise.
15407 (tr_reallochook): Likewise.
15408 (tr_memalignhook): Likewise.
15410 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15412 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15413 default_ldbl_pack and using as default implementation.
15414 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15416 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15417 redundant definition.
15418 (ldbl_insert_mantissa): Likewise.
15419 (ldbl_canonicalize): Likewise.
15420 (ldbl_nearbyint): Likewise.
15421 (ldbl_pack): Rename to ldbl_pack_ppc.
15422 (ldbl_unpack): Rename to ldbl_unpack_ppc.
15423 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15424 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15426 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15429 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15430 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15431 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15433 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15434 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15435 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15437 2013-03-07 Andreas Jaeger <aj@suse.de>
15439 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15442 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15444 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15445 Include mpa.h and declare __MPEXP.
15446 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15447 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15448 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15449 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15450 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15451 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15452 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15454 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15455 (__slowpow): Use long double EXPL and LOGL functions to
15457 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15458 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15459 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15460 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15461 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15462 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15465 intermediate variable to calculate exponent.
15467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15471 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15472 [!NO__SQR]: Define __sqr.
15473 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15474 and NO__SQR. Remove all code except __mul and __sqr. Include
15475 sysdeps/ieee754/dbl-64/mpa.c.
15476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15479 * posix/Makefile (tests): Add tst-pathconf.
15480 * posix/tst-pathconf.c: New test case.
15481 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15483 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15485 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
15487 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15489 2013-03-06 Andreas Jaeger <aj@suse.de>
15491 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15492 definition via __MAP_ANONYMOUS.
15494 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15495 it's not part of Linux headers.
15497 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15498 (MAP_HUGE_MASK): Define.
15500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15502 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15503 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15505 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15506 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15508 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15509 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15511 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15513 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15514 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15515 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15516 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15517 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15518 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15520 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15524 Handle f2fs and efivarfs.
15526 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15529 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15530 (EFIVARFS_MAGIC): Add.
15531 (F2FS_LINK_MAX): Add.
15533 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15535 * stdio-common/vfprintf.c: Replace __builtin_expect with
15538 2013-03-06 Joseph Myers <joseph@codesourcery.com>
15541 * sysdeps/generic/bp-sym.h: Remove file.
15542 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15543 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15544 <bp-sym.h> and <bp-asm.h>.
15545 (__longjmp): Don't use BP_SYM.
15546 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15548 (memcpy): Don't use BP_SYM.
15549 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15550 <bp-sym.h> and <bp-asm.h>.
15551 (memcpy): Don't use BP_SYM.
15552 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15554 (memcpy): Don't use BP_SYM.
15555 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15557 (memset): Don't use BP_SYM.
15558 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15559 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15560 (__bzero): Don't use BP_SYM.
15561 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15562 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15563 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15564 <bp-sym.h> and <bp-asm.h>.
15565 (memcmp): Don't use BP_SYM. Remove comment about bounded
15567 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15568 <bp-sym.h> and <bp-asm.h>.
15569 (memcpy): Don't use BP_SYM.
15570 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15571 <bp-sym.h> and <bp-asm.h>.
15572 (memset): Don't use BP_SYM.
15573 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15574 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15575 (__bzero): Don't use BP_SYM.
15576 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15577 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15578 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15579 <bp-sym.h> and <bp-asm.h>.
15580 (strncmp): Don't use BP_SYM. Remove comment about bounded
15582 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15583 <bp-sym.h> and <bp-asm.h>.
15584 (memcpy): Don't use BP_SYM.
15585 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15586 <bp-sym.h> and <bp-asm.h>.
15587 (memset): Don't use BP_SYM.
15588 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15589 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15590 (__bzero): Don't use BP_SYM.
15591 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15592 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15593 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15594 <bp-sym.h> and <bp-asm.h>.
15595 (__memchr): Don't use BP_SYM.
15596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15597 <bp-sym.h> and <bp-asm.h>.
15598 (memcmp): Don't use BP_SYM. Remove comment about bounded
15600 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15601 <bp-sym.h> and <bp-asm.h>.
15602 (memcpy): Don't use BP_SYM.
15603 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15604 <bp-sym.h> and <bp-asm.h>.
15605 (__mempcpy): Don't use BP_SYM.
15606 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15607 <bp-sym.h> and <bp-asm.h>.
15608 (__memrchr): Don't use BP_SYM.
15609 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15610 <bp-sym.h> and <bp-asm.h>.
15611 (memset): Don't use BP_SYM.
15612 (__bzero): Likewise.
15613 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15614 <bp-sym.h> and <bp-asm.h>.
15615 (__rawmemchr): Don't use BP_SYM.
15616 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15617 <bp-sym.h> and <bp-asm.h>.
15618 (__STRCMP): Don't use BP_SYM.
15619 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15620 <bp-sym.h> and <bp-asm.h>.
15621 (strchr): Don't use BP_SYM.
15622 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15623 <bp-sym.h> and <bp-asm.h>.
15624 (__strchrnul): Don't use BP_SYM.
15625 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15626 <bp-sym.h> and <bp-asm.h>.
15627 (strlen): Don't use BP_SYM.
15628 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15629 <bp-sym.h> and <bp-asm.h>.
15630 (strncmp): Don't use BP_SYM. Remove comment about bounded
15632 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15633 <bp-sym.h> and <bp-asm.h>.
15634 (__strnlen): Don't use BP_SYM.
15635 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15636 <bp-sym.h> and <bp-asm.h>.
15637 (__GI__setjmp): Don't use BP_SYM.
15638 (_setjmp): Likewise.
15639 (__sigsetjmp): Likewise.
15640 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15641 (L(start_addresses)): Don't use BP_SYM.
15642 (_start): Likewise.
15643 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15645 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15646 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15647 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15648 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15649 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15651 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15652 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
15653 about bounded pointers.
15654 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15655 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15656 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15658 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15659 about bounded pointers. Remove GKM FIXME comments.
15660 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15661 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15663 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15664 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
15665 Remove GKM FIXME comments.
15666 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15667 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15668 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15670 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
15671 about bounded pointers. Remove GKM FIXME comment.
15672 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15674 (strncmp): Don't use BP_SYM. Remove comment about bounded
15676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15677 <bp-sym.h> and <bp-asm.h>.
15678 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15680 <bp-sym.h> and <bp-asm.h>.
15681 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15684 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15686 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15689 2013-03-05 David S. Miller <davem@davemloft.net>
15691 * po/es.po: Update from translation team.
15693 2013-03-05 Andreas Jaeger <aj@suse.de>
15695 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15696 <bits/mman-linux.h>.
15697 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15699 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15700 <bits/mman-linux.h> to end of file.
15701 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15703 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15704 <bits/mman-linux.h> to end of file.
15705 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15707 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15708 <bits/mman-linux.h> to end of file.
15710 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15711 (MCL_CURRENT, MCL_FUTURE): Define here.
15713 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15716 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15718 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15720 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15722 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15723 fourth parameter needed for rt_sigprocmask syscall.
15724 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15725 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15726 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15727 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15728 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15729 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15731 2013-03-04 Joseph Myers <joseph@codesourcery.com>
15734 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15735 comment about bounded pointers.
15736 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15737 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15739 2013-03-04 Andreas Jaeger <aj@suse.de>
15741 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15742 common definitions.
15744 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15745 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15746 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15747 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15748 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15749 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15751 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15755 __ieee754_sqrl instead of __sqrl.
15757 2013-03-01 Joseph Myers <joseph@codesourcery.com>
15759 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15760 * sysdeps/powerpc/fpu_control.h: ... here.
15761 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15762 * sysdeps/powerpc/bits/fenvinline.h: ... here.
15763 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15764 * sysdeps/powerpc/bits/mathinline.h: ... here.
15766 2013-03-01 Roland McGrath <roland@hack.frob.com>
15768 * elf/dl-hwcaps.c (_dl_important_hwcaps):
15769 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15770 to just [NEED_DL_SYSINFO_DSO].
15771 * elf/dl-support.c: Likewise.
15772 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15773 * elf/rtld.c (dl_main): Likewise.
15774 * elf/setup-vdso.h (setup_vdso): Likewise.
15775 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15776 * sysdeps/unix/sysv/linux/dl-sysdep.c
15777 (_dl_discover_osversion): Likewise.
15779 2013-03-01 Carlos O'Donell <carlos@redhat.com>
15781 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15782 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15784 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15786 * NEWS: Mention libm performance improvements and non-x86 PI
15789 * csu/libc-start.c (__pthread_initialize_minimal): Change
15790 function arguments.
15791 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15793 2013-02-28 Joseph Myers <joseph@codesourcery.com>
15796 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15797 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15798 <bp-sym.h> and <bp-asm.h>.
15799 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15800 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15802 (memcpy): Don't use BP_SYM.
15803 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15805 (__mpn_add_n): Don't use BP_SYM.
15806 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15807 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15809 (__mpn_addmul_1): Don't use BP_SYM.
15810 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15811 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15813 (_setjmp): Don't use BP_SYM.
15814 (__novmx_setjmp): Likewise.
15815 (__GI__setjmp): Likewise.
15816 (__vmx_setjmp): Likewise.
15817 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15819 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15820 (__bzero): Don't use BP_SYM.
15821 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15822 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15823 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15824 <bp-sym.h> and <bp-asm.h>.
15825 (memcpy): Don't use BP_SYM.
15826 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15827 <bp-sym.h> and <bp-asm.h>.
15828 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15829 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15830 <bp-sym.h> and <bp-asm.h>.
15831 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15832 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15834 (__mpn_lshift): Don't use BP_SYM.
15835 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15836 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15838 (memset): Don't use BP_SYM.
15839 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15840 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15841 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15843 (__mpn_mul_1): Don't use BP_SYM.
15844 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15845 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15846 <bp-sym.h> and <bp-asm.h>.
15847 (memcmp): Don't use BP_SYM.
15848 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15849 <bp-sym.h> and <bp-asm.h>.
15850 (memcpy): Don't use BP_SYM.
15851 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15852 <bp-sym.h> and <bp-asm.h>.
15853 (memset): Don't use BP_SYM.
15854 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15855 <bp-sym.h> and <bp-asm.h>.
15856 (strncmp): Don't use BP_SYM.
15857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15858 <bp-sym.h> and <bp-asm.h>.
15859 (memcpy): Don't use BP_SYM.
15860 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15861 <bp-sym.h> and <bp-asm.h>.
15862 (memset): Don't use BP_SYM.
15863 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15864 <bp-sym.h> and <bp-asm.h>.
15865 (__memchr): Don't use BP_SYM.
15866 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15867 <bp-sym.h> and <bp-asm.h>.
15868 (memcmp): Don't use BP_SYM.
15869 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15870 <bp-sym.h> and <bp-asm.h>.
15871 (memcpy): Don't use BP_SYM.
15872 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15873 <bp-sym.h> and <bp-asm.h>.
15874 (__mempcpy): Don't use BP_SYM.
15875 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15876 <bp-sym.h> and <bp-asm.h>.
15877 (__memrchr): Don't use BP_SYM.
15878 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15879 <bp-sym.h> and <bp-asm.h>.
15880 (memset): Don't use BP_SYM.
15881 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15882 <bp-sym.h> and <bp-asm.h>.
15883 (__rawmemchr): Don't use BP_SYM.
15884 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15885 <bp-sym.h> and <bp-asm.h>.
15886 (__STRCMP): Don't use BP_SYM.
15887 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15888 <bp-sym.h> and <bp-asm.h>.
15889 (strchr): Don't use BP_SYM.
15890 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15891 <bp-sym.h> and <bp-asm.h>.
15892 (__strchrnul): Don't use BP_SYM.
15893 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15894 <bp-sym.h> and <bp-asm.h>.
15895 (strlen): Don't use BP_SYM.
15896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15897 <bp-sym.h> and <bp-asm.h>.
15898 (strncmp): Don't use BP_SYM.
15899 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15900 <bp-sym.h> and <bp-asm.h>.
15901 (__strnlen): Don't use BP_SYM.
15902 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15904 (__mpn_rshift): Don't use BP_SYM.
15905 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15906 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15907 <bp-sym.h> and <bp-asm.h>.
15908 (__sigsetjmp): Don't use BP_SYM.
15909 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15910 (L(start_addresses)): Don't use BP_SYM.
15911 (_start): Likewise.
15912 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15914 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15915 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15916 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15917 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15919 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15920 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15921 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15922 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15924 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15926 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15927 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15929 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
15931 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15932 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15933 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15935 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
15937 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15939 (strncmp): Don't use BP_SYM,
15940 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15942 (__mpn_sub_n): Don't use BP_SYM.
15943 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15944 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15946 (__mpn_submul_1): Don't use BP_SYM.
15947 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15949 <bp-sym.h> and <bp-asm.h>.
15950 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15952 <bp-sym.h> and <bp-asm.h>.
15953 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
15956 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15958 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15959 Use ZK to minimize writes to Z.
15960 (sub_magnitudes): Simplify code a bit.
15961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15962 Use ZK to minimize writes to Z.
15963 (sub_magnitudes): Simplify code a bit.
15965 2013-02-27 Roland McGrath <roland@hack.frob.com>
15967 * csu/gmon-start.c: Add special exception to license text.
15969 2013-02-27 Richard Henderson <rth@redhat.com>
15971 * scripts/config.guess: Update from config.git.
15972 * scripts/config.sub: Likewise.
15974 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15976 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15978 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15980 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15982 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15984 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15986 2013-02-26 Roland McGrath <roland@hack.frob.com>
15988 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15989 [$(build-shared = yes].
15991 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15993 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15994 (__mul): Reduce iterations for calculating mantissa.
15996 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15998 (__mpranred): Likewise.
16001 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16002 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16004 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16006 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16007 Define __attribute__.
16009 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16011 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16013 * posix/regex_internal.h (__attribute): Remove.
16014 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16015 (re_string_context_at): Likewise.
16016 (bitset_not): Use __attribute__ and mark function as possibly
16018 (bitset_merge): Likewise.
16019 (bitset_mask): Likewise.
16020 (re_string_char_size_at): Likewise.
16021 (re_string_wchar_at): Likewise.
16022 (re_string_elem_size_at): Likewise.
16024 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16026 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16030 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16034 (denorm): Likewise.
16035 (__dbl_mp): Likewise.
16036 (add_magnitudes): Likewise.
16037 (sub_magnitudes): Likewise.
16041 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16044 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16047 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16050 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16051 up changes with default code.
16052 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16055 2013-02-24 Allan McRae <allan@archlinux.org>
16057 * manual/socket.texi (The Internet Namespace): Order menu items
16058 to match that in the file.
16060 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16061 node listing of the info page menu.
16063 2013-02-21 Joseph Myers <joseph@codesourcery.com>
16066 * sysdeps/i386/bp-asm.h: Remove file.
16067 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16068 (PARMS): Do not use macros from bp-asm.h.
16072 (__mpn_add_n): Do not use BP_SYM
16073 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
16075 (PARMS): Do not use macros from bp-asm.h.
16078 (__mpn_addmul_1): Do not use BP_SYM
16079 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
16081 (PARMS): Do not use macros from bp-asm.h.
16082 (SIGMSK): Likewise.
16083 (_setjmp): Likewise. Do not use BP_SYM.
16084 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
16086 (PARMS): Do not use macros from bp-asm.h.
16087 (SIGMSK): Likewise.
16088 (setjmp): Likewise. Do not use BP_SYM.
16089 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
16091 (PARMS): Do not use macros from bp-asm.h.
16092 (__frexp): Do not use BP_SYM.
16094 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
16096 (PARMS): Do not use macros from bp-asm.h.
16097 (__frexpf): Do not use BP_SYM.
16098 (frexpf): Likewise.
16099 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
16101 (PARMS): Do not use macros from bp-asm.h.
16102 (__frexpl): Do not use BP_SYM.
16103 (frexpl): Likewise.
16104 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
16106 (PARMS): Do not use macros from bp-asm.h.
16107 (__remquo): Do not use BP_SYM.
16108 (remquo): Likewise.
16109 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
16111 (PARMS): Do not use macros from bp-asm.h.
16112 (__remquof): Do not use BP_SYM.
16113 (remquof): Likewise.
16114 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
16116 (PARMS): Do not use macros from bp-asm.h.
16117 (__remquol): Do not use BP_SYM.
16118 (remquol): Likewise.
16119 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
16121 (PARMS): Do not use macros from bp-asm.h.
16124 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
16125 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
16127 (PARMS): Do not use macros from bp-asm.h.
16128 (strlen): Do not use BP_SYM.
16129 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
16131 (PARMS): Do not use macros from bp-asm.h.
16135 (__mpn_add_n): Do not use BP_SYM.
16136 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
16138 (PARMS): Do not use macros from bp-asm.h.
16141 (__mpn_addmul_1): Do not use BP_SYM.
16142 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
16145 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
16147 (PARMS): Do not use macros from bp-asm.h.
16150 (__mpn_lshift): Do not use BP_SYM.
16151 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
16153 (PARMS): Do not use macros from bp-asm.h.
16157 (memcpy): Likewise. Do not use BP_SYM.
16158 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
16159 libc_hidden_def and weak_alias.
16160 (mempcpy): Do not use BP_SYM in weak_alias.
16161 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
16163 (PARMS): Do not use macros from bp-asm.h.
16166 [!BZERO_P] (CHR): Likewise.
16167 (memset): Likewise. Do not use BP_SYM.
16168 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
16170 (PARMS): Do not use macros from bp-asm.h.
16173 (__mpn_mul_1): Do not use BP_SYM.
16174 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
16176 (PARMS): Do not use macros from bp-asm.h.
16179 (__mpn_rshift): Do not use BP_SYM.
16180 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
16182 (PARMS): Do not use macros from bp-asm.h.
16185 (strchr): Likewise. Do not use BP_SYM.
16186 (index): Do not use BP_SYM in weak_alias.
16187 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
16189 (PARMS): Do not use macros from bp-asm.h.
16192 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
16193 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16195 (PARMS): Do not use macros from bp-asm.h.
16196 (strlen): Do not use BP_SYM.
16197 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16199 (PARMS): Do not use macros from bp-asm.h.
16203 (__mpn_sub_n): Do not use BP_SYM.
16204 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16206 (PARMS): Do not use macros from bp-asm.h.
16209 (__mpn_submul_1): Do not use BP_SYM.
16210 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16212 (PARMS): Do not use macros from bp-asm.h.
16216 (__mpn_add_n): Do not use BP_SYM.
16217 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16220 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16222 (PARMS): Do not use macros from bp-asm.h.
16225 (memcmp): Do not use BP_SYM.
16226 (bcmp): Do not use BP_SYM in weak_alias.
16227 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16229 (PARMS): Do not use macros from bp-asm.h.
16233 (memcpy): Likewise. Do not use BP_SYM.
16234 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16236 (PARMS): Do not use macros from bp-asm.h.
16240 (memmove): Likewise. Do not use BP_SYM.
16241 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16243 (PARMS): Do not use macros from bp-asm.h.
16247 (__mempcpy): Likewise. Do not use BP_SYM.
16248 (mempcpy): Do not use BP_SYM in weak_alias.
16249 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16251 (PARMS): Do not use macros from bp-asm.h.
16254 [!BZERO_P] (CHR): Likewise.
16255 (memset): Likewise. Do not use BP_SYM.
16256 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16258 (PARMS): Do not use macros from bp-asm.h.
16260 (strcmp): Do not use BP_SYM.
16261 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16263 (PARMS): Do not use macros from bp-asm.h.
16266 [USE_AS_STRTOK_R] (SAVE): Likewise.
16267 (FUNCTION): Likewise. Do not use BP_SYM.
16268 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16270 (strtok_r): Likewise.
16271 (__GI___strtok_r): Likewise.
16272 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16273 (PARMS): Do not use macros from bp-asm.h.
16276 (__mpn_lshift): Do not use BP_SYM.
16277 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16278 (PARMS): Do not use macros from bp-asm.h.
16281 (__memchr): Do not use BP_SYM.
16282 (memchr): Do not use BP_SYM in weak_alias.
16283 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16284 (PARMS): Do not use macros from bp-asm.h.
16287 (memcmp): Do not use BP_SYM.
16288 (bcmp): Do not use BP_SYM in weak_alias.
16289 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16290 (PARMS): Do not use macros from bp-asm.h.
16293 (__mpn_mul_1): Do not use BP_SYM.
16294 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16296 (PARMS): Do not use macros from bp-asm.h.
16299 (__rawmemchr): Do not use BP_SYM.
16300 (rawmemchr): Do not use BP_SYM in weak_alias.
16301 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16302 (PARMS): Do not use macros from bp-asm.h.
16305 (__mpn_rshift): Do not use BP_SYM.
16306 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16307 (PARMS): Do not use macros from bp-asm.h.
16308 (SIGMSK): Likewise.
16309 (__sigsetjmp): Likewise. Do not use BP_SYM.
16310 * sysdeps/i386/start.S: Do not include "bp-sym.h".
16311 (_start): Do not use BP_SYM.
16312 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16313 (PARMS): Do not use macros from bp-asm.h.
16316 (__stpcpy): Likewise. Do not use BP_SYM.
16317 (stpcpy): Do not use BP_SYM in weak_alias.
16318 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16320 (PARMS): Do not use macros from bp-asm.h.
16324 (__stpncpy): Likewise. Do not use BP_SYM.
16325 (stpncpy): Do not use BP_SYM in weak_alias.
16326 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16327 (PARMS): Do not use macros from bp-asm.h.
16330 (strchr): Likewise. Do not use BP_SYM.
16331 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16333 (PARMS): Do not use macros from bp-asm.h.
16336 (__strchrnul): Likewise. Do not use BP_SYM.
16337 (strchrnul): Do not use BP_SYM in weak_alias.
16338 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16340 (PARMS): Do not use macros from bp-asm.h.
16342 (strcspn): Do not use BP_SYM.
16343 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16345 (PARMS): Do not use macros from bp-asm.h.
16348 (strpbrk): Likewise. Do not use BP_SYM.
16349 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16351 (PARMS): Do not use macros from bp-asm.h.
16354 (strrchr): Likewise. Do not use BP_SYM.
16355 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16356 (PARMS): Do not use macros from bp-asm.h.
16358 (strspn): Do not use BP_SYM.
16359 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16360 (PARMS): Do not use macros from bp-asm.h.
16364 (FUNCTION): Likewise. Do not use BP_SYM.
16365 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16367 (strtok_r): Likewise.
16368 (__GI___strtok_r): Likewise.
16369 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16370 (PARMS): Do not use macros from bp-asm.h.
16374 (__mpn_sub_n): Do not use BP_SYM.
16375 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16377 (PARMS): Do not use macros from bp-asm.h.
16380 (__mpn_submul_1): Do not use BP_SYM.
16381 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16383 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16385 (PARMS): Do not use macros from bp-asm.h.
16390 (__clone): Do not use BP_SYM.
16391 (clone): Do not use BP_SYM in weak_alias.
16392 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16394 (PARMS): Do not use macros from bp-asm.h.
16396 (__mmap64): Do not use BP_SYM.
16397 (mmap64): Do not use BP_SYM in weak_alias.
16398 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16399 <bp-sym.h> and <bp-asm.h>.
16400 (PARMS): Do not use macros from bp-asm.h.
16401 (__posix_fadvise64_l64): Do not use BP_SYM.
16402 * sysdeps/unix/sysv/linux/i386/semtimedop.S
16403 (PARMS): Do not use macros from bp-asm.h.
16405 (semtimedop): Do not use BP_SYM.
16406 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16409 2013-02-21 Allan McRae <allan@archlinux.org>
16411 * manual/message.texi (Charset conversion in gettext):
16412 Move @end statement to beginning of line.
16414 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16416 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16418 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16421 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16422 (denorm): Likewise.
16423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16426 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16428 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16429 tail-call to the resolved function if pltexit isn't needed.
16431 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16434 or Y being zero as being unlikely.
16435 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16438 2013-02-20 Carlos O'Donell <carlos@redhat.com>
16440 * manual/nss.texi (System Databases and Name Service Switch):
16441 Remove frobnicate @pxref.
16443 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16445 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16446 __attribute__ ((unused)) to __attribute__ ((__unused__)).
16448 2013-02-20 Petr Machata <pmachata@redhat.com>
16450 * elf/elf.h (R_ARM_TARGET1): New macro.
16451 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16452 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16453 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16454 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16455 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16456 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16457 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16458 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16459 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16460 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16461 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16462 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16463 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16464 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16465 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16466 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16467 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16468 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16469 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16470 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16471 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16472 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16473 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16474 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16475 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16476 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16477 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16478 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16479 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16480 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16481 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16482 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16483 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16484 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16485 (R_ARM_THM_GOT_BREL12): Likewise.
16486 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16487 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16488 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16489 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16490 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16491 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16492 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16493 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16494 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16496 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
16498 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16499 __attribute_used__ to __attribute__ ((unused)).
16501 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
16503 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16506 comment formatting.
16507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16509 2013-02-19 Joseph Myers <joseph@codesourcery.com>
16512 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16514 (ENTER): Remove both macro definitions.
16516 (CHECK_BOUNDS_LOW): Likewise.
16517 (CHECK_BOUNDS_HIGH): Likewise.
16518 (CHECK_BOUNDS_BOTH): Likewise.
16519 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16520 (RETURN_BOUNDED_POINTER): Likewise.
16521 (RETURN_NULL_BOUNDED_POINTER): Likewise.
16522 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16523 (POP_ERRNO_LOCATION_RETURN): Likewise.
16524 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16525 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16526 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16528 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16529 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16530 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16531 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16532 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16533 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16534 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16535 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16536 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16537 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16538 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16539 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16540 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16541 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16543 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16544 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16546 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16547 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16548 * sysdeps/i386/i586/memset.S (memset): Likewise.
16549 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16550 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16551 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16553 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16554 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16555 Change uses of L(2) to L(out).
16556 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16557 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16558 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16559 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16560 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16562 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16563 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16565 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16566 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16567 (RETURN): Do not use macro LEAVE.
16568 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16569 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16570 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16571 * sysdeps/i386/i686/memset.S (memset): Likewise.
16572 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16573 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16574 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16575 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16577 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16578 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
16579 L(1_2) and L(1_3) into L(1).
16580 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16581 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16582 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16583 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16584 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16585 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16586 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16587 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16588 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16590 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16591 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16592 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16593 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16594 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16595 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16596 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16597 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16598 * sysdeps/i386/strcspn.S (strcspn): Likewise.
16599 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16600 * sysdeps/i386/strrchr.S (strrchr): Likewise.
16601 * sysdeps/i386/strspn.S (strspn): Likewise.
16602 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16604 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16605 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16606 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16607 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
16608 L(1_3) into L(1_1).
16609 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16610 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16611 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16613 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16615 2013-02-19 Jakub Jelinek <jakub@redhat.com>
16617 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16620 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16622 * math/atest-exp.c (exp_mpn): Remove ROUND.
16623 * math/atest-exp2.c (exp_mpn): Likewise.
16624 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16626 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16627 * stdlib/tst-tls-atexit-lib.c: Likewise.
16628 * stdlib/tst-tls-atexit.c: Likewise.
16630 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16632 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16633 and __attribute_alloc_size__.
16635 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16637 * include/programs/xmalloc.h: Change __attribute_alloc_size to
16638 __attribute_alloc_size__.
16639 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16640 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16642 2013-02-18 Mike Frysinger <vapier@gentoo.org>
16644 * include/programs/xmalloc.h: New file.
16645 * catgets/gencat.c: Include it.
16646 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16647 * elf/pldd.c: Likewise.
16648 * iconv/iconv_charmap.c: Likewise.
16649 * iconv/iconvconfig.c: Likewise.
16650 * iconv/strtab.c: Likewise.
16651 * locale/programs/locale.c: Likewise.
16652 * locale/programs/localedef.h: Likewise.
16653 * locale/programs/simple-hash.c: Likewise.
16654 * nscd/nscd.h: Likewise.
16655 * nss/makedb.c: Likewise.
16656 * sysdeps/generic/ldconfig.h: Likewise.
16658 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16660 * Versions.def: Add GLIBC_2.18.
16661 * include/link.h (struct link_map): New member l_tls_dtor_count.
16662 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16663 (__call_tls_dtors): Likewise.
16664 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16665 __cxa_thread_atexit_impl.
16666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16674 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16675 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16680 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16682 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16683 (tests): Add test case tst-tls-atexit.
16684 (modules-names): Add shared library for tst-tls-atexit.
16685 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16686 (GLIBC_PRIVATE): Add __call_tls_dtors.
16687 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16689 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16690 * stdlib/tst-tls-atexit.c: New test case.
16691 * stdlib/tst-tls-atexit-lib.c: New test case.
16693 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16695 * elf/Versions (ld): Add _dl_find_dso_for_object.
16696 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16697 * elf/dl-open.c (_dl_find_dso_for_object): New function.
16698 (dl_open_worker): Use _dl_find_dso_for_object.
16699 * elf/dl-sym.c (do_sym): Likewise.
16700 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16702 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16704 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16705 Syntactic changes only.
16706 (_dl_runtime_profile): Do a tail-call to the resolved function.
16708 2013-02-17 Joseph Myers <joseph@codesourcery.com>
16711 * sysdeps/x86_64/bp-asm.h: Remove file.
16712 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16713 <bp-sym.h> and <bp-asm.h>.
16714 (__clone): Do not use BP_SYM.
16715 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16716 <bp-sym.h> and <bp-asm.h>.
16717 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16718 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16720 (_setjmp): Do not use BP_SYM.
16721 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16723 (setjmp): Do not use BP_SYM.
16724 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16726 (mempcpy): Do not use BP_SYM in weak_alias.
16727 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16729 (strchr): Do not use BP_SYM.
16730 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16732 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16733 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16734 (_start): Do not use BP_SYM.
16735 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16737 (strcat): Do not use BP_SYM.
16738 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16740 (STRCMP): Do not use BP_SYM.
16741 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16743 (STRCPY): Do not use BP_SYM.
16744 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16746 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16748 (FUNCTION): Do not use BP_SYM.
16749 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16751 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16753 2013-02-17 Andreas Jaeger <aj@suse.de>
16755 * time/Versions: Sort entries.
16756 * string/Versions: Likewise.
16757 * resolv/Versions: Likewise.
16758 * posix/Versions: Likewise.
16759 * iconv/Versions: Likewise.
16760 * elf/Versions: Likewise.
16761 * wcsmbs/Versions: Likewise.
16763 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16765 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16766 loop termination condition.
16768 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16769 variable to calculate EZ.
16772 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16773 the lower precision input.
16775 2013-02-15 Joseph Myers <joseph@codesourcery.com>
16778 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16779 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16780 (run-via-rtld-prefix): Do not handle %-bp tests.
16781 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16782 (all-object-suffixes): Remove .ob.
16783 (bppfx): Remove variable.
16784 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16785 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16786 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16787 [$(build-bounded) = yes] (libtype.ob): Likewise.
16788 * Makerules (elide-routines.ob): Remove variable.
16789 (do-tests-clean): Do not handle *-bp.out.
16790 (common-mostlyclean): Do not handle *-bp and *-bp.out.
16791 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16792 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16793 (tests): Do not include $(tests-bp.out).
16794 (xtests): Do not include $(xtests-bp.out).
16795 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16796 [$(build-bounded) = yes] ($(addprefix
16797 $(objpfx),$(binaries-bounded))): Remove rule.
16798 ($(objpfx)%-bp.out): Remove rule.
16799 * config.make.in (build-bounded): Remove variable.
16800 * crypt/Makefile [$(build-bounded) = yes]
16801 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16802 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16803 append to variable.
16804 [$(build-bounded) = yes] (install-lib): Likewise.
16805 [$(build-bounded) = yes] (generated): Likewise.
16806 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16808 * intl/Makefile [$(build-bounded) = yes]
16809 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16810 * math/Makefile [$(build-bounded) = yes]
16811 ($(tests:%=$(objpfx)%-bp): Likewise.
16812 * misc/Makefile [$(build-bounded) = yes]
16813 ($(objpfx)tst-tsearch-bp): Likewise.
16814 * nptl/Makeconfig (bounded-thread-library): Remove variable.
16815 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16817 * string/Makefile (o-objects.ob): Remove variable.
16818 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16819 (CFLAGS-.ob): Remove variable.
16820 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16821 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16822 both definitions of variable.
16823 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16824 (ASFLAGS-.ob): Remove variable.
16826 2013-02-14 Joseph Myers <joseph@codesourcery.com>
16829 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16830 Remove __BOUNDED_POINTERS__ from condition.
16831 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16832 * string/bits/string2.h [!__NO_STRING_INLINES &&
16833 !__BOUNDED_POINTERS__]: Likewise.
16834 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16836 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16837 Remove conditional code.
16838 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16839 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16840 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16844 * csu/libc-start.c: Do not include <bp-sym.h>.
16845 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16846 * elf/dl-open.c: Do not include <bp-sym.h>.
16847 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16848 * math/fegetenv.c: Do not include <bp-sym.h>.
16849 (fegetenv): Do not use BP_SYM in versioned symbols.
16850 * nptl/sysdeps/pthread/bits/libc-lockP.h
16851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16854 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16856 (__pthread_mutex_destroy): Likewise.
16857 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16858 (__pthread_mutex_lock): Likewise.
16859 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16860 (__pthread_mutex_trylock): Likewise.
16861 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16862 (__pthread_mutex_unlock): Likewise.
16863 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16864 (__pthread_mutexattr_init): Likewise.
16865 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16866 (__pthread_mutexattr_destroy): Likewise.
16867 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16868 (__pthread_mutexattr_settype): Likewise.
16869 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16870 (__pthread_rwlock_init): Likewise.
16871 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16872 (__pthread_rwlock_destroy): Likewise.
16873 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16874 (__pthread_rwlock_rdlock): Likewise.
16875 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16876 (__pthread_rwlock_tryrdlock): Likewise.
16877 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16878 (__pthread_rwlock_wrlock): Likewise.
16879 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16880 (__pthread_rwlock_trywrlock): Likewise.
16881 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16882 (__pthread_rwlock_unlock): Likewise.
16883 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16884 (__pthread_key_create): Likewise.
16885 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16886 (__pthread_setspecific): Likewise.
16887 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16888 (__pthread_getspecific): Likewise.
16889 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16891 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16892 (_pthread_cleanup_push_defer): Likewise.
16893 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16894 (_pthread_cleanup_pop_restore): Likewise.
16895 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16896 (pthread_setcancelstate): Likewise.
16897 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16899 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16900 (memchr): Do not use BP_SYM in weak_alias.
16901 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16902 (fegetenv): Do not use BP_SYM in versioned symbols.
16903 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16904 (fesetenv): Do not use BP_SYM in versioned symbols.
16905 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16906 (feupdateenv): Do not use BP_SYM in versioned symbols.
16907 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16908 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16909 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16910 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16911 (open64): Do not use BP_SYM in weak_alias.
16912 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16913 (fegetenv): Do not use BP_SYM in versioned symbols.
16914 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16915 (fesetenv): Do not use BP_SYM in versioned symbols.
16916 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16917 (feupdateenv): Do not use BP_SYM in versioned symbols.
16918 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16919 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16920 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16921 (feraiseexcept): Do not use BP_SYM in versioned symbols.
16922 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16923 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16924 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16926 (__libc_start_main): Do not use BP_SYM.
16928 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16931 redundant return line.
16933 (denorm): Likewise.
16934 (dbl_mp): Likewise.
16935 (sub_magnitudes): Likewise.
16941 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16943 (denorm): Likewise.
16944 (dbl_mp): Likewise.
16945 (sub_magnitudes): Likewise.
16952 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16954 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16955 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16958 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16959 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16961 of __mul for squares.
16962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16966 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16967 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16969 2013-02-13 Joseph Myers <joseph@codesourcery.com>
16972 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16974 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16975 prototype or function definition. Rename ubp_* variables and
16976 parameters. Remove argv definitions conditional on
16977 [__BOUNDED_POINTERS__].
16978 * debug/backtrace.c (__backtrace): Do not use __unbounded.
16979 * elf/dl-runtime.c (_dl_fixup): Likewise.
16980 * include/set-hooks.h (RUN_HOOK): Likewise.
16981 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16983 * string/strcpy.c (strcpy): Do not use __unbounded.
16984 * sysdeps/generic/frame.h (struct layout): Likewise.
16985 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16986 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16987 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16988 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16989 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16990 (__backtrace): Likewise.
16991 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16993 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16994 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16995 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16997 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16998 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16999 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17000 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17001 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17002 Do not use __unbounded.
17003 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17004 Rename __unboundedrlimits parameter to rlimits in prototype.
17005 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17006 Do not use __unbounded.
17007 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17008 not use __ptrvalue.
17009 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17010 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17011 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17012 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17013 __ptrvalue or __unbounded.
17014 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17015 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17017 (__new_msgctl): Do not use __ptrvalue.
17018 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17020 (__libc_msgrcv): Do not use __ptrvalue.
17021 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17022 startup_info): Do not use __unbounded.
17023 (__libc_start_main): Likewise. Rename ubp_* variables and
17024 parameters. Remove argv definitions conditional on
17025 [__BOUNDED_POINTERS__].
17026 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17028 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17030 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17032 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17034 (__new_shmctl): Do not use __ptrvalue.
17035 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17036 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17038 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17039 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17040 (__libc_sigaction): Likewise.
17041 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17042 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17044 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17046 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
17048 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17050 * string/mempcpy.c: Implement by calling memcpy.
17052 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17054 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17056 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17059 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17060 values in the mantissa.
17062 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17063 minimize writes to Z.
17064 (sub_magnitudes): Simplify code a bit.
17066 2013-02-12 Roland McGrath <roland@hack.frob.com>
17068 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17069 from the message. The linker prefixes all warnings with that already.
17071 2013-02-12 Andreas Schwab <schwab@suse.de>
17074 * posix/regexec.c (extend_buffers): Add parameter min_len.
17075 (check_matching): Pass minimum needed length.
17076 (clean_state_log_if_needed): Likewise.
17077 (get_subexp): Likewise.
17078 * posix/Makefile (tests): Add bug-regex34.
17079 (bug-regex34-ENV): Define.
17080 * posix/bug-regex34.c: New file.
17083 * posix/regcomp.c (parse_bracket_exp): When looking up collating
17084 elements compare against the byte sequence of it, not its name.
17085 * posix/Makefile (tests): Add bug-regex35.
17086 (bug-regex35-ENV): Define.
17087 * posix/bug-regex35.c: New file.
17089 2013-02-11 Tom de Vries <tom@codesourcery.com>
17091 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
17093 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
17094 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
17095 (CHECK_EOL): Add undef.
17097 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
17099 * bits/stdlib-bsearch.h: New file.
17100 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
17101 * stdlib/stdlib.h: Likewise.
17103 2013-02-11 Roland McGrath <roland@hack.frob.com>
17105 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
17106 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
17108 * manual/search.texi (Array Search Function): Add missing const in
17110 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
17111 declaration to use rlim_t.
17112 (Basic Scheduling Functions): Remove erroneous const from
17113 sched_getparam prototype. Remove erroneous * from
17114 sched_get_priority_max and sched_get_priority_min prototypes.
17115 (Resource Usage): Fix summary @comment on vtimes to refer to
17116 sys/vtimes.h rather than vtimes.h.
17117 Add missing *s in vtimes prototype.
17118 (Limits on Resources): Fix ulimit prototype to return long int.
17119 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
17120 prototypes to use long int rather than double.
17121 (BSD Random): Fix initstate and setstate to use char *, not void *.
17122 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
17123 prototype to make second argument 'struct aiocb64 *const[]'.
17124 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
17125 (Status of AIO Operations): Remove erroneous const in aio_return and
17126 aio_return64 prototypes.
17127 (Synchronizing I/O): Fix sync prototype to return void.
17128 * manual/startup.texi (Suboptions): Remove an erroneous const in
17129 getsubopt prototype.
17130 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
17131 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
17132 use size_t rather than int.
17133 (Scanning All Users): Likewise for getpwent_r.
17134 (Setting Groups): Add missing const to setgroups prototype.
17135 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
17136 * manual/socket.texi (Host Names): Fix gethostbyaddr and
17137 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
17138 'const void *' rather than 'const char *'.
17139 (Host Address Functions): Likewise for inet_ntop.
17140 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
17141 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
17142 ssize_t for return value.
17143 (Sending Data): Likewise for send, sendto, sendmsg.
17144 (Socket Option Functions): Add a missing const in setsockopt prototype.
17145 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
17146 use wchar_t for the argument.
17147 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
17148 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
17150 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
17151 double/float/long double for second argument.
17152 Fix return types of significand, significandf, significandl.
17153 * manual/filesys.texi (Setting Permissions): Use mode_t for second
17154 argument in fchmod prototype.
17155 (File Owner): Use uid_t and gid_t in fchown prototype.
17156 (File Times): Add const to utimes, futimes, and lutimes prototypes.
17157 (Making Special Files): Use mode_t and dev_t in mknod prototype.
17158 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
17159 use 'const struct dirent **' as argument types to CMP function pointer
17161 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
17162 (File Times): Fix summary magic @comment for struct utimbuf and utime
17163 to refer to utime.h, not time.h.
17164 * manual/string.texi (Argz Functions): Add missing const in
17165 argz_extract and argz_next prototypes.
17166 (Finding Tokens in a String): Likewise for basename.
17167 (String/Array Comparison): Fix typo in wcscasecmp prototype.
17168 (Copying and Concatenation): Fix typo in wmemmove prototype.
17169 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
17170 (Signal Stack): Remove erroneous const in sigstack prototype.
17171 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
17173 (Simple Calendar Time): Likewise for stime.
17174 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
17176 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
17177 say sys/sysctl.h instead.
17178 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
17179 and vsyslog prototypes.
17181 2013-02-11 Tom de Vries <tom@codesourcery.com>
17183 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
17186 2013-02-11 Roland McGrath <roland@hack.frob.com>
17188 * misc/sys/mman.h: Fix typo in mremap comment.
17190 2013-02-08 Roland McGrath <roland@hack.frob.com>
17192 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17193 the '\0' terminator.
17195 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17198 * debug/segfault.c: Don't include <bp-checks.h>.
17199 * sysdeps/generic/bp-checks.h: Remove file.
17200 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17201 (__GETDENTS): Don't use CHECK_N.
17202 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17203 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17204 (__getgroups): Don't use CHECK_N.
17205 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17206 (setgroups): Don't use CHECK_N.
17207 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17208 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17209 (__libc_msgrcv): Don't use CHECK_N.
17210 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17211 (__libc_msgsnd): Don't use CHECK_N.
17212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17214 (__libc_pread): Don't use CHECK_N.
17215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17216 include <bp-checks.h>.
17217 (__libc_pread64): Don't use CHECK_N.
17218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17219 include <bp-checks.h>.
17220 (__libc_pwrite): Don't use CHECK_N.
17221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17222 include <bp-checks.h>.
17223 (__libc_pwrite64): Don't use CHECK_N.
17224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17226 (__libc_pread): Don't use CHECK_N.
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17228 include <bp-checks.h>.
17229 (__libc_pread64): Don't use CHECK_N.
17230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17231 include <bp-checks.h>.
17232 (__libc_pwrite): Don't use CHECK_N.
17233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17234 include <bp-checks.h>.
17235 (__libc_pwrite64): Don't use CHECK_N.
17236 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17237 (do_pread): Don't use CHECK_N.
17238 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17239 (do_pread64): Don't use CHECK_N.
17240 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17241 (do_pwrite): Don't use CHECK_N.
17242 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17243 (do_pwrite64): Don't use CHECK_N.
17244 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17245 (__libc_readv): Don't use CHECK_N.
17246 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17247 (semop): Don't use CHECK_N.
17248 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17250 (semtimedop): Don't use CHECK_N.
17251 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17252 (__libc_pread): Don't use CHECK_N.
17253 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17255 (__libc_pread64): Don't use CHECK_N.
17256 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17258 (__libc_pwrite): Don't use CHECK_N.
17259 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17261 (__libc_pwrite64): Don't use CHECK_N.
17262 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17264 (__libc_msgrcv): Don't use CHECK_N.
17265 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17266 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
17267 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17268 (__libc_writev): Don't use CHECK_N.
17270 2013-02-08 Roland McGrath <roland@hack.frob.com>
17272 * string/strcpy.c: Removed unused variable.
17274 * Makeconfig (+sysdep-includes): Define with := rather than =.
17275 Use an existing include/ subdir of each sysdeps dir before it.
17277 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17279 * nscd/connection.c (register_traced_file): Comment function.
17280 [HAVE_INOTIFY] (union __inev): Define.
17281 [HAVE_INOTIFY] (inotify_check_files): New function.
17282 [HAVE_INOTIFY] (clear_db_cache): Likewise.
17283 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17285 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17287 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17289 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17290 loaded if not already and that a failure is permanent.
17292 2013-02-08 Carlos O'Donell <carlos@redhat.com>
17295 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17296 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17298 2013-02-08 Joseph Myers <joseph@codesourcery.com>
17301 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17302 (CHECK_1_NULL_OK): Likewise.
17303 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17304 (__fxstat): Do not use CHECK_1.
17305 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17307 (___fxstat64): Do not use CHECK_1.
17308 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17310 (__fxstatat): Do not use CHECK_1.
17311 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17313 (__fxstatat64): Do not use CHECK_1.
17314 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17316 (__fxstat): Do not use CHECK_1.
17317 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17319 (__fxstatat): Do not use CHECK_1.
17320 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17322 (__getresgid): Do not use CHECK_1.
17323 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17325 (__getresuid): Do not use CHECK_1.
17326 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17328 (__lxstat): Do not use CHECK_1.
17329 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17331 (__old_msgctl): Do not use CHECK_1.
17332 (__new_msgctl): Likewise.
17333 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17335 (__new_setrlimit): Do not use CHECK_1.
17336 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17338 (__old_shmctl): Do not use CHECK_1.
17339 (__new_shmctl): Likewise.
17340 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17342 (__xstat): Do not use CHECK_1.
17343 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17344 (__lxstat): Do not use CHECK_1.
17345 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17347 (___lxstat64): Do not use CHECK_1.
17348 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17349 (__old_msgctl): Do not use CHECK_1.
17350 (__new_msgctl): Likewise.
17351 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17353 (__gettimeofday): Do not use CHECK_1.
17354 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17355 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17356 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17358 (__gettimeofday): Do not use CHECK_1.
17359 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17360 (__old_shmctl): Do not use CHECK_1_NULL_OK.
17361 (__new_shmctl): Do not use CHECK_1.
17362 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17364 (do_sigtimedwait): Do not use CHECK_1.
17365 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17367 (do_sigwaitinfo): Do not use CHECK_1.
17368 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17370 (msgctl): Do not use CHECK_1.
17371 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17373 (shmctl): Do not use CHECK_1.
17374 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17375 (ustat): Do not use CHECK_1.
17376 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17378 (__fxstat): Do not use CHECK_1.
17379 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17381 (__fxstatat): Do not use CHECK_1.
17382 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17384 (__lxstat): Do not use CHECK_1.
17385 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17387 (__xstat): Do not use CHECK_1.
17388 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17389 (__xstat): Do not use CHECK_1.
17390 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17391 (___xstat64): Do not use CHECK_1.
17394 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17396 (CHECK_BOUNDS_HIGH): Likewise.
17397 * string/strcpy.c: Do not include <bp-checks.h>.
17398 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17400 2013-02-07 Roland McGrath <roland@hack.frob.com>
17402 * nscd/nscd-client.h (__nscd_drop_map_ref):
17403 Add __attribute__ ((unused)).
17404 * nis/nss-nisplus.h (niserr2nss): Likewise.
17406 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17407 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17409 * csu/libc-tls.c (init_static_tls, init_slotinfo):
17410 Remove inline keyword.
17411 * include/rounding-mode.h (round_away): Likewise.
17412 * libio/wfileops.c (adjust_wide_data): Likewise.
17413 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17414 (__m128i_strloadu_tolower): Likewise.
17415 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17416 (__m128i_strloadu_tolower): Likewise.
17417 * time/mktime.c (ydhms_diff): Likewise.
17418 * locale/elem-hash.h (elem_hash): Likewise.
17419 * locale/setlocale.c (setdata): Likewise.
17420 * posix/regex_internal.h (re_string_char_size_at): Likewise.
17421 (re_string_wchar_at): Likewise.
17422 (bitset_not, bitset_merge, bitset_mask): Likewise.
17423 [!(__GNUC__ > 3)] (inline): Remove macro.
17424 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17425 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17426 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17427 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17428 * string/memcmp.c (memcmp_bytes): Likewise.
17429 * locale/programs/locarchive.c (compute_hashval): Likewise.
17430 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17431 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17432 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17433 * nss/getent.c (print_rpc, print_protocols): Likewise.
17434 (print_passwd, print_group, print_aliases): Likewise.
17435 * nis/nss-nisplus.h (niserr2nss): Likewise.
17436 * nscd/connections.c (restart_p): Likewise.
17437 Change return type to bool.
17439 2013-02-05 Roland McGrath <roland@hack.frob.com>
17441 * Makeconfig (all-Depend-files): Add existing
17442 $(sorted-subdirs:=/Depend) files.
17443 (all-subdirs): Remove nss.
17444 * sysdeps/unix/inet/Subdirs: Add it here instead.
17445 * hesiod/Depend: New file.
17447 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17448 instead of calling alloca.
17450 * io/lseek.c (__lseek): Rename to __libc_lseek.
17451 Define __lseek as an alias.
17453 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17455 2013-02-04 Carlos O'Donell <carlos@redhat.com>
17457 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17458 else clause and remove check for non-standard endianness.
17460 2013-02-04 David S. Miller <davem@davemloft.net>
17462 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17464 2013-02-04 Joseph Myers <joseph@codesourcery.com>
17467 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17468 (__ubp_memchr): Remove prototype.
17469 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17470 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17471 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17472 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17473 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17475 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17476 (__ubp_memchr): Likewise.
17477 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17478 (__ubp_memchr): Likewise.
17479 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17480 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17481 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17482 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17484 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17485 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17486 (__getcwd): Do not use CHECK_STRING.
17487 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17489 (__real_chown): Do not use CHECK_STRING.
17490 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17492 (fchownat): Do not use CHECK_STRING.
17493 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17495 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17497 (__lchown): Do not use CHECK_STRING.
17498 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17499 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17500 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17501 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17503 include <bp-checks.h>.
17504 (truncate64): Do not use CHECK_STRING.
17505 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17507 (__real_chown): Do not use CHECK_STRING.
17508 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17510 (__lchown): Do not use CHECK_STRING.
17511 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17513 (__chown): Do not use CHECK_STRING.
17514 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17516 (truncate64): Do not use CHECK_STRING.
17517 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17519 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17520 (__xmknod): Do not use CHECK_STRING.
17521 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17523 (__xmknodat): Do not use CHECK_STRING.
17524 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17525 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17527 2013-02-04 Andreas Schwab <schwab@suse.de>
17530 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17531 * include/netdb.h: Likewise for h_errno.
17532 * elf/tst-stackguard1.c: Include <tls.h>.
17534 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
17536 * elf/link.h (struct link_map): Extend the l_addr comment.
17537 * include/link.h (struct link_map): Likewise.
17539 2013-02-01 Joseph Myers <joseph@codesourcery.com>
17542 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17543 (BOUNDED_1): Remove macro.
17544 * debug/backtrace.c: Don't include <bp-checks.h>.
17545 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17546 (__backtrace): Likewise.
17547 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17549 (__backtrace): Don't use BOUNDED_1.
17550 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17552 (__backtrace): Don't use BOUNDED_1.
17553 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17554 (__backtrace): Don't use BOUNDED_1.
17555 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17556 (shmat): Don't use BOUNDED_N.
17558 2013-01-31 Joseph Myers <joseph@codesourcery.com>
17561 * sysdeps/generic/bp-start.h: Remove file.
17562 * csu/libc-start.c: Don't include <bp-start.h>.
17563 (LIBC_START_MAIN): Set up __environ directly instead of using
17564 INIT_ARGV_and_ENVIRON.
17565 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17569 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17571 (CHECK_FCNTL): Likewise.
17572 (CHECK_N_PAGES): Likewise.
17575 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17577 (CHECK_SIGSET_NULL_OK): Likewise.
17578 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17580 (sigpending): Don't use CHECK_SIGSET.
17581 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17583 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17584 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17586 (do_sigsuspend): Don't use CHECK_SIGSET.
17587 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17589 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17590 (do_sigwait): Don't use CHECK_SIGSET.
17591 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17593 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17594 include <bp-checks.h>.
17595 (sigpending): Don't use CHECK_SIGSET.
17596 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17597 include <bp-checks.h>.
17598 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17599 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17601 (sigpending): Don't use CHECK_SIGSET.
17602 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17604 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17607 * sysdeps/generic/bp-semctl.h: Remove file.
17608 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17609 <bp-checks.h> and <bp-semctl.h>.
17610 (__old_semctl): Don't use CHECK_SEMCTL.
17611 (__new_semctl): Likewise.
17612 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17614 (__old_semctl): Don't use CHECK_SEMCTL.
17615 (__new_semctl): Likewise.
17616 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17617 <bp-checks.h> and <bp-semctl.h>.
17618 (__old_semctl): Don't use CHECK_SEMCTL.
17619 (__new_semctl): Likewise.
17620 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17621 <bp-checks.h> and <bp-semctl.h>.
17622 (semctl): Don't use CHECK_SEMCTL.
17625 * Makerules (elide-bp-thunks): Remove variable.
17626 (elide-routines.oS): Don't use $(elide-bp-thunks).
17627 (elide-routines.os): Likewise.
17628 (elide-routines.o): Likewise.
17629 (elide-routines.op): Likewise.
17630 (elide-routines.og): Likewise.
17631 (objects): Don't use $(bp-thunks).
17632 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17634 (common-generated): Do not add s-proto-bp.d.
17635 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17638 Do not generate makefile rules for bounded-pointer thunks.
17639 * sysdeps/generic/bp-thunks.h: Remove file.
17640 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17641 * sysdeps/unix/s-proto-bp.S: Likewise.
17644 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17645 parts of result separately when argument is not close to line from
17646 -i to i and one part of argument is small.
17647 * math/k_casinhf.c (__kernel_casinhf): Likewise.
17648 * math/k_casinhl.c (__kernel_casinhl): Likewise.
17649 * math/libm-test.inc (cacos_test): Add more tests.
17650 (casin_test): Likewise.
17651 (casinh_test): Likewise.
17652 * sysdeps/i386/fpu/libm-test-ulps: Update.
17653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17655 2013-01-31 David S. Miller <davem@davemloft.net>
17657 * po/de.po: Update from translation team.
17659 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
17661 * time/tzfile.c: Include stdint.h for SIZE_MAX.
17663 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
17665 * configure.in (_AC_PROG_CC_C89): New definition.
17666 * configure: Regenerate.
17668 * configure.in (AC_PROG_CPP): New definition.
17669 * configure: Regenerate.
17671 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17673 * debug/tst-backtrace.h: New file.
17674 * debug/tst-backtrace2.c: Include tst-backtrace.h.
17675 (ret): Remove variable.
17677 (FAIL): Remove macro.
17678 (NO_INLINE): Likewise.
17679 (fn1): Use match function instead of strstr.
17680 * debug/tst-backtrace3.c: Include tst-backtrace.h.
17681 (ret): Remove variable.
17683 (FAIL): Remove macro.
17684 (NO_INLINE): Likewise.
17685 (fn): Use match function instead of strstr.
17686 * debug/tst-backtrace4.c: Include tst-backtrace.h.
17687 (ret): Remove variable.
17689 (FAIL): Remove macro.
17690 (NO_INLINE): Likewise.
17691 (handle_signal): Use match function instead of strstr.
17692 * debug/tst-backtrace5.c: Include tst-backtrace.h.
17693 (ret): Remove variable.
17695 (FAIL): Remove macro.
17696 (NO_INLINE): Likewise.
17697 (handle_signal): Use match function instead of strstr.
17699 2013-01-23 Roland McGrath <roland@hack.frob.com>
17701 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17703 2013-01-23 David S. Miller <davem@davemloft.net>
17705 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17706 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17707 argument of CAS if possible.
17708 * sysdeps/sparc/sparc64/bits/atomic.h
17709 (__arch_compare_and_exchange_val_32_acq): Likewise.
17710 (__arch_compare_and_exchange_val_64_acq): Likewise.
17712 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
17714 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17715 * sysdeps/posix/ulimit.c: ... this.
17716 Include <limits.h>.
17717 * sysdeps/unix/bsd/ulimit.c: Remove file.
17719 2013-01-23 Adam Conrad <adconrad@0c3.net>
17721 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17722 (LDFLAGS-tst-array5): Likewise.
17724 2013-01-23 Joseph Myers <joseph@codesourcery.com>
17727 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17728 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17729 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17730 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17732 2013-01-21 David S. Miller <davem@davemloft.net>
17734 * sysdeps/sparc/backtrace.c: New file.
17735 * sysdeps/sparc/sparc32/backtrace.h: New file.
17736 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17737 * sysdeps/sparc/sparc64/backtrace.h: New file.
17738 * sysdeps/sparc/sparc64/backtrace.c: Delete.
17739 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17742 2013-01-21 Andreas Schwab <schwab@suse.de>
17745 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17748 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
17750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17754 2013-01-18 Joseph Myers <joseph@codesourcery.com>
17755 Mark Mitchell <mark@codesourcery.com>
17756 Tom de Vries <tom@codesourcery.com>
17757 Paul Pluzhnikov <ppluzhnikov@google.com>
17759 * debug/tst-backtrace2.c: New file.
17760 * debug/tst-backtrace3.c: Likewise.
17761 * debug/tst-backtrace4.c: Likewise.
17762 * debug/tst-backtrace5.c: Likewise.
17763 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17764 (CFLAGS-tst-backtrace3.c): Likewise.
17765 (CFLAGS-tst-backtrace4.c): Likewise.
17766 (CFLAGS-tst-backtrace5.c): Likewise.
17767 (LDFLAGS-tst-backtrace2): Likewise.
17768 (LDFLAGS-tst-backtrace3): Likewise.
17769 (LDFLAGS-tst-backtrace4): Likewise.
17770 (LDFLAGS-tst-backtrace5): Likewise.
17771 (tests): Add new tests tst-backtrace2, tst-backtrace3,
17772 tst-backtrace4 and tst-backtrace5.
17774 2013-01-18 Anton Blanchard <anton@samba.org>
17775 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
17777 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17778 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17779 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17780 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17782 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17783 "+r" and remove output regs list as redundant. Add explicit inline
17784 asm to specify register of return val to work around compiler codegen
17785 bug. Remove (int) cast on return value. Add return type parameter to
17786 use in macro so that this macro does not truncate return value for
17788 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17789 pass to INTERNAL_VSYSCALL_NCS.
17790 (INLINE_VSYSCALL): Add 'long int' as return type to
17791 INTERNAL_VSYSCALL_NCS macro invocation.
17792 (INTERNAL_VSYSCALL): Add 'long int' as return type to
17793 INTERNAL_VSYSCALL_NCS macro invocation.
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17796 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17799 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17800 Fix application of SIMD FP exception mask.
17802 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17803 mp_no from a power of two.
17804 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17805 __mpexp_twomm1. Use __pow_mp.
17807 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17810 2013-01-17 David S. Miller <davem@davemloft.net>
17812 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17814 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17817 * include/complex.h: Condition contents on [!_COMPLEX_H].
17818 (__kernel_casinhf): New prototype.
17819 (__kernel_casinh): Likewise.
17820 (__kernel_casinhl): Likewise.
17821 * math/Makefile (libm_calls): Add k_casinh.
17822 * math/k_casinh.c: New file.
17823 * math/k_casinhf.c: Likewise.
17824 * math/k_casinhl.c: Likewise.
17825 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17826 finite nonzero arguments.
17827 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17828 finite nonzero arguments.
17829 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17830 finite nonzero arguments.
17831 * math/s_casinh.c: Do not include <float.h>.
17832 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17833 * math/s_casinhf.c: Do not include <float.h>.
17834 (__casinhf): Move code for finite nonzero arguments to
17836 * math/s_casinhl.c: Do not include <float.h>.
17837 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17839 (__casinhl): Move code for finite nonzero arguments to
17841 * math/libm-test.inc (cacos_test): Add more tests.
17842 * sysdeps/i386/fpu/libm-test-ulps: Update.
17843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17845 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
17847 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17848 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17849 [!HAVE_MREMAP]: Remove [defined linux] case.
17850 * malloc/arena.c: Do not include <malloc-sysdep.h>.
17852 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
17854 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17856 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
17858 * elf/elf.h (R_386_SIZE32): New relocation.
17859 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17861 (elf_machine_rela): Likewise.
17862 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17863 R_X86_64_SIZE64 and R_X86_64_SIZE32.
17865 2013-01-17 Joseph Myers <joseph@codesourcery.com>
17867 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17868 (FP_FAST_FMA): Do not define.
17869 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17870 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17871 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17872 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17873 !_SOFT_FLOAT]: Likewise.
17874 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17875 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17877 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17878 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17879 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17880 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17881 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17882 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17885 2013-01-16 Andreas Schwab <schwab@suse.de>
17888 * include/stdlib.h (__mktemp): Add declaration.
17889 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17890 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17892 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17894 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17896 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17897 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17898 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17900 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17901 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17903 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17905 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17906 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17907 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17909 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17910 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17912 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17914 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17916 2013-01-15 David S. Miller <davem@davemloft.net>
17918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17919 trunc{,f} to libm-sysdep_routes.
17920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17928 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17930 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17931 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17932 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17933 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17934 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17935 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17938 nearbyint{,f} to libm-sysdep_routes.
17939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17948 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17949 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17950 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17952 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17953 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17955 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17956 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17957 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17959 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17960 libc_feholdexcept and libc_fesetenv.
17962 2013-01-15 Mike Frysinger <vapier@gentoo.org>
17964 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17966 2013-01-14 David S. Miller <davem@davemloft.net>
17968 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17969 (SPARC_ASM_VIS2_IFUNC): Likewise.
17970 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17972 use of 'siam' instruction.
17973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17979 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17980 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17993 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18001 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18002 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18003 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18004 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18006 routines to libm-sysdep_routines.
18007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18010 fdim/fdimf to libm-sysdep_routines.
18011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18019 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18020 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18021 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18022 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18024 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18026 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18027 to optimize copies.
18029 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18034 local variable MPTWO.
18035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18038 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18040 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18043 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18045 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18047 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18049 * manual/pattern.texi (glob_t): Document gl_flags.
18050 (glob64_t): Likewise.
18052 2013-01-11 David S. Miller <davem@davemloft.net>
18054 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18055 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18056 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
18057 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18058 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18059 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18060 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18061 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18062 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18063 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18064 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18065 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18066 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18068 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18069 sparc V9 rather than using V8 code.
18070 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18071 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18073 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
18075 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
18078 2013-01-11 Roland McGrath <roland@hack.frob.com>
18080 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
18081 not in the main loop.
18082 * configure: Regenerated.
18084 2013-01-11 Joseph Myers <joseph@codesourcery.com>
18086 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
18087 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
18089 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
18090 [!__GLIBC_HAVE_LONG_LONG] case.
18091 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
18092 condition to just #else.
18093 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
18094 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
18095 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
18096 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
18098 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
18099 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18100 #elif condition to just #else.
18101 * sysdeps/unix/sysv/linux/sys/sysmacros.h
18102 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
18103 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
18104 #elif condition to just #else.
18106 2013-01-11 Steve Ellcey <sellcey@mips.com>
18108 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
18109 (EF_MIPS_ARCH_64): Fix value.
18110 (EF_MIPS_ARCH_32R2): New.
18111 (EF_MIPS_ARCH_64R2): New.
18113 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
18115 * Makeconfig (+link-pie-before-libc): New.
18116 (+link-pie-after-libc): Likewise.
18117 (+link-pie-tests): Likewise.
18118 (+link-pie): Rewritten.
18119 (link-before-libc): Remove $(config-LDFLAGS).
18120 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
18121 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
18122 (config-LDFLAGS): Renamed to ...
18123 (rtld-LDFLAGS): This.
18124 (rtld-tests-LDFLAGS): New macro.
18125 (link-libc-rpath-link): Likewise.
18126 (link-libc-tests-rpath-link): Likewise.
18127 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
18128 (link-libc): Prepand $(link-libc-rpath-link).
18129 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
18130 (test-program-prefix): New macro.
18131 (test-via-rtld-prefix): Likewise.
18132 (test-program-cmd): Likewise.
18133 (host-test-program-cmd): Likewise.
18134 * Makefile ($(common-objpfx)testrun.sh): Replace
18135 $(run-program-prefix) with $(test-program-prefix).
18136 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
18138 ($(common-objpfx)shlib.lds): Likewise.
18139 (build-module-helper): Likewise.
18140 ($(common-objpfx)format.lds): Likewise.
18141 * Rules (binaries-pie-tests): New.
18142 (binaries-pie-notests): Likewise.
18143 (binaries-pie): Rewritten.
18144 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
18145 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
18146 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
18147 (make-test-out): Replace $(host-built-program-cmd) with
18148 $(host-test-program-cmd).
18149 * config.make.in (build-hardcoded-path-in-tests): New variable.
18150 * configure.in (--enable-hardcoded-path-in-tests): New configure
18152 (hardcoded_path_in_tests): New AC_SUBST.
18153 * configure: Regenerated.
18154 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
18155 $(built-program-cmd) with $(test-program-cmd).
18156 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
18157 (test_program_cmd): This.
18158 * elf/Makefile ($(objpfx)order.out): Run test with
18159 $(test-program-prefix).
18160 ($(objpfx)order2.out): Likewise.
18161 ($(objpfx)tst-initorder.out): Likewise.
18162 ($(objpfx)tst-initorder2.out): Likewise.
18163 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
18164 $(test-program-cmd).
18165 ($(objpfx)tst-array1-static.out): Likewise.
18166 ($(objpfx)tst-array2.out): Likewise.
18167 ($(objpfx)tst-array3.out): Likewise.
18168 ($(objpfx)tst-array4.out): Likewise.
18169 ($(objpfx)tst-array5.out): Likewise.
18170 ($(objpfx)tst-array5-static.out): Likewise.
18171 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
18172 $(test-program-cmd).
18173 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
18174 $(run-program-prefix) with $(test-program-prefix).
18175 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
18176 (test_program_prefix): This.
18177 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
18178 $(run-program-prefix) with $(test-program-prefix).
18179 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
18180 (test_program_prefix): This.
18181 * iconvdata/tst-tables.sh: Likewise.
18182 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
18183 $(run-program-prefix) with $(test-program-prefix).
18184 ($(objpfx)tst-translit.out): Likewise.
18185 ($(objpfx)tst-gettext2.out): Likewise.
18186 ($(objpfx)tst-gettext4.out): Likewise.
18187 ($(objpfx)tst-gettext6.out): Likewise.
18188 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18189 (test_program_prefix): This.
18190 * intl/tst-gettext2.sh: Likewise.
18191 * intl/tst-gettext4.sh Likewise.
18192 * intl/tst-gettext6.sh: Likewise.
18193 * intl/tst-translit.sh: Likewise.
18194 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18195 with $(test-program-cmd).
18196 * libio/Makefile ($(objpfx)test-freopen.out): Replace
18197 $(run-program-prefix) with $(test-program-prefix).
18198 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18199 (test_program_prefix): This.
18200 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18201 $(run-program-prefix) with $(test-program-prefix).
18202 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18203 (test_program_prefix): This.
18204 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18205 * posix/Makefile ($(objpfx)globtest.out): Replace
18206 $(run-via-rtld-prefix) and $(test-wrapper) with
18207 $(test-program-prefix) and $(test-via-rtld-prefix).
18208 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18209 $(test-program-prefix).
18210 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18211 $(host-test-program-cmd).
18212 (tst-spawn-ARGS): Likewise.
18213 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18214 $(test-program-prefix).
18215 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18216 (test_via_rtld_prefix): This.
18217 (test_wrapper): Renamed to ...
18218 (test_program_prefix): This.
18219 (run_program_prefix): Replaced by test_program_prefix.
18220 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18221 (test_program_prefix): This.
18222 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18223 with $(host-test-program-cmd).
18224 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18225 $(run-program-prefix) with $(test-program-prefix).
18226 ($(objpfx)tst-printf.out): Likewise.
18227 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18228 $(test-program-cmd).
18229 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18230 (test_program_prefix): This.
18231 * stdio-common/tst-unbputc.sh: Likewise.
18232 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18233 $(run-program-prefix) with $(test-program-prefix).
18234 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18235 (test_program_prefix): This.
18236 * string/Makefile ($(objpfx)tst-svc.out): Replace
18237 $(built-program-cmd) with $(test-program-cmd).
18239 2013-01-11 Andreas Jaeger <aj@suse.de>
18242 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18243 value. Sync with Linux 3.7.
18245 2013-01-10 David S. Miller <davem@davemloft.net>
18247 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18248 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18249 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18251 2013-01-10 Roland McGrath <roland@hack.frob.com>
18253 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18255 * configure: Regenerated.
18257 2013-01-10 David S. Miller <davem@davemloft.net>
18259 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18260 sparc V9 rather than using V8 code.
18261 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18262 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18264 2013-01-10 Roland McGrath <roland@hack.frob.com>
18266 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18267 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18268 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18269 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18270 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18271 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18272 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18273 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18274 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18275 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18276 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18277 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18278 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18279 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18280 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18281 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18282 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18283 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18284 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18285 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18286 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18287 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18288 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18289 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18290 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18291 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18292 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18294 2013-01-10 David S. Miller <davem@davemloft.net>
18296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18298 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18300 * posix/Makefile (tests-static): New variable.
18301 (tests): Add $(tests-static).
18302 (tst-exec-static-ARGS): New variable.
18303 (tst-spawn-static-ARGS): Likewise.
18304 * posix/tst-exec-static.c: New file.
18305 * posix/tst-spawn-static.c: Likewise.
18306 * posix/tst-exec.c: Support run directly.
18307 * posix/tst-spawn.c: Likewise.
18309 2013-01-10 Joseph Myers <joseph@codesourcery.com>
18311 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18313 * math/bits/mathcalls.h (llrint): Likewise.
18314 (llround): Likewise.
18315 * stdlib/stdlib.h (struct drand48_data): Likewise.
18316 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18317 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18318 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18320 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18322 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18323 (elf_greg_t): Likewise.
18324 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18325 (__jmp_buf): Likewise.
18326 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18328 (llrint): Likewise, for all definitions.
18329 (llrintl): Likewise.
18331 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18332 Remove [__GNUC__] condition.
18333 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18334 condition to just [__USE_ISOC99].
18335 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18337 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
18340 * sysdeps/unix/sysv/linux/x86/bits/environments.h
18341 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18343 (_POSIX_V6_ILP32_OFF32): Likewise.
18344 (_XBS5_ILP32_OFF32): Likewise.
18345 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18346 (__ILP32_OFFBIG_LDFLAGS): Likewise.
18348 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18350 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18352 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18353 doubles __mpexp_twomm1. Adjust usage.
18354 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18357 2013-01-10 Andreas Schwab <schwab@suse.de>
18360 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18361 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18363 2013-01-09 David S. Miller <davem@davemloft.net>
18366 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18367 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18368 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18369 TCP_FASTOPEN): Define.
18370 (tcp_repair_opt): New structure.
18371 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18373 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18374 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18375 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18376 (tcp_cookie_transactions): New structure.
18378 2013-01-09 Anton Blanchard <anton@samba.org>
18380 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18381 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18382 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18383 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18385 2013-01-09 Joseph Myers <joseph@codesourcery.com>
18387 * include/features.h (__USE_ANSI): Remove.
18389 2013-01-09 Roland McGrath <roland@hack.frob.com>
18391 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18393 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18395 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18397 * sysdeps/s390/fpu/libm-test-ulps: Update.
18399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18401 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18405 (denorm): Likewise.
18406 (__mp_dbl): Likewise.
18407 (__dbl_mp): Likewise.
18408 (add_magnitudes): Likewise.
18409 (sub_magnitudes): Likewise.
18415 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18419 (denorm): Likewise.
18420 (__mp_dbl): Likewise.
18421 (__dbl_mp): Likewise.
18422 (add_magnitudes): Likewise.
18423 (sub_magnitudes): Likewise.
18429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18433 (denorm): Likewise.
18434 (__mp_dbl): Likewise.
18435 (__dbl_mp): Likewise.
18436 (add_magnitudes): Likewise.
18437 (sub_magnitudes): Likewise.
18444 2013-01-08 Joseph Myers <joseph@codesourcery.com>
18446 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18447 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18448 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18449 2 && __USE_EXTERN_INLINES]: Likewise.
18451 2013-01-08 Andreas Jaeger <aj@suse.de>
18454 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18456 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18457 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18459 2013-01-07 Anton Blanchard <anton@samba.org>
18461 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18462 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18463 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18464 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18465 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18466 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18467 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18468 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18470 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18471 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18472 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18473 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18474 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18475 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18476 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18477 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18478 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18479 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18480 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18481 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18482 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18483 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18484 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18485 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18486 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18487 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18488 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18489 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18490 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18491 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18493 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18494 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18495 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18496 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18497 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18498 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18500 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18501 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18502 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18503 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18505 2013-01-07 Joseph Myers <joseph@codesourcery.com>
18507 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18508 (__MALLOC_PMT): Likewise.
18509 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18510 [__GNUC__], only on [_LIBC].
18511 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18512 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18513 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18514 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18515 forward declaration.
18516 (realloc_hook_ini): Likewise.
18517 (memalign_hook_ini): Likewise.
18518 (__libc_memalign): Do not use __MALLOC_PMT in variable
18520 (__libc_valloc): Likewise.
18521 (__libc_pvalloc): Likewise.
18522 (__libc_calloc): Likewise.
18523 (__posix_memalign): Likewise.
18526 * math/s_casinh.c: Include <float.h>.
18527 (__casinh): Do not do computation with squaring and square root
18528 for large arguments.
18529 * math/s_casinhf.c: Include <float.h>.
18530 (__casinhf): Do not do computation with squaring and square root
18531 for large arguments.
18532 * math/s_casinhl.c: Include <float.h>.
18533 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18534 (__casinhl): Do not do computation with squaring and square root
18535 for large arguments.
18536 * math/libm-test.inc (casin_test): Add more tests.
18537 (casinh_test): Likewise.
18538 * sysdeps/i386/fpu/libm-test-ulps: Update.
18539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18541 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
18543 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18544 (__x86_64_raw_data_cache_size): Likewise.
18545 (__x86_64_data_cache_size_half): Likewise.
18546 (__x86_64_raw_data_cache_size_half): Likewise.
18547 (__x86_64_shared_cache_size): Likewise.
18548 (__x86_64_raw_shared_cache_size): Likewise.
18549 (__x86_64_shared_cache_size_half): Likewise.
18550 (__x86_64_raw_shared_cache_size_half): Likewise.
18551 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18553 (__x86_data_cache_size): This.
18554 (__x86_64_raw_data_cache_size): Renamed to ...
18555 (__x86_raw_data_cache_size): This.
18556 (__x86_64_data_cache_size_half): Renamed to ...
18557 (__x86_data_cache_size_half): This.
18558 (__x86_64_raw_data_cache_size_half): Renamed to ...
18559 (__x86_raw_data_cache_size_half): This.
18560 (__x86_64_shared_cache_size): Renamed to ...
18561 (__x86_shared_cache_size): This.
18562 (__x86_64_raw_shared_cache_size): Renamed to ...
18563 (__x86_raw_shared_cache_size): This.
18564 (__x86_64_shared_cache_size_half): Renamed to ...
18565 (__x86_shared_cache_size_half): This.
18566 (__x86_64_raw_shared_cache_size_half): Renamed to ...
18567 (__x86_raw_shared_cache_size_half): This.
18568 * sysdeps/x86_64/memcpy.S: Updated.
18569 * sysdeps/x86_64/memset.S: Likewise.
18570 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18571 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18572 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18574 2013-01-04 David S. Miller <davem@davemloft.net>
18576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18578 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
18580 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18581 1 to avoid redefinition warning.
18582 (__USE_GNU): Don't define.
18583 (init_signaling_nan): Protoize.
18585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18587 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18589 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18590 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18591 (__cpymn): Likewise.
18592 (norm): Remove commented code.
18593 (denorm): Likewise.
18594 (__mp_dbl): Likewise.
18596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18597 (__cpymn): Likewise.
18598 (norm): Remove commented code.
18599 (denorm): Likewise.
18600 (__mp_dbl): Likewise.
18603 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18604 mp_no value for 1.0 and 2.0.
18605 (norm): Use RADIXI instead of radixi.d.
18606 (denorm): Likewise.
18607 (__mul): Use 0.0 instead of zero.d.
18608 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18609 mp_no value for 1.0 and 2.0.
18610 (norm): Use RADIXI instead of radixi.d.
18611 (denorm): Likewise.
18612 (__mul): Use 0.0 instead of zero.d.
18614 2013-01-04 Joseph Myers <joseph@codesourcery.com>
18617 * math/s_casinh.c (__casinh): Reduce finite argument to first
18618 quadrant then set signs of results at the end.
18619 * math/s_casinhf.c (__casinhf): Likewise.
18620 * math/s_casinhl.c (__casinhl): Likewise.
18621 * math/libm-test.inc (casin_test): Add more tests.
18622 (casinh_test): Likewise.
18623 * sysdeps/i386/fpu/libm-test-ulps: Update.
18624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18626 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18628 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18630 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18632 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18634 (denorm): Likewise.
18635 (__mp_dbl): Likewise.
18638 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18639 and adjust the header comment.
18641 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18642 variable name from declaration.
18644 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
18646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18647 Initialize COMMON_CPUID_INDEX_7 element.
18648 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18649 (CPUID_RTM): Likewise.
18650 (HAS_RTM): Likewise.
18651 (COMMON_CPUID_INDEX_7): New enum.
18653 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
18656 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18657 size is zero, record memory as freed.
18659 2013-01-03 Andreas Jaeger <aj@suse.de>
18661 * po/ia.po: Add new Interlingua translation.
18663 2012-01-03 Allan McRae <allan@archlinux.org>
18665 * locale/programs/localedef.c: Fix description of '--posix' flag.
18667 2013-01-02 Joseph Myers <joseph@codesourcery.com>
18669 * NEWS: Update dates in second copyright notice.
18670 * README: Update copyright dates in example.
18671 * manual/libc.texinfo: Update copyright dates.
18672 * scripts/test-installation.pl: Update copyright date in --version
18675 * hurd/ctty-input.c: Fix copyright notice formatting.
18676 * hurd/ctty-output.c: Likewise.
18677 * hurd/dtable.c: Likewise.
18678 * hurd/hurd-raise.c: Likewise.
18679 * hurd/hurdprio.c: Likewise.
18680 * hurd/msgportdemux.c: Likewise.
18681 * misc/sys/file.h: Likewise.
18682 * misc/sys/ioctl.h: Likewise.
18683 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18684 * sysdeps/mach/hurd/chdir.c: Likewise.
18685 * sysdeps/mach/hurd/fchdir.c: Likewise.
18686 * sysdeps/mach/hurd/rename.c: Likewise.
18687 * sysdeps/mach/hurd/rmdir.c: Likewise.
18688 * sysdeps/mach/hurd/seekdir.c: Likewise.
18689 * sysdeps/mach/hurd/setsid.c: Likewise.
18690 * sysdeps/posix/wait3.c: Likewise.
18692 * All files with FSF copyright notices: Update copyright dates
18693 using scripts/update-copyrights.
18694 * intl/plural.c: Regenerated.
18695 * locale/programs/charmap-kw.h: Likewise.
18696 * locale/programs/locfile-kw.h: Likewise.
18698 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18700 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18703 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18704 calculation loop and add branch prediction.
18706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18707 check access beyond bounds of m1np.
18709 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18711 (__inv): Remove local variable MPTWO to use the global
18713 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18714 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18716 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18717 MP3HALFS static const.
18719 2013-01-01 David S. Miller <davem@davemloft.net>
18721 * po/ca.po: Update from translation team.
18723 2013-01-01 Joseph Myers <joseph@codesourcery.com>
18725 * scripts/update-copyrights: New file.
18726 * Makeconfig: Reformat copyright notice.
18727 * ctype/ctype.h: Likewise.
18728 * debug/swprintf_chk.c: Likewise.
18729 * elf/dl-cache.c: Likewise.
18730 * elf/dl-debug.c: Likewise.
18731 * elf/dl-object.c: Likewise.
18732 * grp/initgroups.c: Likewise.
18733 * hurd/Makefile: Likewise.
18734 * hurd/hurd/signal.h: Likewise.
18735 * hurd/hurdfault.c: Likewise.
18736 * hurd/hurdioctl.c: Likewise.
18737 * hurd/hurdlookup.c: Likewise.
18738 * hurd/intr-msg.c: Likewise.
18739 * iconv/gconv_open.c: Likewise.
18740 * libio/swprintf.c: Likewise.
18741 * locale/lc-ctype.c: Likewise.
18742 * locale/nl_langinfo.c: Likewise.
18743 * mach/Machrules: Likewise.
18744 * mach/Makefile: Likewise.
18745 * malloc/obstack.h: Likewise.
18746 * manual/Makefile: Likewise.
18747 * manual/tsort.awk: Likewise.
18748 * misc/bits/stab.def: Likewise.
18749 * nis/nis_print_group_entry.c: Likewise.
18750 * nis/nis_table.c: Likewise.
18751 * nis/nss_compat/compat-pwd.c: Likewise.
18752 * nis/nss_compat/compat-spwd.c: Likewise.
18753 * po/Makefile: Likewise.
18754 * posix/fnmatch.c: Likewise.
18755 * posix/regex.h: Likewise.
18756 * resolv/Makefile: Likewise.
18757 * resolv/nss_dns/dns-network.c: Likewise.
18758 * resolv/res_hconf.c: Likewise.
18759 * scripts/gen-sorted.awk: Likewise.
18760 * soft-fp/soft-fp.h: Likewise.
18761 * stdio-common/printf.h: Likewise.
18762 * stdlib/monetary.h: Likewise.
18763 * stdlib/random.c: Likewise.
18764 * stdlib/random_r.c: Likewise.
18765 * sysdeps/generic/Makefile: Likewise.
18766 * sysdeps/gnu/Makefile: Likewise.
18767 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18769 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18771 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18772 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18773 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18774 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18775 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18777 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18778 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18779 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18780 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18781 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18782 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18783 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18784 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18785 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18786 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18787 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18788 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18789 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18795 * sysdeps/mach/hurd/errnos.awk: Likewise.
18796 * sysdeps/mach/hurd/fork.c: Likewise.
18797 * sysdeps/mach/hurd/getcwd.c: Likewise.
18798 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18799 * sysdeps/mach/hurd/mmap.c: Likewise.
18800 * sysdeps/mach/hurd/utimes.c: Likewise.
18801 * sysdeps/mach/hurd/xmknod.c: Likewise.
18802 * sysdeps/posix/profil.c: Likewise.
18803 * sysdeps/posix/readdir_r.c: Likewise.
18804 * sysdeps/powerpc/bits/mathdef.h: Likewise.
18805 * sysdeps/powerpc/bits/setjmp.h: Likewise.
18806 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18807 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18809 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18810 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18811 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18813 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18814 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18815 * sysdeps/pthread/lio_listio.c: Likewise.
18816 * sysdeps/sparc/dl-procinfo.h: Likewise.
18817 * sysdeps/unix/i386/sysdep.S: Likewise.
18818 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18819 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18820 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18821 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18823 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18824 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18825 * sysdeps/unix/sysv/linux/speed.c: Likewise.
18826 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18827 * sysdeps/wordsize-32/divdi3.c: Likewise.
18828 * time/sys/time.h: Likewise.
18829 * wcsmbs/Makefile: Likewise.
18831 2013-01-01 David S. Miller <davem@davemloft.net>
18833 * po/fr.po: Update from translation team.
18835 * catgets/gencat.c: Update copyright year.
18836 * csu/version.c: Likewise.
18837 * debug/catchsegv.sh: Likewise.
18838 * debug/pcprofiledump.c: Likewise.
18839 * debug/xtrace.sh: Likewise.
18840 * elf/ldconfig.c: Likewise.
18841 * elf/ldd.bash.in: Likewise.
18842 * elf/pldd.c: Likewise.
18843 * elf/sotruss.ksh: Likewise.
18844 * elf/sprof.c: Likewise.
18845 * iconv/iconv_prog.c: Likewise.
18846 * iconv/iconvconfig.c: Likewise.
18847 * locale/programs/locale.c: Likewise.
18848 * locale/programs/localedef.c: Likewise.
18849 * login/programs/pt_chown.c: Likewise.
18850 * malloc/memusage.sh: Likewise.
18851 * malloc/memusagestat.c: Likewise.
18852 * malloc/mtrace.pl: Likewise.
18853 * nscd/nscd.c: Likewise.
18854 * nss/getent.c: Likewise.
18855 * nss/makedb.c: Likewise.
18856 * posix/getconf.c: Likewise.
18858 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18860 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18863 2012-12-30 Mike Frysinger <vapier@gentoo.org>
18865 * math/bits/mathcalls.h (modf): Use __nonnull.
18867 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
18869 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18870 (split): Use macro CN instead of the bare value.
18871 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18873 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18874 instead of the bare value.
18875 (power1): Likewise.
18877 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18881 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18883 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18885 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18886 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18887 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18888 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18890 2012-12-28 Andreas Jaeger <aj@suse.de>
18892 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
18893 values are from Linux 3.7.
18895 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18896 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
18898 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18900 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18903 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18905 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18906 variables with preprocessor constants.
18907 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18908 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18909 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18911 2012-12-27 Bruno Haible <bruno@clisp.org>
18914 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18917 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18919 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18920 and use variable directly.
18921 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18923 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18925 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18926 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18928 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18929 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18930 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18931 include directive. Remove local variable MPONE.
18932 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18933 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18934 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18936 2012-12-25 David S. Miller <davem@davemloft.net>
18938 * version.h (RELEASE): Set to "development".
18939 (VERSION): Set to "2.17.90".
18940 * NEWS: Add 2.18 section.
18942 2012-12-21 David S. Miller <davem@davemloft.net>
18944 * po/hr.po: Update from translation team.
18946 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18948 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18950 2012-12-19 Steve Ellcey <sellcey@mips.com>
18952 * NEWS: Mention new memcpy for MIPS.
18954 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18956 * manual/contrib.texi (Contributors): Spelling correction.
18958 2012-12-15 David S. Miller <davem@davemloft.net>
18960 * po/ru.po: Update from translation team.
18962 2012-12-13 David S. Miller <davem@davemloft.net>
18964 * NEWS: Mention IFUNC testsuite enhancements.
18966 * po/pl.po: Update from translation team.
18967 * po/bg.po: Likewise.
18969 * manual/contrib.texi (Contributors): Update entries for Hongjiu
18970 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
18972 2012-12-11 David S. Miller <davem@davemloft.net>
18974 * po/sv.po: Update from translation team.
18976 * po/vi.po: Update from translation team.
18978 * po/cs.po: Update from translation team.
18980 * po/de.po: Update from translation team.
18981 * po/eo.po: Likewise.
18982 * po/nl.po: Likewise.
18984 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18987 * manual/argp.texi (Argp Helper Functions): Move node to follow
18988 Argp Parsing State.
18991 * manual/conf.texi (Limits on File System Capacity): Mention if
18992 terminating null is included in the max size.
18994 2012-12-10 Andreas Jaeger <aj@suse.de>
18996 * po/cs.po: Update from translation team.
18998 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19000 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19001 void pointer and cast to uintptr_t.
19002 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19004 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19005 * sysdeps/s390/s390-64/memset.S: Likewise.
19007 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19010 * menual/message.texi (Message Translation): Fix typos.
19011 (Helper programs for gettext): Likewise.
19013 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19016 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19019 2012-12-07 David S. Miller <davem@davemloft.net>
19021 * po/libc.pot: Update.
19023 2012-12-07 Richard Henderson <rth@redhat.com>
19026 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19027 normal/normal case to before the switch.
19028 (_FP_DIV): Likewise.
19030 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19031 Mike Frysinger <vapier@gentoo.org>
19033 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19034 check for __NR_fadvise64_64.
19036 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19038 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19039 0, not just to plain "0" as a statement.
19040 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19043 2012-12-06 Joseph Myers <joseph@codesourcery.com>
19045 * NEWS: Use sourceware.org in Bugzilla URL.
19047 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19050 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19052 * stdio-common/tst-put-error.c (do_test): Add newline to the
19053 padded test to ensure flush.
19055 2012-12-05 Jeff Law <law@redhat.com>
19057 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19059 2012-12-05 Joseph Myers <joseph@codesourcery.com>
19061 * README: Don't refer to ports add-on as distributed separately.
19062 Mention AArch64 in list of systems supported in the ports add-on.
19064 * LICENSES: Add more non-FSF copyright and license notices.
19066 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19069 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19071 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19072 10000 as width of padded output.
19074 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19076 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
19078 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
19079 variable LX with __attribute__ ((unused)).
19080 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19082 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19083 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19084 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
19085 with __attribute__ ((unused)).
19087 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
19089 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
19091 2012-12-04 Joseph Myers <joseph@codesourcery.com>
19093 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
19094 (CFLAGS-nldbl-acos.c): New variable.
19095 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
19096 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
19097 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
19098 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
19099 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
19100 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
19101 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
19102 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
19103 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
19104 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
19105 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
19106 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
19107 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
19108 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
19109 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
19110 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
19111 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
19112 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
19113 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
19114 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
19115 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
19116 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
19117 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
19118 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
19119 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
19120 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
19121 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
19122 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
19123 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
19124 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
19125 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
19126 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
19127 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
19128 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
19129 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
19130 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
19131 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
19132 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
19133 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
19134 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
19135 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
19136 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
19137 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
19138 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
19139 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
19140 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
19141 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
19142 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
19143 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
19144 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
19145 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
19146 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
19147 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
19148 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
19149 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
19150 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
19151 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
19152 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
19153 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
19154 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
19155 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
19156 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
19157 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
19158 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
19159 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
19160 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
19161 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
19162 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
19163 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
19164 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
19165 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
19166 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
19167 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
19168 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
19169 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
19170 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
19171 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
19172 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
19173 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
19174 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
19175 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
19176 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
19177 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
19178 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
19179 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
19180 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
19181 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
19182 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
19183 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
19184 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
19185 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
19186 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
19187 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
19188 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19189 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19190 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19191 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19194 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19198 whole low double instead of just low 47 bits when splitting values
19201 2012-12-03 Allan McRae <allan@archlinux.org>
19203 * manual/stdio.texi (Predefined Printf Handlers): Remove
19204 @hsep and @vsep usage.
19206 2012-12-03 Mike Frysinger <vapier@gentoo.org>
19208 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19209 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19211 2012-12-03 Jeff Law <law@redhat.com>
19213 * time/sys/time.h (settimeofday): Do not mark TV argument
19216 2012-12-01 Mike Frysinger <vapier@gentoo.org>
19218 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19219 when currently writing and seek to current position when not.
19220 * libio/Makefile (tests): Remove bug-fclose1.
19221 * libio/bug-fclose1.c: Delete.
19223 2012-12-01 Joseph Myers <joseph@codesourcery.com>
19225 * manual/arith.texi (feenableexcept): Fix typo.
19226 (fedisableexcept): Likewise.
19228 2012-11-30 Roland McGrath <roland@hack.frob.com>
19230 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19231 second, differently-typed declaration, rather than a cast.
19233 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19235 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19236 * include/rpc/svc.h: ... here.
19238 2012-11-30 Aurelien Jarno <aurel32@debian.org>
19241 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19242 depending n and resplen2 to catch cases where answer
19245 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
19247 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19248 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19250 2012-11-29 Mike Frysinger <vapier@gentoo.org>
19252 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19254 2012-11-29 Roland McGrath <roland@hack.frob.com>
19256 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19258 2012-11-28 Jeff Law <law@redhat.com>
19261 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19262 dataset_temporary. Track alloca usage into alloca_used.
19263 If dataset is large allocate and release it via malloc/free.
19265 2012-06-04 Florian Weimer <fweimer@redhat.com>
19268 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19270 2012-11-28 David S. Miller <davem@davemloft.net>
19272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19274 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19277 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19278 of pi/2 rounded to nearest to 64 bits.
19279 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19280 nearest to 64 bits.
19281 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19284 2012-11-28 Jeff Law <law@redhat.com>
19285 Martin Osvald <mosvald@redhat.com>
19288 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19289 * sunrpc/svc.c: Include time.h.
19290 (__svc_accept_failed): New function.
19291 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19292 any reason other than EINTR, call __svc_accept_failed.
19293 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19294 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19296 2012-11-28 Andreas Schwab <schwab@suse.de>
19298 * scripts/abilist.awk: Also handle indirect functions in .opd
19301 2012-11-28 Joseph Myers <joseph@codesourcery.com>
19304 * sysdeps/x86/fpu/powl_helper.c: New file.
19305 * sysdeps/x86/fpu/Makefile: Likewise.
19306 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19308 (__ieee754_powl): Use __powl_helper for finite arguments except
19309 integer exponents below 8.
19310 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19312 (__ieee754_powl): Use __powl_helper for finite arguments except
19313 integer exponents below 8.
19314 * math/libm-test.inc (pow_test): Add more tests and enable some
19315 previously disabled tests.
19316 * sysdeps/i386/fpu/libm-test-ulps: Update.
19317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19319 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19320 Carlos O'Donell <carlos_odonell@mentor.com>
19322 * nss/makedb.c (is_prime): Assert that input is odd and greater
19323 than 4. Note that fact in a comment too.
19324 (next_prime): Add 4 to input.
19326 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19329 * libio/Makefile (tests): Add test case tst-fwrite-error.
19330 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19331 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19332 * libio/tst-fwrite-error.c: New test case.
19334 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
19336 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19337 before casting to void *.
19338 * include/libc-internal.h (__pointer_type): New macro.
19339 (__integer_if_pointer_type_sub): Likewise.
19340 (__integer_if_pointer_type): Likewise.
19341 (cast_to_integer): Likewise.
19342 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19343 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19344 before casting to atomic64_t.
19345 (atomic_exchange_acq): Likewise.
19346 (__arch_exchange_and_add_body): Likewise.
19347 (__arch_add_body): Likewise.
19348 (atomic_add_negative): Likewise.
19349 (atomic_add_zero): Likewise.
19351 2012-11-26 Joseph Myers <joseph@codesourcery.com>
19353 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19354 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19355 (add_fdes): Likewise.
19356 (linear_search_fdes): Likewise.
19357 (binary_search_unencoded_fdes): Likewise.
19359 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
19361 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19363 2012-11-24 Adam Conrad <adconrad@0c3.net>
19365 * configure.in: Autodetect C++ header directories.
19366 * configure: Regenerated.
19368 2012-11-23 Mike Frysinger <vapier@gentoo.org>
19370 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19372 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
19374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19376 2012-11-22 Joseph Myers <joseph@codesourcery.com>
19378 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19379 LDBL_MANT_DIG == 106]: Disable some tests.
19380 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19382 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19386 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19387 input for small inputs. Return +/- pi/2 for large inputs.
19388 * math/libm-test.inc (atan_test): Add more tests.
19390 * sysdeps/generic/unwind-dw2-fde-glibc.c
19391 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19392 __attribute__ ((unused)).
19395 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19396 x * y if x and y are nonzero and z is zero.
19399 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19400 nonzero exponents with absolute value below 0x1p-117 to +/-
19404 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19405 up arguments below 2**-450, not just those below 2**-500.
19406 * math/libm-test.inc (hypot_test): Add another test.
19409 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19410 Return a+b for ratio over 2**120, not 2**60.
19411 * math/libm-test.inc (hypot_test): Add another test.
19413 * math/libm-test.inc (clog_test): Use
19414 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19415 (clog10_test): Likewise.
19418 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19420 2012-11-22 Andreas Schwab <schwab@suse.de>
19422 * sysdeps/i386/fpu/libm-test-ulps: Update.
19424 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
19426 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19427 printf output with newline.
19429 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
19432 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19433 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19434 -z nodlopen, -z initfirst and -z execstack support.
19435 * configure: Regenerated.
19437 * elf/elf.h (DF_1_NODIRECT): New macro.
19438 (DF_1_IGNMULDEF): Likewise.
19439 (DF_1_NOKSYMS): Likewise.
19440 (DF_1_NOHDR): Likewise.
19441 (DF_1_EDITED): Likewise.
19442 (DF_1_NORELOC): Likewise.
19443 (DF_1_SYMINTPOSE): Likewise.
19444 (DF_1_GLOBAUDIT): Likewise.
19445 (DF_1_SINGLETON): Likewise.
19446 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19447 DT_1_SUPPORTED_MASK bits.
19448 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19450 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
19452 * sysdeps/unix/make-syscalls.sh: Document prefixes.
19454 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
19456 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19459 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19460 (sendmmsg): Move declarations...
19461 * socket/sys/socket.h: ... here.
19462 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19463 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19465 * socket/recvmmsg.c: ... this new file.
19466 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19467 (sendmmsg): Rename to __sendmmsg, create weak alias and make
19468 definition of __sendmmsg hidden.
19469 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19470 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19471 Move ENOSYS stub into and include it from...
19472 * socket/sendmmsg.c: ... this new file.
19473 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19474 (sysdep_routines): Move recvmmsg and sendmmsg...
19475 * socket/Makefile (routines): ... here.
19476 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19477 (GLIBC_PRIVATE): Add __sendmmsg.
19478 * include/sys/socket.h (__sendmmsg): Add declarations.
19479 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19482 2012-11-20 Joseph Myers <joseph@codesourcery.com>
19484 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19485 variable I1 with __attribute__ ((unused)).
19486 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19488 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19490 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19491 DUMMY variables with __attribute__ ((unused)).
19493 * bits/byteswap.h: Include <bits/types.h>.
19494 (__bswap_64): Use __uint64_t instead of unsigned long long int.
19496 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19498 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19499 string_t. Do not manually set errno.
19500 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19501 length with __strnlen. Make sure to both set errno and return it on
19504 2012-11-19 David S. Miller <davem@davemloft.net>
19506 With help from Joseph Myers.
19507 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19508 very large arguments properly.
19509 * math/libm-test.inc (atan_test): New tests.
19510 (atan2_test): New tests.
19511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19514 2012-11-19 Joseph Myers <joseph@codesourcery.com>
19517 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19520 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19521 [POSIX] (EADDRNOTAVAIL): Likewise.
19522 [POSIX] (EAFNOSUPPORT): Likewise.
19523 [POSIX] (EALREADY): Likewise.
19524 [POSIX] (ECONNABORTED): Likewise.
19525 [POSIX] (ECONNREFUSED): Likewise.
19526 [POSIX] (ECONNRESET): Likewise.
19527 [POSIX] (EDESTADDRREQ): Likewise.
19528 [POSIX] (EDQUOT): Likewise.
19529 [POSIX] (EHOSTUNREACH): Likewise.
19530 [POSIX] (EIDRM): Likewise.
19531 [POSIX] (EISCONN): Likewise.
19532 [POSIX] (ELOOP): Likewise.
19533 [POSIX] (EMULTIHOP): Likewise.
19534 [POSIX] (ENETDOWN): Likewise.
19535 [POSIX] (ENETUNREACH): Likewise.
19536 [POSIX] (ENOBUFS): Likewise.
19537 [POSIX] (ENODATA): Likewise.
19538 [POSIX] (ENOLINK): Likewise.
19539 [POSIX] (ENOMSG): Likewise.
19540 [POSIX] (ENOPROTOOPT): Likewise.
19541 [POSIX] (ENOSR): Likewise.
19542 [POSIX] (ENOSTR): Likewise.
19543 [POSIX] (ENOTCONN): Likewise.
19544 [POSIX] (ENOTSOCK): Likewise.
19545 [POSIX] (EOPNOTSUPP): Likewise.
19546 [POSIX] (EOVERFLOW): Likewise.
19547 [POSIX] (EPROTO): Likewise.
19548 [POSIX] (EPROTONOSUPPORT): Likewise.
19549 [POSIX] (EPROTOTYPE): Likewise.
19550 [POSIX] (ESTALE): Likewise.
19551 [POSIX] (ETIME): Likewise.
19552 [POSIX] (ETXTBSY): Likewise.
19553 [POSIX] (EWOULDBLOCK): Likewise.
19554 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19555 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19556 [POSIX] (SEEK_CUR): Likewise.
19557 [POSIX] (SEEK_END): Likewise.
19558 [POSIX || UNIX98] (mode_t): Do not require.
19559 [POSIX] (off_t): Likewise.
19560 [POSIX] (pid_t): Likewise.
19561 [POSIX] (sys/stat.h): Do not allow header.
19562 [POSIX] (unistd.h): Likewise.
19563 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19564 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19565 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19566 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19568 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19569 sigevent): Specify elements.
19570 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19572 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19573 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19575 * conform/data/cpio.h-data [POSIX]: Disable whole file.
19576 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19577 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19578 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19579 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19580 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19581 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19582 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19583 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19584 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19585 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19586 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19587 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19588 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19590 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19592 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19594 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19596 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19597 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19598 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19599 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19600 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19601 Specify lower bound on value.
19602 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19603 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19604 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19605 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19606 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19607 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19608 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19609 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19611 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19613 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19614 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19615 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19616 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19617 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19618 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19619 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19620 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19621 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19622 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19623 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19624 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19625 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19626 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19627 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19628 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19630 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19632 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19633 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19634 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19635 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19636 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19637 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19639 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19640 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19641 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19642 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19643 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
19644 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19645 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19647 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19648 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19649 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19650 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19651 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19652 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19653 specify as optional.
19654 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19655 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19656 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19657 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19658 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19659 [XPG3] (NL_LANGMAX): Likewise.
19660 [POSIX || XPG3] (NL_MSGMAX): Likewise.
19661 [POSIX || XPG3] (NL_NMAX): Likewise.
19662 [POSIX || XPG3] (NL_SETMAX): Likewise.
19663 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19664 [XPG3] (NZERO): Likewise.
19665 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19666 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19667 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19668 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19669 (REG_ERANGE): Expect.
19670 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19672 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19673 Use (void) in prototype.
19674 [POSIX] (*_t): Allow.
19675 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19676 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19677 (WRDE_BADVAL): Expect.
19679 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19681 [XPG3 || XPG4] (O_RSYNC): Likewise.
19682 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19684 [XPG3 || XPG4] (pthread_sigmask): Likewise.
19685 [XPG3 || XPG4] (sigqueue): Likewise.
19686 [XPG3 || XPG4] (sigtimedwait): Likewise.
19687 [XPG3 || XPG4] (sigwaitinfo): Likewise.
19688 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19689 [XPG3 || XPG4] (vsnprintf): Likewise.
19690 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19692 [XPG3 || XPG4] (blksize_t): Likewise.
19693 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19695 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19696 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19697 [XPG3 || XPG4] (struct itimerspec): Likewise.
19698 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19699 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19700 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19701 [XPG3 || XPG4] (clockid_t): Likewise.
19702 [XPG3 || XPG4] (timer_t): Likewise.
19703 [XPG3 || XPG4] (clock_getres): Likewise.
19704 [XPG3 || XPG4] (clock_gettime): Likewise.
19705 [XPG3 || XPG4] (clock_settime): Likewise.
19706 [XPG3 || XPG4] (nanosleep): Likewise.
19707 [XPG3 || XPG4] (timer_create): Likewise.
19708 [XPG3 || XPG4] (timer_delete): Likewise.
19709 [XPG3 || XPG4] (timer_gettime): Likewise.
19710 [XPG3 || XPG4] (timer_getoverrun): Likewise.
19711 [XPG3 || XPG4] (timer_settime): Likewise.
19712 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19713 [XPG3 || XPG4] (getlogin_r): Likewise.
19714 [XPG3 || XPG4] (pread): Likewise.
19715 [XPG3 || XPG4] (pthread_atfork): Likewise.
19716 [XPG3 || XPG4] (pwrite): Likewise.
19719 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19722 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
19724 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19725 finalizing MALLSTREAM.
19727 * sysdeps/mach/hurd/syncfs.c: New file.
19729 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19732 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19733 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19734 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19735 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19736 (_nss_dns_gethostbyname4_r): Likewise.
19737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19738 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19740 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
19743 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19745 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
19747 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19748 * elf/cache.c (print_entry): Print ",AArch64" for
19751 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19752 * elf/cache.c (print_entry): Print ",hard-float" for
19755 2012-11-18 David S. Miller <davem@davemloft.net>
19757 With help from Joseph Myers.
19758 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19760 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19762 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19763 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19765 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19766 * math/libm-test.inc (y0_test): New tests.
19767 (y1_test): New tests.
19768 * sysdeps/i386/fpu/libm-test-ulps: Update.
19769 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19772 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
19774 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19776 * configure: Regenerated.
19778 2012-11-17 David S. Miller <davem@davemloft.net>
19781 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19782 nonzero exponents with absolute value below 0x1p-128 to +/-
19785 2012-11-17 Joseph Myers <joseph@codesourcery.com>
19787 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19789 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19791 * posix/getconf-speclist.c: New file.
19792 * posix/posix-envs.def: Likewise.
19793 * posix/confstr.c (START_ENV_GROUP): New macro.
19794 (END_ENV_GROUP): Likewise.
19795 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19796 (KNOWN_PRESENT_ENV_STRING): Likewise.
19797 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19798 (UNKNOWN_ENVIRONMENT): Likewise.
19799 (confstr): Include posix-envs.def instead of handling
19800 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19801 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19802 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19803 (END_ENV_GROUP): Likewise.
19804 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19805 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19806 (UNKNOWN_ENVIRONMENT): Likewise.
19807 (__sysconf): Include posix-envs.def instead of handling associated
19808 cases directly here.
19809 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19810 preprocessing getconf-speclist.c rather than running getconf or
19811 generating empty file.
19813 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
19815 * scripts/check-local-headers.sh: Ignore 'mach' headers.
19817 2012-11-16 Andrej Lajovic <natrij@gmail.com>
19820 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19822 2012-11-16 David S. Miller <davem@davemloft.net>
19824 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19825 smaller than LDBL_EPSILON/2.0L, just return xm1.
19827 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
19829 * elf/tst-array1.c (init): Set constructor priority to 1000.
19830 (fini): Set destructor priority to 1000.
19831 * elf/tst-array2dep.c: Likewise.
19833 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19836 * libio/fileops.c (_IO_new_file_write): Correctly return error.
19837 (_IO_new_file_xsputn): Also return EOF if none of the input
19838 data was written when overflow failed.
19839 * libio/iopadn.c (_IO_padn): Likewise.
19840 * libio/iowpadn.c (_IO_wpadn): Likewise.
19841 * stdio-common/tst-put-error.c: Add copyright notice.
19842 (do_test): Add case for printing padded string.
19843 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19844 _IO_padn returned error.
19845 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19846 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19849 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19851 * libio/libioP.h: Add comment note that the references to C++
19852 bits are now obsolete.
19854 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19856 * math/libm-test.inc (check_complex): Use asprintf.
19858 2012-11-14 Joseph Myers <joseph@codesourcery.com>
19860 * debug/pcprofiledump.c (print_version): Update copyright year.
19861 * malloc/memusagestat.c (print_version): Likewise.
19863 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
19866 * elf/Makefile (tests): Add tst-audit8.
19867 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19868 ($(objpfx)tst-audit8.out): New target.
19869 (tst-audit8-ENV): New variable.
19870 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19871 audit if l_reloc_result is NULL.
19872 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19873 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19874 * elf/tst-audit8.c: New file.
19876 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19878 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19879 * misc/Makefile (CFLAGS-select.c): Define.
19880 * posix/Makefile (CFLAGS-pause.c): Define.
19882 2012-11-13 David S. Miller <davem@davemloft.net>
19884 * crypt/Makefile: Move test targets after toplevel Rules
19885 inclusion. Grab any necessary sysdep routines when linking.
19886 * crypt/md5.c (md5_process_block): Remove define, we will always
19887 name it __md5_process_block.
19888 (md5_finish_ctx): Update md5_process_block call.
19889 (md5_stream): Likewise.
19890 (md5_process_bytes): Likewise.
19891 (md5_process_block): Rename to __md5_process_block and move to ...
19892 * crypt/md5-block.c: ... here.
19893 * crypt/sha256.c (sha256_process_block): Move to ...
19894 * crypt/sha256-block.c: ... here.
19895 * crypt/sha512.c (sha512_process_block): Move to ...
19896 * crypt/sha512-block.c: ... here.
19897 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19899 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19900 * sysdeps/sparc/sparc64/multiarch/Makefile
19901 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19903 (localedef-aux): Add md5 crypto assembler when in locale subdir.
19904 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19906 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19907 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19908 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19909 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19910 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19911 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19912 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19913 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19914 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19916 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19917 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19919 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19921 2012-11-13 Joseph Myers <joseph@codesourcery.com>
19923 * timezone/tzselect.ksh: Update from tzcode git revision
19924 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19925 * timezone/zdump.c: Likewise.
19926 * timezone/zic.c: Likewise.
19927 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19928 in TZVERSION setting, not $(PKGVERSION).
19929 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
19930 REPORT_BUGS_TO settings.
19933 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19936 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19938 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19939 detection to immediately after _FP_ROUND().
19940 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19943 2012-11-11 David S. Miller <davem@davemloft.net>
19945 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19947 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19948 __close rather than their public counterparts.
19950 2012-11-10 Joseph Myers <joseph@codesourcery.com>
19952 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19954 [UNIX98] (sem_timedwait): Do not expect.
19955 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19956 [XPG4 || UNIX98] (sockatmark): Do not expect.
19957 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19958 (clock_getcpuclockid): Do not expect.
19959 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19960 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19962 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19963 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19964 [UNIX98] (vwscanf): Likewise.
19965 [UNIX98] (vswscanf): Likewise.
19967 2012-11-09 Joseph Myers <joseph@codesourcery.com>
19969 * timezone/version.h: Remove file.
19970 * timezone/README: Do not refer to version.h.
19971 * timezone/Makefile ($(objpfx)zic.o): New dependency on
19972 $(objpfx)version.h.
19973 ($(objpfx)zdump.o): Likewise.
19974 ($(objpfx)version.h): New target.
19976 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19978 * timezone/README: Don't mention modification to tzselect.ksh.
19979 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19980 work on unmodified tzselect.ksh. Substitute version numbers in
19983 * Makefile (format-me): Remove.
19984 (INSTALL): Adjust indentation. Use commands directly instead of
19985 using $(format-me).
19987 * aclocal.m4 (ACX_PKGVERSION): New macro.
19988 (ACX_BUGURL): Likewise.
19989 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19990 (PKGVERSION): New AC_DEFINE_UNQUOTED.
19991 (REPORT_BUGS_TO): Likewise.
19992 * configure: Regenerated.
19993 * config.h.in (PKGVERSION): New macro.
19994 (REPORT_BUGS_TO): Likewise.
19995 * config.make.in (PKGVERSION): New variable.
19996 (PKGVERSION_TEXI): Likewise.
19997 (REPORT_BUGS_TO): Likewise.
19998 (REPORT_BUGS_TEXI): Likewise.
19999 * Makefile (format-me): Use -I$(common-objpfx)manual.
20000 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20001 ($(common-objpfx)manual/%): New target.
20002 (manual/%): Remove target.
20003 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20004 (print_version): Use PKGVERSION.
20005 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20006 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20007 and REPORT_BUGS_TO.
20008 ($(objpfx)xtrace): Likewise.
20009 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20010 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20011 (print_version): Use PKGVERSION.
20012 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20013 (do_version): Use PKGVERSION.
20014 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20016 (common-ldd-rewrite): Likewise.
20017 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20018 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20019 (print_version): Use PKGVERSION.
20020 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20021 * elf/pldd.c (argp_program_bug_address): Remove variable.
20022 (more_help): New function.
20023 (argp): Use more_help.
20024 (print_version): Use PKGVERSION.
20025 * elf/sln.c (main): Use PKGVERSION.
20026 (usage): Use REPORT_BUGS_TO.
20027 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20028 (top level): Use PKGVERSION.
20029 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20030 (print_version): Use PKGVERSION.
20031 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20032 (print_version): Use PKGVERSION.
20033 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20034 (print_version): Use PKGVERSION.
20035 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20036 (print_version): Use PKGVERSION.
20037 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20038 (print_version): Use PKGVERSION.
20039 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20040 (print_version): Use PKGVERSION.
20041 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20043 ($(objpfx)memusage): Likewise.
20044 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20045 (do_version): Use PKGVERSION.
20046 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20047 (print_version): Use PKGVERSION.
20048 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20049 ($PKGVERSION): New variable.
20050 ($REPORT_BUGS_TO): Likewise.
20051 (usage): Use $REPORT_BUGS_TO.
20052 (top level): Use $PKGVERSION.
20053 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20054 ($(objpfx)pkgvers.texi): New rule.
20055 ($(objpfx)stamp-pkgvers): Likewise.
20056 * manual/install.texi: Include pkgvers.texi.
20057 (--with-pkgversion): Document new configure option.
20058 (--with-bugurl): Likewise.
20059 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20060 than necessarily for this particular distribution. Use
20061 REPORT_BUGS_TO for where to report bugs.
20062 * INSTALL: Regenerated.
20063 * manual/libc.texinfo: Include pkgvers.texi.
20064 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20065 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20066 (print_version): Use PKGVERSION.
20067 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20068 (print_version): Use PKGVERSION.
20069 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20070 (print_version): Use PKGVERSION.
20071 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20072 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
20074 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
20075 (print_version): Use PKGVERSION.
20076 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
20077 (print_version): Use PKGVERSION.
20078 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
20081 * timezone/checktab.awk: Update from tzcode 2012i.
20082 * timezone/ialloc.c: Likewise.
20083 * timezone/private.h: Likewise.
20084 * timezone/scheck.c: Likewise.
20085 * timezone/tzfile.h: Likewise.
20086 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
20087 (TZVERSION): Hardcode tzcode version number.
20088 * timezone/zdump.c: Update from tzcode 2012i.
20089 * timezone/zic.c: Likewise.
20090 * timezone/version.h: New file.
20091 * timezone/README: Describe version.h. Update upstream location.
20094 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
20095 (mktemp): Enable declaration.
20096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
20097 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
20098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
20099 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
20101 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
20103 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
20105 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
20107 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
20109 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
20113 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
20114 offset in buffer as u_int32_t not u_long. Consistently use memcpy
20115 for copies of such integer values.
20116 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
20117 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
20119 2012-11-09 Andreas Jaeger <aj@suse.de>
20121 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
20122 definitions and declarations that are provided by
20123 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
20125 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20127 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
20128 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
20129 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
20132 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20134 * elf/elf.h: Update comment before AArch64 relocations.
20136 2012-11-07 David S. Miller <davem@davemloft.net>
20138 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
20139 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
20140 (__start_context): Declare.
20141 (__makecontext_ret): Delete.
20142 (__makecontext): Hook up __start_context instead of
20144 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
20145 (sysdep_routines): Add __start_context when in stdlib.
20147 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20149 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
20150 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
20151 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
20153 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
20154 (READELF): New variable. Use it instead of hardcoded "readelf".
20156 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
20158 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
20159 * sysdeps/x86/Makefile: Here.
20160 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
20161 * sysdeps/x86/tst-xmmymm.sh: This.
20163 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20165 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
20167 [UNIX98] (pthread_barrier_t): Do not expect.
20168 [UNIX98] (pthread_barrierattr_t): Likewise.
20169 [UNIX98] (pthread_spinlock_t): Likewise.
20170 [UNIX98] (pthread_barrier_destroy): Likewise.
20171 [UNIX98] (pthread_barrier_init): Likewise.
20172 [UNIX98] (pthread_barrier_wait): Likewise.
20173 [UNIX98] (pthread_barrierattr_destroy): Likewise.
20174 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
20175 [UNIX98] (pthread_barrierattr_init): Likewise.
20176 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
20177 [UNIX98] (pthread_getcpuclockid): Likewise.
20178 [UNIX98] (pthread_mutex_timedlock): Likewise.
20179 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
20180 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
20181 [UNIX98] (pthread_sigmask): Likewise.
20182 [UNIX98] (pthread_spin_destroy): Likewise.
20183 [UNIX98] (pthread_spin_init): Likewise.
20184 [UNIX98] (pthread_spin_lock): Likewise.
20185 [UNIX98] (pthread_spin_trylock): Likewise.
20186 [UNIX98] (pthread_spin_unlock): Likewise.
20187 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
20189 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20190 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20191 [XPG3 || XPG4] (pthread_cond_t): Likewise.
20192 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20193 [XPG3 || XPG4] (pthread_key_t): Likewise.
20194 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20195 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20196 [XPG3 || XPG4] (pthread_once_t): Likewise.
20197 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20198 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20199 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20200 [XPG3 || XPG4] (pthread_t): Likewise.
20202 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20204 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20206 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20207 Change function return type to int.
20209 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20210 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20211 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20212 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20213 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20214 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20215 [!POSIX] (posix_madvise): Likewise.
20216 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20218 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20219 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20220 (mode_t): Likewise.
20221 (posix_mem_offset): Likewise.
20222 (posix_typed_mem_get_info): Likewise.
20223 (posix_typed_mem_open): Likewise.
20225 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20226 Change condition to [XOPEN2K8].
20228 * conform/conformtest.pl: Preprocess allow-header data with -x c
20229 instead of from stdin.
20230 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20231 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20232 [C99-based standards] (cerfc): Likewise.
20233 [C99-based standards] (cexp2): Likewise.
20234 [C99-based standards] (cexpm1): Likewise.
20235 [C99-based standards] (clog10): Likewise.
20236 [C99-based standards] (clog1p): Likewise.
20237 [C99-based standards] (clog2): Likewise.
20238 [C99-based standards] (clgamma): Likewise.
20239 [C99-based standards] (ctgamma): Likewise.
20240 [C99-based standards] (cerff): Likewise.
20241 [C99-based standards] (cerfcf): Likewise.
20242 [C99-based standards] (cexp2f): Likewise.
20243 [C99-based standards] (cexpm1f): Likewise.
20244 [C99-based standards] (clog10f): Likewise.
20245 [C99-based standards] (clog1pf): Likewise.
20246 [C99-based standards] (clog2f): Likewise.
20247 [C99-based standards] (clgammaf): Likewise.
20248 [C99-based standards] (ctgammaf): Likewise.
20249 [C99-based standards] (cerfl): Likewise.
20250 [C99-based standards] (cerfcl): Likewise.
20251 [C99-based standards] (cexp2l): Likewise.
20252 [C99-based standards] (cexpm1l): Likewise.
20253 [C99-based standards] (clog10l): Likewise.
20254 [C99-based standards] (clog1pl): Likewise.
20255 [C99-based standards] (clog2l): Likewise.
20256 [C99-based standards] (clgammal): Likewise.
20257 [C99-based standards] (ctgammal): Likewise.
20258 * conform/data/inttypes.h-data [C99-based standards]: Include
20259 stdint.h-data. Remove all expectations for stdint.h contents.
20260 [C99-based standards] (PRI*): Do not allow.
20261 [C99-based standards] (SCN*): Likewise.
20262 [C99-based standards] (*_t): Likewise.
20263 [C99-based-standards] (PRId8): Expect macro.
20264 [C99-based-standards] (PRIi8): Likewise.
20265 [C99-based-standards] (PRIo8): Likewise.
20266 [C99-based-standards] (PRIu8): Likewise.
20267 [C99-based-standards] (PRIx8): Likewise.
20268 [C99-based-standards] (PRIX8): Likewise.
20269 [C99-based-standards] (SCNd8): Likewise.
20270 [C99-based-standards] (SCNi8): Likewise.
20271 [C99-based-standards] (SCNo8): Likewise.
20272 [C99-based-standards] (SCNu8): Likewise.
20273 [C99-based-standards] (SCNx8): Likewise.
20274 [C99-based-standards] (PRIdLEAST8): Likewise.
20275 [C99-based-standards] (PRIiLEAST8): Likewise.
20276 [C99-based-standards] (PRIoLEAST8): Likewise.
20277 [C99-based-standards] (PRIuLEAST8): Likewise.
20278 [C99-based-standards] (PRIxLEAST8): Likewise.
20279 [C99-based-standards] (PRIXLEAST8): Likewise.
20280 [C99-based-standards] (SCNdLEAST8): Likewise.
20281 [C99-based-standards] (SCNiLEAST8): Likewise.
20282 [C99-based-standards] (SCNoLEAST8): Likewise.
20283 [C99-based-standards] (SCNuLEAST8): Likewise.
20284 [C99-based-standards] (SCNxLEAST8): Likewise.
20285 [C99-based-standards] (PRIdFAST8): Likewise.
20286 [C99-based-standards] (PRIiFAST8): Likewise.
20287 [C99-based-standards] (PRIoFAST8): Likewise.
20288 [C99-based-standards] (PRIuFAST8): Likewise.
20289 [C99-based-standards] (PRIxFAST8): Likewise.
20290 [C99-based-standards] (PRIXFAST8): Likewise.
20291 [C99-based-standards] (SCNdFAST8): Likewise.
20292 [C99-based-standards] (SCNiFAST8): Likewise.
20293 [C99-based-standards] (SCNoFAST8): Likewise.
20294 [C99-based-standards] (SCNuFAST8): Likewise.
20295 [C99-based-standards] (SCNxFAST8): Likewise.
20296 [C99-based-standards] (PRId16): Likewise.
20297 [C99-based-standards] (PRIi16): Likewise.
20298 [C99-based-standards] (PRIo16): Likewise.
20299 [C99-based-standards] (PRIu16): Likewise.
20300 [C99-based-standards] (PRIx16): Likewise.
20301 [C99-based-standards] (PRIX16): Likewise.
20302 [C99-based-standards] (SCNd16): Likewise.
20303 [C99-based-standards] (SCNi16): Likewise.
20304 [C99-based-standards] (SCNo16): Likewise.
20305 [C99-based-standards] (SCNu16): Likewise.
20306 [C99-based-standards] (SCNx16): Likewise.
20307 [C99-based-standards] (PRIdLEAST16): Likewise.
20308 [C99-based-standards] (PRIiLEAST16): Likewise.
20309 [C99-based-standards] (PRIoLEAST16): Likewise.
20310 [C99-based-standards] (PRIuLEAST16): Likewise.
20311 [C99-based-standards] (PRIxLEAST16): Likewise.
20312 [C99-based-standards] (PRIXLEAST16): Likewise.
20313 [C99-based-standards] (SCNdLEAST16): Likewise.
20314 [C99-based-standards] (SCNiLEAST16): Likewise.
20315 [C99-based-standards] (SCNoLEAST16): Likewise.
20316 [C99-based-standards] (SCNuLEAST16): Likewise.
20317 [C99-based-standards] (SCNxLEAST16): Likewise.
20318 [C99-based-standards] (PRIdFAST16): Likewise.
20319 [C99-based-standards] (PRIiFAST16): Likewise.
20320 [C99-based-standards] (PRIoFAST16): Likewise.
20321 [C99-based-standards] (PRIuFAST16): Likewise.
20322 [C99-based-standards] (PRIxFAST16): Likewise.
20323 [C99-based-standards] (PRIXFAST16): Likewise.
20324 [C99-based-standards] (SCNdFAST16): Likewise.
20325 [C99-based-standards] (SCNiFAST16): Likewise.
20326 [C99-based-standards] (SCNoFAST16): Likewise.
20327 [C99-based-standards] (SCNuFAST16): Likewise.
20328 [C99-based-standards] (SCNxFAST16): Likewise.
20329 [C99-based-standards] (PRId32): Likewise.
20330 [C99-based-standards] (PRIi32): Likewise.
20331 [C99-based-standards] (PRIo32): Likewise.
20332 [C99-based-standards] (PRIu32): Likewise.
20333 [C99-based-standards] (PRIx32): Likewise.
20334 [C99-based-standards] (PRIX32): Likewise.
20335 [C99-based-standards] (SCNd32): Likewise.
20336 [C99-based-standards] (SCNi32): Likewise.
20337 [C99-based-standards] (SCNo32): Likewise.
20338 [C99-based-standards] (SCNu32): Likewise.
20339 [C99-based-standards] (SCNx32): Likewise.
20340 [C99-based-standards] (PRIdLEAST32): Likewise.
20341 [C99-based-standards] (PRIiLEAST32): Likewise.
20342 [C99-based-standards] (PRIoLEAST32): Likewise.
20343 [C99-based-standards] (PRIuLEAST32): Likewise.
20344 [C99-based-standards] (PRIxLEAST32): Likewise.
20345 [C99-based-standards] (PRIXLEAST32): Likewise.
20346 [C99-based-standards] (SCNdLEAST32): Likewise.
20347 [C99-based-standards] (SCNiLEAST32): Likewise.
20348 [C99-based-standards] (SCNoLEAST32): Likewise.
20349 [C99-based-standards] (SCNuLEAST32): Likewise.
20350 [C99-based-standards] (SCNxLEAST32): Likewise.
20351 [C99-based-standards] (PRIdFAST32): Likewise.
20352 [C99-based-standards] (PRIiFAST32): Likewise.
20353 [C99-based-standards] (PRIoFAST32): Likewise.
20354 [C99-based-standards] (PRIuFAST32): Likewise.
20355 [C99-based-standards] (PRIxFAST32): Likewise.
20356 [C99-based-standards] (PRIXFAST32): Likewise.
20357 [C99-based-standards] (SCNdFAST32): Likewise.
20358 [C99-based-standards] (SCNiFAST32): Likewise.
20359 [C99-based-standards] (SCNoFAST32): Likewise.
20360 [C99-based-standards] (SCNuFAST32): Likewise.
20361 [C99-based-standards] (SCNxFAST32): Likewise.
20362 [C99-based-standards] (PRId64): Likewise.
20363 [C99-based-standards] (PRIi64): Likewise.
20364 [C99-based-standards] (PRIo64): Likewise.
20365 [C99-based-standards] (PRIu64): Likewise.
20366 [C99-based-standards] (PRIx64): Likewise.
20367 [C99-based-standards] (PRIX64): Likewise.
20368 [C99-based-standards] (SCNd64): Likewise.
20369 [C99-based-standards] (SCNi64): Likewise.
20370 [C99-based-standards] (SCNo64): Likewise.
20371 [C99-based-standards] (SCNu64): Likewise.
20372 [C99-based-standards] (SCNx64): Likewise.
20373 [C99-based-standards] (PRIdLEAST64): Likewise.
20374 [C99-based-standards] (PRIiLEAST64): Likewise.
20375 [C99-based-standards] (PRIoLEAST64): Likewise.
20376 [C99-based-standards] (PRIuLEAST64): Likewise.
20377 [C99-based-standards] (PRIxLEAST64): Likewise.
20378 [C99-based-standards] (PRIXLEAST64): Likewise.
20379 [C99-based-standards] (SCNdLEAST64): Likewise.
20380 [C99-based-standards] (SCNiLEAST64): Likewise.
20381 [C99-based-standards] (SCNoLEAST64): Likewise.
20382 [C99-based-standards] (SCNuLEAST64): Likewise.
20383 [C99-based-standards] (SCNxLEAST64): Likewise.
20384 [C99-based-standards] (PRIdFAST64): Likewise.
20385 [C99-based-standards] (PRIiFAST64): Likewise.
20386 [C99-based-standards] (PRIoFAST64): Likewise.
20387 [C99-based-standards] (PRIuFAST64): Likewise.
20388 [C99-based-standards] (PRIxFAST64): Likewise.
20389 [C99-based-standards] (PRIXFAST64): Likewise.
20390 [C99-based-standards] (SCNdFAST64): Likewise.
20391 [C99-based-standards] (SCNiFAST64): Likewise.
20392 [C99-based-standards] (SCNoFAST64): Likewise.
20393 [C99-based-standards] (SCNuFAST64): Likewise.
20394 [C99-based-standards] (SCNxFAST64): Likewise.
20395 [C99-based-standards] (PRIdMAX): Likewise.
20396 [C99-based-standards] (PRIiMAX): Likewise.
20397 [C99-based-standards] (PRIoMAX): Likewise.
20398 [C99-based-standards] (PRIuMAX): Likewise.
20399 [C99-based-standards] (PRIxMAX): Likewise.
20400 [C99-based-standards] (PRIXMAX): Likewise.
20401 [C99-based-standards] (SCNdMAX): Likewise.
20402 [C99-based-standards] (SCNiMAX): Likewise.
20403 [C99-based-standards] (SCNoMAX): Likewise.
20404 [C99-based-standards] (SCNuMAX): Likewise.
20405 [C99-based-standards] (SCNxMAX): Likewise.
20406 [C99-based-standards] (PRIdPTR): Likewise.
20407 [C99-based-standards] (PRIiPTR): Likewise.
20408 [C99-based-standards] (PRIoPTR): Likewise.
20409 [C99-based-standards] (PRIuPTR): Likewise.
20410 [C99-based-standards] (PRIxPTR): Likewise.
20411 [C99-based-standards] (PRIXPTR): Likewise.
20412 [C99-based-standards] (SCNdPTR): Likewise.
20413 [C99-based-standards] (SCNiPTR): Likewise.
20414 [C99-based-standards] (SCNoPTR): Likewise.
20415 [C99-based-standards] (SCNuPTR): Likewise.
20416 [C99-based-standards] (SCNxPTR): Likewise.
20417 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20419 * conform/data/stdint.h-data: Update comments to clarify
20421 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
20423 [C99-based standards] (INT8_MAX): Likewise.
20424 [C99-based standards] (INT16_MIN): Likewise.
20425 [C99-based standards] (INT16_MAX): Likewise.
20426 [C99-based standards] (INT32_MIN): Likewise.
20427 [C99-based standards] (INT32_MAX): Likewise.
20428 [C99-based standards] (INT64_MIN): Likewise.
20429 [C99-based standards] (INT64_MAX): Likewise.
20430 [C99-based standards] (UINT8_MAX): Likewise.
20431 [C99-based standards] (UINT16_MAX): Likewise.
20432 [C99-based standards] (UINT32_MAX): Likewise.
20433 [C99-based standards] (UINT64_MAX): Likewise.
20434 [C99-based standards] (INT_LEAST8_MIN): Likewise.
20435 [C99-based standards] (INT_LEAST8_MAX): Likewise.
20436 [C99-based standards] (INT_LEAST16_MIN): Likewise.
20437 [C99-based standards] (INT_LEAST16_MAX): Likewise.
20438 [C99-based standards] (INT_LEAST32_MIN): Likewise.
20439 [C99-based standards] (INT_LEAST32_MAX): Likewise.
20440 [C99-based standards] (INT_LEAST64_MIN): Likewise.
20441 [C99-based standards] (INT_LEAST64_MAX): Likewise.
20442 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20443 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20444 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20445 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20446 [C99-based standards] (INT_FAST8_MIN): Likewise.
20447 [C99-based standards] (INT_FAST8_MAX): Likewise.
20448 [C99-based standards] (INT_FAST16_MIN): Likewise.
20449 [C99-based standards] (INT_FAST16_MAX): Likewise.
20450 [C99-based standards] (INT_FAST32_MIN): Likewise.
20451 [C99-based standards] (INT_FAST32_MAX): Likewise.
20452 [C99-based standards] (INT_FAST64_MIN): Likewise.
20453 [C99-based standards] (INT_FAST64_MAX): Likewise.
20454 [C99-based standards] (UINT_FAST8_MAX): Likewise.
20455 [C99-based standards] (UINT_FAST16_MAX): Likewise.
20456 [C99-based standards] (UINT_FAST32_MAX): Likewise.
20457 [C99-based standards] (UINT_FAST64_MAX): Likewise.
20458 [C99-based standards] (INTPTR_MIN): Likewise.
20459 [C99-based standards] (INTPTR_MAX): Likewise.
20460 [C99-based standards] (UINTPTR_MAX): Likewise.
20461 [C99-based standards] (INTMAX_MIN): Likewise.
20462 [C99-based standards] (INTMAX_MAX): Likewise.
20463 [C99-based standards] (UINTMAX_MAX): Likewise.
20464 [C99-based standards] (PTRDIFF_MIN): Likewise.
20465 [C99-based standards] (PTRDIFF_MAX): Likewise.
20466 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20467 [C99-based standards] (SIZE_MAX): Likewise.
20468 [C99-based standards] (WCHAR_MAX): Likewise.
20469 [C99-based standards] (WINT_MAX): Likewise.
20470 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
20471 constraint on value.
20472 [C99-based standards] (WCHAR_MIN): Likewise.
20473 [C99-based standards] (WINT_MIN): Likewise.
20474 [C99-based standards] (*_t): Allow.
20475 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20476 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20477 Include math.h-data and complex.h-data. Remove all expectations
20478 of math.h and complex.h contents.
20479 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20481 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20482 (struct tm): Expect tag.
20483 [C99-based-standards] (wcstof): Expect function.
20484 [C99-based-standards] (wcstold): Likewise.
20485 [C99-based-standards] (wcstoll): Likewise.
20486 [C99-based-standards] (wcstoull): Likewise.
20487 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20488 macro-int-constant. Specify type.
20489 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
20490 constraint on value.
20491 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20493 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20495 [ISO C standards]: Do not allow headers.
20496 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20497 wcs[abcdefghijklmnopqrstuvwxyz]*.
20498 [ISO C standards] (*_t): Do not allow.
20499 * conform/data/wctype.h-data [C99-based standards] (iswblank):
20501 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20502 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20504 [ISO C standards]: Do not allow headers.
20505 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20506 is[abcdefghijklmnopqrstuvwxyz]*.
20507 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20508 to[abcdefghijklmnopqrstuvwxyz]*.
20509 [ISO C standards] (*_t): Do not allow.
20510 * conform/data/stdalign.h-data: New file.
20511 * conform/data/stdbool.h-data: Likewise.
20512 * conform/data/stdnoreturn.h-data: Likewise.
20514 2012-11-07 Roland McGrath <roland@hack.frob.com>
20517 * manual/filesys.texi (Directory Entries): Typo fix.
20518 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20520 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20522 * elf/elf.h (EM_AARCH64): New macro.
20523 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20524 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20525 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20526 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20527 (R_AARCH64_TLSDESC): Likewise.
20528 (NT_ARM_TLS): Likewise.
20529 (NT_ARM_HW_BREAK): Likewise.
20530 (NT_ARM_HW_WATCH): Likewise.
20532 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20535 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20536 (__ieee754_powl): Saturate nonzero exponents with absolute value
20537 below 0x1p-79 to +/- 0x1p-79.
20538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20539 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20540 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20541 nonzero exponents with absolute value below 0x1p-32 to +/-
20543 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20544 (__ieee754_powl): Saturate nonzero exponents with absolute value
20545 below 0x1p-79 to +/- 0x1p-79.
20546 * math/libm-test.inc (pow_test): Add more tests.
20548 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20550 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20551 _dl_s390_cap_flags with kernel. Increase string length.
20552 (_dl_s390_platforms): Add z196 and zEC12.
20554 2012-11-07 Joseph Myers <joseph@codesourcery.com>
20556 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20557 Change XOPEN21K to XOPEN2K.
20559 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
20561 * string/memmove.c: Use memcpy when possible.
20563 2012-11-06 Andreas Jaeger <aj@suse.de>
20565 * po/eo.po: Update from translation team.
20567 2012-11-06 Joseph Myers <joseph@codesourcery.com>
20570 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20571 exponent and small x and y exponents, scale x or y up. Increase
20572 by 2 the exponent used in scaling up.
20573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20575 * math/libm-test.inc (fma_test): Add more tests.
20576 (fma_test_towardzero): Likewise.
20577 (fma_test_downward): Likewise.
20578 (fma_test_upward): Likewise.
20580 2012-11-05 Joseph Myers <joseph@codesourcery.com>
20583 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20587 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20588 namespace for names of struct fields.
20589 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20591 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20592 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20594 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20597 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20599 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20601 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20605 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20608 2012-11-04 Joseph Myers <joseph@codesourcery.com>
20611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20612 definitely overflow as x * y not x * y + z.
20613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20615 * math/libm-test.inc (fma_test): Add more tests.
20616 (fma_test_towardzero): Likewise.
20617 (fma_test_downward): Likewise.
20618 (fma_test_upward): Likewise.
20620 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
20624 * include/stub-tag.h: Remove file.
20625 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20627 * manual/maint.texi (Porting): Don't reference it.
20628 * Makerules ($(objpfx)stubs): Likewise.
20629 * dirent/closedir.c: Don't include <stub-tag.h>.
20630 * dirent/dirfd.c: Likewise.
20631 * dirent/fdopendir.c: Likewise.
20632 * dirent/getdents.c: Likewise.
20633 * dirent/getdents64.c: Likewise.
20634 * dirent/opendir.c: Likewise.
20635 * dirent/readdir.c: Likewise.
20636 * dirent/readdir64.c: Likewise.
20637 * dirent/readdir64_r.c: Likewise.
20638 * dirent/readdir_r.c: Likewise.
20639 * dirent/rewinddir.c: Likewise.
20640 * dirent/seekdir.c: Likewise.
20641 * dirent/telldir.c: Likewise.
20642 * gmon/profil.c: Likewise.
20643 * grp/setgroups.c: Likewise.
20644 * inet/if_index.c: Likewise.
20645 * io/access.c: Likewise.
20646 * io/chdir.c: Likewise.
20647 * io/chmod.c: Likewise.
20648 * io/chown.c: Likewise.
20649 * io/close.c: Likewise.
20650 * io/dup.c: Likewise.
20651 * io/dup2.c: Likewise.
20652 * io/dup3.c: Likewise.
20653 * io/euidaccess.c: Likewise.
20654 * io/faccessat.c: Likewise.
20655 * io/fchdir.c: Likewise.
20656 * io/fchmod.c: Likewise.
20657 * io/fchmodat.c: Likewise.
20658 * io/fchown.c: Likewise.
20659 * io/fchownat.c: Likewise.
20660 * io/fcntl.c: Likewise.
20661 * io/flock.c: Likewise.
20662 * io/fstatfs.c: Likewise.
20663 * io/fstatfs64.c: Likewise.
20664 * io/fstatvfs.c: Likewise.
20665 * io/fstatvfs64.c: Likewise.
20666 * io/futimens.c: Likewise.
20667 * io/fxstat.c: Likewise.
20668 * io/fxstat64.c: Likewise.
20669 * io/fxstatat.c: Likewise.
20670 * io/fxstatat64.c: Likewise.
20671 * io/getcwd.c: Likewise.
20672 * io/isatty.c: Likewise.
20673 * io/lchmod.c: Likewise.
20674 * io/lchown.c: Likewise.
20675 * io/link.c: Likewise.
20676 * io/linkat.c: Likewise.
20677 * io/lseek.c: Likewise.
20678 * io/lseek64.c: Likewise.
20679 * io/lxstat64.c: Likewise.
20680 * io/mkdir.c: Likewise.
20681 * io/mkdirat.c: Likewise.
20682 * io/mkfifo.c: Likewise.
20683 * io/mkfifoat.c: Likewise.
20684 * io/open.c: Likewise.
20685 * io/open64.c: Likewise.
20686 * io/openat.c: Likewise.
20687 * io/openat64.c: Likewise.
20688 * io/pipe.c: Likewise.
20689 * io/pipe2.c: Likewise.
20690 * io/poll.c: Likewise.
20691 * io/posix_fadvise.c: Likewise.
20692 * io/posix_fadvise64.c: Likewise.
20693 * io/posix_fallocate.c: Likewise.
20694 * io/posix_fallocate64.c: Likewise.
20695 * io/read.c: Likewise.
20696 * io/readlink.c: Likewise.
20697 * io/readlinkat.c: Likewise.
20698 * io/rmdir.c: Likewise.
20699 * io/sendfile.c: Likewise.
20700 * io/sendfile64.c: Likewise.
20701 * io/statfs.c: Likewise.
20702 * io/statfs64.c: Likewise.
20703 * io/statvfs.c: Likewise.
20704 * io/statvfs64.c: Likewise.
20705 * io/symlink.c: Likewise.
20706 * io/symlinkat.c: Likewise.
20707 * io/ttyname.c: Likewise.
20708 * io/ttyname_r.c: Likewise.
20709 * io/umask.c: Likewise.
20710 * io/unlink.c: Likewise.
20711 * io/unlinkat.c: Likewise.
20712 * io/utime.c: Likewise.
20713 * io/utimensat.c: Likewise.
20714 * io/write.c: Likewise.
20715 * io/xmknod.c: Likewise.
20716 * io/xmknodat.c: Likewise.
20717 * io/xstat.c: Likewise.
20718 * io/xstat64.c: Likewise.
20719 * login/getpt.c: Likewise.
20720 * login/grantpt.c: Likewise.
20721 * login/unlockpt.c: Likewise.
20722 * math/e_acoshl.c: Likewise.
20723 * math/e_acosl.c: Likewise.
20724 * math/e_asinl.c: Likewise.
20725 * math/e_atan2l.c: Likewise.
20726 * math/e_atanhl.c: Likewise.
20727 * math/e_coshl.c: Likewise.
20728 * math/e_expl.c: Likewise.
20729 * math/e_fmodl.c: Likewise.
20730 * math/e_gammal_r.c: Likewise.
20731 * math/e_hypotl.c: Likewise.
20732 * math/e_j0l.c: Likewise.
20733 * math/e_j1l.c: Likewise.
20734 * math/e_jnl.c: Likewise.
20735 * math/e_lgammal_r.c: Likewise.
20736 * math/e_log10l.c: Likewise.
20737 * math/e_log2l.c: Likewise.
20738 * math/e_logl.c: Likewise.
20739 * math/e_powl.c: Likewise.
20740 * math/e_rem_pio2l.c: Likewise.
20741 * math/e_sinhl.c: Likewise.
20742 * math/e_sqrtl.c: Likewise.
20743 * math/fclrexcpt.c: Likewise.
20744 * math/fedisblxcpt.c: Likewise.
20745 * math/feenablxcpt.c: Likewise.
20746 * math/fegetenv.c: Likewise.
20747 * math/fegetexcept.c: Likewise.
20748 * math/fegetround.c: Likewise.
20749 * math/feholdexcpt.c: Likewise.
20750 * math/fesetenv.c: Likewise.
20751 * math/fesetround.c: Likewise.
20752 * math/feupdateenv.c: Likewise.
20753 * math/fgetexcptflg.c: Likewise.
20754 * math/fraiseexcpt.c: Likewise.
20755 * math/fsetexcptflg.c: Likewise.
20756 * math/ftestexcept.c: Likewise.
20757 * math/k_cosl.c: Likewise.
20758 * math/k_rem_pio2l.c: Likewise.
20759 * math/k_sinl.c: Likewise.
20760 * math/k_tanl.c: Likewise.
20761 * math/s_asinhl.c: Likewise.
20762 * math/s_atanl.c: Likewise.
20763 * math/s_cbrtl.c: Likewise.
20764 * math/s_erfl.c: Likewise.
20765 * math/s_expm1l.c: Likewise.
20766 * math/s_log1pl.c: Likewise.
20767 * math/s_tanhl.c: Likewise.
20768 * misc/acct.c: Likewise.
20769 * misc/brk.c: Likewise.
20770 * misc/chflags.c: Likewise.
20771 * misc/chroot.c: Likewise.
20772 * misc/fchflags.c: Likewise.
20773 * misc/fgetxattr.c: Likewise.
20774 * misc/flistxattr.c: Likewise.
20775 * misc/fremovexattr.c: Likewise.
20776 * misc/fsetxattr.c: Likewise.
20777 * misc/fsync.c: Likewise.
20778 * misc/ftruncate.c: Likewise.
20779 * misc/futimes.c: Likewise.
20780 * misc/futimesat.c: Likewise.
20781 * misc/getdomain.c: Likewise.
20782 * misc/getdtsz.c: Likewise.
20783 * misc/gethostid.c: Likewise.
20784 * misc/gethostname.c: Likewise.
20785 * misc/getloadavg.c: Likewise.
20786 * misc/getpagesize.c: Likewise.
20787 * misc/getsysstats.c: Likewise.
20788 * misc/getxattr.c: Likewise.
20789 * misc/gtty.c: Likewise.
20790 * misc/ioctl.c: Likewise.
20791 * misc/lgetxattr.c: Likewise.
20792 * misc/listxattr.c: Likewise.
20793 * misc/llistxattr.c: Likewise.
20794 * misc/lremovexattr.c: Likewise.
20795 * misc/lsetxattr.c: Likewise.
20796 * misc/lutimes.c: Likewise.
20797 * misc/madvise.c: Likewise.
20798 * misc/mincore.c: Likewise.
20799 * misc/mlock.c: Likewise.
20800 * misc/mlockall.c: Likewise.
20801 * misc/mmap.c: Likewise.
20802 * misc/mprotect.c: Likewise.
20803 * misc/msync.c: Likewise.
20804 * misc/munlock.c: Likewise.
20805 * misc/munlockall.c: Likewise.
20806 * misc/munmap.c: Likewise.
20807 * misc/preadv.c: Likewise.
20808 * misc/preadv64.c: Likewise.
20809 * misc/ptrace.c: Likewise.
20810 * misc/pwritev.c: Likewise.
20811 * misc/pwritev64.c: Likewise.
20812 * misc/readv.c: Likewise.
20813 * misc/reboot.c: Likewise.
20814 * misc/remap_file_pages.c: Likewise.
20815 * misc/removexattr.c: Likewise.
20816 * misc/revoke.c: Likewise.
20817 * misc/select.c: Likewise.
20818 * misc/setdomain.c: Likewise.
20819 * misc/setegid.c: Likewise.
20820 * misc/seteuid.c: Likewise.
20821 * misc/sethostid.c: Likewise.
20822 * misc/sethostname.c: Likewise.
20823 * misc/setregid.c: Likewise.
20824 * misc/setreuid.c: Likewise.
20825 * misc/setxattr.c: Likewise.
20826 * misc/sstk.c: Likewise.
20827 * misc/stty.c: Likewise.
20828 * misc/swapoff.c: Likewise.
20829 * misc/swapon.c: Likewise.
20830 * misc/sync.c: Likewise.
20831 * misc/syncfs.c: Likewise.
20832 * misc/syscall.c: Likewise.
20833 * misc/truncate.c: Likewise.
20834 * misc/ualarm.c: Likewise.
20835 * misc/usleep.c: Likewise.
20836 * misc/ustat.c: Likewise.
20837 * misc/utimes.c: Likewise.
20838 * misc/vhangup.c: Likewise.
20839 * misc/writev.c: Likewise.
20840 * posix/_exit.c: Likewise.
20841 * posix/alarm.c: Likewise.
20842 * posix/execve.c: Likewise.
20843 * posix/fexecve.c: Likewise.
20844 * posix/fork.c: Likewise.
20845 * posix/fpathconf.c: Likewise.
20846 * posix/getaddrinfo.c: Likewise.
20847 * posix/getegid.c: Likewise.
20848 * posix/geteuid.c: Likewise.
20849 * posix/getgid.c: Likewise.
20850 * posix/getgroups.c: Likewise.
20851 * posix/getlogin.c: Likewise.
20852 * posix/getlogin_r.c: Likewise.
20853 * posix/getpgid.c: Likewise.
20854 * posix/getpid.c: Likewise.
20855 * posix/getppid.c: Likewise.
20856 * posix/getresgid.c: Likewise.
20857 * posix/getresuid.c: Likewise.
20858 * posix/getsid.c: Likewise.
20859 * posix/getuid.c: Likewise.
20860 * posix/glob64.c: Likewise.
20861 * posix/nanosleep.c: Likewise.
20862 * posix/pathconf.c: Likewise.
20863 * posix/pause.c: Likewise.
20864 * posix/posix_madvise.c: Likewise.
20865 * posix/pread.c: Likewise.
20866 * posix/pread64.c: Likewise.
20867 * posix/pwrite.c: Likewise.
20868 * posix/pwrite64.c: Likewise.
20869 * posix/sched_getaffinity.c: Likewise.
20870 * posix/sched_getp.c: Likewise.
20871 * posix/sched_gets.c: Likewise.
20872 * posix/sched_primax.c: Likewise.
20873 * posix/sched_primin.c: Likewise.
20874 * posix/sched_rr_gi.c: Likewise.
20875 * posix/sched_setaffinity.c: Likewise.
20876 * posix/sched_setp.c: Likewise.
20877 * posix/sched_sets.c: Likewise.
20878 * posix/sched_yield.c: Likewise.
20879 * posix/setgid.c: Likewise.
20880 * posix/setlogin.c: Likewise.
20881 * posix/setpgid.c: Likewise.
20882 * posix/setresgid.c: Likewise.
20883 * posix/setresuid.c: Likewise.
20884 * posix/setsid.c: Likewise.
20885 * posix/setuid.c: Likewise.
20886 * posix/sleep.c: Likewise.
20887 * posix/spawni.c: Likewise.
20888 * posix/sysconf.c: Likewise.
20889 * posix/times.c: Likewise.
20890 * posix/wait.c: Likewise.
20891 * posix/wait3.c: Likewise.
20892 * posix/wait4.c: Likewise.
20893 * posix/waitpid.c: Likewise.
20894 * resolv/gai_sigqueue.c: Likewise.
20895 * resource/getpriority.c: Likewise.
20896 * resource/getrlimit.c: Likewise.
20897 * resource/getrusage.c: Likewise.
20898 * resource/nice.c: Likewise.
20899 * resource/setpriority.c: Likewise.
20900 * resource/setrlimit.c: Likewise.
20901 * resource/ulimit.c: Likewise.
20902 * rt/aio_cancel.c: Likewise.
20903 * rt/aio_fsync.c: Likewise.
20904 * rt/aio_read.c: Likewise.
20905 * rt/aio_sigqueue.c: Likewise.
20906 * rt/aio_suspend.c: Likewise.
20907 * rt/aio_write.c: Likewise.
20908 * rt/clock_getres.c: Likewise.
20909 * rt/clock_gettime.c: Likewise.
20910 * rt/clock_nanosleep.c: Likewise.
20911 * rt/clock_settime.c: Likewise.
20912 * rt/lio_listio.c: Likewise.
20913 * rt/mq_close.c: Likewise.
20914 * rt/mq_getattr.c: Likewise.
20915 * rt/mq_notify.c: Likewise.
20916 * rt/mq_open.c: Likewise.
20917 * rt/mq_receive.c: Likewise.
20918 * rt/mq_send.c: Likewise.
20919 * rt/mq_setattr.c: Likewise.
20920 * rt/mq_timedreceive.c: Likewise.
20921 * rt/mq_timedsend.c: Likewise.
20922 * rt/mq_unlink.c: Likewise.
20923 * rt/shm_open.c: Likewise.
20924 * rt/shm_unlink.c: Likewise.
20925 * rt/timer_create.c: Likewise.
20926 * rt/timer_delete.c: Likewise.
20927 * rt/timer_getoverr.c: Likewise.
20928 * rt/timer_gettime.c: Likewise.
20929 * rt/timer_settime.c: Likewise.
20930 * setjmp/__longjmp.c: Likewise.
20931 * setjmp/setjmp.c: Likewise.
20932 * signal/kill.c: Likewise.
20933 * signal/killpg.c: Likewise.
20934 * signal/raise.c: Likewise.
20935 * signal/sigaction.c: Likewise.
20936 * signal/sigaltstack.c: Likewise.
20937 * signal/sigblock.c: Likewise.
20938 * signal/sigignore.c: Likewise.
20939 * signal/sigintr.c: Likewise.
20940 * signal/signal.c: Likewise.
20941 * signal/sigpause.c: Likewise.
20942 * signal/sigpending.c: Likewise.
20943 * signal/sigqueue.c: Likewise.
20944 * signal/sigreturn.c: Likewise.
20945 * signal/sigset.c: Likewise.
20946 * signal/sigsetmask.c: Likewise.
20947 * signal/sigstack.c: Likewise.
20948 * signal/sigsuspend.c: Likewise.
20949 * signal/sigtimedwait.c: Likewise.
20950 * signal/sigvec.c: Likewise.
20951 * signal/sigwait.c: Likewise.
20952 * signal/sigwaitinfo.c: Likewise.
20953 * signal/sysv_signal.c: Likewise.
20954 * socket/accept.c: Likewise.
20955 * socket/accept4.c: Likewise.
20956 * socket/bind.c: Likewise.
20957 * socket/connect.c: Likewise.
20958 * socket/getpeername.c: Likewise.
20959 * socket/getsockname.c: Likewise.
20960 * socket/getsockopt.c: Likewise.
20961 * socket/isfdtype.c: Likewise.
20962 * socket/listen.c: Likewise.
20963 * socket/recv.c: Likewise.
20964 * socket/recvfrom.c: Likewise.
20965 * socket/recvmsg.c: Likewise.
20966 * socket/send.c: Likewise.
20967 * socket/sendmsg.c: Likewise.
20968 * socket/sendto.c: Likewise.
20969 * socket/setsockopt.c: Likewise.
20970 * socket/shutdown.c: Likewise.
20971 * socket/sockatmark.c: Likewise.
20972 * socket/socket.c: Likewise.
20973 * socket/socketpair.c: Likewise.
20974 * stdio-common/ctermid.c: Likewise.
20975 * stdio-common/cuserid.c: Likewise.
20976 * stdio-common/remove.c: Likewise.
20977 * stdio-common/rename.c: Likewise.
20978 * stdio-common/renameat.c: Likewise.
20979 * stdio-common/tempname.c: Likewise.
20980 * stdlib/getcontext.c: Likewise.
20981 * stdlib/makecontext.c: Likewise.
20982 * stdlib/setcontext.c: Likewise.
20983 * stdlib/swapcontext.c: Likewise.
20984 * stdlib/system.c: Likewise.
20985 * streams/fattach.c: Likewise.
20986 * streams/fdetach.c: Likewise.
20987 * streams/getmsg.c: Likewise.
20988 * streams/getpmsg.c: Likewise.
20989 * streams/putmsg.c: Likewise.
20990 * streams/putpmsg.c: Likewise.
20991 * sysdeps/unix/bsd/getpt.c: Likewise.
20992 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20993 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20994 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20997 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20998 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20999 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21000 * sysvipc/msgctl.c: Likewise.
21001 * sysvipc/msgget.c: Likewise.
21002 * sysvipc/msgrcv.c: Likewise.
21003 * sysvipc/msgsnd.c: Likewise.
21004 * sysvipc/semctl.c: Likewise.
21005 * sysvipc/semget.c: Likewise.
21006 * sysvipc/semop.c: Likewise.
21007 * sysvipc/semtimedop.c: Likewise.
21008 * sysvipc/shmat.c: Likewise.
21009 * sysvipc/shmctl.c: Likewise.
21010 * sysvipc/shmdt.c: Likewise.
21011 * sysvipc/shmget.c: Likewise.
21012 * termios/tcdrain.c: Likewise.
21013 * termios/tcflow.c: Likewise.
21014 * termios/tcflush.c: Likewise.
21015 * termios/tcgetattr.c: Likewise.
21016 * termios/tcgetpgrp.c: Likewise.
21017 * termios/tcsendbrk.c: Likewise.
21018 * termios/tcsetattr.c: Likewise.
21019 * termios/tcsetpgrp.c: Likewise.
21020 * time/adjtime.c: Likewise.
21021 * time/clock.c: Likewise.
21022 * time/getitimer.c: Likewise.
21023 * time/gettimeofday.c: Likewise.
21024 * time/setitimer.c: Likewise.
21025 * time/settimeofday.c: Likewise.
21026 * time/stime.c: Likewise.
21027 * time/time.c: Likewise.
21029 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
21031 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21034 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21036 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21038 2012-11-03 Joseph Myers <joseph@codesourcery.com>
21041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21042 FE_TONEAREST before applying Dekker multiplication and Knuth
21043 addition. Clear inexact exceptions and check for exact zero
21044 results afterwards.
21045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21048 * math/libm-test.inc (fma_test): Add more tests.
21049 (fma_test_towardzero): Likewise.
21050 (fma_test_downward): Likewise.
21051 (fma_test_upward): Likewise.
21052 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21054 (libc_fesetround): New macro.
21055 (libc_fesetroundf): Likewise.
21056 (libc_fesetroundl): Likewise.
21057 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21059 (libc_fesetround_387): Likewise.
21060 (libc_fesetroundf): New macro.
21061 (libc_fesetround): Likewise.
21062 (libc_fesetroundl): Likewise.
21063 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21065 (libc_fesetroundf): New macro.
21066 (libc_fesetround): Likewise.
21067 (libc_fesetroundl): Likewise.
21068 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21069 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21070 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21072 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
21073 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
21075 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
21076 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
21078 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
21082 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
21083 integer constant usable in #if and use that to give value to enum
21085 (FE_DIVBYZERO): Likewise.
21086 (FE_UNDERFLOW): Likewise.
21087 (FE_OVERFLOW): Likewise.
21088 (FE_INVALID): Likewise.
21089 (FE_INVALID_SNAN): Likewise.
21090 (FE_INVALID_ISI): Likewise.
21091 (FE_INVALID_IDI): Likewise.
21092 (FE_INVALID_ZDZ): Likewise.
21093 (FE_INVALID_IMZ): Likewise.
21094 (FE_INVALID_COMPARE): Likewise.
21095 (FE_INVALID_SOFTWARE): Likewise.
21096 (FE_INVALID_SQRT): Likewise.
21097 (FE_INVALID_INTEGER_CONVERSION): Likewise.
21098 (FE_TONEAREST): Likewise.
21099 (FE_TOWARDZERO): Likewise.
21100 (FE_UPWARD): Likewise.
21101 (FE_DOWNWARD): Likewise.
21102 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
21103 (FE_DIVBYZERO): Likewise.
21104 (FE_OVERFLOW): Likewise.
21105 (FE_UNDERFLOW): Likewise.
21106 (FE_INEXACT): Likewise.
21107 (FE_TONEAREST): Likewise.
21108 (FE_DOWNWARD): Likewise.
21109 (FE_UPWARD): Likewise.
21110 (FE_TOWARDZERO): Likewise.
21111 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
21112 (FE_UNDERFLOW): Likewise.
21113 (FE_OVERFLOW): Likewise.
21114 (FE_DIVBYZERO): Likewise.
21115 (FE_INVALID): Likewise.
21116 (FE_TONEAREST): Likewise.
21117 (FE_TOWARDZERO): Likewise.
21118 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
21119 (FE_OVERFLOW): Likewise.
21120 (FE_UNDERFLOW): Likewise.
21121 (FE_DIVBYZERO): Likewise.
21122 (FE_INEXACT): Likewise.
21123 (FE_TONEAREST): Likewise.
21124 (FE_TOWARDZERO): Likewise.
21125 (FE_UPWARD): Likewise.
21126 (FE_DOWNWARD): Likewise.
21127 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
21128 (FE_DIVBYZERO): Likewise.
21129 (FE_OVERFLOW): Likewise.
21130 (FE_UNDERFLOW): Likewise.
21131 (FE_INEXACT): Likewise.
21132 (FE_TONEAREST): Likewise.
21133 (FE_DOWNWARD): Likewise.
21134 (FE_UPWARD): Likewise.
21135 (FE_TOWARDZERO): Likewise.
21137 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
21139 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
21141 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
21143 * scripts/cross-test-ssh.sh (command): Use newlines to separate
21144 commands. Quote $PWD.
21145 (blacklist_exports): Don't use remove_newlines. Replace "declare
21147 (remove_newlines): Remove.
21149 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
21151 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
21152 * stdlib/stdlib.h (atof): Moved to ...
21153 * include/bits/stdlib-float.h: Here. New file.
21154 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
21155 * stdlib/bits/stdlib-float.h: New file.
21156 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
21158 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
21161 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21163 * conform/conformtest.pl (@headers): Add fenv.h.
21164 * conform/data/fenv.h-data: New file.
21165 * include/fenv.h [_ISOMAC]: Disable all contents of file except
21166 include of <math/fenv.h>.
21168 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
21169 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
21170 && !UNIX98]. Enables tests for XOPEN2K8.
21171 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
21172 POSIX2008]: Likewise.
21174 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
21175 (struct rusage): Do not expect type or its members.
21178 * math/math.h (FP_NAN): Define macro to integer constant usable in
21179 #if and use that to give value to enum constant.
21180 (FP_INFINITE): Likewise.
21181 (FP_ZERO): Likewise.
21182 (FP_SUBNORMAL): Likewise.
21183 (FP_NORMAL): Likewise.
21185 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
21187 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
21188 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21191 2012-11-02 Roland McGrath <roland@hack.frob.com>
21193 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21194 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21195 autoconf-time if not.
21196 * configure.in: Remove AC_PREREQ.
21198 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21200 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21201 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21202 of the internal implementation.
21204 2012-11-02 Joseph Myers <joseph@codesourcery.com>
21206 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21207 except include of <misc/sys/syslog.h>.
21209 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21212 function returns with a NULL context exit with zero.
21214 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21216 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21218 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
21220 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21221 (run_program_cmd): This.
21222 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21223 (tst_langinfo): New variable. Use it.
21225 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
21227 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21228 floating point opcodes.
21230 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21232 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21235 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21237 * sysdeps/mach/hurd/powerpc: Remove directory.
21238 * sysdeps/mach/powerpc: Likewise.
21240 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
21242 * scripts/check-local-headers.sh: Ignore c++ headers.
21244 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21246 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21247 __libc_cleanup_region_start argument.
21249 2012-11-01 Joseph Myers <joseph@codesourcery.com>
21253 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21254 x * y using scaling, not as x * y + z.
21255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21256 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21257 * math/libm-test.inc (fma_test): Add more tests.
21258 (fma_test_towardzero): Likewise.
21259 (fma_test_downward): Likewise.
21260 (fma_test_upward): Likewise.
21262 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
21264 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21266 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21268 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21271 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
21273 * rt/tst-shm.c (worker): Correct checking for mmap failure.
21275 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21282 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21285 Fix the order of the list for glibc 2.17.
21286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21289 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
21291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21293 2012-10-31 Joseph Myers <joseph@codesourcery.com>
21296 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21297 for low part of x being zero before using __atanl (y).
21298 * math/libm-test.inc (atan2_test): Add another test.
21300 * manual/install.texi (Configuring and compiling): Document
21301 general use of test-wrapper and test-wrapper-env.
21302 * INSTALL: Regenerated.
21304 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21305 (__fma): Do not extract and scale down low bits on after-rounding
21306 systems when result rounded to normal precision would have normal
21308 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21309 (__fmal): Do not extract and scale down low bits on after-rounding
21310 systems when result rounded to normal precision would have normal
21312 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21313 (__fmal): Do not extract and scale down low bits on after-rounding
21314 systems when result rounded to normal precision would have normal
21316 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21318 (fma_test): Add more tests.
21319 (fma_test_towardzero): Likewise.
21320 (fma_test_downward): Likewise.
21321 (fma_test_upward): Likewise.
21323 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
21325 * sysdeps/i386/tininess.h: Renamed to ...
21326 * sysdeps/x86/tininess.h: This.
21327 * sysdeps/x86_64/tininess.h: Removed.
21329 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21331 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21332 input. Use $(build-program-cmd).
21333 ($(objpfx)tst-array1-static.out): Likewise.
21334 ($(objpfx)tst-array2.out): Likewise.
21335 ($(objpfx)tst-array3.out): Likewise.
21336 ($(objpfx)tst-array4.out): Likewise.
21337 ($(objpfx)tst-array5.out): Likewise.
21338 ($(objpfx)tst-array5-static.out): Likewise.
21340 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
21342 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21345 * nss/nsswitch.h (nss_interface_function): Provide new
21346 macro for use with NSS functions.
21347 * grp/initgroups.c: Use new macro.
21348 * nss/getXXbyYY.c: Likewise.
21349 * nss/getXXbyYY_r.c: Likewise.
21350 * nss/getXXent.c: Likewise.
21351 * nss/getXXent_r.c: Likewise.
21352 * sysdeps/posix/getaddrinfo.c: Likewise.
21354 2012-10-30 Andreas Jaeger <aj@suse.de>
21356 * po/ru.po: Update Russion translation from translation project.
21358 2012-10-30 Joseph Myers <joseph@codesourcery.com>
21362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21363 result and shift together with sticky bit instead of replicating
21364 round-to-nearest rounding.
21365 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21366 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21367 * math/libm-test.inc (fma_test): Add more tests. Do not permit
21368 missing underflow exceptions.
21369 (fma_test_towardzero): Add more tests.
21370 (fma_test_downward): Likewise.
21371 (fma_test_upward): Likewise.
21374 * sysdeps/generic/tininess.h: New file.
21375 * sysdeps/i386/tininess.h: Likewise.
21376 * sysdeps/sh/tininess.h: Likewise.
21377 * sysdeps/x86_64/tininess.h: Likewise.
21378 * stdlib/tst-strtod-underflow.c: Likewise.
21379 * stdlib/tst-tininess.c: Likewise.
21380 * stdlib/strtod_l.c: Include <tininess.h>.
21381 (round_and_return): Do not set errno for exact underflow cases.
21382 Force an underflow exception when setting errno for underflow.
21383 Determine underflow based on rounding to normal precision if
21384 TININESS_AFTER_ROUNDING.
21385 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21386 ERANGE for exact underflow cases.
21387 * stdlib/Makefile (tests): Add tst-tininess and
21388 tst-strtod-underflow.
21389 ($(objpfx)tst-tininess): Use $(link-libm).
21390 ($(objpfx)tst-strtod-underflow): Likewise.
21392 2012-10-30 Andreas Jaeger <aj@suse.de>
21395 * elf/Makefile (tests): Remove conditional for have-initfini-array
21396 since this is now always required and the variable does not exist
21398 (tests-static): Likewise.
21399 (modules-names): Likewise.
21401 * po/eo.po: Add Esperanto translation from translation project.
21403 * elf/tst-array1.c (fini_array): Make writeable so that it can be
21404 merged with constructor/destructor.
21405 (init_array): Likewise.
21406 * elf/tst-array2dep.c (fini_array): Likewise.
21407 (init_array): Likewise.
21409 2012-10-29 Mike Frysinger <vapier@gentoo.org>
21411 * manual/message.texi: Delete @cartouche tags.
21413 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
21415 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21417 * sysdeps/mach/hurd/fsync.c: Likewise.
21419 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21420 [_POSIX_REALTIME_SIGNALS]: Change condition to
21421 [_POSIX_REALTIME_SIGNALS > 0].
21423 2012-10-27 Andreas Jaeger <aj@suse.de>
21425 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21426 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21427 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21428 [__WORDSIZE != 64]: Likewise.
21430 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
21432 * iconvdata/tst-table.sh: Remove ${SHELL}.
21433 * iconvdata/tst-tables.sh: Likewise.
21435 2012-10-25 David S. Miller <davem@davemloft.net>
21437 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21438 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21441 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21443 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21444 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21445 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21448 2012-10-25 Roland McGrath <roland@hack.frob.com>
21450 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21451 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21454 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21455 Jim Blandy <jimb@codesourcery.com>
21457 * scripts/cross-test-ssh.sh: New file.
21458 * manual/install.texi (Configuring and compiling): Document use of
21460 * INSTALL: Regenerated.
21462 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
21464 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21467 2012-10-25 Joseph Myers <joseph@codesourcery.com>
21469 * Makeconfig (run-program-prefix): Fix comment.
21471 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21472 Jim Blandy <jimb@codesourcery.com>
21474 * Makeconfig (test-wrapper): New variable,
21475 (test-wrapper-env): Likewise.
21476 [$(cross-compiling) = yes && $(test-wrapper) != ""]
21477 (run-built-tests): Define to yes.
21478 (run-program-prefix): Use $(test-wrapper).
21479 (built-program-cmd): Likewise.
21480 * Rules (make-test-out): Use $(test-wrapper-env) and
21481 $(host-built-program-cmd).
21482 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21483 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21485 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21486 $(test-wrapper-env) to tst-rtld-load-self.sh.
21487 ($(objpfx)order2.out): Use $(test-wrapper).
21488 ($(objpfx)tst-initorder.out): Likewise.
21489 ($(objpfx)tst-initorder2.out): Likewise.
21490 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21491 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21492 (test_wrapper_env): New variable. Use it to run ld.so.
21493 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21494 Use it to run ld.so.
21495 (test_wrapper_env): Likewise.
21496 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21497 $(test-wrapper) to run-iconv-test.sh.
21498 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21499 (ICONV): Use $test_wrapper.
21500 * posix/Makefile ($(objpfx)globtest.out): Pass
21501 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21502 globtest.sh, not $(run-program-prefix).
21503 * posix/globtest.sh (run_via_rtld_prefix): New variable.
21504 (test_wrapper): Likewise.
21505 (test_wrapper_env): Likewise. Use it to run globtest with HOME
21506 set together with run_via_rtld_prefix.
21507 (run_program_prefix): Define in terms of test_wrapper and
21508 run_via_rtld_prefix.
21510 2012-10-24 Roland McGrath <roland@hack.frob.com>
21512 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21513 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21517 * include/time.h: Remove librt_hidden_proto (clock_gettime).
21518 Declare __clock_getres, __clock_gettime, __clock_settime,
21519 __clock_nanosleep, and __clock_getcpuclockid.
21520 * rt/clock_gettime.c: Define __clock_gettime as an alias.
21521 Remove librt_hidden_def (clock_gettime).
21522 * sysdeps/unix/clock_gettime.c: Likewise.
21523 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21524 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21525 * rt/clock_getres.c: Define __clock_getres as an alias.
21526 * sysdeps/posix/clock_getres.c: Likewise.
21527 * rt/clock_settime.c: Define __clock_settime as an alias.
21528 * sysdeps/unix/clock_settime.c: Likewise.
21529 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21530 * sysdeps/unix/clock_nanosleep.c: Likewise.
21531 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21532 * rt/clock-compat.c: New file.
21533 * rt/Makefile (librt-routines): Add clock-compat and move
21534 $(clock-routines) to ...
21535 (routines): ... here, new variable.
21536 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21537 Don't add get_clockfreq here.
21538 * rt/Versions (libc: GLIBC_2.17): New version set.
21539 Add clock_* symbols here.
21540 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
21541 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21542 (GLIBC_2.17): Add clock_* symbols.
21543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21545 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21550 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21551 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21552 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21554 * NEWS: Mention the move.
21556 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21557 Use __open, __read, __close rather than their public counterparts.
21558 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21559 (__get_clockfreq_via_cpuinfo): Likewise.
21560 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21561 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21563 * config.h.in (HAVE_IFUNC): New #undef.
21564 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21566 * configure: Regenerated.
21568 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21570 * configure.in: Move READELF check to start of file.
21571 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21572 libc_cv_asm_gnu_indirect_function in the process.
21573 * configure: Regenerated.
21575 2012-10-24 Mike Frysinger <vapier@gentoo.org>
21577 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21578 send the output to /dev/null.
21579 (libc_cv_cc_with_libunwind): Likewise.
21580 (libc_cv_as_noexecstack): Likewise.
21581 * configure: Regenerate.
21583 2012-10-24 Joseph Myers <joseph@codesourcery.com>
21585 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21587 * posix/globtest.sh (TMPDIR): Do not set.
21588 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21589 (testout): Likewise.
21591 2012-10-24 Andreas Jaeger <aj@suse.de>
21593 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21594 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21595 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21596 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21597 posix_fadvise64, posix_fallocate64.
21599 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21600 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21601 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21603 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21605 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21607 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21608 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21609 <bits/fcntl-linux.h>.
21610 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21613 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21614 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21615 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21616 [__WORDSIZE != 64]: Likewise.
21618 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21620 * Makeconfig (run-built-tests): New variable.
21621 * Rules [$(cross-compiling) = yes]: Change condition to
21622 [$(run-built-tests) = no].
21623 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21624 to [$(run-built-tests) = yes].
21625 * elf/Makefile [$(cross-compiling) = no]: Likewise
21626 * grp/Makefile [$(cross-compiling) = no]: Likewise.
21627 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21628 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21629 * intl/Makefile [$(cross-compiling) = no]: Likewise.
21630 * io/Makefile [$(cross-compiling) = no]: Likewise.
21631 * libio/Makefile [$(cross-compiling) = no]: Likewise.
21632 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21633 * misc/Makefile [$(cross-compiling) = no]: Likewise.
21634 * posix/Makefile [$(cross-compiling) = no]: Likewise.
21635 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21636 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21637 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21638 * string/Makefile [$(cross-compiling) = no]: Likewise.
21640 * posix/Makefile ($(objpfx)globtest.out): Pass
21641 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21642 $(rtld-installed-name).
21643 * posix/globtest.sh (elf_objpfx): Remove variable.
21644 (rtld_installed_name): Likewise.
21645 (library_path): Likewise.
21646 (run_program_prefix): New variable. Use for running globtest
21649 2012-10-23 Jim Blandy <jimb@codesourcery.com>
21650 Joseph Myers <joseph@codesourcery.com>
21652 * Makeconfig (host-built-program-cmd): New variable.
21653 * elf/Makefile (tst-stackguard1-ARGS): Use
21654 $(host-built-program-cmd).
21655 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21656 (tst-spawn-ARGS): Likewise.
21657 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21659 2012-10-23 Joseph Myers <joseph@codesourcery.com>
21660 Jim Blandy <jimb@codesourcery.com>
21662 * Makeconfig (run-via-rtld-prefix): New variable.
21663 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21664 (built-program-cmd): Likewise.
21666 2012-10-22 Andreas Jaeger <aj@suse.de>
21668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21669 __O_RSYNC if it exists, otherwise to O_SYNC.
21671 2012-10-22 Jim Blandy <jimb@codesourcery.com>
21672 Joseph Myers <joseph@codesourcery.com>
21674 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21676 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21678 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21681 2012-10-22 Andreas Jaeger <aj@suse.de>
21683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21685 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21688 bits/fcntl-linux.h.
21690 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21691 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21693 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21695 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21698 2012-10-21 Jim Blandy <jimb@codesourcery.com>
21699 Joseph Myers <joseph@codesourcery.com>
21701 * config.make.in (NM): New variable.
21703 2012-10-21 Andreas Jaeger <aj@suse.de>
21705 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21706 definitions and declarations that are provided by
21707 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21709 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21712 * elf/Makefile (tests-static): Add tst-leaks1-static.
21713 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21714 ($(objpfx)tst-leaks1-static): New rule.
21715 ($(objpfx)tst-leaks1-static-mem): Likewise.
21716 (tst-leaks1-static-ENV): New macro.
21717 * elf/dl-open.c (dl_open_worker): Check the main application
21718 only if SHARED is defined.
21719 * elf/tst-leaks1-static.c: New file.
21721 2012-10-20 Andreas Jaeger <aj@suse.de>
21723 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21724 generic values for Linux.
21725 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21726 and declarations that are provided by <bits/fcntl-linux.h> and
21727 include <bits/fcntl-linux.h>.
21728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21729 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21731 2012-10-20 Roland McGrath <roland@hack.frob.com>
21733 * io/fcntl.h: Move include of <bits/types.h> to the top and
21734 include it unconditionally.
21736 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
21738 * wcsmbs/Makefile (tests-ifunc): New variable.
21739 (tests): Add $(tests-ifunc).
21740 * wcsmbs/test-wcschr-ifunc.c: New file.
21741 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21742 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21743 * wcsmbs/test-wcslen-ifunc.c: Likewise.
21744 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21745 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21747 * string/Makefile (tests-ifunc): New variable.
21748 (tests): Add $(tests-ifunc).
21749 * string/test-memccpy.c (TEST_NAME): New macro.
21750 * string/test-memchr.c (TEST_NAME): Likewise.
21751 * string/test-memcmp.c (TEST_NAME): Likewise.
21752 * string/test-memcpy.c (TEST_NAME): Likewise.
21753 * string/test-memmem.c (TEST_NAME): Likewise.
21754 * string/test-memmove.c (TEST_NAME): Likewise.
21755 * string/test-memset.c (TEST_NAME): Likewise.
21756 * string/test-rawmemchr.c (TEST_NAME): Likewise.
21757 * string/test-stpcpy.c (TEST_NAME): Likewise.
21758 * string/test-stpncpy.c (TEST_NAME): Likewise.
21759 * string/test-strcasecmp.c (TEST_NAME): Likewise.
21760 * string/test-strcasestr.c (TEST_NAME): Likewise.
21761 * string/test-strcat.c (TEST_NAME): Likewise.
21762 * string/test-strchr.c (TEST_NAME): Likewise.
21763 * string/test-strcmp.c(TEST_NAME): Likewise.
21764 * string/test-strcpy.c (TEST_NAME): Likewise.
21765 * string/test-strcspn.c (TEST_NAME): Likewise.
21766 * string/test-strlen.c (TEST_NAME): Likewise.
21767 * string/test-strncasecmp.c (TEST_NAME): Likewise.
21768 * string/test-strncmp.c (TEST_NAME): Likewise.
21769 * string/test-strncpy.c (TEST_NAME): Likewise.
21770 * string/test-strnlen.c (TEST_NAME): Likewise.
21771 * string/test-strpbrk.c (TEST_NAME): Likewise.
21772 * string/test-strrchr.c (TEST_NAME): Likewise.
21773 * string/test-strspn.c (TEST_NAME): Likewise.
21774 * string/test-strstr.c (TEST_NAME): Likewise.
21775 * string/test-bcopy-ifunc.c: New file.
21776 * string/test-bzero-ifunc.c: Likewise.
21777 * string/test-memccpy-ifunc.c: Likewise.
21778 * string/test-memchr-ifunc.c: Likewise.
21779 * string/test-memcmp-ifunc.c: Likewise.
21780 * string/test-memcpy-ifunc.c: Likewise.
21781 * string/test-memmem-ifunc.c: Likewise.
21782 * string/test-memmove-ifunc.c: Likewise.
21783 * string/test-mempcpy-ifunc.c: Likewise.
21784 * string/test-memset-ifunc.c: Likewise.
21785 * string/test-rawmemchr-ifunc.c: Likewise.
21786 * string/test-stpcpy-ifunc.c: Likewise.
21787 * string/test-stpncpy-ifunc.c: Likewise.
21788 * string/test-strcasecmp-ifunc.c: Likewise.
21789 * string/test-strcasestr-ifunc.c: Likewise.
21790 * string/test-strcat-ifunc.c: Likewise.
21791 * string/test-strchr-ifunc.c: Likewise.
21792 * string/test-strchrnul-ifunc.c: Likewise.
21793 * string/test-strcmp-ifunc.c: Likewise.
21794 * string/test-strcpy-ifunc.c: Likewise.
21795 * string/test-strcspn-ifunc.c: Likewise.
21796 * string/test-strlen-ifunc.c: Likewise.
21797 * string/test-strncasecmp-ifunc.c: Likewise.
21798 * string/test-strncat-ifunc.c: Likewise.
21799 * string/test-strncmp-ifunc.c: Likewise.
21800 * string/test-strncpy-ifunc.c: Likewise.
21801 * string/test-strnlen-ifunc.c: Likewise.
21802 * string/test-strpbrk-ifunc.c: Likewise.
21803 * string/test-strrchr-ifunc.c: Likewise.
21804 * string/test-strspn-ifunc.c: Likewise.
21805 * string/test-strstr-ifunc.c: Likewise.
21807 * debug/Makefile (tests-ifunc): New variable.
21808 (tests): Add $(tests-ifunc).
21809 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21810 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21811 * debug/test-stpcpy_chk-ifunc.c: New file.
21812 * debug/test-strcpy_chk-ifunc.c: Likewise.
21814 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21817 * elf/dl-load.c (open_verify): Retry read if the entire ELF
21818 header is not read in.
21820 2012-10-19 Joseph Myers <joseph@codesourcery.com>
21822 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
21823 script to $(SHELL) as $<. Pass $(common-objpfx) to script
21824 directly. Pass built executable to script as
21825 $(built-program-cmd).
21826 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
21827 $testprogram without using LD_LIBRARY_PATH and $ldso.
21829 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21830 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21831 $(rtld-installed-name).
21832 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21833 (rtld_installed_name): Likewise.
21834 (library_path): Likewise.
21835 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
21836 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21837 $(run-program-prefix) to tst-tables.sh.
21838 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
21839 it to run tst-table-from and tst-table-to.
21840 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21841 Pass it to tst-table.sh.
21842 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21843 $(run-program-prefix) to tst-gettext.sh.
21844 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21846 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21848 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
21849 to run tst-gettext.
21850 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
21851 to run tst-gettext2.
21852 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
21853 to run tst-translit.
21854 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21855 $(run-program-prefix) to tst-mtrace.sh.
21856 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
21858 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21859 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21860 $(rtld-installed-name).
21861 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21862 (rtld_installed_name): Likewise.
21863 (run_program_prefix): New variable. Use it to run wordexp-test.
21865 * Makeconfig (ARCH): Remove all definitions.
21866 (machine): Likewise.
21867 [ARCH]: Remove conditional code.
21868 [!objdir]: Give error.
21869 [!objdir] (objpfx): Remove.
21870 [!objdir] (common-objpfx): Likewise.
21871 [!objdir] (common-objdir): Likewise.
21872 * configure.in (config_makefile): Remove. Hardcode Makefile in
21873 AC_CONFIG_FILES call.
21874 * configure: Regenerated.
21877 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21879 (testout): Likewise.
21881 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21882 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21883 $(rtld-installed-name).
21884 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21885 (rtld_installed_name): Likwise.
21886 (runit): Remove function.
21887 (run_getconf): New variable, Use it for running getconf binary.
21889 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
21892 * string/test-memmem.c (check_result): New function.
21893 (do_one_test): Use it.
21894 (check1): New function.
21895 (test_main): Use it.
21897 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
21899 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21901 2012-10-18 Joseph Myers <joseph@codesourcery.com>
21903 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21904 (_G_LSEEK64): Likewise.
21905 (_G_MMAP64): Likewise.
21906 (_G_FSTAT64): Likewise.
21907 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21908 (_G_LSEEK64): Likewise.
21909 (_G_MMAP64): Likewise.
21910 (_G_FSTAT64): Likewise.
21911 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21912 unconditional. Call __mmap64 directly.
21913 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21914 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
21915 __lseek64 directly.
21916 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21917 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
21919 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21920 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
21921 __lseek64 directly.
21922 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21923 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
21924 __lseek64 directly.
21925 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21926 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
21927 __lseek64 directly.
21928 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21929 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
21930 __fxstat64 directly.
21931 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21932 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21934 (freopen64) [!_G_OPEN64]: Remove conditional code.
21935 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21937 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21938 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21940 (ftello64) [!_G_LSEEK64]: Remove conditional code.
21941 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21943 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21944 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21946 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21947 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21949 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21950 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21952 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21953 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21955 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21957 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21960 * manual/memory.texi (Malloc Tunable Parameters): Add note
21961 about free list pointers overwriting some perturb bytes.
21962 Wording suggested by Roland McGrath.
21964 2012-10-17 Joseph Myers <joseph@codesourcery.com>
21966 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21967 (lgamma_test): Likewise.
21968 (tgamma_test): Likewise.
21970 2012-10-16 Florian Weimer <fweimer@redhat.com>
21973 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21974 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21976 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
21978 * NEWS: Mention BZ #14716.
21979 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21980 when removing AVAILABLE1_USES_J macro.
21982 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
21984 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21985 (__bswap_64): __uint64_t for unsigned 64-bit int.
21987 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
21989 * include/string.h (memmem): Declare libc hidden alias.
21990 * string/memmem.c (memmem): Define libc hidden alias.
21991 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21992 __read, __close instead of open, read, close.
21994 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
21996 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21997 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21999 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22000 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22001 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22003 (__rawmemchr_sse2): Likewise.
22004 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22005 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22006 (__strchr_sse2): Likewise.
22007 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22008 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22009 (__strcasecmp_sse2): Likewise.
22010 (__strncasecmp_sse2): Likewise.
22011 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22012 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22013 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22014 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22015 (__strrchr_sse2): Likewise.
22016 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22018 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22019 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22020 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22021 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22022 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22023 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22024 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22025 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22026 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22027 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22028 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22029 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22030 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22031 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22032 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22033 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22034 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22035 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22036 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22037 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22038 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22039 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22040 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22041 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22042 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22043 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22044 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22045 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22046 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22047 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22049 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22051 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22052 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22053 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22054 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22056 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22058 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22059 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22060 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22061 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22063 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22064 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22065 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22066 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22067 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22068 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22069 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22070 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22071 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22072 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22073 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22074 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22075 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22076 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
22077 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
22078 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22079 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
22080 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
22081 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22082 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22083 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22084 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22085 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22086 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22087 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22088 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
22089 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
22090 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
22091 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
22092 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22093 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
22094 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22095 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22096 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
22097 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22098 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22099 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22100 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22101 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22102 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22103 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
22105 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
22106 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
22107 * include/ifunc-impl-list.h: New file.
22108 * misc/ifunc-impl-list.c: Likewise.
22109 * misc/Makefile (routines): Add ifunc-impl-list.
22110 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
22111 * string/test-string.h: Include <ifunc-impl-list.h>.
22112 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
22113 impl_array): New variables.
22114 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
22116 (test_init): Call __libc_ifunc_impl_list to initialize
22117 func_list if TEST_IFUNC and TEST_NAME are defined.
22119 * string/Makefile (strop-tests): Add bcopy and bzero.
22120 * string/test-bcopy.c: New file.
22121 * string/test-bzero.c: Likewise.
22122 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
22124 * string/test-memset.c: Support bzero test if TEST_BZERO is
22126 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
22128 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
22130 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
22133 2012-10-10 Joseph Myers <joseph@codesourcery.com>
22135 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
22136 * configure: Regenerated.
22138 * Makeconfig (+link-static-before-libc): Don't include
22139 $(link-static-libc).
22141 * libio/libio.h (_IO_pos_t): Remove.
22143 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22145 * NEWS: Add note about FIPS mode. Wording suggested by Roland
22148 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22150 * crypt/crypt-entry.c: Include fips-private.h.
22151 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
22152 * crypt/md5c-test.c (main): Tolerate disabled MD5.
22153 * sysdeps/unix/sysv/linux/fips-private.h: New file.
22154 * sysdeps/generic/fips-private.h: New file, dummy fallback.
22156 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
22158 * crypt/crypt-private.h: Include stdbool.h.
22159 (_ufc_setup_salt_r): Return bool.
22160 * crypt/crypt-entry.c: Include errno.h.
22161 (__crypt_r): Return NULL with EINVAL for bad salt.
22162 * crypt/crypt_util.c (bad_for_salt): New.
22163 (_ufc_setup_salt_r): Check that salt is long enough and within
22164 the specified alphabet.
22165 * crypt/badsalttest.c: New file.
22166 * crypt/Makefile (tests): Add it.
22167 ($(objpfx)badsalttest): New.
22169 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
22171 * NEWS: Add entry for BZ #14602.
22173 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22175 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
22177 * math/libm-test.inc: Update comment listing what functions and
22179 (isgreater_test): New function.
22180 (isgreaterequal_test): Likewise.
22181 (isless_test): Likewise.
22182 (islessequal_test): Likewise.
22183 (islessgreater_test): Likewise.
22184 (isunordered_test): Likewise.
22185 (main): Call the new functions.
22187 2012-10-09 Roland McGrath <roland@hack.frob.com>
22189 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22190 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22191 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22192 * sysdeps/i386/configure: Regenerated.
22193 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22194 * sysdeps/mach/configure: Regenerated.
22195 * sysdeps/mach/hurd/configure: Regenerated.
22196 * sysdeps/powerpc/configure: Regenerated.
22197 * sysdeps/powerpc/powerpc32/configure: Regenerated.
22198 * sysdeps/powerpc/powerpc64/configure: Regenerated.
22199 * sysdeps/s390/s390-32/configure: Regenerated.
22200 * sysdeps/s390/s390-64/configure: Regenerated.
22201 * sysdeps/sh/configure: Regenerated.
22202 * sysdeps/sparc/configure: Regenerated.
22203 * sysdeps/unix/sysv/linux/configure: Regenerated.
22204 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22205 * sysdeps/x86_64/configure: Regenerated.
22207 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22208 defined. Don't check if MAP is NULL.
22210 2012-10-09 Joseph Myers <joseph@codesourcery.com>
22212 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22213 (_G_stat64): Likewise.
22214 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22215 (_G_stat64): Likewise.
22216 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22217 instead of struct _G_stat64.
22218 * libio/fileops.c (mmap_remap_check): Likewise.
22219 (decide_maybe_mmap): Likewise.
22220 (_IO_new_file_seekoff): Likewise.
22221 (_IO_file_stat): Likewise.
22222 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22224 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22225 instead of struct _G_stat64.
22226 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22228 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
22231 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22233 (CHECK_EOL): New macro.
22234 (two_way_short_needle): Check beginning of haystack for EOL. Use
22236 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22237 Replace with CHECK_EOL.
22238 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22239 Replace with CHECK_EOL.
22241 2012-10-08 Joseph Myers <joseph@codesourcery.com>
22243 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22245 * math/libm-test.inc: Update comment listing what functions and
22247 (finite_test): New function.
22248 (isinf_test): Likewise.
22249 (isnan_test): Likewise.
22250 (fpclassify_test): Test subnormal input.
22251 (isfinite_test): Likewise.
22252 (isnormal_test): Likewise.
22253 (main): Call the new functions.
22255 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
22258 * Makerules (%.dynsym): Force C locale when running
22259 $(OBJDUMP) --dynamic-syms.
22261 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
22263 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22266 2012-10-06 David S. Miller <davem@davemloft.net>
22268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22269 upper 32-bits of the length value in %o2 since we use branch-on-register
22270 tests which consider the entire 64-bit register.
22272 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
22274 * string/test-strstr.c (check2): Add a test for page boundary.
22276 2012-10-05 David S. Miller <davem@davemloft.net>
22278 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22279 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22281 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22283 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22284 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22285 and bzero when HWCAP_SPARC_CRYPTO is present.
22287 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
22290 * string/test-strstr.c (check2): New function.
22291 (test_main): Call check2.
22293 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22295 * string/bug-strcasestr1.c (do_test): Moved to ...
22296 * string/test-strcasestr.c (check1): Here. New function.
22297 (do_one_test): Break out result checking code into ...
22298 (check_result): This. New function.
22299 (do_one_test): Call check_result.
22300 (test_main): Call check1.
22301 * string/bug-strchr1.c (do_test): Moved to ...
22302 * string/test-strchr.c (check1): Here. New function.
22303 (do_one_test): Break out result checking code into ...
22304 (check_result): This. New function.
22305 (do_one_test): Call check_result.
22306 (test_main): Call check1.
22307 * string/bug-strstr1.c (main): Moved to ...
22308 * string/test-strstr.c (check1): Here. New function.
22309 (do_one_test): Break out result checking code into ...
22310 (check_result): This. New function.
22311 (do_one_test): Call check_result.
22312 (test_main): Call check1.
22313 * string/bug-strcasestr1.c: Removed.
22314 * string/bug-strchr1.c: Likewise.
22315 * string/bug-strstr1.c: Likewise.
22317 * elf/Makefile (dl-routines): Add hwcaps.
22318 * elf/dl-support.c (_dl_important_hwcaps): Removed.
22319 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22320 (_dl_important_hwcaps): Moved to ...
22321 * elf/dl-hwcaps.c: Here. New file.
22322 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22325 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22326 if IS_IN_rtld isn't defined.
22328 * elf/dl-support.c (_dl_sysinfo_map): New.
22329 Include "get-dynamic-info.h" and "setup-vdso.h".
22330 (_dl_non_dynamic_init): Call setup_vdso.
22331 * elf/dynamic-link.h: Don't include <assert.h>.
22332 (elf_get_dynamic_info): Moved to ...
22333 * elf/get-dynamic-info.h: Here. New file.
22334 * elf/dynamic-link.h: Include "get-dynamic-info.h".
22335 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22336 * elf/setup-vdso.h: Here. New file.
22337 * elf/rtld.c: Include "setup-vdso.h".
22338 (dl_main): Call setup_vdso.
22340 2012-10-05 Joseph Myers <joseph@codesourcery.com>
22342 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22343 creal in comment listing functions tested. List finite, isinf,
22344 isnan, isless, islessequal, isgreater, isgreaterequal,
22345 islessgreater, isunordered, lgamma_r and pow10 as functions and
22346 macros not tested. Mention which functions not tested are aliases
22347 for other functions. Fix typo. Note that signs of NaNs are not
22350 * scripts/config.guess: Update from config.git.
22351 * scripts/config.sub: Likewise.
22353 2012-10-04 Roland McGrath <roland@hack.frob.com>
22355 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22356 * misc/madvise.c (madvise): Renamed to __madvise.
22357 Make madvise a weak alias.
22358 * include/sys/mman.h: Declare __madvise.
22359 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22360 * sysdeps/unix/syscalls.list
22361 (madvise): Make __madvise the strong name, and madvise a weak alias.
22362 * sysdeps/unix/sysv/linux/syscalls.list
22363 (madvise, mmap): Remove redundant entries.
22364 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22365 * malloc/malloc.c (mtrim): Likewise.
22366 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22368 2012-10-03 Roland McGrath <roland@hack.frob.com>
22370 * sysdeps/mach/hurd/dl-cache.c: File removed.
22371 * config.h.in (USE_LDCONFIG): New #undef.
22372 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22373 * configure: Regenerated.
22374 * elf/Makefile (dl-routines): Add dl-cache only under
22375 [$(use-ldconfig) = yes].
22376 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22377 cache on [USE_LDCONFIG].
22378 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22380 * elf/rtld.c (dl_main): Likewise.
22382 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
22384 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22385 _SC_LEVEL4_CACHE_LINESIZE.
22387 2012-10-03 Roland McGrath <roland@hack.frob.com>
22389 * sysdeps/unix/bsd/confstr.h: File removed.
22391 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
22393 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22396 2012-10-02 Roland McGrath <roland@hack.frob.com>
22398 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22399 Make 'mapoff' field ElfW(Off) rather than off_t.
22401 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
22403 * nscd/Makefile: Remove nscd-cflags and all its users.
22404 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22405 (CFLAGS-nonlib): Add compiler flags for nscd modules.
22408 * malloc.c (malloc_printerr): Clarify error message.
22410 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
22413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22414 Set bit_FMA_Usable if FMA is supported.
22415 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22417 (bit_FMA4_Usable): Updated.
22418 (index_FMA_Usable): New macro.
22419 (CPUID_FMA): Likewise
22420 (HAS_FMA): Defined with bit_FMA_Usable.
22422 2012-10-01 Roland McGrath <roland@hack.frob.com>
22424 * bits/types.h (__swblk_t): Type removed.
22425 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22426 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22428 (__SWBLK_T_TYPE): Likewise.
22429 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22430 (__SWBLK_T_TYPE): Likewise.
22431 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22432 (__SWBLK_T_TYPE): Likewise.
22433 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22434 (__SWBLK_T_TYPE): Likewise.
22436 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
22437 Honza Horak <hhorak@redhat.com>
22439 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22440 (xdr_mapname): Use YPMAXMAP as maxsize.
22441 (xdr_peername): Use YPMAXPEER as maxsize.
22442 (xdr_keydat): Use YPAXRECORD as maxsize.
22443 (xdr_valdat): Use YPMAXRECORD as maxsize.
22445 2012-10-01 Roland McGrath <roland@hack.frob.com>
22447 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22449 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22450 * csu/init-first.c: ... here.
22451 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22452 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22453 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22454 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22455 * sysdeps/i386/init-first.c: File removed.
22456 * sysdeps/sh/init-first.c: File removed.
22458 2012-10-01 Joseph Myers <joseph@codesourcery.com>
22461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22462 if x * y might underflow to zero and z is zero.
22463 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22465 * math/libm-test.inc (min_subnorm_value): New variable.
22466 (fma_test): Add more tests.
22467 (fma_test_towardzero): Likewise.
22468 (fma_test_downward): Likewise
22469 (fma_test_upward): Likewise.
22470 (initialize): Set min_subnorm_value.
22472 2012-09-29 Joseph Myers <joseph@codesourcery.com>
22475 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22477 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22478 mode for addition resulting in exact zero.
22479 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22482 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22483 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22484 * math/libm-test.inc (fma_test): Add more tests.
22485 (fma_test_towardzero): New function.
22486 (fma_test_downward): Likewise.
22487 (fma_test_upward): Likewise.
22488 (main): Call the new functions.
22490 2012-09-28 David S. Miller <davem@davemloft.net>
22492 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22494 2012-09-28 Roland McGrath <roland@hack.frob.com>
22496 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22497 instead of SIGALRM.
22499 * sysdeps/gnu/_G_config.h: Moved to ...
22500 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22501 * sysdeps/mach/hurd/_G_config.h: Moved to ...
22502 * sysdeps/generic/_G_config.h: ... here.
22504 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
22506 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22508 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22509 Conditionalize target on [libnss_test1.so-version].
22511 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22513 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22514 (elfobjdir): Move out of conditionals.
22516 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22517 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22518 (__nss_lookup_function): Conditionalize label remove_from_tree on
22519 [!DO_STATIC_NSS || SHARED], matching its only use.
22521 2012-09-28 David S. Miller <davem@davemloft.net>
22523 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22524 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22526 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22528 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22529 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22530 when HWCAP_SPARC_CRYPTO is present.
22532 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22534 * io/tst-mknodat.c: Create a FIFO instead of a socket.
22536 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
22539 * stdio-common/vfprintf.c (process_string_arg): Revert
22542 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
22544 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22546 * stdio-common/tst-sprintf.c: Include <locale.h>
22547 (main): Test sprintf's handling of incomplete multibyte
22550 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
22552 * elf/dl-runtime.c (VERSYMIDX): Removed.
22553 * elf/dl-version.c (VERSYMIDX): Likewise.
22554 * elf/do-rel.h (VERSYMIDX): Likewise.
22555 (VALIDX): Likewise.
22556 * elf/dynamic-link.h (VERSYMIDX): Likewise.
22557 * elf/rtld.c (VALIDX): Likewise.
22558 (ADDRIDX): Likewise.
22559 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22560 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22561 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22562 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22563 (VALIDX): Likewise.
22564 (ADDRIDX): Likewise.
22566 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22568 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22570 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
22573 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22575 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22576 addresses are in the same scope as 192.0.2/24.
22577 * posix/gai.conf: Document new scope table defaults.
22579 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22582 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22583 for ftell. Compute offsets from write pointers instead.
22584 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22586 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22589 * libio/Makefile (tests): New test case tst-fseek.
22590 * libio/tst-fseek.c: New test case to verify that fseek/ftell
22591 combination works in wide mode.
22592 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22593 state when the external buffer state changes.
22595 2012-09-27 David S. Miller <davem@davemloft.net>
22598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22599 pass reloc->r_addend in as the 'high' argument to
22600 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22604 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
22606 * rt/tst-aio2.c: Include <pthread.h>.
22607 * rt/tst-aio3.c: Likewise.
22609 2012-09-27 Steve Ellcey <sellcey@mips.com>
22611 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22613 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
22615 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22616 contents on [SHARED].
22618 2012-09-26 Marek Polacek <polacek@redhat.com>
22622 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22623 for C++ and GCC <4.3 as well as for non GCC compilers.
22625 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
22627 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22629 2012-09-25 Roland McGrath <roland@hack.frob.com>
22631 * Makefile.in (all, install): Declare with .PHONY.
22632 Reported by Michael Hope <michael.hope@linaro.org>.
22634 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22636 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22637 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22639 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22641 (sydep_routines): Add the new and the internal functions.
22642 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22643 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22645 (GLIBC_2.17): Add the new function.
22646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22647 (GLIBC_2.17): Likewise.
22648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22649 (GLIBC_2.17): Likewise.
22650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22651 (GLIBC_2.17): Likewise.
22652 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22654 2012-09-25 Alan Modra <amodra@gmail.com>
22656 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22657 Add release barrier before setting once_control to say
22658 initialisation is done. Add hints on lwarx. Use macro in
22660 (clear_once_control): Add release barrier.
22662 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22665 * math/s_clog.c (__clog): Handle more values close to |z| = 1
22667 * math/s_clog10.c (__clog10): Likewise.
22668 * math/s_clog10f.c (__clog10f): Likewise.
22669 * math/s_clog10l.c (__clog10l): Likewise.
22670 * math/s_clogf.c (__clogf): Likewise.
22671 * math/s_clogl.c (__clogl): Likewise.
22672 * math/Makefile (libm-calls): Add x2y2m1.
22673 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22674 (__x2y2m1): Likewise.
22675 (__x2y2m1l): Likewise.
22676 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22677 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22680 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22681 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22682 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22683 * sysdeps/i386/fpu/libm-test-ulps: Update.
22684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22687 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22688 int as type of variable DEPTH.
22689 (glob): Use size_t instead of int as type of variables NEWCOUNT
22692 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22694 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22695 Add s_sincosf-sse2.
22696 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22697 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22698 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22699 macros for using routine as __sincosf_ia32.
22700 Use macro for function declaration and weak_alias.
22701 * sysdeps/i386/fpu/libm-test-ulps: Update.
22703 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22706 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22707 subnormal argument.
22708 * math/s_cexpf.c (__cexpf): Likewise.
22709 * math/s_csinf.c (__csinf): Likewise.
22710 * math/s_csinhf.c (__csinhf): Likewise.
22711 * math/s_ctanf.c (__ctanf): Likewise.
22712 * math/s_ctanhf.c (__ctanhf): Likewise.
22713 * math/s_ccosh.c (__ccoshf): Likewise.
22714 * math/s_cexp.c (__cexpl): Likewise.
22715 * math/s_csin.c (__csin): Likewise.
22716 * math/s_csinh.c (__csinh): Likewise.
22717 * math/s_ctan.c (__ctan): Likewise.
22718 * math/s_ctanh.c (ctanh): Likewise.
22719 * math/s_ccoshl.c (__ccoshl): Likewise.
22720 * math/s_cexpl.c (__cexpl): Likewise.
22721 * math/s_csinl.c (__csinl): Likewise.
22722 * math/s_csinhl.c (__csinhl): Likewise.
22723 * math/s_ctanl.c (__ctanl): Likewise.
22724 * math/s_ctanhl.c (__ctanhl): Likewise.
22726 2012-09-25 Joseph Myers <joseph@codesourcery.com>
22728 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22729 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22730 (_IO_off_t): Define to __off_t, not _G_off_t.
22731 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22732 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22733 (_IO_wint_t): Define to wint_t, not _G_wint_t.
22734 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22735 type of __dummy and __dummy2 fields.
22736 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22737 (_G_ssize_t): Likewise.
22738 (_G_off_t): Likewise.
22739 (_G_pid_t): Likewise.
22740 (_G_uid_t): Likewise.
22741 (_G_wchar_t): Likewise.
22742 (_G_wint_t): Likewise.
22743 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22744 (_G_ssize_t): Likewise.
22745 (_G_off_t): Likewise.
22746 (_G_pid_t): Likewise.
22747 (_G_uid_t): Likewise.
22748 (_G_wchar_t): Likewise.
22749 (_G_wint_t): Likewise.
22750 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22751 (_G_ssize_t): Likewise.
22752 (_G_off_t): Likewise.
22753 (_G_pid_t): Likewise.
22754 (_G_uid_t): Likewise.
22755 (_G_wchar_t): Likewise.
22756 (_G_wint_t): Likewise.
22758 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22760 * malloc/arena.c: Include malloc-sysdep.h.
22761 (shrink_heap): Use check_may_shrink_heap to decide if madvise
22762 is sufficient to shrink the heap or an unmap is needed.
22763 * sysdeps/generic/malloc-sysdep.h: New file. Define
22764 new function check_may_shrink_heap.
22765 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
22766 new function check_may_shrink_heap.
22768 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22770 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22773 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
22775 * catgets/test-gencat.sh: Add "set -e".
22776 * elf/tst-pathopt.sh: Likewise.
22777 * grp/tst_fgetgrent.sh: Likewise.
22778 * iconvdata/run-iconv-test.sh: Likewise.
22779 * intl/tst-gettext.sh: Likewise.
22780 * intl/tst-gettext2.sh: Likewise.
22781 * intl/tst-gettext4.sh: Likewise.
22782 * intl/tst-gettext6.sh: Likewise.
22783 * intl/tst-translit.sh: Likewise.
22784 * io/ftwtest-sh: Likewise.
22785 * libio/test-freopen.sh: Likewise.
22786 * malloc/tst-mtrace.sh: Likewise.
22787 * posix/globtest.sh: Likewise.
22788 * posix/tst-getconf.sh: Likewise.
22789 * posix/wordexp-tst.sh: Likewise.
22790 * stdio-common/tst-printf.sh: Likewise.
22791 * stdio-common/tst-unbputc.sh: Likewise.
22792 * stdlib/tst-fmtmsg.sh: Likewise.
22793 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22794 * catgets/Makefile: Do not specify -e option when running
22795 testsuite shell scripts.
22796 * elf/Makefile: Likewise.
22797 * grp/Makefile: Likewise.
22798 * iconvdata/Makefile: Likewise.
22799 * intl/Makefile: Likewise.
22800 * io/Makefile: Likewise.
22801 * libio/Makefile: Likewise.
22802 * malloc/Makefile: Likewise.
22803 * posix/Makefile: Likewise.
22804 * stdio-common/Makefile: Likewise.
22805 * stdlib/Makefile: Likewise.
22806 * sysdeps/x86_64/Makefile: Likewise.
22808 * io/ftwtest-sh: Add copyright header.
22809 * posix/globtest.sh: Likewise.
22810 * posix/tst-getconf.sh: Likewise.
22811 * posix/wordexp-tst.sh: Likewise.
22812 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22814 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
22817 * Makeconfig (+link): Defined as $(+link-static) if
22818 $(build-shared) isn't yes.
22819 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22821 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22823 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22826 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22827 new chunk size with MALLOC_ALIGN_MASK.
22829 2012-09-24 Joseph Myers <joseph@codesourcery.com>
22832 * stdio-common/printf_fphex.c: Include <stdbool.h> and
22834 (__printf_fphex): Determine rounding using get_rounding_mode and
22836 * stdio-common/tst-printf-round.c (struct hex_test): New
22838 (hex_tests): New variable.
22839 (test_hex_in_one_mode): New function.
22840 (do_test): Also run tests for hex float output.
22842 2012-09-21 Joseph Myers <joseph@codesourcery.com>
22844 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22845 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22846 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22847 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22848 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22849 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22850 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22851 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22853 2012-09-20 Joseph Myers <joseph@codesourcery.com>
22855 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22856 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22857 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22858 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22860 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
22863 * elf/rtld.c (dl_main): Limit the check for self loading to normal
22865 * elf/tst-rtld-load-self.sh: New test.
22866 * elf/Makefile: Run it.
22868 2012-09-18 Joseph Myers <joseph@codesourcery.com>
22870 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22871 (tst-writev-ENV): Remove.
22872 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22874 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
22876 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22878 2012-09-17 Joseph Myers <joseph@codesourcery.com>
22880 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22882 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22884 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22885 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22886 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22889 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
22892 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22893 * config.make.in (have-cpp-asm-debuginfo): Removed.
22894 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22895 * configure: Regenerated.
22897 2012-09-14 Joseph Myers <joseph@codesourcery.com>
22900 * stdio-common/printf_fp.c: Include <stdbool.h> and
22902 (___printf_fp): Determine rounding using get_rounding_mode and
22904 * stdio-common/tst-printf-round.c: New file.
22905 * stdio-common/Makefile (tests): Add tst-printf-round.
22906 (link-libm): New variable.
22907 ($(objpfx)tst-printf-round): Depend in $(link-libm).
22909 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
22912 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22913 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22915 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22918 2012-09-13 Joseph Myers <joseph@codesourcery.com>
22920 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22921 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22922 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22923 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22925 2012-09-12 Joseph Myers <joseph@codesourcery.com>
22928 * include/rounding-mode.h: New file.
22929 * sysdeps/generic/get-rounding-mode.h: Likewise.
22930 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22931 * stdlib/strtod_l.c: Include <rounding-mode.h>.
22932 (MAX_VALUE): New macro.
22933 (MIN_VALUE): Likewise.
22934 (overflow_value): New function.
22935 (underflow_value): Likewise.
22936 (round_and_return): Use overflow_value and underflow_value to
22937 determine return values in overflow and underflow cases. Use
22938 round_away to determine rounding depending on rounding mode.
22939 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22940 determine return values in overflow and underflow cases.
22941 * stdlib/tst-strtod-round.c: Include <fenv.h>.
22942 (struct test_results): New structure.
22943 (struct test): Use struct test_results to store expected results
22944 for all rounding modes.
22945 (TEST): Include expected results for all rounding modes.
22946 (test_in_one_mode): New function.
22947 (do_test): Use test_in_one_mode to compute and check results.
22948 Check results for all rounding modes.
22949 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22952 2012-12-09 Allan McRae <allan@archlinux.org>
22954 * sysdeps/i386/fpu/libm-test-ulps: Update
22956 2012-09-11 Joseph Myers <joseph@codesourcery.com>
22958 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22959 (_G_int32_t): Likewise.
22960 (_G_uint16_t): Likewise.
22961 (_G_uint32_t): Likewise.
22962 (_G_HAVE_BOOL): Likewise.
22963 (_G_HAVE_ATEXIT): Likewise.
22964 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22965 (_G_HAVE_IO_FILE_OPEN): Likewise.
22966 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22967 (_G_int32_t): Likewise.
22968 (_G_uint16_t): Likewise.
22969 (_G_uint32_t): Likewise.
22970 (_G_HAVE_BOOL): Likewise.
22971 (_G_HAVE_ATEXIT): Likewise.
22972 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22973 (_G_HAVE_IO_FILE_OPEN): Likewise.
22974 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22975 (_G_int32_t): Likewise.
22976 (_G_uint16_t): Likewise.
22977 (_G_uint32_t): Likewise.
22978 (_G_HAVE_BOOL): Likewise.
22979 (_G_HAVE_ATEXIT): Likewise.
22980 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22981 (_G_HAVE_IO_FILE_OPEN): Likewise.
22983 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
22985 * csu/libc-tls.c: Update copyright years.
22987 2012-09-10 Joseph Myers <joseph@codesourcery.com>
22989 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22990 [!_G_USING_THUNKS]: Remove conditional code.
22991 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22992 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22994 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22995 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22996 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22997 (_G_VTABLE_LABEL_PREFIX): Likewise.
22998 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22999 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23000 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23001 (_G_VTABLE_LABEL_PREFIX): Likewise.
23002 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23003 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23004 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23005 (_G_VTABLE_LABEL_PREFIX): Likewise.
23006 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23008 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23010 * libio/Makefile: Include ../Makeconfig before tests.
23011 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23012 only if $(build-shared) is yes.
23014 * iconv/gconv_db.c: Update copyright years.
23016 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23018 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23019 unwind info if defined PIC. Fix special cases description.
23020 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23022 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23024 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23026 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23028 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23030 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23033 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23034 (LDLIBS-tst-chk4): This.
23035 (LDFLAGS-tst-chk5): Renamed to ...
23036 (LDLIBS-tst-chk5): This.
23037 (LDFLAGS-tst-chk6): Renamed to ...
23038 (LDLIBS-tst-chk6): This.
23039 (LDFLAGS-tst-lfschk4): Renamed to ...
23040 (LDLIBS-tst-lfschk4): This.
23041 (LDFLAGS-tst-lfschk5): Renamed to ...
23042 (LDLIBS-tst-lfschk5): This.
23043 (LDFLAGS-tst-lfschk6): Renamed to ...
23044 (LDLIBS-tst-lfschk6): This.
23046 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23047 on $(common-objpfx)soversions.mk.
23049 2012-09-07 Joseph Myers <joseph@codesourcery.com>
23052 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23055 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23057 * malloc/arena.c (arena_get_retry): New function that gets
23058 another arena for the caller to try its request on.
23059 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23060 current arena cannot fulfill the request.
23061 (__libc_memalign): Likewise.
23062 (__libc_memalign): Likewise.
23063 (__libc_pvalloc): Likewise.
23064 (__libc_calloc): Likewise.
23066 2012-09-05 John Tobey <john.tobey@gmail.com>
23069 * manual/arith.texi (Operations on Complex): Fix description
23070 of carg branch cut.
23072 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23075 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
23079 * manual/memory.texi (Memory): Make order of menu items match
23082 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23084 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
23085 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
23086 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
23088 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23090 * csu/libc-tls.c (static_dtv): Renamed to ...
23091 (_dl_static_dtv): This. Make it global.
23092 (_dl_initial_dtv): Removed.
23093 (__libc_setup_tls): Updated.
23094 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
23095 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
23098 2012-09-06 Petr Machata <pmachata@redhat.com>
23100 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
23101 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
23102 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
23103 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
23105 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23108 * csu/libc-tls.c (_dl_initial_dtv): New variable.
23109 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
23112 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
23115 * Makeconfig (link-static-before-libc): Replace $(+prector)
23117 (link-static-after-libc): Replace $(+postctor) with
23119 (link-bounded): Replace $(+prector)/$(+postctor) with
23120 $(+prectorT)/$(+postctorT).
23121 (+prectorT): New macro.
23122 (+postctorT): Likewise.
23124 2012-09-06 Joseph Myers <joseph@codesourcery.com>
23126 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
23127 (round_str): Handle values above the maximum for IBM long double
23129 * stdlib/tst-strtod-round.c (tests): Regenerated.
23131 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23133 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
23135 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
23136 zarch_nohighgprs around the zarch optimized routines.
23137 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
23138 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
23139 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
23142 2012-09-05 David S. Miller <davem@davemloft.net>
23144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23146 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
23147 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
23148 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
23149 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23152 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23154 * malloc/arena.c: Fold copyright years.
23155 * malloc/mcheck.c, malloc/memusage.c: Likewise.
23157 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23159 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
23161 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23163 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
23165 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23167 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
23168 change internal state upon failure.
23170 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
23172 * malloc/mcheck.c (mcheck_check_all): Fix typo.
23173 * malloc/memusage.c (mmap): Likewise.
23174 (mmap64, mremap): Likewise. Adjust name in comment.
23176 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23178 * libio/fileops.c: Fix typos in comments.
23179 * libio/oldfileops.c: Likewise.
23180 * libio/wfileops.c: Likewise.
23182 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23185 * malloc/Makefile (tests): Add tst-malloc-usable test case.
23186 (tst-malloc-usable-ENV): Set environment for test case.
23187 * malloc/hooks.c (malloc_check_get_size): New function to get
23189 * malloc/malloc.c (musable): Use malloc_check_get_size.
23190 * malloc/tst-malloc-usable.c: New test case.
23192 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23194 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23196 2012-09-05 Allan McRae <allan@archlinux.org>
23199 * configure.in (CXX_SYSINCLUDES): Use compiler output to
23200 determine header location.
23201 * configure: Regenerated.
23203 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
23205 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23207 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23208 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23210 (test): Regenerate.
23212 2012-09-04 David S. Miller <davem@davemloft.net>
23214 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23215 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23216 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23218 2012-09-04 Florian Weimer <fweimer@redhat.com>
23220 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23223 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23225 2012-09-04 Joseph Myers <joseph@codesourcery.com>
23228 * libio/iogetdelim.c: Include <limits.h>.
23229 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23230 + len + 1 would overflow.
23232 2012-09-03 Andreas Jaeger <aj@suse.de>
23234 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23235 * sysdeps/i386/fpu/libm-test-ulps: Update.
23237 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23239 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23240 Add s_sinf-sse2, s_conf-sse2.
23242 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23243 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23244 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23245 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23247 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23248 for using routine as __sinf_ia32.
23249 Use macro for function declaration and weak_alias.
23250 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23251 for using routine as __cosf_ia32.
23252 Use macro for function declaration and weak_alias.
23254 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23255 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23257 * sysdeps/x86_64/fpu/s_sinf.S: New file.
23258 * sysdeps/x86_64/fpu/s_cosf.S: New file.
23259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23261 * math/libm-test.inc (cos_test): Add more test cases.
23262 (sin_test): Likewise.
23263 (sincos_test): Likewise.
23265 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23267 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23268 (IFUNC_RESOLVE): Make pointers to the specialized implementations
23270 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23272 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
23275 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23276 first element of the GOT.
23277 (elf_machine_load_address): Return the difference between
23278 the runtime address of _DYNAMIC and elf_machine_dynamic ().
23280 2012-09-01 Allan McRae <allan@archlinux.org>
23283 * configure.in (AWK): Require gawk version 3.0 or later.
23284 * configure: Regenerated.
23286 2012-09-01 Joseph Myers <joseph@codesourcery.com>
23288 * sysdeps/unix/sysv/linux/kernel-features.h
23289 (__ASSUME_POSIX_CPU_TIMERS): Remove.
23290 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23291 [__NR_clock_getres]: Make code unconditional.
23292 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23293 (clock_getcpuclockid): Remove code left unreachable by removal of
23295 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23296 code unconditional.
23297 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23298 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23299 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23300 Make code unconditional.
23301 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23302 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23303 * sysdeps/unix/sysv/linux/clock_settime.c
23304 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23306 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23307 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23309 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
23312 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23313 scripts/test-installation.pl.
23315 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23316 and $ld_so_version if it is set.
23318 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
23321 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23322 failure if reading from procfs failed.
23323 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23325 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23327 * sysdeps/unix/sysv/linux/kernel-features.h
23328 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23329 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23330 Remove conditional code.
23331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23332 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23333 Remove conditional code.
23334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23335 * sysdeps/unix/sysv/linux/i386/fxstat.c
23336 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23338 * sysdeps/unix/sysv/linux/i386/fxstatat.c
23339 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23341 * sysdeps/unix/sysv/linux/i386/lxstat.c
23342 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23343 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23344 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23345 Remove conditional code.
23346 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23347 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23348 Remove conditional code.
23349 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23350 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23351 <kernel-features.h>.
23352 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23354 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23355 Remove conditional code.
23356 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23357 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23358 Remove conditional.
23360 2012-08-27 Mike Frysinger <vapier@gentoo.org>
23363 * NEWS: Add fixed bug number.
23365 2012-08-27 Joseph Myers <joseph@codesourcery.com>
23368 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23369 underflowing exponent in case of negative sign.
23370 * stdlib/tst-strtod-round-data: Add more tests.
23371 * stdlib/tst-strtod-round.c (tests): Regenerated.
23374 * stdlib/strtod_l.c (NDIG): Remove.
23375 (HEXNDIG): Likewise.
23376 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23377 smallest representable value.
23378 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23379 lie within an exact representation of 1/2 ulp of the result.
23380 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23382 (TENS_P9_IDX): Define unconditionally.
23383 (TENS_P9_SIZE): Likewise.
23384 (TENS_P10_IDX): Likewise.
23385 (TENS_P10_SIZE): Likewise.
23386 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23387 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23388 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23389 entries for 10^2^13 and 10^2^14.
23390 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23391 (TENS_P13_IDX): Define.
23392 (TENS_P13_SIZE): Likewise.
23393 (TENS_P14_IDX): Likewise.
23394 (TENS_P14_SIZE): Likewise.
23395 (_fpioconst_pow10): Change array size to
23396 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
23398 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23399 1024]: Add entries for 10^2^13 and 10^2^14.
23400 [LAST_POW10 > _LAST_POW10]: Remove #error.
23401 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23402 (_fpioconst_pow10): Change array size to
23403 FPIOCONST_POW10_ARRAY_SIZE.
23404 * stdlib/gen-fpioconst.c: New file.
23405 * stdlib/gen-tst-strtod-round.c: Likewise.
23406 * stdlib/tst-strtod-round-data: Likewise.
23407 * stdlib/tst-strtod-round.c: Likewise.
23408 * stdlib/Makefile (tests): Add tst-strtod-round.
23411 * stdlib/strtod_l.c: Include <stdint.h>.
23412 (NDEBUG): Do not define.
23413 (round_and_return): Change EXPONENT parameter to type intmax_t.
23414 Rearrange calculations to avoid internal overflow possibilities.
23415 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23416 Rearrange calculations to avoid internal overflow possibilities.
23417 Assert that number fits inside MPNSIZE limbs.
23418 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23419 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
23420 calculations and add assertions to avoid internal overflow
23421 possibilities. Add casts to avoid signed/unsigned operations.
23422 * stdlib/tst-strtod-overflow.c: New file.
23423 * stdlib/Makefile (tests): Add tst-strtod-overflow.
23425 2012-08-25 Marek Polacek <polacek@redhat.com>
23427 * time/time.h: Fix some typos in comments.
23429 2012-08-23 Roland McGrath <roland@hack.frob.com>
23431 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23432 * posix/tst-rfc3484-2.c: Likewise.
23433 * posix/tst-rfc3484-3.c: Likewise.
23435 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
23437 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23438 (EF_ARM_ABI_FLOAT_HARD): Likewise.
23440 2012-08-23 Joseph Myers <joseph@codesourcery.com>
23442 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23443 #include of fxstatat64.c.
23445 2012-08-22 Roland McGrath <roland@hack.frob.com>
23447 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23448 * shadow/getspent_r.c: Likewise.
23449 * shadow/getspnam.c: Likewise.
23450 * shadow/getspnam_r.c: Likewise.
23451 * gshadow/getsgent.c: Likewise.
23452 * gshadow/getsgent_r.c: Likewise.
23453 * gshadow/getsgnam.c: Likewise.
23454 * gshadow/getsgnam_r.c: Likewise.
23455 * inet/getnetbyad.c: Likewise.
23456 * inet/getnetbyad_r.c: Likewise.
23457 * inet/getnetbynm.c: Likewise.
23458 * inet/getnetbynm_r.c: Likewise.
23459 * inet/getnetent.c: Likewise.
23460 * inet/getnetent_r.c: Likewise.
23461 * inet/getproto.c: Likewise.
23462 * inet/getproto_r.c: Likewise.
23463 * inet/getprtent.c: Likewise.
23464 * inet/getprtent_r.c: Likewise.
23465 * inet/getprtname.c: Likewise.
23466 * inet/getprtname_r.c: Likewise.
23467 * inet/getrpcbyname.c: Likewise.
23468 * inet/getrpcbyname_r.c: Likewise.
23469 * inet/getrpcbynumber.c: Likewise.
23470 * inet/getrpcbynumber_r.c: Likewise.
23471 * inet/getrpcent.c: Likewise.
23472 * inet/getrpcent_r.c: Likewise.
23473 * inet/getaliasent.c: Likewise.
23474 * inet/getaliasent_r.c: Likewise.
23475 * inet/getaliasname.c: Likewise.
23476 * inet/getaliasname_r.c: Likewise.
23477 * nscd/getgrgid_r.c: Likewise.
23478 * nscd/getgrnam_r.c: Likewise.
23479 * nscd/gethstbyad_r.c: Likewise.
23480 * nscd/gethstbynm3_r.c: Likewise.
23481 * nscd/getpwnam_r.c: Likewise.
23482 * nscd/getpwuid_r.c: Likewise.
23483 * nscd/getsrvbynm_r.c: Likewise.
23484 * nscd/getsrvbypt_r.c: Likewise.
23485 * nscd/gai.c: Likewise.
23487 * configure.in (build_nscd): New substituted variable, set
23488 by --disable-build-nscd and defaults to $use_nscd.
23489 * configure: Regenerated.
23490 * config.make.in (build-nscd): New substituted variable.
23491 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23492 Change conditional to require [$(build-nscd) = yes] as well.
23493 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23496 * configure.in (use_nscd): New substituted variable, set by
23497 --disable-nscd. If enabled, define USE_NSCD.
23498 * configure: Regenerated.
23499 * config.h.in: Add USE_NSCD.
23500 * config.make.in (use-nscd): New substituted variable.
23501 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23502 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23503 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23504 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23505 (CFLAGS-getgrnam_r.c): Likewise.
23506 (CFLAGS-initgroups.c): Likewise.
23507 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23508 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23510 * inet/getnetgrent_r.c
23511 (nscd_setnetgrent): New function, broken out of ...
23512 (setnetgrent): ... here. Call it.
23513 (innetgr): Conditionalize nscd bits on [USE_NSCD].
23514 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23515 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23516 * nscd/Makefile (routines, aux): Move definitions after include of
23517 Makeconfig. Conditionalize on [$(use-nscd) != no].
23518 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23519 Conditionalize on [USE_NSCD].
23520 (is_nscd, nscd_init_cb): Likewise.
23521 (nss_load_library): Conditionalize init callback on [USE_NSCD].
23522 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23523 * nss/nss_db/db-init.c: Likewise.
23524 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23526 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23527 (make_request): Use it.
23528 (cache_valid_p): New function.
23529 (__check_pf): Use it.
23530 * NEWS: Add item for --disable-nscd.
23532 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
23534 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23535 to support sed >= 4.2.1-20-ga9bf076.
23536 * configure: Regenerated.
23538 2012-08-22 Roland McGrath <roland@hack.frob.com>
23540 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23541 Conditionalize whole body on [IREL].
23543 2012-08-22 Jeff Law <law@redhat.com>
23546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23547 if the family is PF_UNSPEC.
23549 2012-08-22 Mike Frysinger <vapier@gentoo.org>
23551 * Makerules (lib-version): Rename from V.
23552 (install-lib-nosubdir): Change V to lib-version.
23554 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
23557 * powerpc32/power6/wcschr.c: New file.
23558 * powerpc32/power6/wcscpy.c: New file.
23559 * powerpc32/power6/wcsrchr.c: New file.
23560 * powerpc64/power6/wcschr.c: New file.
23561 * powerpc64/power6/wcscpy.c: New file.
23562 * powerpc64/power6/wcsrchr.c: New file.
23564 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23566 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23567 (two_way_short_needle): Use it.
23568 * string/strstr.c (AVAILABLE1_USES_J): Define.
23569 * string/strcasestr.c: Likewise.
23571 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23573 * string/strcasestr.c (TOLOWER): Make side-effect safe.
23576 * NEWS: Add an entry.
23577 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23578 define their defaults.
23579 (two_way_short_needle): Detect end-of-string on-the-fly.
23580 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23581 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23582 * string/bug-strcasestr1.c: New test.
23583 * string/Makefile: Run it.
23585 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
23588 * string/str-two-way.h (two_way_short_needle): Optimize matching of
23589 the first character.
23591 2012-08-21 Roland McGrath <roland@hack.frob.com>
23593 * csu/elf-init.c (__libc_csu_irel): Function removed.
23594 * csu/libc-start.c (apply_irel): New function.
23595 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23597 2012-08-21 Joseph Myers <joseph@codesourcery.com>
23599 * sysdeps/unix/sysv/linux/kernel-features.h
23600 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23601 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23602 <kernel-features.h>.
23603 [__NR_fadvise64_64]: Make code unconditional.
23604 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23605 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23606 !__NR_fadvise64_64)]: Likewise.
23607 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23608 !__NR_fadvise64_64))]: Likewise.
23609 [__NR_fadvise64]: Make code unconditional.
23610 [!__NR_fadvise64]: Remove conditional code.
23611 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23612 <kernel-features.h>.
23613 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23615 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23618 not include <kernel-features.h>.
23619 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23621 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23623 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23624 include <kernel-features.h>.
23625 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23627 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23630 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
23632 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23633 slight instruction rearrangements per scrollpipe analysis.
23634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23636 2012-08-20 Roland McGrath <roland@hack.frob.com>
23638 * manual/syslog.texi (syslog; vsyslog, closelog):
23639 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23640 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23642 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23643 DSOCAPS to match condition on defining it.
23645 2012-08-20 Joseph Myers <joseph@codesourcery.com>
23647 * sysdeps/unix/sysv/linux/kernel-features.h
23648 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23650 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23651 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23653 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23654 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23656 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23657 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23659 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23660 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23662 * sysdeps/unix/sysv/linux/kernel-features.h
23663 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23664 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23666 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23667 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23668 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23669 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23670 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23671 Make code unconditional.
23672 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23673 (__mmap64) [!__NR_mmap2]: Likewise.
23674 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23675 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23676 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23677 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23678 [__NR_mmap2]: Make code unconditional.
23679 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23680 (__mmap64) [!__NR_mmap2]: Likewise.
23682 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23684 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23686 2012-08-18 Andreas Jaeger <aj@suse.de>
23688 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23690 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23692 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23693 * include/unistd.h (__have_sock_cloexec): Likewise.
23694 (__have_pipe2): Likewise.
23695 (__have_dup3): Likewise.
23697 2012-08-18 Mike Frysinger <vapier@gentoo.org>
23700 * include/unistd.h (__have_pipe2): Change define into an extern int.
23701 (__have_dup3): Likewise.
23702 * socket/have_sock_cloexec.c: Include fcntl.h.
23703 (__have_pipe2): New variable.
23704 (__have_dup3): Likewise.
23706 2012-08-17 Mike Frysinger <vapier@gentoo.org>
23708 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23710 2012-08-17 Marek Polacek <polacek@redhat.com>
23712 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23713 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23715 2012-08-17 Roland McGrath <roland@hack.frob.com>
23717 * configure.in: Add AC_SUBST for sysheaders.
23718 * configure: Regenerated.
23719 * config.make.in (sysheaders): New substituted variable.
23721 * sysdeps/unix/mkfifo.c: Moved ...
23722 * sysdeps/posix/mkfifo.c: ... here.
23723 * sysdeps/unix/mkfifoat.c: Moved ...
23724 * sysdeps/posix/mkfifoat.c: ... here.
23726 * sysdeps/unix/utime.c: Moved ...
23727 * sysdeps/posix/utime.c: ... here.
23729 * sysdeps/unix/time.c: Moved ...
23730 * sysdeps/posix/time.c: ... here.
23731 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23732 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23734 * sysdeps/unix/nice.c: Moved ...
23735 * sysdeps/posix/nice.c: ... here.
23737 * sysdeps/unix/alarm.c: Moved ...
23738 * sysdeps/posix/alarm.c: ... here.
23740 * intl/Makefile ($(codeset_mo)): Depend on the input file.
23742 2012-08-17 Jeff Law <law@redhat.com>
23744 * intl/Makefile (codeset_mo): New variable.
23745 ($(codeset_mo)): New target.
23746 (tst-codeset.out): Depend on that. Remove explicit rule.
23747 (tst-gettext3.out, tst-gettext5.out): Likewise.
23748 (LOCPATH-ENV, tst-codeset-ENV): New variables.
23749 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23750 * intl/tst-codeset.sh: Remove.
23751 * intl/tst-gettext3.sh: Likewise.
23752 * intl/tst-gettext5.sh: Likewise.
23754 2012-08-17 Roland McGrath <roland@hack.frob.com>
23756 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
23757 * sysdeps/unix/syscalls.list: ... here.
23759 * sysdeps/posix/getaddrinfo.c
23760 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23761 (gaiconf_init, gaiconf_reload): Use them.
23762 [!_STATBUF_ST_NSEC]
23763 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23764 Define using time_t rather than struct timespec.
23766 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23767 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23769 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23771 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23772 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23775 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23776 __libc_cleanup_push argument.
23778 * bits/param.h: New file.
23779 * misc/sys/param.h: New file.
23780 * include/sys/param.h: New file.
23781 * misc/Makefile (headers): Add bits/param.h.
23782 * sysdeps/generic/sys/param.h: File removed.
23783 * sysdeps/unix/sysv/linux/bits/param.h: New file.
23784 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23785 * sysdeps/mach/hurd/bits/param.h: New file.
23786 * sysdeps/mach/hurd/sys/param.h: File removed.
23788 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23791 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23793 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23794 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23797 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23798 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23799 rather than -D_IO_MTSAFE_IO conditionally.
23800 * stdio-common/Makefile (CPPFLAGS): Likewise.
23801 * wcsmbs/Makefile (CPPFLAGS): Likewise.
23802 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23803 Use $(libio-mtsafe).
23804 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23805 of -D_IO_MTSAFE_IO.
23806 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23807 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23808 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23809 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23810 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23811 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23812 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23813 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23814 (CFLAGS-fread_u_chk.c): Likewise.
23815 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23816 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23817 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23818 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23819 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23820 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23821 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23822 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23823 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23825 * libio/Makefile: Test [$(libc-reentrant) = yes]
23826 instead of [$(filter %REENTRANT, $(defines)) nonempty].
23829 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23830 * sysdeps/pthread/configure: File removed.
23831 * sysdeps/pthread/Makeconfig: New file.
23832 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23833 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23835 2012-08-16 Gary Benson <gbenson@redhat.com>
23837 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23838 unmapping the first object in a namespace.
23840 2012-08-16 Roland McGrath <roland@hack.frob.com>
23842 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23843 (__internal_setnetgrent): ... this. Add internal_function to
23844 definition. Add libc_hidden_def.
23845 (setnetgrent): Update caller.
23846 (internal_endnetgrent): Renamed to ...
23847 (__internal_endnetgrent): ... this. Add internal_function to
23848 definition. Add libc_hidden_def.
23849 (endnetgrent): Update caller.
23850 (internal_getnetgrent_r): Renamed to ...
23851 (__internal_getnetgrent_r): ... this. Add internal_function to
23852 definition. Add libc_hidden_def.
23853 (__getnetgrent_r): Update caller.
23854 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
23856 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23858 * stdlib/longlong.h: Update from GCC.
23860 2012-08-16 Roland McGrath <roland@hack.frob.com>
23862 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23863 on _QL, which is set by umul_ppmm but never used.
23864 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23865 variables, which are set by GMP macros but never used.
23866 * stdio-common/_itowa.c (_itowa): Likewise.
23867 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23868 * stdlib/mod_1.c (mpn_mod_1): Likewise.
23870 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
23872 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23873 struct La_sh_regs is not constant.
23874 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23875 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23876 and struct La_sparc64_regs are not constant.
23878 2012-08-16 Joseph Myers <joseph@codesourcery.com>
23880 * sysdeps/unix/sysv/linux/kernel-features.h
23881 (__ASSUME_POSIX_TIMERS): Remove.
23882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23883 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23884 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23885 Make code unconditional.
23886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23887 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23888 Make code unconditional.
23889 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23890 * sysdeps/unix/sysv/linux/clock_nanosleep.c
23891 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23892 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23893 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23894 Make code unconditional.
23895 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23896 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23897 (__libc_missing_posix_timers): Remove.
23899 2012-08-15 Roland McGrath <roland@hack.frob.com>
23901 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23902 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23904 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23906 * elf/dl-sym.c: Include <stdlib.h>.
23908 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23909 constants, which avoids warnings in 32-bit builds.
23911 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23912 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23914 * misc/lseek.c: File moved to ...
23915 * io/lseek.c: ... here.
23917 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23919 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23920 shifting LEN more than 31 bits at once.
23922 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23925 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23926 segmentation fault for a case of two empty input strings.
23927 * string/test-strncasecmp.c (check1): Renamed to...
23928 (bz12205): ...this.
23929 (bz14195): Add new testcase for two empty input strings and N > 0.
23930 (test_main): Call new testcase, adapt for renamed function.
23932 2012-08-15 Andreas Jaeger <aj@suse.de>
23935 * crypt/md5test2.c: New test, based on test supplied by Serge
23936 Belyshev <belyshev@depni.sinp.msu.ru>.
23937 * crypt/Makefile (xtests): Add md5test-giant..
23938 * crypt/Makefile ($(objpfx)md5test-giant): Add.
23940 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
23943 * crypt/md5.c (md5_process_block): Don't assume the buffer
23944 length is less than 2**32.
23945 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23946 length is less than 2**64.
23948 2012-08-15 Roland McGrath <roland@hack.frob.com>
23950 * string/str-two-way.h: Include <sys/param.h>.
23951 (MAX): Macro removed.
23953 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23954 Move #define and #undef of memmove to just before and after
23955 including <string.h>.
23957 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23958 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23959 and after including <string.h>. Move declarations of
23960 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23961 to before #include "string/memmove.c".
23963 * include/dirent.h: Declare __getdirentries.
23965 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23966 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23968 2012-08-14 Mike Frysinger <vapier@gentoo.org>
23970 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23971 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23972 * sysdeps/i386/configure: Regenerated.
23973 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23974 STABS_CURRENT_FILE, and STABS_FUN.
23975 (END): Remove call to STABS_FUN_END.
23976 (STABS_CURRENT_FILE1): Delete.
23977 (STABS_CURRENT_FILE): Likewise.
23978 (STABS_FUN): Likewise.
23979 (STABS_FUN_END): Likewise.
23980 (STABS_FUN2): Likewise.
23981 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23982 * sysdeps/x86_64/configure: Regenerated.
23984 2012-08-14 Roland McGrath <roland@hack.frob.com>
23986 * elf/dl-open.c: Include <atomic.h>.
23987 * elf/dl-lookup.c: Likewise.
23989 2012-08-14 Joseph Myers <joseph@codesourcery.com>
23991 * sysdeps/unix/sysv/linux/kernel-features.h
23992 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23993 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23995 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23997 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23998 condition on __ASSUME_CLONE_THREAD_FLAGS.
24000 2012-08-14 Andreas Jaeger <aj@suse.de>
24002 * sysdeps/i386/fpu/libm-test-ulps: Update.
24004 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24006 * include/atomic.h (atomic_exchange_and_add): Split into ...
24007 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24010 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24012 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24014 2012-08-13 Jeff Law <law@redhat.com>
24016 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24017 null byte in the output string.
24019 2012-08-10 Joseph Myers <joseph@codesourcery.com>
24021 * sysdeps/unix/sysv/linux/kernel-features.h
24022 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24023 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24024 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24025 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24026 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24027 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24028 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24030 2012-08-09 Jeff Law <law@redhat.com>
24033 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24034 When avoid_arena is set, don't retry in the that arena. Pick the
24035 next one, whatever it might be.
24036 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24037 (arena_lock): Pass in new parameter to arena_get2.
24038 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24040 (__libc_malloc): Unify retrying after main arena failure with
24041 __libc_memalign version.
24042 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24044 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24047 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24048 to __redirect_strstr.
24049 (__strstr_sse42): Use typeof __redirect_strstr.
24050 (__strstr_ia32): Likewise.
24051 (__libc_strstr): New prototype.
24052 (strstr): Renamed to ...
24053 (__libc_strstr): This.
24054 (strstr): New strong alias of __libc_strstr.
24055 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24056 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24059 (__libc_time): New prototype.
24060 (time_ifunc): Replace time with __libc_time.
24061 (time): New strong alias and hidden definition of __libc_time.
24062 (__GI_time): Remove strong alias.
24063 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24064 Include <stddef.h>.
24065 (memmove): Redefined to __redirect_memmove.
24066 (__memmove_sse2): Use typeof __redirect_memmove.
24067 (__memmove_ssse3): Likewise.
24068 (__memmove_ssse3_back): Likewise.
24069 (__libc_memmove): New prototype.
24070 (memmove): Renamed to ...
24071 (__libc_memmove): This.
24072 (memmove): New strong alias of __libc_memmove.
24074 2012-08-08 Mark Salter <msalter@redhat.com>
24077 (R_MN10300_TLS_GD): Define.
24078 (R_MN10300_TLS_LD): Likewise.
24079 (R_MN10300_TLS_LDO): Likewise.
24080 (R_MN10300_TLS_GOTIE): Likewise.
24081 (R_MN10300_TLS_IE): Likewise.
24082 (R_MN10300_TLS_LE): Likewise.
24083 (R_MN10300_TLS_DTPMOD): Likewise.
24084 (R_MN10300_TLS_DTPOFF): Likewise.
24085 (R_MN10300_TLS_TPOFF): Likewise.
24086 (R_MN10300_SYM_DIFF): Likewise.
24087 (R_MN10300_ALIGN): Likewise.
24088 (R_MN10300_NUM): Update.
24090 2012-08-08 Joseph Myers <joseph@codesourcery.com>
24092 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
24095 2012-08-08 Roland McGrath <roland@hack.frob.com>
24097 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
24099 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
24100 sysdeps/unix -> sysdeps/posix move.
24101 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24103 2012-08-07 Allan McRae <allan@archlinux.org>
24106 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
24107 (SUNOS_CPP): Likewise.
24108 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
24110 (open_input): Call CPP using execvp.
24112 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24114 * sysdeps/unix/sysv/linux/kernel-features.h
24115 (__ASSUME_PROT_GROWSUPDOWN): Remove.
24116 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24117 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24118 (__ASSUME_WAITID_SYSCALL): Likewise.
24119 * sysdeps/unix/sysv/linux/dl-execstack.c
24120 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
24121 code unconditional.
24122 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
24124 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
24125 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
24126 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
24128 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
24130 [__ASSUME_WAITID_SYSCALL]: Likewise.
24131 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
24133 2012-08-07 Roland McGrath <roland@hack.frob.com>
24135 * sysdeps/unix/closedir.c: Renamed to ...
24136 * sysdeps/posix/closedir.c: ... here.
24137 * sysdeps/unix/dirfd.c: Renamed to ...
24138 * sysdeps/posix/dirfd.c: ... here.
24139 * sysdeps/unix/dirstream.h: Renamed to ...
24140 * sysdeps/posix/dirstream.h: ... here.
24141 * sysdeps/unix/fdopendir.c: Renamed to ...
24142 * sysdeps/posix/fdopendir.c: ... here.
24143 * sysdeps/unix/opendir.c: Renamed to ...
24144 * sysdeps/posix/opendir.c: ... here.
24145 * sysdeps/unix/readdir.c: Renamed to ...
24146 * sysdeps/posix/readdir.c: ... here.
24147 * sysdeps/unix/readdir_r.c: Renamed to ...
24148 * sysdeps/posix/readdir_r.c: ... here.
24149 * sysdeps/unix/rewinddir.c: Renamed to ...
24150 * sysdeps/posix/rewinddir.c: ... here.
24151 * sysdeps/unix/seekdir.c: Renamed to ...
24152 * sysdeps/posix/seekdir.c: ... here.
24153 * sysdeps/unix/telldir.c: Renamed to ...
24154 * sysdeps/posix/telldir.c: ... here.
24155 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
24156 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
24157 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
24158 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
24160 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
24161 * bits/fcntl.h: ... here.
24163 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
24165 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
24166 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
24167 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
24168 (struct flock): Move l_start, l_len to the beginning.
24169 Use __pid_t for l_pid.
24170 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
24171 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
24172 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
24173 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
24174 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
24175 [__USE_LARGEFILE64] (struct flock64): New type.
24176 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
24178 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
24179 * bits/dirent.h: ... here.
24181 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
24182 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
24184 2012-08-07 Joseph Myers <joseph@codesourcery.com>
24186 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24187 Change from 2.6.0 to 2.6.16.
24188 * sysdeps/unix/sysv/linux/configure: Regenerated.
24189 * sysdeps/unix/sysv/linux/kernel-features.h
24190 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24191 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24193 (__ASSUME_UTIMES): Likewise.
24194 (__ASSUME_CLONE_STOPPED): Remove.
24195 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24196 architectures, not kernel version.
24197 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24198 (__ASSUME_NO_CLONE_DETACHED): Likewise.
24199 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24200 (__ASSUME_WAITID_SYSCALL): Likewise.
24201 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24202 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24203 * README: State 2.6.16 as minimum Linux kernel version. Do not
24204 refer to older versions.
24206 2012-08-06 Roland McGrath <roland@hack.frob.com>
24208 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24209 Define alphasort64 as an alias.
24210 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24211 Define versionsort64 as an alias.
24212 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24213 Define scandir64 as an alias.
24214 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24215 Define scandirat64 as an alias.
24216 * dirent/alphasort64.c (alphasort64):
24217 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24218 * dirent/versionsort64.c: Likewise.
24219 * dirent/scandir64.c: Likewise.
24220 * dirent/scandirat64.c: Likewise.
24221 * sysdeps/wordsize-64/alphasort.c: File removed.
24222 * sysdeps/wordsize-64/alphasort64.c: File removed.
24223 * sysdeps/wordsize-64/scandir.c: File removed.
24224 * sysdeps/wordsize-64/scandir64.c: File removed.
24225 * sysdeps/wordsize-64/scandirat.c: File removed.
24226 * sysdeps/wordsize-64/scandirat64.c: File removed.
24227 * sysdeps/wordsize-64/versionsort.c: File removed.
24228 * sysdeps/wordsize-64/versionsort64.c: File removed.
24229 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24230 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24231 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24232 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24233 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24234 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24235 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24236 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24238 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24240 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24241 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24242 [defined __arch64__ || defined __sparcv9]
24243 (__INO_T_MATCHES_INO64_T): New macro.
24244 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24245 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24246 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24247 * sysdeps/unix/sysv/linux/bits/dirent.h
24248 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24249 (_DIRENT_MATCHES_DIRENT64): New macro.
24251 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24252 Define lockf64 as an alias.
24253 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24254 Define fseeko64 as an alias.
24255 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24256 Define ftello64 as an alias.
24257 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24258 Define _IO_fgetpos64 and fgetpos64 as aliases.
24259 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24260 Define _IO_fsetpos64 and fsetpos64 as aliases.
24261 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24262 Conditionalize body on this.
24263 * libio/fseeko64.c: Likewise.
24264 * libio/ftello64.c: Likewise.
24265 * libio/iofgetpos64.c: Likewise.
24266 * libio/iofsetpos64.c: Likewise.
24267 * sysdeps/wordsize-64/lockf.c: File removed.
24268 * sysdeps/wordsize-64/lockf64.c: File removed.
24269 * sysdeps/wordsize-64/fseeko.c: File removed.
24270 * sysdeps/wordsize-64/fseeko64.c: File removed.
24271 * sysdeps/wordsize-64/ftello.c: File removed.
24272 * sysdeps/wordsize-64/ftello64.c: File removed.
24273 * sysdeps/wordsize-64/iofgetpos.c: File removed.
24274 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24275 * sysdeps/wordsize-64/iofsetpos.c: File removed.
24276 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24277 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24278 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24279 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24280 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24281 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24282 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24283 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24284 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24285 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24286 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24288 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24289 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24290 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24291 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24292 [defined __arch64__ || defined __sparcv9]
24293 (__OFF_T_MATCHES_OFF64_T): New macro.
24294 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24295 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24296 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24297 (__OFF_T_MATCHES_OFF64_T): New macro.
24299 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24301 * stdlib/secure-getenv.c (__secure_getenv): Replace
24302 GLIBC_2_16 with GLIBC_2_17.
24304 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
24306 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24307 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24309 2012-08-03 David S. Miller <davem@davemloft.net>
24311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24313 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24315 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24317 (__ASSUME_CORRECT_SI_PID): Likewise.
24318 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24319 (__ASSUME_TMPFS_NAME): Likewise.
24320 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24321 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24322 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24323 (HAVE_AUX_SECURE): Make definition unconditional.
24324 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24325 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24327 2012-08-03 Roland McGrath <roland@hack.frob.com>
24329 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24330 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24331 * sysdeps/mach/hurd/eloop-threshold.h: New file.
24332 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24333 __eloop_threshold instead of SYMLOOP_MAX.
24335 * sysdeps/generic/eloop-threshold.h: New file.
24336 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24338 * elf/chroot_canon.c (chroot_canon): Likewise.
24340 2012-08-03 Joseph Myers <joseph@codesourcery.com>
24343 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24344 Change to 2.6.0 everywhere.
24345 * sysdeps/unix/sysv/linux/configure: Regenerated.
24346 * sysdeps/unix/sysv/linux/kernel-features.h
24347 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24348 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24350 (__ASSUME_POSIX_TIMERS): Define unconditionally.
24351 (__ASSUME_FUTEX_REQUEUE): Remove.
24352 (__ASSUME_STATFS64): Define unconditionally.
24353 (__ASSUME_AT_SECURE): Likewise.
24354 (__ASSUME_CORRECT_SI_PID): Likewise.
24355 (__ASSUME_TGKILL): Define without depending on kernel version for
24357 (__ASSUME_UTIMES): Likewise.
24358 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24360 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24361 (__ASSUME_TMPFS_NAME): Likewise.
24362 * README: Update reference to Linux kernel versions.
24364 2012-08-02 Marek Polacek <polacek@redhat.com>
24367 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
24368 libc_cv_asm_type_prefix with %.
24369 * configure: Regenerated.
24370 * include/libc-symbols.h: Remove comment about
24371 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24372 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24373 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24374 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24375 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24376 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24377 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24378 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24379 * elf/tst-unique2mod1.c: Likewise.
24380 * elf/tst-unique1mod2.c: Likewise.
24381 * elf/tst-unique1mod1.c: Likewise.
24382 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24383 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24384 Replace ASM_TYPE_DIRECTIVE with .type.
24385 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24386 * sysdeps/i386/sysdep.h: Likewise.
24387 * sysdeps/x86_64/sysdep.h: Likewise.
24388 * sysdeps/sh/sysdep.h: Likewise.
24389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24390 Do not define ASM_TYPE_DIRECTIVE.
24391 * sysdeps/powerpc/sysdep.h: Likewise.
24392 * sysdeps/powerpc/powerpc32/sysdep.h:
24393 Replace ASM_TYPE_DIRECTIVE with .type.
24394 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24395 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24396 * sysdeps/i386/fpu/e_powf.S: Likewise.
24397 * sysdeps/i386/fpu/e_expl.S: Likewise.
24398 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24399 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24400 * sysdeps/i386/fpu/e_pow.S: Likewise.
24401 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24402 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24403 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24404 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24405 * sysdeps/i386/fpu/e_log2.S: Likewise.
24406 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24407 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24408 * sysdeps/i386/fpu/e_powl.S: Likewise.
24409 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24410 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24411 * sysdeps/i386/fpu/e_logl.S: Likewise.
24412 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24413 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24414 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24415 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24416 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24417 * sysdeps/i386/fpu/e_log.S: Likewise.
24418 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24419 * sysdeps/i386/fpu/e_logf.S: Likewise.
24420 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24421 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24422 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24423 * sysdeps/i386/fpu/e_log10.S: Likewise.
24424 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24425 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24426 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24427 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24428 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24429 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24430 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24431 * sysdeps/i386/i686/strtok.S: Likewise.
24432 * sysdeps/i386/i386-mcount.S: Likewise.
24433 * sysdeps/i386/strtok.S: Likewise.
24434 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24435 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24436 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24437 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24438 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24439 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24440 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24441 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24442 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24443 * sysdeps/x86_64/_mcount.S: Likewise.
24444 * sysdeps/x86_64/strtok.S: Likewise.
24445 * sysdeps/sh/_mcount.S: Likewise.
24447 2012-08-01 Roland McGrath <roland@hack.frob.com>
24449 * libio/iofopen.c: Include <fcntl.h>.
24450 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24451 (_IO_fopen64, fopen64): Define as aliases.
24452 * libio/iofopen64.c: Include <fcntl.h>.
24453 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24454 Conditionalize body on this.
24455 * sysdeps/wordsize-64/iofopen.c: File removed.
24456 * sysdeps/wordsize-64/iofopen64.c: File removed.
24458 2012-08-01 Marek Polacek <polacek@redhat.com>
24460 * libc/Makeconfig: Use elf in place of binfmt-subdir.
24461 Use dlfcn directly instead of a variable.
24462 (binfmt-subdir): Do not define.
24465 2012-08-01 Joseph Myers <joseph@codesourcery.com>
24467 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24468 Remove all definitions.
24469 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24470 <kernel-features.h>.
24471 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24472 (miss_F_GETOWN_EX): Remove all definitions.
24473 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24475 [!__ASSUME_FCNTL64]: Remove conditional code.
24476 [__ASSUME_FCNTL64]: Make code unconditional.
24477 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24478 <kernel-features.h>.
24479 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24480 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24481 (lockf64) [__NR_fcntl64]: Make code unconditional.
24482 (lockf64) [__ASSUME_FCNTL64]: Likewise.
24484 * sysdeps/unix/sysv/linux/kernel-features.h
24485 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24486 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24487 Make code unconditional.
24488 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24489 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24491 [__NR_vfork]: Make code unconditional.
24492 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24493 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24495 [__NR_vfork]: Make code unconditional.
24496 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24497 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24499 2012-08-01 Roland McGrath <roland@hack.frob.com>
24501 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24502 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24504 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24505 Define mkstemp64 as an alias.
24506 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24507 Define mkstemps64 as an alias.
24508 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24509 Define mkostemp64 as an alias.
24510 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24511 Define mkostemps64 as an alias.
24512 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24513 Conditionalize body on this.
24514 * misc/mkostemp64.c: Likewise.
24515 * misc/mkostemps64.c: Likewise.
24516 * misc/mkstemps64.c: Likewise.
24517 * sysdeps/wordsize-64/mkstemp64.c: File removed.
24518 * sysdeps/wordsize-64/mkostemp64.c: File removed.
24519 * sysdeps/wordsize-64/mkostemp.c: File removed.
24520 * sysdeps/wordsize-64/mkstemp.c: File removed.
24521 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24522 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24523 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24524 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24527 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24528 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24529 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24530 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24532 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24533 compat_symbol macros from <shlib-compat.h> rather than the underlying
24534 default_symbol_version and symbol_version macros, so that DEFAULT
24535 lines in shlib-versions are respected.
24536 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24538 2012-08-01 Florian Weimer <fweimer@redhat.com>
24540 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24541 Declare with warn_unused_result.
24542 (setgid, setregid, setegid, setresgid): Likewise.
24543 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24545 * WUR-REPORT: Remove set*id functions.
24547 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
24549 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24551 2012-07-31 Roland McGrath <roland@hack.frob.com>
24554 * include/sys/socket.h (__libc_accept, __libc_accept4):
24555 Add attribute_hidden.
24556 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24558 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24560 * inet/getnetgrent_r.c (setup): Likewise.
24562 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24564 2012-07-31 David S. Miller <davem@davemloft.net>
24566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24568 2012-07-31 Joseph Myers <joseph@codesourcery.com>
24571 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24572 value between 1.0 and 2.0 and smaller part has absolute value less
24574 * math/s_clog10.c (__clog10): Likewise.
24575 * math/s_clog10f.c (__clog10f): Likewise.
24576 * math/s_clog10l.c (__clog10l): Likewise.
24577 * math/s_clogf.c (__clogf): Likewise.
24578 * math/s_clogl.c (__clogl): Likewise.
24579 * math/libm-test.inc (clog_test): Add more tests.
24580 (clog10_test): Likewise.
24581 * sysdeps/i386/fpu/libm-test-ulps: Update.
24582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24584 2012-07-31 Florian Weimer <fweimer@redhat.com>
24586 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24587 Exit with zero in case no suitable GID is found, and write a
24588 message to standard error.
24590 2012-07-30 Roland McGrath <roland@hack.frob.com>
24592 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24594 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24595 (MAXPATHLEN): Removed.
24596 (NOGROUP, NODEV): New macros.
24597 (setbit, clrbit, isset, isclr): New macros.
24598 (howmany, roundup, powerof2): New macros.
24599 (DEV_BSIZE): New macro.
24601 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24602 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24604 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24605 definition on [!__NO_LONG_DOUBLE_MATH].
24607 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24608 PTR_MANGLE and PTR_DEMANGLE.
24610 * socket/accept4.c (accept4): Rename to __libc_accept4.
24611 Define accept4 as a weak alias.
24613 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24614 on [_DIRENT_HAVE_D_TYPE].
24615 * io/ftw.c (ftw_dir): Likewise.
24617 * io/xmknod.c (__xmknod): Don't check PATH for being null.
24619 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24621 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24622 Use the BSD numbers rather than the arbitrary ones we had.
24623 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24624 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24625 (SIGXCPU, SIGXFSZ): New macros.
24628 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24629 initializer on [_LIBC_REENTRANT].
24631 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24632 definitions inside [_POSIX_MAPPED_FILES].
24634 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24636 * dirent/opendir.c: Include <fcntl.h>.
24638 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24639 (__libc_getspecific): Likewise.
24640 (__libc_key_create): Likewise.
24642 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24643 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24644 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24645 (tmpfile64): Define as alias.
24646 * sysdeps/wordsize-64/tmpfile.c: File removed.
24647 * sysdeps/wordsize-64/tmpfile64.c: File removed.
24648 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24649 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24651 * stdio-common/vfscanf.c: Include <stdbool.h>.
24652 * nss/makedb.c: Likewise.
24653 * stdio-common/_i18n_number.h: Likewise.
24654 * argp/argp-help.c: Likewise.
24655 * posix/wordexp.c: Likewise.
24656 * sysdeps/posix/spawni.c: Likewise.
24657 * nss/nss_files/files-initgroups.c: Likewise.
24658 * stdio-common/reg-modifier.c: Include <stdlib.h>.
24659 * nss/nss_files/files-initgroups.c: Likewise.
24660 * nss/nss_db/db-netgrp.c: Likewise.
24661 * nss/nss_db/db-initgroups.c: Likewise.
24662 * io/fchmodat.c: Include <sys/stat.h>.
24664 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24665 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24667 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24670 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24671 Add multiple inclusion protection.
24673 2012-07-27 David S. Miller <davem@davemloft.net>
24675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24677 2012-07-27 Gary Benson <gbenson@redhat.com>
24680 * elf/rtld.c: Include <stap-probe.h>.
24681 (dl_main): Added static probes "init_start" and "init_complete".
24682 * elf/dl-load.c: Include <stap-probe.h>.
24683 (lose): Take new parameter "nsid".
24684 Added static probe "map_failed".
24685 (_dl_map_object_from_fd): Pass namespace id to lose.
24686 Added static probe "map_start".
24687 (open_verify): Pass namespace id to lose.
24688 * elf/dl-open.c: Include <stap-probe.h>.
24689 (dl_open_worker) Added static probes "map_complete", "reloc_start"
24690 and "reloc_complete".
24691 * elf/dl-close.c: Include <stap-probe.h>.
24692 (_dl_close_worker): Added static probes "unmap_start" and
24694 * elf/rtld-debugger-interface.txt: New file documenting the above.
24696 2012-07-26 Roland McGrath <roland@hack.frob.com>
24698 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24699 rather than a string variable.
24700 * sunrpc/rpc_main.c (h_output): Likewise.
24701 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24703 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
24705 * inet/check_native.c: New file.
24707 2012-07-26 Joseph Myers <joseph@codesourcery.com>
24710 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24711 if larger part has absolute value 1.0.
24712 * math/s_clog10.c (__clog10): Likewise.
24713 * math/s_clog10f.c (__clog10f): Likewise.
24714 * math/s_clog10l.c (__clog10l): Likewise.
24715 * math/s_clogf.c (__clogf): Likewise.
24716 * math/s_clogl.c (__clogl): Likewise.
24717 * math/libm-test.inc (clog_test): Add more tests.
24718 (clog10_test): Likewise.
24719 * sysdeps/i386/fpu/libm-test-ulps: Update.
24720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24722 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24723 (pltexit): Likewise.
24724 (La_regs): Likewise.
24725 (La_retval): Likewise.
24726 (int_retval): Likewise.
24727 Update #error for removed macros to refer only to definitions in
24729 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24731 (pltexit): Likewise.
24732 (La_regs): Likewise.
24733 (La_retval): Likewise.
24734 (int_retval): Likewise.
24735 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24737 (pltexit): Likewise.
24738 (La_regs): Likewise.
24739 (La_retval): Likewise.
24740 (int_retval): Likewise.
24741 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24743 (pltexit): Likewise.
24744 (La_regs): Likewise.
24745 (La_retval): Likewise.
24746 (int_retval): Likewise.
24747 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24749 (pltexit): Likewise.
24750 (La_regs): Likewise.
24751 (La_retval): Likewise.
24752 (int_retval): Likewise.
24753 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24755 (pltexit): Likewise.
24756 (La_regs): Likewise.
24757 (La_retval): Likewise.
24758 (int_retval): Likewise.
24759 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24761 (pltexit): Likewise.
24762 (La_regs): Likewise.
24763 (La_retval): Likewise.
24764 (int_retval): Likewise.
24765 * sysdeps/generic/tst-audit.h: Update comment to refer only to
24766 macro definitions in tst-audit.h.
24767 * sysdeps/i386/tst-audit.h: New file.
24768 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24769 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24770 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24771 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24772 * sysdeps/sh/tst-audit.h: Likewise.
24773 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24774 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24775 * sysdeps/x86_64/tst-audit.h: Likewise.
24777 2012-07-26 Andreas Jaeger <aj@suse.de>
24779 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24782 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24783 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24784 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24786 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24787 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24788 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24790 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24793 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24795 (si_call_addr, si_syscall, si_arch): Define new macro.
24796 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24798 (si_call_addr, si_syscall, si_arch): Define new marcro.
24799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24801 (si_call_addr, si_syscall, si_arch): Define new macro.
24802 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24804 (si_call_addr, si_syscall, si_arch): Define new macro.
24806 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24809 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24810 Change to 2.4.21 where previously 2.4.1.
24811 * sysdeps/unix/sysv/linux/configure: Regenerated.
24812 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24813 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24814 Linux kernel version.
24815 (__ASSUME_STD_AUXV): Remove.
24816 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24818 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24819 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24820 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24821 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24822 (__ASSUME_NETLINK_SUPPORT): Likewise.
24823 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24824 (__no_netlink_support): Remove conditional definition.
24825 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24827 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24828 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24829 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24830 (if_nameindex_ioctl): Remove.
24831 (if_nameindex_netlink): Do not handle __no_netlink_support.
24832 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24834 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24835 Remove conditional code.
24836 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24838 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24840 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24841 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24842 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24844 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24845 [!__ASSUME_STD_AUXV]: Remove conditional code.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24847 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24848 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24850 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24851 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24853 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24855 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24856 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24858 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24860 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24863 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24866 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24867 code unconditional.
24868 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24870 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24872 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24875 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24877 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24880 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24881 code unconditional.
24882 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24884 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24886 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24889 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24890 code unconditional.
24891 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24893 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24895 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24898 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
24900 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24901 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24902 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24903 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24904 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24905 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24906 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24907 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24908 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24909 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24910 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24911 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24912 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24913 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24915 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24916 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24917 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24918 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24919 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24920 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24921 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24924 2012-07-25 Florian Weimer <fweimer@redhat.com>
24926 * Versions.def: Add GLIBC_2.17.
24927 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24928 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24929 Introduce __libc_secure_getenv.
24930 * stdlib/Versions (2.17): Add secure_getenv
24931 (GLIBC_PRIVATE): Add __libc_secure_getenv.
24932 * stdlib/secure-getenv.c: Rename __secure_getenv to
24933 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
24934 symbol __secure_getenv for GLIBC_2.0.
24935 * stdlib/tst-secure-getenv.c: New.
24936 * stdlib/Makefile (tests): Add testcase.
24937 * manual/startup.texi (Environment Access): Document
24939 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24940 __libc_secure_getenv.
24941 * inet/ruserpass.c (ruserpass): Likewise.
24942 * malloc/mtrace.c (mtrace): Likewise.
24943 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24944 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24945 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24946 * sysdeps/posix/tempname.c: Likewise. Evaluate
24947 HAVE_SECURE_GETENV.
24948 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24949 __secure_getenv to __libc_secure_getenv.
24950 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24955 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24957 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24963 2012-07-25 Joseph Myers <joseph@codesourcery.com>
24965 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24966 (struct La_i86_retval): Likewise.
24967 (struct La_x86_64_regs): Likewise.
24968 (struct La_x86_64_retval): Likewise.
24969 (struct La_x32_regs): Likewise.
24970 (struct La_x32_retval): Likewise.
24971 (struct La_ppc32_regs): Likewise.
24972 (struct La_ppc32_retval): Likewise.
24973 (struct La_ppc64_regs): Likewise.
24974 (struct La_ppc64_retval): Likewise.
24975 (struct La_sh_regs): Likewise.
24976 (struct La_sh_retval): Likewise.
24977 (struct La_s390_32_regs): Likewise.
24978 (struct La_s390_32_retval): Likewise.
24979 (struct La_s390_64_regs): Likewise.
24980 (struct La_s390_64_retval): Likewise.
24981 (struct La_sparc32_regs): Likewise.
24982 (struct La_sparc32_retval): Likewise.
24983 (struct La_sparc64_regs): Likewise.
24984 (struct La_sparc64_retval): Likewise.
24985 (struct audit_ifaces): Remove architecture-specific pltenter and
24987 * sysdeps/i386/ldsodefs.h: New file.
24988 * sysdeps/powerpc/ldsodefs.h: Likewise.
24989 * sysdeps/s390/ldsodefs.h: Likewise.
24990 * sysdeps/sh/ldsodefs.h: Likewise.
24991 * sysdeps/sparc/ldsodefs.h: Likewise.
24992 * sysdeps/x86_64/ldsodefs.h: Likewise.
24994 2012-07-25 Marek Polacek <polacek@redhat.com>
24997 * math/libm-test.inc (yn_test): Add another test.
24998 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24999 to ERANGE when the result is +-Inf.
25000 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25001 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25002 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25003 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25005 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25007 * conform/data/time.h-data (NULL): Use macro-constant. Require
25009 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25011 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25013 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25015 * configure.in <sysdeps resolving>: Correct printing
25017 * configure: Regenerate.
25019 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25021 * math/w_ilogb.c: Include <limits.h>.
25022 * math/w_ilogbl.c: Likewise.
25024 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25026 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25027 va_copy. Document allowing for unavailable va_copy only as
25028 pre-C99 compatibility.
25029 * manual/string.texi (Copying and Concatenation): Use va_copy
25030 instead of __va_copy in concat example.
25032 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25034 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25035 (__sendto): Use create_address_port. Initialize APORT and deallocate
25038 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25039 with O_NOLINK passed to __file_name_lookup.
25041 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25042 with O_NOLINK passed to __file_name_lookup.
25044 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25045 negative N or less than NGIDS.
25047 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25048 type to string_t. Set ERANGE as errno and return it if NAME is not big
25049 enough. Use memcpy instead of strncpy.
25051 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25053 * elf/Makefile (check-data): Remove.
25054 (localplt.data): New vpath directive.
25055 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25056 instead of $(check-data).
25057 * scripts/data/localplt-generic.data: Move to ...
25058 * sysdeps/generic/localplt.data: ... here.
25059 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25060 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25061 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25064 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25067 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25070 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25073 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
25074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
25076 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
25077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
25080 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25082 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
25083 PPC32 and PPC64 files.
25084 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
25085 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
25087 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25089 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
25090 __makecontext_ret to ...
25091 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
25092 ... here and call exit if uc_link is NULL. New file.
25093 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
25094 __makecontext_ret.S.
25095 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
25096 __makecontext_ret to ...
25097 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
25098 ... here and call exit if uc_link is NULL. New file.
25099 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
25100 __makecontext_ret.S.
25102 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25104 * elf/elf.h (R_390_IRELATIVE): New definition.
25105 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
25106 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
25107 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
25108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25109 (elf_machine_lazy_rel): Likewise.
25110 * sysdeps/s390/dl-irel.h: New file.
25111 * sysdeps/s390/s390-64/memcpy.S: New asm code.
25112 * sysdeps/s390/s390-64/memset.S: New asm code.
25113 * sysdeps/s390/s390-64/memcmp.S: New asm code.
25114 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
25115 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
25116 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
25117 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
25118 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
25119 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
25120 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
25121 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
25122 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
25123 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
25124 * sysdeps/s390/s390-32/memcpy.S: New asm code.
25125 * sysdeps/s390/s390-32/memset.S: New asm code.
25126 * sysdeps/s390/s390-32/memcmp.S: New asm code.
25128 2012-07-17 Marek Polacek <polacek@redhat.com>
25131 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
25132 * sysdeps/s390/s390-64/configure.in: Likewise.
25133 * sysdeps/sparc/configure.in: Likewise.
25134 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
25135 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
25136 * sysdeps/i386/configure.in: Likewise.
25137 * sysdeps/x86_64/configure.in: Likewise.
25138 * sysdeps/sh/configure.in: Likewise.
25139 * sysdeps/s390/s390-32/configure: Regenerated.
25140 * sysdeps/s390/s390-64/configure: Likewise.
25141 * sysdeps/x86_64/configure: Likewise.
25142 * sysdeps/sh/configure: Likewise.
25143 * sysdeps/powerpc/powerpc64/configure: Likewise.
25144 * sysdeps/powerpc/powerpc32/configure: Likewise.
25145 * sysdeps/sparc/configure: Likwise.
25146 * sysdeps/i386/configure: Likewise.
25148 * elf/dl-open.c: Comment fixes.
25150 2012-07-17 Joseph Myers <joseph@codesourcery.com>
25152 * Makefile [CXX] (check-data): Remove.
25153 [CXX] (c++-types.data): New vpath directive.
25154 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
25155 vpath. Do not allow for C++ type data being missing.
25156 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
25157 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
25158 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
25159 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
25160 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
25161 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
25162 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
25163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
25165 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
25166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
25168 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
25169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
25171 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
25172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
25174 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
25175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
25177 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
25178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
25180 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
25181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
25183 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
25184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
25186 * elf/tls-macros.h (TLS_LE): Move architecture-specific
25187 definitions to architecture-specific files.
25188 (TLS_IE): Likewise.
25189 (TLS_LD): Likewise.
25190 (TLS_GD): Likewise.
25191 * sysdeps/i386/tls-macros.h: New file.
25192 * sysdeps/powerpc/tls-macros.h: Likewise.
25193 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25194 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25195 * sysdeps/sh/tls-macros.h: Likewise.
25196 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25197 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25198 * sysdeps/x86_64/tls-macros.h: Likewise.
25200 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25202 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25203 zero value for regular exit case.
25205 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25206 (__start_context): Preserve zero value for regular exit case.
25208 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
25209 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25211 * manual/setjmp.texi (setcontext): Clarify normal process
25212 termination when uc_link is the null pointer.
25213 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25216 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
25218 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25219 preprocessor. Test for each exception mask separately.
25221 2012-07-16 Andreas Jaeger <aj@suse.de>
25223 * po/ru.po: Update from translation team.
25225 2012-07-15 Joseph Myers <joseph@codesourcery.com>
25227 * conform/data/string.h-data (NULL): Use macro-constant. Require
25229 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25230 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25231 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25232 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25233 [ISO || ISO99 || ISO11] (*_t): Do not allow.
25235 2012-07-13 Andreas Jaeger <aj@suse.de>
25237 * po/fr.po: Update from translation team.
25239 2012-07-12 Marek Polacek <polacek@redhat.com>
25242 * math/libm-test.inc (yn_test): Add test for BZ #14173.
25243 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25246 2012-07-12 Joseph Myers <joseph@codesourcery.com>
25249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25250 Change to 2.4.1 where previously 2.4.0.
25251 * sysdeps/unix/sysv/linux/configure: Regenerated.
25252 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25253 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25255 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25256 (__ASSUME_AT_CLKTCK): Remove.
25257 (__ASSUME_AT_PAGESIZE): Likewise.
25258 (__ASSUME_AT_XID): Likewise.
25259 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25260 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25261 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25263 (HAVE_AUX_PAGESIZE): Likewise.
25264 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25265 [__ASSUME_AT_CLKTCK]: Make code unconditional.
25266 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25268 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
25271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25272 the temporary buffer used to invoke __gethostbyname2_r,
25273 __gethostbyaddr_r and gethostbyname4_r to make room for struct
25274 host_data / struct gaih_addrtuple.
25275 * resolv/nss_dns/dns-host.c (global scope): Move definition of
25276 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25277 header file nss/nsswitch.h.
25278 * nss/nsswitch.h (global scope): Add definition of implementation
25279 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25280 resolv/nss_dns/dns-host.c).
25282 2012-07-11 Andreas Jaeger <aj@suse.de>
25284 * po/fr.po: Update from translation team.
25286 * po/sv.po: Update from translation team
25287 * po/fr.po: Another update from translation team.
25289 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25291 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25292 for subnormals or multiply small sinh result by itself.
25293 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25296 2012-07-11 David S. Miller <davem@davemloft.net>
25298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25300 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
25303 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25304 (INTERNAL_MARK): Shift it here.
25306 2012-07-10 Marek Polacek <polacek@redhat.com>
25309 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
25310 libc_cv_asm_global_directive with .globl.
25311 * configure: Regenerated.
25312 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25314 * sysdeps/i386/configure: Regenerated.
25315 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25317 * sysdeps/x86_64/configure: Regenerated.
25318 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25319 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25320 * elf/tst-unique2mod2.c: Likewise.
25321 * elf/tst-unique2mod1.c: Likewise.
25322 * elf/tst-unique1mod2.c: Likewise.
25323 * elf/tst-unique1mod1.c: Likewise.
25324 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25325 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25326 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25327 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25328 * sysdeps/mach/sysdep.h: Likewise.
25329 * sysdeps/i386/sysdep.h: Likewise.
25330 * sysdeps/i386/i386-mcount.S: Likewise.
25331 * sysdeps/x86_64/_mcount.S: Likewise.
25332 * sysdeps/x86_64/sysdep.h: Likewise.
25333 * sysdeps/sh/_mcount.S: Likewise.
25334 * sysdeps/sh/sysdep.h: Likewise.
25335 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25336 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25337 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25338 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25339 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25340 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25341 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25342 * locale/localeinfo.h: Likewise.
25343 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25344 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25346 2012-07-09 Roland McGrath <roland@hack.frob.com>
25349 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25351 * manual/message.texi (The Uniforum approach): Likewise.
25352 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25353 (glibc iconv Implementation): Likewise.
25355 2012-07-09 Joseph Myers <joseph@codesourcery.com>
25358 * math/s_clog.c (__clog): Avoid scaling a value down where that
25359 could result in underflow.
25360 * math/s_clog10.c (__clog10): Likewise.
25361 * math/s_clog10f.c (__clog10f): Likewise.
25362 * math/s_clog10l.c (__clog10l): Likewise.
25363 * math/s_clogf.c (__clogf): Likewise.
25364 * math/s_clogl.c (__clogl): Likewise.
25365 * math/libm-test.inc (clog_test): Add more tests.
25366 (clog10_test): Likewise.
25367 * sysdeps/i386/fpu/libm-test-ulps: Update.
25368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25370 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
25373 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25374 by 7 not 8 to examine high bit of fractional part.
25377 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25378 for call to __mcount_internal.
25379 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25380 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25381 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25383 2012-07-06 Joseph Myers <joseph@codesourcery.com>
25386 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25387 approximation for values within 0x1p-13f of an odd multiple of
25389 * math/libm-test.inc (tan_test): Do not allow spurious underflow
25390 exception. Add more tests.
25391 * sysdeps/i386/fpu/libm-test-ulps: Update.
25394 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25395 inputs and return -1 for them. Do not check for +Inf in case not
25396 reachable for +Inf.
25397 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25398 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25399 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25400 and return -1 for them. Do not check for +Inf in case not
25401 reachable for +Inf.
25402 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25404 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25405 and return -1 for them. Do not check for +Inf in case not
25406 reachable for +Inf.
25407 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
25408 spurious underflow.
25409 * sysdeps/i386/fpu/libm-test-ulps: Update.
25410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25412 2012-07-06 Mike Frysinger <vapier@gentoo.org>
25414 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25416 2012-07-05 Joseph Myers <joseph@codesourcery.com>
25420 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25421 could result in spurious underflow. Scale down values above
25422 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25423 * math/s_csqrtf.c (__csqrtf): Likewise.
25424 * math/s_csqrtl.c (__csqrtl): Likewise.
25425 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
25426 spurious underflow.
25427 * sysdeps/i386/fpu/libm-test-ulps: Update.
25428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25430 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
25432 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25434 * catgets/xopen-msg.awk: New file.
25435 * catgets/xopen-msg.sed: Removed.
25437 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25439 * intl/po2test.awk: New file.
25440 * intl/po2test.sed: Removed.
25442 2012-07-04 Joseph Myers <joseph@codesourcery.com>
25445 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25446 or multiply small sinh result by itself.
25447 * math/s_ctanf.c (__ctanf): Likewise.
25448 * math/s_ctanh.c (__ctanh): Likewise.
25449 * math/s_ctanhf.c (__ctanhf): Likewise.
25450 * math/s_ctanhl.c (__ctanhl): Likewise.
25451 * math/s_ctanl.c (__ctanl): Likewise.
25452 * math/libm-test.inc (ctan_test_tonearest): New function.
25453 (ctan_test_towardzero): Likewise.
25454 (ctan_test_downward): Likewise.
25455 (ctan_test_upward): Likewise.
25456 (ctanh_test_tonearest): Likewise.
25457 (ctanh_test_towardzero): Likewise.
25458 (ctanh_test_downward): Likewise.
25459 (ctanh_test_upward): Likewise.
25460 (main): Call these new functions.
25461 * sysdeps/i386/fpu/libm-test-ulps: Update.
25462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25464 2012-07-03 Mike Frysinger <vapier@gentoo.org>
25466 * .gitignore: Delete /ports entry.
25468 2012-07-03 Andreas Jaeger <aj@suse.de>
25470 * po/bg.po: Update from translation team.
25471 * po/cs.po: Likewise.
25472 * po/de.po: Likewise.
25473 * po/hr.po: Likewise.
25474 * po/nl.pl: Likewise.
25475 * po/pl.po: Likewise.
25476 * po/vi.po: Likewise.
25478 2012-07-03 Joseph Myers <joseph@codesourcery.com>
25480 * Makeconfig [!+link] (+link-before-libc): New variable.
25481 [!+link] (+link-after-libc): Likewise.
25482 [!+link] (+link-tests): Likewise.
25483 [!+link] (+link): Define in terms of $(+link-before-libc) and
25484 $(+link-after-libc).
25485 [!+link-static] (+link-static-before-libc): New variable.
25486 [!+link-static] (+link-static-after-libc): Likewise.
25487 [!+link-static] (+link-static-tests): Likewise.
25488 [!+link-static] (+link-static): Define in terms of
25489 $(+link-static-before-libc) and $(+link-static-after-libc).
25490 [build-shared] (link-libc-before-gnulib): New variable.
25491 [build-shared] (link-libc-tests): Likewise.
25492 [build-shared] (link-libc): Define in terms of
25493 $(link-libc-before-gnulib).
25494 [!build-shared] (link-libc-tests): New variable.
25495 (link-libc-static-tests): New variable.
25496 [!gnulib] (gnulib-arch): New variable.
25497 [!gnulib] (gnulib-tests): Likewise.
25498 [!gnulib] (static-gnulib-arch): Likewise.
25499 [!gnulib] (static-gnulib-tests): Likewise.
25500 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
25501 Define with "=" instead of ":=".
25502 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
25503 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
25504 * Rules (binaries-all-notests): New variable.
25505 (binaries-all-tests): Likewise.
25506 (binaries-static-notests): Likewise.
25507 (binaries-static-tests): Likewise.
25508 (binaries-all): Define using $(binaries-all-notests) and
25509 $(binaries-all-tests).
25510 (binaries-static): Define using $(binaries-static-notests) and
25511 $(binaries-static-tests).
25512 (binaries-shared-tests): New variable.
25513 (binaries-shared-notests): Likewise.
25514 (binaries-shared): Remove variable.
25515 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25516 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25517 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25518 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25519 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25520 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25521 * elf/Makefile (sln-modules): New variable.
25522 (extra-objs): Add $(sln-modules:=.o).
25523 (ldconfig-modules): Add static-stubs.
25524 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25525 * elf/static-stubs.c: New file.
25528 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25529 by 7 not 8 to examine high bit of fractional part. Use volatile
25530 variables when splitting into final array of floats if
25531 __FLT_EVAL_METHOD__ != 0.
25532 * math/libm-test.inc (cos_test): Add another test.
25533 (sin_test): Likewise.
25534 * sysdeps/i386/fpu/libm-test-ulps: Update.
25537 * math/libm-test.inc (cosh_test): Add more tests.
25539 * version.h (RELEASE): Set to "development".
25540 (VERSION): Set to "2.16.90".
25542 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
25544 * NEWS: Update copyright. Remove last-updated date.
25545 Mention math library bug fixes and timezone data changes.
25546 * README: Mention GNU/Hurd, x32, and HPPA support status.
25548 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
25550 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25552 2012-06-27 Andreas Jaeger <aj@suse.de>
25554 * manual/contrib.texi (Contributors): Add Samuel Thibault.
25556 2012-06-25 Andreas Jaeger <aj@suse.de>
25558 * sysdeps/s390/fpu/libm-test-ulps: Update.
25560 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
25561 Thomas Schwinge <thomas@codesourcery.com>
25563 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25564 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25565 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25568 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
25570 * sysdeps/mach/start.c: Remove file.
25571 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25572 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25573 * sysdeps/sh/init-first.c: Likewise.
25575 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25576 registers for frame unwinding purposes, add CFI directives.
25577 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25578 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25579 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25582 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25583 __fortify_fail returning.
25584 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25586 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25587 sysdeps/sh/____longjmp_chk.S.
25588 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25589 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25590 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25591 (gen-as-const-headers): Append sigaltstack-offsets.sym.
25593 * sysdeps/sh/abort-instr.h: New file.
25594 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25595 process in case exit returns.
25597 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25598 initialize the GOT register before use.
25600 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25601 calculation of ARGC > 4.
25603 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25604 meaningful names to some local labels.
25606 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25607 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25609 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25610 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25611 (__arch_compare_and_exchange_val_16_acq): Likewise.
25612 (__arch_compare_and_exchange_val_32_acq): Likewise.
25613 (atomic_exchange_and_add): Fix gUSA sequence.
25614 (atomic_add): Likewise.
25615 (atomic_add_negative): Likewise.
25616 (atomic_add_zero): Likewise.
25617 (atomic_bit_test_set): Likewise.
25619 2012-06-22 Andreas Schwab <schwab@redhat.com>
25622 * include/link.h (struct link_map): Add l_free_initfini.
25623 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25625 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25626 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25627 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25630 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
25632 * configure.in: Use AC_LANG_SOURCE.
25633 * configure: Regenerate.
25635 2012-06-22 Roland McGrath <roland@hack.frob.com>
25637 * configure.in (libc_cv_localstatedir): New substituted variable.
25638 * configure: Regenerated.
25639 * config.make.in (localstatedir): New variable, substituted from
25640 libc_cv_localstatedir.
25641 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25642 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25643 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25644 * sysdeps/gnu/configure: Regenerated.
25646 2012-06-21 Jeff Law <law@redhat.com>
25649 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25650 free. Simplify list management for _LIBC case.
25652 2012-06-21 Joseph Myers <joseph@codesourcery.com>
25655 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25656 Clear sign bit of 64-bit integer value before comparing against
25659 * sysdeps/mach/configure: Regenerated.
25661 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
25664 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25666 2012-06-21 Jeff Law <law@redhat.com>
25669 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
25670 uint16_t for elements in the "seen" array to avoid char overflows.
25671 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25672 * elf/dl-open.c (dl_open_worker): Likewise.
25674 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
25676 * scripts/list-sources.sh: Scan PORTS for translations.
25677 * po/libc.pot: Regenerated.
25679 2012-06-21 Andreas Jaeger <aj@suse.de>
25682 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25684 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25685 * bits/byteswap-16.h (__bswap_16): Likewise.
25686 * bits/byteswap.h (__bswap_constant_16): Likewise.
25688 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
25691 * sysdeps/i386/fpu_control.h: Removed.
25692 * sysdeps/x86_64/fpu_control.h: Moved to ...
25693 * sysdeps/x86/fpu_control.h: Here.
25695 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25696 (_FPU_SETCW): Likewise.
25698 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
25701 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25702 * sysdeps/x86/fpu/bits/mathinline.h: This.
25703 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25707 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25708 functions if __x86_64__ is defined.
25710 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
25712 * string/endian.h: Add !__ASSEMBLER__ condition for including
25713 conversion interfaces.
25715 2012-06-15 Joseph Myers <joseph@codesourcery.com>
25718 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25719 of ABS(x) in calculating zero to negative powers other than odd
25721 * math/libm-test.inc (pow_test): Add more tests.
25723 2012-06-15 Andreas Jaeger <aj@suse.de>
25725 * manual/contrib.texi (Contributors): Update entry of Liubov
25726 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25729 2012-06-15 Cyril Hrubis <metan@ucw.cz>
25731 * string/string.h: Add __wur to GNU version of strerror_r.
25733 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
25736 * string/Makefile (tests): Add tst-strtok_r.
25737 * string/tst-strtok_r.c: New file.
25738 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25739 RAX_LP/RDX_LP on SAVE_PTR.
25741 2012-06-14 Roland McGrath <roland@hack.frob.com>
25743 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25745 2012-06-14 Joseph Myers <joseph@codesourcery.com>
25747 * libm_test.inc (csqrt_test): Allow more spurious underflow
25749 (j0_test): Likewise.
25750 (j1_test): Likewise.
25751 (y0_test): Likewise.
25752 (y1_test): Likewise.
25754 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
25756 * po/Makefile (libc.pot): Use UTF-8 charset.
25758 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
25761 Suppress sign-conversion warning from FD_SET.
25762 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25763 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25764 not unsigned long int.
25765 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25767 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
25771 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25772 __extern_always_inline instead of __extern_inline.
25773 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25774 (__signbit): Likewise.
25775 (__signbitl): Support C++ namespace.
25776 (lrintf): New inline function.
25778 (llrintf): Likewise.
25779 (llrint): Likewise.
25789 (floorf): Likewise.
25790 (nearbyint): Likewise.
25791 (nearbyintf): Likewise.
25793 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
25795 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25796 non-default versions.
25798 2012-06-11 Roland McGrath <roland@hack.frob.com>
25801 * manual/argp.texi (Argp): Reword argp_parse description slightly.
25803 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
25805 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25806 (FE_UPWARD, FE_DOWNWARD): Don't define.
25807 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25808 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25810 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25812 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25813 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25815 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25817 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25819 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25820 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25822 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
25825 * sysdeps/i386/fpu/bits/fenv.h: Removed.
25826 * sysdeps/i386/fpu/Implies: New file.
25827 * sysdeps/x86_64/fpu/Implies: Likewise.
25828 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25829 * sysdeps/x86/fpu/bits/fenv.h: This.
25831 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25834 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
25837 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25838 character 0xffff that matches the last element of the
25841 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25843 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25846 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25848 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25849 values higher than 25.6283.
25851 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25853 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25854 subnormal exponent extraction and add some __builtin_expect.
25855 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25856 Fix for subnormal mantissa calculation.
25858 2012-06-04 Mike Frysinger <vapier@gentoo.org>
25860 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25861 cpu2 is -1 and errno is not ENOSYS.
25863 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
25866 * sysdeps/i386/i486/bits/string.h: Renamed to ...
25867 * sysdeps/x86/bits/string.h: This.
25868 * sysdeps/x86_64/bits/string.h: Removed.
25870 * sysdeps/i386/i486/bits/string.h: Define inline functions only
25871 if not compiling for x86-64, but compiling for >= i486.
25873 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25874 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25876 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25877 New macro from Linux kernel 3.4.0.
25878 (FP_XSTATE_MAGIC2): Likewise.
25879 (FP_XSTATE_MAGIC2_SIZE): Likewise.
25880 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25881 (struct _fpx_sw_bytes): New struct.
25882 (struct _xsave_hdr): Likewise.
25883 (struct _ymmh_state): Likewise.
25884 (struct _xstate): Likewise.
25886 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25887 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25888 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25889 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25890 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25891 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25893 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25894 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25895 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25896 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25897 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25898 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25900 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25903 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25904 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25905 (sysdep_headers): Include sys/platform/ppc.h.
25906 * sysdeps/powerpc/test-gettimebase.c: Test for
25907 __ppc_get_timebase() to catch future ISA opcode/insn changes.
25908 * manual/Makefile (appendices): Include platform.texi.
25909 * manual/contrib.texi (Contributors): Update @node pointers.
25910 * manual/maint.texi (Maintenance): Likewise.
25911 (Platform): New node.
25912 * manual/platform.texi: New file. Document the new features.
25914 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25915 Jakub Jelinek <jakub@redhat.com>
25918 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25919 where __builtin_expect is unavailable.
25921 2012-06-03 David S. Miller <davem@davemloft.net>
25923 * stdlib/longlong.h: Updated from GCC.
25925 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
25928 * sysdeps/powerpc/powerpc32/mcount.c: New file.
25929 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25932 (GLIBC_2.16): Likewise.
25934 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25936 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25938 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25941 (default-abi): New variable.
25942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25943 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25945 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25947 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25949 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25952 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25953 definition. Document in comment.
25955 2012-06-01 David S. Miller <davem@davemloft.net>
25957 * stdlib/longlong.h: Updated from GCC.
25959 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
25962 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25963 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25964 sys/debugreg.h sys/io.h here.
25965 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25966 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25968 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25969 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25970 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25971 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25972 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25973 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25976 Define only if __x86_64__ is defined.
25978 2012-06-01 Joseph Myers <joseph@codesourcery.com>
25981 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25982 Use int64_t for variable i.
25983 * math/libm-test.inc (fmod_test): Add more tests.
25985 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25986 z computation is not scheduled after fetestexcept.
25987 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25988 Use math_force_eval instead of asm to ensure calculation scheduled
25989 before exception test.
25990 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25991 Ensure a1 + u.d computation is not scheduled after fetestexcept.
25993 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
25995 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25996 computation is not scheduled after fetestexcept.
25998 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26001 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26002 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26004 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26006 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26007 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26009 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26012 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26014 (__WCHAR_MIN): Support __WORDSIZE == 64.
26015 (__WCHAR_MAX): Likewise.
26017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26018 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26021 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26022 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26025 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26026 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26028 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26029 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26031 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26032 Defined to 1 if __x86_64__ isn't defined.
26033 (_STAT_VER_LINUX_OLD): New.
26034 (st_atime): Remove duplicate.
26035 (st_mtime): Likewise.
26036 (st_ctime): Likewise.
26038 2012-05-31 David S. Miller <davem@davemloft.net>
26040 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26043 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26045 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26049 * elf/dl-reloc.c: Include <_itoa.h>.
26050 (_dl_reloc_bad_type): Remove use of INTUSE.
26051 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26052 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26053 * stdio-common/psiginfo.c (psiginfo): Likewise.
26054 * stdio-common/psignal.c (psignal): Likewise.
26055 * string/strsignal.c (strsignal): Likewise.
26056 * include/signal.h (_sys_siglist): Declare hidden proto.
26057 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26058 INTVARDEF with libc_hidden_data_def.
26059 * stdio-common/itoa-udigits.c: Likewise.
26060 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26061 (_itoa_lower_digits_internal): Remove declaration.
26062 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26063 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26064 (_sys_sigabbrev_internal): Remove aliases.
26065 (_sys_siglist): Define hidden alias.
26067 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26072 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26075 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
26076 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
26078 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
26079 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
26080 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
26081 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
26082 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
26083 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
26085 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
26086 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
26087 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
26089 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
26097 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
26098 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
26099 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
26101 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
26102 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
26103 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
26104 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
26105 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
26106 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
26108 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
26109 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
26111 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
26112 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
26114 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
26115 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
26116 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
26118 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
26119 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
26121 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
26123 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
26124 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
26125 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
26127 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
26129 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
26131 2012-05-31 Joseph Myers <joseph@codesourcery.com>
26133 * math/math.h (M_El): Use two more decimal places.
26134 (M_LOG2El): Likewise.
26135 (M_LOG10El): Likewise.
26136 (M_LN2l): Likewise.
26137 (M_LN10l): Likewise.
26139 (M_PI_2l): Likewise.
26140 (M_PI_4l): Likewise.
26141 (M_1_PIl): Likewise.
26142 (M_2_PIl): Likewise.
26143 (M_2_SQRTPIl): Likewise.
26144 (M_SQRT2l): Likewise.
26145 (M_SQRT1_2l): Likewise.
26147 2012-05-31 David S. Miller <davem@davemloft.net>
26149 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
26150 values between float registers.
26151 * sysdeps/sparc/sparc64/memset.S: Likewise.
26152 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26154 2012-05-31 Mike Frysinger <vapier@gentoo.org>
26156 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
26157 -D_FORTIFY_SOURCE=1.
26158 (CPPFLAGS-tst-longjmp_chk.c): Define.
26159 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
26160 (CPPFLAGS-tst-longjmp_chk2.c): Define.
26161 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
26162 CFLAGS-tst-wchar-h.c.
26164 2012-05-31 Marek Polacek <polacek@redhat.com>
26167 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
26168 __endmntent_internal): Remove declaration.
26169 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
26170 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
26171 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
26173 2012-05-30 David S. Miller <davem@davemloft.net>
26175 * sysdeps/sparc/sparc32/soft-fp/q_util.c
26176 (___Q_simulate_exceptions): Use real FP ops rather than writing
26178 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
26181 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26184 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
26185 * sysdeps/x86/bits/xtitypes.h: This.
26187 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
26188 * sysdeps/x86/bits/wordsize.h: This.
26190 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26191 * sysdeps/x86/bits/huge_vall.h: This.
26193 * sysdeps/i386/bits/select.h: Removed.
26194 * sysdeps/x86_64/bits/select.h: Renamed to ...
26195 * sysdeps/x86/bits/select.h: This.
26197 * sysdeps/i386/bits/setjmp.h: Removed.
26198 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26199 * sysdeps/x86/bits/setjmp.h: This.
26201 * sysdeps/i386/bits/mathdef.h: Removed.
26202 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26203 * sysdeps/x86/bits/mathdef.h: This.
26205 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
26208 * include/sys/socket.h (__connect_internal)
26209 (__libc_sa_len_internal): Remove declaration.
26210 (__connect, __libc_sa_len): Declare hidden_proto.
26211 (SA_LEN): Remove use of INTUSE.
26212 * socket/connect.c: Add libc_hidden_def.
26213 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26214 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26215 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26217 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26218 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26219 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26220 of adding _internal alias.
26222 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26225 * sysdeps/i386/bits/link.h: Removed.
26226 * sysdeps/i386/bits/linkmap.h: Likewise.
26227 * sysdeps/x86_64/bits/link.h: Renamed to ...
26228 * sysdeps/x86/bits/link.h: This.
26229 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26230 * sysdeps/x86/bits/linkmap.h: This.
26232 * sysdeps/i386/bits/endian.h: Removed.
26233 * sysdeps/x86_64/bits/endian.h: Renamed to ...
26234 * sysdeps/x86/bits/endian.h: This.
26236 * sysdeps/i386/bits/byteswap.h: Removed.
26237 * sysdeps/i386/bits/byteswap-16.h: Likewise.
26238 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26239 * sysdeps/x86/bits/byteswap.h: This.
26240 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26241 * sysdeps/x86/bits/byteswap-16.h: This.
26242 * sysdeps/i386/Implies: Add x86.
26243 * sysdeps/x86_64/Implies: Likewise.
26245 2012-05-30 David S. Miller <davem@davemloft.net>
26247 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26248 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26249 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26250 (FP_TRAPPING_EXCEPTIONS): Define.
26251 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26252 (FP_TRAPPING_EXCEPTIONS): Define.
26253 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26254 subnormals only when inexact has been signalled or underflow
26255 exceptions are enabled.
26256 (_FP_PACK_CANONICAL): Likewise.
26258 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26262 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26264 2012-05-30 Richard Henderson <rth@twiddle.net>
26266 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26267 with #ifndef NOT_IN_libc.
26269 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
26270 marked to avoid plt entry.
26272 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
26275 * Makeconfig (default-abi): New macro.
26276 (abi-includes): Likewise.
26277 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
26278 $(abi-$(default-abi)-lib-soname) for soname if defined.
26279 ($(common-objpfx)gnu/lib-names.stmp): Generate from
26281 * Makefile (installed-stubs): Likewise.
26282 * include/stubs-biarch.h: Removed.
26283 * scripts/lib-names.awk: Only handle one library at a time.
26284 * scripts/soversions.awk: Remove WORDSIZE support.
26285 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26287 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26289 (syscall-list-default-condition): Likewise.
26290 (syscall-list-default-condition): Likewise.
26291 (syscall-list-includes): Likewise.
26292 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26293 syscall-list-* with abi-*. Handle undefined abi-variants.
26294 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26295 * sysdeps/unix/sysv/linux/i386/Implies: New file.
26296 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26297 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26298 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26299 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26301 (syscall-list-32-options): Likewise.
26302 (syscall-list-32-condition): Likewise.
26303 (syscall-list-64-options): Likewise.
26304 (syscall-list-64-condition): Likewise.
26305 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26307 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26310 (abi-64-ld-soname): New macro.
26311 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26312 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26315 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26316 * sysdeps/x86_64/x32/shlib-versions: Likewise.
26318 2012-05-30 Joseph Myers <joseph@codesourcery.com>
26320 * sysdeps/unix/sysv/linux/kernel-features.h
26321 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26322 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26323 include <kernel-features.h>.
26324 [!__NR_ftruncate64]: Remove conditional code.
26325 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26326 [__NR_ftruncate64]: Make code unconditional.
26327 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26328 * sysdeps/unix/sysv/linux/truncate64.c: Do not
26329 include <kernel-features.h>.
26330 [!__NR_ftruncate64]: Remove conditional code.
26331 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26332 [__NR_ftruncate64]: Make code unconditional.
26333 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26335 include <kernel-features.h>.
26336 [!__NR_ftruncate64]: Remove conditional code.
26337 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26338 [__NR_ftruncate64]: Make code unconditional.
26339 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26341 include <kernel-features.h>.
26342 [!__NR_ftruncate64]: Remove conditional code.
26343 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26344 [__NR_ftruncate64]: Make code unconditional.
26345 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26347 * configure.in (libc_cv_fpie): Weaken to a compile test using
26348 LIBC_TRY_CC_OPTION.
26349 * configure: Regenerated.
26351 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26366 2012-05-27 David S. Miller <davem@davemloft.net>
26368 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26370 (__Q_simulate_exceptions): Return void. Change to simulate
26371 exceptions by writing into the %fsr.
26372 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26373 (__Qp_handle_exceptions): Likewise.
26375 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26376 __Qp_handle_exceptions.
26377 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26378 __Qp_handle_exceptions.
26379 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26380 as unused and give dummy FP_RND_NEAREST initializer.
26381 (FP_INHIBIT_RESULTS): Define.
26382 (___Q_simulate_exceptions): Update declaration.
26383 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26385 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26386 as unused and give dummy FP_RND_NEAREST initializer.
26387 (__Qp_handle_exceptions): Update declaration.
26388 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26391 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
26393 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26394 the temporary FPU control word.
26395 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26396 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26397 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26398 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26399 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26400 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26401 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26402 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26403 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26404 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26405 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26407 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26409 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26412 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
26414 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26415 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26416 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26417 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26419 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26420 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26423 2012-05-27 Ulrich Drepper <drepper@gmail.com>
26425 * po/h.po: Update from translation team.
26427 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
26429 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26431 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26432 handling of denormals.
26433 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26434 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26435 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26436 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26437 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26439 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26442 2012-05-26 Marek Polacek <polacek@redhat.com>
26445 * math/libm-test.inc (fma_test): Don't always expect underflow
26448 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26451 * elf/tst-execstack.c: Include stackinfo.h.
26452 (do_test): Adjust test case to ensure that pthread_getattr_np
26453 behaviour remains the same after marking stack executable.
26455 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26457 * sysdeps/unix/sysv/linux/kernel-features.h
26458 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26459 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26461 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26462 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26463 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26465 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26466 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26468 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
26470 * configure.in: Define the default includes to being none.
26471 * configure: Regenerated.
26473 2012-05-25 Roland McGrath <roland@hack.frob.com>
26475 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26476 * sysdeps/x86_64/setjmp.S: Likewise.
26477 * sysdeps/i386/bsd-setjmp.S: Likewise.
26478 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26479 * sysdeps/i386/setjmp.S: Likewise.
26480 * sysdeps/i386/__longjmp.S: Likewise.
26481 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26482 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26484 * include/stap-probe.h: New file.
26485 * configure.in: Handle --enable-systemtap.
26486 * configure: Regenerated.
26487 * config.h.in (USE_STAP_PROBE): New #undef.
26488 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26489 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26490 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26492 2012-05-25 Joseph Myers <joseph@codesourcery.com>
26495 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26496 to 2.4.0 where earlier.
26497 * sysdeps/unix/sysv/linux/configure: Regenerated.
26498 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26499 <kernel-features.h>.
26500 [__ASSUME_32BITUIDS]: Make code unconditional.
26501 [!__ASSUME_32BITUIDS]: Remove conditional code.
26502 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26503 <kernel-features.h>.
26504 [__ASSUME_32BITUIDS]: Make code unconditional.
26505 [!__ASSUME_32BITUIDS]: Remove conditional code.
26506 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26507 [__ASSUME_32BITUIDS]: Make code unconditional.
26508 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26509 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26510 <kernel-features.h>.
26511 [__ASSUME_32BITUIDS]: Make code unconditional.
26512 [!__ASSUME_32BITUIDS]: Remove conditional code.
26513 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26514 <kernel-features.h>.
26515 [__ASSUME_32BITUIDS]: Make code unconditional.
26516 [!__ASSUME_32BITUIDS]: Remove conditional code.
26517 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26518 <kernel-features.h>.
26519 [__ASSUME_32BITUIDS]: Make code unconditional.
26520 [!__ASSUME_32BITUIDS]: Remove conditional code.
26521 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26522 <kernel-features.h>.
26523 [__ASSUME_32BITUIDS]: Make code unconditional.
26524 [!__ASSUME_32BITUIDS]: Remove conditional code.
26525 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26526 <kernel-features.h>.
26527 [__ASSUME_32BITUIDS]: Make code unconditional.
26528 [!__ASSUME_32BITUIDS]: Remove conditional code.
26529 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26530 <kernel-features.h>.
26531 [__ASSUME_32BITUIDS]: Make code unconditional.
26532 [!__ASSUME_32BITUIDS]: Remove conditional code.
26533 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26534 <kernel-features.h>.
26535 [__ASSUME_32BITUIDS]: Make code unconditional.
26536 [!__ASSUME_32BITUIDS]: Remove conditional code.
26537 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26538 <kernel-features.h>.
26539 [__ASSUME_32BITUIDS]: Make code unconditional.
26540 [!__ASSUME_32BITUIDS]: Remove conditional code.
26541 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26542 <kernel-features.h>.
26543 [__ASSUME_32BITUIDS]: Make code unconditional.
26544 [!__ASSUME_32BITUIDS]: Remove conditional code.
26545 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26546 <kernel-features.h>.
26547 [__ASSUME_32BITUIDS]: Make code unconditional.
26548 [!__ASSUME_32BITUIDS]: Remove conditional code.
26549 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26550 <kernel-features.h>.
26551 [__NR_setresgid] (__setresgid): Do not declare.
26552 [__ASSUME_32BITUIDS]: Make code unconditional.
26553 [!__ASSUME_32BITUIDS]: Remove conditional code.
26554 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26555 <kernel-features.h>.
26556 [__NR_setresuid] (__setresuid): Do not declare.
26557 [__ASSUME_32BITUIDS]: Make code unconditional.
26558 [!__ASSUME_32BITUIDS]: Remove conditional code.
26559 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26560 <kernel-features.h>.
26561 [__ASSUME_32BITUIDS]: Make code unconditional.
26562 [!__ASSUME_32BITUIDS]: Remove conditional code.
26563 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26564 <kernel-features.h>.
26565 [__ASSUME_32BITUIDS]: Make code unconditional.
26566 [!__ASSUME_32BITUIDS]: Remove conditional code.
26567 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26568 <kernel-features.h>.
26569 [__ASSUME_32BITUIDS]: Make code unconditional.
26570 [!__ASSUME_32BITUIDS]: Remove conditional code.
26571 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26572 <kernel-features.h>.
26573 [__ASSUME_32BITUIDS]: Make code unconditional.
26574 [!__ASSUME_32BITUIDS]: Remove conditional code.
26575 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26576 <kernel-features.h>.
26577 [__ASSUME_32BITUIDS]: Make code unconditional.
26578 [!__ASSUME_32BITUIDS]: Remove conditional code.
26579 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26580 <kernel-features.h>.
26581 [__ASSUME_32BITUIDS]: Make code unconditional.
26582 [!__ASSUME_32BITUIDS]: Remove conditional code.
26583 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26584 <kernel-features.h>.
26585 [__ASSUME_32BITUIDS]: Make code unconditional.
26586 [!__ASSUME_32BITUIDS]: Remove conditional code.
26587 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26588 <kernel-features.h>.
26589 [__ASSUME_32BITUIDS]: Make code unconditional.
26590 [!__ASSUME_32BITUIDS]: Remove conditional code.
26591 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26592 <kernel-features.h>.
26593 [__ASSUME_32BITUIDS]: Make code unconditional.
26594 [!__ASSUME_32BITUIDS]: Remove conditional code.
26595 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26596 <kernel-features.h>.
26597 [__ASSUME_32BITUIDS]: Make code unconditional.
26598 [!__ASSUME_32BITUIDS]: Remove conditional code.
26599 * sysdeps/unix/sysv/linux/kernel-features.h
26600 (__ASSUME_SETRESUID_SYSCALL): Remove.
26601 (__ASSUME_SETRESGID_SYSCALL): Likewise.
26602 (__ASSUME_32BITUIDS): Likewise.
26603 (__ASSUME_LDT_WORKS): Likewise.
26604 (__ASSUME_O_DIRECTORY): Likewise.
26605 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26606 architecture but not kernel version.
26607 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26608 (__ASSUME_MMAP2_SYSCALL): Likewise.
26609 (__ASSUME_STAT64_SYSCALL): Likewise.
26610 (__ASSUME_IPC64): Likewise.
26611 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26612 <kernel-features.h>.
26613 [__ASSUME_32BITUIDS]: Make code unconditional.
26614 [!__ASSUME_32BITUIDS]: Remove conditional code.
26615 * sysdeps/unix/sysv/linux/opendir.c: Do not include
26616 <kernel-features.h>.
26617 [__ASSUME_O_DIRECTORY]: Make code unconditional.
26618 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26619 132096]: Remove conditional code.
26620 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26621 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26622 <kernel-features.h>.
26623 [__ASSUME_32BITUIDS]: Make code unconditional.
26624 [!__ASSUME_32BITUIDS]: Remove conditional code.
26625 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26626 <kernel-features.h>.
26627 [__ASSUME_32BITUIDS]: Make code unconditional.
26628 [!__ASSUME_32BITUIDS]: Remove conditional code.
26629 * sysdeps/unix/sysv/linux/setegid.c: Do not include
26630 <kernel-features.h>.
26631 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26633 (__setresgid): Do not declare.
26634 [__ASSUME_32BITUIDS]: Make code unconditional.
26635 [!__ASSUME_32BITUIDS]: Remove conditional code.
26636 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26637 <kernel-features.h>.
26638 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26640 (__setresuid): Do not declare.
26641 [__ASSUME_32BITUIDS]: Make code unconditional.
26642 [!__ASSUME_32BITUIDS]: Remove conditional code.
26643 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26644 <kernel-features.h>.
26645 [__ASSUME_32BITUIDS]: Make code unconditional.
26646 [!__ASSUME_32BITUIDS]: Remove conditional code.
26647 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26648 <kernel-features.h>.
26649 [__ASSUME_32BITUIDS]: Make code unconditional.
26650 [!__ASSUME_32BITUIDS]: Remove conditional code.
26652 2012-05-25 Richard Henderson <rth@twiddle.net>
26654 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26655 dl_hwcap to ifunc resolver.
26656 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26658 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26659 dl_hwcap to ifunc resolver.
26660 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26662 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26665 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26666 for |x| <= 2**-26, not 2**-57.
26667 * math/libm-test.inc (acos_test): Do not allow spurious underflow
26670 2012-05-24 Jeff Law <law@redhat.com>
26672 * stdio-common/Makefile (tests): Add bug25.
26673 * stdio-common/bug25.c: New test.
26675 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26678 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26679 multiple of MALLOC_ALIGNMENT in size.
26680 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26682 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26684 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26686 (FILENAME_MAX): Use macro-int-constant.
26687 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
26688 (_IOFBF): Use macro-int-constant.
26689 (_IOLBF): Likewise.
26690 (_IONBF): Likewise.
26691 (SEEK_CUR): Likewise.
26692 (SEEK_END): Likewise.
26693 (SEEK_SET): Likewise.
26694 (TMP_MAX): Likewise.
26695 (EOF): Use macro-int-constant. Require < 0.
26696 (NULL): Use macro-constant. Require == 0.
26697 (stdin): Require type to be FILE *.
26698 (stdout): Likewise.
26699 (stderr): Likewise.
26700 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26701 macro-int-constant.
26702 (EXIT_SUCCESS): Likewise.
26703 (NULL): Use macro-constant. Require == 0.
26704 (RAND_MAX): Use macro-int-constant.
26705 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26706 [C99-based standards] (strtof): Require function.
26707 [C99-based standards] (strtold): Likewise.
26708 [C99-based standards] (strtoll): Likewise.
26709 [C99-based standards] (strtoull): Likewise.
26710 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26711 [ISO || ISO99 || ISO11] (limits.h): Likewise.
26712 [ISO || ISO99 || ISO11] (math.h): Likewise.
26713 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26714 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26715 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26717 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
26720 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26721 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26722 * intl/dgettext.c (DCGETTEXT): Likewise.
26723 * intl/gettext.c (DCGETTEXT): Likewise.
26724 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26725 * posix/regex_internal.h (gettext): Likewise.
26726 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26727 Remove declaration.
26728 * include/argz.h (__argz_count_internal)
26729 (__argz_stringify_internal): Remove declaration.
26730 (__argz_count, __argz_stringify): Declare hidden proto.
26731 * intl/dcgettext.c: Remove use of INTDEF.
26732 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26733 * string/argz-stringify.c: Likewise.
26734 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26735 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26736 Declare hidden proto.
26737 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26738 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26739 Declare hidden proto.
26740 * include/stdio.h (__asprintf_internal): Don't declare.
26741 (__asprintf): Don't define as macro. Declare hidden proto.
26742 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26743 (__fsetlocking): Declare hidden proto.
26744 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26745 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26747 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26748 (_IO_setlinebuf): Remove use of INTUSE.
26749 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26750 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26751 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26752 Remove declaration.
26753 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26754 (_IO_do_flush): Remove use of INTUSE.
26755 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26756 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26757 (_IO_adjust_column, _IO_least_wmarker)
26758 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26759 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26760 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26761 (_IO_default_doallocate, _IO_wdefault_doallocate)
26762 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26763 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26764 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26765 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26766 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26767 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26768 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26769 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26770 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26771 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26772 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26773 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26774 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26776 (_IO_flush_all_internal, _IO_adjust_column_internal)
26777 (_IO_default_uflow_internal, _IO_default_finish_internal)
26778 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26779 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26780 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26781 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26782 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26783 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26784 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26785 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26786 (_IO_file_close_internal, _IO_file_close_it_internal)
26787 (_IO_file_underflow_internal, _IO_file_overflow_internal)
26788 (_IO_file_init_internal, _IO_file_attach_internal)
26789 (_IO_file_fopen_internal, _IO_file_read_internal)
26790 (_IO_file_sync_internal, _IO_file_seek_internal)
26791 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26792 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26793 (_IO_str_underflow_internal, _IO_str_overflow_internal)
26794 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26795 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26796 (_IO_list_all_internal, _IO_link_in_internal)
26797 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26798 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26799 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26800 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26801 (_IO_do_write_internal, _IO_padn_internal)
26802 (_IO_getline_info_internal, _IO_getline_internal)
26803 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26804 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26805 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26806 (_IO_vfscanf_internal, _IO_vfprintf_internal)
26807 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26808 (_IO_init_internal, _IO_un_link_internal): Don't declare.
26809 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26810 with libc_hidden_ver, remove use of INTUSE.
26811 * libio/genops.c: Likewise.
26812 * libio/freopen.c: Likewise.
26813 * libio/freopen64.c: Likewise.
26814 * libio/iofclose.c: Likewise.
26815 * libio/iofdopen.c: Likewise.
26816 * libio/iofflush.c: Likewise.
26817 * libio/iofflush_u.c: Likewise.
26818 * libio/iofgets.c: Likewise.
26819 * libio/iofgets_u.c: Likewise.
26820 * libio/iofopen.c: Likewise.
26821 * libio/iofopncook.c: Likewise.
26822 * libio/iofread.c: Likewise.
26823 * libio/iofread_u.c: Likewise.
26824 * libio/ioftell.c: Likewise.
26825 * libio/iofwrite.c: Likewise.
26826 * libio/iogetline.c: Likewise.
26827 * libio/iogets.c: Likewise.
26828 * libio/iogetwline.c: Likewise.
26829 * libio/iopadn.c: Likewise.
26830 * libio/iopopen.c: Likewise.
26831 * libio/ioseekoff.c: Likewise.
26832 * libio/ioseekpos.c: Likewise.
26833 * libio/iosetbuffer.c: Likewise.
26834 * libio/iosetvbuf.c: Likewise.
26835 * libio/ioungetc.c: Likewise.
26836 * libio/ioungetwc.c: Likewise.
26837 * libio/iovdprintf.c: Likewise.
26838 * libio/iovsprintf.c: Likewise.
26839 * libio/iovsscanf.c: Likewise.
26840 * libio/memstream.c: Likewise.
26841 * libio/obprintf.c: Likewise.
26842 * libio/oldfileops.c: Likewise.
26843 * libio/oldiofclose.c: Likewise.
26844 * libio/oldiofdopen.c: Likewise.
26845 * libio/oldiofopen.c: Likewise.
26846 * libio/oldiopopen.c: Likewise.
26847 * libio/oldstdfiles.c: Likewise.
26848 * libio/putc.c: Likewise.
26849 * libio/setbuf.c: Likewise.
26850 * libio/setlinebuf.c: Likewise.
26851 * libio/stdfiles.c: Likewise.
26852 * libio/strops.c: Likewise.
26853 * libio/vasprintf.c: Likewise.
26854 * libio/vscanf.c: Likewise.
26855 * libio/vsnprintf.c: Likewise.
26856 * libio/vswprintf.c: Likewise.
26857 * libio/wfiledoalloc.c: Likewise.
26858 * libio/wfileops.c: Likewise.
26859 * libio/wgenops.c: Likewise.
26860 * libio/wmemstream.c: Likewise.
26861 * libio/wstrops.c: Likewise.
26862 * libio/__fpurge.c: Likewise.
26863 * libio/__fsetlocking.c: Likewise.
26864 * assert/assert.c: Likewise.
26865 * debug/fgets_chk.c: Likewise.
26866 * debug/fgets_u_chk.c: Likewise.
26867 * debug/fread_chk.c: Likewise.
26868 * debug/fread_u_chk.c: Likewise.
26869 * debug/gets_chk.c: Likewise.
26870 * debug/obprintf_chk.c: Likewise.
26871 * debug/vasprintf_chk.c: Likewise.
26872 * debug/vdprintf_chk.c: Likewise.
26873 * debug/vsnprintf_chk.c: Likewise.
26874 * debug/vsprintf_chk.c: Likewise.
26875 * malloc/mtrace.c: Likewise.
26876 * misc/error.c: Likewise.
26877 * misc/syslog.c: Likewise.
26878 * stdio-common/asprintf.c: Likewise.
26879 * stdio-common/fxprintf.c: Likewise.
26880 * stdio-common/getw.c: Likewise.
26881 * stdio-common/isoc99_fscanf.c: Likewise.
26882 * stdio-common/isoc99_scanf.c: Likewise.
26883 * stdio-common/isoc99_vfscanf.c: Likewise.
26884 * stdio-common/isoc99_vscanf.c: Likewise.
26885 * stdio-common/isoc99_vsscanf.c: Likewise.
26886 * stdio-common/printf-prs.c: Likewise.
26887 * stdio-common/printf_fp.c: Likewise.
26888 * stdio-common/printf_fphex.c: Likewise.
26889 * stdio-common/printf_size.c: Likewise.
26890 * stdio-common/putw.c: Likewise.
26891 * stdio-common/scanf.c: Likewise.
26892 * stdio-common/sprintf.c: Likewise.
26893 * stdio-common/tmpfile.c: Likewise.
26894 * stdio-common/vfprintf.c: Likewise.
26895 * stdio-common/vfscanf.c: Likewise.
26896 * stdlib/strfmon_l.c: Likewise.
26897 * sunrpc/openchild.c: Likewise.
26898 * sunrpc/xdr_stdio.c: Likewise.
26899 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26900 * sysdeps/mach/hurd/tmpfile.c: Likewise.
26902 2012-05-24 Roland McGrath <roland@hack.frob.com>
26904 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26906 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26907 in the third column, to generate for the shared library an IFUNC
26908 that uses _dl_vdso_vsym.
26909 * Makerules (COMPILE.c, compile-stdin.c): New variables.
26910 * Makeconfig (object-suffixes-noshared): New variable.
26912 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26913 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26914 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26915 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26918 * include/sys/time.h (__gettimeofday): Remove macro.
26919 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26920 * time/gettimeofday.c (__gettimeofday): Remove #undef.
26922 (__gettimeofday): Add libc_hidden_def.
26923 (gettimeofday): Add libc_hidden_weak.
26924 * sysdeps/mach/gettimeofday.c: Likewise.
26925 * sysdeps/posix/gettimeofday.c: Likewise.
26926 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26927 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26928 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26929 (__gettimeofday_internal): Remove strong_alias.
26930 (__gettimeofday): Add libc_hidden_def.
26931 (gettimeofday): Add libc_hidden_weak.
26932 * sysdeps/unix/syscalls.list (gettimeofday):
26933 Remove __gettimeofday_internal alias.
26935 2012-05-24 Daniel Jacobowitz <drow@false.org>
26936 H.J. Lu <hongjiu.lu@intel.com>
26939 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26940 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26941 (largebin_index_32_big): New.
26942 (largebin_index): Use it for 16-byte alignment.
26943 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
26944 correction with front_misalign.
26946 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
26948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26951 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26957 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26959 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26961 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26963 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26965 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26969 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26971 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26974 * scripts/data/c++-types-x32-linux-gnu.data: New file.
26975 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26977 2012-05-24 Joseph Myers <joseph@codesourcery.com>
26981 * math/libm-test.inc (exp_test): Add test from bug 14036.
26982 (pow_test): Add test from bug 10846.
26984 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26986 (special_function): Do not include flags in test name.
26987 (parse_args): Likewise.
26988 * sysdeps/i386/fpu/libm-test-ulps: Update.
26989 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26990 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26991 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26994 * math/gen-libm-test.pl (%beautify): Add entries for underflow
26996 * math/libm-test.inc ("Philosophy"): Update comment about
26998 (UNDERFLOW_EXCEPTION): New macro.
26999 (UNDERFLOW_EXCEPTION_OK): Likewise.
27000 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27001 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27002 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27003 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27004 (INVALID_EXCEPTION_OK): Update value.
27005 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27006 (OVERFLOW_EXCEPTION_OK): Likewise.
27007 (IGNORE_ZERO_INF_SIGN): Likewise.
27008 (test_exceptions): Handle underflow exceptions.
27009 (acos_test): Update for underflow exception expectations.
27010 (cexp_test): Likewise.
27011 (clog_test): Likewise.
27012 (clog10_test): Likewise.
27013 (csqrt_test): Likewise.
27014 (ctan_test): Likewise.
27015 (ctanh_test): Likewise.
27016 (exp_test): Likewise.
27017 (exp10_test): Likewise.
27018 (exp2_test): Likewise.
27019 (expm1_test): Likewise.
27020 (fma_test): Likewise.
27021 (j0_test): Likewise.
27022 (jn_test): Likewise.
27023 (nexttoward_test): Likewise.
27024 (pow_test): Likewise.
27025 (scalbn_test): Likewise.
27026 (scalbln_test): Likewise.
27027 (tan_test): Likewise.
27028 (y1_test): Likewise.
27029 * sysdeps/i386/fpu/libm-test-ulps: Update.
27030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27032 2012-05-23 David S. Miller <davem@davemloft.net>
27034 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27035 (__libc_sigaction): Remove unused local variables.
27037 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27039 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27041 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27043 mktime: avoid signed integer overflow
27044 * time/mktime.c (__mktime_internal): Do not mishandle the case
27045 where diff == INT_MIN.
27047 mktime: simplify computation of average
27048 * time/mktime.c (ranged_convert): Use new time_t_avg function
27049 instead of rolling our own (probably-slower) code.
27051 mktime: do not assume signed right shift propagates sign bit
27052 * time/mktime.c (isdst_differ): New static function.
27053 (__mktime_internal): No need to normalize tm_isdst now.
27054 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27057 mktime: merge another wrapv change from gnulib
27058 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27059 from some compilers.
27061 mktime: remove incorrect attempt at unusual arithmetics
27062 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27063 The code didn't really work on such machines anyway.
27064 (TYPE_MINIMUM): Assume two's complement.
27065 (twos_complement_arithmetic): Verify that long_int and time_t
27066 are two's complement (or unsigned, in the latter case).
27068 mktime: check signed shifts on long_int and time_t, too
27069 * time/mktime.c (SHR): Check that shifts work as desired
27070 on the types long_int and time_t too, as SHR is used on
27073 mktime: do not assume 'long' is wide enough
27074 * time/mktime.c (verify): Move decl up.
27075 (long_int): New type.
27076 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
27077 to remove assumption in the code that 'long' is wide enough to
27078 store year values. This assumption is not true on x32 and on
27079 some non-glibc platforms.
27081 mktime: merge wrapv change from gnulib
27082 * time/mktime.c (WRAPV): New macro.
27083 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
27084 (guess_time_tm, __mktime_internal): Do not assume that signed
27085 integer overflow wraps around; modern compilers generate code
27086 where this assumption is no longer valid.
27088 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27090 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27091 Replace "jmp L(pseudo_end)" with "ret".
27092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
27095 2012-05-23 Andreas Jaeger <aj@suse.de>
27097 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
27098 * sysdeps/unix/sysv/linux/poll.c: Remove file.
27100 2012-05-23 Andreas Jaeger <aj@suse.de>
27101 Maximilian Attems <max@stro.at>
27103 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
27106 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27108 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
27109 code so that pseudo_end is just ret and the stack pointer is
27110 correct also for static library in error case.
27112 2012-05-23 Joseph Myers <joseph@codesourcery.com>
27114 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
27115 move to syscalls.list.
27116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
27117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27121 * manual/install.texi (Running make install): Do not mention Linux
27122 kernel version for which pt_chown is not needed.
27123 (Linux): Do not mention problems with nscd with 2.0 kernels.
27124 * INSTALL: Regenerated.
27126 2012-05-23 Andreas Jaeger <aj@suse.de>
27128 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
27129 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
27131 * sysdeps/unix/sysv/linux/s390/bits/mman.h
27132 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27133 * sysdeps/unix/sysv/linux/sh/bits/mman.h
27134 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27135 * sysdeps/unix/sysv/linux/i386/bits/mman.h
27136 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27137 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
27138 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27139 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
27140 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
27141 * sysdeps/unix/sysv/linux/bits/in.h
27142 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
27144 2012-05-22 Roland McGrath <roland@hack.frob.com>
27146 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
27147 (PREPARE_VERSION): Just use assert instead, it will be elided
27148 under [NDEBUG] anyway.
27150 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27152 * sysdeps/unix/sysv/linux/Makefile: Include
27153 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
27154 (sysdep_routines): Remove sysctl.
27155 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
27156 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
27157 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
27158 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
27159 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
27161 2012-05-22 Andreas Jaeger <aj@suse.de>
27163 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
27164 that pseudo_end is just ret and the stack pointer is correct also
27165 for static library in error case.
27167 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
27170 * nss/nsswitch.c (defconfig_entries): New variable.
27171 (__nss_database_lookup): Don't leak defconfig entries.
27172 (nss_parse_service_list): Don't leak on error paths.
27173 (free_database_entries): New function.
27174 (free_defconfig): New function.
27175 (free_mem): Move common code to free_database_entries.
27177 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27179 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
27181 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
27183 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27184 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
27185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
27187 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
27188 (INTERNAL_SYSCALL_TYPES): Likewise.
27189 (LOAD_ARGS_TYPES_[1-6]): Likewise.
27190 (LOAD_REGS_TYPES_[1-6]): Likewise.
27191 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27192 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27194 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27196 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27197 copysignl for GLIBC_2_0.
27198 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27199 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27200 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27201 logbl for GLIBC_2_0.
27202 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27203 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27205 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27207 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27208 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27210 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27213 * time/mktime.c: Update copyright years.
27215 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
27217 mktime: merge comment-quoting-style change from gnulib
27218 * time/mktime.c: Quote 'like this' in comments.
27219 The GNU coding standards suggest that we no longer quote `like this',
27220 as "`" and "'" are typically rendered asymmetrically nowadays.
27221 The typical gnulib style is to quote 'like this' when quoting
27222 code, and "like this" when quoting English.
27224 * time/mktime.c (compile-command): Add "-I.".
27226 mktime: merge mktime-internal.h change from gnulib
27227 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27229 mktime: merge time_r change from gnulib
27230 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27232 mktime: merge DEBUG change from gnulib
27233 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27234 case system <time.h> has a #define.
27236 mktime: merge <sys/types.h> change from gnulib
27237 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27238 since <time.t> is now guaranteed to define time_t.
27240 mktime: merge HAVE_CONFIG_H change from gnulib
27241 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27243 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
27245 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27248 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27250 (struct rusage): Use anonymous union to pad each field to
27253 2012-05-21 David S. Miller <davem@davemloft.net>
27255 * Makefules (o-iterator): Remove .s cases.
27256 (compile-command.s): Delete.
27257 (COMPILE.s): Delete.
27258 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27260 2012-05-21 Joseph Myers <joseph@codesourcery.com>
27262 * configure.in (libc_cv_predef_stack_protector): Only consider
27263 "foobar" and "__stack_chk_fail" lines in libc_undefs.
27264 * configure: Regenerated.
27266 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27268 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27269 New macro. Use R*LP on int and pointer.
27270 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27271 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27272 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27273 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27275 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27276 [__WORDSIZE_TIME64_COMPAT32] instead of
27277 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27278 (struct utmp): Likewise.
27279 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27280 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27282 (__WORDSIZE_TIME64_COMPAT32): This.
27283 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27284 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27285 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27286 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27287 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27288 (__WORDSIZE_TIME64_COMPAT32): New macro.
27290 2012-05-21 Andreas Jaeger <aj@suse.de>
27292 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27293 only if [SHARED]. Add prototype for __wcschr_ia32.
27295 2012-05-21 Roland McGrath <roland@hack.frob.com>
27297 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27298 of %rbp unmolested in the jmp_buf while mangling the low bits.
27299 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27300 unmolested high bits of %rbp while demangling the low bits.
27301 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27303 2012-05-21 Andreas Jaeger <aj@suse.de>
27305 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27306 * sunrpc/svc_simple.c: Use it for registerrpc.
27307 * sunrpc/xcrypt.c: Use it for passwd2des.
27309 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27311 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27313 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27314 Don't define if [__SYSCALL_WORDSIZE != 32].
27315 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27318 2012-05-21 Bruno Haible <bruno@clisp.org>
27319 Andreas Jaeger <aj@suse.de>
27321 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27322 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27323 inptr and inend for must_buffer_ch.
27324 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27325 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27326 * stdio-common/Makefile (tests): Remove bug15.
27327 (bug15-ENV): Remove macro.
27328 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27331 2012-05-19 Andreas Jaeger <aj@suse.de>
27332 Roland McGrath <roland@hack.frob.com>
27334 * manual/contrib.texi: Completely rewritten. It contains now an
27335 alphabetical list of contributors and their contributions.
27337 2012-05-21 Richard Henderson <rth@twiddle.net>
27339 * misc/getauxval.c (__getauxval): Use unsigned long int.
27340 * misc/sys/auxv.h: Include <sys/cdefs.h>.
27341 (getauxval): Use unsigned long int.
27343 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
27345 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27347 2012-05-21 Roland McGrath <roland@hack.frob.com>
27349 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27350 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27351 __alignof__ (long double).
27353 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27357 2012-05-20 Richard Henderson <rth@twiddle.net>
27359 * misc/getauxval.c: New file.
27360 * misc/sys/auxv.h: New file.
27361 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27362 (routines): Add getauxval.
27363 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27364 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27365 * elf/dl-sysdep.c (_dl_auxv): Remove.
27366 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27367 * elf/dl-support.c (_dl_auxv): New variable.
27368 (_dl_aux_init): Initialize it.
27369 * manual/startup.texi (Auxiliary Vector): New node.
27370 * sysdeps/generic/bits/hwcap.h: New file.
27371 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27372 * sysdeps/powerpc/sysdep.h: ... here. Include it.
27373 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27374 * sysdeps/sparc/sysdep.h: ... here. Include it.
27375 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27376 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27383 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27385 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27388 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27392 2012-05-19 David S. Miller <davem@davemloft.net>
27394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27396 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27399 * math/s_ccosh.c: Include <float.h>
27400 (__ccosh): Avoid internal overflow calculating sinh and cosh
27401 values before multiplying by sin and cos values.
27402 * math/s_ccoshf.c: Likewise.
27403 * math/s_ccoshl.c: Likewise.
27404 * math/s_csin.c: Likewise.
27405 * math/s_csinf.c: Likewise.
27406 * math/s_csinl.c: Likewise.
27407 * math/s_csinh.c: Likewise.
27408 * math/s_csinhf.c: Likewise.
27409 * math/s_csinhl.c: Likewise.
27410 * math/libm-test.inc (ccos_test): Add more tests.
27411 (ccosh_test): Likewise.
27412 (csin_test): Likewise.
27413 (csinh_test): Likewise.
27414 * sysdeps/i386/fpu/libm-test-ulps: Update.
27415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27417 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
27419 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27420 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27422 * sysdeps/x86_64/x32/_itoa.h: Add comment.
27424 2012-05-19 Joseph Myers <joseph@codesourcery.com>
27426 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27427 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27428 * sysdeps/powerpc/soft-fp/Versions: Likewise.
27429 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27430 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27431 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27432 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27433 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27434 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27435 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27436 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27437 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27438 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27439 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27440 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27441 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27442 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27443 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27444 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27445 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27446 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27447 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27448 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27449 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27450 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27451 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27452 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27453 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27454 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27455 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27456 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27458 2012-05-18 Andreas Jaeger <aj@suse.de>
27460 * csu/.gitignore: Delete.
27462 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27464 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27465 (timex): Use __syscall_slong_t.
27467 2012-05-18 Andreas Jaeger <aj@suse.de>
27468 Carlos O'Donell <carlos_odonell@mentor.com>
27470 * manual/install.texi (Configuring and compiling): Update
27471 description about files modified in the source directory.
27472 * INSTALL: Regenerated.
27474 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27476 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27477 value. Use "or" to set return value to -1.
27478 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27479 negate return value.
27481 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27483 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27484 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27485 failure if the compiler has Graphite support disabled.
27486 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27488 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27489 CFLAGS-memmove.c): Likewise.
27490 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27493 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
27495 * sysdeps/x86_64/x32/_itoa.h: New file.
27497 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27498 getdents system call only if kernel and user dirents have the
27499 same d_ino and d_off.
27501 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27502 LLONG_MAX != LONG_MAX.
27503 (_itoa_word): Use _ITOA_WORD_TYPE on value.
27504 (_fitoa_word): Likewise.
27506 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27508 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27509 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27510 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27512 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27513 include <bits/wordsize.h>. Check __x86_64__ instead of
27515 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27516 if __x86_64__ is defined. Use anonymous union on fpstate.
27518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27521 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27523 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27524 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27525 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27526 Refer to _rtld_local_ro instead of _rtld_global_ro.
27527 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27529 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27531 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27533 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27534 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27535 of _rtld_global, and rtld_progname instead of _dl_argv[0].
27537 * sysdeps/powerpc/powerpc32/dl-machine.c
27538 (__elf_machine_runtime_setup) [PROF]: Don't reference
27541 2012-05-18 Andreas Jaeger <aj@suse.de>
27543 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27544 function only available for GCCs before 3.4 since GCC 3.4
27545 introduced a builtin.
27547 (llrintf): Likewise.
27548 (llrint): Likewise.
27555 (nearbyint): Likewise.
27556 (nearbyintf): Likewise.
27560 (floorf): Likewise.
27562 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27564 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27565 on both fields and cast pointer to __syscall_ulong_t.
27567 * bits/types.h (__fsword_t): New type.
27568 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27569 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27570 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27571 (__FSWORD_T_TYPE): Likewise.
27572 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27573 (__FSWORD_T_TYPE): Likewise.
27574 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27575 (__FSWORD_T_TYPE): Likewise.
27576 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27577 (__FSWORD_T_TYPE): Likewise.
27578 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27579 __SWORD_TYPE with __fsword_t.
27580 (statfs64): Likewise.
27582 2012-05-17 David S. Miller <davem@davemloft.net>
27584 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27586 2012-05-17 Andreas Jaeger <aj@suse.de>
27588 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27591 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27593 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27595 2012-05-17 Andreas Jaeger <aj@suse.de>
27597 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27600 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27602 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27604 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
27606 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27607 * sysdeps/x86_64/tst-mallocalign1.c: New file.
27609 2012-05-17 Andreas Jaeger <aj@suse.de>
27610 Carlos O'Donell <carlos_odonell@mentor.com>
27613 * sysdeps/x86_64/multiarch/init-arch.h
27614 (bit_YMM_Usable): Rename to...
27615 (bit_AVX_Usable): ... this.
27616 (bit_FMA4_Usable): New macro.
27617 (bit_XMM_state): New macro.
27618 (bit_YMM_state): New macro.
27619 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27620 [__ASSEMBLER__] (index_AVX_Usable): ... this.
27621 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27622 (CPUID_OSXSAVE): New macro.
27623 (CPUID_AVX): New macro.
27624 (CPUID_FMA4): New macro.
27625 (index_YMM_Usable): Rename to...
27626 (index_AVX_Usable): ... this.
27627 (HAS_AVX): Use HAS_ARCH_FEATURE.
27628 (HAS_FMA4): Likewise.
27629 (HAS_YMM_USABLE): Remove.
27630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27631 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27633 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27634 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27635 * sysdeps/x86_64/multiarch/Makefile: Likewise.
27636 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27637 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27639 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
27641 * math/libm-test.c: Support platforms without multiple rounding modes.
27642 * math/bug-nextafter.c: Support platforms without FP exceptions.
27643 * math/bug-nexttoward.c: Likewise.
27644 * math/test-fenv.c: Likewise.
27645 * math/test-misc.c: Likewise.
27646 * stdlib/bug-getcontext.c: Likewise.
27648 2012-05-17 Andreas Jaeger <aj@suse.de>
27650 * manual/examples/search.c (critter_cmp): Change signature to
27652 * manual/string.texi (Collation Functions): Likewise.
27654 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27656 * bits/types.h: Fold copyright years.
27657 * bits/typesizes.h: Likewise.
27658 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27662 * time/time.h: Likewise.
27664 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
27667 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27668 in instead of returning them. Return void.
27669 (__libc_mallinfo): Accumulate over all arenas.
27670 (__malloc_stats): Adjust for change in int_mallinfo interface.
27672 2012-05-16 Roland McGrath <roland@hack.frob.com>
27675 * configure.in (NM): Add AC_CHECK_TOOL for it.
27676 (libc_extra_cflags): New substituted variable.
27677 Check for -fstack-protector being used implicitly.
27678 * configure: Regenerated.
27679 * config.make.in (config-extra-cflags): New variable,
27680 gets @libc_extra_cflags@.
27681 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27684 * configure.in: Check for _FORTIFY_SOURCE being predefined.
27685 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27686 * configure: Regenerated.
27687 * config.make.in (CPPUNDEFS): New substituted variable.
27688 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27689 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27690 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27692 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27694 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27695 (mq_attr): Use __syscall_slong_t.
27697 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27699 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27700 Check __x86_64__ instead of __WORDSIZE.
27701 (_STAT_VER_LINUX): Likewise.
27702 (stat): Check __x86_64__ instead of __WORDSIZE. Use
27703 __syscall_ulong_t and __syscall_slong_t.
27704 (stat64): Likewise.
27706 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27708 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27710 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27712 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27714 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27716 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27719 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27720 include <bits/wordsize.h>. Check __x86_64__ instead of
27722 (greg_t): Use "__extension__ long long int" if __x86_64__ is
27724 (mcontext_t): Replace "unsigned long" with "unsigned long long".
27726 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27727 include <bits/wordsize.h>. Check __x86_64__ instead of
27729 (user_regs_struct): Use "__extension__ unsigned long long"
27730 instead of "unsigned long" if __x86_64__ is defined.
27731 (user): Likewise. Pad after pointer field if __ILP32__ is
27734 2012-05-16 Joseph Myers <joseph@codesourcery.com>
27736 * configure.in (makeinfo): Require version 4.5 or later. Allow
27738 * configure: Regenerated.
27739 * manual/install.texi (texinfo): Increase version requirement to
27741 * INSTALL: Regenerated.
27743 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27745 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
27747 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27749 * sysdeps/x86_64/x32/ffs.c: New file.
27751 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27753 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27754 defined. Use __syscall_ulong_t.
27755 (shminfo): Use __syscall_ulong_t.
27756 (shm_info): Likewise.
27758 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27761 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27763 (msgqnum_t): Use __syscall_ulong_t.
27764 (msglen_t): Likewise.
27765 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
27768 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27769 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27771 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27773 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27774 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27776 * sysvipc/sys/msg.h (msgbuf): Replace long int with
27779 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27780 include <bits/wordsize.h>. Check __x86_64__ instead of
27783 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27784 "unsigned long long int" if __x86_64__ is defined.
27785 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27787 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27788 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
27789 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27791 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27793 (GET_PC): Cast to uintptr_t first.
27794 (GET_FRAME): Likewise.
27795 (GET_STACK): Likewise.
27797 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27798 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27799 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27800 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27801 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27802 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27803 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27804 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27805 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27806 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27807 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27808 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27809 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27810 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27811 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27812 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27813 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27814 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27815 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27816 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27817 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27818 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27819 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27820 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27821 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27822 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27823 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27824 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27825 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27827 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
27829 * Makerules (+depfiles): Also collect depfiles from .oS in
27831 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27832 .oS, $(libnldbl-routines)).
27834 * Makerules (native-compile-mkdep-flags): Define.
27835 * sunrpc/Makefile (extra-objs): Add $(addprefix
27836 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27837 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27838 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
27839 calling $(make-target-directory).
27841 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27843 * bits/types.h (__snseconds_t): Removed.
27844 * time/time.h (struct timespec): Replace __snseconds_t with
27846 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27847 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27849 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27850 (__SNSECONDS_T_TYPE): Likewise.
27851 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27852 (__SNSECONDS_T_TYPE): Likewise.
27853 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27854 (__SNSECONDS_T_TYPE): Likewise.
27856 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27858 * sysdeps/mach/hurd/bits/typesizes.h
27859 (__SYSCALL_SLONG_TYPE): New macro.
27860 (__SYSCALL_ULONG_TYPE): Likewise.
27862 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27864 * bits/types.h (__syscall_slong_t): New type.
27865 (__syscall_ulong_t): Likewise.
27867 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27868 (__SYSCALL_ULONG_TYPE): Likewise.
27869 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27870 (__SYSCALL_SLONG_TYPE): Likewise.
27871 (__SYSCALL_ULONG_TYPE): Likewise.
27872 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27873 (__SYSCALL_SLONG_TYPE): Likewise.
27874 (__SYSCALL_ULONG_TYPE): Likewise.
27875 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27876 (__SYSCALL_SLONG_TYPE): Likewise.
27877 (__SYSCALL_ULONG_TYPE): Likewise.
27879 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27881 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27882 Add sigaltstack-offsets.sym.
27883 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27884 <sigaltstack-offsets.h>.
27885 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
27886 longjmp_msg pointer.
27887 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
27888 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27890 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27892 2012-05-15 Joseph Myers <joseph@codesourcery.com>
27894 * elf/stackguard-macros.h: Remove file.
27895 * sysdeps/generic/stackguard-macros.h: New file.
27896 * sysdeps/i386/stackguard-macros.h: Likewise.
27897 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27898 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27899 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27900 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27901 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27902 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27903 * sysdeps/x86_64/stackguard-macros.h: Likewise.
27904 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27905 <elf/stackguard-macros.h>.
27908 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27909 __aligned__ in attribute.
27910 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27911 (gregset_t): Likewise.
27913 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27915 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27916 * sysdeps/x86_64/64/Implies-after: Here. New file.
27917 * sysdeps/x86_64/x32/Implies-after: New file.
27919 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27921 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27922 and access return value for _dl_profile_fixup. Use R10_LP to
27925 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27927 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27931 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27932 * sysdeps/x86_64/x32/sysdep.h: New file.
27934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27936 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27937 * sysdeps/x86_64/setjmp.S: Likewise.
27939 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27941 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27942 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27943 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27944 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27945 remove unused global constant.
27947 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
27949 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27950 include of <not-cancel.h>.
27952 2012-05-15 Roland McGrath <roland@hack.frob.com>
27954 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27956 2012-05-15 Jeff Law <law@redhat.com>
27957 Andreas Jaeger <aj@suse.de>
27960 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27962 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27963 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27964 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27965 code changing __hst_map_handle.map.
27967 2012-05-15 Roland McGrath <roland@hack.frob.com>
27969 * configure.in (sysnames): Look for Implies-before and Implies-after
27971 * configure: Regenerated.
27973 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27975 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27976 8-byte data alignment with LP_SIZE alignment.
27978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27980 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27985 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27989 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27990 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27991 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27993 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27995 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
27997 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27998 (stackinfo_sub_sp): Likewise.
28000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28002 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28005 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28007 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28010 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28012 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28015 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28017 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28019 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28021 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28022 into R11_LP and load __x86_64_shared_cache_size_half into
28025 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28027 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28030 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28036 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28039 powerpc32/power7/fpu/s_logb.c via #include.
28040 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28041 powerpc32/power7/fpu/s_logbf.c via #include.
28042 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28043 powerpc32/power7/fpu/s_logbl.c via #include.
28045 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28047 * README.libm: Remove file.
28049 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28051 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28052 count for x32. Use R*_LP and omit operand-size suffix.
28054 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28056 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28057 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28058 * sysdeps/x86_64/x32/shlib-versions: New file.
28060 2012-05-14 Roland McGrath <roland@hack.frob.com>
28062 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28063 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28064 Use _dl_fatal_printf instead.
28066 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28068 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28069 set if not set by the user. Do not allow for being unset.
28070 * sysdeps/unix/sysv/linux/configure: Regenerated.
28072 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28074 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
28075 the `q' suffix from lea and replace .quad with ASM_ADDR.
28077 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
28080 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28082 (PTR_DEMANGLE): Likewise.
28084 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28086 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
28088 (ASM_ADDR): Likewise.
28089 (RAX_LP): Likewise.
28090 (RBP_LP): Likewise.
28091 (RBX_LP): Likewise.
28092 (RCX_LP): Likewise.
28093 (RDI_LP): Likewise.
28094 (RSI_LP): Likewise.
28095 (RSP_LP): Likewise.
28098 (R10_LP): Likewise.
28099 (R10_LP): Likewise.
28100 (R11_LP): Likewise.
28101 (R12_LP): Likewise.
28102 (R13_LP): Likewise.
28103 (R14_LP): Likewise.
28104 (R15_LP): Likewise.
28106 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28108 * sysdeps/x86_64/x32/dl-machine.h: New file.
28110 2012-05-14 Andreas Jaeger <aj@suse.de>
28112 * manual/Makefile (subdir): Remove export of subdir.
28113 (all): Remove target.
28114 (.PHONY): Remove all from list.
28115 (mkinstalldirs): Remove.
28116 (.PHONY): Remove installdirs from list.
28117 ($(inst_infodir)/libc.info): Use make-target-directory.
28118 (installdirs): Remove.
28119 (subdir_%): Remove.
28120 (glibc-targets): Remove.
28123 ($(objpfx)stubs ../po/manual.pot): Remove.
28124 ($(objpfx)stamp%): Remove.
28125 (make-target-directory): Remove.
28126 (subdir_install): Remove.
28127 (routines): Remove.
28134 * manual/.gitignore: Remove, it's not needed anymore.
28135 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
28137 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
28139 (texis): Renamed to $(objpfx)texis.
28140 (texis-path): New, contains path to generated files.
28141 (chapters.%): Use texis-path for complete path, add extra argument
28143 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
28144 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
28145 (summary,texi, stamp-summary): Use complete path of
28146 files. Generate files in build dir.
28147 (dir-add.texi): Build in build dir.
28148 (libm-err.texi,stamp-libm-err): Likewise.
28149 (version.texi, stamp-version): Likewise.
28150 (.%c.texi): Likewise.
28151 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
28152 (mostlyclean): Remove target.
28153 (realclean): Remove target.
28154 (generated): Add new variable with contents from mostlyclean and
28155 realclean, remove entries duplicated in common-mostlyclean, add
28156 stamp-libm-err and stamp-version.
28157 (generated-dirs): Add libc directory.
28158 ($(inst_infodir)/libc.info): Install files from build dir.
28160 * manual/install.texi (Configuring and compiling): Adjust since
28161 the info files are not part of the tar ball anymore.
28163 2012-05-14 Andreas Jaeger <aj@suse.de>
28165 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
28168 2012-05-14 Joseph Myers <joseph@codesourcery.com>
28171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28172 to 2.2.0 where earlier.
28173 * sysdeps/unix/sysv/linux/configure: Regenerated.
28174 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
28175 Remove conditional code.
28176 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
28177 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
28178 Remove conditional code.
28179 [!__NR_lchown]: Likewise.
28180 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28181 [__NR_lchown]: Likewise.
28182 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
28183 comment referencing __ASSUME_LCHOWN_SYSCALL.
28184 * sysdeps/unix/sysv/linux/i386/sigaction.c
28185 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28186 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28187 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
28188 Remove conditional code.
28189 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28190 (__protocol_available): Remove #if 0 code.
28191 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28193 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28194 * sysdeps/unix/sysv/linux/kernel-features.h
28195 (__ASSUME_GETCWD_SYSCALL): Don't define.
28196 (__ASSUME_REALTIME_SIGNALS): Likewise.
28197 (__ASSUME_PREAD_SYSCALL): Likewise.
28198 (__ASSUME_PWRITE_SYSCALL): Likewise.
28199 (__ASSUME_POLL_SYSCALL): Likewise.
28200 (__ASSUME_LCHOWN_SYSCALL): Likewise.
28201 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28203 (__ASSUME_SIOCGIFNAME): Don't define.
28204 (__ASSUME_MSG_NOSIGNAL): Likewise.
28205 (__ASSUME_SENDFILE): Define unconditionally.
28206 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28207 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28209 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28210 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28211 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28212 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28213 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28214 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28215 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28217 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28218 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28223 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28224 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28229 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28230 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28232 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28235 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28238 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28240 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28241 Remove conditional code.
28242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28243 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28244 Remove conditional code.
28245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28246 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28247 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28248 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28249 Remove conditional code.
28250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28251 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28252 Remove conditional code.
28253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28254 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28255 Remove conditional code.
28256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28257 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28258 Remove conditional code.
28259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28260 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28261 Remove conditional code.
28262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28263 * sysdeps/unix/sysv/linux/sh/pwrite64.c
28264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28266 * sysdeps/unix/sysv/linux/sigaction.c
28267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28269 * sysdeps/unix/sysv/linux/sigpending.c
28270 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28271 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28272 * sysdeps/unix/sysv/linux/sigprocmask.c
28273 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28274 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28275 * sysdeps/unix/sysv/linux/sigsuspend.c
28276 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28277 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28278 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28279 (__libc_missing_rt_sigs): Remove.
28280 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28281 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28282 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28283 Remove conditional code.
28284 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28285 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28287 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28288 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28289 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28290 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28292 2012-05-14 Andreas Jaeger <aj@suse.de>
28294 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28295 it's not used in glibc.
28296 (__coshm1): Likewise.
28297 (__acosh1p): Likewise.
28300 * manual/string.texi (Copying and Concatenation): Add missing
28301 variable in concat example.
28302 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28304 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28307 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28308 __builtin_clzl with __builtin_clzll.
28310 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28313 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28316 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28318 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28319 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28320 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28321 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28323 2012-05-14 Mike Frysinger <vapier@gentoo.org>
28325 * NEWS: Update ia64 info.
28327 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
28329 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28332 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
28334 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28335 * sysdeps/unix/syscalls.list (dup3): Likewise.
28336 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28337 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28339 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28341 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28342 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28344 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
28346 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28348 (TLS_IE): Use mov/add instead of movq/addq to load thread
28350 (TLS_GD_PREFIX): New.
28353 2012-05-11 David S. Miller <davem@davemloft.net>
28355 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28356 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28357 (_FPU_SETCW): Likewise.
28359 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28361 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28362 is 32-byte aligned.
28364 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
28367 * iconvdata/gb18030.c: Update tables.
28368 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
28369 characters specially.
28370 (BODY for TO_LOOP): Add encoding of missing ranges.
28372 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
28375 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28376 * sysdeps/mach/hurd/dup3.c: Likewise.
28377 * sysdeps/mach/hurd/readlinkat.c: Likewise.
28378 * sysdeps/powerpc/memmove.c:: Likewise.
28380 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28382 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28383 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28385 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28387 * elf/elf.h (R_X86_64_RELATIVE64): New.
28388 (R_X86_64_NUM): Updated.
28389 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28390 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
28391 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28392 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28393 tst-quad1pie tst-quad2pie
28394 (modules-names): Add tst-quadmod1 tst-quadmod2.
28395 ($(objpfx)tst-quad1): New dependency.
28396 ($(objpfx)tst-quad2): Likewise.
28397 ($(objpfx)tst-quad1pie): Likewise.
28398 ($(objpfx)tst-quad2pie): Likewise.
28399 * sysdeps/x86_64/tst-quad1.c: New file.
28400 * sysdeps/x86_64/tst-quad1pie.c: New file.
28401 * sysdeps/x86_64/tst-quad2.c: Likewise.
28402 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28403 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28404 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28405 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28406 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28408 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28410 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28411 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28412 * streams/stropts.h (t_scalar_t): Define type.
28414 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28415 (_PATH_PRESERVE): Set to "/var/lib".
28416 (_PATH_RWHODIR): Set to "/var/spool/rwho".
28418 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28421 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28422 if __dir_mkfile succeeded.
28424 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28425 checking for _hurd_dtablesize. Unlock it right after having
28426 finished _hurd_dtable allocation.
28428 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28430 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28431 * sysdeps/mach/hurd/configure: Regenerated.
28432 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28433 special-casing to...
28434 * sysdeps/gnu/configure.in: ... this new file.
28435 * sysdeps/unix/sysv/linux/configure: Regenerated.
28436 * sysdeps/gnu/configure: New generated file.
28438 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28439 for Linux: use nsec instead of usec, as well as:
28440 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28441 members of type struct timespec.
28442 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28444 (struct stat64): Likewise.
28445 (_STATBUF_ST_NSEC): New macro.
28446 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28448 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28449 __strtoul_internal rather than strtoul.
28451 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28453 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28456 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28458 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28459 which preserves existing values.
28460 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28462 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28464 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28465 TIMEOUT values. Return EINVAL for NFDS values either negative or
28466 greater than FD_SETSIZE.
28468 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28470 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28471 allocated, call __vm_protect to finish enabling the existing space, and
28472 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28473 allocate the remainder.
28475 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28477 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28478 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
28480 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28482 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28483 sysdeps/mach/hurd/readlink.c.
28485 * posix/tst-sysconf.c (posix_options): Only use
28486 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28487 _POSIX_SYNCHRONIZED_IO when they are defined
28488 * sysdeps/mach/hurd/bits/posix_opt.h:
28489 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28490 (_XOPEN_REALTIME): Undefine macro.
28491 (_XOPEN_REALTIME_THREADS): Undefine macro.
28492 (_XOPEN_SHM): Undefine macro.
28493 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28495 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28497 (_POSIX_ASYNC_IO): Undefine macro.
28498 (_POSIX_PRIORITIZED_IO): Undefine macro.
28499 (_POSIX_SPIN_LOCKS): Define macro to -1.
28501 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28502 SA_NODEFER, SA_RESETHAND.
28503 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28504 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28507 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28509 * elf/Makefile (pldd-modules): Define unconditionally.
28511 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28513 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28515 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28517 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28518 Return ENOENT when name is empty.
28519 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28521 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28523 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28525 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28527 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28529 Fix mlock in all cases except non-readable pages.
28530 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28531 instead of VM_PROT_ALL as parameter to __vm_wire function.
28533 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28534 (__mkdir): When path is `/', just fail with EEXIST.
28535 * sysdeps/mach/hurd/mkdirat.c: Likewise.
28537 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28539 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28540 <sys/uio.h> (for writev).
28541 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28542 and <sys/param.h> (for MIN).
28544 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
28546 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28547 REQUESTED_TIME. Properly set the remaining time and return EINTR
28550 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28552 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28553 Depend on against $(link-rpcuserlibs).
28555 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28557 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28558 (__libc_stack_end): Do not use attribute_relro.
28559 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28560 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28561 to libthread-provided value.
28562 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28568 * bits/libc-lock.h (__libc_once_get): New macro.
28569 * sysdeps/mach/bits/libc-lock.h: Likewise.
28570 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28571 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28572 instead of using implementation details.
28574 * libio/fileops.c: Unconditionally include <kernel-features.h>.
28575 * libio/freopen.c: Likewise.
28576 * libio/freopen64.c: Likewise.
28577 * misc/syslog.c: Likewise.
28578 * nscd/connections.c: Likewise.
28579 * nscd/netgroupcache.c: Likewise.
28580 * sysdeps/posix/getcwd.c: Likewise.
28582 2012-05-10 Roland McGrath <roland@hack.frob.com>
28584 * math/w_ilogbf.c: Add #include <limits.h>.
28586 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28588 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28589 path instead of returning without unlocking.
28591 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28592 immediate-write ioctls.
28593 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28595 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28597 * sysdeps/mach/hurd/i386/init-first.c (init): Use
28598 __builtin_frame_address instead of making assumptions about the
28599 location of the return address relative to DATA. Force early load of
28600 the return address.
28601 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28602 __builtin_frame_address.
28605 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28606 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
28607 implement dup3 and do some further code clean-ups.
28608 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28609 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28611 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28613 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28615 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28616 HURD_CRITICAL_END around holding _hurd_dtable_lock.
28617 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28618 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28619 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28622 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28623 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
28624 when handler == SIG_ERR, not when handler != SIG_ERR.
28626 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28628 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28629 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28632 accept4 for GNU Hurd.
28633 * include/sys/socket.h (__libc_accept4): New prototype.
28634 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
28635 to implement __libc_accept4.
28636 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28638 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28640 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28641 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28642 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28643 signal-defines.sym.
28645 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28647 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28649 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
28651 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28652 assertion on O_CLOEXEC flag.
28653 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28654 * hurd/intern-fd.c: Likewise.
28655 * hurd/port2fd.c: Likewise.
28657 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
28660 * bits/in.h (IPV6_PKTINFO): Define new macro.
28661 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28663 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28668 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28670 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28671 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28672 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28673 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28674 * math/libm-test.inc (logb_test) : Additional logb tests.
28676 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
28677 Andreas Jaeger <aj@suse.de>
28679 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28680 * configure: Regenerated.
28681 * config.h.in (LINK_OBSOLETE_RPC): New macro.
28682 * config.make.in (link-obsolete-rpc): New substituted variable.
28683 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28684 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28685 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28686 (shared-only-routines): Don't set it under [link-obsolete-rpc],
28687 so that libc.a contains the symbols.
28688 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28689 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28690 * sunrpc/auth_none.c: Likewise.
28691 * sunrpc/auth_unix.c: Likewise.
28692 * sunrpc/authdes_prot.c: Likewise.
28693 * sunrpc/authuxprot.c: Likewise.
28694 * sunrpc/clnt_gen.c: Likewise.
28695 * sunrpc/clnt_perr.c: Likewise.
28696 * sunrpc/clnt_raw.c: Likewise.
28697 * sunrpc/clnt_simp.c: Likewise.
28698 * sunrpc/clnt_tcp.c: Likewise.
28699 * sunrpc/clnt_udp.c: Likewise.
28700 * sunrpc/clnt_unix.c: Likewise.
28701 * sunrpc/des_crypt.c: Likewise.
28702 * sunrpc/des_soft.c: Likewise.
28703 * sunrpc/get_myaddr.c: Likewise.
28704 * sunrpc/key_call.c: Likewise.
28705 * sunrpc/key_prot.c: Likewise.
28706 * sunrpc/netname.c: Likewise.
28707 * sunrpc/pm_getmaps.c: Likewise.
28708 * sunrpc/pm_getport.c: Likewise.
28709 * sunrpc/pmap_clnt.c: Likewise.
28710 * sunrpc/pmap_prot.c: Likewise.
28711 * sunrpc/pmap_prot2.c: Likewise.
28712 * sunrpc/pmap_rmt.c: Likewise.
28713 * sunrpc/publickey.c: Likewise.
28714 * sunrpc/rpc_cmsg.c: Likewise.
28715 * sunrpc/rpc_common.c: Likewise.
28716 * sunrpc/rpc_dtable.c: Likewise.
28717 * sunrpc/rpc_prot.c: Likewise.
28718 * sunrpc/rpc_thread.c: Likewise.
28719 * sunrpc/rtime.c: Likewise.
28720 * sunrpc/svc.c: Likewise.
28721 * sunrpc/svc_auth.c: Likewise.
28722 * sunrpc/svc_raw.c: Likewise.
28723 * sunrpc/svc_run.c: Likewise.
28724 * sunrpc/svc_tcp.c: Likewise.
28725 * sunrpc/svc_udp.c: Likewise.
28726 * sunrpc/svc_unix.c: Likewise.
28727 * sunrpc/svcauth_des.c: Likewise.
28728 * sunrpc/xcrypt.c: Likewise.
28729 * sunrpc/xdr.c: Likewise.
28730 * sunrpc/xdr_array.c: Likewise.
28731 * sunrpc/xdr_float.c: Likewise.
28732 * sunrpc/xdr_intXX_t.c: Likewise.
28733 * sunrpc/xdr_mem.c: Likewise.
28734 * sunrpc/xdr_rec.c: Likewise.
28735 * sunrpc/xdr_ref.c: Likewise.
28736 * sunrpc/xdr_sizeof.c: Likewise.
28737 * sunrpc/xdr_stdio.c: Likewise.
28739 2012-05-10 Roland McGrath <roland@hack.frob.com>
28741 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28742 change. Update copyright years.
28744 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28746 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28748 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
28749 Joseph Myers <joseph@codesourcery.com>
28750 Paul Pluzhnikov <ppluzhnikov@google.com>
28753 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28755 [cross-compiling] (extra-libs): Likewise.
28756 [cross-compiling] (extra-libs-others): Likewise.
28757 [cross-compiling] (librpcsvc-routines): Likewise.
28758 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28759 [cross-compiling] (omit-deps): Likewise.
28760 (sunrpc-CPPFLAGS): New variable.
28761 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28762 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28763 (cross-rpcgen-objs): New variable.
28764 (extra-objs): Append $(cross-rpcgen-objs).
28765 ($(cross-rpcgen-objs)): New rule.
28766 ($(objpfx)cross-rpcgen): Likewise.
28767 (rpcgen-cmd): Define to use $(built-program-file). Expand
28769 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28770 ($(objpfx)x%.stmp): Likewise.
28771 * sunrpc/proto.h [IS_IN_build] (_): Define.
28772 [IS_IN_build] (_libc_intl_domainname): Likewise.
28774 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
28776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28777 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28778 and R_X86_64_TPOFF64.
28780 2012-05-10 Joseph Myers <joseph@codesourcery.com>
28782 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28783 sysdeps/unix/sysv/syscalls.list.
28786 * sysdeps/unix/sysv/syscalls.list: Remove file.
28788 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
28791 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28792 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28793 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28794 (__LC_IDENTIFICATION): Make these macros useful in #if
28795 expressions, as required by C99.
28797 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
28799 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28800 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
28803 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
28805 * stdlib/longlong.h: Updated from GCC.
28807 2012-05-09 Andreas Jaeger <aj@suse.de>
28809 * nscd/nscd.c (run_modes): Make named enum, reorder so that
28810 default is first entry.
28811 (run_mode): Set type.
28812 (main): Remove informal message about syslog.
28813 (options): Fix typo.
28816 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
28819 (llrintf): Likewise.
28820 (llrint): Likewise.
28823 (nearbyint): Likewise.
28824 (nearbyintf): Likewise.
28826 2012-05-09 Andreas Jaeger <aj@suse.de>
28827 Pedro Alves <palves@redhat.com>
28829 * nscd/nscd.c (run_mode): Use enum.
28830 (main): Cleanup coding style issue.
28832 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
28833 Andreas Jaeger <aj@suse.de>
28835 * nscd/nscd.c (go_background): Replaced with...
28836 (run_mode): ... this.
28837 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
28838 (options): Add -F --foreground.
28839 (main): Implement it.
28840 (parse_opt): Parse it.
28842 2012-05-09 Andreas Jaeger <aj@suse.de>
28845 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28846 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28847 -Wconversion warning.
28848 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28851 2012-05-09 Joseph Myers <joseph@codesourcery.com>
28853 * conform/data/locale.h-data (NULL): Use macro-constant. Require
28855 (LC_ALL): Use macro-int-constant.
28856 (LC_COLLATE): Likewise.
28857 (LC_CTYPE): Likewise.
28858 (LC_MESSAGES): Likewise.
28859 (LC_MONETARY): Likewise.
28860 (LC_NUMERIC): Likewise.
28861 (LC_TIME): Likewise.
28862 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28863 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28865 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28867 [C99-based standards] (float_t): Expect type.
28868 [C99-based standards] (double_t): Expect type.
28869 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
28871 [C99-based standards] (HUGE_VALL): Likewise.
28872 [C99-based standards] (INFINITY): Likewise.
28873 [C99-based standards] (NAN): Likewise.
28874 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28875 [C99-based standards] (FP_NAN): Likewise.
28876 [C99-based standards] (FP_NORMAL): Likewise.
28877 [C99-based standards] (FP_SUBNORMAL): Likewise.
28878 [C99-based standards] (FP_ZERO): Likewise.
28879 [C99-based standards] (FP_FAST_FMA): Use
28880 optional-macro-int-constant. Specify type. Require == 1.
28881 [C99-based standards] (FP_FAST_FMAF): Likewise.
28882 [C99-based standards] (FP_FAST_FMAL): Likewise.
28883 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28884 [C99-based standards] (FP_ILOGBNAN): Likewise.
28885 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28887 [C99-based standards] (MATH_ERREXCEPT): Likewise.
28888 [C99-based standards] (math_errhandling): Specify type.
28889 [ISO99 || ISO11] (signgam): Do not allow.
28890 [non-C99-based standards] (copysignf): Do not allow.
28891 [non-C99-based standards] (exp2f): Likewise.
28892 [non-C99-based standards] (log2f): Likewise.
28893 [non-C99-based standards] (modff): Allow.
28894 [non-C99-based standards] (erff): Do not allow.
28895 [non-C99-based standards] (erfcf): Likewise.
28896 [non-C99-based standards] (gammaf): Likewise.
28897 [non-C99-based standards] (hypotf): Likewise.
28898 [non-C99-based standards] (j0f): Likewise.
28899 [non-C99-based standards] (j1f): Likewise.
28900 [non-C99-based standards] (jnf): Likewise.
28901 [non-C99-based standards] (lgammaf): Likewise.
28902 [non-C99-based standards] (tgammaf): Likewise.
28903 [non-C99-based standards] (y0f): Likewise.
28904 [non-C99-based standards] (y1f): Likewise.
28905 [non-C99-based standards] (ynf): Likewise.
28906 [non-C99-based standards] (isnanf): Likewise.
28907 [non-C99-based standards] (acoshf): Likewise.
28908 [non-C99-based standards] (asinhf): Likewise.
28909 [non-C99-based standards] (atanhf): Likewise.
28910 [non-C99-based standards] (cbrtf): Likewise.
28911 [non-C99-based standards] (expm1f): Likewise.
28912 [non-C99-based standards] (ilogbf): Likewise.
28913 [non-C99-based standards] (log1pf): Likewise.
28914 [non-C99-based standards] (logbf): Likewise.
28915 [non-C99-based standards] (nextafterf): Likewise.
28916 [non-C99-based standards] (remainderf): Likewise.
28917 [non-C99-based standards] (rintf): Likewise.
28918 [non-C99-based standards] (scalbf): Likewise.
28919 [non-C99-based standards] (copysignl): Likewise.
28920 [non-C99-based standards] (exp2l): Likewise.
28921 [non-C99-based standards] (log2l): Likewise.
28922 [non-C99-based standards] (modfl): Allow.
28923 [non-C99-based standards] (erfl): Do not allow.
28924 [non-C99-based standards] (erfcl): Likewise.
28925 [non-C99-based standards] (gammal): Likewise.
28926 [non-C99-based standards] (hypotl): Likewise.
28927 [non-C99-based standards] (j0l): Likewise.
28928 [non-C99-based standards] (j1l): Likewise.
28929 [non-C99-based standards] (jnl): Likewise.
28930 [non-C99-based standards] (lgammal): Likewise.
28931 [non-C99-based standards] (tgammal): Likewise.
28932 [non-C99-based standards] (y0l): Likewise.
28933 [non-C99-based standards] (y1l): Likewise.
28934 [non-C99-based standards] (ynl): Likewise.
28935 [non-C99-based standards] (isnanl): Likewise.
28936 [non-C99-based standards] (acoshl): Likewise.
28937 [non-C99-based standards] (asinhl): Likewise.
28938 [non-C99-based standards] (atanhl): Likewise.
28939 [non-C99-based standards] (cbrtl): Likewise.
28940 [non-C99-based standards] (expm1l): Likewise.
28941 [non-C99-based standards] (ilogbl): Likewise.
28942 [non-C99-based standards] (log1pl): Likewise.
28943 [non-C99-based standards] (logbl): Likewise.
28944 [non-C99-based standards] (nextafterl): Likewise.
28945 [non-C99-based standards] (remainderl): Likewise.
28946 [non-C99-based standards] (rintl): Likewise.
28947 [non-C99-based standards] (scalbl): Likewise.
28948 [ISO || ISO99 || ISO11] (*_t): Do not allow.
28949 [non-C99-based standards] (FP_*): Do not allow.
28950 [C99-based standards] (FP_*): Change to
28951 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28952 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28954 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28955 (SIG_ERR): Likewise.
28956 [X/Open-based standards] (SIG_HOLD): Likewise.
28957 (SIG_IGN): Likewise.
28958 (SIGABRT): Use macro-int-constant. Specify type. Require
28960 (SIGFPE): Likewise.
28961 (SIGILL): Likewise.
28962 (SIGINT): Likewise.
28963 (SIGSEGV): Likewise.
28964 (SIGTER): Likewise.
28965 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28966 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28967 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28968 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28969 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28970 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28971 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28972 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28973 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28974 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28975 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28976 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28977 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28978 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28979 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28980 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28981 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28982 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28983 [X/Open-based standards] (SIGTRAP): Likewise.
28984 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28985 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28986 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28987 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28988 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28991 2012-05-08 Ian Wienand <ianw@vmware.com>
28994 * time/tzset.c (__tzset_parse_tz): Update default rules for
28995 daylight time changes in the Energy Policy Act of 2005.
28997 2012-05-09 Andreas Jaeger <aj@suse.de>
29000 * elf/ldconfig.c (parse_conf): Change string to make clear that
29001 ldconfig only issued a warning if ld.so.conf does not exist.
29003 2012-05-08 David S. Miller <davem@davemloft.net>
29005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29006 movxtod instead of popping the value on the stack.
29008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29010 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29012 * config.h.in: Add HAVE_ARM_PCS_VFP.
29014 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29017 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29018 checking but the checks are disabled for any reason.
29020 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29022 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29023 and ELF64_R_TYPE with ELFW(R_TYPE).
29025 2012-05-08 Joseph Myers <joseph@codesourcery.com>
29027 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29028 (ulimit): Likewise.
29030 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29031 (settimeofday): Likewise.
29033 2012-05-08 Mike Frysinger <vapier@gentoo.org>
29035 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29036 a struct th_u2 inside the union, and move tu_block/tu_code into
29037 a new th_u3 union of tu_block/tu_code inside of that. Move
29038 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29039 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29040 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29041 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29042 (th_stuff): Change to th_u1.tu_stuff.
29044 (th_msg): Change to th_u1.th_u2.tu_data.
29046 2012-05-07 David S. Miller <davem@davemloft.net>
29048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29051 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29052 (SETUP_PIC_REG): Use it.
29053 (SETUP_PIC_REG_LEAF): Use it.
29055 2012-05-07 Joseph Myers <joseph@codesourcery.com>
29059 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29061 (EXPL_FINITE): Likewise.
29062 (FLDLOG): Likewise.
29063 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29064 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29066 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29068 (EXPL_FINITE): Likewise.
29069 (FLDLOG): Likewise.
29070 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29071 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29073 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
29074 test of -max_value argument for long double.
29075 * sysdeps/i386/fpu/libm-test-ulps: Update.
29076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29078 2012-05-06 David S. Miller <davem@davemloft.net>
29080 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
29081 quad soft-float symbols whose references which are compiler
29083 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29085 2012-05-06 Joseph Myers <joseph@codesourcery.com>
29089 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29091 (EXPL_FINITE): Likewise.
29092 (FLDLOG): Likewise.
29095 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29096 Adjust comments for base varying.
29097 (__expl_finite): Change alias to EXPL_FINITE.
29098 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
29100 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
29101 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29102 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29103 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
29104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29106 (EXPL_FINITE): Likewise.
29107 (FLDLOG): Likewise.
29110 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
29111 Adjust comments for base varying.
29112 (__expl_finite): Change alias to EXPL_FINITE.
29113 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
29115 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29118 * math/libm-test.inc (check_float_internal): Correct ulp
29119 calculation for subnormal expected results.
29121 2012-05-06 Andreas Jaeger <aj@suse.de>
29123 * Makeconfig (+math-flags): New, set to -frounding-math.
29124 (+cflags): Add +math-flags so that all of glibc gets compiled with
29127 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
29129 2012-05-05 Joseph Myers <joseph@codesourcery.com>
29131 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
29137 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
29138 (__ieee754_expl): Allow for and saturate large arguments.
29139 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
29140 (u_threshold): Likewise.
29141 (__exp): Call __ieee754_exp before checking for overflow and
29143 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
29144 (u_threshold): Likewise.
29145 (__expf): Call __ieee754_expf before checking for overflow and
29147 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
29148 (u_threshold): Likewise.
29149 (__expl): Call __ieee754_expl before checking for overflow and
29151 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
29152 (__ieee754_expl): Allow for and saturate large arguments.
29153 * math/libm-test.inc (exp_test): Add another test. Do not allow
29154 missing overflow exception on overflow.
29155 (expm1_test): Do not allow missing overflow exception on overflow.
29157 * sysdeps/i386/fpu/e_expl.c: Move to ...
29158 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
29159 rather than using inline asm.
29160 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
29161 * sysdeps/x86_64/fpu/e_expl.S: Copy from
29162 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
29164 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
29167 (signal): Likewise.
29171 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29173 * sysdeps/unix/syscalls.list (adjtime): Add entry from
29174 sysdeps/unix/common/syscalls.list.
29175 (fchmod): Likewise.
29176 (fchown): Likewise.
29177 (ftruncate): Likewise.
29178 (getrusage): Likewise.
29179 (gettimeofday): Likewise.
29180 (setpgid): Likewise.
29181 (setregid): Likewise.
29182 (setreuid): Likewise.
29183 (sigaction): Likewise.
29184 (truncate): Likewise.
29185 (vhangup): Likewise.
29186 * sysdeps/unix/common/syscalls.list: Remove file.
29187 * sysdeps/unix/bsd/Implies: Don't include unix/common.
29188 * sysdeps/unix/sysv/linux/Implies: Likewise.
29190 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
29192 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29194 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29198 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29201 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29204 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29207 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29210 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29213 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29216 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29218 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29220 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29224 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29227 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29231 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29233 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29235 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29237 * sysdeps/unix/common/bits/dirent.h: Remove file.
29238 * sysdeps/unix/common/bits/fcntl.h: Likewise.
29240 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29241 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29242 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29243 * sysdeps/unix/bsd/isatty.c: Likewise.
29244 * sysdeps/unix/bsd/tcdrain.c: Likewise.
29245 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29246 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29248 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29251 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29252 long double comparison inaccuracies.
29253 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29256 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
29258 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29261 2012-05-04 Joseph Myers <joseph@codesourcery.com>
29264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29265 nonzero digits before rounding a hex value.
29266 * stdlib/tst-strtod.c (tests): Add another test.
29268 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29270 * sysdeps/s390/fpu/libm-test-ulps: Update.
29272 2012-05-03 Andreas Jaeger <aj@suse.de>
29274 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29275 does not get optimized out.
29276 (malloc_opt_barrier): New.
29278 2012-05-03 Andreas Jaeger <aj@suse.de>
29279 Roland McGrath <roland@hack.frob.com>
29281 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29282 intermediate file deletion.
29283 (generated): Add .symlist files.
29285 2012-05-03 Joseph Myers <joseph@codesourcery.com>
29288 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29289 Redirect under this condition.
29290 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29291 [__USE_GNU] (__dprintf_chk): Not under this condition.
29292 [__USE_GNU] (__vdprintf_chk): Likewise.
29293 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29294 under this condition.
29295 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29296 [__USE_XOPEN2K8] (dprintf): Define under this condition.
29297 [__USE_XOPEN2K8] (vdprintf): Likewise.
29298 [__USE_GNU] (__dprintf_chk): Not under this condition.
29299 [__USE_GNU] (__vdprintf_chk): Likewise.
29300 [__USE_GNU] (dprintf): Likewise.
29301 [__USE_GNU] (vdprintf): Likewise.
29303 2012-05-03 Roland McGrath <roland@hack.frob.com>
29305 * elf/Makefile (common-generated): Set this instead of generated for
29306 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
29307 $(all-built-dso)-derived lists.
29309 2012-05-03 Andreas Jaeger <aj@suse.de>
29311 * sysdeps/i386/fpu/libm-test-ulps: Update.
29314 * FAQ.in: Likewise.
29315 * scripts/gen-FAQ.pl: Likewise.
29316 * manual/install.texi (Installation): Point to online location of
29318 * Makefile (files-for-dist): Remove FAQ.
29321 2012-05-02 Allan McRae <allan@archlinux.org>
29323 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29324 (LDFLAGS-reldepmod5.so): Likewise.
29325 (LDFLAGS-reldep6mod1.so): Likewise.
29326 (LDFLAGS-reldep6mod4.so): Likewise.
29327 (LDFLAGS-reldep8mod3.so): Likewise.
29328 (LDFLAGS-unload4mod1.so): Likewise.
29329 (LDFLAGS-unload4mod2.so): Likewise.
29330 (LDFLAGS-tst-initorder): Likewise.
29331 (LDFLAGS-tst-initordera2.so): Likewise.
29332 (LDFLAGS-tst-initordera3.so): Likewise.
29333 (LDFLAGS-tst-initordera4.so): Likewise.
29334 (LDFLAGS-tst-initorderb2.so): Likewise.
29335 (LDFLAGS-noload): Likewise.
29336 (LDFLAGS-next): Likewise.
29337 (LDFLAGS-order2mod1.so): Likewise.
29338 (LDFLAGS-order2mod2.so): Likewise.
29339 (LDFLAGS-tst-initorder2): Likewise.
29340 (LDFLAGS-tst-initorder2a.so): Likewise.
29341 (LDFLAGS-tst-initorder2b.so): Likewise.
29342 (LDFLAGS-tst-initorder2c.so): Likewise.
29343 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29345 2012-05-02 David S. Miller <davem@davemloft.net>
29347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29349 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29352 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29354 2012-05-02 Andreas Jaeger <aj@suse.de>
29356 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29357 since we manipulate rounding mode.
29358 (CPPFLAGS-test-idouble.c): Likewise.
29359 (CPPFLAGS-test-ifloat.c): Likewise.
29360 (CFLAGS-test-ldouble.c): Likewise.
29361 (CFLAGS-test-double.c): Likewise.
29362 (CFLAGS-test-float.c): Likewise.
29363 (CFLAGS-test-misc.c): Likewise.
29364 (CFLAGS-test-test-fenv.c): Likewise.
29366 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29370 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29371 comparisons to determine direction to adjust input.
29373 2012-05-01 Roland McGrath <roland@hack.frob.com>
29375 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29376 output to the target.
29378 * scripts/localplt.awk: New file.
29379 * elf/Makefile ($(objpfx)check-localplt): Target removed.
29380 (check-localplt-CFLAGS): Variable removed.
29381 ($(all-built-dso:=.jmprel)): New static pattern rule.
29382 (generated): Add those targets.
29383 (localplt-built-dso): New variable.
29384 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29386 * elf/check-localplt.c: File removed.
29388 * scripts/check-execstack.awk: New file.
29389 * elf/Makefile ($(objpfx)check-execstack): Target removed.
29390 (check-execstack-CFLAGS): Variable removed.
29391 ($(objpfx)check-execstack.h): Target removed.
29392 ($(objpfx)execstack-default): New target.
29393 (generated): Add that instead of check-execstack.h.
29394 ($(all-built-dso:=.phdr)): New static pattern rule.
29395 (generated): Add those targets.
29396 * elf/check-execstack.c: File removed.
29398 * scripts/check-textrel.awk: New file.
29399 * elf/Makefile ($(objpfx)check-textrel): Target removed.
29400 (check-textrel-CFLAGS): Variable removed.
29401 (all-built-dso): Use := to define.o
29402 ($(all-built-dso:=.dyn)): New static pattern rule.
29403 (generated): Add those targets.
29404 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29405 * config.make.in (READELF): New substituted variable.
29406 * elf/check-textrel.c: File removed.
29408 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29410 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29412 * conform/data/ctype.h-data [C99-based standards] (isblank):
29414 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29415 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29416 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29417 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29418 Specify type. Require positive value.
29419 (EILSEQ): Likewise.
29420 (ERANGE): Likewise.
29421 [ISO || POSIX] (EILSEQ): Do not expect.
29422 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29423 Specify type. Require positive value.
29424 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29425 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29426 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29427 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29428 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29429 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29430 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29431 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29432 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29433 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29434 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29435 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29436 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29437 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29438 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29439 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29440 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29441 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29442 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29443 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29444 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29445 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29446 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29447 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29448 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29449 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29450 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29451 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29452 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29453 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29454 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29455 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29456 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29457 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29458 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29459 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29460 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29461 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29462 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29463 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29464 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29465 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29466 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29467 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29468 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29469 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29470 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29471 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29472 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29473 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29474 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29475 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29476 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29477 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29478 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29479 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29480 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29481 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29482 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29483 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29484 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29485 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29486 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29487 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29488 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29489 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29490 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29491 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29492 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29493 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29494 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29495 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29496 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29497 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29498 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29499 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29500 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29502 (FLT_ROUNDS): Expect as macro, not constant.
29503 (FLT_MANT_DIG): Use macro-int-constant.
29504 (DBL_MANT_DIG): Likewise.
29505 (LDBL_MANT_DIG): Likewise.
29506 (FLT_DIG): Likewise.
29507 (DBL_DIG): Likewise.
29508 (LDBL_DIG): Likewise.
29509 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
29510 (DBL_MIN_EXP): Likewise.
29511 (LDBL_MIN_EXP): Likewise.
29512 (FLT_MAX_EXP): Use macro-int-constant.
29513 (DBL_MAX_EXP): Likewise.
29514 (LDBL_MAX_EXP): Likewise.
29515 (FLT_MAX_10_EXP): Likewise.
29516 (DBL_MAX_10_EXP): Likewise.
29517 (LDBL_MAX_10_EXP): Likewise.
29518 (FLT_MAX): Use macro-constant.
29519 (DBL_MAX): Likewise.
29520 (LDBL_MAX): Likewise.
29521 (FLT_EPSILON): Use macro-constant. Give upper bound.
29522 (DBL_EPSILON): Likewise.
29523 (LDBL_EPSILON): Likewise.
29524 (FLT_MIN): Likewise.
29525 (DBL_MIN): Likewise.
29526 (LDBL_MIN): Likewise.
29527 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29528 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29529 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29530 [ISO11] (FLT_HAS_SUBNORM): Likewise.
29531 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29532 [ISO11] (DBL_DECIMAL_DIG): Likewise.
29533 [ISO11] (FLT_DECIMAL_DIG): Likewise.
29534 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29535 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29536 [ISO11] (FLT_TRUE_MIN): Likewise.
29537 [ISO11] (LDBL_TRUE_MIN): Likewise.
29538 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29539 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29540 (SCHAR_MIN): Use macro-int-constant. Specify type.
29541 (SCHAR_MAX): Likewise.
29542 (UCHAR_MAX): Likewise.
29543 (CHAR_MIN): Likewise.
29544 (CHAR_MAX): Likewise.
29545 (MB_LEN_MAX): Use macro-int-constant.
29546 (SHRT_MIN): Use macro-int-constant. Specify type.
29547 (SHRT_MAX): Likewise.
29548 (USHRT_MAX): Likewise.
29549 (INT_MAX): Likewise.
29550 (INT_MIN): Use macro-int-constant. Specify type. Make upper
29552 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
29554 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29556 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
29557 bound negative. Suffix upper bound with "L".
29558 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
29560 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29562 [C99-based standards] (LLONG_MAX): Likewise.
29563 [C99-based standards] (ULLONG_MAX): Likewise.
29564 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
29566 [ISO11] (max_align_t): Require type.
29567 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29569 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29570 from $CFLAGS, without defining away __attribute__ calls.
29571 (checknamespace): Use $CFLAGS_namespace.
29573 * conform/conformtest.pl (@keywords): Only include C99 keywords
29574 for standards based on C99 or C11.
29576 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29578 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29581 * conform/conformtest.pl: Handle "macro-int-constant" and test for
29582 usability of symbols in #if.
29584 * conform/conformtest.pl: If macro or constant types start
29585 "promoted:", expect the symbol to be of the following type
29586 promoted by the integer promotions.
29588 * conform/conformtest.pl: Parse all "constant" and "macro" lines
29589 in one place. Also handle "macro-constant".
29591 * conform/conformtest.pl: Only accept expected macro values with
29592 "==". Parse all "macro" lines in one place.
29593 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29595 * conform/conformtest.pl: Handle braced types on "constant" lines
29596 instead of handling "typed-constant".
29597 * conform/data/signal.h-data: Use "constant" instead of
29600 * conform/conformtest.pl: Handle "optional-" at start of lines in
29601 one place rather than duplicating several cases. Handle each
29602 format of "macro" line with initial "optional-".
29604 * conform/conformtest.pl: Only accept expected constant or
29605 optional-constant values with "==". Parse all "constant" lines in
29606 one place. Parse all "optional-constant" lines in one place.
29607 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29608 * conform/data/fmtmsg.h-data: Likewise.
29609 * conform/data/netinet/in.h-data: Likewise.
29610 * conform/data/tar.h-data: Likewise.
29611 * conform/data/limits.h-data: Use "==" form on "constant" and
29612 "optional-constant" lines.
29614 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29615 Use -std=c99 for XOPEN2K.
29616 (@knownproblems): Remove.
29617 (newtoken): Don't check %isknown.
29619 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29620 Do not expect macro.
29621 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29622 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29623 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29624 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29625 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29626 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29627 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29628 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29629 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29630 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29631 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29632 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29633 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29634 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29635 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29636 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29637 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29638 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29639 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29640 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29641 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29642 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29643 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29644 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29645 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29646 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29647 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29648 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29649 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29650 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29651 [XPG3] (acosh): Likewise.
29652 [XPG3] (asinh): Likewise.
29653 [XPG3] (atanh): Likewise.
29654 [XPG3] (cbrt): Likewise.
29655 [XPG3] (expm1): Likewise.
29656 [XPG3] (ilogb): Likewise.
29657 [XPG3] (log1p): Likewise.
29658 [XPG3] (logb): Likewise.
29659 [XPG3] (nextafter): Likewise.
29660 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29661 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29662 [XPG3] (remainder): Likewise.
29663 [XPG3] (rint): Likewise.
29664 [XPG3 || XPG4 || UNIX98] (round): Likewise.
29665 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29666 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29667 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29668 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29669 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29670 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29671 [UNIX98 || XOPEN2K] (scalb): Expect.
29672 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29673 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29674 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29675 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29676 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29677 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29678 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29679 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29680 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29681 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29682 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29683 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29684 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29685 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29686 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29687 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29688 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29689 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29690 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29691 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29692 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29693 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29694 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29695 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29696 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29697 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29698 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29699 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29700 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29701 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29702 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29703 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29704 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29705 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29706 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29707 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29708 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29709 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29710 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29711 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29712 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29713 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29714 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29715 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29716 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29717 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29718 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29719 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29720 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29721 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29722 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29723 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29724 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29725 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29726 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29727 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29728 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29729 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29730 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29731 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29732 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29733 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29734 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29735 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29736 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29737 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29738 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29739 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29740 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29741 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29742 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29743 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29744 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29745 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29746 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29747 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29748 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29749 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29750 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29751 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29752 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29753 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29754 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29755 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29756 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29757 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29758 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29759 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29760 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29761 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29762 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29763 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29764 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29765 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29766 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29767 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29768 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29769 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29770 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29771 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29772 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29773 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29774 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29775 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29776 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29777 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29778 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29779 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29780 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29781 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29782 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29783 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29784 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29785 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29786 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29787 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29788 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29789 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29790 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29791 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29792 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29793 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29794 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29795 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29796 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29797 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29798 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29799 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29800 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29801 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29802 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29803 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29804 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29805 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29806 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29807 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29808 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29810 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29811 _XOPEN_SOURCE_EXTENDED for XPG4.
29813 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29815 * Makeconfig (localtime): Remove variable.
29816 (inst_localtime-file): Likewise.
29818 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29839 2012-05-01 Joseph Myers <joseph@codesourcery.com>
29843 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29844 comparisons to determine direction to adjust input.
29845 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29846 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29847 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29849 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29851 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29853 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29854 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29856 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29858 * math/libm-test.inc (nexttoward_test): Add more tests.
29860 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
29863 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29864 in version GLIBC_2.1, not GLIBC_2.0.
29865 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29868 2012-04-30 Joseph Myers <joseph@codesourcery.com>
29871 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29873 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29874 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29875 * math/libm-test.inc (acos_test): Add more tests.
29876 (asin_test): Likewise.
29877 * sysdeps/i386/fpu/libm-test-ulps: Update.
29878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29881 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29883 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29884 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29885 * math/libm-test.inc (acos_test_tonearest): New function.
29886 (acos_test_towardzero): Likewise.
29887 (acos_test_downward): Likewise.
29888 (acos_test_upward): Likewise.
29889 (asin_test_tonearest): Likewise.
29890 (asin_test_towardzero): Likewise.
29891 (asin_test_downward): Likewise.
29892 (asin_test_upward): Likewise.
29893 (main): Call the new functions.
29894 * sysdeps/i386/fpu/libm-test-ulps: Update.
29895 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29899 * math/e_exp10.c: Include <float.h>.
29900 (__ieee754_exp10): Handle underflow here rather than multiplying
29901 large negative argument by M_LN10.
29902 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29904 * math/e_exp10l.c: Include <float.h>.
29905 (__ieee754_exp10l): Handle underflow here rather than multiplying
29906 large negative argument by M_LN10l.
29907 * math/libm-test.inc (exp10_test): Add another test. Do not allow
29908 spurious overflow exception on underflow.
29910 2012-04-29 Marek Polacek <polacek@redhat.com>
29912 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29913 (__fortify_function): New macro.
29914 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29915 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29916 __extern_always_inline.
29917 * libio/bits/stdio2.h: Likewise.
29918 * libio/bits/stdio.h: Likewise.
29919 * string/string.h: Likewise.
29920 * string/bits/string3.h: Likewise.
29921 * include/stdio.h: Likewise.
29922 * stdlib/bits/stdlib.h: Likewise.
29923 * stdlib/stdlib.h: Likewise.
29924 * rt/bits/mqueue2.h: Likewise.
29925 * rt/mqueue.h: Likewise.
29926 * posix/bits/unistd.h: Likewise.
29927 * posix/unistd.h: Likewise.
29928 * io/bits/poll2.h: Likewise.
29929 * io/bits/fcntl2.h: Likewise.
29930 * io/fcntl.h: Likewise.
29931 * io/sys/poll.h: Likewise.
29932 * misc/bits/syslog.h: Likewise.
29933 * misc/bits/syslog-ldbl.h: Likewise.
29934 * misc/sys/syslog.h: Likewise.
29935 * socket/bits/socket2.h: Likewise.
29936 * socket/sys/socket.h: Likewise.
29937 * debug/tst-chk1.c: Likewise.
29938 * wcsmbs/bits/wchar2.h: Likewise.
29939 * wcsmbs/bits/wchar-ldbl.h: Likewise.
29940 * wcsmbs/wchar.h: Likewise.
29942 2012-04-29 Andreas Jaeger <aj@suse.de>
29944 * Makerules (tests): Remove enable-check-abi protection.
29945 (check-abi-warn): Remove.
29946 (check-abi-%): Remove check-abi-warn usage.
29948 * configure.in: Remove check-abi configure option.
29949 * configure: Regenerated.
29950 * config.make.in (enable-check-abi): Remove.
29952 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
29955 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29956 double functions to double *_finite functions.
29959 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29960 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29962 * stdio-common/Makefile (tests): Add tst-sprintf3.
29963 * stdio-common/tst-sprintf3.c: New file.
29965 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29966 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29968 2012-04-28 Joseph Myers <joseph@codesourcery.com>
29970 * conform/conformtest.pl: Remove duplicate typed-constant
29973 2012-04-28 David S. Miller <davem@davemloft.net>
29975 * Makerules (%.abilist): Add vpath on sysdep_dirs.
29976 (check-abi-%): Remove AWK script prerequisite and explicit
29978 (check-abi): Rewrite to just diff the symlist with the abilist.
29979 (config-tls, config-abi-config): Delete, no longer used.
29980 (update-abi-%): Remove AWK script and explicit abilist directory.
29981 (update-abi): Rewrite to simply compare and conditionally copy the
29982 symlist and the sysdep abilist file. Remove update-abi-config
29984 * abilist/ld.abilist: Remove.
29985 * abilist/libBrokenLocale.abilist: Remove.
29986 * abilist/libanl.abilist: Remove.
29987 * abilist/libcrypt.abilist: Remove.
29988 * abilist/libdl.abilist: Remove.
29989 * abilist/librt.abilist: Remove.
29990 * abilist/libthread_db.abilist: Remove.
29991 * abilist/libutil.abilist: Remove.
29992 * scripts/extract-abilist.awk: Remove.
29993 * scripts/merge-abilist.awk: Remove.
29994 * sysdeps/generic/libcidn.abilist: New file.
29995 * sysdeps/generic/libnss_compat.abilist: New file.
29996 * sysdeps/generic/libnss_db.abilist: New file.
29997 * sysdeps/generic/libnss_dns.abilist: New file.
29998 * sysdeps/generic/libnss_files.abilist: New file.
29999 * sysdeps/generic/libnss_hesiod.abilist: New file.
30000 * sysdeps/generic/libnss_nis.abilist: New file.
30001 * sysdeps/generic/libnss_nisplus.abilist: New file.
30002 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30003 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30004 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30006 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30007 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30008 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30009 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30010 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30011 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30012 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30013 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30014 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30016 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30017 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30018 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30019 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30021 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30022 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30023 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30024 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30025 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30026 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30028 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30029 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30030 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30032 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30045 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30047 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30049 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30051 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30053 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30055 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30057 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
30075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
30079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
30081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
30083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
30085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
30086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
30088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
30092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
30094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
30096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
30098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
30100 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
30104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
30106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
30110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
30111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
30113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
30117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
30119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
30121 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
30123 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
30125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
30129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
30131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
30135 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30136 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
30137 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
30139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
30140 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
30141 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
30142 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
30143 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
30144 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
30145 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
30146 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
30147 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
30148 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
30149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
30150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
30152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
30154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
30156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
30158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
30160 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
30162 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
30164 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
30168 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
30170 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
30172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
30174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
30175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
30177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
30179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
30181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
30183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
30185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
30187 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
30189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30191 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30193 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30195 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30200 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30202 * conform/conformtest.pl: Fix typo in handling typed-constant from
30205 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30207 * README: Cut down references to pre-2.6 Linux kernels and
30208 Linuxthreads. Update lists of configurations in libc and ports
30209 and sort alphabetically. Say "or newer" with Linux kernel version
30212 * config.h.in [IS_IN_build]: Allow compiling without optimization.
30214 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30217 * math/libm-test.inc (logb_test_downward): New test to expose
30218 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30221 2012-04-27 Joseph Myers <joseph@codesourcery.com>
30224 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30226 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30227 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30229 2012-04-26 Joseph Myers <joseph@codesourcery.com>
30231 * sysdeps/unix/i386/brk.S: Remove file.
30232 * sysdeps/unix/i386/dl-brk.S: Likewise.
30233 * sysdeps/unix/i386/pipe.S: Likewise.
30234 * sysdeps/unix/i386/sigreturn.S: Likewise.
30235 * sysdeps/unix/i386/syscall.S: Likewise.
30236 * sysdeps/unix/i386/vfork.S: Likewise.
30237 * sysdeps/unix/i386/wait.S: Likewise.
30239 * sysdeps/unix/common/tcsendbrk.c: Move to ...
30240 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30242 * configure.in (arm*-none*): Do not allow without
30243 --enable-hacker-mode.
30244 (netbsd*): Remove case setting base_os.
30245 (386bsd*): Likewise.
30246 (freebsd*): Likewise.
30249 (sunos*): Likewise.
30250 (ultrix*): Likewise.
30251 (newsos*): Likewise.
30252 (dynix*): Likewise.
30258 (minix*): Likewise.
30259 (irix4*): Likewise.
30260 (irix6*): Likewise.
30261 (solaris[2-9]*): Likewise.
30263 * configure: Regenerated.
30265 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30268 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30269 overflow or cancellation in calculating denominator.
30270 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30271 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30272 down expression to avoid unexpected rounding in newer GCCs.
30273 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30275 2012-04-26 David S. Miller <davem@davemloft.net>
30277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30278 long-double compat symbols.
30279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30293 2012-04-25 David S. Miller <davem@davemloft.net>
30295 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30296 HWCAP_* values only after the memory barriers have been defined.
30297 (atomic_full_barrier): Define.
30298 (atomic_read_barrier): Define.
30299 (atomic_write_barrier): Define.
30301 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30303 * shlib-versions: Add libgcc_s version information.
30304 * sysdeps/generic/libgcc_s.h: Remove.
30305 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30307 * sysdeps/gnu/unwind-resume.c: Likewise.
30308 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30310 2012-04-25 David S. Miller <davem@davemloft.net>
30312 * sysdeps/unix/sparc/brk.S: Delete.
30313 * sysdeps/unix/sparc/dl-brk.S: Delete.
30314 * sysdeps/unix/sparc/pipe.S: Delete.
30315 * sysdeps/unix/sparc/sysdep.S: Delete.
30316 * sysdeps/unix/sparc/sysdep.h: Delete.
30317 * sysdeps/unix/sparc/vfork.S: Delete.
30318 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30319 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30320 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30321 ret_ERRVAL, r0, r1, MOVE): Define.
30322 (JUMPTARGET): Remove.
30323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30324 sysdeps/unix/sparc/sysdep.h
30325 (ENTRY, END): Remove.
30326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30328 2012-04-25 Joseph Myers <joseph@codesourcery.com>
30330 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30331 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30334 * timezone/README: Update upstream location and email address for
30336 * timezone/zdump.c: Update from tzcode 2012b.
30337 * timezone/zic.c: Likewise.
30339 * configure.in (libc_cv_as_needed): Remove test.
30340 * configure: Regenerated.
30341 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30342 conditional definition.
30343 [$(have-as-needed) != yes] (no-as-needed): Likewise.
30344 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30345 * config.make.in (have-as-needed): Remove variable.
30347 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30348 Paul Pluzhnikov <ppluzhnikov@google.com>
30350 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30353 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
30355 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30356 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30357 * sysdeps/sh/strlen.S: Likewise.
30359 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30361 * sysdeps/unix/fork.S: Remove file.
30362 * sysdeps/unix/i386/fork.S: Likewise.
30363 * sysdeps/unix/sparc/fork.S: Likewise.
30365 * sysdeps/unix/system.c: Remove file.
30366 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30368 * sysdeps/unix/getegid.S: Remove file.
30369 * sysdeps/unix/geteuid.S: Likewise.
30371 2012-04-24 Roland McGrath <roland@hack.frob.com>
30373 * scripts/check-localplt.awk: New file.
30374 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30376 * scripts/data/localplt-generic.data: Add a comment.
30378 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30379 NODE when __dir_mkfile failed.
30380 * sysdeps/mach/hurd/symlinkat.c: Likewise.
30381 Reported by Ludovic Courtès <ludo@gnu.org>.
30383 2012-04-24 Andreas Jaeger <aj@suse.de>
30385 * Makerules (common-clean): Also remove gen-as-const-headers
30388 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30390 * Makerules (native-compile): Do not change working directory for
30391 build. Use $(OUTPUT_OPTION) in command.
30392 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30394 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30397 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30398 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30399 * math/libm-test.inc (floor_test): Add more tests.
30400 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30402 2012-04-24 Joseph Myers <joseph@codesourcery.com>
30404 * sysdeps/unix/getdents.c: Remove file.
30405 * sysdeps/unix/sysv/getdents.c: Likewise.
30406 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30408 * sysdeps/unix/syscalls.list (madvise): Add syscall from
30409 sysdeps/unix/mman/syscalls.list.
30411 (mprotect): Likewise.
30413 (munmap): Likewise.
30414 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30415 * sysdeps/unix/mman/syscalls.list: Remove.
30416 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30418 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30419 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30420 * configure: Regenerated.
30421 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30422 $(libgcc_s_suffix).
30423 * config.make.in (libgcc_s_suffix): Remove variable.
30425 2012-04-23 Joseph Myers <joseph@codesourcery.com>
30427 * sysdeps/unix/sysv/gethostname.c: Move to ...
30428 * sysdeps/posix/gethostname.c: ... here.
30430 * sysdeps/unix/execve.S: Remove file.
30432 * sysdeps/unix/_exit.S: Remove file.
30434 2012-04-23 Andreas Jaeger <aj@suse.de>
30437 * manual/Makefile: Remove make dist support, there's no
30438 need for a stand-alone documentation tar ball.
30439 (TEXI2DVI): Define always, it's not in Makeconfig.
30442 (edition): Removed.
30443 (glibc-doc-$(edition).tar): Removed
30447 (ETAGS): Remove, it's in Makeconfig.
30448 (move-if-change): Remove, it's in Makeconfig.
30450 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
30453 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30454 (strtod, strtof, strtold, strtol, strtoul, strtoq)
30455 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30456 (strtod_l, strtof_l, strtold_l): Remove __wur.
30457 It is not necessarily an error to ignore strtol's return value.
30458 One can reliably look at the stored endptr to decide whether
30459 the number had valid syntax.
30461 2012-04-21 Andreas Jaeger <aj@suse.de>
30464 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30466 2012-04-21 Joseph Myers <joseph@codesourcery.com>
30468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30469 * sysdeps/unix/sysv/Versions: Remove file.
30471 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
30474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30476 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
30479 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30480 version from __vm86.
30482 2012-04-20 Joseph Myers <joseph@codesourcery.com>
30484 * sysdeps/unix/common/lxstat.c: Remove file.
30485 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30487 * sysdeps/unix/sysv/Makefile: Remove file.
30489 * sysdeps/unix/sysv/direct.h: Remove file.
30491 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30492 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30493 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30494 * sysdeps/unix/sysv/bits/signum.h: Likewise.
30495 * sysdeps/unix/sysv/bits/stat.h: Likewise.
30496 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30497 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30499 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30501 * sysdeps/unix/xmknod.c: Remove file.
30502 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30504 * sysdeps/unix/sysv/settimeofday.c: Remove file.
30506 * sysdeps/unix/sysv/i386/time.S: Remove file.
30508 * sysdeps/unix/fxstat.c: Remove file.
30509 * sysdeps/unix/xstat.c: Likewise.
30510 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30512 * sysdeps/unix/sysv/sigaction.c: Remove file.
30514 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30515 (sysdep_headers): Remove variable.
30516 [termio.h not in sysdep_headers] (generated): Likewise.
30517 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30518 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30519 * sysdeps/unix/sysv/tcdrain.c: Likewise.
30520 * sysdeps/unix/sysv/tcflow.c: Likewise.
30521 * sysdeps/unix/sysv/tcflush.c: Likewise.
30522 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30523 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30524 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30525 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30526 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30528 * sysdeps/unix/siglist.c: Remove file.
30530 * sysdeps/unix/getppid.S: Remove file.
30532 * sysdeps/unix/mkdir.c: Remove file.
30533 * sysdeps/unix/rmdir.c: Likewise.
30535 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
30537 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30539 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30540 errlist-compat value.
30542 2012-04-18 David S. Miller <davem@davemloft.net>
30544 * sysdeps/generic/memcopy.h (reg_char): Delete.
30545 * debug/strcat_chk.c: Use char, not reg_char.
30546 * debug/strcpy_chk.c: Likewise.
30547 * debug/strncat_chk.c: Likewise.
30548 * debug/strncpy_chk.c: Likewise.
30549 * string/memchr.c: Likewise.
30550 * string/memrchr.c: Likewise.
30551 * string/rawmemchr.c: Likewise.
30552 * string/strcat.c: Likewise.
30553 * string/strchr.c: Likewise.
30554 * string/strchrnul.c: Likewise.
30555 * string/strcmp.c: Likewise.
30556 * string/strcpy.c: Likewise.
30557 * string/strncat.c: Likewise.
30558 * string/strncmp.c: Likewise.
30559 * string/strncpy.c: Likewise.
30561 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30563 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30564 __builtin_memcopy is called when src and dest ranges are known to not
30567 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30570 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30571 fwd_align_merge macro call.
30572 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30573 bwd_align_merge macro call.
30574 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30576 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
30578 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30579 bwd_align_merge macros.
30580 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30581 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30582 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30584 2012-04-18 David S. Miller <davem@davemloft.net>
30586 * sysdeps/sparc/sparc64/memcopy.h: Delete.
30588 2012-04-18 Andreas Jaeger <aj@suse.de>
30591 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30592 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30593 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30595 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30596 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30597 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30599 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30600 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30601 Adjust for changed ldbl-128 files.
30603 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30604 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30605 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30607 2012-04-17 David S. Miller <davem@davemloft.net>
30609 * sysdeps/sparc/sparc32/memcopy.h: Delete.
30611 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
30613 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30614 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30615 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30616 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30617 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30618 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30620 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30623 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30624 * math/libm-test.inc: Add ilogb errno and exception tests.
30625 * math/w_ilogb.c: New file: ilogb wrapper.
30626 * math/w_ilogbf.c: New file: ilogbf wrapper.
30627 * math/w_ilogbl.c: New file: ilogbl wrapper.
30628 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30629 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30630 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30631 exception being thrown with 0.0 as argument.
30632 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30633 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30634 exception being thrown with 0.0 as argument.
30635 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30636 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30637 exception being thrown with 0.0 as argument.
30638 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30639 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30640 exception being thrown with 0.0 as argument.
30641 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30642 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30643 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30644 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30645 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30646 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30647 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30648 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30649 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30651 2012-04-17 Petr Baudis <pasky@ucw.cz>
30653 * include/sys/uio.h: Change __vector to __iovec to avoid clash
30656 2012-04-16 Marek Polacek <polacek@redhat.com>
30658 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30660 2012-04-16 Marek Polacek <polacek@redhat.com>
30662 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30663 operands of fdivp instruction.
30665 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30667 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30668 * elf/tst-auditmod3b.c: Likewise.
30669 * elf/tst-auditmod4b.c: Likewise.
30670 * elf/tst-auditmod5b.c: Likewise.
30671 * elf/tst-auditmod6b.c: Likewise.
30672 * elf/tst-auditmod6c.c: Likewise.
30673 * elf/tst-auditmod7b.c: Likewise.
30674 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30675 * sysdeps/x86_64/preconfigure.in: Likewise.
30676 * sysdeps/x86_64/preconfigure: Regenerated.
30678 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
30680 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30683 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
30685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30686 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30688 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
30691 * locale/iso-639.def: Fix gl language name. Spotted by
30694 2012-04-12 Roland McGrath <roland@hack.frob.com>
30697 * libio/libio.h (__io_write_fn): Update comment.
30699 2012-04-12 Petr Baudis <pasky@ucw.cz>
30702 * stdio.texi (Hook Functions): The user provided writer function
30703 is not allowed to return -1.
30705 2012-04-11 David S. Miller <davem@davemloft.net>
30707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30709 2012-04-11 Mike Frysinger <vapier@gentoo.org>
30711 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30712 Add a leading slash to rtkaio.
30714 2012-04-11 Jim Meyering <meyering@redhat.com>
30717 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30718 It is not necessarily an error to ignore fwrite's return
30719 value. One can reliably use ferror to test for errors after
30722 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30724 * bits/types.h (__snseconds_t): New type.
30725 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30727 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30728 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30729 (__SNSECONDS_T_TYPE): Likewise.
30730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30731 (__SNSECONDS_T_TYPE): Likewise.
30732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30733 (__SNSECONDS_T_TYPE): Likewise.
30735 2012-04-10 Andreas Jaeger <aj@suse.de>
30738 * manual/time.texi (Processor Time): Return type of times is
30739 elapsed real time since an arbitrary point in the past.
30740 (CPU Time): Move CLK_TCK from here...
30741 (Processor Time): ...to here. Correct description.
30742 * manual/conf.texi (Constants for Sysconf): Correct description of
30745 2012-04-10 David S. Miller <davem@davemloft.net>
30748 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30749 where the is a gap between DT_REL(A) and DT_JMPREL.
30751 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30753 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30754 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30755 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30757 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30759 * elf/dl-support.c (_dl_inhibit_cache): New variable.
30760 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30761 (dl_main): Handle --inhibit-cache.
30762 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30764 * elf/dl-load.c (_dl_map_object): Use it.
30765 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30767 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30770 * sysdeps/i386/fpu/e_powl.S (p78): New object.
30771 (__ieee754_powl): Saturate large exponents rather than testing for
30772 overflow of y*log2(x).
30773 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30774 * math/libm-test.inc (pow_test): Do not permit spurious overflow
30778 * math/s_ctan.c: Include <float.h>.
30779 (__ctan): Avoid internal overflow or cancellation in calculating
30781 * math/s_ctanf.c: Likewise.
30782 * math/s_ctanl.c: Likewise.
30783 * math/s_ctanh.c: Likewise.
30784 * math/s_ctanhf.c: Likewise.
30785 * math/s_ctanhl.c: Likewise.
30786 * math/libm-test.inc (ctan_test): Add more tests.
30787 (ctanh_test): Likewise.
30788 * sysdeps/i386/fpu/libm-test-ulps: Update.
30789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30791 2012-04-09 Andreas Jaeger <aj@suse.de>
30794 * manual/filesys.texi (Directory Entries): Mention that d_namlen
30795 is an optional BSD extension.
30798 * manual/stdio.texi (Opening Streams): Document additional fopen
30801 2012-04-09 Roland McGrath <roland@hack.frob.com>
30803 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30804 %eax without telling the compiler.
30806 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
30809 * manual/install.texi: Use sourceware.org.
30811 2012-04-09 Joseph Myers <joseph@codesourcery.com>
30814 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30815 (__ieee754_pow): Generate overflow and underflow using huge*huge
30816 and tiny*tiny rather than just returning constant infinity or zero
30817 for large exponents.
30818 * math/libm-test.inc (pow_test): Require overflow exceptions for
30819 applicable cases of large exponents.
30822 * sysdeps/i386/fpu/e_pow.S (p10): New object.
30823 (__ieee754_pow): Use iterative multiplication algorithm only for
30824 integer exponents with absolute value below 1024. Check for odd
30825 integer exponents when using algorithm for real exponents.
30826 * math/libm-test.inc (pow_test): Add more tests.
30827 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30829 2012-04-08 Joseph Myers <joseph@codesourcery.com>
30832 * math/libm-test.inc (exp_test): Do not allow overflow exception
30835 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
30838 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30839 instead of __kernel_standard_f.
30841 2012-04-08 Mike Frysinger <vapier@gentoo.org>
30843 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30844 * sysdeps/x86_64/memset_chk.S: Likewise.
30846 2012-04-08 Andreas Jaeger <aj@suse.de>
30849 * manual/startup.texi (Environment Access): Describe return value
30850 for putenv and setenv.
30853 * manual/filesys.texi (Directory Entries): Add description for
30857 * manual/filesys.texi (Directory Entries): Clarify that it's file
30858 system not operating system in the description of DT_UNKNOWN.
30861 * manual/syslog.texi (closelog): Fix reference, it's openlog.
30863 2012-04-08 Stephen Compall <s11@member.fsf.org>
30866 * manual/llio.texi (Opening and Closing Files): Add cross
30867 reference to explain mode argument.
30869 2012-04-07 Mike Frysinger <vapier@gentoo.org>
30871 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30872 * sysdeps/x86_64/memset_chk.S: Likewise.
30874 2012-04-07 David S. Miller <davem@davemloft.net>
30876 * elf/elf.h (R_SPARC_WDISP10): Define.
30877 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30879 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30880 R_SPARC_SIZE64 and R_SPARC_H34.
30882 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
30884 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30885 conditions and remove no longer applicable assertion.
30887 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30889 * bits/byteswap.h: Include <features.h>.
30890 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30891 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30893 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
30895 * bits/byteswap.h (__bswap_16): Removed.
30896 Include <bits/byteswap-16.h> to get __bswap_16.
30897 * sysdeps/i386/bits/byteswap.h: Likewise.
30898 * sysdeps/s390/bits/byteswap.h: Likewise.
30899 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30900 * bits/byteswap-16.h: New file.
30901 * sysdeps/i386/bits/byteswap-16.h: Likewise.
30902 * sysdeps/s390/bits/byteswap-16.h: Likewise.
30903 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30904 * string/Makefile (headers): Add bits/byteswap-16.h.
30906 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
30909 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30911 * nss/Makefile (tests-static, tests): Add tst-nss-static.
30912 * nss/tst-nss-static.c: New.
30914 2012-04-06 Robert Millan <rmh@gnu.org>
30917 * manual/llio.texi (File Position Primitive): lseek
30918 refers to WHENCE when it really means OFFSET.
30920 2012-04-06 Andreas Jaeger <aj@suse.de>
30922 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30923 strncmp declarations.
30925 * abilist/libc.abilist: Add __poll and __ppoll.
30927 2012-04-05 David S. Miller <davem@davemloft.net>
30929 * scripts/check-local-headers.sh: Accept a host triplet in the
30930 path matched by the exclude regexp.
30932 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30934 * sysdeps/powerpc/powerpc32/dl-machine.h
30935 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30936 * sysdeps/s390/s390-32/dl-machine.h
30937 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30938 * sysdeps/sparc/sparc32/dl-machine.h
30939 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30940 * sysdeps/sparc/sparc64/dl-machine.h
30941 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30943 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30945 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30946 undefined symbol errors.
30948 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30951 2012-04-05 Michael Matz <matz@suse.de>
30954 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30956 2012-04-05 Andreas Jaeger <aj@suse.de>
30959 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30962 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30964 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30965 which ROUND is no valid rounding mode.
30967 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30969 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30971 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30973 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30975 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30976 an exception using FPU order intentionally.
30978 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30980 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30981 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30982 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30983 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30985 2012-04-05 Simon Josefsson <simon@josefsson.org>
30988 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30989 EINVAL when BUFLEN is too smal.
30991 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
30994 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30995 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30997 2012-04-03 Andreas Jaeger <aj@suse.de>
31000 * manual/setjmp.texi (System V contexts): Fix sentence.
31003 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31004 New macro for this case.
31005 [!__GNUC__] (__bswap_64): New inline function for this case.
31006 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31007 * bits/byteswap.h: Likewise.
31008 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31009 ull, guard with __GLIBC_HAVE_LONG_LONG.
31011 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31012 __GLIBC_HAVE_LONG_LONG.
31014 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31015 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31017 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31020 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31021 inptr and inend, rather than using last_ch.
31023 2012-04-02 David S. Miller <davem@davemloft.net>
31025 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31026 * stdio-common/printf-parse.h (read_int): Change return type to
31027 'int', return -1 on INT_MAX overflow.
31028 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31029 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31030 overflows INT_MAX. Check for overflow of in-format-string precision
31031 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31032 SIZE_MAX not INT_MAX for integer overflow test.
31033 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31034 skip the construct in the format string but do not record anything.
31035 * stdio-common/bug22.c: Adjust to test both width/prevision
31036 INT_MAX overflow as well as total length INT_MAX overflow. Check
31037 explicitly for proper errno values.
31039 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31041 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31043 * string/test-strcmp.c [! WIDE]: Likewise.
31044 * time/tst-mktime2.c: Likewise for INT_MAX.
31045 * string/test-string.h: #include <sys/param.h> for MIN.
31047 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31048 * sysdeps/i386/init-first.c (init): Likewise.
31049 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31050 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31051 * sysdeps/sh/init-first.c (init): Likewise.
31053 2012-04-01 Ulrich Drepper <drepper@gmail.com>
31055 * po/ru.po: Update from translation team.
31056 * po/vi.po: Likewise.
31058 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31060 * resolv/nss_dns/dns-host.c: Merge copyright years.
31062 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31064 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31065 Optimize memcpy with prefetch if
31066 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31067 src, dst pointers have unequal 16 byte alignments.
31069 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31072 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
31073 from a CNAME entry and return the minimum ttl for the query.
31074 (gaih_getanswer_slice): Likewise.
31076 2012-03-30 Jeff Law <law@redhat.com>
31078 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
31080 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
31081 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
31083 * resolv/nss_dns/dns-host.c: Update copyright year.
31085 2012-03-30 Ulrich Drepper <drepper@gmail.com>
31087 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
31088 requests to save a system call. Fix check that all bytes are sent.
31090 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
31091 comments for sendmmsg.
31093 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31096 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
31097 with only 1 character between 0x0041 and 0x01b0.
31098 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
31099 * wcsmbs/tst-mbsnrtowcs.c: New file.
31101 2012-03-29 David S. Miller <davem@davemloft.net>
31103 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
31104 small copies by hand.
31106 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31109 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
31110 _nss_compat_initgroups_dyn): Fall back to malloc/free
31111 for large group memberships.
31113 2012-03-28 David S. Miller <davem@davemloft.net>
31115 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
31116 that branches into memcpy.
31117 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31118 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
31119 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
31120 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
31121 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
31123 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
31124 implementation too.
31125 * sysdeps/sparc/mempcpy.S: New file.
31127 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
31128 the IFUNC routine in the libc case.
31129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
31131 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
31132 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
31133 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
31134 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
31135 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
31136 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
31137 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
31138 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
31140 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
31141 loop to 256 bytes instead of 64 bytes and fix test signedness.
31143 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
31144 * sysdeps/sparc/sparc32/Makefile: rather than here...
31145 * sysdeps/sparc/sparc64/Makefile: and here.
31147 2012-03-28 Ulrich Drepper <drepper@gmail.com>
31149 * malloc/mallocbug.c: Avoid warnings about unused variables.
31151 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
31154 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
31155 in the right place. Discard and retry query if response is
31156 larger than input buffer size.
31158 2012-03-28 Joseph Myers <joseph@codesourcery.com>
31163 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
31164 x for large integer exponent.
31165 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31166 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
31167 sign of result as needed afterwards.
31168 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
31169 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
31170 result for underflowing pow the same as for overflow.
31171 (__kernel_standard_l): Handle powl overflow and underflow here
31172 rather than calling __kernel_standard.
31173 * math/libm-test.inc (pow_test): Add more tests.
31188 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31189 * sysdeps/ieee754/k_standard.c: Include <float.h>.
31190 (__kernel_standard_l): New function.
31191 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31193 * math/w_acosl.c (__acosl): Likewise.
31194 * math/w_asinl.c (__asinl): Likewise.
31195 * math/w_atan2l.c (__atan2l): Likewise.
31196 * math/w_atanhl.c (__atanhl): Likewise.
31197 * math/w_coshl.c (__coshl): Likewise.
31198 * math/w_exp10l.c (__exp10l): Likewise.
31199 * math/w_exp2l.c (__exp2l): Likewise.
31200 * math/w_fmodl.c (__fmodl): Likewise.
31201 * math/w_hypotl.c (__hypotl): Likewise.
31202 * math/w_j0l.c (__j0l, __y0l): Likewise.
31203 * math/w_j1l.c (__j1l, __y1l): Likewise.
31204 * math/w_jnl.c (__jnl, __ynl): Likewise.
31205 * math/w_lgammal.c (__lgammal): Likewise.
31206 * math/w_log10l.c (__log10l): Likewise.
31207 * math/w_log2l.c (__log2l): Likewise.
31208 * math/w_logl.c (__logl): Likewise.
31209 * math/w_powl.c (__powl): Likewise.
31210 * math/w_remainderl.c (__remainderl): Likewise.
31211 * math/w_scalbl.c (sysv_scalbl): Likewise.
31212 * math/w_sinhl.c (__sinhl): Likewise.
31213 * math/w_sqrtl.c (__sqrtl): Likewise.
31214 * math/w_tgammal.c (__tgammal): Likewise.
31215 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31216 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31217 * math/libm-test.inc (acos_test): Add more tests.
31218 (acosh_test): Likewise.
31219 (asin_test): Likewise.
31220 (atanh_test): Likewise.
31221 (exp_test): Likewise.
31222 (exp10_test): Likewise.
31223 (exp2_test): Likewise.
31224 (expm1_test): Likewise.
31225 (lgamma_test): Likewise.
31226 (log_test): Likewise.
31227 (log10_test): Likewise.
31228 (log1p_test): Likewise.
31229 (log2_test): Likewise.
31230 (pow_test): Do not allow some spurious overflow exceptions.
31231 (sqrt_test): Add more tests.
31232 (tgamma_test): Likewise.
31233 (y0_test): Likewise.
31234 (y1_test): Likewise.
31235 (yn_test): Likewise.
31237 2012-03-27 Anton Blanchard <anton@samba.org>
31239 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31241 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31242 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31243 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31245 2012-03-27 David S. Miller <davem@davemloft.net>
31247 * conform/Makefile: Run run-conformtest.sh using $(BASH).
31249 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31250 have-as-vis3 check.
31252 2012-03-27 Andreas Jaeger <aj@suse.de>
31254 * sysdeps/x86_64/elf/configure.in: Moved to ...
31255 * sysdeps/x86_64/configure.in: ... here.
31256 * sysdeps/x86_64/elf/start.S: Moved to ...
31257 * sysdeps/x86_64/start.S: ... here.
31258 * sysdeps/x86_64/elf/configure: Delete.
31260 * sysdeps/x86_64/configure.in: Merge contents from
31261 sysdeps/i386/configure.in (without i686 check).
31263 * sysdeps/i386/elf/Versions: Merge into ...
31264 * sysdeps/i386/Versions: ... this.
31265 * sysdeps/i386/elf/Versions: Delete file.
31266 * sysdeps/i386/elf/start.S: Moved to ...
31267 * sysdeps/i386/start.S: ...here.
31268 * sysdeps/i386/elf/configure.in: Merge into...
31269 * sysdeps/i386/configure.in: ...here.
31270 * sysdeps/i386/elf/configure.in: Delete file.
31271 * sysdeps/i386/elf/configure: Delete file.
31273 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31274 * debug/backtracesyms.c: ... here.
31275 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31276 * debug/backtracesymsfd.c: ... here.
31277 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31278 * sysdeps/generic/ifunc-sel.h: ... here.
31280 * sysdeps/unix/i386/start.c: Delete file.
31281 * sysdeps/unix/sparc/start.c: Delete file.
31282 * sysdeps/unix/start.c: Delete file.
31284 * sysdeps/sh/elf/configure.in: Moved to ...
31285 * sysdeps/sh/configure.in: ... here.
31286 * sysdeps/sh/elf/start.S: Moved to ...
31287 * sysdeps/sh/start.S: ... here.
31288 * sysdeps/sh/elf/configure: Delete file.
31290 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31291 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31292 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31293 * sysdeps/powerpc/powerpc64/entry.h: ... here.
31294 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31295 * sysdeps/powerpc/powerpc64/start.S: here.
31296 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31297 * sysdeps/powerpc/powerpc64/Makefile: ... this.
31298 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31299 * sysdeps/powerpc/powerpc64/configure.in: ... this.
31300 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31302 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31303 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31304 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31305 * sysdeps/powerpc/powerpc32/start.S: ... here.
31306 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31307 * sysdeps/powerpc/powerpc32/configure.in: ... this.
31308 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31310 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31311 * sysdeps/powerpc/ifunc-sel.h: ... here.
31312 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31313 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31315 * sysdeps/sparc/elf/configure.in: Moved to ...
31316 * sysdeps/sparc/configure.in: ... here.
31317 * sysdeps/sparc/elf/configure: Delete file.
31318 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31319 * sysdeps/sparc/sparc32/start.S: ... here.
31320 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31321 * sysdeps/sparc/sparc64/start.S: ... here.
31322 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31323 * sysdeps/sparc/sparc32/Makefile: ... this.
31324 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31325 * sysdeps/sparc/sparc64/Makefile: ... this.
31327 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31328 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31329 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31330 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31331 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31332 * sysdeps/s390/s390-32/setjmp.S: ... here.
31333 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31334 * sysdeps/s390/s390-32/configure.in: ... here.
31335 * sysdeps/s390/s390-32/elf/configure: Delete file.
31336 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31337 * sysdeps/s390/s390-32/start.S: ... here.
31339 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31340 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31341 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31342 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31343 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31344 * sysdeps/s390/s390-64/setjmp.S: ... here.
31345 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31346 * sysdeps/s390/s390-64/configure.in: ... here
31347 * sysdeps/s390/s390-64/elf/configure: Delete file.
31348 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31349 * sysdeps/s390/s390-64/start.S: ... here.
31350 * sysdeps/s390/s390-64/elf/configure: Delete.
31352 * configure.in: Remove support for elf directories in sysdeps.
31354 * configure: Regenerated.
31355 * sysdeps/i386/configure: Regenerated.
31356 * sysdeps/powerpc/powerpc32/configure: Regenerated.
31357 * sysdeps/powerpc/powerpc64/configure: Regenerated.
31358 * sysdeps/s390/s390-32/configure: Regenerated.
31359 * sysdeps/s390/s390-64/configure: Regenerated.
31360 * sysdeps/sh/configure: Regenerated.
31361 * sysdeps/sparc/configure: Regenerated.
31362 * sysdeps/x86_64/configure: Regenerated.
31364 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
31366 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31368 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31369 denormal result into account.
31371 2012-03-25 Roland McGrath <roland@hack.frob.com>
31373 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31374 Reported by Allan McRae <allan@archlinux.org>.
31376 2012-03-23 Jeff Law <law@redhat.com>
31378 * nss/getnssent.c (__nss_getent): Fix typo.
31380 2012-03-23 David S. Miller <davem@davemloft.net>
31382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31384 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
31386 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31387 to pad to uint64_t for each field.
31388 (dl_tls_index): Replace unsigned long with uint64_t.
31390 2012-03-23 Daniel Jacobowitz <dmj@google.com>
31391 Paul Pluzhnikov <ppluzhnikov@google.com>
31394 * grp/Makefile (otherlibs): Don't set it.
31395 * inet/Makefile (otherlibs): Likewise.
31396 * login/Makefile (otherlibs): Likewise.
31397 * nscd/Makefile (otherlibs): Likewise.
31398 * posix/Makefile (otherlibs): Likewise.
31399 * pwd/Makefile (otherlibs): Likewise.
31400 * rt/Makefile (otherlibs): Likewise.
31401 * sunrpc/Makefile (otherlibs): Likewise.
31402 * nss/Makefile (otherlibs): Likewise.
31403 Add libnss_files to routines and static-only-routines.
31404 ($(objpfx)getent): Remove rule.
31405 * resolv/Makefile: Add libnss_dns and libresolv to routines and
31406 static-only-routines.
31408 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31411 * math/s_cexp.c: Include <float.h>.
31412 (__cexp): Handle exp result overflowing not necessarily
31413 overflowing both real and imaginary parts of result.
31414 * math/s_cexpf.c: Likewise.
31415 * math/s_cexpl.c: Likewise.
31416 * math/libm-test.inc (cexp_test): Add more tests.
31417 * sysdeps/i386/fpu/libm-test-ulps: Update.
31418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31420 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31422 * include/link.h (ELFW): New macro.
31423 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31424 Replace ELF64_R_TYPE with ELFW(R_TYPE).
31426 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31428 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31431 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31433 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31435 (struct La_x32_retval): Likewise.
31437 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
31439 * sysdeps/x86_64/preconfigure.in: New file.
31440 * sysdeps/x86_64/preconfigure: New generated file.
31442 2012-03-22 Joseph Myers <joseph@codesourcery.com>
31445 * math/e_exp2l.c: Include <float.h>.
31446 (__ieee754_exp2l): Handle overflow and underflow cases
31447 separately. Only pass fractional part of argument to
31449 * math/libm-test.inc (exp2_test): Add more tests.
31451 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31452 negating x to take absolute value.
31453 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31455 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31456 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31458 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31459 computing low part if x was negated.
31460 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31462 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31464 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31465 la_x32_gnu_pltexit.
31466 (pltexit): Cast int_retval to ptrdiff_t.
31467 * elf/tst-auditmod3b.c: Likewise.
31468 * elf/tst-auditmod4b.c: Likewise.
31469 * elf/tst-auditmod5b.c: Likewise.
31470 * elf/tst-auditmod6b.c: Likewise.
31471 * elf/tst-auditmod6c.c: Likewise.
31472 * elf/tst-auditmod7b.c: Likewise.
31474 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31475 and x32_gnu_pltexit.
31477 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31478 __ELF_NATIVE_CLASS.
31479 (La_x32_regs): New macro.
31480 (La_x32_retval): Likewise.
31481 (la_x32_gnu_pltenter): New function prototype.
31482 (la_x32_gnu_pltexit): Likewise.
31484 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
31486 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31491 * configure.in (libc_cv_cc_nofma): Check for option to disable
31492 generation of FMA instructions.
31493 * configure: Regenerate.
31494 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31495 * sysdeps/ieee754/dbl-64/Makefile: New file.
31496 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31497 Remove brandred-fma4.
31498 (CFLAGS-brandred-fma4.c): Remove.
31499 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31500 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31505 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31507 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31508 LLONG_MAX != LONG_MAX.
31509 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31510 (_fitoa_word): Likewise.
31511 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31512 LLONG_MAX != LONG_MAX.
31513 * stdio-common/_itowa.h: Include <_itoa.h>.
31514 (_itowa_word): Use _ITOA_WORD_TYPE on value.
31515 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
31516 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
31517 only if not defined.
31518 (_ITOA_WORD_TYPE): Likewise.
31519 (_itoa_word): Use _ITOA_WORD_TYPE on value.
31520 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31522 2012-03-21 David S. Miller <davem@davemloft.net>
31524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31526 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
31528 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31529 of x86_64 when setting libc_cv_slibdir, libdir and
31531 * sysdeps/unix/sysv/linux/configure: Regenerated.
31533 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31535 * manual/lang.texi (Old Varargs): Remove section.
31536 (How Variadic): Update menu.
31537 (va_start): Do not mention varargs.h.
31539 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31540 Joseph Myers <joseph@codesourcery.com>
31542 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31544 * configure: Regenerated.
31546 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
31548 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31549 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31552 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31555 * Makefile (files-for-dist): Remove NOTES.
31556 (NOTES): Remove rule.
31557 * README: Don't refer to NOTES.
31558 * manual/creature.texi: Don't include macros.texi.
31559 * manual/intro.texi (creature.texi): Remove comment referring to
31562 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31563 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31564 * configure: Regenerated.
31565 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31566 LIBC_TRY_CC_OPTION.
31567 (libc_cv_as_i686): Likewise.
31568 (libc_cv_cc_avx): Likewise.
31569 (libc_cv_cc_sse2avx): Likewise.
31570 (libc_cv_cc_fma4): Likewise.
31571 (libc_cv_cc_novzeroupper): Likewise.
31572 * sysdeps/i386/configure: Regenerated.
31575 * sysdeps/i386/fpu/s_cexp.S: Remove.
31576 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31577 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31578 * math/libm-test.inc (cexp_test): Add more tests.
31579 * sysdeps/i386/fpu/libm-test-ulps: Update.
31580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31582 2012-03-21 Allan McRae <allan@archlinux.org>
31584 * timezone/Makefile: Do not install iso3166.tab and zone.tab
31586 2012-03-21 Joseph Myers <joseph@codesourcery.com>
31589 * math/w_exp2.c: Do not include <float.h>.
31590 (o_threshold, u_threshold): Remove.
31591 (__exp2): Calculate result before checking finiteness and calling
31593 * math/w_exp2f.c: Likewise.
31594 * math/w_exp2l.c: Likewise.
31595 * math/libm-test.inc (exp2_test): Require overflow exception for
31599 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31600 range of signed 64-bit integers before using fistpll. Remove
31601 checks for whether integers fit in mantissa bits.
31602 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31603 the range of signed 32-bit integers before using fistpl. Remove
31604 checks for whether integers fit in mantissa bits.
31605 * sysdeps/i386/fpu/e_powl.S (p64): New object.
31606 (__ieee754_powl): Test for y outside the range of signed 64-bit
31607 integers before using fistpll. Reduce 64-bit values to 63-bit
31609 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31610 divide-by-zero is raised for zero to large negative powers.
31611 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31612 (__ieee754_powl): Test for y outside the range of signed 64-bit
31613 integers before using fistpll. Reduce 64-bit values to 63-bit
31615 * math/libm-test.inc (pow_test): Add more tests.
31617 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31619 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31620 <stdio-common/_itoa.h>.
31621 * debug/segfault.c: Likewise.
31622 * elf/dl-cache.c: Likewise.
31623 * elf/dl-minimal.c: Likewise.
31624 * elf/dl-misc.c: Likewise.
31625 * elf/dl-sysdep.c: Likewise.
31626 * elf/dl-version.c: Likewise.
31627 * elf/rtld.c: Likewise.
31628 * hurd/hurdsock.c: Likewise.
31629 * hurd/lookup-retry.c: Likewise.
31630 * malloc/malloc.c: Likewise.
31631 * malloc/mtrace.c: Likewise.
31632 * nscd/nscd_getgr_r.c: Likewise.
31633 * nscd/nscd_getpw_r.c: Likewise.
31634 * nscd/nscd_getserv_r.c: Likewise.
31635 * posix/getopt_init.c: Likewise.
31636 * posix/wordexp.c: Likewise.
31637 * stdio-common/_itoa.c: Likewise.
31638 * stdio-common/printf_fphex.c: Likewise.
31639 * stdio-common/vfprintf.c: Likewise.
31640 * string/_strerror.c: Likewise.
31641 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31642 * sysdeps/i386/i686/hp-timing.h: Likewise.
31643 * sysdeps/mach/_strerror.c: Likewise.
31644 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31645 * sysdeps/mach/hurd/sethostid.c: Likewise.
31646 * sysdeps/mach/hurd/xmknodat.c: Likewise.
31647 * sysdeps/mach/xpg-strerror.c: Likewise.
31648 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31649 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31650 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31651 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31652 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31653 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31654 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31655 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31656 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31657 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31658 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31659 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31660 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31661 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31662 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31663 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31664 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31665 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31666 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31667 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31668 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31670 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31672 * stdio-common/_itoa.h: Moved to ...
31673 * sysdeps/generic/_itoa.h: Here.
31675 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31677 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31678 instead of "_itoa.h" and "_itowa.h".
31679 * stdio-common/vfprintf.: Likewise.
31681 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31683 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31685 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31686 (__signbit): Likwise.
31687 (llrintf): Likwise.
31690 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
31692 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31695 2012-03-20 Joseph Myers <joseph@codesourcery.com>
31697 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31698 OVERFLOW_EXCEPTION_OK.
31699 * math/libm-test.inc ("Philosophy"): Update comment about
31701 (OVERFLOW_EXCEPTION): Define.
31702 (OVERFLOW_EXCEPTION_OK): Likewise.
31703 (INVALID_EXCEPTION_OK): Renumber.
31704 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31705 (IGNORE_ZERO_INF_SIGN): Likewise.
31706 (test_exceptions): Handle FE_OVERFLOW.
31707 (exp10_test): Expect overflow exceptions.
31708 (exp2_test): Likewise.
31709 (expm1_test): Likewise.
31710 (nextafter_test): Likewise.
31711 (pow_test): Likewise.
31712 (scalbn_test): Likewise.
31713 (scalbln_test): Likewise.
31715 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31717 * sysdeps/x86_64/bits/atomic.h
31718 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31720 (atomic_exchange_acq): Likewise.
31721 (__arch_exchange_and_add_body): Likewise.
31722 (__arch_add_body): Likewise.
31723 (atomic_add_negative): Likewise.
31724 (atomic_add_zero): Likewise.
31726 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31728 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31729 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31731 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31733 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31734 Check __x86_64__ instead of __WORDSIZE.
31736 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31738 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31740 2012-03-19 David S. Miller <davem@davemloft.net>
31742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31744 * sysdeps/sparc/fpu/fenv_private.h: New file.
31745 * sysdeps/sparc/fpu/math_private.h: Use it.
31746 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31748 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31749 (libc_feholdexcept_setroundl): Remove.
31750 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31752 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31753 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31755 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31757 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31758 int64_t instead of long int.
31759 (INSERT_WORDS64): Likwise.
31761 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
31763 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31764 _Unwind_GetCFA return to _Unwind_Ptr first.
31766 2012-03-19 Joseph Myers <joseph@codesourcery.com>
31769 * math/s_clog.c: Include <float.h>.
31770 (__clog): Scale large or subnormal inputs.
31771 * math/s_clogf.c: Likewise.
31772 * math/s_clogl.c: Likewise.
31773 * math/s_clog10.c: Include <float.h>.
31774 (M_LOG10_2): Define.
31775 (__clog10): Scale large or subnormal inputs.
31776 * math/s_clog10f.c: Likewise.
31777 * math/s_clog10l.c: Likewise.
31778 * math/libm-test.inc (clog_test): Add more tests.
31779 (clog10_test): Likewise.
31780 * sysdeps/i386/fpu/libm-test-ulps: Update.
31781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31784 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31786 * math/libm-test.inc (atan2_test): Add another test.
31788 * Makerules (common-objdir-compile): Remove.
31789 * sysdeps/unix/Makefile (config-generated): Do not add
31790 $(unix-generated) to variable.
31791 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31792 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31794 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31796 [generic bits/local_lim.h] (before-compile): Do not append to
31798 [generic bits/local_lim.h] (common-generated): Likewise.
31799 [generic sys/param.h] (before-compile): Do not append to variable.
31800 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31801 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31802 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31803 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31805 [generic sys/param.h] (sys/param.h-includes): Remove variable.
31806 [generic sys/param.h] (sys/param.h-includes): Remove rule.
31807 [generic sys/param.h] ($(addprefix
31808 $(common-objpfx),$(sys/param.h-includes))): Likewise.
31809 [generic sys/param.h] (common-generated): Do not append to
31811 [generic sys/param.h] (sysdep_headers): Likewise.
31812 [generic bits/errno.h] (before-compile): Do not append to
31814 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31816 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31817 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31818 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31819 [generic bits/errno.h] (common-generated): Do not append to
31821 [generic bits/ioctls.h] (before-compile): Do not append to
31823 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31825 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31826 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31827 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31829 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31830 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31831 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31832 [generic bits/ioctls.h] (common-generated): Do not append to
31834 [generic sys/syscall.h] (syscall.h): Remove variable.
31835 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31837 [generic sys/syscall.h] (before-compile): Do not append to
31839 [generic sys/syscall.h] (common-generated): Likewise.
31840 * sysdeps/unix/errnos-tmpl.c: Remove file.
31841 * sysdeps/unix/errnos.awk: Likewise.
31842 * sysdeps/unix/ioctls-tmpl.c: Likewise.
31843 * sysdeps/unix/ioctls.awk: Likewise.
31844 * sysdeps/unix/mk-local_lim.c: Likewise.
31845 * sysdeps/unix/snarf-ioctls: Likewise.
31847 2012-03-19 Richard Henderson <rth@twiddle.net>
31849 * sysdeps/i386/fpu/fenv_private.h: New file.
31850 * sysdeps/i386/fpu/math_private.h: Use it.
31851 (math_opt_barrier, math_force_eval): Remove.
31852 (libc_feholdexcept_setround_53bit): Remove.
31853 (libc_feupdateenv_53bit): Remove.
31854 * sysdeps/x86_64/fpu/math_private.h: Likewise.
31855 (math_opt_barrier, math_force_eval): Remove.
31856 (libc_feholdexcept): Remove.
31857 (libc_feholdexcept_setround): Remove.
31858 (libc_fetestexcept, libc_fesetenv): Remove.
31859 (libc_feupdateenv_test): Remove.
31860 (libc_feupdateenv, libc_feholdsetround): Remove.
31861 (libc_feresetround): Remove.
31863 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31864 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31866 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31867 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31868 (libc_feupdateenv_testl): New.
31869 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31870 (libc_feupdateenv_testf): New.
31871 (libc_feupdateenv): Use libc_feupdateenv_test.
31872 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31873 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31875 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31876 (libc_feholdsetroundf, libc_feholdsetroundl): New.
31877 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31878 (libc_feresetround_noex): New.
31879 (libc_feresetround_noexf): New.
31880 (libc_feresetround_noexl): New.
31881 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31882 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31883 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31884 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31886 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31887 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31889 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31890 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31891 SET_RESTORE_ROUND_NOEX.
31892 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31893 SET_RESTORE_ROUND_NOEXF.
31894 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31895 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31896 (libc_feholdsetroundf): New.
31897 (libc_feresetround, libc_feresetroundf): New.
31899 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31900 (libc_feholdexcept_setround_53bit): Convert from macro to function.
31901 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
31903 * sysdeps/generic/math_private.h: Include <fenv.h>.
31904 (default_libc_feholdexcept): New.
31905 (default_libc_feholdexcept_setround): New.
31906 (default_libc_fesetenv, default_libc_feupdateenv): New.
31907 (libc_feholdexcept): Only define if undefined.
31908 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31909 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31910 (libc_feholdexcept_setroundl): Likewise.
31911 (libc_feholdexcept_setround_53bit): Likewise.
31912 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31913 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31914 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31915 (libc_feupdateenv_53bit): Likewise.
31916 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31917 (libc_feholdexcept): Convert from macro to inline function.
31918 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31919 (libc_fesetenv, libc_feupdateenv): Likewise.
31921 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31922 not previously defined.
31923 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31924 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31925 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31926 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31927 * sysdeps/ieee754/flt-32/math_private.h: New file.
31928 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31929 math_private.h below SET_FLOAT_WORD.
31930 (__isnan, __isinf_ns, __finite): Remove.
31931 (__isnanf, __isinf_nsf, __finitef): Remove.
31933 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
31935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31937 2012-03-17 David S. Miller <davem@davemloft.net>
31940 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31943 2012-03-16 David S. Miller <davem@davemloft.net>
31945 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31949 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31951 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31952 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31953 sysdep_routines when subdir is sysvipc.
31954 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31955 __getshmlba helper.
31957 * sysdeps/sparc/fpu/libm-test/ulps: Update.
31959 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31961 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31964 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31966 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31967 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31968 (__lround): Renamed to ...
31969 (__llround): This. Replace long int with long long int.
31970 Define lround functions as aliases of llround functions.
31971 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31973 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31975 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31976 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
31977 adresses to uintptr_t. Replace "long int" and "unsigned long
31978 int" with "greg_t" on va_arg.
31980 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
31982 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31983 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31985 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31986 Move e_machine check before EI_CLASS check. Handle x32
31987 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31988 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31989 SKIP_EM_IA_64 and include
31990 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31992 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31993 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31994 (add_system_dir): New macro.
31996 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31997 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31999 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32010 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32012 * math/w_j0f.c (j0f): Likewise.
32014 * math/w_j0l.c (__j0l): Likewise.
32016 * math/w_j1.c (j1): Likewise.
32018 * math/w_j1f.c (j1f): Likewise.
32020 * math/w_j1l.c (__j1l): Likewise.
32022 * math/w_jn.c (jn): Likewise.
32024 * math/w_jnf.c (jnf): Likewise.
32026 * math/w_jnl.c (__jnl): Likewise.
32028 * math/libm-test.inc (j0_test): Add more tests.
32029 (j1_test): Likewise.
32030 (jn_test): Likewise. Add trailing semicolon to existing test.
32031 (y0_test): Likewise.
32032 (y1_test): Likewise.
32033 * sysdeps/i386/fpu/libm-test-ulps: Update.
32034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32038 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32039 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32040 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32041 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32042 (__tanl): Set errno for infinite argument.
32043 * sysdeps/i386/fpu/mptan.c: Remove.
32044 * sysdeps/i386/fpu/s_tan.S: Likewise.
32045 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32046 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32047 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32048 * math/libm-test.inc (tan_test): Add more tests and enable more
32049 tests for double and long double.
32050 * sysdeps/i386/fpu/libm-test-ulps: Update.
32051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32053 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32055 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32056 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32058 2012-03-16 Roland McGrath <roland@hack.frob.com>
32060 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32061 * configure.in: Use it for both main tree and add-ons.
32062 * configure: Regenerated.
32064 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32066 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32068 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32070 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32074 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
32075 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
32076 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
32077 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
32078 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
32080 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
32081 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
32082 != 0 for prec == 2.
32083 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
32084 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
32085 * sysdeps/i386/fpu/s_cosl.S: Likewise.
32086 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
32087 * sysdeps/i386/fpu/s_sinl.S: Likewise.
32088 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
32089 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
32090 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
32091 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
32092 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
32093 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
32094 * math/libm-test.inc (cos_test): Add more tests and enable more
32095 tests for long double.
32096 (sin_test): Likewise.
32097 (sincos_test): Likewise.
32098 * sysdeps/i386/fpu/libm-test-ulps: Update.
32099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32101 2012-03-16 David S. Miller <davem@davemloft.net>
32103 * sysdeps/sparc/fpu/math_private.h: New file.
32105 2012-03-15 David S. Miller <davem@davemloft.net>
32107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
32109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
32110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
32112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
32113 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
32114 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
32115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
32116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
32117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
32119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32121 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
32122 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
32124 * sysdeps/sparc/sparc-ifunc.h: New file.
32125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
32127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
32130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
32132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
32133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
32134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
32139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
32141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
32143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
32145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
32147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
32148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
32149 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32150 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32151 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
32152 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
32153 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32154 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
32157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
32158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
32159 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
32160 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
32161 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
32162 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
32163 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
32164 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
32165 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
32166 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
32167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
32168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
32170 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32172 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
32174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32176 2012-03-15 Andreas Jaeger <aj@suse.de>
32179 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
32180 ieee754/flt-32 implementation for sin, cos and sincos.
32181 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
32182 * sysdeps/i386/fpu/s_cosf.S: Likewise.
32183 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
32184 * sysdeps/i386/fpu/s_sinf.S: Likewise.
32185 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
32186 ieee754/flt-32 implementation for tan.
32188 * math/libm-test.inc (cos_test): Enable some large input tests for
32190 (sin_test): Likewise.
32191 (sincos_test): Likewise.
32192 (tan_test): Add tests for large input.
32194 * sysdeps/i386/fpu/libm-test-ulps: Update.
32196 2012-03-15 Andreas Jaeger <aj@suse.de>
32199 * math/libm-test.inc (cos_test): Add more test cases.
32200 (sin_test): Likewise.
32201 (sincos_test): Likewise.
32203 2012-03-15 Andreas Jaeger <aj@suse.de>
32206 * math/libm-test.inc (cos_test): Add a test case for large input
32208 (sin_test): Likewise.
32209 (sincos_test): Likewise.
32211 2012-03-15 Andreas Jaeger <aj@suse.de>,
32212 Joseph Myers <joseph@codesourcery.com>
32215 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32216 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32217 * sysdeps/i386/fpu/branred.c: Likewise.
32218 * sysdeps/i386/fpu/dosincos.c: Likewise.
32219 * sysdeps/i386/fpu/mpa.c: Likewise.
32220 * sysdeps/i386/fpu/s_cos.S: Likewise.
32221 * sysdeps/i386/fpu/s_sin.S: Likewise.
32222 * sysdeps/i386/fpu/s_sincos.S: Likewise.
32223 * sysdeps/i386/fpu/sincos32.c: Likewise.
32225 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32227 (libc_feupdateenv_53bit): Define.
32228 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32230 (libc_feupdateenv_53bit): Define.
32232 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32233 53 bit (without extend i386 double precision).
32235 * math/libm-test.inc (sincos_test): Add tests for large input.
32239 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32241 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
32243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32245 2012-03-15 David S. Miller <davem@davemloft.net>
32247 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32248 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32249 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32250 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32255 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32256 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32257 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32274 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32275 fmin/fmax sysdep routines.
32276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32278 2012-03-14 David S. Miller <davem@davemloft.net>
32280 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32283 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32285 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32286 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32287 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32288 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32289 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32295 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32296 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32297 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32298 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32299 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32300 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32301 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32302 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32303 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32304 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32305 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32306 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32307 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32308 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32352 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32357 * sysdeps/sparc/configure.in: New file.
32358 * sysdeps/sparc/configure: Generate.
32359 * configure.in (libc_cv_sparc_as_vis3): Substitute.
32360 * configure: Regenerate.
32361 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32362 * config.make.in (have-as-vis3): New.
32363 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32364 available use -Av9d instead of -Av9a.
32365 * sysdeps/sparc/sparc64/Makefile: Likewise.
32366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32376 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32377 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32378 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32379 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32381 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32382 fzeros/fnegs to load 0x80000000 into a float register instead of
32384 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32386 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32388 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32390 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32391 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32392 ($(inst_includedir)/bits/syscall.h): Remove rule.
32393 ($(objpfx)bits/syscall.d): Include instead of
32394 $(objpfx)syscall-list.d.
32395 (generated): Change syscall-list.h and syscall-list.d to
32396 bits/syscall.h and bits/syscall.d.
32398 2012-03-14 Roland McGrath <roland@hack.frob.com>
32401 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32403 2012-03-14 Joseph Myers <joseph@codesourcery.com>
32406 * math/s_csqrt.c: Include <float.h>.
32407 (__csqrt): Scale large or subnormal inputs.
32408 * math/s_csqrtf.c: Likewise.
32409 * math/s_csqrtl.c: Likewise.
32410 * math/libm-test.inc (csqrt_test): Add more tests.
32411 * sysdeps/i386/fpu/libm-test-ulps: Update.
32412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32415 * math/libm-test.inc (hypot_test): Add more tests.
32417 2012-03-13 David S. Miller <davem@davemloft.net>
32420 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32421 double-precision for the calculation instead of scaling.
32423 2012-03-13 Joseph Myers <joseph@codesourcery.com>
32425 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32426 manipulate bits before adding and subtracting TWO52[sx].
32427 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32428 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32430 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32432 2012-03-13 David S. Miller <davem@davemloft.net>
32434 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32435 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32437 rtld-global-offsets.h
32438 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32440 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32443 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32445 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32446 'err' in the ifdef scope in which it is actually used.
32448 * nss/nss_db/db-init.c: Include string.h
32450 2012-03-12 David S. Miller <davem@davemloft.net>
32452 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32453 masking out of the most significant byte of random value used.
32454 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32455 Fix coding style in previous change.
32457 * sysdeps/unix/sysv/linux/kernel-features.h
32458 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32459 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32461 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32464 2012-03-11 David S. Miller <davem@davemloft.net>
32466 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32467 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32468 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32469 for 'resultvar' otherwise things get truncated on 64-bit.
32471 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32472 Fix masking out of the most significant byte of random value used.
32474 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32476 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
32478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32480 2012-03-09 David S. Miller <davem@davemloft.net>
32482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32483 variables with appropriate CPP guards.
32484 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32485 frame pointer, not the stack pointer. Correct layout comments. Fix test
32486 on resulting framesize and the management of the outregs buffer for pltexit.
32487 Preserve floating point return values across _dl_call_pltexit call.
32488 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32489 framesize and the management of the outregs buffer for pltexit.
32490 Preserve floating point return values across _dl_call_pltexit
32492 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32493 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32494 (print_exit): Fix format string for return register value.
32496 2012-03-10 Joseph Myers <joseph@codesourcery.com>
32498 * sunrpc/Makefile (others): Add rpcgen.
32499 ($(objpfx)rpcgen): Remove special build rule and dependency on
32501 * sunrpc/rpcgen.c: New file.
32503 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
32506 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32507 * stdio-common/bug-vfprintf-nargs.c: Likewise.
32508 * sysdeps/i386/crti.S: Likewise.
32509 * sysdeps/i386/crtn.S: Likewise.
32510 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32511 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32512 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32513 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32514 * sysdeps/sh/crti.S: Likewise.
32515 * sysdeps/sh/crtn.S: Likewise.
32516 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32519 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32521 * locale/programs/locfile-kw.gperf: Likewise.
32522 * locale/programs/charmap-kw.h: Regenerated.
32523 * locale/programs/locfile-kw.h: Likewise.
32526 * intl/plural.y: Replace FSF snail mail address with URL.
32527 * intl/plural.c: Regenerated.
32529 2012-03-09 Richard Henderson <rth@twiddle.net>
32531 * include/math_private.h: Remove file.
32532 * math/math_private.h: Move file ...
32533 * sysdeps/generic/math_private.h: ... here.
32535 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32536 * sysdeps/powerpc/fpu/math_private.h: Likewise.
32537 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32539 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32540 and <math_private.h>.
32541 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32542 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32543 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32544 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32545 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32546 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32550 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32551 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32552 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32554 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32555 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32556 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32557 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32558 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32559 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32560 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32562 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32563 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32565 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32566 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32567 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32568 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32569 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32570 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32571 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32573 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32574 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32575 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32576 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32577 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32578 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32579 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32580 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32581 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32582 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32583 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32584 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32585 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32586 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32587 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32588 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32589 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32590 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32591 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32592 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32593 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32594 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32595 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32596 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32597 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32598 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32599 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32600 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32601 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32602 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32604 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32605 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32606 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32607 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32608 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32609 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32610 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32611 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32612 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32613 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32615 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32616 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32617 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32619 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32620 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32621 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32622 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32623 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32624 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32625 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32627 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32628 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32629 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32630 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32631 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32632 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32633 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32634 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32635 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32636 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32638 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32639 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32641 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32642 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32643 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32644 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32645 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32646 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32647 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32648 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32649 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32650 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32651 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32652 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32653 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32654 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32655 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32656 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32657 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32658 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32659 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32660 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32661 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32662 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32663 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32664 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32665 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32666 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32667 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32668 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32669 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32670 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32671 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32672 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32673 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32674 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32675 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32676 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32677 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32678 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32679 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32680 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32681 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32682 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32683 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32684 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32685 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32686 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32687 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32688 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32689 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32690 * sysdeps/ieee754/k_standard.c: Likewise.
32691 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32692 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32693 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32694 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32695 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32696 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32697 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32698 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32699 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32700 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32701 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32702 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32703 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32704 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32705 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32706 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32707 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32708 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32709 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32710 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32711 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32712 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32713 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32714 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32715 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32716 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32717 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32718 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32719 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32720 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32721 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32722 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32723 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32724 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32725 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32726 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32727 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32728 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32729 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32730 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32731 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32732 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32733 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32734 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32735 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32736 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32737 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32738 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32739 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32741 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32742 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32743 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32744 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32745 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32746 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32747 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32748 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32749 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32750 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32751 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32752 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32753 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32754 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32757 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32758 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32759 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32760 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32761 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32763 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32764 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32765 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32767 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32768 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32769 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32770 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32771 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32772 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32773 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32774 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32775 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32776 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32777 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32778 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32779 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32780 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32781 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32782 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32783 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32784 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32787 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32788 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32789 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32790 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32791 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32792 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32793 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32794 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32795 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32796 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32797 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32798 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32799 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32800 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32801 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32802 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32803 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32804 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32805 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32806 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32807 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32808 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32809 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32810 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32811 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32812 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32813 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32814 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32815 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32816 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32817 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32818 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32819 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32820 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32821 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32822 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32823 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32824 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32825 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32826 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32827 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32828 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32829 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32830 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32831 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32832 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32833 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32834 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32835 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32836 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32837 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32838 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32839 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32840 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32841 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32842 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32843 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32844 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32845 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32846 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32847 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32848 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32849 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32850 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32851 * sysdeps/ieee754/s_lib_version.c: Likewise.
32852 * sysdeps/ieee754/s_matherr.c: Likewise.
32853 * sysdeps/ieee754/s_signgam.c: Likewise.
32854 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32855 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32856 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32857 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32858 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32859 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32860 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32861 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32862 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32863 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32864 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32865 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32866 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32867 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32868 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32869 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32870 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32871 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32872 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32873 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32874 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32876 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32878 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32879 * sunrpc/rpc_main.c: Likewise.
32880 * sunrpc/rpc_svcout.c: Likewise.
32882 2012-03-09 David S. Miller <davem@davemloft.net>
32884 * include/math_private.h: New file.
32886 2012-03-09 Joseph Myers <joseph@codesourcery.com>
32888 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32889 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32890 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32891 from <bits/socket_type.h>.
32892 (enum __socket_type): Don't define here.
32893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32894 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32895 bits/socket_type.h.
32898 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32899 checking __USE_GNU.
32901 * Makerules ($(inst_includedir)/%.h): New rule.
32902 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32903 (install-others): Remove variable setting.
32904 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32906 2012-03-08 Richard Henderson <rth@twiddle.net>
32908 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32909 from macro to inline function; merge with the
32910 !__LIBC_INTERNAL_MATH_INLINES version.
32911 (__ieee754_sqrtf): Likewise.
32913 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32914 to inline function.
32915 (__rintf, __floor, __floorf): Likewise.
32917 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32918 macro to inline function.
32919 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32921 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32922 not <math/math_private.h>.
32924 2012-03-08 David S. Miller <davem@davemloft.net>
32926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32928 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32930 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
32932 * resolv/gai_misc.c (handle_requests): Fix struct timespec
32934 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32935 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32937 2012-03-08 Ulrich Drepper <drepper@gmail.com>
32939 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
32940 be defined individually, they must be defined as a block. Define
32941 S for printing a string instead of hidint the different by using a
32942 macro for adding the 'l'.
32943 * stdio-common/tst-fphex-wide.c: Adjust.
32945 2012-03-07 Marek Polacek <polacek@redhat.com>
32947 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32949 2012-03-08 Marek Polacek <polacek@redhat.com>
32952 * stdio-common/Makefile (tests): Add tst-fphex-wide.
32953 * stdio-common/tst-fphex.c: Define a few macros to make the
32954 test reusable. Use them.
32955 * stdio-common/tst-fphex-wide.c: New file.
32957 2012-03-08 Joseph Myers <joseph@codesourcery.com>
32960 * manual/macros.texi (gnusystems): New macro.
32961 (nongnusystems): Likewise.
32962 (gnulinuxhurdsystems): Likewise.
32963 (gnuhurdsystems): Likewise..
32964 (gnulinuxsystems): Likewise.
32965 * manual/charset.texi: Use new macros or @theglibc{} to refer to
32966 variants of the GNU system, not "GNU system".
32967 * manual/conf.texi: Likewise.
32968 * manual/errno.texi: Likewise. Update example of errno macro
32970 * manual/filesys.texi: Likewise.
32971 (getumask): Document as specific to GNU/Hurd.
32972 * manual/install.texi: Likewise. Reword some references to
32974 * manual/intro.texi: Likewise.
32975 * manual/io.texi: Likewise.
32976 (File Name Portability): Detail which constraints are inapplicable
32977 to all GNU systems and which are only inapplicable to GNU/Hurd.
32978 * manual/job.texi: Likewise.
32979 * manual/llio.texi: Likewise.
32980 (O_NOCTTY): Document as present on GNU/Linux.
32981 * manual/maint.texi: Likewise.
32982 * manual/memory.texi: Likewise.
32983 * manual/pattern.texi: Likewise.
32984 * manual/pipe.texi: Likewise.
32985 * manual/process.texi: Likewise.
32986 * manual/resource.texi: Likewise.
32987 (RUSAGE_CHILDREN): Remove statement about specifying a particular
32989 * manual/setjmp.texi: Likewise.
32990 * manual/signal.texi: Likewise.
32991 * manual/startup.texi: Likewise.
32992 * manual/stdio.texi: Likewise.
32993 * manual/terminal.texi: Likewise.
32994 (ONLCR): Document as POSIX.
32995 (OXTABS): Document availability on GNU/Linux as XTABS.
32996 (ONOEOT): Document availability separately from other bits.
32997 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32998 * manual/time.texi: Likewise.
32999 * manual/users.texi: Likewise.
33000 * INSTALL: Regenerated.
33001 * sysdeps/gnu/errlist.c: Regenerated.
33003 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33004 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33005 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33007 * configure: Regenerated.
33009 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33011 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33012 default includes instead of AC_HEADER_CHECK.
33013 * sysdeps/i386/configure: Regenerated.
33016 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33017 * math/s_cacoshf.c (__cacoshf): Likewise.
33018 * math/s_cacoshl.c (__cacoshl): Likewise.
33019 * math/s_casinh.c (__casinh): Set signs of result from argument.
33020 * math/s_casinhf.c (__casinhf): Likewise.
33021 * math/s_casinhl.c (__casinhl): Likewise.
33022 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33023 (casinh_test): Add more tests.
33024 * sysdeps/i386/fpu/libm-test-ulps: Update.
33025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33027 2012-03-07 Ulrich Drepper <drepper@gmail.com>
33029 * po/zh_TW.po: Update from translation team.
33031 * login/Makefile (distribute): Remove variable.
33032 * catgets/Makefile: Likewise.
33033 * mach/Makefile: Likewise.
33034 * malloc/Makefile: Likewise.
33035 * misc/Makefile: Likewise.
33036 * iconv/Makefile: Likewise.
33037 * nscd/Makefile: Likewise.
33038 * hurd/Makefile: Likewise.
33039 * manual/Makefile: Likewise.
33040 * locale/Makefile: Likewise.
33041 * intl/Makefile: Likewise.
33042 * conform/Makefile: Likewise.
33043 * nss/Makefile: Likewise.
33044 * time/Makefile: Likewise.
33045 * soft-fp/Makefile: Likewise.
33046 * dirent/Makefile: Likewise.
33047 * gmon/Makefile: Likewise.
33048 * po/Makefile: Likewise.
33049 * rt/Makefile: Likewise.
33050 * socket/Makefile: Likewise.
33051 * math/Makefile: Likewise.
33052 * signal/Makefile: Likewise.
33053 * debug/Makefile: Likewise.
33054 * elf/Makefile: Likewise.
33055 * timezone/Makefile: Likewise.
33056 * stdlib/Makefile: Likewise.
33057 * iconvdata/Makefile: Likewise.
33058 * sunrpc/Makefile: Likewise.
33059 * io/Makefile: Likewise.
33060 * argp/Makefile: Likewise.
33061 * inet/Makefile: Likewise.
33062 * hesiod/Makefile: Likewise.
33063 * grp/Makefile: Likewise.
33064 * csu/Makefile: Likewise.
33065 * wctype/Makefile: Likewise.
33066 * crypt/Makefile: Likewise.
33067 * libio/Makefile: Likewise.
33068 * string/Makefile: Likewise.
33069 * nis/Makefile: Likewise.
33070 * resolv/Makefile: Likewise.
33071 * stdio-common/Makefile: Likewise.
33072 * wcsmbs/Makefile: Likewise.
33073 * dlfcn/Makefile: Likewise.
33074 * posix/Makefile: Likewise.
33077 * timezone/Makefile: Don't install timezone files, just the programs
33080 2012-03-06 Ulrich Drepper <drepper@gmail.com>
33082 * nss/databases.def: Add missing gshadow entry.
33084 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
33086 2012-03-06 Marek Polacek <polacek@redhat.com>
33089 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
33090 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33091 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
33092 * stdio-common/tst-long-dbl-fphex.c: New file.
33094 2012-03-06 David S. Miller <davem@davemloft.net>
33096 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33097 (set_obp_int): New function.
33098 (get_obp_int): New function.
33099 (__get_clockfreq_via_dev_openprom): Likewise.
33100 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
33101 Avoid unused variable warnings on 'val' and use builtin_expect.
33102 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
33104 (INLINE_CLONE_SYSCALL): Likewise.
33106 2012-03-05 David S. Miller <davem@davemloft.net>
33108 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33110 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
33112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33114 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
33115 only for |x| >= 40.
33116 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33118 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
33120 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
33121 Replace gettimeofday with __vdso_gettimeofday.
33123 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33124 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
33125 __vdso_clock_gettime and __vdso_getcpu.
33127 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
33128 time with __vdso_time.
33130 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33132 * manual/lang.texi (size_t): Note types to which size_t may be
33133 equivalent with the GNU C Library, but do not describe when
33134 differences between them are significant.
33136 2012-03-05 Andreas Jaeger <aj@suse.de>
33138 * sysdeps/i386/fpu/libm-test-ulps: Update.
33140 2012-03-05 Joseph Myers <joseph@codesourcery.com>
33143 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
33144 (__ieee754_pow): Save and restore rounding mode and use
33145 round-to-nearest for main computations.
33146 * math/libm-test.inc (pow_test_tonearest): New function.
33147 (pow_test_towardzero): Likewise.
33148 (pow_test_downward): Likewise.
33149 (pow_test_upward): Likewise.
33150 (main): Call the new functions.
33151 * sysdeps/i386/fpu/libm-test-ulps: Update.
33152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33155 * math/libm-test.inc (cosh_test_tonearest): New function.
33156 (cosh_test_towardzero): Likewise.
33157 (cosh_test_downward): Likewise.
33158 (cosh_test_upward): Likewise.
33159 (sinh_test_tonearest): Likewise.
33160 (sinh_test_towardzero): Likewise.
33161 (sinh_test_downward): Likewise.
33162 (sinh_test_upward): Likewise.
33163 (main): Call the new functions.
33164 * sysdeps/i386/fpu/libm-test-ulps: Update.
33165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33167 2012-03-05 Tom de Vries <tom@codesourcery.com>
33169 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
33170 default stack guard is set in last bytes.
33171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
33173 2012-03-05 Kees Cook <keescook@chromium.org>
33175 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
33178 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
33179 possibly allocate from heap instead of stack.
33180 * stdio-common/bug-vfprintf-nargs.c: New file.
33181 * stdio-common/Makefile (tests): Add nargs overflow test.
33183 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
33185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33187 2012-03-03 Marek Polacek <polacek@redhat.com>
33189 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33190 * math/math_private.h: Likewise.
33191 * stdlib/tst-strtod.c: Likewise.
33192 * sysdeps/i386/i486/bits/atomic.h: Likewise.
33193 * sysdeps/x86_64/bits/atomic.h: Likewise.
33195 2012-03-02 David S. Miller <davem@davemloft.net>
33197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33201 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33202 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33203 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33204 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33206 2012-03-02 Roland McGrath <roland@hack.frob.com>
33209 * manual/examples/README: New file, says the example source files
33210 can be used under GPL>=2.
33211 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33212 line containing just "*/".
33213 * manual/examples/add.c: Add copyright header (GPL>=2).
33214 * manual/examples/argp-ex1.c: Likewise.
33215 * manual/examples/argp-ex2.c: Likewise.
33216 * manual/examples/argp-ex3.c: Likewise.
33217 * manual/examples/argp-ex4.c: Likewise.
33218 * manual/examples/atexit.c: Likewise.
33219 * manual/examples/db.c: Likewise.
33220 * manual/examples/dir.c: Likewise.
33221 * manual/examples/dir2.c: Likewise.
33222 * manual/examples/execinfo.c: Likewise.
33223 * manual/examples/filecli.c: Likewise.
33224 * manual/examples/filesrv.c: Likewise.
33225 * manual/examples/fmtmsgexpl.c: Likewise.
33226 * manual/examples/genpass.c: Likewise.
33227 * manual/examples/inetcli.c: Likewise.
33228 * manual/examples/inetsrv.c: Likewise.
33229 * manual/examples/isockad.c: Likewise.
33230 * manual/examples/longopt.c: Likewise.
33231 * manual/examples/memopen.c: Likewise.
33232 * manual/examples/memstrm.c: Likewise.
33233 * manual/examples/mkfsock.c: Likewise.
33234 * manual/examples/mkisock.c: Likewise.
33235 * manual/examples/mygetpass.c: Likewise.
33236 * manual/examples/pipe.c: Likewise.
33237 * manual/examples/popen.c: Likewise.
33238 * manual/examples/rprintf.c: Likewise.
33239 * manual/examples/search.c: Likewise.
33240 * manual/examples/select.c: Likewise.
33241 * manual/examples/setjmp.c: Likewise.
33242 * manual/examples/sigh1.c: Likewise.
33243 * manual/examples/sigusr.c: Likewise.
33244 * manual/examples/stpcpy.c: Likewise.
33245 * manual/examples/strdupa.c: Likewise.
33246 * manual/examples/strftim.c: Likewise.
33247 * manual/examples/strncat.c: Likewise.
33248 * manual/examples/subopt.c: Likewise.
33249 * manual/examples/swapcontext.c: Likewise.
33250 * manual/examples/termios.c: Likewise.
33251 * manual/examples/testopt.c: Likewise.
33252 * manual/examples/testpass.c: Likewise.
33253 * manual/examples/timeval_subtract.c: Likewise.
33256 * manual/time.texi (Elapsed Time): Move timeval_subtract example
33258 * manual/timeval_subtract.c.texi: ... here, new file.
33260 2012-03-02 David S. Miller <davem@davemloft.net>
33262 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33264 2012-03-02 Joseph Myers <joseph@codesourcery.com>
33267 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33268 (__sin): Save and restore rounding mode and use round-to-nearest
33269 for all computations.
33270 (__cos): Save and restore rounding mode and use round-to-nearest
33271 for all computations.
33272 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33274 (tan): Save and restore rounding mode and use round-to-nearest for
33276 * math/libm-test.inc (cos_test_tonearest): New function.
33277 (cos_test_towardzero): Likewise.
33278 (cos_test_downward): Likewise.
33279 (cos_test_upward): Likewise.
33280 (sin_test_tonearest): Likewise.
33281 (sin_test_towardzero): Likewise.
33282 (sin_test_downward): Likewise.
33283 (sin_test_upward): Likewise.
33284 (tan_test_tonearest): Likewise.
33285 (tan_test_towardzero): Likewise.
33286 (tan_test_downward): Likewise.
33287 (tan_test_upward): Likewise.
33288 (main): Call the new functions.
33289 * sysdeps/i386/fpu/libm-test-ulps: Update.
33290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33293 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33294 small n, then large n, before computing and testing k+n.
33295 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33296 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33298 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33300 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33301 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33302 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33303 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33304 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33305 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33306 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33307 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33308 * math/libm-test.inc (scalbn_test): Add more tests.
33309 (scalbln_test): Likewise.
33311 * manual/filesys.texi (mode_t): Describe constraints on size and
33312 signedness, not exact equivalence to a particular type.
33314 (ino64_t): Likewise.
33316 (nlink_t): Likewise.
33317 (blkcnt_t): Likewise.
33318 (blkcnt64_t): Likewise.
33319 * manual/llio.texi (off_t): Likewise.
33322 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33323 (__ieee754_exp): Save and restore rounding mode and use
33324 round-to-nearest for all computations.
33325 * math/libm-test.inc (exp_test_tonearest): New function.
33326 (exp_test_towardzero): Likewise.
33327 (exp_test_downward): Likewise.
33328 (exp_test_upward): Likewise.
33329 (main): Call the new functions.
33330 * sysdeps/i386/fpu/libm-test-ulps: Update.
33331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33333 2012-03-01 Chris Demetriou <cgd@google.com>
33335 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33336 have predictable order.
33338 2012-03-01 David S. Miller <davem@davemloft.net>
33340 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33342 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33343 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33344 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33345 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33347 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33348 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33349 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33351 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33352 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33353 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33354 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33355 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33359 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33360 * sysdeps/sparc/fpu/libm-test-ulps: to here.
33361 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33363 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33364 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33365 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33366 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33367 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33368 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33369 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33370 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33371 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33372 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33373 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33374 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33376 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33377 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33379 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33380 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33381 * sysdeps/sparc/elf/configure: Regenerated.
33383 2012-03-01 Joseph Myers <joseph@codesourcery.com>
33385 * configure.in (AS, LD): Require binutils 2.20 or later.
33386 * configure: Regenerated.
33387 * manual/install.texi (Tools for Compilation): Give binutils 2.20
33388 as required minimum version.
33389 * INSTALL: Regenerated.
33393 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33394 before squaring exponent.
33395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33396 bottom long double and 27 bits of top long double before squaring
33398 * math/libm-test.inc (erfc_test): Add more tests.
33399 * sysdeps/i386/fpu/libm-test-ulps: Update.
33400 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33403 2012-03-01 Kai Tietz <ktietz@redhat.com>
33405 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33406 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33407 containing bit-fields.
33408 * soft-fp/extended.h (_FP_UNION_E): Likewise.
33409 * soft-fp/single.h (_FP_UNION_S): Likewise.
33410 * soft-fp/double.h (_FP_UNION_D): Likewise.
33412 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33415 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33416 not include ../strcmp.S.
33417 [USE_AS_STRNCASECMP_L]: Likewise.
33418 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33419 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33420 * sysdeps/i386/i686/multiarch/strncase_l-c.c
33421 (__strncasecmp_l_ia32): Define as alias to
33422 __strncasecmp_l_nonascii.
33425 * math/libm-test.inc (expm1_test): Add test for bug 5794.
33426 * sysdeps/i386/fpu/libm-test-ulps: Update.
33427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33429 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33432 2012-02-29 Jeff Law <law@redhat.com>
33434 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33435 out of bounds read.
33437 2012-02-29 Marek Polacek <polacek@redhat.com>
33440 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33441 * elf/Makefile: Add rules to run tst-unused-dep.out.
33443 2012-02-28 David S. Miller <davem@davemloft.net>
33445 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33446 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33447 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33448 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33449 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33450 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33452 2012-02-29 Joseph Myers <joseph@codesourcery.com>
33454 * math/libm-test.inc (llround_test): Move one test from
33455 lround_test. Use TEST_f_L in moved test.
33456 (lround_test): Move misplaced test to llround_test. Add testcase
33459 2012-02-28 Ulrich Drepper <drepper@gmail.com>
33461 * sysdeps/x86_64/fpu/e_expf.S: New file.
33462 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33464 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
33467 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33468 of remain_len that may cause incomplete multi-byte character and
33470 * posix/bug-regex33.c: New file.
33471 * posix/Makefile (tests): Add bug-regex33.
33473 2012-02-28 Joseph Myers <joseph@codesourcery.com>
33475 * manual/macros.texi: New file.
33476 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33477 * manual/libc.texinfo: Include macros.texi.
33478 * manual/creatute.texi: Likewise.
33479 * manual/install.texi: Likewise.
33480 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33481 @glibcadj{} in references to the GNU C Library.
33482 * manual/charset.texi: Likewise.
33483 * manual/conf.texi: Likewise.
33484 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
33485 when not using those macros.
33486 * manual/creature.texi: Likewise.
33487 * manual/crypt.texi: Likewise.
33488 * manual/errno.texi: Likewise.
33489 * manual/filesys.texi: Likewise.
33490 * manual/header.texi: Likewise.
33491 * manual/install.texi: Likewise.
33492 * manual/intro.texi: Likewise.
33493 * manual/io.texi: Likewise.
33494 * manual/job.texi: Likewise.
33495 * manual/lang.texi: Likewise.
33496 * manual/libc.texiinfo: Likewise.
33497 * manual/llio.texi: Likewise.
33498 * manual/locale.texi: Likewise.
33499 * manual/maint.texi: Likewise.
33500 * manual/math.texi: Likewise.
33501 * manual/memory.texi: Likewise.
33502 * manual/message.texi: Likewise.
33503 * manual/nss.texi: Likewise.
33504 * manual/pattern.texi: Likewise.
33505 * manual/process.texi: Likewise.
33506 * manual/resource.texi: Likewise.
33507 * manual/search.texi: Likewise.
33508 * manual/setjmp.texi: Likewise.
33509 * manual/signal.texi: Likewise.
33510 * manual/socket.texi: Likewise.
33511 * manual/startup.texi: Likewise.
33512 * manual/stdio.texi: Likewise.
33513 * manual/string.texi: Likewise.
33514 * manual/sysinfo.texi: Likewise.
33515 * manual/syslog.texi: Likewise.
33516 * manual/terminal.texi: Likewise.
33517 * manual/time.texi: Likewise.
33518 * manual/users.texi: Likewise.
33519 * INSTALL: Regenerated.
33520 * NOTES: Regenerated.
33521 * sysdeps/gnu/errlist.c: Regenerated.
33523 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
33525 * include/dirent.h: Include <dirstream.h> before
33528 2012-02-28 David S. Miller <davem@davemloft.net>
33530 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33531 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33532 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33533 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33535 2012-02-27 David S. Miller <davem@davemloft.net>
33537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33539 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33540 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33543 frame pointer instead of stack pointer relative arg slot.
33544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33545 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33546 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33548 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
33551 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33553 2012-02-27 David S. Miller <davem@davemloft.net>
33555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33559 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33560 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33561 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33562 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33564 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33566 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33567 later. Allow versions 5-9.
33568 * configure: Regenerated.
33569 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33570 required minimum version and 4.6 as recommended version. Do not
33571 mention bugs in GCC 2.7 and 2.8.
33572 * INSTALL: Regenerated.
33574 2012-02-27 David S. Miller <davem@davemloft.net>
33576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33580 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33581 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33582 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33583 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33585 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33586 manipulate bits before adding and subtracting TWO112[sx].
33587 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33589 2012-02-27 Roland McGrath <roland@hack.frob.com>
33592 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33593 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33594 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33595 being in POSIX, because they are in 1003.1-2008.
33597 * rt/tst-aio.c: Include <fcntl.h>.
33598 * rt/tst-aio7.c: Likewise.
33599 * rt/tst-aio64.c: Likewise.
33601 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33603 2012-02-27 Joseph Myers <joseph@codesourcery.com>
33605 * manual/install.texi (--with-headers): Describe headers as
33606 interface headers, not private headers.
33607 (Specific advice for GNU/Linux systems): Describe use of headers
33608 from "make headers_install", not private headers from older
33610 * INSTALL: Regenerated.
33611 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33613 * sysdeps/unix/sysv/linux/configure: Regenerated.
33615 * manual/llio.texi (fclean): Remove documentation.
33617 * manual/Makefile (libc-texi-generated): New variable. Include
33619 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33620 $(libc-texi-generated), not duplicated list of files.
33621 (version.texi, stamp-version): New rules.
33622 (realclean): Remove $(libc-texi-generated), not individual files
33623 from that list. Do not remove dir-add.texinfo.
33624 * manual/libc.texinfo: Comment out uses of edition numbers and
33625 references to printed manual. Remove last-updated dates.
33626 (EDITION): Comment out.
33628 (VERSION, UPDATED): Remove.
33629 (version.texi): Include.
33631 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
33633 * sysdeps/posix/spawni.c: Include <signal.h>.
33634 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33635 * sysdeps/pthread/aio_fsync.c: Likewise.
33637 2012-02-26 Ulrich Drepper <drepper@gmail.com>
33639 * conform/Makefile (tests): Run only when not cross-compiling and
33640 when fast-check is not defined.
33642 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33643 * conform/data/limits.h-data: Fixes for POSIX2008.
33644 * conform/run-conformtest.sh: Run all tests.
33645 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33647 * include/bits/dlfcn.h: Likewise.
33648 * include/langinfo.h: Likewise.
33649 * include/monetary.h: Likewise.
33650 * include/sys/poll.h: Likewise.
33652 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33654 * posix/spawn.h: Define __need_sigset_t.
33655 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33656 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33657 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
33658 to get sigevent_t only.
33659 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33660 only for __USE_GNU.
33661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33662 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33663 process_vm_writev only for __USE_GNU.
33664 * termios/termios.h: Declare tcgetsid also for POSIX2008.
33666 * conform/Makefile: For now ignore errors from run-conformtest.
33667 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
33668 POSIX to avoid namespace pollution. Don't prepend headers.
33669 * conform/data/aio.h-data: Fixes for POSIX testing.
33670 * conform/data/fcntl.h-data: Likewise.
33671 * conform/data/glob.h-data: Likewise.
33672 * conform/data/grp.h-data: Likewise.
33673 * conform/data/pthread.h-data: Likewise.
33674 * conform/data/pwd.h-data: Likewise.
33675 * conform/data/signal.h-data: Likewise.
33676 * conform/data/spawn.h-data: Likewise.
33677 * conform/data/stdio.h-data: Likewise.
33678 * conform/data/stdlib.h-data: Likewise.
33679 * conform/data/stropts.h-data: Likewise.
33680 * conform/data/sys/mman.h-data: Likewise.
33681 * conform/data/sys/stat.h-data: Likewise.
33682 * conform/data/sys/types.h-data: Likewise.
33683 * conform/data/sys/wait.h-data: Likewise.
33684 * conform/data/time.h-data: Likewise.
33685 * conform/data/unistd.h-data: Likewise.
33686 * conform/data/utime.h-data: Likewise.
33688 * io/sys/stat.h: fchmod was always in POSIX.
33689 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33690 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33691 * rt/aio.h: Define __need_timespec before including <time.h>.
33692 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33693 struct. Add forward declaration of pthread_attr_t and use it in
33695 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33696 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33697 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33698 always remove CLK_TCK definition.
33700 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
33702 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33704 2012-02-25 Ulrich Drepper <drepper@gmail.com>
33706 * conform/run-conformtest.sh: New file.
33707 * conform/Makefile: Run run-conformtest for tests.
33708 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
33711 * conform/data/uchar.h-data: New file.
33712 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33713 * conform/data/arpa/inet.h-data: Likewise.
33714 * conform/data/assert.h-data: Likewise.
33715 * conform/data/complex.h-data: Likewise.
33716 * conform/data/cpio.h-data: Likewise.
33717 * conform/data/ctype.h-data: Likewise.
33718 * conform/data/dirent.h-data: Likewise.
33719 * conform/data/dlfcn.h-data: Likewise.
33720 * conform/data/errno.h-data: Likewise.
33721 * conform/data/fcntl.h-data: Likewise.
33722 * conform/data/float.h-data: Likewise.
33723 * conform/data/fmtmsg.h-data: Likewise.
33724 * conform/data/fnmatch.h-data: Likewise.
33725 * conform/data/ftw.h-data: Likewise.
33726 * conform/data/glob.h-data: Likewise.
33727 * conform/data/grp.h-data: Likewise.
33728 * conform/data/iconv.h-data: Likewise.
33729 * conform/data/inttypes.h-data: Likewise.
33730 * conform/data/langinfo.h-data: Likewise.
33731 * conform/data/libgen.h-data: Likewise.
33732 * conform/data/limits.h-data: Likewise.
33733 * conform/data/locale.h-data: Likewise.
33734 * conform/data/math.h-data: Likewise.
33735 * conform/data/monetary.h-data: Likewise.
33736 * conform/data/mqueue.h-data: Likewise.
33737 * conform/data/ndbm.h-data: Likewise.
33738 * conform/data/net/if.h-data: Likewise.
33739 * conform/data/netdb.h-data: Likewise.
33740 * conform/data/netinet/in.h-data: Likewise.
33741 * conform/data/nl_types.h-data: Likewise.
33742 * conform/data/poll.h-data: Likewise.
33743 * conform/data/pthread.h-data: Likewise.
33744 * conform/data/pwd.h-data: Likewise.
33745 * conform/data/regex.h-data: Likewise.
33746 * conform/data/sched.h-data: Likewise.
33747 * conform/data/search.h-data: Likewise.
33748 * conform/data/semaphore.h-data: Likewise.
33749 * conform/data/setjmp.h-data: Likewise.
33750 * conform/data/signal.h-data: Likewise.
33751 * conform/data/spawn.h-data: Likewise.
33752 * conform/data/stdarg.h-data: Likewise.
33753 * conform/data/stdio.h-data: Likewise.
33754 * conform/data/stdlib.h-data: Likewise.
33755 * conform/data/string.h-data: Likewise.
33756 * conform/data/strings.h-data: Likewise.
33757 * conform/data/stropts.h-data: Likewise.
33758 * conform/data/sys/ipc.h-data: Likewise.
33759 * conform/data/sys/mman.h-data: Likewise.
33760 * conform/data/sys/msg.h-data: Likewise.
33761 * conform/data/sys/resource.h-data: Likewise.
33762 * conform/data/sys/select.h-data: Likewise.
33763 * conform/data/sys/sem.h-data: Likewise.
33764 * conform/data/sys/shm.h-data: Likewise.
33765 * conform/data/sys/socket.h-data: Likewise.
33766 * conform/data/sys/stat.h-data: Likewise.
33767 * conform/data/sys/statvfs.h-data: Likewise.
33768 * conform/data/sys/time.h-data: Likewise.
33769 * conform/data/sys/timeb.h-data: Likewise.
33770 * conform/data/sys/times.h-data: Likewise.
33771 * conform/data/sys/types.h-data: Likewise.
33772 * conform/data/sys/uio.h-data: Likewise.
33773 * conform/data/sys/un.h-data: Likewise.
33774 * conform/data/sys/utsname.h-data: Likewise.
33775 * conform/data/sys/wait.h-data: Likewise.
33776 * conform/data/syslog.h-data: Likewise.
33777 * conform/data/tar.h-data: Likewise.
33778 * conform/data/termios.h-data: Likewise.
33779 * conform/data/utime.h-data: Likewise.
33780 * conform/data/utmpx.h-data: Likewise.
33781 * conform/data/varargs.h-data: Likewise.
33782 * conform/data/wchar.h-data: Likewise.
33783 * conform/data/wctype.h-data: Likewise.
33784 * conform/data/wordexp.h-data: Likewise.
33786 * include/stropts.h: New file.
33787 * include/uchar.h: New file.
33788 * include/aio.h: Changes to allow conformtest.pl to use the headers.
33789 * include/assert.h: Likewise.
33790 * include/ctype.h: Likewise.
33791 * include/dirent.h: Likewise.
33792 * include/dlfcn.h: Likewise.
33793 * include/fcntl.h: Likewise.
33794 * include/fnmatch.h: Likewise.
33795 * include/glob.h: Likewise.
33796 * include/grp.h: Likewise.
33797 * include/libio.h: Likewise.
33798 * include/locale.h: Likewise.
33799 * include/math.h: Likewise.
33800 * include/net/if.h: Likewise.
33801 * include/netdb.h: Likewise.
33802 * include/netinet/in.h: Likewise.
33803 * include/pthread.h: Likewise.
33804 * include/pwd.h: Likewise.
33805 * include/regex.h: Likewise.
33806 * include/sched.h: Likewise.
33807 * include/search.h: Likewise.
33808 * include/setjmp.h: Likewise.
33809 * include/signal.h: Likewise.
33810 * include/stdio.h: Likewise.
33811 * include/stdlib.h: Likewise.
33812 * include/string.h: Likewise.
33813 * include/sys/cdefs.h: Likewise.
33814 * include/sys/mman.h: Likewise.
33815 * include/sys/msg.h: Likewise.
33816 * include/sys/resource.h: Likewise.
33817 * include/sys/select.h: Likewise.
33818 * include/sys/socket.h: Likewise.
33819 * include/sys/stat.h: Likewise.
33820 * include/sys/statvfs.h: Likewise.
33821 * include/sys/time.h: Likewise.
33822 * include/sys/times.h: Likewise.
33823 * include/sys/uio.h: Likewise.
33824 * include/sys/utsname.h: Likewise.
33825 * include/sys/wait.h: Likewise.
33826 * include/termios.h: Likewise.
33827 * include/time.h: Likewise.
33828 * include/ulimit.h: Likewise.
33829 * include/unistd.h: Likewise.
33830 * include/utime.h: Likewise.
33831 * include/wchar.h: Likewise.
33832 * include/wctype.h: Likewise.
33833 * include/wordexp.h: Likewise.
33835 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33837 * time/time.h: TIME_UTC must be a macro.
33838 Make timespec_get available for ISO C11 only as well.
33840 2012-02-24 Ulrich Drepper <drepper@gmail.com>
33842 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33843 Reported by Peng Haitao <penght@cn.fujitsu.com>.
33845 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33847 * configure.in: Use -o not -a in test for unsupported multi-arch.
33849 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33851 * manual/texinfo.tex: Update to version 2012-01-19.16.
33853 2012-02-24 Joseph Myers <joseph@codesourcery.com>
33855 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33857 2012-02-24 Roland McGrath <roland@hack.frob.com>
33860 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33861 * manual/fdl-1.3.texi: New file.
33862 * manual/fdl-1.1.texi: File removed.
33865 * manual/libc.texinfo (FDL_VERSION): New @set.
33866 Use it for mention of FDL in cover text.
33867 (Documentation License): Use it in @include file name.
33869 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33870 Roland McGrath <roland@hack.frob.com>
33873 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33874 not LONG_LONG_MAX and LONG_LONG_MIN.
33875 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33876 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
33878 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33880 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33884 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33885 manipulate bits before adding and subtracting TWO23[sx].
33886 * math/libm-test.inc (nearbyint_test): Add more tests.
33888 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33891 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33892 bits before adding and subtracting TWO23[sx].
33893 * math/libm-test.inc (rint_test): Add more tests.
33894 (rint_test_tonearest): Likewise.
33895 (rint_test_towardzero): Likewise.
33896 (rint_test_downward): Likewise.
33897 (rint_test_upward: Likewise.
33899 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33902 * include/stdc-predef.h: New file. Extracted from features.h.
33903 * include/features.h: Include stdc-predef.h.
33904 * Makefile (headers): Add stdc-predef.h.
33905 * CONFORMANCE (Compiler limitations): Update.
33907 2012-02-22 Joseph Myers <joseph@codesourcery.com>
33909 * manual/libc.texinfo (VERSION, UPDATED): Revert.
33911 2012-02-21 David S. Miller <davem@davemloft.net>
33913 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33916 2012-02-20 David S. Miller <davem@davemloft.net>
33918 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33919 using a normal save/restore sequence, rather than allocating a
33920 dummy stack frame just to store a frame pointer and restore.
33921 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33923 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33925 * manual/install.texi: Fix stray word in line-wrapped comment.
33927 2012-02-20 David S. Miller <davem@davemloft.net>
33929 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33930 both binutils and gcc support GOTDATA.
33932 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33933 "rd %pc" in the PIC register setup sequences.
33935 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33936 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33937 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33938 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33939 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33941 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33942 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33943 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33944 (SYSCALL_ERROR_HANDLER): Likewise.
33945 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33946 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33947 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33948 (SYSCALL_ERROR_HANDLER): Likewise.
33950 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33951 (HAVE_GCC_GOTDATA): New.
33952 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33953 relocation support in both binutils and gcc.
33954 * sysdeps/sparc/elf/configure: Regenerate.
33956 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33957 * sysdeps/sparc/sparc32/elf/configure: Delete.
33958 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33959 * sysdeps/sparc/sparc64/elf/configure: Delete.
33960 * sysdeps/sparc/elf/configure.in: New file.
33961 * sysdeps/sparc/elf/configure: Generate.
33963 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33964 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33965 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33966 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33967 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33969 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33971 * manual/install.texi: Do not mention specific glibc version
33973 * manual/libc.texinfo (VERSION, UPDATED): Update.
33974 (@copying): Use @copyright{} and range of years.
33976 2012-02-21 Joseph Myers <joseph@codesourcery.com>
33979 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33980 [crti.S not in sysdirs] (generated): Do not append.
33981 [crti.S not in sysdirs] (omit-deps): Likewise.
33982 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33983 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33984 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33985 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33986 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33988 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33989 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33990 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33991 * csu/defs.awk: Remove file.
33992 * sysdeps/generic/initfini.c: Likewise.
33993 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33995 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33998 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34000 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34001 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34002 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34003 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34004 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34005 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34007 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34008 (__EPOLL_PACKED): Define to empty if not defined by
34010 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34011 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34014 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34016 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34017 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34018 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34019 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34021 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34025 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34027 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34029 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34030 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34031 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34034 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34036 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34037 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34039 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34041 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34042 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34044 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34046 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34049 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34051 * math/w_acos.c: Use non-signaling floating-point comparisons.
34052 * math/w_acosf.c: Likewise.
34053 * math/w_acosh.c: Likewise.
34054 * math/w_acoshf.c: Likewise.
34055 * math/w_acoshl.c: Likewise.
34056 * math/w_acosl.c: Likewise.
34057 * math/w_asin.c: Likewise.
34058 * math/w_asinf.c: Likewise.
34059 * math/w_asinl.c: Likewise.
34060 * math/w_atanh.c: Likewise.
34061 * math/w_atanhf.c: Likewise.
34062 * math/w_atanhl.c: Likewise.
34063 * math/w_exp2.c: Likewise.
34064 * math/w_exp2f.c: Likewise.
34065 * math/w_exp2l.c: Likewise.
34066 * math/w_j0.c: Likewise.
34067 * math/w_j0f.c: Likewise.
34068 * math/w_j0l.c: Likewise.
34069 * math/w_j1.c: Likewise.
34070 * math/w_j1f.c: Likewise.
34071 * math/w_j1l.c: Likewise.
34072 * math/w_jn.c: Likewise.
34073 * math/w_jnf.c: Likewise.
34074 * math/w_log.c: Likewise.
34075 * math/w_log10.c: Likewise.
34076 * math/w_log10f.c: Likewise.
34077 * math/w_log10l.c: Likewise.
34078 * math/w_log2.c: Likewise.
34079 * math/w_log2f.c: Likewise.
34080 * math/w_log2l.c: Likewise.
34081 * math/w_logf.c: Likewise.
34082 * math/w_logl.c: Likewise.
34083 * math/w_sqrt.c: Likewise.
34084 * math/w_sqrtf.c: Likewise.
34085 * math/w_sqrtl.c: Likewise.
34086 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34087 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
34088 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34089 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
34090 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
34092 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34095 * manual/string.texi (strnlen): Use correct parameter name in
34096 equivalent expression.
34098 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34101 * manual/users.texi (seteuid): Consistently use neweuid for
34104 2012-02-19 Joseph Myers <joseph@codesourcery.com>
34107 * manual/nss.texi (Services in the NSS configuration): Correct
34108 list of services in example configuration file.
34110 2012-02-19 Nick Bowler <nbowler@draconx.ca>
34113 * manual/arith.texi: Remove statements about negative zero
34114 behaving identically to zero.
34116 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34119 * manual/install.texi: Do not document upgrading from libc5.
34121 2012-02-18 Joseph Myers <joseph@codesourcery.com>
34124 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
34126 2012-02-18 David S. Miller <davem@davemloft.net>
34128 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
34129 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
34130 %o7 across the call.
34131 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
34133 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
34134 SETUP_PIC_REG_LEAF.
34135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34136 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
34137 * sysdeps/sparc/crtn.S: Likewise.
34139 2012-02-17 Ulrich Drepper <drepper@gmail.com>
34141 * aout/Makefile: Remove.
34143 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
34146 * manual/examples/argp-ex1.c (main): Format definition in GNU
34148 * manual/examples/argp-ex2.c (main): Likewise.
34149 * manual/examples/argp-ex3.c (main): Likewise.
34150 * manual/examples/argp-ex4.c (main): Likewise.
34151 * manual/examples/longopt.c (main): Use new-style prototype
34153 * manual/examples/strncat.c (main): Specify return type and use
34154 (void) for arguments.
34155 * manual/examples/subopt.c (main): Use char **argv argument.
34157 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34160 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
34163 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
34166 * manual/string.texi (strchr): Change when strchrnul is
34169 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
34172 * manual/locale.texi (setlocale): Document LOCPATH.
34174 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34177 * manual/process.texi (execle): Move @dots{} before last argument.
34179 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
34182 * manual/charset.texi (Generic Charset Conversion): Fix typo
34183 (LC_TYPE -> LC_CTYPE).
34185 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
34188 * manual/arith.texi (scalbn): Use @var{} on parameter names.
34189 (scalbnf): Likewise.
34190 (scalbnl): Likewise.
34191 (scalbln): Likewise.
34192 (scalblnf): Likewise.
34193 (scalblnl): Likewise.
34194 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34195 (vwarnx): Likewise.
34198 * manual/filesys.texi (telldir): Use braces around return type.
34199 * manual/llio.texi (mmap): Add space after comma.
34200 (mmap64): Likewise.
34201 * manual/math.texi (jn): Use @var{} on parameter names.
34207 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34209 * manual/resource.texi (ulimit): Use @dots{} instead of literal
34211 (sched_get_priority_min): Remove semicolon on @deftypefun line.
34212 (sched_get_priority_max): Likewise.
34213 * manual/signal.texi (sigvec): Add space after comma.
34214 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34216 (if_indextoname): Likewise.
34217 (if_freenameindex): Likewise.
34218 (sendto): Use ',' instead of '.' in prototype.
34219 * manual/startup.texi (syscall): Use @dots{} instead of literal
34221 * manual/stdio.texi (__fpending): Separate initial words of
34222 paragraph from @deftypefun line.
34223 * manual/syslog.texi (syslog): Use @dots{} instead of literal
34225 (vsyslog): Use @var{} on parameter names.
34226 * manual/terminal.texi (stty): Use @var{} on parameter names.
34227 * manual/users.texi (getutmp): Use @var{} on parameter names.
34228 (getutmpx): Likewise.
34230 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34233 * manual/stdio.texi (fopen): Fix typos in description of
34236 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
34239 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34240 get clock_id definition.
34242 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
34245 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34246 (madvise): Cast every argument to void on its own.
34248 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34251 * manual/startup.texi (Exit Status): Fix typo.
34253 2012-02-17 Joseph Myers <joseph@codesourcery.com>
34256 * manual/examples/argp-ex1.c: Include <stdlib.h>.
34257 * manual/examples/argp-ex2.c: Likewise.
34258 * manual/examples/argp-ex3.c: Likewise.
34260 2012-02-16 Richard Henderson <rth@redhat.com>
34262 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34263 * sysdeps/s390/s390-32/initfini.c: Remove.
34264 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34265 * sysdeps/s390/s390-64/initfini.c: Remove.
34267 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34269 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34270 compiler output for sysdeps/generic/initfini.c.
34271 * sysdeps/sh/elf/initfini.c: Remove file.
34273 2012-02-16 David S. Miller <davem@davemloft.net>
34276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34278 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34279 * sysdeps/sparc/crti.S: New file.
34280 * sysdeps/sparc/crtn.S: New file.
34281 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34282 * sysdeps/sparc/sparc64/Makefile: Likewise.
34284 2012-02-15 Mike Frysinger <vapier@gentoo.org>
34287 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34289 2012-02-15 Roland McGrath <roland@hack.frob.com>
34292 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34294 * mach/devstream.c (cookie_io_functions_t): Macro removed.
34295 (write, read, close): Likewise.
34296 Patch by Aurelien Jarno <aurelien@aurel32.net>.
34298 2012-02-15 Joseph Myers <joseph@codesourcery.com>
34300 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34301 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34302 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34303 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34305 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34309 2012-02-14 Marek Polacek <polacek@redhat.com>
34311 * sysdeps/x86_64/crti.S: New file.
34312 * sysdeps/x86_64/crtn.S: New file.
34313 * sysdeps/x86_64/elf/initfini.c: Remove file.
34315 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34317 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34318 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34319 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34320 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34322 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34326 2012-02-13 Joseph Myers <joseph@codesourcery.com>
34328 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34329 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34330 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34331 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34333 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34337 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
34339 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34340 __feraiseexcept instead of feraiseexcept.
34342 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34343 nanosleep invocations.
34344 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34345 strings, and add error checking for a nanosleep invocations.
34347 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
34349 Replace FSF snail mail address with URLs, as per GNU coding standards.
34350 Most of the snail mail addresses were wrong anyway, and omitting
34351 them makes the source code easier to maintain. Almost all of the
34352 changes are to license notices and to locale LC_IDENTIFICATION
34353 addresses, except for this one:
34354 * manual/libc.texinfo: In "Published by", give the FSF's URL,
34355 not its snail mail address.
34357 2012-02-09 Richard Henderson <rth@twiddle.net>
34359 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34360 of kernel-features.h.
34362 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34364 2012-02-08 Marek Polacek <polacek@redhat.com>
34366 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34367 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34368 * sysdeps/gnu/_G_config.h: Likewise.
34369 * sysdeps/generic/_G_config.h: Likewise.
34371 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
34373 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34377 * sysdeps/powerpc/powerpc32/crti.S: New file.
34378 * sysdeps/powerpc/powerpc32/crtn.S: New file.
34379 * sysdeps/powerpc/powerpc64/crti.S: New file.
34380 * sysdeps/powerpc/powerpc64/crtn.S: New file.
34382 * Makeconfig (have-initfini): Don't set.
34383 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34384 * configure.in (nopic_initfini): Don't substitute.
34385 * config.h.in (HAVE_INITFINI): Don't #undef.
34386 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34387 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34389 2012-02-08 Joseph Myers <joseph@codesourcery.com>
34391 Support crti.S and crtn.S provided directly by architectures.
34392 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34393 [crti.S in sysdirs] (omit-deps): Likewise.
34394 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34395 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34396 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34397 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34398 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34399 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34400 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34401 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34402 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34403 compiler output for sysdeps/generic/initfini.c.
34404 * sysdeps/i386/elf/Makefile: Remove file.
34405 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34407 2012-02-07 Marek Polacek <polacek@redhat.com>
34409 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34410 * sysdeps/gnu/_G_config.h: Likewise.
34411 * sysdeps/mach/hurd/_G_config.h: Likewise.
34413 2012-02-07 Marek Polacek <polacek@redhat.com>
34415 * math/Makefile (tests): Add tst-CMPLX2.
34416 * math/tst-CMPLX2.c: New file.
34418 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
34420 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34422 * math/libm-test.inc (jn_test): Add missing L suffix.
34424 2012-02-06 Marek Polacek <polacek@redhat.com>
34426 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34427 * sysdeps/i386/fpu/e_powf.S: Likewise.
34428 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34429 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34430 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34431 * sysdeps/i386/fpu/e_pow.S: Likewise.
34432 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34433 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34434 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34435 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34436 * sysdeps/i386/fpu/e_log2.S: Likewise.
34437 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34438 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34439 * sysdeps/i386/fpu/e_powl.S: Likewise.
34440 * sysdeps/i386/fpu/s_log1p.S: Likewise.
34441 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34442 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34443 * sysdeps/i386/fpu/e_logl.S: Likewise.
34444 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34445 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34446 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34447 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34448 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34449 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34450 * sysdeps/i386/fpu/e_log.S: Likewise.
34451 * sysdeps/i386/fpu/s_cexp.S: Likewise.
34452 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34453 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34454 * sysdeps/i386/fpu/e_logf.S: Likewise.
34455 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34456 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34457 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34458 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34459 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34460 * sysdeps/i386/fpu/e_log10.S: Likewise.
34461 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34462 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34463 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34464 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34465 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34466 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34467 * sysdeps/i386/asm-syntax.h: Likewise.
34468 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34469 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34470 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34471 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34472 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34473 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34474 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34475 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34476 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34477 * sysdeps/powerpc/sysdep.h: Likewise.
34478 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34479 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34481 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34484 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34486 2012-02-06 Joseph Myers <joseph@codesourcery.com>
34488 * sysdeps/i386/sysdep.h: Include <features.h>.
34489 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34492 2012-02-05 Joseph Myers <joseph@codesourcery.com>
34494 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34496 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34499 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34501 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34502 (SETUP_PIC_REG): Use GET_PC_THUNK.
34503 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34506 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34508 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34509 for non-PIC compilation.
34510 (SETUP_PIC_REG): Add .p2align directive.
34511 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34512 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34513 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34514 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34515 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34516 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34517 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34519 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34520 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34521 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34522 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34523 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34524 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34525 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34526 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34527 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34528 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34529 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34530 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34531 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34532 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34533 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34534 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34535 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34536 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34537 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34538 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34539 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34540 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34541 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34542 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34543 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34544 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34545 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34546 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34547 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34548 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34549 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34550 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34551 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34553 2012-02-03 Joseph Myers <joseph@codesourcery.com>
34555 * math/tst-CMPLX.c: Include <stdio.h>.
34557 2012-01-31 Joseph Myers <joseph@codesourcery.com>
34559 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34561 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34562 * sysdeps/sparc/bits/mathdef.h: Likewise.
34564 2012-01-31 Marek Polacek <polacek@redhat.com>
34566 * libio/libio.h: Don't define _PARAMS.
34567 * locale/programs/config.h: Don't define PARAMS.
34568 * stdlib/strtol_l.c: Likewise.
34569 (__strtol_l): Remove PARAMS from the prototype.
34571 2012-01-31 Ulrich Drepper <drepper@gmail.com>
34573 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
34574 names. Just use the correct names. Remove unnecessary wrapper
34576 * malloc/arena.c: Likewise.
34577 * malloc/hooks.c: Likewise.
34579 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34580 ARENA_TEST says not to. Simplify test for creation of a new arena.
34581 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34583 2012-01-30 Ulrich Drepper <drepper@gmail.com>
34585 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34587 (update_get_addr): New function.
34588 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34589 GET_ADDR_MODULE parameter.
34591 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34593 * crypt/cert.c: Remove __STDC__ conditionals.
34594 * crypt/crypt-entry.c: Likewise.
34595 * crypt/crypt_util.c: Likewise.
34596 * libio/filedoalloc.c: Likewise.
34597 * libio/fileops.c: Likewise.
34598 * libio/genops.c: Likewise.
34599 * libio/iofclose.c: Likewise.
34600 * libio/iofdopen.c: Likewise.
34601 * libio/iofopen.c: Likewise.
34602 * libio/iofopen64.c: Likewise.
34603 * libio/iogetdelim.c: Likewise.
34604 * libio/iopopen.c: Likewise.
34605 * libio/obprintf.c: Likewise.
34606 * libio/oldfileops.c: Likewise.
34607 * libio/oldiofclose.c: Likewise.
34608 * libio/oldiofdopen.c: Likewise.
34609 * libio/oldiofopen.c: Likewise.
34610 * libio/oldiopopen.c: Likewise.
34611 * libio/wfiledoalloc.c: Likewise.
34612 * libio/wgenops.c: Likewise.
34613 * locale/programs/xmalloc.c: Likewise.
34614 * misc/syslog.c: Likewise.
34615 * stdio-common/xbug.c: Likewise.
34616 * string/memchr.c: Likewise.
34617 * string/memcmp.c: Likewise.
34618 * string/memrchr.c: Likewise.
34619 * string/rawmemchr.c: Likewise.
34620 * sysdeps/posix/getcwd.c: Likewise.
34621 * time/strftime_l.c: Likewise.
34623 2012-01-30 Joseph Myers <joseph@codesourcery.com>
34625 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34626 * config.make.in (config-cflags-sse2avx): Define.
34627 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34630 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
34632 * scripts/config.guess: Update from upstream config git repository.
34633 * scripts/config.sub: Likewise.
34635 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
34637 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34639 (R_TILEPRO_*, R_TILEGX_*): New macros.
34641 * scripts/firstversions.awk: Fix bug in version range handling.
34643 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34645 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34647 * include/sys/epoll.h: New file.
34648 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34651 2012-01-28 Ulrich Drepper <drepper@gmail.com>
34653 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34654 Avoid unnecessary __WORDSIZE == 64 test.
34655 (fmaxf): Use VEX format if possible.
34660 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34661 * math/math_private.h: Remove libc_fegetround* and
34663 * sysdeps/i386/configure.in: Check for -msse2avx.
34664 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34665 also if SSE2AVX is defined.
34666 Remove libc_fegetround* and libc_fesetround*.
34667 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34668 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
34669 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34671 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34672 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34673 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34674 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34675 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34677 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34679 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34681 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34683 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34685 2012-01-27 Ulrich Drepper <drepper@gmail.com>
34688 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34690 * Makeconfig (libm): Define.
34691 * elf/Makefile: Add rules to build and run tst-relsort1.
34692 * elf/tst-relsort1.c: New file.
34693 * elf/tst-relsort1mod1.c: New file.
34694 * elf/tst-relsort1mod2.c: New file.
34696 2012-01-27 Joseph Myers <joseph@codesourcery.com>
34698 * math/s_ldexp.c: Remove __STDC__ conditionals.
34699 * math/s_ldexpf.c: Likewise.
34700 * math/s_ldexpl.c: Likewise.
34701 * math/s_nextafter.c: Likewise.
34702 * math/s_nexttowardf.c: Likewise.
34703 * math/s_significand.c: Likewise.
34704 * math/s_significandf.c: Likewise.
34705 * math/s_significandl.c: Likewise.
34706 * math/w_jnl.c: Likewise.
34707 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34708 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34709 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34710 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34711 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34713 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34714 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34715 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34716 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34717 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34718 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34719 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34720 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34722 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34723 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34724 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34725 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34726 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34727 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34728 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34729 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34730 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34731 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34732 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34733 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34734 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34735 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34736 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34737 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34738 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34739 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34740 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34741 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34742 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34743 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34744 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34745 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34746 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34747 * sysdeps/ieee754/k_standard.c: Likewise.
34748 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34749 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34750 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34751 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34752 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34753 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34754 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34755 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34756 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34757 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34758 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34759 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34760 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34761 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34762 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34763 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34764 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34765 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34766 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34767 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34770 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34771 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34773 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34775 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34776 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34777 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34779 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34780 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34781 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34782 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34783 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34784 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34785 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34786 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34787 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34788 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34789 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34790 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34791 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34792 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34793 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34794 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34795 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34797 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34798 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34799 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34800 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34801 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34802 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34803 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34804 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34805 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34806 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34807 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34808 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34809 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34810 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34811 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34812 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34813 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34814 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34815 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34816 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34817 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34818 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34819 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34820 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34821 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34822 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34823 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34824 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34825 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34826 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34827 * sysdeps/ieee754/s_matherr.c: Likewise.
34828 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34829 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34830 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34831 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34833 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34835 * crypt/md5.h: Remove __STDC__ conditionals.
34836 * libio/libioP.h: Likewise.
34837 * locale/programs/config.h: Likewise.
34838 * sysdeps/generic/sysdep.h: Likewise.
34839 * sysdeps/i386/asm-syntax.h: Likewise.
34840 * sysdeps/s390/asm-syntax.h: Likewise.
34841 * sysdeps/unix/sysdep.h: Likewise.
34842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34845 2012-01-26 Joseph Myers <joseph@codesourcery.com>
34847 * libio/libio.h: Remove __STDC__ conditionals.
34848 * malloc/obstack.h: Likewise.
34849 * math/complex.h: Likewise.
34850 * math/math.h: Likewise.
34851 * sysdeps/generic/_G_config.h: Likewise.
34852 * sysdeps/gnu/_G_config.h: Likewise.
34853 * sysdeps/mach/hurd/_G_config.h: Likewise.
34854 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34855 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34856 * sysdeps/sparc/bits/mathdef.h: Likewise.
34858 2012-01-26 Ulrich Drepper <drepper@gmail.com>
34861 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
34862 Clean up HAS_* macros.
34863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
34864 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34866 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34868 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34869 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34870 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34871 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34872 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34874 2012-01-25 Joseph Myers <joseph@codesourcery.com>
34876 * elf/tst-unique3.cc (gets): Remove declaration.
34877 * elf/tst-unique3lib.cc (gets): Likewise.
34878 * elf/tst-unique3lib2.cc (gets): Likewise.
34879 * elf/tst-unique4.cc (gets): Likewise.
34881 2012-01-24 Ulrich Drepper <drepper@gmail.com>
34883 * include/stdio.h: Add C++ protection. Add gets declarations and
34885 * debug/tst-chk1.c: Don't declare gets here.
34886 * stdio-common/tst-gets.c: Likewise.
34888 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34890 * posix/glob: Remove directory.
34892 2012-01-24 Joseph Myers <joseph@codesourcery.com>
34894 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34896 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
34898 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34899 of the non-standard EPFNOSUPPORT.
34901 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
34903 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34904 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34905 ANYWHERE set to 1 only on KERN_NO_SPACE error.
34907 2012-01-21 Ulrich Drepper <drepper@gmail.com>
34909 * wcsmbs/uchar.h: Test __STDC_VERSION__.
34911 2012-01-20 Ulrich Drepper <drepper@gmail.com>
34913 * nscd/aicache.c (addhstaiX): Do not cache negative results of
34915 * nscd/grpcache.c (cache_addgr): Likewise.
34916 * nscd/hstcache.c (cache_addhst): Likewise.
34917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
34918 * nscd/pwdcache.c (cache_addpw): Likewise.
34919 * nscd/servicescache.c (cache_addserv): Likewise.
34921 2012-01-16 Ulrich Drepper <drepper@gmail.com>
34923 * malloc/malloc.c: Various cleanups.
34924 * malloc/hooks.c: Likewise.
34926 * stdlib/Makefile (tests): Add bug-fmtmsg1.
34927 * stdlib/bug-fmtmsg1.c: New file.
34929 * stdlib/fmtmsg.c (init): Add missing unlock.
34930 Patch by Peng Haitao <penght@cn.fujitsu.com>.
34932 2012-01-12 Marek Polacek <polacek@redhat.com>
34934 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34937 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
34939 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34940 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34941 macro to ensure uniqueness of label name.
34942 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34943 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34945 2012-01-11 Ulrich Drepper <drepper@gmail.com>
34947 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34949 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34950 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34951 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34952 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34954 2012-01-10 Ulrich Drepper <drepper@gmail.com>
34956 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34958 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34959 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34960 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34962 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34964 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34965 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34966 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34967 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34969 * math/bits/math-finite.h: Add ldexp support.
34971 2012-01-10 Marek Polacek <polacek@redhat.com>
34973 * locale/programs/localedef.h (show_archive_content): Add noreturn
34976 2012-01-09 Ulrich Drepper <drepper@gmail.com>
34978 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34980 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34982 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34984 * io/Makefile (headers): Add bits/poll2.h.
34986 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
34988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34989 typo #include statement.
34991 2012-01-08 Ulrich Drepper <drepper@gmail.com>
34993 * include/sys/cdefs.h: Define __attribute_alloc_size.
34994 * catgets/gencat.c: Add alloc_size attribute and apply consistently
34995 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34996 * elf/pldd.c: Likewise.
34997 * iconv/iconv_charmap.c: Likewise.
34998 * iconv/iconvconfig.c: Likewise.
34999 * iconv/strtab.c: Likewise.
35000 * locale/programs/locale.c: Likewise.
35001 * locale/programs/localedef.h: Likewise.
35002 * locale/programs/simple-hash.c: Likewise.
35003 * nscd/nscd.h: Likewise.
35004 * nss/makedb.c: Likewise.
35005 * sysdeps/generic/ldconfig.h: Likewise.
35006 * locale/programs/localedef.c: Remove xmalloc prototype.
35007 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35009 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35011 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35014 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35016 * math/Makefile (tests): Add tst-CMPLX.
35017 * math/tst-CMPLX.c: New file.
35019 * math/complex.h (CMPLXL): Fix typo.
35021 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35022 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35024 * debug/tst-chk1.c: Add poll and ppoll tests.
35025 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35026 * include/sys/poll.h: Add hidden proto for ppoll.
35027 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35028 * sysdeps/mach/hurd/ppoll.c: Likewise.
35029 * io/ppoll.c: Likewise.
35030 * debug/poll_chk.c: New file.
35031 * debug/ppoll_chk.c: New file.
35032 * include/bits/poll2.h: New file.
35033 * io/bits/poll2.h: New file.
35036 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35038 * configure.in: static is always set to yes. Remove.
35039 * config.make.in: Don't set build-static.
35040 * Makeconfig: Remove use of build-static.
35041 * dlfcn/Makefile: Likewise.
35042 * elf/Makefile: Likewise.
35043 * math/Makefile: Likewise.
35044 * misc/Makefile: Likewise.
35045 * nptl/Makefile: Likewise.
35046 * sysdeps/mach/hurd/Makefile: Likewise.
35048 * configure.in: PWD_P is not used anymore.
35049 * config.make.in: Remove PWD_P entry.
35051 * configure.in: Remove last remnants of RANLIB.
35052 No need to check for signed size_t anymore.
35053 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35055 Remove __builtin_expect test because we require at least gcc 3.4.
35056 * aclocal.m4: Likewise.
35058 * wcsmbs/mbrtoc16.c: Implement using towc function.
35059 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35060 * wcsmbs/wcsmbsload.c: Likewise.
35061 * iconv/gconv_simple.c: Likewise.
35062 * iconv/gconv_int.h: Likewise.
35063 * iconv/gconv_builtin.h: Likewise.
35064 * iconv/iconv_prog.c: Remove CHAR16 handling.
35066 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35068 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35070 * configure.in: Remove --with-elf and --enable-bounded options.
35071 Dont set base_machine for ia64. More non-ELF conditions removed.
35072 Remove testing and setting of leading underscore information.
35073 * config.make.in (build-bounded): Set to no.
35074 * config.h.in: Remove NO_UNDERSCORES entry.
35075 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
35077 * csu/start.c: Remove !NO_UNDERSCORE code.
35078 * locale/localeinfo.h: Likewise.
35079 * sysdeps/generic/machine-gmon.h: Likewise.
35080 * sysdeps/generic/sysdep.h: Likewise.
35081 * sysdeps/i386/sysdep.h: Likewise.
35082 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35083 * sysdeps/mach/sysdep.h: Likewise.
35084 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35085 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35086 * sysdeps/sh/sysdep.h: Likewise.
35087 * sysdeps/sparc/sparc32/alloca.S: Likewise.
35088 * sysdeps/unix/i386/sysdep.S: Likewise.
35089 * sysdeps/unix/sparc/start.c: Likewise.
35090 * sysdeps/unix/sparc/sysdep.S: Likewise.
35091 * sysdeps/unix/sparc/sysdep.h: Likewise.
35092 * sysdeps/unix/start.c: Likewise.
35093 * sysdeps/unix/x86_64/sysdep.S: Likewise.
35094 * sysdeps/x86_64/sysdep.h: Likewise.
35096 2012-01-07 Ulrich Drepper <drepper@gmail.com>
35099 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
35101 * argp/argp-fmtstream.h: Use const instead __const.
35102 * argp/argp.h: Likewise.
35103 * assert/assert.h: Likewise.
35104 * bits/fenv.h: Likewise.
35105 * bits/sched.h: Likewise.
35106 * bits/sigset.h: Likewise.
35107 * bits/sigthread.h: Likewise.
35108 * catgets/nl_types.h: Likewise.
35109 * conform/data/pthread.h-data: Likewise.
35110 * crypt/crypt-private.h: Likewise.
35111 * crypt/crypt.h: Likewise.
35112 * crypt/crypt_util.c: Likewise.
35113 * ctype/ctype.h: Likewise.
35114 * debug/execinfo.h: Likewise.
35115 * debug/mbsnrtowcs_chk.c: Likewise.
35116 * debug/mbsrtowcs_chk.c: Likewise.
35117 * debug/wcsnrtombs_chk.c: Likewise.
35118 * debug/wcsrtombs_chk.c: Likewise.
35119 * debug/wcstombs_chk.c: Likewise.
35120 * dirent/dirent.h: Likewise.
35121 * dlfcn/dlfcn.h: Likewise.
35122 * elf/neededtest4.c: Likewise.
35123 * grp/grp.h: Likewise.
35124 * gshadow/gshadow.h: Likewise.
35125 * iconv/gconv.h: Likewise.
35126 * iconv/gconv_int.h: Likewise.
35127 * iconv/gconv_simple.c: Likewise.
35128 * iconv/iconv.h: Likewise.
35129 * iconv/loop.c: Likewise.
35130 * iconv/skeleton.c: Likewise.
35131 * include/aio.h: Likewise.
35132 * include/aliases.h: Likewise.
35133 * include/argz.h: Likewise.
35134 * include/arpa/inet.h: Likewise.
35135 * include/assert.h: Likewise.
35136 * include/dirent.h: Likewise.
35137 * include/dlfcn.h: Likewise.
35138 * include/execinfo.h: Likewise.
35139 * include/fcntl.h: Likewise.
35140 * include/fenv.h: Likewise.
35141 * include/glob.h: Likewise.
35142 * include/grp.h: Likewise.
35143 * include/libintl.h: Likewise.
35144 * include/mntent.h: Likewise.
35145 * include/netdb.h: Likewise.
35146 * include/pwd.h: Likewise.
35147 * include/rpc/netdb.h: Likewise.
35148 * include/sched.h: Likewise.
35149 * include/search.h: Likewise.
35150 * include/shadow.h: Likewise.
35151 * include/signal.h: Likewise.
35152 * include/stdio.h: Likewise.
35153 * include/stdlib.h: Likewise.
35154 * include/string.h: Likewise.
35155 * include/sys/socket.h: Likewise.
35156 * include/sys/stat.h: Likewise.
35157 * include/sys/statfs.h: Likewise.
35158 * include/sys/statvfs.h: Likewise.
35159 * include/sys/syslog.h: Likewise.
35160 * include/sys/time.h: Likewise.
35161 * include/sys/uio.h: Likewise.
35162 * include/time.h: Likewise.
35163 * include/unistd.h: Likewise.
35164 * include/utmp.h: Likewise.
35165 * include/wchar.h: Likewise.
35166 * include/wctype.h: Likewise.
35167 * inet/aliases.h: Likewise.
35168 * inet/arpa/inet.h: Likewise.
35169 * inet/netinet/ether.h: Likewise.
35170 * inet/netinet/in.h: Likewise.
35171 * intl/libintl.h: Likewise.
35172 * io/bits/fcntl2.h: Likewise.
35173 * io/fcntl.h: Likewise.
35174 * io/ftw.h: Likewise.
35175 * io/sys/poll.h: Likewise.
35176 * io/sys/stat.h: Likewise.
35177 * io/sys/statfs.h: Likewise.
35178 * io/sys/statvfs.h: Likewise.
35179 * io/utime.h: Likewise.
35180 * libio/bits/stdio.h: Likewise.
35181 * libio/bits/stdio2.h: Likewise.
35182 * libio/libio.h: Likewise.
35183 * libio/libioP.h: Likewise.
35184 * libio/stdio.h: Likewise.
35185 * locale/lc-ctype.c: Likewise.
35186 * locale/locale.h: Likewise.
35187 * login/utmp.h: Likewise.
35188 * malloc/arena.c: Likewise.
35189 * malloc/malloc.c: Likewise.
35190 * malloc/malloc.h: Likewise.
35191 * malloc/mcheck.c: Likewise.
35192 * malloc/mtrace.c: Likewise.
35193 * math/bits/mathcalls.h: Likewise.
35194 * math/fenv.h: Likewise.
35195 * math/math_private.h: Likewise.
35196 * misc/bits/error.h: Likewise.
35197 * misc/bits/syslog.h: Likewise.
35198 * misc/err.h: Likewise.
35199 * misc/error.h: Likewise.
35200 * misc/fstab.h: Likewise.
35201 * misc/mntent.h: Likewise.
35202 * misc/regexp.h: Likewise.
35203 * misc/search.h: Likewise.
35204 * misc/sgtty.h: Likewise.
35205 * misc/sys/mman.h: Likewise.
35206 * misc/sys/syslog.h: Likewise.
35207 * misc/sys/uio.h: Likewise.
35208 * misc/sys/xattr.h: Likewise.
35209 * misc/ttyent.h: Likewise.
35210 * nis/rpcsvc/ypclnt.h: Likewise.
35211 * nss/nss.h: Likewise.
35212 * posix/bits/unistd.h: Likewise.
35213 * posix/fnmatch.h: Likewise.
35214 * posix/glob.h: Likewise.
35215 * posix/sched.h: Likewise.
35216 * posix/spawn.h: Likewise.
35217 * posix/sys/wait.h: Likewise.
35218 * posix/unistd.h: Likewise.
35219 * posix/wordexp.h: Likewise.
35220 * pwd/pwd.h: Likewise.
35221 * resolv/netdb.h: Likewise.
35222 * resource/sys/resource.h: Likewise.
35223 * rt/aio.h: Likewise.
35224 * rt/bits/mqueue2.h: Likewise.
35225 * rt/mqueue.h: Likewise.
35226 * shadow/shadow.h: Likewise.
35227 * signal/signal.h: Likewise.
35228 * socket/send.c: Likewise.
35229 * socket/sendto.c: Likewise.
35230 * socket/sys/socket.h: Likewise.
35231 * stdio-common/printf.h: Likewise.
35232 * stdlib/bits/stdlib.h: Likewise.
35233 * stdlib/fmtmsg.h: Likewise.
35234 * stdlib/monetary.h: Likewise.
35235 * stdlib/stdlib.h: Likewise.
35236 * stdlib/ucontext.h: Likewise.
35237 * streams/stropts.h: Likewise.
35238 * string/argz.h: Likewise.
35239 * string/bits/string2.h: Likewise.
35240 * string/string.h: Likewise.
35241 * string/strings.h: Likewise.
35242 * sunrpc/rpc/auth.h: Likewise.
35243 * sunrpc/rpc/auth_des.h: Likewise.
35244 * sunrpc/rpc/clnt.h: Likewise.
35245 * sunrpc/rpc/netdb.h: Likewise.
35246 * sunrpc/rpc/pmap_clnt.h: Likewise.
35247 * sunrpc/rpc/xdr.h: Likewise.
35248 * sysdeps/generic/inttypes.h: Likewise.
35249 * sysdeps/generic/net/if.h: Likewise.
35250 * sysdeps/generic/sys/swap.h: Likewise.
35251 * sysdeps/gnu/net/if.h: Likewise.
35252 * sysdeps/gnu/utmpx.h: Likewise.
35253 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35254 * sysdeps/i386/i486/bits/string.h: Likewise.
35255 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35256 * sysdeps/s390/bits/string.h: Likewise.
35257 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35258 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35259 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35260 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35261 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35262 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35263 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35264 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35265 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35266 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35267 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35268 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35269 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35270 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35271 * sysdeps/unix/sysv/linux/readv.c: Likewise.
35272 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35273 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35274 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35275 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35276 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35277 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35278 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35279 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35280 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35281 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35282 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35283 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35284 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35285 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35286 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35287 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35288 * sysvipc/sys/ipc.h: Likewise.
35289 * sysvipc/sys/msg.h: Likewise.
35290 * sysvipc/sys/sem.h: Likewise.
35291 * sysvipc/sys/shm.h: Likewise.
35292 * termios/termios.h: Likewise.
35293 * time/sys/time.h: Likewise.
35294 * time/time.h: Likewise.
35295 * wcsmbs/bits/wchar2.h: Likewise.
35296 * wcsmbs/uchar.h: Likewise.
35297 * wcsmbs/wchar.h: Likewise.
35298 * wctype/wctype.h: Likewise.
35301 * Makeconfig: Remove all but ELF support including AIX support.
35302 * Makerules: Likewise.
35303 * config.h.in: Likewise.
35304 * config.make.in: Likewise.
35305 * configure: Likewise.
35306 * configure.in: Likewise.
35307 * csu/Makefile: Likewise.
35308 * csu/version.c: Likewise.
35309 * debug/Makefile: Likewise.
35310 * dlfcn/Makefile: Likewise.
35311 * elf/Makefile: Likewise.
35312 * extra-lib.mk: Likewise.
35313 * iconv/Makefile: Likewise.
35314 * include/libc-symbols.h: Likewise.
35315 * include/shlib-compat.h: Likewise.
35316 * resolv/Makefile: Likewise.
35317 * resolv/res_libc.c: Likewise.
35318 * rt/Makefile: Likewise.
35319 * sysdeps/i386/asm-syntax.h: Likewise.
35320 * sysdeps/i386/sysdep.h: Likewise.
35321 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35322 * sysdeps/mach/sysdep.h: Likewise.
35323 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35324 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35325 * sysdeps/s390/asm-syntax.h: Likewise.
35326 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35328 * sysdeps/sh/sysdep.h: Likewise.
35329 * sysdeps/unix/sparc/sysdep.h: Likewise.
35330 * sysdeps/wordsize-32/divdi3.c: Likewise.
35331 * sysdeps/x86_64/sysdep.h: Likewise.
35333 * argp/Versions: Remove _argp_unlock_xxx.
35336 * abilist/ld.abilist: Update. Adjust for removal of tls option.
35337 * abilist/libBrokenLocale.abilist: Likewise.
35338 * abilist/libanl.abilist: Likewise.
35339 * abilist/libc.abilist: Likewise.
35340 * abilist/libcrypt.abilist: Likewise.
35341 * abilist/libdl.abilist: Likewise.
35342 * abilist/libm.abilist: Likewise.
35343 * abilist/libnsl.abilist: Likewise.
35344 * abilist/libpthread.abilist: Likewise.
35345 * abilist/libresolv.abilist: Likewise.
35346 * abilist/librt.abilist: Likewise.
35347 * abilist/libthread_db.abilist: Likewise.
35348 * abilist/libutil.abilist: Likewise.
35349 * abilist/libnss_db.abilist: New file.
35351 * scripts/abilist.awk: Add support for indirect functions.
35353 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35355 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35357 * shlib-versions: Remove entries for ports architectures.
35359 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
35361 * elf/stackguard-macros.h: Remove support for IA-64.
35362 * elf/tst-auditmod1.c: Likewise.
35363 * sysdeps/generic/ldsodefs.h: Likewise.
35365 * sysdeps/unix/sysv/linux/configure.in: Ports should define
35366 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35370 * configure.in: Remove --enable-omitfp support.
35372 * config.make.in: Likewise.
35373 * Makeconfig: Likewise.
35374 * manual/install.texi: Likewise.
35376 In case anyone cares, the IA-64 architecture could move to ports.
35377 * sysdeps/ia64/*: Removed.
35378 * sysdeps/unix/sysv/linux/ia64/*: Removed.
35379 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35382 * configure.in: Remove entries for unsupported architectures.
35385 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35386 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
35388 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35389 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35390 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
35391 fall back to using wcrtomb.
35392 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35393 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
35395 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35396 * wcsmbs/tst-c16c32-1.c: New file.
35398 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35401 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35403 * elf/tst-unique3.cc: Add explicit declaration of gets.
35404 * elf/tst-unique3lib.cc: Likewise.
35405 * elf/tst-unique3lib2.cc: Likewise.
35406 * elf/tst-unique4.cc: Likewise.
35408 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35410 2012-01-06 Joseph Myers <joseph@codesourcery.com>
35413 * assert/assert.h (static_assert): Don't define for C++.
35414 * libio/stdio.h (gets): Do declare for C++ <= C++11.
35415 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35417 2012-01-03 Ulrich Drepper <drepper@gmail.com>
35419 * iconv/loop.c (single loop): Fix assertion in storing of
35422 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35424 2012-01-01 Ulrich Drepper <drepper@gmail.com>
35426 * posix/getconf.c: Update copyright year.
35427 * nss/getent.c: Likewise.
35428 * nss/makedb.c: Likewise.
35429 * iconv/iconvconfig.c: Likewise.
35430 * iconv/iconv_prog.c: Likewise.
35431 * elf/ldconfig.c: Likewise.
35432 * elf/pldd.c: Likewise.
35433 * elf/sotruss.ksh: Likewise.
35434 * catgets/gencat.c: Likewise.
35435 * csu/version.c: Likewise.
35436 * elf/ldd.bash.in: Likewise.
35437 * elf/sprof.c (print_version): Likewise.
35438 * locale/programs/locale.c: Likewise.
35439 * locale/programs/localedef.c: Likewise.
35440 * login/programs/pt_chown.c: Likewise.
35441 * nscd/nscd.c (print_version): Likewise.
35442 * debug/xtrace.sh: Likewise.
35443 * malloc/memusage.sh: Likewise.
35444 * malloc/mtrace.pl: Likewise.
35445 * debug/catchsegv.sh: Likewise.
35447 2011-12-30 Jakub Jelinek <jakub@redhat.com>
35449 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35452 2011-12-24 Ulrich Drepper <drepper@gmail.com>
35455 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35456 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35458 * iconv/gconv_int.h: Likewise.
35459 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35460 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35461 from libc for GLIBC_2.16.
35462 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35463 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35464 * wcsmbs/uchar.h: Really define mbstate_t.
35465 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35466 * wcsmbs/c16rtomb.c: New file.
35467 * wcsmbs/mbrtoc16.c: New file.
35468 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35469 for C/POSIX locale.
35470 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35471 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35473 * wcsmbs/wchar.h: Add missing __restrict.
35475 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35478 * time/Makefile (routines): Add timespec_get.
35479 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35480 * time/time.h: Define TIME_UTC and declare timespec_get. Define
35481 timespec for ISO C11.
35482 * time/timespec_get.c: New file.
35483 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35484 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35487 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35488 * stdlib/stdlib.h: Declare aligned_alloc.
35489 * Versions.def: Add GLIBC_2.16 for libc.
35490 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35493 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35496 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35500 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35503 * assert/assert.h (static_assert): Define.
35505 * version.h: Update for 2.16 development version.
35508 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35511 * version.h (RELEASE): Bump for 2.15 release.
35512 * include/features.h (__GLIBC_MINOR__): Bump to 15.
35514 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35515 Patch by Marek Polacek <mpolacek@redhat.com>.
35517 * bits/byteswap.h: Protect long long constants with __extension__.
35518 * sysdeps/i386/bits/byteswap.h: Likewise.
35519 * sysdeps/ia64/bits/byteswap.h: Likewise.
35520 * sysdeps/s390/bits/byteswap.h: Likewise.
35521 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35523 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35526 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35527 destination buffer.
35528 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35530 2011-12-23 Marek Polacek <polacek@redhat.com>
35532 * elf/dl-addr.c (determine_info): Add inline keyword.
35533 * elf/tst-auditmod4b.c (check_avx): Likewise.
35534 * elf/tst-auditmod6b.c (check_avx): Likewise.
35535 * elf/tst-auditmod6c.c (check_avx): Likewise.
35536 * elf/tst-auditmod7b.c (check_avx): Likewise.
35538 2011-12-23 Ulrich Drepper <drepper@gmail.com>
35540 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35543 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35546 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35547 processing for last bytes.
35549 2011-08-06 Bruno Haible <bruno@clisp.org>
35552 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35553 U+0385, not to U+1FEE.
35556 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35557 entry for U+00A5 U+0301.
35559 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35562 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35563 buffer for the output is too small.
35565 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35569 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35570 SSE flags if possible.
35572 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35575 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35576 processing for last bytes.
35578 2011-12-22 Joseph Myers <joseph@codesourcery.com>
35580 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35581 (syscall-list-default-options, syscall-list-default-condition)
35582 (syscall-list-includes): Define.
35583 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35584 list of ABIs and options and #if conditions for each ABI. Do not
35585 handle common syscalls between ABIs specially.
35586 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35588 (syscall-list-variants, syscall-list-32bit-options)
35589 (syscall-list-32bit-condition, syscall-list-64bit-options)
35590 (syscall-list-64bit-condition): Define.
35591 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35592 (syscall-list-variants, syscall-list-32bit-options)
35593 (syscall-list-32bit-condition, syscall-list-64bit-options)
35594 (syscall-list-64bit-condition): Define.
35595 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35597 (syscall-list-variants, syscall-list-32bit-options)
35598 (syscall-list-32bit-condition, syscall-list-64bit-options)
35599 (syscall-list-64bit-condition): Define.
35600 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35602 (syscall-list-variants, syscall-list-32bit-options)
35603 (syscall-list-32bit-condition, syscall-list-64bit-options)
35604 (syscall-list-64bit-condition): Define.
35606 2011-12-22 Ulrich Drepper <drepper@gmail.com>
35608 * locale/iso-639.def: Add brx entry.
35611 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35612 Proposed by Mariusz_Cukr <marcukr@op.pl>.
35614 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35615 __feraiseexcept_renamed.
35617 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35620 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35621 EPOLLET with unsigned values.
35622 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35623 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35625 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35626 to large cancellation.
35627 * math/s_cacoshf.c: Likewise.
35628 * math/s_cacoshl.c: Likewise.
35630 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
35634 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35635 * math/s_cacoshf.c: Likewise.
35636 * math/s_cacoshl.c: Likewise.
35638 2011-12-21 Ulrich Drepper <drepper@gmail.com>
35641 * iconv/gconv.h: Define __GCONV_SWAP.
35642 * iconvdata/unicode.c: The swap bit must be stored in __flags.
35643 * iconvdata/utf-16.c: Likewise.
35644 * iconvdata/utf-32.c: Likewise.
35646 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
35649 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35650 numerator after shifting it by one limb.
35652 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
35654 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35655 under [__USE_EXTERN_INLINES].
35657 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35660 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35662 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35664 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35665 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35667 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35668 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35669 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35670 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35671 for strncasecmp/strncasecmp_l compilation.
35672 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35673 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35675 2011-12-08 Marek Polacek <mpolacek@redhat.com>
35678 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35681 2011-12-17 Ulrich Drepper <drepper@gmail.com>
35684 * time/tzfile.c (__tzfile_read): Check values from file header.
35686 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
35688 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35689 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35690 * powerpc/powerpc32/dl-start.S: Likewise.
35691 * powerpc/powerpc32/elf/start.S: Likewise.
35692 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35693 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35694 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35695 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35696 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35697 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35698 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35699 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35700 * powerpc/powerpc32/fpu/s_round.S: Likewise.
35701 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35702 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35703 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35704 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35705 * powerpc/powerpc32/memset.S: Likewise.
35706 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35707 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35708 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35709 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35710 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35711 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35712 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35713 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35714 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35715 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35716 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35717 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35718 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35720 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35722 * math/libm-test.inc: Added more nearbyint tests.
35723 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35724 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35725 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35726 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35728 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
35730 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35733 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35735 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35736 Add wcscpy-ssse3 wcscpy-c.
35737 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35738 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35739 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35740 * sysdeps/x86_64/wcschr.S: New file.
35741 * sysdeps/x86_64/wcsrchr.S: New file.
35742 * string/test-strcmp.c: Remove checking of wcscmp function for
35744 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35745 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35746 wcsrchr-sse2 wcsrchr-c.
35747 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35748 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35749 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35750 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35751 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35752 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35753 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35754 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35755 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35756 * wcsmbc/wcschr.c (WCSCHR): New macro.
35758 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35760 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35761 * wcsmbs/test-wcsrchr.c: New file.
35762 * string/test-strrchr.c: Add wcsrchr support.
35764 * wcsmbs/test-wcscpy.c: New file.
35765 * string/test-strcpy.c: Add wcscpy support.
35768 2011-12-10 Ulrich Drepper <drepper@gmail.com>
35770 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35773 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
35776 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35778 2011-12-04 Ulrich Drepper <drepper@gmail.com>
35780 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
35781 Minor optimizations.
35783 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35784 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35785 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35787 2011-12-03 Ulrich Drepper <drepper@gmail.com>
35789 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35790 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35791 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35792 for gcc to avoid warnings.
35793 * inet/Makefile (tests): Add tst-checks.
35794 * inet/tst-checks.c: New file.
35796 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35799 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35802 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35803 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35805 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35807 2011-12-02 Ulrich Drepper <drepper@gmail.com>
35809 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35812 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35814 2011-11-29 Joseph Myers <joseph@codesourcery.com>
35816 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35817 conditional on GCC version.
35818 (__arch_compare_and_exchange_val_8_acq)
35819 (__arch_compare_and_exchange_val_16_acq)
35820 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35821 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35822 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35824 2011-12-02 Joseph Myers <joseph@codesourcery.com>
35826 * sysdeps/sh/backtrace.c: New file.
35828 2011-12-02 Andreas Schwab <schwab@redhat.com>
35830 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
35833 2011-12-01 Andreas Schwab <schwab@redhat.com>
35835 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35836 falling back to utime.
35838 2011-11-30 Andreas Schwab <schwab@redhat.com>
35840 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35841 expectations for float.
35843 2011-11-29 Andreas Schwab <schwab@redhat.com>
35845 * locale/weight.h (findidx): Add parameter len.
35846 * locale/weightwc.h (findidx): Likewise.
35847 * posix/fnmatch_loop.c (FCT): Adjust caller.
35848 * posix/regcomp.c (build_equiv_class): Likewise.
35849 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35850 * posix/regexec.c (check_node_accept_bytes): Likewise.
35851 * string/strcoll_l.c (STRCOLL): Likewise.
35852 * string/strxfrm_l.c (STRXFRM): Likewise.
35854 2011-11-17 Ulrich Drepper <drepper@gmail.com>
35856 * Makefile.in: Remove CVSOPT handling.
35857 * configure.in: Remove use of AC_REVISION.
35858 * iconvdata/Makefile (distribute): No need to filter out CVS.
35859 * scripts/list-sources.sh: Remove CVS, subversion and monotone
35862 2011-11-16 Andreas Schwab <schwab@redhat.com>
35864 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35865 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35866 [USE_AS_STRNCASECMP_L]: Likewise.
35867 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35868 NO_TLS_DIRECT_SEG_REFS.
35869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35870 Fix argument offsets for non-PIC.
35871 [USE_AS_STRNCASECMP_L]: Likewise.
35872 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35873 NO_TLS_DIRECT_SEG_REFS.
35875 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35877 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35879 * locale/loadlocale.c (_nl_load_locale): Likewise.
35881 2011-11-15 Andreas Schwab <schwab@redhat.com>
35883 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35884 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35885 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35886 (SYSCALL_GETTIME): Set errno on error.
35888 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35889 count references to noai6ai_cached.
35891 2011-11-15 Ulrich Drepper <drepper@gmail.com>
35893 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35895 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35896 FD_CLOEXEC for /proc/self/maps.
35898 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35899 FD_CLOEXEC for /proc/meminfo.
35901 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35904 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
35905 FD_CLOEXEC for given file.
35907 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35909 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35910 FD_CLOEXEC for /etc/hosts.
35911 (_gethtent): Likewise.
35913 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35915 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35916 cancellation and set FD_CLOEXEC for /etc/netgroup.
35918 * nss/nss_files/files-key.c (search): Don't allow cancellation when
35919 reading /etc/publickey.
35921 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35922 allow cancellation when reading /etc/group.
35924 * nss/nss_files/files-alias.c (internal_setent): Don't allow
35926 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
35928 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35929 when using data file.
35931 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35933 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35934 (write_nis_obj): Use "c" and "e" in fopen.
35936 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35938 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35940 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35942 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35944 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35947 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35949 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35951 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35953 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35954 file parsing and set FD_CLOEXEC.
35956 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35958 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35960 2011-11-14 Andreas Schwab <schwab@redhat.com>
35962 * malloc/arena.c (arena_get2): Don't call reused_arena when
35963 _int_new_arena failed.
35965 2011-11-14 Ulrich Drepper <drepper@gmail.com>
35967 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35968 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35969 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35970 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35971 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35973 to compile strcasecmp and strncasecmp.
35974 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35975 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35977 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35979 2011-11-13 Ulrich Drepper <drepper@gmail.com>
35981 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35982 locale-defines.sym to gen-as-const-headers.
35983 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35984 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35985 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35986 to compile strcasecmp and strncasecmp.
35987 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35988 strcasecmp_l and strncasecmp_l.
35989 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35990 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35991 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35993 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35994 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35995 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35996 * sysdeps/i386/i686/multiarch/strncase.S: New file.
35997 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35998 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35999 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36001 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36003 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36004 result of SYSDEP_GETTIME_CPU to retval.
36005 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36006 parameter list to macro. Remove trailing semicolon. Adjust users.
36008 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36011 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36013 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36015 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36016 from unused variable.
36018 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36020 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36023 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36026 * sunrpc/rpc_prot.c (rejected): Fix case value.
36028 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36029 unsigned long long int to avoid warnings in shift.
36031 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36033 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36036 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36037 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36038 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36040 * nis/nis_table.c (nis_list): Use variable of correct type for
36041 result of __follow_path call.
36043 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36045 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36046 of math functions ceil, trunc, floor, round, and sqrt, when
36047 avaliable on the platform.
36048 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36050 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36051 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36052 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36054 2011-10-30 Marek Polacek <mpolacek@redhat.com>
36056 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36057 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36059 2011-11-11 Roland McGrath <roland@hack.frob.com>
36061 * include/unistd.h: Fix __readlink return type.
36062 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36064 2011-11-11 Ulrich Drepper <drepper@gmail.com>
36066 * stdlib/ucontext.h: Undo last change for makecontext.
36068 2011-11-11 Andreas Schwab <schwab@redhat.com>
36070 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36072 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
36073 * setjmp/setjmp.h: Mark functions as non-leaf.
36074 * setjmp/bits/setjmp2.h: Likewise.
36075 * stdlib/ucontext.h: Likewise.
36077 2011-11-10 Andreas Schwab <schwab@redhat.com>
36079 * malloc/arena.c (_int_new_arena): Don't increment narenas.
36080 (reused_arena): Don't check arena limit.
36081 (arena_get2): Atomically check arena limit.
36083 2011-11-08 Ulrich Drepper <drepper@gmail.com>
36085 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
36086 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
36088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
36091 2011-11-07 Andreas Schwab <schwab@redhat.com>
36093 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
36094 handler when locking.
36096 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
36097 Fix size of allocated buffer.
36099 2011-11-04 Andreas Schwab <schwab@redhat.com>
36102 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
36103 declarations for long double functions.
36104 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
36106 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
36108 2011-11-03 Andreas Schwab <schwab@redhat.com>
36110 * nscd/nscd.c (main): Don't start AVC thread until credentials are
36113 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
36116 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
36118 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
36120 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
36122 * include/alloca.h (stackinfo_alloca_round): Define.
36123 (extend_alloca): Use it.
36124 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
36125 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
36128 * scripts/check-local-headers.sh: Ignore libaudit.h.
36130 * nscd/Makefile (extra-objs): Make recursively expanded.
36132 2011-11-01 Ulrich Drepper <drepper@gmail.com>
36134 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
36135 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
36137 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
36138 * posix/tst-rfc3484-2.c: Likewise.
36139 * posix/tst-rfc3484-3.c: Likewise.
36141 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36143 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
36145 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
36146 process_vm_writev from libc using GLIBC_2.15 version.
36148 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
36150 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
36152 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
36155 2011-10-31 Ulrich Drepper <drepper@gmail.com>
36158 * nss/getent.c (initgroups_keys): Show error message in case no group
36161 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
36162 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
36163 __bump_nl_timestamp.
36164 * nscd/connections (nscd_init): When host database is served open
36165 netlink socket and request notification about configuration changes.
36166 (main_loop_poll): Track netlink file descriptor and bump timestamp
36167 in case data becomes available.
36168 (main_loop_epoll): Likewise.
36169 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
36170 (database_pers_head): Add extra_data fileds.
36171 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
36172 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
36173 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
36175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
36176 in6ai data, call __free_in6ai.
36177 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
36178 Add -DHAVE_NETLINK.
36179 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
36180 interface information. Reuse previous data if netlink timestamp
36182 (__bump_nl_timestamp): New function.
36183 (__free_in6ai): New function.
36185 2011-10-30 Ulrich Drepper <drepper@gmail.com>
36187 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
36188 close_not_cancel_no_status here.
36189 (__check_pf): Reorganize code a bit to not call close twice if OOM.
36191 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36194 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36197 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36198 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36199 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36201 2011-07-03 Andreas Jaeger <aj@suse.de>
36204 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36205 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36206 * math/libm-test.inc (sin_test): Add test case.
36208 2011-10-29 Ulrich Drepper <drepper@gmail.com>
36211 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36212 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36214 * elf/chroot_canon.c (chroot_canon): Cleanups.
36216 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36219 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36220 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36222 * string/test-strchr.c: Make usable for strchrnul testing.
36223 * string/test-strchrnul.c: New file.
36224 * string/Makefile (strop-tests): Add strchrnul.
36226 * po/it.po: Update from translation team.
36227 * po/es.po: Likewise.
36229 2011-10-28 Ulrich Drepper <drepper@gmail.com>
36231 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36232 the three constants needed as parameters. Drop the others.
36233 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36234 __m128i_strloadu_tolower.
36235 Create and initialize variable zero and use it in all the places
36236 where _mm_setzero_si128 was used.
36238 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36239 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36240 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36241 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36243 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36244 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36245 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36246 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36247 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36248 __mpranred, __mptan.
36249 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36250 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36251 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36252 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36253 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36254 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36255 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36256 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36259 2011-10-28 Andreas Schwab <schwab@redhat.com>
36261 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36262 redefine if SHARED.
36263 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36266 wide char related routines to wcsmbs subdir.
36268 2011-10-27 Andreas Schwab <schwab@redhat.com>
36271 * misc/sys/cdefs.h (__THROWNL): Define.
36272 * posix/unistd.h: Use __THREADNL instead of __THREAD
36273 for memory synchronization functions.
36275 2011-10-26 Roland McGrath <roland@hack.frob.com>
36278 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36280 * manual/stdio.texi (Obstack Streams): Node removed.
36282 2011-10-26 Andreas Schwab <schwab@redhat.com>
36284 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36285 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36286 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36288 * math/math_private.h (math_force_eval): Allow non-addressable
36290 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36292 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36294 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36295 file is not needed.
36297 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36298 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36299 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36300 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36301 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36302 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36303 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36304 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36306 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36307 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36308 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36309 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36310 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36311 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36312 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36313 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36314 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36315 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36316 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36317 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36318 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36319 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36320 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36321 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36322 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36323 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36324 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36326 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36327 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
36329 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36330 place. Use VEX encoding when compiling for AVX.
36332 2011-10-25 Andreas Schwab <schwab@redhat.com>
36334 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36335 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36337 * string/test-strchr.c (do_test): Don't generate NUL bytes.
36339 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36341 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36342 useless if() expression.
36343 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36344 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36346 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36347 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36348 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36349 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36351 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36352 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36353 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36354 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36355 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36356 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36357 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36358 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36360 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36361 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36363 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36365 2011-10-25 Andreas Schwab <schwab@redhat.com>
36367 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36369 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36371 2011-10-25 Ulrich Drepper <drepper@gmail.com>
36373 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36374 .text section. Avoid duplicate constants.
36375 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36383 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36384 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36385 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36386 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36387 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36388 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36389 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36390 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36391 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36392 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36393 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36395 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36396 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36397 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36398 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36399 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36400 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36401 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36402 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36403 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36404 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36405 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36406 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36407 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36408 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36409 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36410 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36411 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36412 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36413 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36414 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36415 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36416 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36417 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36418 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36419 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36421 2011-10-24 Ulrich Drepper <drepper@gmail.com>
36423 * sysdeps/x86_64/dla.h: Move to ...
36424 * sysdeps/x86_64/fpu/dla.h: ...here.
36425 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36426 situations. Use __builtin_fma only for gcc 4.6 and up.
36428 * config.make.in: Add have-mfma4 entry.
36429 * configure.in: Substitute libc_cv_cc_fma4.
36430 * math/Makefile (dbl-only-routines): Add sincostab.
36431 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36432 Use __sincostab not sincos.
36433 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36435 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
36440 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
36441 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
36442 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36443 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36445 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36446 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36448 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
36449 define aliases when function name is a macro.
36450 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36451 sysdeps/ieee754/dbl-64/sincos.tbl.
36452 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36453 fma4-enabled routines.
36454 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36455 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36456 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36457 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36458 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36459 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36460 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36461 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36462 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36463 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36464 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36465 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36466 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36467 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36468 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36469 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36470 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36471 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36472 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36473 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36474 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36475 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36476 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36477 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36478 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36479 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36480 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36481 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36482 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36483 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36485 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36487 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36488 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36489 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36493 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36494 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36496 2011-10-24 Andreas Schwab <schwab@redhat.com>
36498 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36500 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36502 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36504 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36506 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36508 * string/strnlen.c: Don't define STRNLEN, reverse logic.
36509 Remove unused variable magic_bits.
36510 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36512 * string/strnlen.c: Define and use STRNLEN macro.
36513 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36514 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36516 * wcsmbs/wcslen.c: Define and use WCSLEN.
36517 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36518 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36519 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36520 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36521 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36522 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36523 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36525 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36528 strnlen-sse2-no-bsf.
36529 Rename strlen-no-bsf to strlen-sse2-no-bsf.
36530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36531 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36532 Add strnlen support.
36533 (USE_AS_STRNLEN): New macro.
36534 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36535 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36536 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36537 * sysdeps/x86_64/wcslen.S: New file.
36539 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
36541 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36542 XMM-moves are used for copying on small sizes.
36544 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36546 * wcsmbs/Makefile (strop-tests): Add wcschr.
36547 * wcsmbs/test-wcschr.c: New file.
36548 * string/test-strchr.c: Update.
36549 Add wcschr support.
36552 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36554 * wcsmbs/Makefile (strop-tests): Add wcslen.
36555 * wcsmbs/test-wcslen.c: New file.
36556 * string/test-strlen.c: Update.
36557 Add wcslen support.
36560 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36562 * po/it.po: Update from translation team.
36564 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36566 * sysdeps/x86_64/wcscmp.S: Update.
36567 Fix wrong comparison semantics.
36568 wcscmp shall use signed comparison not unsigned.
36569 Don't use substraction to avoid overflow bug.
36570 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36571 * wcsmbc/wcscmp.c: Likewise.
36572 * string/test-strcmp.c: Likewise.
36573 Add new tests to check cases with negative values.
36575 2011-10-23 Ulrich Drepper <drepper@gmail.com>
36577 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36578 * sysdeps/x86_64/dla.h: ...here. New file.
36579 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36580 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36581 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36582 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36583 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36589 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
36591 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36592 __ynl_finite aliases.
36594 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36598 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36600 [DLA_FMA] (EMULV): Use DLA_FMA.
36601 [DLA_FMA] (MUL12): Use EMULV.
36602 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36603 that are not needed.
36604 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36605 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36606 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36607 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36612 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
36614 * math/s_nan.c: Undef __nan.
36615 * math/s_nanf.c: Undef __nanf.
36616 * math/s_nanl.c: Undef __nanl.
36617 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36620 2011-10-22 Ulrich Drepper <drepper@gmail.com>
36622 * math/s_catan.c: Add branch predictions.
36623 * math/s_catanf.c: Likewise.
36624 * math/s_catanh.c: Likewise.
36625 * math/s_catanhf.c: Likewise.
36626 * math/s_catanhl.c: Likewise.
36627 * math/s_catanl.c: Likewise.
36628 * math/s_cexp.c: Likewise.
36629 * math/s_cexpf.c: Likewise.
36630 * math/s_cexpl.c: Likewise.
36631 * math/s_clog.c: Likewise.
36632 * math/s_clog10.c: Likewise.
36633 * math/s_clog10f.c: Likewise.
36634 * math/s_clog10l.c: Likewise.
36635 * math/s_clogf.c: Likewise.
36636 * math/s_clogl.c: Likewise.
36637 * math/s_csqrt.c: Likewise.
36638 * math/s_csqrtf.c: Likewise.
36639 * math/s_csqrtl.c: Likewise.
36640 * math/s_ctanf.c: Likewise.
36641 * math/s_ctanh.c: Likewise.
36642 * math/s_ctanhf.c: Likewise.
36643 * math/s_ctanhl.c: Likewise.
36644 * math/s_ctanl.c: Likewise.
36646 * math/math_private.h: Define __nan, __nanf, __nanl.
36647 * math/s_cacosh.c: Include <math_private.h>.
36648 * math/s_cacoshl.c: Likewise.
36649 * math/s_casinh.c: Likewise.
36650 * math/s_casinhf.c: Likewise.
36651 * math/s_casinhl.c: Likewise.
36652 * math/s_ccos.c: Rely entire on ccosh.
36653 * math/s_ccosf.c: Rely entire on ccoshf.
36654 * math/s_ccosl.c: Rely entirely on ccoshl.
36655 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
36656 Remove tests for FE_INVALID.
36657 * math/s_ccoshf.c: Likewise.
36658 * math/s_ccoshl.c: Likewise.
36659 * math/s_csin.c: Likewise.
36660 * math/s_csinf.c: Likewise.
36661 * math/s_csinh.c Likewise.
36662 * math/s_csinhf.c: Likewise.
36663 * math/s_csinhl.c: Likewise.
36664 * math/s_csinl.c: Likewise.
36665 * math/s_ctan.c: Likewise.
36666 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36667 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36670 2011-10-21 Ulrich Drepper <drepper@gmail.com>
36672 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36673 compilation problems.
36675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36678 2011-10-20 Ulrich Drepper <drepper@gmail.com>
36680 * sysdeps/i386/configure.in: Test for -mfma4 option.
36681 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36682 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36683 COMMON_CPUID_INDEX_80000001.
36684 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36685 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36686 use it if FMA3 is not supported.
36687 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36689 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36690 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36692 2011-10-20 Andreas Schwab <schwab@redhat.com>
36695 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36696 it would create a cycle with a link time dependency.
36698 2011-10-19 Ulrich Drepper <drepper@gmail.com>
36700 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36702 * string/Makefile (strop-tests): Add rawmemchr.
36703 * string/test-rawmemchr.c: New file.
36705 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36706 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
36707 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
36708 when compiling str{,n}casecmp and when AVX is available. Hook up
36709 new optimized code in initializers.
36711 2011-10-19 Andreas Schwab <schwab@redhat.com>
36713 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36714 __feraiseexcept instead of feraiseexcept.
36716 2011-10-18 Ulrich Drepper <drepper@gmail.com>
36718 * math/math_private.h: Define defaults for libc_fetestexcept and
36720 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36721 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36722 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36723 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36724 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36725 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36726 libc_fetestexcept and libc_feupdateenv.
36728 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36729 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36730 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36731 * sysdeps/x86_64/fpu/math_private.h: Define special version of
36732 libc_feholdexcept_setround.
36734 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36735 Add s_nearbyint-c and s_nearbyintf-c.
36736 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36737 nearbyintf inlines.
36738 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36739 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36740 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36741 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36743 * math/math_private.h: Define defaults for libc_fegetround,
36744 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36745 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36746 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36747 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36748 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36749 standard functions.
36750 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36751 Remove comments and hacks for old compiler versions.
36752 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36753 libc_fegetround, libc_fesetround, libc_feholdexcept, and
36754 libc_feholdexceptl.
36756 2011-10-18 Andreas Schwab <schwab@redhat.com>
36758 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
36759 (__feraiseexcept_renamed): Add __NTH.
36760 (feraiseexcept): Add __NTH. Rename local variables to fix
36761 namespace violations.
36763 2011-10-17 Ulrich Drepper <drepper@gmail.com>
36765 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36767 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36769 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36770 recently added interfaces.
36771 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36773 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36774 about macro parameter expansion.
36776 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36777 __NO_MATH_INLINES is defined. Cleanups.
36779 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36780 and __floorf is target has SSE4.1.
36781 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36782 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36783 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36784 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36786 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36788 (floorf): Likewise.
36790 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36792 2011-10-17 Andreas Schwab <schwab@redhat.com>
36794 * misc/sys/cdefs.h: Fix last change.
36796 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36799 2011-10-16 Ulrich Drepper <drepper@gmail.com>
36801 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36803 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36805 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36806 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36807 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36809 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36810 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36811 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36812 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36813 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36814 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36815 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36816 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36817 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36818 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36819 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36820 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36821 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36822 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36823 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36824 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36826 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36827 ceil, ceilf, floor, floorf.
36829 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36830 Perform IRELATIVE relocations last.
36832 * elf/do-rel.h: Add another parameter nrelative, replacing the
36833 local variable with the same name. Change name of the function
36834 to end in Rel or Rela (uppercase).
36835 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36836 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
36837 elf_dynamic_do_##reloc function.
36839 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36841 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36842 is sufficient, at least on modern CPUs.
36844 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36846 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36847 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36849 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36851 * math/bits/math-finite.h: Add entries for exp.
36852 * math/e_expl.c: Add __*_finite alias.
36853 * sysdeps/i386/fpu/e_exp.S: Likewise.
36854 * sysdeps/i386/fpu/e_expf.S: Likewise.
36855 * sysdeps/i386/fpu/e_expl.c: Likewise.
36856 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36857 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36858 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36859 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36860 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36861 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36862 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36864 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36865 is sufficient, at least on modern CPUs.
36867 * ctype/ctype-info.c (__ctype_init): Define.
36868 * include/ctype.h (__ctype_init): Declare.
36869 (__ctype_b_loc): The variable is always initialized.
36870 (__ctype_toupper_loc): Likewise.
36871 (__ctype_tolower_loc): Likewise.
36872 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36873 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36875 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
36877 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36879 * configure.in: Also look in $cxxmachine/include for C++ system
36882 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36884 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36885 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36886 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36887 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
36888 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36889 (USE_AS_WMEMCMP): New macro.
36891 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36892 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36893 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36894 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36896 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36897 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36898 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36899 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36900 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36901 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36902 (USE_AS_WMEMCMP): New macro.
36903 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36904 * sysdeps/string/test-memcmp.c: Update.
36905 Fix simple_wmemcmp.
36907 * wcsmbs/wmemcmp.c: Update.
36908 (WMEMCMP): New macro.
36911 2011-10-12 Andreas Jaeger <aj@suse.de>
36914 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36916 2011-10-15 Ulrich Drepper <drepper@gmail.com>
36918 * libio/iofwide.c (do_length): Avoid warning.
36920 * ctype/ctype.h (__isctype_f): Add missing __THROW.
36922 2011-10-14 Ulrich Drepper <drepper@gmail.com>
36924 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36926 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36927 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36928 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36929 * sysdeps/i386/i686/fpu/e_log.S: New file.
36930 * sysdeps/i386/i686/fpu/e_logf.S: New file.
36931 * sysdeps/i386/i686/fpu/e_logl.S: New file.
36933 * ctype/ctype.h: Add support for inlined isXXX functions when
36934 compiling C++ code.
36936 2011-10-14 Andreas Schwab <schwab@redhat.com>
36938 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36940 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36942 2011-10-13 Roland McGrath <roland@hack.frob.com>
36945 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36947 2011-10-13 Andreas Schwab <schwab@redhat.com>
36949 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36950 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36953 * sysdeps/x86_64/memrchr.S: Check for zero size.
36955 * string/stratcliff.c: Add memrchr tests.
36957 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36959 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36960 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36961 rawmemchr-sse2 rawmemchr-sse2-bsf.
36962 * sysdeps/i386/i686/multiarch/memchr.S: New file.
36963 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36964 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36965 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36966 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36967 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36968 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36969 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36970 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36971 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36972 * string/memrchr.c (MEMRCHR): New macro.
36974 2011-10-12 Ulrich Drepper <drepper@gmail.com>
36976 Add integration with gcc's -ffinite-math-only and optimize wrapper
36978 * Versions.def: Define GLIBC_2.15 version for libm.
36979 * math/Makefile (headers): Add bits/math-finite.h.
36980 * math/bits/math-finite.h: New file.
36981 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36982 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36983 * math/e_acoshl.c: Add __*_finite alias.
36984 * math/e_acosl.c: Likewise.
36985 * math/e_asinl.c: Likewise.
36986 * math/e_atan2l.c: Likewise.
36987 * math/e_atanhl.c: Likewise.
36988 * math/e_coshl.c: Likewise.
36989 * math/e_exp10.c: Likewise.
36990 * math/e_exp10f.c: Likewise.
36991 * math/e_exp10l.c: Likewise.
36992 * math/e_exp2l.c: Likewise.
36993 * math/e_fmodl.c: Likewise.
36994 * math/e_gammal_r.c: Likewise.
36995 * math/e_hypotl.c: Likewise.
36996 * math/e_j0l.c: Likewise.
36997 * math/e_j1l.c: Likewise.
36998 * math/e_jnl.c: Likewise.
36999 * math/e_lgammal_r.c: Likewise.
37000 * math/e_log10l.c: Likewise.
37001 * math/e_log2l.c: Likewise.
37002 * math/e_logl.c: Likewise.
37003 * math/e_powl.c: Likewise.
37004 * math/e_sinhl.c: Likewise.
37005 * math/e_sqrtl.c: Likewise.
37006 * math/e_scalb.c: Completely rewritten and optimized.
37007 * math/e_scalbf.c: Likewise.
37008 * math/e_scalbl.c: Likewise.
37009 * math/w_acos.c: Likewise.
37010 * math/w_acosf.c: Likewise.
37011 * math/w_acosl.c: Likewise.
37012 * math/w_acosh.c: Likewise.
37013 * math/w_acoshf.c: Likewise.
37014 * math/w_acoshl.c: Likewise.
37015 * math/w_asin.c: Likewise.
37016 * math/w_asinf.c: Likewise.
37017 * math/w_asinl.c: Likewise.
37018 * math/w_atan2.c: Likewise.
37019 * math/w_atan2f.c: Likewise.
37020 * math/w_atan2l.c: Likewise.
37021 * math/w_atanh.c: Likewise.
37022 * math/w_atanhf.c: Likewise.
37023 * math/w_atanhl.c: Likewise.
37024 * math/w_exp10.c: Likewise.
37025 * math/w_exp10f.c: Likewise.
37026 * math/w_exp10l.c: Likewise.
37027 * math/w_fmod.c: Likewise.
37028 * math/w_fmodf.c: Likewise.
37029 * math/w_fmodl.c: Likewise.
37030 * math/w_j0.c: Likewise.
37031 * math/w_j0f.c: Likewise.
37032 * math/w_j0l.c: Likewise.
37033 * math/w_j1.c: Likewise.
37034 * math/w_j1f.c: Likewise.
37035 * math/w_j1l.c: Likewise.
37036 * math/w_jn.c: Likewise.
37037 * math/w_jnf.c: Likewise.
37038 * math/w_log.c: Likewise.
37039 * math/w_logf.c: Likewise.
37040 * math/w_logl.c: Likewise.
37041 * math/w_log10.c: Likewise.
37042 * math/w_log10f.c: Likewise.
37043 * math/w_log10l.c: Likewise.
37044 * math/w_log2.c: Likewise.
37045 * math/w_log2f.c: Likewise.
37046 * math/w_log2l.c: Likewise.
37047 * math/w_pow.c: Likewise.
37048 * math/w_powf.c: Likewise.
37049 * math/w_powl.c: Likewise.
37050 * math/w_remainder.c: Likewise.
37051 * math/w_remainderf.c: Likewise.
37052 * math/w_remainderl.c: Likewise.
37053 * math/w_scalb.c: Likewise.
37054 * math/w_scalbf.c: Likewise.
37055 * math/w_scalbl.c: Likewise.
37056 * math/w_sqrt.c: Likewise.
37057 * math/w_sqrtf.c: Likewise.
37058 * math/w_sqrtl.c: Likewise.
37059 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37060 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37062 * math/math_private.h: Declare __kernel_standard_f.
37063 * math/w_cosh.c: Remove cruft and optimize a bit.
37064 * math/w_coshf.c: Likewise.
37065 * math/w_coshl.c: Likewise.
37066 * math/w_exp2.c: Likewise.
37067 * math/w_exp2f.c: Likewise.
37068 * math/w_exp2l.c: Likewise.
37069 * math/w_hypot.c: Likewise.
37070 * math/w_hypotf.c: Likewise.
37071 * math/w_hypotl.c: Likewise.
37072 * math/w_lgamma.c: Likewise.
37073 * math/w_lgamma_r.c: Likewise.
37074 * math/w_lgammaf.c: Likewise.
37075 * math/w_lgammaf_r.c: Likewise.
37076 * math/w_lgammal.c: Likewise.
37077 * math/w_lgammal_r.c: Likewise.
37078 * math/w_sinh.c: Likewise.
37079 * math/w_sinhf.c: Likewise.
37080 * math/w_sinhl.c: Likewise.
37081 * math/w_tgamma.c: Likewise.
37082 * math/w_tgammaf.c: Likewise.
37083 * math/w_tgammal.c: Likewise.
37084 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37085 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37086 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
37087 Minor optimizations. Pretty printing. Remove cruft.
37088 * sysdeps/i386/fpu/e_acosf.S: Likewise.
37089 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37090 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37091 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37092 * sysdeps/i386/fpu/e_acosl.c: Likewise.
37093 * sysdeps/i386/fpu/e_asin.S: Likewise.
37094 * sysdeps/i386/fpu/e_asinf.S: Likewise.
37095 * sysdeps/i386/fpu/e_atan2.S: Likewise.
37096 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
37097 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
37098 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37099 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37100 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37101 * sysdeps/i386/fpu/e_exp10.S: Likewise.
37102 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
37103 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
37104 * sysdeps/i386/fpu/e_exp2.S: Likewise.
37105 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
37106 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
37107 * sysdeps/i386/fpu/e_fmod.S: Likewise.
37108 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
37109 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
37110 * sysdeps/i386/fpu/e_hypot.S: Likewise.
37111 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
37112 * sysdeps/i386/fpu/e_log.S: Likewise.
37113 * sysdeps/i386/fpu/e_log10.S: Likewise.
37114 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37115 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37116 * sysdeps/i386/fpu/e_log2.S: Likewise.
37117 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37118 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37119 * sysdeps/i386/fpu/e_logf.S: Likewise.
37120 * sysdeps/i386/fpu/e_logl.S: Likewise.
37121 * sysdeps/i386/fpu/e_pow.S: Likewise.
37122 * sysdeps/i386/fpu/e_powf.S: Likewise.
37123 * sysdeps/i386/fpu/e_powl.S: Likewise.
37124 * sysdeps/i386/fpu/e_remainder.S: Likewise.
37125 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
37126 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
37127 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37128 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37129 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37130 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
37131 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
37132 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
37133 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37134 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37136 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37137 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37138 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37139 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
37140 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37141 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37142 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37143 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37144 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37146 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37147 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37149 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37150 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37151 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37152 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37153 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37154 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37155 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37156 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37157 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37158 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37159 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37160 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37161 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
37162 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37163 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37164 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37166 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37167 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37168 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37169 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37170 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37171 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37172 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37173 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37174 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37175 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37176 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37177 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37178 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37179 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37180 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37181 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37182 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
37183 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37184 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37185 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37186 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37187 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37188 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37189 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37190 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37191 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37192 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37193 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37194 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37197 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37198 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37199 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37200 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37201 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37202 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37203 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37204 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37205 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37206 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37207 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37208 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37209 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37210 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37211 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37212 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37213 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37214 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37215 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37216 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37217 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37218 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37219 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37220 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37221 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37222 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37223 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37224 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37225 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37226 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37227 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37228 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37229 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37230 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37231 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37232 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37233 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37234 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37235 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37236 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37237 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37238 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37239 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37241 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37242 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37243 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
37244 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37245 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37246 (__isnanf): Likewise.
37247 (__isinf_ns): Likewise.
37248 (__isinf_nsf): Likewise.
37249 (__finite): Likewise.
37250 (__finitef): Likewise.
37251 (__ieee754_sqrt): Define as macro.
37252 (__ieee754_sqrtf): Define as macro.
37253 (__ieee754_sqrtl): Define as macro.
37254 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37256 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37257 __FINITE_MATH_ONLY__ consistent.
37258 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37260 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
37262 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37265 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37267 2011-10-09 Ulrich Drepper <drepper@gmail.com>
37269 * po/ja.po: Update from translation team.
37271 2011-10-08 Roland McGrath <roland@hack.frob.com>
37273 * locale/programs/locarchive.c (prepare_address_space): New function.
37274 (create_archive, enlarge_archive, open_archive): Use it.
37276 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37277 inside [SHARED], where it is used.
37279 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37281 * nss/getent.c (netgroup_keys): Remove unused variable.
37282 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37284 2011-10-08 Ulrich Drepper <drepper@gmail.com>
37286 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37287 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37288 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37289 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37290 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37291 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37292 * math/Makefile (libm-calls): Add s_isinf_ns.
37293 * math/divtc3.c: Use __isinf_nsl instead of isinf.
37294 * math/multc3.c: Likewise.
37295 * math/s_casin.c: Likewise.
37296 * math/s_casinf.c: Likewise.
37297 * math/s_casinl.c: Likewise.
37298 * math/s_ccos.c: Likewise.
37299 * math/s_ccosf.c: Likewise.
37300 * math/s_ccosl.c: Likewise.
37301 * math/s_ctan.c: Likewise.
37302 * math/s_ctanf.c: Likewise.
37303 * math/s_ctanh.c: Likewise.
37304 * math/s_ctanhf.c: Likewise.
37305 * math/s_ctanhl.c: Likewise.
37306 * math/s_ctanl.c: Likewise.
37307 * math/w_fmod.c: Likewise.
37308 * math/w_fmodf.c: Likewise.
37309 * math/w_fmodl.c: Likewise.
37310 * math/w_remainder.c: Likewise.
37311 * math/w_remainderf.c: Likewise.
37312 * math/w_remainderl.c: Likewise.
37313 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37314 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37315 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37316 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37317 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37318 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37319 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37320 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37322 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37324 * stdio-common/printf_fphex.c: Likewise.
37325 * stdio-common/printf_size.c: Likewise.
37327 * math/e_exp10.c: Include math_private.h using <...> not "...".
37328 * math/e_exp10f.c: Likewise.
37329 * math/e_exp10l.c: Likewise.
37330 * math/e_exp2l.c: Likewise.
37331 * math/e_j0l.c: Likewise.
37332 * math/e_j1l.c: Likewise.
37333 * math/e_jnl.c: Likewise.
37334 * math/e_lgammal_r.c: Likewise.
37335 * math/e_rem_pio2l.c: Likewise.
37336 * math/e_scalb.c: Likewise.
37337 * math/e_scalbf.c: Likewise.
37338 * math/e_scalbl.c: Likewise.
37339 * math/k_cosl.c: Likewise.
37340 * math/k_sinl.c: Likewise.
37341 * math/k_tanl.c: Likewise.
37342 * math/s_cacoshf.c: Likewise.
37343 * math/s_catan.c: Likewise.
37344 * math/s_catanf.c: Likewise.
37345 * math/s_catanh.c: Likewise.
37346 * math/s_catanhf.c: Likewise.
37347 * math/s_catanhl.c: Likewise.
37348 * math/s_catanl.c: Likewise.
37349 * math/s_ccosh.c: Likewise.
37350 * math/s_ccoshf.c: Likewise.
37351 * math/s_ccoshl.c: Likewise.
37352 * math/s_cexp.c: Likewise.
37353 * math/s_cexpf.c: Likewise.
37354 * math/s_cexpl.c: Likewise.
37355 * math/s_clog.c: Likewise.
37356 * math/s_clog10.c: Likewise.
37357 * math/s_clog10f.c: Likewise.
37358 * math/s_clog10l.c: Likewise.
37359 * math/s_clogf.c: Likewise.
37360 * math/s_clogl.c: Likewise.
37361 * math/s_csin.c: Likewise.
37362 * math/s_csinf.c: Likewise.
37363 * math/s_csinh.c: Likewise.
37364 * math/s_csinhf.c: Likewise.
37365 * math/s_csinhl.c: Likewise.
37366 * math/s_csinl.c: Likewise.
37367 * math/s_csqrt.c: Likewise.
37368 * math/s_csqrtf.c: Likewise.
37369 * math/s_csqrtl.c: Likewise.
37370 * math/s_ctan.c: Likewise.
37371 * math/s_ctanf.c: Likewise.
37372 * math/s_ctanh.c: Likewise.
37373 * math/s_ctanhf.c: Likewise.
37374 * math/s_ctanhl.c: Likewise.
37375 * math/s_ctanl.c: Likewise.
37376 * math/s_ldexp.c: Likewise.
37377 * math/s_ldexpf.c: Likewise.
37378 * math/s_ldexpl.c: Likewise.
37379 * math/s_significand.c: Likewise.
37380 * math/s_significandf.c: Likewise.
37381 * math/s_significandl.c: Likewise.
37382 * math/w_acos.c: Likewise.
37383 * math/w_acosf.c: Likewise.
37384 * math/w_acosh.c: Likewise.
37385 * math/w_acoshf.c: Likewise.
37386 * math/w_acoshl.c: Likewise.
37387 * math/w_acosl.c: Likewise.
37388 * math/w_asin.c: Likewise.
37389 * math/w_asinf.c: Likewise.
37390 * math/w_asinl.c: Likewise.
37391 * math/w_atan2.c: Likewise.
37392 * math/w_atan2f.c: Likewise.
37393 * math/w_atan2l.c: Likewise.
37394 * math/w_atanh.c: Likewise.
37395 * math/w_atanhf.c: Likewise.
37396 * math/w_atanhl.c: Likewise.
37397 * math/w_cosh.c: Likewise.
37398 * math/w_coshf.c: Likewise.
37399 * math/w_coshl.c: Likewise.
37400 * math/w_dremf.c: Likewise.
37401 * math/w_exp10.c: Likewise.
37402 * math/w_exp10f.c: Likewise.
37403 * math/w_exp10l.c: Likewise.
37404 * math/w_exp2.c: Likewise.
37405 * math/w_exp2f.c: Likewise.
37406 * math/w_fmod.c: Likewise.
37407 * math/w_fmodf.c: Likewise.
37408 * math/w_fmodl.c: Likewise.
37409 * math/w_hypot.c: Likewise.
37410 * math/w_hypotf.c: Likewise.
37411 * math/w_hypotl.c: Likewise.
37412 * math/w_j0.c: Likewise.
37413 * math/w_j0f.c: Likewise.
37414 * math/w_j0l.c: Likewise.
37415 * math/w_j1.c: Likewise.
37416 * math/w_j1f.c: Likewise.
37417 * math/w_j1l.c: Likewise.
37418 * math/w_jn.c: Likewise.
37419 * math/w_jnf.c: Likewise.
37420 * math/w_jnl.c: Likewise.
37421 * math/w_lgamma.c: Likewise.
37422 * math/w_lgamma_r.c: Likewise.
37423 * math/w_lgammaf.c: Likewise.
37424 * math/w_lgammaf_r.c: Likewise.
37425 * math/w_lgammal.c: Likewise.
37426 * math/w_lgammal_r.c: Likewise.
37427 * math/w_log.c: Likewise.
37428 * math/w_log10.c: Likewise.
37429 * math/w_log10f.c: Likewise.
37430 * math/w_log10l.c: Likewise.
37431 * math/w_log2.c: Likewise.
37432 * math/w_log2f.c: Likewise.
37433 * math/w_log2l.c: Likewise.
37434 * math/w_logf.c: Likewise.
37435 * math/w_logl.c: Likewise.
37436 * math/w_pow.c: Likewise.
37437 * math/w_powf.c: Likewise.
37438 * math/w_powl.c: Likewise.
37439 * math/w_remainder.c: Likewise.
37440 * math/w_remainderf.c: Likewise.
37441 * math/w_remainderl.c: Likewise.
37442 * math/w_scalb.c: Likewise.
37443 * math/w_scalbf.c: Likewise.
37444 * math/w_scalbl.c: Likewise.
37445 * math/w_sinh.c: Likewise.
37446 * math/w_sinhf.c: Likewise.
37447 * math/w_sinhl.c: Likewise.
37448 * math/w_sqrt.c: Likewise.
37449 * math/w_sqrtf.c: Likewise.
37450 * math/w_sqrtl.c: Likewise.
37451 * math/w_tgamma.c: Likewise.
37452 * math/w_tgammaf.c: Likewise.
37453 * math/w_tgammal.c: Likewise.
37455 * po/ja.po: Update from translation team.
37457 2011-09-29 Andreas Jaeger <aj@suse.de>
37460 * sunrpc/netname.c (netname2host): Fix logic.
37464 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37466 * math/w_remainder.c (__remainder): Likewise.
37467 * math/w_remainderf.c (__remainderf): Likewise.
37468 * math/libm-test.inc (remainder_test): Add test cases.
37470 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37472 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
37475 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37477 * string/test-memcmp.c: Avoid unncessary #defines.
37478 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37480 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37482 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37483 Use new sse2 version for core i3 - i7 as it's faster
37484 than sse42 version.
37485 (bit_Prefer_PMINUB_for_stringop): New.
37486 * sysdeps/x86_64/rawmemchr.S: Update.
37487 Replace with faster SSE2 version.
37488 * sysdeps/x86_64/memrchr.S: New file.
37489 * sysdeps/x86_64/memchr.S: Update.
37490 Replace with faster SSE2 version.
37492 2011-09-12 Marek Polacek <mpolacek@redhat.com>
37494 * elf/dl-load.c (lose): Add cast to avoid warning.
37496 2011-10-07 Ulrich Drepper <drepper@gmail.com>
37498 * po/ca.po: Update from translation team.
37500 * inet/getnetgrent_r.c: Hook up nscd.
37501 * nscd/Makefile (routines): Add nscd_netgroup.
37502 (nscd-modules): Add netgroupcache.
37503 (CFLAGS-netgroupcache.c): Define.
37504 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37505 (cache_search): Add const to second parameter.
37506 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37508 (dbs): Add netgrdb entry.
37509 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37510 (verify_persistent_db): Handle netgrdb.
37511 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37512 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37514 (netgroup_response_header): Define.
37515 (innetgroup_response_header): Define.
37516 (datahead): Add netgroup_response_header and innetgroup_response_header
37518 * nscd/nscd.conf: Add entries for netgroup cache.
37519 * nscd/nscd.h (dbtype): Add netgrdb.
37520 (_PATH_NSCD_NETGROUP_DB): Define.
37521 (netgroup_iov_disabled): Declare.
37522 (xmalloc, xcalloc, xrealloc): Move declarations here.
37523 (cache_search): Adjust prototype.
37524 Add netgroup-related prototypes.
37525 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37526 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37527 (__nscd_innetgr): Declare.
37528 * nscd/selinux.c (perms): Use access_vector_t as element type and
37529 add netgroup-related initializers.
37530 * nscd/netgroupcache.c: New file.
37531 * nscd/nscd_netgroup.c: New file.
37532 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37533 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37534 For four parameters use innetgr.
37535 * nss/nss_files/files-init.c: Add definition and callback for netgr.
37536 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37537 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37538 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37540 * nscd/connections.c (register_traced_file): Don't register file
37541 for disabled databases.
37543 2011-10-06 Ulrich Drepper <drepper@gmail.com>
37545 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37547 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37548 from tree and freeing node.
37550 2011-09-25 Jiri Olsa <jolsa@redhat.com>
37552 * nss/nsswitch.c (__nss_database_lookup): Handle
37553 nss_parse_service_list out of memory case.
37555 2011-09-15 Jiri Olsa <jolsa@redhat.com>
37557 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37558 out of memory case.
37560 2011-10-04 Andreas Schwab <schwab@redhat.com>
37562 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37563 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37565 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37566 elf_machine_rela, elf_machine_lazy_rel.
37567 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37568 (ELF_DYNAMIC_DO_REL): Likewise.
37569 (ELF_DYNAMIC_DO_RELA): Likewise.
37570 (ELF_DYNAMIC_RELOCATE): Likewise.
37571 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37572 to ELF_DYNAMIC_DO_REL.
37573 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37574 (dl_main): In trace mode always set __RTLD_NOIFUNC.
37575 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37577 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37578 skip_ifunc, don't call ifunc function if non-zero.
37579 (elf_machine_rela): Likewise.
37580 (elf_machine_lazy_rel): Likewise.
37581 (elf_machine_lazy_rela): Likewise.
37582 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37583 (elf_machine_lazy_rel): Likewise.
37584 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37586 (elf_machine_lazy_rel): Likewise.
37587 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37589 (elf_machine_lazy_rel): Likewise.
37590 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37591 (elf_machine_lazy_rel): Likewise.
37592 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37593 (elf_machine_lazy_rel): Likewise.
37594 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37595 (elf_machine_lazy_rel): Likewise.
37596 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37597 (elf_machine_lazy_rel): Likewise.
37598 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37599 (elf_machine_lazy_rel): Likewise.
37600 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37601 (elf_machine_lazy_rel): Likewise.
37603 2011-09-28 Ulrich Drepper <drepper@gmail.com>
37605 * nss/nss_files/files-init.c (_nss_files_init): Use static
37606 initialization for all the *_traced_file variables.
37608 2011-09-28 Andreas Schwab <schwab@redhat.com>
37610 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37612 2011-09-27 Roland McGrath <roland@hack.frob.com>
37615 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37617 2011-09-27 Andreas Schwab <schwab@redhat.com>
37619 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37620 Reread the line before reparsing it.
37622 2011-09-26 Andreas Schwab <schwab@redhat.com>
37624 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37626 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
37627 Maxim Kuvyrkov <maxim@codesourcery.com>
37628 Joseph Myers <joseph@codesourcery.com>
37630 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37631 if needed for __stack_chk_guard.
37633 2011-09-19 Roland McGrath <roland@hack.frob.com>
37635 * sysdeps/posix/spawni.c (script_execute): Always define it.
37636 It will be optimized away if unused.
37637 (maybe_script_execute): New function.
37638 (__spawni): Call it.
37640 * Makerules: Don't include tls.make.
37641 (config-tls): Always set to thread.
37642 * tls.make.c: File removed.
37644 2011-09-19 Mike Frysinger <vapier@gentoo.org>
37646 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37647 * config.make.in (CPPFLAGS-config): New substituted variable.
37649 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37651 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37654 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37655 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37657 2011-09-15 Roland McGrath <roland@hack.frob.com>
37659 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37660 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37661 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37662 (CALL_FAIL): Likewise.
37663 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37664 (CALL_FAIL): Macro removed.
37665 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37667 2011-09-15 Ulrich Drepper <drepper@gmail.com>
37669 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37670 for __FINITE_MATH_ONLY__ == 1.
37672 2011-09-15 Andreas Schwab <schwab@redhat.com>
37674 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37675 __ieee754_sqrt instead of sqrt.
37676 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37677 __ieee754_sqrtf instead of sqrtf.
37678 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37679 __floorf instead of floorf.
37680 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37681 __floorf, __truncf instead of floorf, truncf.
37683 2011-09-14 Ulrich Drepper <drepper@gmail.com>
37685 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37687 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37688 __extern_always_inline.
37689 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37692 2011-09-14 Andreas Schwab <schwab@redhat.com>
37694 * elf/rtld.c (dl_main): Also relocate in dependency order when
37695 doing symbol dependency testing.
37697 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
37699 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37700 Always define `refsym'.
37702 2011-09-13 Andreas Schwab <schwab@redhat.com>
37704 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37705 (__FD_ELT): Renamed from __FDELT.
37706 * misc/bits/select2.h (__FD_ELT): Likewise.
37707 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37708 __FD_MASK instead of __FDELT, __FDMASK.
37709 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37711 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37714 * elf/Makefile (gen-ldd): Fix pattern.
37716 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37717 (init_tls): Likewise.
37719 2011-09-12 Ulrich Drepper <drepper@gmail.com>
37721 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37723 2011-09-12 Andreas Schwab <schwab@redhat.com>
37725 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37726 `struct cmsghdr *' instead of `void *'.
37727 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37730 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
37732 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37734 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37735 ldd_rewrite_script.
37737 2011-09-11 Ulrich Drepper <drepper@gmail.com>
37739 * configure.in: Remove --with-tls option.
37740 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37741 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37742 out in case it is missing.
37743 * sysdeps/ia64/elf/configure.in: Likewise.
37744 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37745 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37746 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37747 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37748 * sysdeps/sh/elf/configure.in: Likewise.
37749 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37750 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37751 * sysdeps/x86_64/elf/configure.in: Likewise.
37752 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37753 * sysdeps/mach/hurd/tls.h: Likewise.
37756 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37759 * configure.in: Fix use of AC_INIT.
37761 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37763 2011-09-10 Ulrich Drepper <drepper@gmail.com>
37765 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37767 * malloc/hooks.c: Likewise.
37770 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
37771 variables statically.
37772 (narenas): Initialize.
37773 (list_lock): Initialize.
37774 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
37775 initializtion of main_arena and list_lock. Small cleanups.
37776 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37777 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
37778 Add initializers to main_arena and mp_.
37779 (malloc_state): Remove pagesize member. Change all users to use
37782 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37783 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
37784 is always initialized.
37786 * malloc/malloc.c: Removed unused configurations and dead code.
37787 * malloc/arena.c: Likewise.
37788 * malloc/hooks.c: Likewise.
37789 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
37791 * include/tls.h: Removed. USE___THREAD must always be defined.
37792 * bits/libc-tsd.h: Don't handle !USE___THREAD.
37793 * elf/dl-libc.c: Likewise.
37794 * elf/dl-tsd.c: Likewise.
37795 * include/errno.h: Likewise.
37796 * include/netdb.h: Likewise.
37797 * include/resolv.h: Likewise.
37798 * inet/herrno-loc.c: Likewise.
37799 * inet/herrno.c: Likewise.
37800 * malloc/arena.c: Likewise.
37801 * malloc/hooks.c: Likewise.
37802 * malloc/malloc.c: Likewise.
37803 * resolv/res-state.c: Likewise.
37804 * resolv/res_libc.c: Likewise.
37805 * sysdeps/i386/dl-machine.h: Likewise.
37806 * sysdeps/ia64/dl-machine.h: Likewise.
37807 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37808 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37809 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37810 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37811 * sysdeps/sh/dl-machine.h: Likewise.
37812 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37813 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37814 * sysdeps/unix/i386/sysdep.S: Likewise.
37815 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37816 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37817 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37818 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37819 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37820 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37821 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37822 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37825 * sysdeps/unix/x86_64/sysdep.S: Likewise.
37826 * sysdeps/x86_64/dl-machine.h: Likewise.
37827 * tls.make.c: Likewise.
37829 * configure.in: Remove --with-__thread option. Make tests for
37830 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37831 tls_model attribute fail if no support is available. Remove
37833 * Makeconfig: Adjust for dropped configure option. All features are
37835 * Makerules: Likewise.
37836 * Versions.def: Likewise.
37837 * argp/argp-fmtstream.c: Likewise.
37838 * argp/argp-fmtstream.h: Likewise.
37839 * argp/argp-help.c: Likewise.
37840 * assert/assert.c: Likewise.
37841 * config.h.in: Likewise.
37842 * config.make.in: Likewise.
37843 * configure: Likewise.
37844 * configure.in: Likewise.
37845 * csu/Versions: Likewise.
37846 * csu/init.c: Likewise.
37847 * elf/tst-audit2.c: Likewise.
37848 * elf/tst-tls10.c: Likewise.
37849 * elf/tst-tls10.h: Likewise.
37850 * elf/tst-tls11.c: Likewise.
37851 * elf/tst-tls12.c: Likewise.
37852 * elf/tst-tls14.c: Likewise.
37853 * elf/tst-tlsmod11.c: Likewise.
37854 * elf/tst-tlsmod12.c: Likewise.
37855 * elf/tst-tlsmod13.c: Likewise.
37856 * elf/tst-tlsmod13a.c: Likewise.
37857 * elf/tst-tlsmod14a.c: Likewise.
37858 * elf/tst-tlsmod15b.c: Likewise.
37859 * elf/tst-tlsmod16a.c: Likewise.
37860 * elf/tst-tlsmod16b.c: Likewise.
37861 * elf/tst-tlsmod7.c: Likewise.
37862 * elf/tst-tlsmod8.c: Likewise.
37863 * elf/tst-tlsmod9.c: Likewise.
37864 * gmon/gmon.c: Likewise.
37865 * grp/fgetgrent_r.c: Likewise.
37866 * grp/putgrent.c: Likewise.
37867 * hurd/fopenport.c: Likewise.
37868 * include/libc-symbols.h: Likewise.
37869 * include/tls.h: Likewise.
37870 * intl/gettextP.h: Likewise.
37871 * intl/loadinfo.h: Likewise.
37872 * locale/global-locale.c: Likewise.
37873 * locale/localeinfo.h: Likewise.
37874 * mach/devstream.c: Likewise.
37875 * malloc/arena.c: Likewise.
37876 * malloc/set-freeres.c: Likewise.
37877 * misc/err.c: Likewise.
37878 * misc/getttyent.c: Likewise.
37879 * misc/mntent_r.c: Likewise.
37880 * posix/getopt.c: Likewise.
37881 * posix/wordexp.c: Likewise.
37882 * pwd/fgetpwent_r.c: Likewise.
37883 * resolv/Versions: Likewise.
37884 * resolv/res_hconf.c: Likewise.
37885 * shadow/fgetspent_r.c: Likewise.
37886 * shadow/putspent.c: Likewise.
37887 * stdio-common/printf_fphex.c: Likewise.
37888 * stdio-common/tmpfile.c: Likewise.
37889 * stdlib/abort.c: Likewise.
37890 * stdlib/fmtmsg.c: Likewise.
37891 * sunrpc/auth_unix.c: Likewise.
37892 * sunrpc/clnt_perr.c: Likewise.
37893 * sunrpc/clnt_tcp.c: Likewise.
37894 * sunrpc/clnt_udp.c: Likewise.
37895 * sunrpc/clnt_unix.c: Likewise.
37896 * sunrpc/openchild.c: Likewise.
37897 * sunrpc/svc_simple.c: Likewise.
37898 * sunrpc/svc_tcp.c: Likewise.
37899 * sunrpc/svc_udp.c: Likewise.
37900 * sunrpc/svc_unix.c: Likewise.
37901 * sunrpc/xdr.c: Likewise.
37902 * sunrpc/xdr_array.c: Likewise.
37903 * sunrpc/xdr_rec.c: Likewise.
37904 * sunrpc/xdr_ref.c: Likewise.
37905 * sunrpc/xdr_stdio.c: Likewise.
37907 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37909 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37911 2011-07-03 Andreas Jaeger <aj@suse.de>
37913 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37914 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37915 regenerate with gen-libm-tests.pl.
37917 2010-05-12 Petr Baudis <pasky@suse.cz>
37920 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37921 around j0() zero points by switching to j1().
37922 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37923 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37925 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37927 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37929 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37931 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37933 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37934 Patch in part by Pavel Roskin <proski@gnu.org>.
37937 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37939 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
37940 Free memory block if necessary.
37943 * libio/genops.c (INTDEF): For string streams the _lock pointer can
37944 be NULL. Don't lock in this case.
37946 2011-09-09 Roland McGrath <roland@hack.frob.com>
37948 * elf/elf.h (ELFOSABI_GNU): New macro.
37949 (ELFOSABI_LINUX): Define to that.
37951 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
37953 * string/strncat.c (strncat): Undef the symbol in case it has been
37954 defined in bits/string.h.
37956 2011-09-09 Ulrich Drepper <drepper@gmail.com>
37958 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37960 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37963 2011-08-17 Andreas Jaeger <aj@suse.de>
37965 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37967 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
37968 Ian Lance Taylor <iant@google.com>
37970 * math/libm-test.inc (lround_test): New testcase.
37971 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37973 2011-09-08 Ulrich Drepper <drepper@gmail.com>
37975 * Makefile: Remove support for automatic cvs check-ins.
37976 * Makerules: Likewise.
37977 * config.make.in: Likewise.
37978 * configure.in: Likewise.
37979 * intl/Makefile: Likewise.
37980 * locale/Makefile: Likewise.
37981 * po/Makefile: Likewise.
37982 * posix/Makefile: Likewise.
37983 * sysdeps/gnu/Makefile: Likewise.
37984 * sysdeps/mach/hurd/Makefile: Likewise.
37985 * sysdeps/sparc/sparc32/Makefile: Likewise.
37988 * posix/Makefile (bug-regex32-ENV): Define.
37989 Patch by John Stanley <jpsinthemix@verizon.net>.
37991 * misc/Makefile (headers): Add bits/select2.h.
37992 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37993 * misc/bits/select2.h: New file.
37994 * include/bits/select2.h: New file.
37995 * debug/Makefile (routines): Add fdelt_chk.
37996 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37997 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37999 * debug/fdelt_chk.c: New file.
38001 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38002 * wcsmbs/test-wmemcmp.c: Likewise.
38003 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38004 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38006 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38008 * string/Makefile (strop-tests): Add memcmp.
38009 * string/test-wmemcmp.c: New file.
38010 * string/test-memcmp.c: Add wmemcmp support.
38012 2011-09-08 Roland McGrath <roland@hack.frob.com>
38015 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38018 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38019 garbage value in a __mach_port_mod_refs call in the cases of the
38020 task-self and thread-self ports.
38022 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38024 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38026 2011-09-08 Andreas Schwab <schwab@redhat.com>
38028 * elf/dl-load.c (lose): Check for non-null L.
38030 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38032 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38034 * elf/dl-libc.c (dlerror_run): Pass back error code from
38038 * elf/dl-load.c (lose): Free l_origin if it is valid.
38040 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38042 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38045 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38046 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38047 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38049 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38051 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38052 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38053 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38054 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38055 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38056 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38057 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38058 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38059 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38060 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38062 2011-08-15 Alan Modra <amodra@gmail.com>
38065 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38066 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38067 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38068 ppc_mcount to static-only-routines.
38069 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38071 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38072 __mcount_internal with usual JUMPTARGET. Remove useless nop.
38074 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
38076 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
38077 for finite and infinity parameters.
38079 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
38081 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
38082 and add nop instructions for throughput optimization.
38083 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38085 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
38087 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
38088 aligned copy for power7 with vector-scalar instructions.
38089 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
38091 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
38093 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
38096 2011-09-07 Andreas Schwab <schwab@redhat.com>
38099 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
38102 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38104 * sysdeps/unix/sysv/linux/x86_64/init-first.c
38105 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
38106 syscall wrapper around clock_gettime in __vdso_clock_gettime.
38107 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
38110 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38112 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
38113 Forgot to demangle the pointer.
38115 * sysdeps/i386/sysdep.h: Define atom_text_section.
38116 * sysdeps/x86_64/sysdep.h: Likewise.
38117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
38118 section with atom_text_section.
38119 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38120 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38121 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
38122 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38123 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
38125 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
38126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
38127 already be defined. Change to take two parameters and don't assign
38128 result to variable. Adjust all users.
38129 Define INTERNAL_GETTIME if not already defined.
38130 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
38132 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
38133 HAVE_CLOCK_GETTIME_VSYSCALL.
38134 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
38136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
38137 gettimeofday vsyscall, just use time.
38139 2011-09-06 Andreas Schwab <schwab@redhat.com>
38141 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
38144 2011-09-06 Ulrich Drepper <drepper@gmail.com>
38146 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
38148 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
38150 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
38151 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
38152 syscall if possible.
38154 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38156 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
38157 e_ident. Don't pass to find_mapsXX.
38158 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
38160 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38162 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38163 strchr-sse2-no-bsf strrchr-sse2-no-bsf
38164 * sysdeps/x86_64/multiarch/strchr.S: Update.
38165 Check bit_slow_BSF bit.
38166 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38167 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
38168 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
38170 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38173 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
38175 (tryshell): Define.
38176 (__spawni): Change last parameter to be flag. Test
38177 SPAWN_XFLAGS_USE_PATH flag to use path or not.
38178 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
38179 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
38180 * posix/spawni.c: Likewise.
38181 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
38182 * posix/spawnp.c: Likewise. Change normal version to use
38183 SPAWN_XFLAGS_USE_PATH.
38184 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
38185 SPAWN_XFLAGS_TRY_SHELL.
38188 * posix/glob.h: Remove gcc 1.x support.
38191 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38193 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38195 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38196 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38198 * sysdeps/i386/i686/multiarch/strchr.S: New file.
38199 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38200 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38201 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38202 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38203 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38205 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38207 * sysdeps/x86_64/wcscmp.S: New file.
38209 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38210 wcscmp-c wcscmp-sse2
38211 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38212 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38213 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38214 * wcsmbs/wcscmp.c: Allow renaming.
38216 2011-09-05 David S. Miller <davem@davemloft.net>
38218 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38219 stack slot, rather than the struct return pointer slot.
38220 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38221 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38223 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38225 2011-09-05 Ulrich Drepper <drepper@gmail.com>
38227 * po/ja.po: Update from translation team.
38230 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38231 kernel in 64-bit binaries.
38233 2011-09-01 David S. Miller <davem@davemloft.net>
38235 * elf/elf.h (HWCAP_SPARC_*): Move to..
38236 * sysdeps/sparc/sysdep.h: this new file and add new values.
38237 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38238 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38239 _DL_HWCAP_COUNT to 24.
38240 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38242 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38243 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38244 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38246 instead of magic constants.
38247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38249 2011-08-31 David S. Miller <davem@davemloft.net>
38251 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38253 Reimplement to do errno handling inline.
38254 (SYSCALL_ERROR_HANDLER): New macro.
38255 (__SYSCALL_STRING): Do not do errno handling in asm.
38256 (__CLONE_SYSCALL_STRING): Delete.
38257 (__INTERNAL_SYSCALL_STRING): Delete.
38258 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38259 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38260 (PSEUDO): Reimplement to do errno handling inline.
38261 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38262 (SYSCALL_ERROR_HANDLER): New macro.
38263 (__SYSCALL_STRING): Do not do errno handling in asm.
38264 (__CLONE_SYSCALL_STRING): Delete.
38265 (__INTERNAL_SYSCALL_STRING): Delete.
38266 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38267 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38269 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38270 (inline_syscall*): Add 'err' argument.
38271 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38272 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38273 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38274 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38276 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38277 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38279 2011-08-30 Andreas Schwab <schwab@redhat.com>
38281 * elf/rtld.c (dl_main): Relocate objects in dependency order.
38283 2011-08-29 Jiri Olsa <jolsa@redhat.com>
38285 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38288 2011-08-24 David S. Miller <davem@davemloft.net>
38290 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38292 2011-08-24 Andreas Schwab <schwab@redhat.com>
38294 * elf/Makefile: Add rules to build and run unload8 test.
38295 * elf/unload8.c: New file.
38296 * elf/unload8mod1.c: New file.
38297 * elf/unload8mod1x.c: New file.
38298 * elf/unload8mod2.c: New file.
38299 * elf/unload8mod3.c: New file.
38301 * elf/dl-close.c (_dl_close_worker): Reset private search list if
38304 2011-08-23 David S. Miller <davem@davemloft.net>
38306 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38307 subtract stack bias.
38308 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38309 %sp not %fp in calculations.
38310 (_JMPBUF_UNWINDS_ADJ): Likewise.
38312 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38313 (aio_suspend): Call it to force an exception region around the
38314 AIO_MISC_WAIT() invocation.
38316 2011-08-23 Andreas Schwab <schwab@redhat.com>
38318 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38321 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
38323 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38325 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38326 and <dl-machine.h>.
38327 (Elf64_FuncDesc): Remove.
38329 2011-08-22 David S. Miller <davem@davemloft.net>
38331 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38332 sigaltstack check, add missing cfi directives.
38333 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38334 missing cfi directives, and sigaltstack handling.
38336 2011-08-16 Andreas Schwab <schwab@redhat.com>
38339 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38340 object is seen twice.
38341 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38343 * elf/Makefile (distribute): Add tst-initorder2.c.
38344 (tests): Add tst-initorder2.
38345 (modules-names): Add tst-initorder2a tst-initorder2b
38346 tst-initorder2c tst-initorder2d. Add rules to build them.
38347 ($(objpfx)tst-initorder2.out): New rule.
38348 * elf/tst-initorder2.c: New file.
38349 * elf/tst-initorder2.exp: New file.
38351 2011-08-22 Andreas Schwab <schwab@redhat.com>
38353 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38355 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38356 dependencies back to end of function.
38358 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38359 $(elfobjdir)/ld.so.
38361 2011-08-21 Ulrich Drepper <drepper@gmail.com>
38363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38364 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38365 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38366 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38367 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38368 of __vdso_gettimeofday.
38369 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38370 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
38372 (_libc_vdso_platform_setup): Remove initialization of
38373 __vdso_gettimeofday and __vdso_time.
38375 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38377 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38378 and fgetc_unlocked.
38379 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38382 * elf/dl-open.c (add_to_global): Report additions to the global scope
38383 for LD_DEBUG=scopes.
38384 (dl_open_worker): Also print scope of newly loaded dependencies.
38385 (_dl_show_scope): Indicate if there is no scope.
38388 * stdio-common/Makefile (tests): Add bug24.
38389 * stdio-common/bug24.c: New file.
38391 2011-08-19 Andreas Jaeger <aj@suse.de>
38394 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38395 non-existant file when using close-on-exec mode.
38397 2011-08-20 Ulrich Drepper <drepper@gmail.com>
38399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38400 the very first instruction.
38402 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38403 the CFI state in the end.
38404 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38405 inclusion of dl-trampoline.h.
38406 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38408 2011-08-19 Andreas Schwab <schwab@redhat.com>
38410 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38411 expectations for long double.
38413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38414 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38416 2011-08-14 David S. Miller <davem@davemloft.net>
38418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38419 artificual limit depends upon the system page size.
38421 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38423 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38424 * resolv/Makefile: Define CFLAGS-libresolv.
38426 2011-08-17 Andreas Schwab <schwab@redhat.com>
38428 * nss/makedb.c (compute_tables): Make variables used in nested
38431 2011-08-17 Ulrich Drepper <drepper@gmail.com>
38433 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38434 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38435 if buffer was too small.
38437 * elf/pldd.c (main): Attach to all threads in the process.
38438 Rewrite /proc handling to use *at functions.
38440 2011-08-16 Ulrich Drepper <drepper@gmail.com>
38442 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38443 specifies first scope to show.
38444 (dl_open_worker): Update callers. Move printing scope of new
38445 object to before the relocation.
38446 * elf/rtld.c (dl_main): Update _dl_show_scope call.
38447 * sysdeps/generic/ldsodefs.h: Update declaration.
38449 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38450 string for the scope number.
38452 2011-08-14 Ulrich Drepper <drepper@gmail.com>
38454 * nscd/servicescache.c (cache_addserv): Make sure written is always
38457 2011-08-14 Roland McGrath <roland@hack.frob.com>
38459 * sysdeps/i386/i486/bits/atomic.h
38460 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38461 statement expression, so as to suppress "set but not used" warning.
38462 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38464 * string/strncat.c (STRNCAT): Use prototype definition.
38466 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38467 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38469 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38470 (localedef-modules): Add localedef.
38471 (locale-modules): Add locale.
38473 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38474 * elf/rtld.c (dl_main): Invert order of assignment in last change,
38475 to avoid a warning.
38477 2011-08-14 David S. Miller <davem@davemloft.net>
38479 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38480 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38482 2011-08-13 Ulrich Drepper <drepper@gmail.com>
38484 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38485 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38486 * elf/rtld.c (dl_main): Set l_name of vDSO.
38487 Call _dl_show_scope when DL_DEBUG_SCOPES.
38488 (process_dl_debug): Recognize scopes flag and also set it for all.
38489 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38490 Declare _dl_show_scope.
38492 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38493 (do_dlopen): Pass caller_dlopen to dl_open.
38494 (__libc_dlopen_mode): Initialize caller_dlopen.
38496 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38497 of libc. Make tolower call locale-independent. Optimize a bit by
38498 using isdigit instead of isalnum.
38499 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38501 2011-08-12 Ulrich Drepper <drepper@gmail.com>
38503 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38504 was a dependency or dynamically loaded.
38506 2011-08-11 Ulrich Drepper <drepper@gmail.com>
38508 * intl/l10nflist.c: Allow architecture-specific pop function.
38509 * sysdeps/x86_64/l10nflist.c: New file.
38511 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38514 2011-08-10 Andreas Schwab <schwab@redhat.com>
38516 * include/dirent.h: Add libc_hidden_proto for scandirat and
38517 scandirat64. Don't declare __scandirat64.
38518 * dirent/scandirat.c: Add libc_hidden_def.
38519 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38520 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38522 2011-08-10 David S. Miller <davem@davemloft.net>
38524 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38526 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38527 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38528 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38530 2011-08-09 Ulrich Drepper <drepper@gmail.com>
38532 * Versions.def [libc]: Add GLIBC_2.15.
38533 * dirent/Makefile (routines): Add scandirat and scandirat64.
38534 * dirent/Versions [libc]: Export scandirat and scandirat64 for
38536 * dirent/dirent.h: Declare scandirat and scandirat64.
38537 * dirent/scandirat.c: New file.
38538 * dirent/scandirat64.c: New file.
38539 * sysdeps/wordsize-64/scandirat.c: New file.
38540 * sysdeps/wordsize-64/scandirat64.c: New file.
38541 * dirent/opendir.c: Define opendirat.
38542 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
38544 * dirent/scandir64.c: Adjust for scandir.c change.
38545 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
38546 __scandirat64, and __scandir_cancel_handler.
38547 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
38548 additional parameter and use openat instead of open (outside of ld.so).
38549 Add new __opendir as wrapper around __opendirat.
38550 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38551 here without requiring old scandirat implementation.
38553 2011-08-08 Ulrich Drepper <drepper@gmail.com>
38555 * dirent/scandir.c (cancel_handler): Renamed to
38556 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
38557 defined. Adjust users.
38558 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38559 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38561 2011-08-04 Ulrich Drepper <drepper@gmail.com>
38563 * string/test-string.h (IMPL): Use __STRING to expand name and then
38566 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
38569 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38571 * string/Makefile: Update.
38572 (strop-tests): Append strncat.
38573 * string/test-wcscmp.c: New file.
38574 New comprehensive test for wcscmp.
38575 * string/test-strcmp.c: Update.
38576 (WIDE): New define.
38578 2011-07-22 Andreas Schwab <schwab@redhat.com>
38580 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38583 2011-07-26 Andreas Schwab <schwab@redhat.com>
38585 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38586 encoding to ACE if AI_IDN.
38588 2011-08-01 Jakub Jelinek <jakub@redhat.com>
38590 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38591 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38593 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38595 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38596 Fix overflow bug in strncat.
38597 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38599 * string/test-strncat.c: Update.
38600 Add new tests for checking overflow bugs.
38602 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38605 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38606 * sysdeps/i386/i686/multiarch/strcat.S: New file.
38607 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38608 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38609 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38610 * sysdeps/i386/i686/multiarch/strncat.S: New file.
38611 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38612 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38614 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38615 (USE_AS_STRCAT): Define.
38616 Add strcat and strncat support.
38617 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38619 2011-07-25 Andreas Schwab <schwab@redhat.com>
38621 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38622 __n bigger than INT_MAX+1.
38623 (__strncmp_g): Likewise.
38625 2011-07-23 Ulrich Drepper <drepper@gmail.com>
38627 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38628 * libio/stido.h: Likewise.
38630 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38632 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38635 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38638 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38639 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38642 * scripts/test-installation.pl: Don't expect libnss_test1 to be
38645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38647 (_dl_x86_64_save_sse): Likewise.
38649 2011-07-22 Ulrich Drepper <drepper@gmail.com>
38651 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38653 (_dl_x86_64_save_sse): Likewise.
38655 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38657 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38659 2011-07-21 Andreas Schwab <schwab@redhat.com>
38661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38663 (_dl_x86_64_save_sse): Use correct AVX check.
38665 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38667 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38668 bug in strncpy/strncat.
38669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38671 2011-07-21 Ulrich Drepper <drepper@gmail.com>
38673 * string/tester.c (test_strcat): Add tests for different alignments
38674 of source and destination.
38675 (test_strncat): Likewise.
38677 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38680 * posix/glob.c (glob): Check passed in values before using them in
38681 expressions to avoid some overflows.
38682 (glob_in_dir): Likewise.
38685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38686 check for AVX enablement so that we don't crash with old kernels and
38688 * elf/tst-audit4.c: Add same checks here.
38689 * elf/tst-audit6.c: Likewise.
38691 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38693 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
38695 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38697 2011-07-20 Ulrich Drepper <drepper@gmail.com>
38699 * po/cs.po: Update from translation team.
38700 * po/bg.po: Likewise.
38702 2011-07-12 Marek Polacek <mpolacek@redhat.com>
38704 * misc/sys/cdefs.h: Add support for const attribute.
38705 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38706 to gnu_dev_{major,minor,makedev} functions.
38708 2011-07-20 Marek Polacek <mpolacek@redhat.com>
38710 * intl/dcigettext.c (get_output_charset): Add missing bracket.
38712 2011-07-20 Andreas Schwab <schwab@redhat.com>
38714 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38717 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38719 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38720 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38721 register in order to avoid conflicts with the soft frame pointer
38722 being held in r11 when necessary.
38723 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38724 (INTERNAL_VSYSCALL_NCS): Likewise.
38726 2011-07-14 Marek Polacek <mpolacek@redhat.com>
38728 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38729 * elf/dl-fini.c (_dl_fini): Adjust caller.
38730 * elf/dl-close.c (_dl_close_worker): Likewise.
38731 * sysdeps/generic/ldsodefs.h: Adjust declaration.
38733 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38735 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38736 "aux_cache->nlibs < 0".
38738 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38739 in the reload-count case.
38741 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
38743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38744 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38745 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38746 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38747 * sysdeps/x86_64/multiarch/strcat.S: New file.
38748 * sysdeps/x86_64/multiarch/strncat.S: New file.
38749 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38750 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38751 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38752 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38754 (USE_AS_STRCAT): Define.
38755 Add strcat and strncat support.
38756 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38757 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38758 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38759 * string/strncat.c: Update.
38760 (USE_AS_STRNCAT): Define.
38761 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38762 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38764 * sysdeps/x86_64/multiarch/init-arch.h
38765 (bit_Prefer_PMINUB_for_stringop): New.
38766 (index_Prefer_PMINUB_for_stringop): Likewise.
38767 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38768 bit_Prefer_PMINUB_for_stringop.
38770 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38772 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38774 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38775 of casting of buffer.
38776 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38777 buffer32 and buffer64.
38778 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38779 writes instead of casting of buffer.
38780 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38782 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38785 2011-07-19 Andreas Schwab <schwab@redhat.com>
38787 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38789 2011-07-19 Ulrich Drepper <drepper@gmail.com>
38791 * nscd/nscd.c (termination_handler): Don't do anything for a database
38792 if it has not yet been initialized.
38794 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38796 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38798 2011-07-15 Marek Polacek <mpolacek@redhat.com>
38800 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38802 2011-07-18 Ulrich Drepper <drepper@gmail.com>
38804 * po/nl.po: Update from translation team.
38805 * po/sv.po: Likewise.
38807 2011-07-16 Roland McGrath <roland@hack.frob.com>
38809 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38810 now disallowed by GCC.
38812 * configure.in (use-default-link): Default to yes if a test -shared
38813 link meets our qualifications.
38814 * configure: Regenerated.
38816 * config.make.in (output-format): New variable.
38817 * configure.in: Check for ld --print-output-format support.
38818 * configure: Regenerated.
38819 * Makerules ($(common-objpfx)format.lds)
38820 [$(output-format) != unknown]: Just use $(output-format),
38821 instead of the linker-script munging.
38823 2011-07-14 Roland McGrath <roland@hack.frob.com>
38825 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38826 of $(common-objpfx)shlib.lds.
38827 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38829 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38830 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38832 * configure.in (-z relro check): Adjust test code to add a large
38833 writable data section after it.
38834 * configure: Regenerated.
38836 2011-07-11 Roland McGrath <roland@hack.frob.com>
38838 * configure.in (-z relro check): Fix test code to make the variable
38840 * configure: Regenerated.
38842 2011-07-11 Ulrich Drepper <drepper@gmail.com>
38844 * nscd/nscd.h (struct traced_file): Define.
38845 (struct database_dyn): Remove inotify_descr, reset_res, and filename
38846 elements. Add traced_files.
38847 (inotify_fd): Declare.
38848 (register_traced_file): Declare.
38849 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38850 (inotify_fd): Export.
38851 (resolv_conf_descr): Remove.
38852 (nscd_init): Move inotify descriptor creation to main.
38853 Don't register files for notification here.
38854 (register_traced_file): New function.
38855 (invalidate_cache): Don't use reset_res to determine whether to call
38856 res_init, go through the list of registered files.
38857 (main_loop_poll): The inotify descriptors are now stored in the
38858 structures for the traced files.
38859 (main_loop_epoll): Likewise
38860 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
38861 to __nss_disable_nscd.
38862 * nscd/cache.c (prune_cache): There is no single inotify descriptor
38863 for a database anymore. Check the records for all the registered
38865 * nss/Makefile (libnss_files-routines): Add files-init.
38866 (libnss_db-routines): Add db-init.
38867 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38868 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38869 * nss/nss_db/db-init.c: New file.
38870 * nss/nss_files/files-init.c: New file.
38871 * nss/nsswitch.c (nss_load_library): New function. Broken out of
38872 __nss_lookup_function.
38873 (__nss_lookup_function): Call nss_load_library.
38874 (nss_load_all_libraries): New function.
38875 (__nss_disable_nscd): Take parameter with callback function for files
38876 to register. Set is_nscd. Load all the DSOs for the NSS modules
38877 used for the cached services.
38878 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38879 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38880 options for features to all the files in nscd.
38882 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38884 2011-07-10 Roland McGrath <roland@hack.frob.com>
38886 * csu/elf-init.c (__libc_csu_init): Comment typo.
38888 2011-07-09 Ulrich Drepper <drepper@gmail.com>
38890 * po/pl.po: Update from translation team.
38891 * po/ja.po: Likewise.
38892 * po/ru.po: Likewise.
38893 * po/ko.po: Likewise.
38894 * po/fr.po: Likewise.
38896 2011-07-09 Roland McGrath <roland@hack.frob.com>
38898 * configure.in (.ctors/.dtors header and trailer check):
38899 Use an empirical test on a built program.
38900 * configure: Regenerated.
38902 * configure.in (-z relro check): Use an empirical test on a built DSO.
38903 Detect, but do not require, on ia64.
38904 * configure: Regenerated.
38906 * configure.in (READELF): Find it with AC_CHECK_TOOL.
38907 Update tests that use readelf to use $READELF instead.
38908 * configure: Regenerated.
38910 2011-07-08 Ulrich Drepper <drepper@gmail.com>
38912 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38913 if the result is not used.
38915 2011-07-05 Andreas Jaeger <aj@suse.de>
38918 * stdlib/tst-strtod.c: Add testcase.
38920 2011-07-07 Ulrich Drepper <drepper@gmail.com>
38922 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38923 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38924 The latter has a higher limit. Take additional parameter to pass to
38926 (__pathconf): Pass file to __statfs_link_max.
38927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38929 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38933 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38934 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38936 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38937 (__statfs_filesize_max): Likewise.
38938 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38940 2011-07-05 Andreas Jaeger <aj@suse.de>
38942 * resolv/res_comp.c (dn_skipname): Remove unused variable.
38944 2011-07-06 Marek Polacek <mpolacek@redhat.com>
38946 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38948 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38951 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
38953 * Makefile (strop-tests): Add strncat.
38954 * string/test-strncat.c: New file.
38956 2011-06-30 Marek Polacek <mpolacek@redhat.com>
38958 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38960 2011-06-21 Andreas Jaeger <aj@suse.de>
38962 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38963 Copy rule from iconvdata/Makefile.
38965 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38968 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38969 but no long options are defined, just return 'W'.
38971 2011-06-22 Marek Polacek <mpolacek@redhat.com>
38974 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38976 2011-07-06 Ulrich Drepper <drepper@gmail.com>
38978 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38980 (innetgr): Likewise.
38982 2011-07-05 Roland McGrath <roland@hack.frob.com>
38984 * config.make.in (install_root): Default to $(DESTDIR).
38986 2011-07-05 Ulrich Drepper <drepper@gmail.com>
38988 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38990 2011-07-02 Roland McGrath <roland@hack.frob.com>
38992 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38994 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38995 containing directory rather than embedding absolute directory names.
38997 * scripts/check-local-headers.sh: Rewritten using awk.
38998 Match by word, not by line. Print error messages for matches.
38999 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39001 * Makerules [shlib-lds-flags empty]:
39002 ($(common-objpfx)libc_pic.opts): New target.
39003 ($(common-objpfx)libc_pic.os.clean): New target.
39004 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39006 * config.make.in (OBJCOPY): New variable.
39007 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39008 * configure: Regenerated.
39010 * config.make.in (use-default-link): New variable.
39011 * configure.in (use_default_link): Grok --with-default-link to set it.
39012 * configure: Regenerated.
39013 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39014 (shlib-lds, shlib-lds-flags): Define to empty.
39016 * Makerules (shlib-lds): New variable.
39017 (shlib-lds-flags): New variable.
39018 (build-shlib, build-moduile, build-module-asneeded): Use it.
39019 ($(common-objpfx)libc.so): Use $(shlib-lds).
39020 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39021 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39023 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39024 DT_FLAGS/DT_FLAGS_1 with zero flags.
39026 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39027 linker script munging.
39029 2011-07-02 Ulrich Drepper <drepper@gmail.com>
39031 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39033 * crypt/sha512.c (sha512_process_block): Perform total addition using
39034 128-bit if possible.
39035 (__sha512_finish_ctx): Likewise.
39036 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39038 * crypt/sha256.c (SWAP64): Define.
39039 (sha256_process_block): Perform total addition using 64-bit if
39041 (__sha256_finish_ctx): Likewise.
39043 2011-07-01 Ulrich Drepper <drepper@gmail.com>
39045 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39047 * nscd/hstcache.c (cache_addhst): Likewise.
39048 * nscd/grpcache.c (cache_addgr): Likewise.
39049 * nscd/aicache.c (addhstaiX): Likewise
39050 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39052 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
39054 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39056 * nscd/hstcache.c (cache_addhst): Likewise.
39057 * nscd/grpcache.c (cache_addgr): Likewise.
39058 * nscd/aicache.c (addhstaiX): Likewise
39060 2011-07-01 Andreas Schwab <schwab@redhat.com>
39062 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39063 domain only when needed.
39065 2011-06-30 Andreas Schwab <schwab@redhat.com>
39067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39068 is always restored.
39070 2011-06-29 Ulrich Drepper <drepper@gmail.com>
39072 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
39073 are re-adding the entry.
39074 * nscd/servicescache.c (cache_addserv): Likewise.
39076 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
39078 * sysdeps/generic/dl-irel.h: fix protection against multiple
39080 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
39082 2011-06-28 Ulrich Drepper <drepper@gmail.com>
39085 * malloc/memusage.sh: Fix quoting in message.
39086 * debug/xtrace.sh: Likewise.
39088 * configure.in: Remove support for --experimental-malloc option, make
39090 * config.make.in: Likewise.
39091 * malloc/Makefile: Likewise.
39093 2011-06-27 Andreas Schwab <schwab@redhat.com>
39095 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
39096 two-byte characters.
39098 2011-06-27 Roland McGrath <roland@hack.frob.com>
39100 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
39101 AC_CACHE_CHECK invocation.
39102 * configure: Regenerated.
39104 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
39106 2011-06-27 Ulrich Drepper <drepper@gmail.com>
39109 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
39110 bit from old_res_options.
39112 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
39114 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
39115 value type for setfct.
39117 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
39119 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39120 __gettimeofday instead of gettimeofday.
39122 2011-06-26 Ulrich Drepper <drepper@gmail.com>
39124 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
39126 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
39128 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
39130 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
39133 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39135 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39136 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39137 strcpy-sse2-unaligned strncpy-sse2-unaligned
39138 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
39139 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
39140 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
39141 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
39142 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
39143 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
39144 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
39145 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
39146 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
39147 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
39148 (STRCPY): Support SSE2 and SSSE3 versions.
39150 2011-06-24 Ulrich Drepper <drepper@gmail.com>
39153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
39154 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
39155 kernels which artificially limit size of requests.
39157 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
39159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39160 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
39161 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
39162 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
39163 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
39164 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
39165 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
39166 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
39167 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
39168 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
39169 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
39170 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
39171 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
39172 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
39173 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
39174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39175 Enable unaligned load optimization for Intel Core i3, i5 and i7
39177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
39179 (index_Fast_Unaligned_Load): Define.
39180 (HAS_FAST_UNALIGNED_LOAD): Define.
39182 2011-06-23 Marek Polacek <mpolacek@redhat.com>
39184 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
39186 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39189 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39190 until it is clear that the information is realy needed.
39191 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39193 2011-06-22 Andreas Schwab <schwab@redhat.com>
39195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39197 2011-06-22 Ulrich Drepper <drepper@gmail.com>
39199 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39200 /sys/devices/system/cpu/online if it is usable.
39202 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39203 reading the information from the /proc filesystem to once a second.
39205 2011-06-21 Andreas Jaeger <aj@suse.de>
39207 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39208 NULL after inclusion of kernel headers.
39210 2011-06-21 Ulrich Drepper <drepper@gmail.com>
39212 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39213 calls to internal_setent.
39216 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39217 addresses using gethostbyname4_r ignore IPv4 addresses.
39219 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39220 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
39222 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39224 2011-06-20 David S. Miller <davem@davemloft.net>
39226 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39228 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39230 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39231 (elf_irel): Use it.
39232 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39233 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39234 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39235 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39236 * sysdeps/x86_64/dl-irel.h: Likewise.
39238 * elf/dl-runtime.c: Use elf_ifunc_invoke.
39239 * elf/dl-sym.c: Likewise.
39241 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39243 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
39244 need to dereference resplen2.
39246 2011-06-14 Andreas Schwab <schwab@redhat.com>
39248 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39250 2011-06-15 Ulrich Drepper <drepper@gmail.com>
39252 * Makeconfig: Define vardbdir and inst_vardbdir.
39253 * nss/Makefile: Add rules to install db-Makefile.
39255 * nss/nss_db/db-XXX.c: Cleanup.
39257 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39258 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39260 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39261 * nss/makedb.c: Implement -g option to specify that value strings
39262 are generated and should not be added to table iterated over for
39264 * nss/nss_db/db-initgroups.c: New file.
39266 * nss/getent.c: Add support for initgroups lookups through getgrouplist
39269 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39270 (internal_getgrouplist): Adjust to name change.
39271 Update use_initgroups_entry if this is not the first call.
39272 * nss/databases.def: Add initgroups entry.
39274 * nss/makedb.c (compute_tables): Check result of multiple hash table
39275 sizes to minimize maximum chain length.
39277 2011-06-14 Ulrich Drepper <drepper@gmail.com>
39279 * Versions.def: Add entry for libnss_db.
39280 * shlib-versions: Likewise.
39281 * nss/Makefile: Add rules to build libnss_db.
39282 * nss/Versions: Add libnss_db information. Organize libnss_files
39284 * nss/db-Makefile: Add gshadow support. Change rules for the new
39285 makedb progra. Some minor improvements to generate smaller files.
39286 * nss/nss_db/nss_db.h: Move NSS database header data structures to
39288 * nss/makedb.c: ...here.
39289 Improve database format to be smaller and require less memory at
39291 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
39293 * nss/nss_db/db-netgrp.c: Likewise.
39294 * nss/nss_db/db-open.c: Likewise.
39295 * nss/nss_files/flies-XXX.x: Adjust comments.
39296 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39297 * nss/nss_files/files-grp.c: Likewise.
39298 * nss/nss_files/files-hosts.c: Likewise.
39299 * nss/nss_files/files-network.c: Likewise.
39300 * nss/nss_files/files-proto.c: Likewise.
39301 * nss/nss_files/files-pwd.c: Likewise.
39302 * nss/nss_files/files-rpc.c: Likewise.
39303 * nss/nss_files/files-service.c: Likewise.
39304 * nss/nss_files/files-sgrp.c: Likewise.
39305 * nss/nss_files/files-spwd.c: Likewise.
39306 * nss/nss_db/db-alias.c: Removed.
39307 * nss/nss_db/dummy-db.h: Removed.
39309 2011-06-02 Ulrich Drepper <drepper@gmail.com>
39311 * nss/makedb.c: Rewritten to not use database library.
39312 * nss/Makefile: Update to build new makedb program.
39314 2011-06-14 Andreas Jaeger <aj@suse.de>
39316 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39317 memset declaration.
39319 2011-06-10 Andreas Schwab <schwab@redhat.com>
39321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39324 2011-06-10 Roland McGrath <roland@hack.frob.com>
39326 * Makerules (shlib.lds): Fail if the linker script comes out empty.
39327 * elf/Makefile ($(objpfx)ld.so): Likewise.
39329 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39330 Don't list ld.so twice in dependencies.
39332 * posix/bug-regex31.c: Include <stdlib.h>.
39334 * nscd/hstcache.c (cache_addhst): Remove unused variable.
39336 * nis/nss_compat/compat-spwd.c
39337 (getspent_next_nss_netgr): Remove unused variable.
39338 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39340 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39341 nonmembers" output to use the right array.
39343 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39345 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39347 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39348 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39349 * catgets/gencat.c (read_input_file): Likewise.
39350 * locale/programs/locarchive.c (enlarge_archive): Likewise.
39352 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39353 variable definition inside #if's controlling its use.
39355 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39357 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39359 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39361 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39364 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39366 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39367 * configure: Regenerated.
39369 * Makerules: Revert last change.
39370 * elf/Makefile: Likewise.
39372 2011-06-09 Roland McGrath <roland@hack.frob.com>
39374 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39375 * elf/Makefile ($(objpfx)librtld.os): Likewise.
39376 (reloc-link): Likewise.
39378 2011-06-09 Ulrich Drepper <drepper@gmail.com>
39380 * elf/Makefile: Add rules to build pldd.
39381 * elf/pldd.c: New file.
39382 * elf/pldd-xx.c: New file.
39384 2011-06-07 Ulrich Drepper <drepper@gmail.com>
39386 * version.h: Update for 2.15 development version.
39388 2011-06-07 David S. Miller <davem@davemloft.net>
39390 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39392 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39393 elf_machine_lazy_rel): Likewise.
39394 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39395 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39396 elf_machine_lazy_rel): Likewise.
39397 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39398 dl_hwcap via passed in argument.
39399 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39402 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39404 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
39406 2011-06-06 Roland McGrath <roland@hack.frob.com>
39409 * manual/fdl-1.1.texi: New file, verbatim from:
39410 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39411 * manual/lgpl-2.1.texi: New file, verbatim from:
39412 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39413 * manual/Makefile (licenses): New variable, list those new file names.
39415 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39417 * manual/fdl.texi: File removed.
39418 * manual/lesser.texi: File removed.
39419 * manual/libc.texinfo (Copying, Documentation License):
39420 Use new @include file names, put @appendix directive before @include.
39422 2011-06-04 Jakub Jelinek <jakub@redhat.com>
39425 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39426 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39427 (mq_open): Add __NTH.
39429 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
39431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39432 Assume Intel Core i3/i5/i7 processor if AVX is available.
39434 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39439 2011-05-31 Andreas Schwab <schwab@redhat.com>
39441 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39442 memory. Use alloca_account. Fix memory leak when retrying.
39444 2011-05-31 Ulrich Drepper <drepper@gmail.com>
39446 * version.h (RELEASE): Bump for 2.14 release.
39447 * include/features.h (__GLIBC_MINOR__): Bump to 14.
39449 * config.make.in (RANLIB): Remove entry.
39451 2011-05-30 Ulrich Drepper <drepper@gmail.com>
39453 * po/Makefile (po-sed-cmd): Add ksh to extensions.
39454 (libc.pot): Work around missing support for .ksh extension in xgettext.
39457 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39458 if both request failed.
39459 (send_dg): In case of server errors clear resplen or *resplen2.
39462 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39463 when there are multiple maps.
39464 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39465 (_dl_fini): Remove test here.
39467 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39469 2011-05-29 Ulrich Drepper <drepper@gmail.com>
39472 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39473 bit from old_res_options.
39474 (gaih_inet): Likewise.
39477 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39480 * resolv/res_init.c (res_setoptions): Make the code more compact.
39483 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39487 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39489 * malloc/malloc.h: Mark malloc hook variables as deprecated.
39492 * malloc/malloc.h: Declare malloc hook variables as volatile.
39494 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39498 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39499 raise in the comment.
39500 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39501 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39502 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39504 2011-05-28 Ulrich Drepper <drepper@gmail.com>
39507 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39508 grow the buffers more if it already has to be sufficient.
39509 (build_wcs_upper_buffer): Likewise.
39510 * posix/regexec.c (check_matching): Likewise.
39511 (clean_state_log_if_needed): Likewise.
39512 (extend_buffers): Don't enlarge buffers beyond size of the input
39514 Patches mostly by Emil Wojak <emil@wojak.eu>.
39515 * posix/bug-regex32.c: New file.
39516 * posix/Makefile (tests): Add bug-regex32.
39518 * locale/findlocale.c (_nl_find_locale): Return right away if
39519 _nl_explode_name failed.
39520 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39522 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39524 * debug/xtrace.sh: Unify messages.
39525 * malloc/memusage.sh: Likewise.
39528 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39529 time symbol from vDSO. Substitute with vsyscall if not available.
39530 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39533 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39534 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39535 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39536 Add sendmmsg and internal_sendmmsg.
39537 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39538 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39539 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39541 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39542 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39543 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39545 2011-05-27 Ulrich Drepper <drepper@gmail.com>
39548 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39549 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
39551 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39555 * iconvdata/Makefile (tests): Add bug-iconv9.
39556 * iconvdata/bug-iconv9.c: New file.
39558 2011-05-27 Andreas Schwab <schwab@redhat.com>
39561 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39563 2011-05-25 Jakub Jelinek <jakub@redhat.com>
39565 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39566 (struct user_regs_struct): Change intcs field back to cs.
39568 2011-05-25 Ulrich Drepper <drepper@gmail.com>
39570 * po/ja.po: Update from translation team.
39572 2011-05-23 Ulrich Drepper <drepper@gmail.com>
39575 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39576 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39578 2011-05-20 Andreas Schwab <schwab@redhat.com>
39580 * stdlib/longlong.h: Update from GCC.
39582 2011-05-23 Andreas Schwab <schwab@redhat.com>
39584 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39586 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39587 Add parameter name.
39588 (__sysconf): Pass it down.
39590 2011-05-22 Ulrich Drepper <drepper@gmail.com>
39593 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39595 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39596 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39597 add in in __libc_use_alloca calls. Adjust callers.
39598 (glob): Use malloc in some situations.
39600 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39601 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39604 2011-05-21 Ulrich Drepper <drepper@gmail.com>
39606 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39607 and CLOCK_BOOTTIME_ALARM.
39610 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39613 * string/_strerror.c (__strerror_r): Print negative errors as signed
39617 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39618 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39619 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39621 * configure.in: Fix typo in redirection and correct removal of test
39622 files in two cases.
39625 * locale/setlocale.c (new_composite_name): Fix test to check for
39626 identical name of all categories.
39629 * libio/filedoalloc.c (local_isatty): New function.
39630 (_IO_file_doallocate): Use local_isatty.
39631 * stdio-common/perror.c (perror): In case a new stream is used
39632 forward the stream error.
39633 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39636 2011-05-20 Ulrich Drepper <drepper@gmail.com>
39639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39641 * include/alloca.h (extend_alloca_account): Define.
39644 * posix/regex.h: Fix comments with documentation of user-accessible
39645 fields after compilation and describe correct free'ing of pattern
39646 after re_compile_pattern.
39647 Patch by Reuben Thomas <rrt@sc3d.org>.
39649 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
39651 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39652 and -mno-altivec to prevent the compiler from using Altivec and/or
39653 VSX instructions when the corresponding registers are not available.
39655 2011-05-19 Andreas Schwab <schwab@redhat.com>
39657 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39659 2011-05-19 Ulrich Drepper <drepper@gmail.com>
39661 * libio/freopen.c (freopen): Use __dup2, not dup2.
39662 * libio/freopen64.c (freopen64): Likewise.
39664 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
39667 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39668 * math/Makefile (tests): Add test-powl.
39669 (CFLAGS-test-powl.c): Define.
39670 * math/test-powl.c: New file.
39672 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
39674 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39676 2011-05-17 Ulrich Drepper <drepper@gmail.com>
39679 * iconvdata/gb18030.c: Update to GB18020-2005.
39681 2011-05-16 Ulrich Drepper <drepper@gmail.com>
39683 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39684 RE_SYNTAX_POSIX_AWK): Update to match recent development.
39685 Patch by Aharon Robbins <arnold@skeeve.com>.
39688 * stdlib/putenv.c (putenv): Don't always create copy of the variable
39692 * misc/pselect.c (__pselect): Handle timeout value errors hidden
39693 through underflows.
39696 * misc/error.c (error_at_line): Ensure file_name and old_file_name
39697 point to strings before performing equality test for error_one_per_line
39701 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39704 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39705 (struct user_fpregs_struct): Avoid __uint*_t types.
39708 * malloc/mtrace.c (tr_where): Add additional parameter to point to
39709 symbol info. Use it instead of calling _dl_addr locally.
39710 (lock_and_info): New function.
39711 (tr_freehook): Call lock_and_info and pass symbol info as additional
39712 parameter to tr_where.
39713 (tr_mallochook): Likewise.
39714 (tr_reallochook): Likewise.
39715 (tr_memalignhook): Likewise.
39717 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
39718 used and couldn't be at all thread-safe.
39720 2011-05-15 Ulrich Drepper <drepper@gmail.com>
39722 * libio/freopen.c (freopen): Don't close old file descriptor
39723 before the new one is opened. Instead dup the new file descriptor
39724 to the old one after the new stream is created.
39725 * libio/freopen64.c (freopen64): Likewise.
39726 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39727 * libio/fileops.c (_IO_new_file_close_it): Handle new
39728 _IO_FLAGS2_NOCLOSE flag.
39729 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39730 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39731 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39732 _IO_FLAGS2_NOCLOSE flag.
39733 * include/unistd.h: Add hidden_proto for dup3.
39734 Define __have_dup3.
39735 * io/dup3.c: Define hidden symbol.
39736 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39739 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39740 when an incomplete long option is used.
39741 * posix/tst-getopt_long1.c: New file.
39742 * posix/Makefile (tests): Add tst-getopt_long1.
39745 * scripts/config.guess: Update from autoconf-2.68.
39746 * scripts/config.sub: Likewise.
39749 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39751 (has_cpuclock): ...this. New function.
39752 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39753 macro here based on has_cpuclock code.
39756 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39757 First byte (not low byte) is now always NUL.
39758 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39760 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39761 Use non-cancelable interfaces.
39764 * locale/iso-639.def: Add entry for Sorani.
39767 * include/stdlib.h: Move include protection to the right place.
39768 Define abort_msg_s. Declare __abort_msg with it.
39769 * stdlib/abort.c (__abort_msg): Adjust type.
39770 * assert/assert.c (__assert_fail_base): New function. Majority
39771 of code from __assert_fail. Allocate memory for __abort_msg with
39773 (__assert_fail): Now call __assert_fail_base.
39774 * assert/assert-perr.c: Remove bulk of implementation. Use
39775 __assert_fail_base.
39776 * include/assert.hL Declare __assert_fail_base.
39777 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39779 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39781 2011-05-14 Ulrich Drepper <drepper@gmail.com>
39785 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39786 until all modules are registered in the DTV.
39787 * elf/Makefile: Add rules to build and run tst-tls19.
39788 * elf/tst-tls19.c: New file.
39789 * elf/tst-tls19mod1.c: New file.
39790 * elf/tst-tls19mod2.c: New file.
39791 * elf/tst-tls19mod3.c: New file.
39792 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39795 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39799 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39800 two-byte sequence errors.
39801 * iconvdata/Makefile (tests): Add bug-iconv8.
39802 * iconvdata/bug-iconv8.c: New file.
39805 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39808 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39811 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39812 (dummy_getcfa): New function.
39813 (init): Get _Unwind_GetCFA address, use dummy if not found.
39814 (backtrace_helper): In recursion check, also check whether CFA changes.
39815 (__backtrace): Completely initialize arg.
39817 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
39818 storing incomplete byte sequence in state object. Avoid testing for
39819 guaranteed too small input if we know there is enough data available.
39821 2011-05-11 Andreas Schwab <schwab@redhat.com>
39823 * Makeconfig (+link-pie): Indent.
39824 * Rules (binaries-pie): Define if $(have-fpie) and
39826 (binaries-shared): Also filter out $(binaries-pie).
39827 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39828 * nscd/Makefile (others-pie): Add nscd.
39829 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39830 ($(objpfx)nscd): Remove command override.
39831 * login/Makefile (others-pie): Add pt_chown.
39832 ($(objpfx)pt_chown): Remove command override.
39833 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39834 remove command overrides.
39836 2011-05-13 Ulrich Drepper <drepper@gmail.com>
39838 * libio/tst_putwc.c: Fix error messages.
39841 * libio/fileops.c (_IO_new_file_close_it): Always flush when
39842 currently writing and seek to current position when not.
39843 * libio/Makefile (tests): Add bug-fclose1.
39844 * libio/bug-fclose1.c: New file.
39846 2011-05-12 Ulrich Drepper <drepper@gmail.com>
39849 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39850 don't set DF_1_NODELETE here.
39851 (do_lookup_x): When entering new entry test for copy relocation
39852 and if necessary set DF_1_NODELETE flag.
39853 * elf/tst-unique4.cc: New file.
39854 * elf/tst-unique4.h: New file.
39855 * elf/tst-unique4lib.cc: New file.
39856 * elf/Makefile: Add rules to build and run tst-unique4.
39857 Patch by Piotr Bury <pbury@goahead.com>.
39859 2011-05-11 Ulrich Drepper <drepper@gmail.com>
39862 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39865 * misc/mntent_r.c (addmntent): Flush the stream after the output
39868 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39869 (is_trusted_path_normalize): Skip initial colon. Append slash
39870 to empty buffer. Duplicate is_trusted_path code but allow
39871 constructed patch to be prefix.
39872 (is_dst): Allow $ORIGIN followed by /.
39873 (_dl_dst_substitute): Correct clearing of check_for_trusted.
39874 Correct testing of result of is_trusted_path_normalize
39875 (decompose_rpath): Fix warning.
39877 2011-05-10 Ulrich Drepper <drepper@gmail.com>
39880 * grp/initgroups.c (internal_getgrouplist): When we found the service
39881 list through the initgroups entry in nsswitch.conf do not always
39882 continue on a successful lookup. Don't always use the
39883 __nss_group_database value if it is set.
39884 * nss/nsswitch.conf (initgroups): Change action for successful db
39885 lookup to continue for compatibility.
39887 2011-05-09 Ulrich Drepper <drepper@gmail.com>
39890 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39892 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39894 * iconvdata/tst-tables.sh: Likewise.
39895 * iconvdata/cp770.c: New file.
39896 * iconvdata/cp771.c: New file.
39897 * iconvdata/cp772.c: New file.
39898 * iconvdata/cp773.c: New file.
39899 * iconvdata/cp774.c: New file.
39900 * iconvdata/testdata/CP770: New file.
39901 * iconvdata/testdata/CP770..UTF8: New file.
39902 * iconvdata/testdata/CP771: New file.
39903 * iconvdata/testdata/CP771..UTF8: New file.
39904 * iconvdata/testdata/CP772: New file.
39905 * iconvdata/testdata/CP772..UTF8: New file.
39906 * iconvdata/testdata/CP773: New file.
39907 * iconvdata/testdata/CP773..UTF8: New file.
39908 * iconvdata/testdata/CP774: New file.
39909 * iconvdata/testdata/CP774..UTF8: New file.
39911 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39913 * iconvdata/gen-8bit-gap.sh: Likewise.
39914 * iconvdata/gen-8bit.sh: Likewise.
39916 * locale/iso-639.def: Add ary entry.
39919 * locale/C-translit.h.in: Add U20A1 transliteration.
39922 * locale/iso-639.def: Add wae entry.
39923 Patch by Kevin Bortis <bortis@translate-wae.ch>.
39926 * locale/programs/localedef.c (construct_output_path): Use ssize_t
39930 * locale/C-translit.h.in: Add entry for U20B9.
39931 Patch by pravin.d.s@gmail.com.
39933 2011-05-08 Ulrich Drepper <drepper@gmail.com>
39936 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39937 ENAMETOOLONG use generic getcwd.
39938 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
39939 in rtld. Use *stat64.
39940 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39941 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39942 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39943 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39944 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39945 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39946 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39947 __fstatat64 macros.
39948 * include/dirent.h: Add libc_hidden_proto for rewinddir.
39949 * dirent/rewinddir.c: Add libc_hidden_def.
39950 * sysdeps/mach/hurd/rewinddir.c: Likewise.
39951 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
39953 * include/dirent.h (__alloc_dir): Add flags parameter.
39954 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39955 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39957 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
39958 from fdopendir if O_CLOEXEC is already set.
39960 2011-03-15 Alan Modra <amodra@gmail.com>
39962 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39963 l_tls_firstbyte_offset non-zero. Save padding offset in
39964 l_tls_firstbyte_offset for later use.
39965 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39966 freeing static tls block.
39968 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
39970 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39971 where #ifdef was intended. The intent is to prevent ARG_MAX from
39972 being defined by the kernel headers.
39974 2011-05-07 Ulrich Drepper <drepper@gmail.com>
39977 * resolv/resolv.h: Define RES_NOTLDQUERY.
39978 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39979 no-tld-query and set RES_NOTLDQUERY.
39980 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39981 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39982 modern BIND to search name as TLD unless forbidden.
39984 2011-05-07 Petr Baudis <pasky@suse.cz>
39985 Ulrich Drepper <drepper@gmail.com>
39988 * elf/dl-load.c (fillin_rpath): Move trusted path check...
39989 (is_trusted_path): ...to here.
39990 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39991 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39992 using is_trusted_path_normalize() in setuid scripts.
39994 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39996 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39997 __BEGIN/__END_DECLS.
39999 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40001 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40002 NSS_STATUS_NOTFOUND if no record was found.
40004 2011-05-05 Andreas Schwab <schwab@redhat.com>
40006 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40007 (headers-not-in-tirpc): Remove rpc/netdb.h
40008 * resolv/netdb.h: Revert last change.
40010 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40012 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40013 circular dependency between libgcc.a and libc.a.
40015 2011-05-05 Andreas Schwab <schwab@redhat.com>
40017 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40018 * nis/Makefile: Don't install rpcsvc/*.
40019 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40020 instead of <rpc/types.h>.
40021 (MAXHOSTNAMELEN): Define.
40023 2011-05-03 Andreas Schwab <schwab@redhat.com>
40025 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40027 2011-04-28 Maciej Babinski <mbabinski@google.com>
40030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40031 gethostbyname4_r when IPv6 results are possible.
40033 2011-05-02 Ulrich Drepper <drepper@gmail.com>
40036 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40037 _PC_PIPE_BUF handling.
40039 2011-04-30 Bruno Haible <bruno@clisp.org>
40042 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40043 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40045 * inet/getnameinfo.c (getnameinfo): Likewise.
40047 2011-04-29 Ulrich Drepper <drepper@gmail.com>
40049 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40050 to groups setting in database lookup.
40051 * nss/nsswitch.conf: Add initgroups entry.
40053 2011-04-22 Ulrich Drepper <drepper@gmail.com>
40056 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40058 Patch by Eric Blake <eblake@redhat.com>.
40060 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40062 * sunrpc/Makefile (need-export-routines): Add svc_run.
40063 (routines): Remove svc_run.
40064 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40065 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40066 * sunrpc/svc_run.c (svc_run): Likewise.
40067 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40069 2011-04-21 Ulrich Drepper <drepper@gmail.com>
40071 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40072 problem in reallocation in last patch.
40074 2011-04-20 Ulrich Drepper <drepper@gmail.com>
40076 * sunrpc/Makefile: Move inclusion of Rules.
40078 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40080 * nss/nss_files/files-initgroups.c: New file.
40081 * nss/Makefile (libnss_files-routines): Add files-initgroups.
40082 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
40083 _nss_files_initgroups_dyn.
40085 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
40087 * elf/elf.h (R_ARM_IRELATIVE): Define.
40089 2011-04-19 Ulrich Drepper <drepper@gmail.com>
40091 * po/ru.po: Update from translation team.
40093 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40095 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
40098 2011-02-06 Mike Frysinger <vapier@gentoo.org>
40101 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
40102 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
40103 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40104 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40105 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40107 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
40109 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
40111 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
40112 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
40113 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40115 2011-04-17 Ulrich Drepper <drepper@gmail.com>
40118 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
40120 * stdlib/bug-getcontext.c: New file.
40121 * stdlib/Makefile: Add rules to build and run bug-getcontext.
40123 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40125 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
40126 instructions into .machine "z9-109".
40127 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
40128 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
40130 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40132 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
40133 between environment variables and auxiliary vector.
40135 2011-04-16 Ulrich Drepper <drepper@gmail.com>
40137 * Makefile: Add rules to build linkobj/libc.so.
40138 * include/libc-symbols.h: Define libc_hidden_nolink.
40139 * include/rpc/auth.h: Mark functions which are to be hidden.
40140 * include/rpc/auth_des.h: Likewise.
40141 * include/rpc/auth_unix.h: Likewise.
40142 * include/rpc/clnt.h: Likewise.
40143 * include/rpc/des_crypt.h: Likewise.
40144 * include/rpc/key_prot.h: Likewise.
40145 * include/rpc/pmap_clnt.h: Likewise.
40146 * include/rpc/pmap_prot.h: Likewise.
40147 * include/rpc/pmap_rmt.h: Likewise.
40148 * include/rpc/rpc_msg.h: Likewise.
40149 * include/rpc/svc.h: Likewise.
40150 * include/rpc/svc_auth.h: Likewise.
40151 * include/rpc/xdr.h: Likewise.
40152 * nis/Makefile: Link all DSOs against linkobj/libc.so.
40153 * nss/Makefile: Likewise.
40154 * sunrpc/Makefile: Don't install headers. Build library with normal
40155 entry points. Don't build rpcinfo. Link RPC tests appropriately.
40156 * sunrpc/auth_des.c: Hide exported symbols by default, export some
40157 for the compat linking library. Remove use of INTDEF/INTUSE.
40158 * sunrpc/auth_none.c: Likewise.
40159 * sunrpc/auth_unix.c: Likewise.
40160 * sunrpc/authdes_prot.c: Likewise.
40161 * sunrpc/authuxprot.c: Likewise.
40162 * sunrpc/clnt_gen.c: Likewise.
40163 * sunrpc/clnt_perr.c: Likewise.
40164 * sunrpc/clnt_raw.c: Likewise.
40165 * sunrpc/clnt_simp.c: Likewise.
40166 * sunrpc/clnt_tcp.c: Likewise.
40167 * sunrpc/clnt_udp.c: Likewise.
40168 * sunrpc/clnt_unix.c: Likewise.
40169 * sunrpc/des_crypt.c: Likewise.
40170 * sunrpc/des_soft.c: Likewise.
40171 * sunrpc/get_myaddr.c: Likewise.
40172 * sunrpc/key_call.c: Likewise.
40173 * sunrpc/key_prot.c: Likewise.
40174 * sunrpc/netname.c: Likewise.
40175 * sunrpc/pm_getmaps.c: Likewise.
40176 * sunrpc/pm_getport.c: Likewise.
40177 * sunrpc/pmap_clnt.c: Likewise.
40178 * sunrpc/pmap_prot.c: Likewise.
40179 * sunrpc/pmap_prot2.c: Likewise.
40180 * sunrpc/pmap_rmt.c: Likewise.
40181 * sunrpc/publickey.c: Likewise.
40182 * sunrpc/rpc_cmsg.c: Likewise.
40183 * sunrpc/rpc_common.c: Likewise.
40184 * sunrpc/rpc_dtable.c: Likewise.
40185 * sunrpc/rpc_prot.c: Likewise.
40186 * sunrpc/rpc_thread.c: Likewise.
40187 * sunrpc/rtime.c: Likewise.
40188 * sunrpc/svc.c: Likewise.
40189 * sunrpc/svc_auth.c: Likewise.
40190 * sunrpc/svc_authux.c: Likewise.
40191 * sunrpc/svc_raw.c: Likewise.
40192 * sunrpc/svc_run.c: Likewise.
40193 * sunrpc/svc_simple.c: Likewise.
40194 * sunrpc/svc_tcp.c: Likewise.
40195 * sunrpc/svc_udp.c: Likewise.
40196 * sunrpc/svc_unix.c: Likewise.
40197 * sunrpc/svcauth_des.c: Likewise.
40198 * sunrpc/xcrypt.c: Likewise.
40199 * sunrpc/xdr.c: Likewise.
40200 * sunrpc/xdr_array.c: Likewise.
40201 * sunrpc/xdr_float.c: Likewise.
40202 * sunrpc/xdr_intXX_t.c: Likewise.
40203 * sunrpc/xdr_mem.c: Likewise.
40204 * sunrpc/xdr_rec.c: Likewise.
40205 * sunrpc/xdr_ref.c: Likewise.
40206 * sunrpc/xdr_sizeof.c: Likewise.
40207 * sunrpc/xdr_stdio.c: Likewise.
40209 2011-04-10 Ulrich Drepper <drepper@gmail.com>
40212 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40213 * sysdeps/ia64/dl-tls.h: Likewise.
40214 * sysdeps/powerpc/dl-tls.h: Likewise.
40215 * sysdeps/s390/dl-tls.h: Likewise.
40216 * sysdeps/sh/dl-tls.h: Likewise.
40217 * sysdeps/sparc/dl-tls.h: Likewise.
40218 * sysdeps/x86_64/dl-tls.h: Likewise.
40219 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40221 2011-03-14 Andreas Schwab <schwab@redhat.com>
40223 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40224 rpath element also skip the following colon.
40225 (expand_dynamic_string_token): Add is_path parameter and pass
40226 down to DL_DST_REQUIRED and _dl_dst_substitute.
40227 (decompose_rpath): Call expand_dynamic_string_token with
40228 non-zero is_path. Ignore empty rpaths.
40229 (_dl_map_object_from_fd): Call expand_dynamic_string_token
40232 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
40234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40237 2011-04-09 Ulrich Drepper <drepper@gmail.com>
40240 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40241 Patch by Filipe David Manana <fdmanana@apache.org>.
40243 2011-04-07 Andreas Schwab <schwab@redhat.com>
40245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40246 Maintain aligned stack.
40247 (CHECK_RSP): Remove unused macro.
40249 2011-04-03 Ulrich Drepper <drepper@gmail.com>
40251 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40252 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40254 2011-04-02 Ulrich Drepper <drepper@gmail.com>
40256 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40258 * include/features.h: Mention __USE_XOPEN2K8 in comment.
40260 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
40263 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40264 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40265 * sysdeps/x86_64/memmove.c: New file.
40266 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40267 (memcpy): Renamed to ...
40268 (__new_memcpy): This.
40269 (memcpy): Provide GLIBC_2_14 memcpy.
40270 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40271 (memcpy): Provide GLIBC_2_2_5 memcpy.
40273 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40276 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40278 2011-03-30 Andreas Schwab <schwab@redhat.com>
40280 * misc/syncfs.c: New file.
40281 * misc/Makefile (routines): Add syncfs.
40282 * posix/unistd.h: Declare syncfs.
40283 * sysdeps/unix/syscalls.list: Add syncfs.
40285 2011-04-01 Andreas Schwab <schwab@redhat.com>
40287 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40289 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40290 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40292 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40294 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40297 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40299 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40300 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40301 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40303 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40304 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40305 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40307 * io/Makefile: Compile fallocate.c, fallocate64.c, and
40308 sync_file_range.c with -fexceptions.
40309 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40310 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40311 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40312 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40313 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40314 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40316 sync_file_range as cancellation point
40317 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
40318 now a wrapper around __call_sync_file_range with cancellation handling.
40319 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40320 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
40321 function name to __call_sync_file_range.
40322 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40323 Add call_sync_file_range.
40325 2011-04-01 Andreas Schwab <schwab@redhat.com>
40327 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40330 2011-04-01 Ulrich Drepper <drepper@gmail.com>
40332 * iconv/iconv.h: Fix typo in comment.
40333 * io/fcntl.h: Likewise.
40334 * libio/stdio.h: Likewise.
40335 * posix/spawn.h: Likewise.
40336 * posix/unistd.h: Likewise.
40337 * stdlib/stdlib.h: Likewise.
40338 * time/time.h: Likewise.
40339 * wcsmbs/wchar.h: Likewise.
40341 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40342 open_by_handle): Add.
40343 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40344 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
40345 Augment a few comments.
40346 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40347 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40348 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40349 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40350 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40351 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40354 * io/fcntl.h (AT_EMPTY_PATH): Define.
40356 2011-03-30 Ulrich Drepper <drepper@gmail.com>
40358 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40359 * sysdeps/unix/sysv/linux/bits/time.h: New file.
40360 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40362 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
40363 * Versions.def: Add GLIBC_2.14.
40364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40367 2011-03-22 Ulrich Drepper <drepper@gmail.com>
40369 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40371 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40373 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
40376 * string/test-strncmp.c (do_page_test): New function.
40377 (check2): Likewise.
40378 (test_main): Call check2.
40379 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40381 2011-03-20 Ulrich Drepper <drepper@gmail.com>
40384 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40385 Handle cache information in CPU leaf 4.
40386 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40388 2011-03-18 Ulrich Drepper <drepper@gmail.com>
40391 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40392 character representation.
40393 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40395 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
40397 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40398 END(__isnan) to END(__isnanf) to match function entry point/label
40399 EALIGN(__isnanf,...).
40401 2011-03-10 Jakub Jelinek <jakub@redhat.com>
40403 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40405 2011-03-10 Ulrich Drepper <drepper@gmail.com>
40408 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40409 copy from the symbol referenced in the relocation to initialize the
40411 Patch by Piotr Bury <pbury@goahead.com>.
40412 * elf/Makefile: Add rules to build and tst-unique3.
40413 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40414 * elf/tst-unique3.cc: New file.
40415 * elf/tst-unique3.h: New file.
40416 * elf/tst-unique3lib.cc: New file.
40417 * elf/tst-unique3lib2.cc: New file.
40419 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40421 2011-03-10 Mike Frysinger <vapier@gentoo.org>
40423 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40424 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
40427 2011-03-06 Ulrich Drepper <drepper@gmail.com>
40429 * elf/dl-load.c (_dl_map_object): If we are looking for the first
40430 to-be-loaded object along a path to loader is ld.so.
40432 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40433 Ulrich Drepper <drepper@gmail.com>
40435 * sysdeps/x86_64/memset.S: After aligning destination, code
40436 branches to different locations depending on the value of
40437 misalignment, when multiarch is enabled. Fix this.
40439 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
40441 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40442 Set _x86_64_preferred_memory_instruction for AMD processsors.
40443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40444 Set bit_Prefer_SSE_for_memop for AMD processors.
40446 2011-03-04 Ulrich Drepper <drepper@gmail.com>
40448 * libio/fmemopen.c (fmemopen): Optimize a bit.
40450 2011-03-03 Andreas Schwab <schwab@redhat.com>
40452 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40454 2011-03-03 Roland McGrath <roland@redhat.com>
40456 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40458 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
40460 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40461 __bzero_ultra1 instead of __memset_ultra1.
40463 2011-02-23 Andreas Schwab <schwab@redhat.com>
40464 Ulrich Drepper <drepper@gmail.com>
40467 * include/link.h (struct link_map): Add l_orig_initfini.
40468 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40469 returning unsuccessfully.
40470 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40471 close of a file loaded at startup, restore the original l_initfini
40473 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40474 list, store the pointer.
40475 * elf/Makefile ($(objpfx)noload-mem): New rule.
40476 (noload-ENV): Define.
40477 (tests): Add $(objpfx)noload-mem.
40478 * elf/noload.c: Include <memcheck.h>.
40479 (main): Call mtrace. Close all opened handles.
40481 2011-02-17 Andreas Schwab <schwab@redhat.com>
40484 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40485 dependencies are missing.
40487 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
40489 Fix __if_freereq crash: Unlike the generic version which uses free,
40491 * sysdeps/mach/hurd/ifreq.h: New file.
40493 2011-01-27 Petr Baudis <pasky@suse.cz>
40494 Ulrich Drepper <drepper@gmail.com>
40497 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40498 to extend_alloca().
40499 * stdio-common/bug23.c: New file.
40500 * stdio-common/Makefile (tests): Add bug23.
40502 2010-09-28 Andreas Schwab <schwab@redhat.com>
40503 Ulrich Drepper <drepper@gmail.com>
40506 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40507 before performing relro protection. At old place add assertion
40508 to make sure nothing changed.
40510 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
40511 Glauber de Oliveira Costa <glommer@gmail.com>
40513 * elf/elf.h: Add new ARM TLS relocs.
40515 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
40517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40518 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40520 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
40522 * sysdeps/wordsize-64/tst-writev.c: New file.
40524 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
40526 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40527 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40528 insns in _dl_start to prevent a TOC reference before relocs are
40531 2011-02-15 Ulrich Drepper <drepper@gmail.com>
40534 * Makeconfig: Remove RANLIB definition.
40535 * Makerules: Don't use RANLIB.
40536 * aclocal.m4: Remove ranlib test.
40537 * configure.in: No need to check for ranlib.
40538 * elf/rtld-Rules: Don't use RANLIB.
40540 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
40542 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40544 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40545 inclusion protection macro.
40547 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40548 SIGRTMIN and SIGRTMAX and print information in that case only when
40549 SIGRTMIN is defined.
40551 2011-02-11 Jakub Jelinek <jakub@redhat.com>
40553 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40554 arginfo fn returning -1.
40556 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40557 and thousands string is zero terminated.
40559 2011-02-03 Andreas Schwab <schwab@redhat.com>
40561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40562 sysdeps/unix/sysv/linux/bits/socket.h.
40564 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
40566 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40567 (__CPU_COUNT): Remove old macros.
40568 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40569 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40570 (__CPU_ALLOC, __CPU_FREE): Add macros.
40571 (__sched_cpualloc, __sched_cpufree): Add declarations.
40573 2011-02-05 Ulrich Drepper <drepper@gmail.com>
40575 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40576 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40577 * nscd/aicache.c (addhstaiX): Return timeout of added value.
40578 (readdhstai): Return value of addhstaiX call.
40579 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40580 (addgrbyX): Return value returned by cache_addgr.
40581 (readdgrbyname): Return value returned by addgrbyX.
40582 (readdgrbygid): Likewise.
40583 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40584 (addpwbyX): Return value returned by cache_addpw.
40585 (readdpwbyname): Return value returned by addhstbyX.
40586 (readdpwbyuid): Likewise.
40587 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40588 (addservbyX): Return value returned by cache_addserv.
40589 (readdservbyname): Return value returned by addservbyX:
40590 (readdservbyport): Likewise.
40591 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40592 (addhstbyX): Return value returned by cache_addhst.
40593 (readdhstbyname): Return value returned by addhstbyX.
40594 (readdhstbyaddr): Likewise.
40595 (readdhstbynamev6): Likewise.
40596 (readdhstbyaddrv6): Likewise.
40597 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40598 (readdinitgroups): Return value returned by addinitgroupsX.
40599 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40600 (prune_cache): Keep track of timeout value of re-added entries.
40601 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40602 * nscd/nscd.h: Adjust prototypes of readd* functions.
40604 2011-02-04 Roland McGrath <roland@redhat.com>
40606 * nis/nis_server.c (nis_servstate): Use the right name for 0.
40607 (nis_stats): Likewise.
40608 * nis/nis_modify.c (nis_modify): Likewise.
40609 * nis/nis_remove.c (nis_remove): Likewise.
40610 * nis/nis_add.c (nis_add): Likewise.
40612 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40614 * posix/fnmatch_loop.c: Add some consts.
40616 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40618 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
40621 * config.make.in (config-cflags-novzeroupper): Define.
40622 * configure.in: Substitute libc_cv_cc_novzeroupper.
40623 * elf/Makefile (AVX-CFLAGS): Define.
40624 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40625 (CFLAGS-tst-auditmod4a.c): Likewise.
40626 (CFLAGS-tst-auditmod4b.c): Likewise.
40627 (CFLAGS-tst-auditmod6b.c): Likewise.
40628 (CFLAGS-tst-auditmod6c.c): Likewise.
40629 (CFLAGS-tst-auditmod7b.c): Likewise.
40630 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40632 2011-02-02 Ulrich Drepper <drepper@gmail.com>
40634 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40635 function to the callback.
40636 Patch partly by Jiri Olsa <jolsa@redhat.com>.
40638 2011-02-02 Andreas Schwab <schwab@redhat.com>
40640 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40643 2011-01-19 Ulrich Drepper <drepper@gmail.com>
40646 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40648 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40650 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40653 * elf/Makefile: Add rules to build and run new test.
40654 * elf/tst-initorder.c: New file.
40655 * elf/tst-initorder.exp: New file.
40656 * elf/tst-initordera1.c: New file.
40657 * elf/tst-initordera2.c: New file.
40658 * elf/tst-initordera3.c: New file.
40659 * elf/tst-initordera4.c: New file.
40660 * elf/tst-initorderb1.c: New file.
40661 * elf/tst-initorderb2.c: New file.
40662 * elf/tst-order-a1.c: New file.
40663 * elf/tst-order-a2.c: New file.
40664 * elf/tst-order-a3.c: New file.
40665 * elf/tst-order-a4.c: New file.
40666 * elf/tst-order-b1.c: New file.
40667 * elf/tst-order-b2.c: New file.
40668 * elf/tst-order-main.c: New file.
40669 New test case by George Gensure <werkt0@gmail.com>.
40671 2010-10-01 Andreas Schwab <schwab@redhat.com>
40673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40674 decoding ACE if AI_CANONIDN.
40676 2011-01-18 Ulrich Drepper <drepper@gmail.com>
40678 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40680 2011-01-17 Ulrich Drepper <drepper@gmail.com>
40682 * version.h (RELEASE): Bump for 2.13 release.
40683 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40685 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40687 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40689 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40690 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40692 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40694 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40696 * posix/getconf.c: Update copyright year.
40697 * catgets/gencat.c: Likewise.
40698 * csu/version.c: Likewise.
40699 * debug/catchsegv.sh: Likewise.
40700 * debug/xtrace.sh: Likewise.
40701 * elf/ldconfig.c: Likewise.
40702 * elf/ldd.bash.in: Likewise.
40703 * elf/sprof.c (print_version): Likewise.
40704 * iconv/iconv_prog.c: Likewise.
40705 * iconv/iconvconfig.c: Likewise.
40706 * locale/programs/locale.c: Likewise.
40707 * locale/programs/localedef.c: Likewise.
40708 * malloc/memusage.sh: Likewise.
40709 * malloc/mtrace.pl: Likewise.
40710 * nscd/nscd.c (print_version): Likewise.
40711 * nss/getent.c: Likewise.
40713 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40714 PF_CAIF, and PF_ALG.
40715 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40717 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
40719 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40720 (modules-names): Use them.
40721 (ifunc-test-modules, ifunc-pie-tests): Define.
40722 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40723 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40724 (test-extras): Likewise.
40725 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40726 $(compile-command.c).
40727 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40728 (all-built-dso): Define.
40729 (check-textrel.out, check-execstack.out): Depend on it.
40731 * configure.in: Don't override --enable-multi-arch.
40733 2011-01-15 Ulrich Drepper <drepper@gmail.com>
40736 * nscd/hstcache.c (tryagain): Define.
40737 (cache_addhst): Return tryagain not notfound for temporary errors.
40738 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40741 2011-01-14 Ulrich Drepper <drepper@gmail.com>
40744 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40745 to make the syscall.
40746 * sysdeps/unix/sysv/linux/setgroups.c: New file.
40749 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40750 and fall back to matching as normal character if the string ends before
40751 the matching ']' is found. This is what POSIX requires.
40752 * posix/testfnm.c: Adjust test result.
40753 * posix/globtest.sh: Adjust test result. Add new test.
40754 * posix/tst-fnmatch.input: Likewise.
40755 * posix/tst-fnmatch2.c: Add new test.
40757 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
40759 * elf/Makefile (check-execstack): Revert last change. Depend on
40761 (check-execstack.h): New target.
40762 (generated): Add check-execstack.h.
40763 * elf/check-execstack.c: Include "check-execstack.h".
40764 (main): Revert last change.
40765 (handle_file): Return zero if GNU_STACK is absent and
40766 DEFAULT_STACK_PERMS doesn't include PF_X.
40768 2011-01-13 Ulrich Drepper <drepper@gmail.com>
40770 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40771 in child fails because the descriptor is already closed.
40772 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40773 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40774 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
40777 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40781 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40782 temporary buffer used to handle multi lookups locally.
40783 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40785 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40787 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40790 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
40792 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40793 alignment for SSE2.
40795 2011-01-12 Ulrich Drepper <drepper@gmail.com>
40798 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40799 characters. When rounding increased number of integer digits recompute
40801 * stdio-common/tst-grouping.c: New file.
40802 * stdio-common/Makefile: Add rules to build and run tst-grouping.
40804 2011-01-09 Ulrich Drepper <drepper@gmail.com>
40806 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40807 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
40809 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40811 * bits/select.h: Likewise.
40813 2011-01-08 Ulrich Drepper <drepper@gmail.com>
40815 * po/ja.po: Update from translation team.
40817 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
40820 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40821 implementation just like for lxstat, fxstatat, et al.
40823 2010-12-27 Jim Meyering <meyering@redhat.com>
40826 * posix/regexec.c (build_trtable): Return failure indication upon
40827 calloc failure. Otherwise, re_search_internal could infloop on OOM.
40829 2010-12-25 Ulrich Drepper <drepper@gmail.com>
40832 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40833 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40834 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40835 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40838 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40841 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40842 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40844 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
40846 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40847 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40848 script has SORT_BY_INIT_PRIORITY.
40849 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40850 NO_CTORS_DTORS_SECTIONS is defined.
40851 * elf/soinit.c: Likewise.
40852 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40853 NO_CTORS_DTORS_SECTIONS is defined.
40854 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40855 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40856 * sysdeps/sh/init-first.c: Likewise.
40857 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40859 2010-12-24 Ulrich Drepper <drepper@gmail.com>
40861 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40862 always use the slow path.
40864 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
40866 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40867 similar rule which adds the sysdep directories to the header search in
40868 order to pick up the correct platform stackinfo.h.
40869 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40870 perform test if it is, otherwise return successfully without testing.
40871 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40872 DEFAULT_STACK_PERMS define in stackinfo.h.
40873 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40874 defined in stackinfo.h.
40875 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40876 DEFAULT_STACK_PERMS defined in stackinfo.h.
40877 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40878 * sysdeps/ia64/stackinfo.h: Likewise.
40879 * sysdeps/s390/stackinfo.h: Likewise.
40880 * sysdeps/sh/stackinfo.h: Likewise.
40881 * sysdeps/sparc/stackinfo.h: Likewise.
40882 * sysdeps/x86_64/stackinfo.h: Likewise.
40883 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40884 PF_X for powerpc64. Retain PF_X for powerpc32.
40886 2010-12-19 Ulrich Drepper <drepper@gmail.com>
40888 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40890 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40891 GETDENTS_64BIT_ALIGNED.
40893 2010-12-14 Ulrich Drepper <dreper@gmail.com>
40895 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40897 2010-12-10 Andreas Schwab <schwab@redhat.com>
40899 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40902 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40903 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40905 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40906 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40908 2010-12-09 Ulrich Drepper <drepper@gmail.com>
40911 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40914 2010-12-09 Jakub Jelinek <jakub@redhat.com>
40916 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40918 2010-12-03 Ulrich Drepper <drepper@gmail.com>
40920 * po/it.po: Update from translation team.
40922 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
40924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40927 2010-11-30 Ulrich Drepper <drepper@gmail.com>
40929 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40931 2010-11-24 Andreas Schwab <schwab@redhat.com>
40933 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40935 (gaih_getanswer_slice): Likewise.
40937 2010-10-20 Jakub Jelinek <jakub@redhat.com>
40939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40941 2010-05-31 Petr Baudis <pasky@suse.cz>
40944 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40945 silently even in the chroot mode.
40947 2010-11-22 Ulrich Drepper <drepper@gmail.com>
40949 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40950 last patch a bit. Pretty printing
40952 2010-05-31 Petr Baudis <pasky@suse.cz>
40955 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40956 initialization of skip_initgroups_dyn.
40958 2010-11-19 Ulrich Drepper <drepper@gmail.com>
40960 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40961 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40963 2010-11-16 Ulrich Drepper <drepper@gmail.com>
40965 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40967 2010-11-11 Andreas Schwab <schwab@redhat.com>
40969 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40970 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40971 (tst-fnmatch-ENV): Set MALLOC_TRACE.
40972 ($(objpfx)tst-fnmatch-mem): New rule.
40973 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40974 * posix/tst-fnmatch.c (main): Call mtrace.
40976 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
40978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40979 Support Intel processor model 6 and model 0x2c.
40981 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
40983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40986 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
40989 * string/test-strncasecmp.c (check_result): New function.
40990 (do_one_test): Use it.
40991 (check1): New function.
40992 (test_main): Use it.
40993 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40994 Support strcasecmp and strncasecmp.
40996 2010-11-08 Ulrich Drepper <drepper@gmail.com>
40999 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41000 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41002 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41004 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41006 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41008 * sysdeps/x86_64/multiarch/bzero.S: New file.
41009 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41010 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41011 * sysdeps/x86_64/multiarch/memset.S: New file.
41012 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41013 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41014 Set bit_Prefer_SSE_for_memop for Intel processors.
41015 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41017 (index_Prefer_SSE_for_memop): Define.
41018 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41020 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
41022 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41023 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41025 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41028 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41029 (__x86_64_raw_data_cache_size_half): Likewise.
41030 (__x86_64_raw_shared_cache_size): Likewise.
41031 (__x86_64_raw_shared_cache_size_half): Likewise.
41033 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41034 (__x86_64_raw_data_cache_size_half): Likewise.
41035 (__x86_64_raw_shared_cache_size): Likewise.
41036 (__x86_64_raw_shared_cache_size_half): Likewise.
41037 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41038 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41039 and __x86_64_raw_shared_cache_size_half. Round
41040 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41041 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41042 to multiple of 256 bytes.
41044 2010-11-03 Ulrich Drepper <drepper@gmail.com>
41047 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41048 of inacessible symlinks. Verify result of symlink before returning it.
41049 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41050 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41052 2010-10-28 Erich Ritz <erichritz@gmail.com>
41054 * math/math.h (isinf): Fix typo in comment.
41056 2010-11-01 Ulrich Drepper <drepper@gmail.com>
41058 * po/da.po: Update from translation team.
41060 2010-10-26 Ulrich Drepper <drepper@gmail.com>
41062 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41063 is added to the list.
41065 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41066 Ulrich Drepper <drepper@gmail.com>
41068 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41069 the global list here. Move code to...
41070 (_dl_add_to_namespace_list): ...here. New function.
41071 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41072 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
41073 * elf/dl-load.c (lose): Don't remove the element from the list.
41074 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
41075 (_dl_map_object): Likewise.
41077 2010-10-25 Ulrich Drepper <drepper@gmail.com>
41080 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
41081 into all bytes of SSE register.
41082 Patch by Richard Li <richardpku@gmail.com>.
41084 2010-10-24 Ulrich Drepper <drepper@gmail.com>
41087 * malloc/malloc.c (_int_free): Fill correct number of bytes when
41090 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
41092 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
41093 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
41094 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
41095 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
41096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
41098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
41100 2010-10-22 Andreas Schwab <schwab@redhat.com>
41102 * include/dlfcn.h (__RTLD_SECURE): Define.
41103 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
41104 mode & __RTLD_SECURE instead.
41105 (open_path): Rename preloaded parameter to secure.
41106 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
41107 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
41108 * elf/dl-deps.c (openaux): Likewise.
41109 * elf/rtld.c (struct map_args): Remove is_preloaded.
41110 (map_doit): Don't use it.
41111 (dl_main): Likewise.
41112 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
41113 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
41115 2010-09-09 Andreas Schwab <schwab@redhat.com>
41117 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
41118 (sysd-rules-targets): Remove duplicates.
41119 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
41120 rtld-%.$o dependency.
41122 2010-10-18 Andreas Schwab <schwab@redhat.com>
41124 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
41125 _dl_map_object do it.
41127 2010-10-19 Ulrich Drepper <drepper@gmail.com>
41129 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
41130 fast fma builtins, define the macros in the C99 standard.
41131 (FP_FAST_FMAF): Likewise.
41132 (FP_FAST_FMAL): Likewise.
41133 * sysdeps/x86_64/bits/mathdef.h: Likewise.
41135 * bits/mathdef.h: Update copyright year.
41136 * sysdeps/powerpc/bits/mathdef.h: Likewise.
41138 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
41140 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
41141 builtins, define the macros in the C99 standard.
41142 (FP_FAST_FMAF): Likewise.
41143 (FP_FAST_FMAL): Likewise.
41144 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
41146 (FP_FAST_FMAF): Likewise.
41148 2010-10-15 Jakub Jelinek <jakub@redhat.com>
41151 * math/libm-test.inc (fma_test): Some new testcases.
41152 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
41153 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
41154 y and infinite z. Do multiplication by C already in long double.
41155 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
41156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
41157 y and infinite z. Do bitwise or of inexact bit into u.d.
41158 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
41159 * sysdeps/i386/fpu/s_fmaf.S: Removed.
41160 * sysdeps/i386/fpu/s_fma.S: Removed.
41161 * sysdeps/i386/fpu/s_fmal.S: Removed.
41163 2010-10-16 Jakub Jelinek <jakub@redhat.com>
41166 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
41167 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
41168 computation is not scheduled after fetestexcept. Fix value
41169 of minimum denormal long double.
41171 2010-10-14 Jakub Jelinek <jakub@redhat.com>
41174 * math/libm-test.inc (fma_test): Add some more tests.
41175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
41178 2010-10-15 Andreas Schwab <schwab@redhat.com>
41180 * scripts/data/localplt-s390-linux-gnu.data: New file.
41181 * scripts/data/localplt-s390x-linux-gnu.data: New file.
41183 2010-10-13 Jakub Jelinek <jakub@redhat.com>
41186 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
41187 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
41189 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41191 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41192 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41193 if one of x and y is very large and the other is subnormal.
41194 * sysdeps/s390/fpu/s_fmaf.c: New file.
41195 * sysdeps/s390/fpu/s_fma.c: New file.
41196 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41197 * sysdeps/powerpc/fpu/s_fma.S: New file.
41198 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41199 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41200 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41202 2010-10-12 Jakub Jelinek <jakub@redhat.com>
41205 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41207 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41208 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41209 * sysdeps/i386/i686/multiarch/s_fma.c: Include
41210 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41211 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41212 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41213 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41215 2010-10-12 Ulrich Drepper <drepper@redhat.com>
41218 * posix/regcomp.c (parse_branch): One more memory leak plugged.
41219 * posix/bug-regex31.input: Add test case.
41221 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41223 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41224 * posix/bug-regex31.input: New file.
41227 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41228 (parse_sub_exp): Fix last change, use postorder.
41230 * posix/bug-regex31.c: New file.
41231 * posix/Makefile: Add rules to build and run bug-regex31.
41233 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41236 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41239 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41240 to have entries in sys_siglist.
41243 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41246 2010-10-07 Jakub Jelinek <jakub@redhat.com>
41249 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41250 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41251 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41252 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41253 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41254 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41255 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41256 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41257 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41258 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41259 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41260 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41261 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41262 * math/ftestexcept.c (fetestexcept): Likewise.
41263 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41264 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41265 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41266 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41267 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41268 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41269 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41271 2010-10-11 Ulrich Drepper <drepper@gmail.com>
41274 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41277 2010-10-06 Ulrich Drepper <drepper@gmail.com>
41279 * string/bug-strstr1.c: New file.
41280 * string/Makefile: Add rules to build and run bug-strstr1.
41282 2010-10-05 Eric Blake <eblake@redhat.com>
41285 * string/str-two-way.h (two_way_long_needle): Always clear memory
41286 when skipping input due to the shift table.
41288 2010-10-03 Ulrich Drepper <drepper@gmail.com>
41291 * malloc/mcheck.c: Handle large requests.
41294 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41295 for strncmp and strncasecmp.
41296 * string/stratcliff.c: Add tests for strcmp and strncmp.
41297 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41299 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41301 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41304 2010-09-30 Andreas Jaeger <aj@suse.de>
41306 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41307 (CGROUP_SUPER_MAGIC): Define.
41308 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41309 Handle btrfs and cgroup file systems.
41310 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41313 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
41315 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41316 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41318 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41321 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41322 trying to locate the ELF header.
41324 2010-09-27 Andreas Schwab <schwab@redhat.com>
41327 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41328 Mask out sign-bit copies when constructing f_fsid.
41330 2010-09-24 Petr Baudis <pasky@suse.cz>
41332 * debug/stack_chk_fail_local.c: Add missing licence exception.
41333 * debug/warning-nop.c: Likewise.
41335 2010-09-15 Joseph Myers <joseph@codesourcery.com>
41337 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41338 implementing getdents64 using getdents syscall, set d_type if
41339 __ASSUME_GETDENTS32_D_TYPE.
41341 2010-09-16 Andreas Schwab <schwab@redhat.com>
41343 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41344 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41346 2010-09-21 Ulrich Drepper <drepper@redhat.com>
41349 * posix/unistd.h: Undo change of feature selection for ftruncate from
41352 2010-09-20 Ulrich Drepper <drepper@redhat.com>
41354 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41357 2010-09-20 Andreas Schwab <schwab@redhat.com>
41359 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41361 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41363 2010-09-14 Andreas Schwab <schwab@redhat.com>
41365 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41366 variables after CHECK_SP call.
41367 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41369 2010-09-13 Andreas Schwab <schwab@redhat.com>
41370 Ulrich Drepper <drepper@redhat.com>
41372 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41373 re-relocationg ld.so.
41374 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41375 _dl_init_paths call.
41376 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
41379 2010-09-14 Ulrich Drepper <drepper@redhat.com>
41381 * resolv/res_init.c (__res_vinit): Count the default server we added.
41383 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
41384 Ulrich Drepper <drepper@redhat.com>
41387 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41388 (____longjmp_chk): Use %ebx for saving value across system call.
41391 2010-09-06 Andreas Schwab <schwab@redhat.com>
41393 * manual/Makefile: Don't mix pattern rules with normal rules.
41395 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
41397 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41399 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41400 * libio/iofopncook.c (_IO_cookie_init): Likewise.
41401 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41402 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41403 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41406 2010-09-04 Ulrich Drepper <drepper@redhat.com>
41409 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41410 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41412 2010-09-02 Ulrich Drepper <drepper@redhat.com>
41414 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41415 * sysdeps/x86_64/addmul_1.S: Likewise.
41416 * sysdeps/x86_64/lshift.S: Likewise.
41417 * sysdeps/x86_64/mul_1.S: Likewise.
41418 * sysdeps/x86_64/rshift.S: Likewise.
41419 * sysdeps/x86_64/sub_n.S: Likewise.
41420 * sysdeps/x86_64/submul_1.S: Likewise.
41422 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
41424 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41425 Define __sched_param instead of SCHED_* and sched_param when
41426 <bits/sched.h> is included with __need_schedparam defined.
41427 * bits/sched.h [__need_schedparam]
41428 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41429 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41430 (__defined_schedparam): Define to 1.
41431 (__sched_param): New structure, identical to sched_param.
41432 (__need_schedparam): Undefine.
41434 2010-08-31 Mike Frysinger <vapier@gentoo.org>
41436 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41437 (epoll_create1): Declare.
41439 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41441 2010-08-31 Andreas Schwab <schwab@redhat.com>
41444 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41445 shifting retval into place.
41447 2010-09-01 Ulrich Drepper <drepper@redhat.com>
41449 * nis/rpcsvc/nis.h: Update copyright notice.
41450 * nis/rpcsvc/nis.x: Likewise.
41451 * nis/rpcsvc/nis_callback.h: Likewise.
41452 * nis/rpcsvc/nis_callback.x: Likewise.
41453 * nis/rpcsvc/nis_object.x: Likewise.
41454 * nis/rpcsvc/nis_tags.h: Likewise.
41455 * nis/rpcsvc/yp.h: Likewise.
41456 * nis/rpcsvc/yp.x: Likewise.
41457 * nis/rpcsvc/ypupd.h: Likewise.
41458 * nis/yp_xdr.c: Likewise.
41459 * nis/ypupdate_xdr.c: Likewise.
41461 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
41462 mainly the body of pmap_getport. Add parameters to specify timeouts.
41463 (pmap_getport): Use __libc_rpc_getport.
41464 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41465 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41466 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41468 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
41470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41473 2010-08-27 Roland McGrath <roland@redhat.com>
41475 * sysdeps/i386/i686/multiarch/Makefile
41476 (CFLAGS-varshift.c): New variable.
41478 2010-08-27 Ulrich Drepper <drepper@redhat.com>
41480 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41481 * sysdeps/i386/i686/multiarch/varshift.c: New file.
41483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41485 * sysdeps/x86_64/strlen.S: Minimal code improvement.
41487 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
41489 * sysdeps/x86_64/strlen.S: Unroll the loop.
41490 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41491 strlen-sse2 strlen-sse2-bsf.
41492 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41493 __strlen_no_bsf if bit_Slow_BSF is set.
41494 (__strlen_sse42): Removed.
41495 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41496 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41498 2010-08-25 Roland McGrath <roland@redhat.com>
41500 * sysdeps/x86_64/multiarch/varshift.S: File removed.
41501 * sysdeps/x86_64/multiarch/varshift.c: New file.
41502 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41503 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41504 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41505 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41507 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
41509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41510 strlen-sse2 strlen-sse2-bsf.
41511 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41512 __strlen_sse2_bsf if bit_Slow_BSF is unset.
41513 (__strlen_sse2): Removed.
41514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41517 bit_Slow_BSF for Atom.
41518 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41519 (index_Slow_BSF): Define.
41520 (HAS_SLOW_BSF): Define.
41522 2010-08-25 Ulrich Drepper <drepper@redhat.com>
41525 * resolv/res_init.c (__res_vinit): When no server address at all
41526 is given default to loopback.
41528 2010-08-24 Roland McGrath <roland@redhat.com>
41530 * configure.in: Remove config-name.h generation.
41531 * configure: Regenerated.
41532 * config-name.in: File removed.
41533 * scripts/config-uname.sh: New file.
41534 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41535 ($(objdir)config-name.h): New target.
41537 * sunrpc/rpc_parse.h: Avoid nested comment.
41539 2010-08-24 Richard Henderson <rth@redhat.com>
41540 Ulrich Drepper <drepper@redhat.com>
41541 H.J. Lu <hongjiu.lu@intel.com>
41543 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41544 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41545 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41546 Replace _mm_srli_si128 with __m128i_shift_right. Replace
41547 _mm_alignr_epi8 with _mm_loadu_si128.
41548 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41549 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41550 (__m128i_shift_right): Removed.
41551 * sysdeps/i386/i686/multiarch/varshift.h: New file.
41552 * sysdeps/i386/i686/multiarch/varshift.S: New file.
41553 * sysdeps/x86_64/multiarch/varshift.h: New file.
41554 * sysdeps/x86_64/multiarch/varshift.S: New file.
41556 2010-08-21 Mike Frysinger <vapier@gentoo.org>
41558 * configure.in: Move assembler checks to before sysdep dir checking.
41560 2010-08-20 Petr Baudis <pasky@suse.cz>
41562 * LICENSES: Sync the sunrpc license.
41564 2010-08-19 Ulrich Drepper <drepper@redhat.com>
41566 * sunrpc/auth_des.c: Update copyright notice once again.
41567 * sunrpc/auth_none.c: Likewise.
41568 * sunrpc/auth_unix.c: Likewise.
41569 * sunrpc/authdes_prot.c: Likewise.
41570 * sunrpc/authuxprot.c: Likewise.
41571 * sunrpc/bindrsvprt.c: Likewise.
41572 * sunrpc/clnt_gen.c: Likewise.
41573 * sunrpc/clnt_perr.c: Likewise.
41574 * sunrpc/clnt_raw.c: Likewise.
41575 * sunrpc/clnt_simp.c: Likewise.
41576 * sunrpc/clnt_tcp.c: Likewise.
41577 * sunrpc/clnt_udp.c: Likewise.
41578 * sunrpc/clnt_unix.c: Likewise.
41579 * sunrpc/des_crypt.c: Likewise.
41580 * sunrpc/des_soft.c: Likewise.
41581 * sunrpc/get_myaddr.c: Likewise.
41582 * sunrpc/getrpcport.c: Likewise.
41583 * sunrpc/key_call.c: Likewise.
41584 * sunrpc/key_prot.c: Likewise.
41585 * sunrpc/openchild.c: Likewise.
41586 * sunrpc/pm_getmaps.c: Likewise.
41587 * sunrpc/pm_getport.c: Likewise.
41588 * sunrpc/pmap_clnt.c: Likewise.
41589 * sunrpc/pmap_prot.c: Likewise.
41590 * sunrpc/pmap_prot2.c: Likewise.
41591 * sunrpc/pmap_rmt.c: Likewise.
41592 * sunrpc/rpc/auth.h: Likewise.
41593 * sunrpc/rpc/auth_unix.h: Likewise.
41594 * sunrpc/rpc/clnt.h: Likewise.
41595 * sunrpc/rpc/des_crypt.h: Likewise.
41596 * sunrpc/rpc/key_prot.h: Likewise.
41597 * sunrpc/rpc/netdb.h: Likewise.
41598 * sunrpc/rpc/pmap_clnt.h: Likewise.
41599 * sunrpc/rpc/pmap_prot.h: Likewise.
41600 * sunrpc/rpc/pmap_rmt.h: Likewise.
41601 * sunrpc/rpc/rpc.h: Likewise.
41602 * sunrpc/rpc/rpc_des.h: Likewise.
41603 * sunrpc/rpc/rpc_msg.h: Likewise.
41604 * sunrpc/rpc/svc.h: Likewise.
41605 * sunrpc/rpc/svc_auth.h: Likewise.
41606 * sunrpc/rpc/types.h: Likewise.
41607 * sunrpc/rpc/xdr.h: Likewise.
41608 * sunrpc/rpc_clntout.c: Likewise.
41609 * sunrpc/rpc_cmsg.c: Likewise.
41610 * sunrpc/rpc_common.c: Likewise.
41611 * sunrpc/rpc_cout.c: Likewise.
41612 * sunrpc/rpc_dtable.c: Likewise.
41613 * sunrpc/rpc_hout.c: Likewise.
41614 * sunrpc/rpc_main.c: Likewise.
41615 * sunrpc/rpc_parse.c: Likewise.
41616 * sunrpc/rpc_parse.h: Likewise.
41617 * sunrpc/rpc_prot.c: Likewise.
41618 * sunrpc/rpc_sample.c: Likewise.
41619 * sunrpc/rpc_scan.c: Likewise.
41620 * sunrpc/rpc_scan.h: Likewise.
41621 * sunrpc/rpc_svcout.c: Likewise.
41622 * sunrpc/rpc_tblout.c: Likewise.
41623 * sunrpc/rpc_util.c: Likewise.
41624 * sunrpc/rpc_util.h: Likewise.
41625 * sunrpc/rpcinfo.c: Likewise.
41626 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41627 * sunrpc/rpcsvc/key_prot.x: Likewise.
41628 * sunrpc/rpcsvc/klm_prot.x: Likewise.
41629 * sunrpc/rpcsvc/mount.x: Likewise.
41630 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41631 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41632 * sunrpc/rpcsvc/rex.x: Likewise.
41633 * sunrpc/rpcsvc/rstat.x: Likewise.
41634 * sunrpc/rpcsvc/rusers.x: Likewise.
41635 * sunrpc/rpcsvc/sm_inter.x: Likewise.
41636 * sunrpc/rpcsvc/spray.x: Likewise.
41637 * sunrpc/rpcsvc/yppasswd.x: Likewise.
41638 * sunrpc/rtime.c: Likewise.
41639 * sunrpc/svc.c: Likewise.
41640 * sunrpc/svc_auth.c: Likewise.
41641 * sunrpc/svc_authux.c: Likewise.
41642 * sunrpc/svc_raw.c: Likewise.
41643 * sunrpc/svc_run.c: Likewise.
41644 * sunrpc/svc_simple.c: Likewise.
41645 * sunrpc/svc_tcp.c: Likewise.
41646 * sunrpc/svc_udp.c: Likewise.
41647 * sunrpc/svc_unix.c: Likewise.
41648 * sunrpc/svcauth_des.c: Likewise.
41649 * sunrpc/xcrypt.c: Likewise.
41650 * sunrpc/xdr.c: Likewise.
41651 * sunrpc/xdr_array.c: Likewise.
41652 * sunrpc/xdr_float.c: Likewise.
41653 * sunrpc/xdr_mem.c: Likewise.
41654 * sunrpc/xdr_rec.c: Likewise.
41655 * sunrpc/xdr_ref.c: Likewise.
41656 * sunrpc/xdr_sizeof.c: Likewise.
41657 * sunrpc/xdr_stdio.c: Likewise.
41659 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41662 2010-08-19 Andreas Schwab <schwab@redhat.com>
41664 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41666 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
41668 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41669 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41670 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41671 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41672 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41673 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41674 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41675 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41676 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41677 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41678 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41679 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41680 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41681 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41683 2010-07-26 Anton Blanchard <anton@samba.org>
41685 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41686 * malloc/arena.c (heap_trim): Likewise.
41688 2010-08-16 Ulrich Drepper <drepper@redhat.com>
41690 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41692 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41693 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41695 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
41697 * sysdeps/i386/elf/Makefile: New file.
41699 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41701 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41702 from fanotify_init.
41703 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41704 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41706 2010-08-15 Ulrich Drepper <drepper@redhat.com>
41708 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41710 * sysdeps/multiarch/strcmp.S: Likewise.
41712 2010-08-14 Ulrich Drepper <drepper@redhat.com>
41714 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41715 strncase_l-nonascii.
41716 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41717 Add strncase_l-ssse3.
41718 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41719 * sysdeps/x86_64/strcmp.S: Likewise.
41720 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41721 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41722 * sysdeps/x86_64/strncase.S: New file.
41723 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41724 * sysdeps/x86_64/strncase_l.S: New file.
41725 * string/Makefile (strop-tests): Add strncasecmp.
41726 * string/test-strncasecmp.c: New file.
41728 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41731 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41732 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41734 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
41736 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41738 2010-08-12 Ulrich Drepper <drepper@redhat.com>
41740 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41741 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41742 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41744 2010-05-01 Alan Modra <amodra@gmail.com>
41746 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41747 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41748 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41749 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41750 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41751 tidying. Don't tail-call __sigjmp_save for static lib.
41752 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41754 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41755 (CALL_MCOUNT): Add eh info, and nop after bl.
41756 (TAIL_CALL_SYSCALL_ERROR): New macro.
41757 (PSEUDO_RET): Use it.
41758 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41759 Correct save location of integer regs and cr.
41760 (_dl_profile_resolve): Correct cr save location. Delete nops
41761 after bl when SHARED. Reduce cfi size a little by better
41762 placement of cfi directives.
41763 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41764 make a stack frame. Instead use parm save area as a temp.
41765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41766 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
41767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41768 Don't make a stack frame for parent, use parm save area.
41769 Increase child stack frame to 112 bytes. Don't save unused reg,
41770 and adjust reg usage. Set up cfi on error recovery and
41771 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41773 (__makecontext): Add dummy nop after jump to exit.
41774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41775 Use correct parm save area and cr save, reduce stack frame.
41776 Correct cfi for possible PSEUDO_RET frame setup.
41777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41778 Branch to local label emitted by PSEUDO_RET rather than
41781 2010-08-12 Andreas Schwab <schwab@redhat.com>
41784 * locale/programs/locale.c (print_assignment): New function.
41785 (show_locale_vars): Use it.
41787 2010-08-11 Ulrich Drepper <drepper@redhat.com>
41789 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41791 (struct statfs64): Likewise.
41792 (_STATFS_F_FLAGS): Define.
41793 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41794 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41795 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41796 (ST_VALID): Define locally.
41797 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41798 __statvfs_getflags, use the provided value.
41799 * sysdeps/unix/sysv/linux/kernel-features.h: Define
41800 __ASSUME_STATFS_F_FLAGS.
41802 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41804 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41805 Add sys/fanotify.h.
41806 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41807 fanotify_mask for GLIBC_2.13.
41808 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41809 fanotify_init and fanotify_mark.
41810 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41811 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41813 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41815 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41816 prlimit64 for GLIBC_2.13.
41817 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41819 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41822 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41823 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41824 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41825 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
41827 * sysdeps/unix/sysv/linux/prlimit.c: New file.
41830 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41831 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41833 * nss/Makefile: Add rules to build and run tst-nss-test1.
41834 * shlib-versions: Add entry for libnss_test1.
41835 * nss/nss_test1.c: New file.
41836 * nss/tst-nss-test1.c: New file.
41838 * nss/nsswitch.c (__nss_database_custom): Define new variable.
41839 (__nss_configure_lookup): Set appropriate entry in
41840 __nss_configure_lookup to true.
41841 * nss/nsswitch.h: Define enum with indeces of databases in
41842 databases and __nss_database_custom arrays. Declare
41843 __nss_database_custom.
41844 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41845 to avoid using nscd when custom rules are installed.
41846 * nss/getXXbyYY_r.c: Likewise.
41847 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41849 * nss/nss_files/files-parse.c: Whitespace fixes.
41851 2010-08-09 Ulrich Drepper <drepper@redhat.com>
41854 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41855 * posix/fnmatch_loop.c: Likewise.
41857 2010-07-17 Andi Kleen <ak@linux.intel.com>
41859 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41860 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41861 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41862 * Versions.def [GLIBC_2.13]: Add.
41864 2010-08-06 Ulrich Drepper <drepper@redhat.com>
41866 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41867 Also fail if tpwd after pwuid call is NULL.
41869 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
41871 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41872 when converting to ms.
41874 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
41876 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41877 EOPNOTSUPP errors with ENOTTY.
41878 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41879 EOPNOTSUPP errors with ENOTTY.
41881 2010-07-31 Ulrich Drepper <drepper@redhat.com>
41883 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41884 Add strcasecmp_l-ssse3.
41885 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41887 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41888 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41889 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41891 2010-07-30 Ulrich Drepper <drepper@redhat.com>
41893 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41895 * string/Makefile (strop-tests): Add strcasecmp.
41896 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41897 strcasecmp_l-nonascii.
41898 (gen-as-const-headers): Add locale-defines.sym.
41899 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41900 * sysdeps/x86_64/strcasecmp.S: New file.
41901 * sysdeps/x86_64/strcasecmp_l.S: New file.
41902 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41903 * sysdeps/x86_64/locale-defines.sym: New file.
41904 * string/test-strcasecmp.c: New file.
41906 * string/test-strcasestr.c: Test both ends of the range of characters.
41907 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41909 2010-07-29 Roland McGrath <roland@redhat.com>
41912 * manual/locale.texi (Yes-or-No Questions): Fix example code.
41914 2010-07-27 Ulrich Drepper <drepper@redhat.com>
41916 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41919 2010-07-27 Andreas Schwab <schwab@redhat.com>
41921 * manual/memory.texi (Malloc Tunable Parameters): Document
41924 2010-07-26 Roland McGrath <roland@redhat.com>
41927 * configure.in (-fgnu89-inline check): Set and substitute
41928 gnu89_inline, not libc_cv_gnu89_inline.
41929 * configure: Regenerated.
41930 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41932 2010-07-26 Ulrich Drepper <drepper@redhat.com>
41934 * string/test-strnlen.c: New file.
41935 * string/Makefile (strop-tests): Add strnlen.
41936 * string/tester.c (test_strnlen): Add a few more test cases.
41937 * string/tst-strlen.c: Better error reporting.
41939 * sysdeps/x86_64/strnlen.S: New file.
41941 2010-07-24 Ulrich Drepper <drepper@redhat.com>
41943 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41944 lower-latency instructions.
41946 2010-07-23 Ulrich Drepper <drepper@redhat.com>
41948 * string/test-strcasestr.c: New file.
41949 * string/test-strstr.c: New file.
41950 * string/Makefile (strop-tests): Add strstr and strcasestr.
41951 * string/str-two-way.h: Don't undefine MAX.
41952 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41954 2010-07-21 Andreas Schwab <schwab@redhat.com>
41956 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41957 strcasestr-nonascii.
41958 (CFLAGS-strcasestr-nonascii.c): Define.
41959 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41960 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41961 Remove unused attribute.
41963 2010-07-20 Roland McGrath <roland@redhat.com>
41965 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41966 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
41967 ld.so.cache was broken. With it, there is no way to disable dsocaps
41968 like LD_HWCAP_MASK can disable hwcaps.
41970 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
41972 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41974 2010-07-16 Ulrich Drepper <drepper@redhat.com>
41976 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41977 call in strcasestr.
41978 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41979 __strcasestr_sse42_nonascii.
41980 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41981 strcasestr-nonascii.c.
41982 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41984 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
41986 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41987 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41988 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41989 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41991 2010-07-09 Ulrich Drepper <drepper@redhat.com>
41993 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41996 2010-07-06 Andreas Schwab <schwab@redhat.com>
41999 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42002 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42004 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42005 _PC_PIPE_BUF using F_GETPIPE_SZ.
42007 2010-07-05 Roland McGrath <roland@redhat.com>
42009 * manual/arith.texi (Rounding Functions): Fix rint description
42010 implicit in round description.
42012 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42014 * elf/Makefile: Fix linking for a few tests to make recent linker
42017 2010-06-30 Andreas Schwab <schwab@redhat.com>
42019 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42020 $(common-objpfx)libc_nonshared.a.
42022 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
42024 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42025 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42026 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42027 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42028 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42029 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42030 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42031 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42046 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42047 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42048 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42049 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42050 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42051 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42052 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42053 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42054 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42055 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42056 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42057 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42073 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
42075 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
42076 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
42077 * string/memmove.c (memmove): Renamed to ...
42078 (MEMMOVE): ...this. Default to memmove.
42079 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
42080 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
42082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42083 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
42084 mempcpy-ssse3-back memmove-ssse3-back.
42085 * sysdeps/x86_64/multiarch/bcopy.S: New file .
42086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
42087 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
42088 * sysdeps/x86_64/multiarch/memcpy.S: New file.
42089 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
42090 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
42091 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
42092 * sysdeps/x86_64/multiarch/memmove.c: New file.
42093 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
42094 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
42095 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
42096 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
42097 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
42098 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
42100 (index_Fast_Copy_Backward): Define.
42101 (HAS_ARCH_FEATURE): Define.
42102 (HAS_FAST_REP_STRING): Define.
42103 (HAS_FAST_COPY_BACKWARD): Define.
42105 2010-06-21 Andreas Schwab <schwab@redhat.com>
42107 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42108 Restore proper fallback handling.
42110 2010-06-19 Ulrich Drepper <drepper@redhat.com>
42113 * posix/group_member.c (__group_member): Correct checking loop.
42115 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
42116 OOM in getpwuid_r correctly. Return error number when the caller
42117 should return, otherwise -1.
42118 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
42119 call returning > 0 value.
42120 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
42122 2010-06-07 Andreas Schwab <schwab@redhat.com>
42124 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
42125 libc_nonshared.a from targets in modules-names.
42127 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
42129 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
42132 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
42134 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
42135 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
42136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
42137 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
42139 2010-06-02 Andreas Schwab <schwab@redhat.com>
42141 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
42143 2010-06-14 Ulrich Drepper <drepper@redhat.com>
42145 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
42147 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42148 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42149 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42152 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
42154 2010-06-14 Roland McGrath <roland@redhat.com>
42156 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
42158 2010-06-07 Jakub Jelinek <jakub@redhat.com>
42160 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
42161 __REDIRECT followed by __THROW.
42162 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
42163 * posix/getopt.h (getopt): Likewise.
42165 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42167 * hurd/lookup-at.c (__file_name_lookup_at): Accept
42168 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
42169 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
42171 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
42172 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
42174 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
42176 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
42178 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
42181 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42182 Properly check family and model.
42184 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
42186 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
42188 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
42190 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42192 2010-05-21 Ulrich Drepper <drepper@redhat.com>
42194 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42197 2010-05-19 Andreas Schwab <schwab@redhat.com>
42199 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42202 2010-05-21 Andreas Schwab <schwab@redhat.com>
42204 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42205 and internal_recvmmsg.
42206 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42207 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42208 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42209 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42211 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42212 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42213 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42215 2010-05-20 Andreas Schwab <schwab@redhat.com>
42217 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42219 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
42221 POWER7 optimizations.
42222 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42223 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42225 2010-05-19 Ulrich Drepper <drepper@redhat.com>
42227 * version.h: Update for 2.13 development version.
42229 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
42231 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42232 exceptions. Return 0.
42234 2010-05-07 Roland McGrath <roland@redhat.com>
42236 * elf/ldconfig.c (main): Add a const.
42238 2010-05-06 Ulrich Drepper <drepper@redhat.com>
42240 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42241 (args_options): Add no-idn option.
42242 (ahosts_keys_int): Add idn_flags to ai_flags.
42243 (parse_option): Handle 'i' option to clear idn_flags.
42245 * malloc/malloc.c (_int_free): Possible race in the most recently
42246 added check. Only act on the data if no current modification
42249 See ChangeLog.17 for earlier changes.